worksheets-cli
Version:
18 lines (17 loc) • 741 B
TypeScript
import { AppLink, PathHash } from '../models/app.interfaces';
export declare abstract class AppService {
protected readonly APP_DEF_URL = "/api/app-definitions";
protected appName: string;
protected ownerName: string;
constructor();
get hashFilePath(): string;
get appDirPath(): string;
get appDir(): string;
protected getFilePath(link: AppLink): string;
protected getAbsFilePath(link: AppLink): string;
protected getHashCode(content: string): string;
protected setAppInfo(ownerName?: string, appName?: string): void;
protected saveHashCodes(hashes: PathHash[]): Promise<void>;
protected getHashCodes(): Promise<PathHash>;
protected getAppDefUrl(): Promise<string>;
}