initial commit
This commit is contained in:
commit
b25eb51ff0
280 changed files with 178550 additions and 0 deletions
27
database-service/node_modules/@prisma/fetch-engine/dist/download.d.ts
generated
vendored
Normal file
27
database-service/node_modules/@prisma/fetch-engine/dist/download.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue