xml functions

This commit is contained in:
Sebastian Frank 2021-08-16 17:32:34 +02:00
parent 8f988cf2ac
commit 9865126cab
Signed by: apairon
GPG Key ID: A0E05A8199CE3F57

16
index.d.ts vendored
View File

@ -367,6 +367,22 @@ export interface HookContext extends GetHookData, GetHookGetOnlyData, PostHookDa
* @param path
*/
fsMkDir(path: string): void
/**
* create xml string
*
* @param data object or array
* @param options options
*/
xmlCreate(data: any, options?: {}): string
/**
* parse xml string to json
*
* @param xml xml string
* @param options options
*/
xmlParse(xml:string, options?: {}): any
}
export interface HookException {