2017-07-21 13:59:47 -04:00
|
|
|
import { BaseService } from "./baseSvc";
|
2017-06-12 06:36:50 -04:00
|
|
|
import { IFileItem } from "../../interfaces/IFileItem";
|
|
|
|
import { IFile } from "../../interfaces/IFile";
|
|
|
|
export declare class FileUploadService {
|
|
|
|
private baseService;
|
|
|
|
private $q;
|
|
|
|
static $inject: string[];
|
|
|
|
constructor(baseService: BaseService, $q: ng.IQService);
|
|
|
|
uploadFile(libraryName: string, file: IFile): ng.IPromise<IFileItem>;
|
|
|
|
getFiles(libraryName: string, rowLimit: number): ng.IPromise<Array<IFileItem>>;
|
|
|
|
deleteFile(libraryName: string, id: number): ng.IPromise<any>;
|
|
|
|
}
|