Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
38 lines
1.1 KiB
TypeScript
38 lines
1.1 KiB
TypeScript
export const UPLOAD_CHUNK_SIZE = 256 * 1024;
|
|
|
|
export type SearchFilter = {
|
|
driveId?: {
|
|
value: string;
|
|
mode: string;
|
|
};
|
|
folderId?: {
|
|
value: string;
|
|
mode: string;
|
|
};
|
|
whatToSearch?: 'all' | 'files' | 'folders';
|
|
fileTypes?: string[];
|
|
includeTrashed?: boolean;
|
|
};
|
|
|
|
export const RLC_DRIVE_DEFAULT = 'My Drive';
|
|
export const RLC_FOLDER_DEFAULT = 'root';
|
|
|
|
export const DRIVE = {
|
|
FOLDER: 'application/vnd.google-apps.folder',
|
|
AUDIO: 'application/vnd.google-apps.audio',
|
|
DOCUMENT: 'application/vnd.google-apps.document',
|
|
SDK: 'application/vnd.google-apps.drive-sdk',
|
|
DRAWING: 'application/vnd.google-apps.drawing',
|
|
FILE: 'application/vnd.google-apps.file',
|
|
FORM: 'application/vnd.google-apps.form',
|
|
FUSIONTABLE: 'application/vnd.google-apps.fusiontable',
|
|
MAP: 'application/vnd.google-apps.map',
|
|
PHOTO: 'application/vnd.google-apps.photo',
|
|
PRESENTATION: 'application/vnd.google-apps.presentation',
|
|
APP_SCRIPTS: 'application/vnd.google-apps.script',
|
|
SITES: 'application/vnd.google-apps.sites',
|
|
SPREADSHEET: 'application/vnd.google-apps.spreadsheet',
|
|
UNKNOWN: 'application/vnd.google-apps.unknown',
|
|
VIDEO: 'application/vnd.google-apps.video',
|
|
} as const;
|