From 063770ee8e33ece46d486c376a4864a2cdc44910 Mon Sep 17 00:00:00 2001 From: Bryce Godfrey Date: Fri, 20 Jan 2017 17:42:20 -0800 Subject: [PATCH] Add methods to glide sys attachment --- server/scoped-helsinki/index.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/scoped-helsinki/index.d.ts b/server/scoped-helsinki/index.d.ts index b0c4ab8..ffa3eec 100644 --- a/server/scoped-helsinki/index.d.ts +++ b/server/scoped-helsinki/index.d.ts @@ -375,7 +375,9 @@ declare namespace sn { export interface IGlideSysAttachment { new (): IGlideSysAttachment; + deleteAttachment(sysId: string): void; getContent(record: IGlideServerRecord): any; + getContentBase64(record: IGlideServerRecord): string; copy(sourceTable: string, sourceSysId: string, destinationTable: string, destinationSysId: string): void; write(record: IGlideServerRecord, fileName: string, contentType: string, data: any): void; } @@ -684,7 +686,8 @@ declare namespace sn { getNodeName(): string; hasAttribute(name: string): boolean; getAttribute(attribute: string): string; - getChildNodeIterator(): IXMLNodeIterator; + getChildNodeIterator(): IXMLNodeIterator; + getTextContent(): string; toString(): string; }