games_app/backend/dist-test-faq/services/apkStorageService.d.ts

14 lines
848 B
TypeScript

/**
* Dedicated on-disk storage for Android APK releases (staging vs published).
* Files are never executed — only stored and streamed for download.
*/
export declare function getApkReleasesRoot(): string;
export declare function ensureApkStagingDir(): string;
export declare function ensureApkPublishedDir(): string;
/** Absolute path for a relative storage key like `staging/uuid.apk` or `published/uuid.apk`. */
export declare function resolveApkStoragePath(storageKey: string): string;
export declare function sha256File(filePath: string): Promise<string>;
export declare function moveApkToPublished(stagingKey: string, releaseId: string): string;
export declare function removeApkIfExists(storageKey: string | null | undefined): void;
export declare function getApkMaxUploadBytes(): number;
//# sourceMappingURL=apkStorageService.d.ts.map