UNPKG

dynamicsmobile

Version:

Allows development of off-line mobile and web business apps over the Dynamics Mobile platform. More info on https://www.dynamicsmobile.com

15 lines (14 loc) 695 B
import { FileService } from '../lib-core/files-service-base'; import { DmsApplicationService } from '../lib-core/application-context-service'; export declare class BackendFileService extends FileService { constructor(dms: DmsApplicationService); getDirFiles(folder: string): Promise<string[]>; fileWrite(fileName: string, fileContent: string | ArrayBuffer | File, contentType?: string): Promise<void>; private validateFilePath; fileRead(fileName: string, options?: { mimeType?: string; }): Promise<any>; fileDelete(fileName: string): Promise<void>; fileExist(fileName: string): Promise<boolean>; getFileNativeUri(fileName: string): Promise<string>; }