a71f801c3f
- Prisma schema: User, Session, RepoConfig, Preview, Job, WebhookToken, NoConfigComment, AdminSettings - Backend: auth (login/logout/me/first-user setup), webhook handler with HMAC verification, EC2 service, SSH service, deploy pipeline, job queue worker, cron workers - Frontend: Login with first-user detection, Dashboard, PreviewDetail with live log streaming, Settings, Repos config, Admin panel, SetupWizard, Privacy page - Docker Compose and Dockerfile for self-hosted deployment - Uses bcryptjs for Node 24 compatibility Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 lines
1.1 KiB
TypeScript
28 lines
1.1 KiB
TypeScript
import { BinaryTarget } from '@prisma/get-platform';
|
|
import { BinaryType } from './BinaryType';
|
|
export declare const vercelPkgPathRegex: RegExp;
|
|
export type BinaryDownloadConfiguration = {
|
|
[binary in BinaryType]?: string;
|
|
};
|
|
export type BinaryPaths = {
|
|
[binary in BinaryType]?: {
|
|
[binaryTarget in BinaryTarget]: string;
|
|
};
|
|
};
|
|
export interface DownloadOptions {
|
|
binaries: BinaryDownloadConfiguration;
|
|
binaryTargets?: BinaryTarget[];
|
|
showProgress?: boolean;
|
|
progressCb?: (progress: number) => void;
|
|
version?: string;
|
|
skipDownload?: boolean;
|
|
failSilent?: boolean;
|
|
printVersion?: boolean;
|
|
skipCacheIntegrityCheck?: boolean;
|
|
}
|
|
export declare function download(options: DownloadOptions): Promise<BinaryPaths>;
|
|
export declare function getVersion(enginePath: string, binaryName: string): Promise<string | undefined>;
|
|
export declare function getBinaryName(binaryName: BinaryType, binaryTarget: BinaryTarget): string;
|
|
export declare function maybeCopyToTmp(file: string): Promise<string>;
|
|
export declare function plusX(file: any): void;
|