25 lines
641 B
TypeScript
25 lines
641 B
TypeScript
export const WORKS_CLOUD_DEPLOYMENT_FILE_NAME = 'works-cloud-deploy.json';
|
|
export const WORKS_CLOUD_DEPLOYMENT_SCHEMA_VERSION = 1 as const;
|
|
|
|
export type WorksCloudDeploymentStatus =
|
|
| 'armed'
|
|
| 'waiting_for_package'
|
|
| 'waiting_for_login'
|
|
| 'uploading'
|
|
| 'submitted'
|
|
| 'failed';
|
|
|
|
export type WorksCloudDeploymentRecord = {
|
|
schema_version: typeof WORKS_CLOUD_DEPLOYMENT_SCHEMA_VERSION;
|
|
project_id: string;
|
|
status: WorksCloudDeploymentStatus;
|
|
requested_at: string;
|
|
updated_at: string;
|
|
app_id?: string;
|
|
version_name?: string;
|
|
zip_sha256?: string;
|
|
version_id?: string;
|
|
review_status?: string;
|
|
error?: string;
|
|
};
|