@filesrocket/local
Version:
Filesrocket service that manages your files locally
14 lines (13 loc) • 620 B
TypeScript
import { OutputEntity, Paginated, Query, ServiceMethods } from '@filesrocket/core';
import { BaseService } from './base.service';
import { Options } from '../declarations';
declare type Service = Partial<ServiceMethods<any>>;
export declare class DirectoryService extends BaseService implements Service {
protected readonly options: Options;
constructor(options: Options);
create(data: any): Promise<OutputEntity>;
list(query?: Query): Promise<Paginated<OutputEntity>>;
get(id: string, query?: Query): Promise<OutputEntity>;
remove(root: string): Promise<OutputEntity>;
}
export {};