@phala/cloud 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/apps/get_app_filter_options.d.ts +42 -0
- package/dist/actions/apps/get_app_list.d.ts +4 -4
- package/dist/actions/apps/get_app_revision_detail.d.ts +6 -6
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +66 -14
- package/dist/actions/cvms/get_cvm_containers_stats.d.ts +4 -4
- package/dist/actions/cvms/get_cvm_user_config.d.ts +92 -0
- package/dist/actions/cvms/provision_cvm.d.ts +110 -10
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +66 -40
- package/dist/actions/cvms/restart_cvm.d.ts +2 -2
- package/dist/actions/cvms/shutdown_cvm.d.ts +2 -2
- package/dist/actions/cvms/start_cvm.d.ts +2 -2
- package/dist/actions/cvms/stop_cvm.d.ts +2 -2
- package/dist/actions/cvms/update_cvm_visibility.d.ts +3 -0
- package/dist/actions/index.d.ts +7 -0
- package/dist/actions/ssh_keys/create_ssh_key.d.ts +104 -0
- package/dist/actions/ssh_keys/delete_ssh_key.d.ts +65 -0
- package/dist/actions/ssh_keys/import_github_profile.d.ts +93 -0
- package/dist/actions/ssh_keys/list_ssh_keys.d.ts +101 -0
- package/dist/actions/ssh_keys/sync_github_ssh_keys.d.ts +78 -0
- package/dist/create-client.d.ts +76 -0
- package/dist/index.js +565 -317
- package/dist/index.mjs +537 -317
- package/dist/types/app_compose.d.ts +34 -1
- package/dist/types/app_info_v20251028.d.ts +113 -0
- package/dist/types/app_info_v20260121.d.ts +96 -0
- package/dist/types/app_revision.d.ts +11 -0
- package/dist/types/cvm_info.d.ts +2 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
|
|
2
|
+
/** Maximum combined byte size of docker_compose_file + pre_launch_script (200KB) */
|
|
3
|
+
export declare const MAX_COMPOSE_PAYLOAD_BYTES: number;
|
|
4
|
+
/**
|
|
5
|
+
* Validate that combined byte size of docker_compose_file and pre_launch_script
|
|
6
|
+
* does not exceed MAX_COMPOSE_PAYLOAD_BYTES.
|
|
7
|
+
*/
|
|
8
|
+
export declare function validateComposePayloadSize(dockerComposeFile: string | undefined, preLaunchScript: string | undefined, ctx: z.RefinementCtx): void;
|
|
9
|
+
export declare const LooseAppComposeSchema: z.ZodEffects<z.ZodObject<{
|
|
3
10
|
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4
11
|
docker_compose_file: z.ZodString;
|
|
5
12
|
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -38,5 +45,31 @@ export declare const LooseAppComposeSchema: z.ZodObject<{
|
|
|
38
45
|
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
39
46
|
env_pubkey: z.ZodOptional<z.ZodString>;
|
|
40
47
|
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
48
|
+
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
49
|
+
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
50
|
+
docker_compose_file: z.ZodString;
|
|
51
|
+
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
52
|
+
name: z.ZodOptional<z.ZodString>;
|
|
53
|
+
manifest_version: z.ZodOptional<z.ZodNumber>;
|
|
54
|
+
kms_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
public_logs: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
+
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
+
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
59
|
+
env_pubkey: z.ZodOptional<z.ZodString>;
|
|
60
|
+
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
61
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
62
|
+
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
63
|
+
docker_compose_file: z.ZodString;
|
|
64
|
+
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
65
|
+
name: z.ZodOptional<z.ZodString>;
|
|
66
|
+
manifest_version: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
kms_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
+
public_logs: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
+
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
+
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
71
|
+
pre_launch_script: z.ZodOptional<z.ZodString>;
|
|
72
|
+
env_pubkey: z.ZodOptional<z.ZodString>;
|
|
73
|
+
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
41
74
|
}, z.ZodTypeAny, "passthrough">>;
|
|
42
75
|
export type LooseAppCompose = z.infer<typeof LooseAppComposeSchema>;
|
|
@@ -86,6 +86,23 @@ export declare const CvmBasicInfoV20251028Schema: z.ZodObject<{
|
|
|
86
86
|
kms_id?: string | null | undefined;
|
|
87
87
|
}>;
|
|
88
88
|
export type CvmBasicInfoV20251028 = z.infer<typeof CvmBasicInfoV20251028Schema>;
|
|
89
|
+
export declare const AppProfileSchema: z.ZodObject<{
|
|
90
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
|
+
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
description?: string | null | undefined;
|
|
96
|
+
display_name?: string | null | undefined;
|
|
97
|
+
avatar_url?: string | null | undefined;
|
|
98
|
+
custom_domain?: string | null | undefined;
|
|
99
|
+
}, {
|
|
100
|
+
description?: string | null | undefined;
|
|
101
|
+
display_name?: string | null | undefined;
|
|
102
|
+
avatar_url?: string | null | undefined;
|
|
103
|
+
custom_domain?: string | null | undefined;
|
|
104
|
+
}>;
|
|
105
|
+
export type AppProfile = z.infer<typeof AppProfileSchema>;
|
|
89
106
|
export declare const DstackAppFullResponseV20251028Schema: z.ZodObject<{
|
|
90
107
|
id: z.ZodString;
|
|
91
108
|
name: z.ZodString;
|
|
@@ -94,6 +111,22 @@ export declare const DstackAppFullResponseV20251028Schema: z.ZodObject<{
|
|
|
94
111
|
app_icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
112
|
created_at: z.ZodString;
|
|
96
113
|
kms_type: z.ZodString;
|
|
114
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
115
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
|
+
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
description?: string | null | undefined;
|
|
121
|
+
display_name?: string | null | undefined;
|
|
122
|
+
avatar_url?: string | null | undefined;
|
|
123
|
+
custom_domain?: string | null | undefined;
|
|
124
|
+
}, {
|
|
125
|
+
description?: string | null | undefined;
|
|
126
|
+
display_name?: string | null | undefined;
|
|
127
|
+
avatar_url?: string | null | undefined;
|
|
128
|
+
custom_domain?: string | null | undefined;
|
|
129
|
+
}>>>;
|
|
97
130
|
current_cvm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
98
131
|
vm_uuid: z.ZodNullable<z.ZodString>;
|
|
99
132
|
app_id: z.ZodString;
|
|
@@ -302,6 +335,12 @@ export declare const DstackAppFullResponseV20251028Schema: z.ZodObject<{
|
|
|
302
335
|
cvm_count: number;
|
|
303
336
|
app_provision_type?: string | null | undefined;
|
|
304
337
|
app_icon_url?: string | null | undefined;
|
|
338
|
+
profile?: {
|
|
339
|
+
description?: string | null | undefined;
|
|
340
|
+
display_name?: string | null | undefined;
|
|
341
|
+
avatar_url?: string | null | undefined;
|
|
342
|
+
custom_domain?: string | null | undefined;
|
|
343
|
+
} | null | undefined;
|
|
305
344
|
current_cvm?: {
|
|
306
345
|
status: string;
|
|
307
346
|
name: string;
|
|
@@ -336,6 +375,12 @@ export declare const DstackAppFullResponseV20251028Schema: z.ZodObject<{
|
|
|
336
375
|
created_at: string;
|
|
337
376
|
app_provision_type?: string | null | undefined;
|
|
338
377
|
app_icon_url?: string | null | undefined;
|
|
378
|
+
profile?: {
|
|
379
|
+
description?: string | null | undefined;
|
|
380
|
+
display_name?: string | null | undefined;
|
|
381
|
+
avatar_url?: string | null | undefined;
|
|
382
|
+
custom_domain?: string | null | undefined;
|
|
383
|
+
} | null | undefined;
|
|
339
384
|
current_cvm?: {
|
|
340
385
|
status: string;
|
|
341
386
|
app_id: string;
|
|
@@ -434,6 +479,22 @@ export declare const DstackAppWithCvmResponseV20251028Schema: z.ZodUnion<[z.ZodO
|
|
|
434
479
|
app_icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
435
480
|
created_at: z.ZodString;
|
|
436
481
|
kms_type: z.ZodString;
|
|
482
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
483
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
484
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
485
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
486
|
+
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
487
|
+
}, "strip", z.ZodTypeAny, {
|
|
488
|
+
description?: string | null | undefined;
|
|
489
|
+
display_name?: string | null | undefined;
|
|
490
|
+
avatar_url?: string | null | undefined;
|
|
491
|
+
custom_domain?: string | null | undefined;
|
|
492
|
+
}, {
|
|
493
|
+
description?: string | null | undefined;
|
|
494
|
+
display_name?: string | null | undefined;
|
|
495
|
+
avatar_url?: string | null | undefined;
|
|
496
|
+
custom_domain?: string | null | undefined;
|
|
497
|
+
}>>>;
|
|
437
498
|
current_cvm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
438
499
|
vm_uuid: z.ZodNullable<z.ZodString>;
|
|
439
500
|
app_id: z.ZodString;
|
|
@@ -642,6 +703,12 @@ export declare const DstackAppWithCvmResponseV20251028Schema: z.ZodUnion<[z.ZodO
|
|
|
642
703
|
cvm_count: number;
|
|
643
704
|
app_provision_type?: string | null | undefined;
|
|
644
705
|
app_icon_url?: string | null | undefined;
|
|
706
|
+
profile?: {
|
|
707
|
+
description?: string | null | undefined;
|
|
708
|
+
display_name?: string | null | undefined;
|
|
709
|
+
avatar_url?: string | null | undefined;
|
|
710
|
+
custom_domain?: string | null | undefined;
|
|
711
|
+
} | null | undefined;
|
|
645
712
|
current_cvm?: {
|
|
646
713
|
status: string;
|
|
647
714
|
name: string;
|
|
@@ -676,6 +743,12 @@ export declare const DstackAppWithCvmResponseV20251028Schema: z.ZodUnion<[z.ZodO
|
|
|
676
743
|
created_at: string;
|
|
677
744
|
app_provision_type?: string | null | undefined;
|
|
678
745
|
app_icon_url?: string | null | undefined;
|
|
746
|
+
profile?: {
|
|
747
|
+
description?: string | null | undefined;
|
|
748
|
+
display_name?: string | null | undefined;
|
|
749
|
+
avatar_url?: string | null | undefined;
|
|
750
|
+
custom_domain?: string | null | undefined;
|
|
751
|
+
} | null | undefined;
|
|
679
752
|
current_cvm?: {
|
|
680
753
|
status: string;
|
|
681
754
|
app_id: string;
|
|
@@ -773,6 +846,22 @@ export declare const DstackAppListResponseV20251028Schema: z.ZodObject<{
|
|
|
773
846
|
app_icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
774
847
|
created_at: z.ZodString;
|
|
775
848
|
kms_type: z.ZodString;
|
|
849
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
850
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
851
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
852
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
853
|
+
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
854
|
+
}, "strip", z.ZodTypeAny, {
|
|
855
|
+
description?: string | null | undefined;
|
|
856
|
+
display_name?: string | null | undefined;
|
|
857
|
+
avatar_url?: string | null | undefined;
|
|
858
|
+
custom_domain?: string | null | undefined;
|
|
859
|
+
}, {
|
|
860
|
+
description?: string | null | undefined;
|
|
861
|
+
display_name?: string | null | undefined;
|
|
862
|
+
avatar_url?: string | null | undefined;
|
|
863
|
+
custom_domain?: string | null | undefined;
|
|
864
|
+
}>>>;
|
|
776
865
|
current_cvm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
777
866
|
vm_uuid: z.ZodNullable<z.ZodString>;
|
|
778
867
|
app_id: z.ZodString;
|
|
@@ -981,6 +1070,12 @@ export declare const DstackAppListResponseV20251028Schema: z.ZodObject<{
|
|
|
981
1070
|
cvm_count: number;
|
|
982
1071
|
app_provision_type?: string | null | undefined;
|
|
983
1072
|
app_icon_url?: string | null | undefined;
|
|
1073
|
+
profile?: {
|
|
1074
|
+
description?: string | null | undefined;
|
|
1075
|
+
display_name?: string | null | undefined;
|
|
1076
|
+
avatar_url?: string | null | undefined;
|
|
1077
|
+
custom_domain?: string | null | undefined;
|
|
1078
|
+
} | null | undefined;
|
|
984
1079
|
current_cvm?: {
|
|
985
1080
|
status: string;
|
|
986
1081
|
name: string;
|
|
@@ -1015,6 +1110,12 @@ export declare const DstackAppListResponseV20251028Schema: z.ZodObject<{
|
|
|
1015
1110
|
created_at: string;
|
|
1016
1111
|
app_provision_type?: string | null | undefined;
|
|
1017
1112
|
app_icon_url?: string | null | undefined;
|
|
1113
|
+
profile?: {
|
|
1114
|
+
description?: string | null | undefined;
|
|
1115
|
+
display_name?: string | null | undefined;
|
|
1116
|
+
avatar_url?: string | null | undefined;
|
|
1117
|
+
custom_domain?: string | null | undefined;
|
|
1118
|
+
} | null | undefined;
|
|
1018
1119
|
current_cvm?: {
|
|
1019
1120
|
status: string;
|
|
1020
1121
|
app_id: string;
|
|
@@ -1145,6 +1246,12 @@ export declare const DstackAppListResponseV20251028Schema: z.ZodObject<{
|
|
|
1145
1246
|
cvm_count: number;
|
|
1146
1247
|
app_provision_type?: string | null | undefined;
|
|
1147
1248
|
app_icon_url?: string | null | undefined;
|
|
1249
|
+
profile?: {
|
|
1250
|
+
description?: string | null | undefined;
|
|
1251
|
+
display_name?: string | null | undefined;
|
|
1252
|
+
avatar_url?: string | null | undefined;
|
|
1253
|
+
custom_domain?: string | null | undefined;
|
|
1254
|
+
} | null | undefined;
|
|
1148
1255
|
current_cvm?: {
|
|
1149
1256
|
status: string;
|
|
1150
1257
|
name: string;
|
|
@@ -1196,6 +1303,12 @@ export declare const DstackAppListResponseV20251028Schema: z.ZodObject<{
|
|
|
1196
1303
|
created_at: string;
|
|
1197
1304
|
app_provision_type?: string | null | undefined;
|
|
1198
1305
|
app_icon_url?: string | null | undefined;
|
|
1306
|
+
profile?: {
|
|
1307
|
+
description?: string | null | undefined;
|
|
1308
|
+
display_name?: string | null | undefined;
|
|
1309
|
+
avatar_url?: string | null | undefined;
|
|
1310
|
+
custom_domain?: string | null | undefined;
|
|
1311
|
+
} | null | undefined;
|
|
1199
1312
|
current_cvm?: {
|
|
1200
1313
|
status: string;
|
|
1201
1314
|
app_id: string;
|
|
@@ -7,6 +7,22 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
|
|
|
7
7
|
app_icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
8
|
created_at: z.ZodString;
|
|
9
9
|
kms_type: z.ZodString;
|
|
10
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
description?: string | null | undefined;
|
|
17
|
+
display_name?: string | null | undefined;
|
|
18
|
+
avatar_url?: string | null | undefined;
|
|
19
|
+
custom_domain?: string | null | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
description?: string | null | undefined;
|
|
22
|
+
display_name?: string | null | undefined;
|
|
23
|
+
avatar_url?: string | null | undefined;
|
|
24
|
+
custom_domain?: string | null | undefined;
|
|
25
|
+
}>>>;
|
|
10
26
|
current_cvm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
27
|
id: z.ZodString;
|
|
12
28
|
name: z.ZodString;
|
|
@@ -738,6 +754,12 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
|
|
|
738
754
|
cvm_count: number;
|
|
739
755
|
app_provision_type?: string | null | undefined;
|
|
740
756
|
app_icon_url?: string | null | undefined;
|
|
757
|
+
profile?: {
|
|
758
|
+
description?: string | null | undefined;
|
|
759
|
+
display_name?: string | null | undefined;
|
|
760
|
+
avatar_url?: string | null | undefined;
|
|
761
|
+
custom_domain?: string | null | undefined;
|
|
762
|
+
} | null | undefined;
|
|
741
763
|
current_cvm?: {
|
|
742
764
|
status: string;
|
|
743
765
|
name: string;
|
|
@@ -821,6 +843,12 @@ export declare const DstackAppFullResponseV20260121Schema: z.ZodObject<{
|
|
|
821
843
|
created_at: string;
|
|
822
844
|
app_provision_type?: string | null | undefined;
|
|
823
845
|
app_icon_url?: string | null | undefined;
|
|
846
|
+
profile?: {
|
|
847
|
+
description?: string | null | undefined;
|
|
848
|
+
display_name?: string | null | undefined;
|
|
849
|
+
avatar_url?: string | null | undefined;
|
|
850
|
+
custom_domain?: string | null | undefined;
|
|
851
|
+
} | null | undefined;
|
|
824
852
|
current_cvm?: {
|
|
825
853
|
status: string;
|
|
826
854
|
name: string;
|
|
@@ -1017,6 +1045,22 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
|
|
|
1017
1045
|
app_icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1018
1046
|
created_at: z.ZodString;
|
|
1019
1047
|
kms_type: z.ZodString;
|
|
1048
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1049
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1050
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1051
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1052
|
+
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1053
|
+
}, "strip", z.ZodTypeAny, {
|
|
1054
|
+
description?: string | null | undefined;
|
|
1055
|
+
display_name?: string | null | undefined;
|
|
1056
|
+
avatar_url?: string | null | undefined;
|
|
1057
|
+
custom_domain?: string | null | undefined;
|
|
1058
|
+
}, {
|
|
1059
|
+
description?: string | null | undefined;
|
|
1060
|
+
display_name?: string | null | undefined;
|
|
1061
|
+
avatar_url?: string | null | undefined;
|
|
1062
|
+
custom_domain?: string | null | undefined;
|
|
1063
|
+
}>>>;
|
|
1020
1064
|
current_cvm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1021
1065
|
id: z.ZodString;
|
|
1022
1066
|
name: z.ZodString;
|
|
@@ -1748,6 +1792,12 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
|
|
|
1748
1792
|
cvm_count: number;
|
|
1749
1793
|
app_provision_type?: string | null | undefined;
|
|
1750
1794
|
app_icon_url?: string | null | undefined;
|
|
1795
|
+
profile?: {
|
|
1796
|
+
description?: string | null | undefined;
|
|
1797
|
+
display_name?: string | null | undefined;
|
|
1798
|
+
avatar_url?: string | null | undefined;
|
|
1799
|
+
custom_domain?: string | null | undefined;
|
|
1800
|
+
} | null | undefined;
|
|
1751
1801
|
current_cvm?: {
|
|
1752
1802
|
status: string;
|
|
1753
1803
|
name: string;
|
|
@@ -1831,6 +1881,12 @@ export declare const DstackAppWithCvmResponseV20260121Schema: z.ZodUnion<[z.ZodO
|
|
|
1831
1881
|
created_at: string;
|
|
1832
1882
|
app_provision_type?: string | null | undefined;
|
|
1833
1883
|
app_icon_url?: string | null | undefined;
|
|
1884
|
+
profile?: {
|
|
1885
|
+
description?: string | null | undefined;
|
|
1886
|
+
display_name?: string | null | undefined;
|
|
1887
|
+
avatar_url?: string | null | undefined;
|
|
1888
|
+
custom_domain?: string | null | undefined;
|
|
1889
|
+
} | null | undefined;
|
|
1834
1890
|
current_cvm?: {
|
|
1835
1891
|
status: string;
|
|
1836
1892
|
name: string;
|
|
@@ -2026,6 +2082,22 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
|
|
|
2026
2082
|
app_icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2027
2083
|
created_at: z.ZodString;
|
|
2028
2084
|
kms_type: z.ZodString;
|
|
2085
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2086
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2087
|
+
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2088
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2089
|
+
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2090
|
+
}, "strip", z.ZodTypeAny, {
|
|
2091
|
+
description?: string | null | undefined;
|
|
2092
|
+
display_name?: string | null | undefined;
|
|
2093
|
+
avatar_url?: string | null | undefined;
|
|
2094
|
+
custom_domain?: string | null | undefined;
|
|
2095
|
+
}, {
|
|
2096
|
+
description?: string | null | undefined;
|
|
2097
|
+
display_name?: string | null | undefined;
|
|
2098
|
+
avatar_url?: string | null | undefined;
|
|
2099
|
+
custom_domain?: string | null | undefined;
|
|
2100
|
+
}>>>;
|
|
2029
2101
|
current_cvm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2030
2102
|
id: z.ZodString;
|
|
2031
2103
|
name: z.ZodString;
|
|
@@ -2757,6 +2829,12 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
|
|
|
2757
2829
|
cvm_count: number;
|
|
2758
2830
|
app_provision_type?: string | null | undefined;
|
|
2759
2831
|
app_icon_url?: string | null | undefined;
|
|
2832
|
+
profile?: {
|
|
2833
|
+
description?: string | null | undefined;
|
|
2834
|
+
display_name?: string | null | undefined;
|
|
2835
|
+
avatar_url?: string | null | undefined;
|
|
2836
|
+
custom_domain?: string | null | undefined;
|
|
2837
|
+
} | null | undefined;
|
|
2760
2838
|
current_cvm?: {
|
|
2761
2839
|
status: string;
|
|
2762
2840
|
name: string;
|
|
@@ -2840,6 +2918,12 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
|
|
|
2840
2918
|
created_at: string;
|
|
2841
2919
|
app_provision_type?: string | null | undefined;
|
|
2842
2920
|
app_icon_url?: string | null | undefined;
|
|
2921
|
+
profile?: {
|
|
2922
|
+
description?: string | null | undefined;
|
|
2923
|
+
display_name?: string | null | undefined;
|
|
2924
|
+
avatar_url?: string | null | undefined;
|
|
2925
|
+
custom_domain?: string | null | undefined;
|
|
2926
|
+
} | null | undefined;
|
|
2843
2927
|
current_cvm?: {
|
|
2844
2928
|
status: string;
|
|
2845
2929
|
name: string;
|
|
@@ -3117,6 +3201,12 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
|
|
|
3117
3201
|
cvm_count: number;
|
|
3118
3202
|
app_provision_type?: string | null | undefined;
|
|
3119
3203
|
app_icon_url?: string | null | undefined;
|
|
3204
|
+
profile?: {
|
|
3205
|
+
description?: string | null | undefined;
|
|
3206
|
+
display_name?: string | null | undefined;
|
|
3207
|
+
avatar_url?: string | null | undefined;
|
|
3208
|
+
custom_domain?: string | null | undefined;
|
|
3209
|
+
} | null | undefined;
|
|
3120
3210
|
current_cvm?: {
|
|
3121
3211
|
status: string;
|
|
3122
3212
|
name: string;
|
|
@@ -3217,6 +3307,12 @@ export declare const DstackAppListResponseV20260121Schema: z.ZodObject<{
|
|
|
3217
3307
|
created_at: string;
|
|
3218
3308
|
app_provision_type?: string | null | undefined;
|
|
3219
3309
|
app_icon_url?: string | null | undefined;
|
|
3310
|
+
profile?: {
|
|
3311
|
+
description?: string | null | undefined;
|
|
3312
|
+
display_name?: string | null | undefined;
|
|
3313
|
+
avatar_url?: string | null | undefined;
|
|
3314
|
+
custom_domain?: string | null | undefined;
|
|
3315
|
+
} | null | undefined;
|
|
3220
3316
|
current_cvm?: {
|
|
3221
3317
|
status: string;
|
|
3222
3318
|
name: string;
|
|
@@ -20,6 +20,7 @@ export declare const CvmRefSchema: z.ZodObject<{
|
|
|
20
20
|
}>;
|
|
21
21
|
export type CvmRef = z.infer<typeof CvmRefSchema>;
|
|
22
22
|
export declare const AppRevisionResponseSchema: z.ZodObject<{
|
|
23
|
+
revision_id: z.ZodString;
|
|
23
24
|
app_id: z.ZodString;
|
|
24
25
|
vm_uuid: z.ZodString;
|
|
25
26
|
compose_hash: z.ZodString;
|
|
@@ -85,6 +86,7 @@ export declare const AppRevisionResponseSchema: z.ZodObject<{
|
|
|
85
86
|
vm_uuid: string;
|
|
86
87
|
created_at: string;
|
|
87
88
|
compose_hash: string;
|
|
89
|
+
revision_id: string;
|
|
88
90
|
operation_type: string;
|
|
89
91
|
workspace?: {
|
|
90
92
|
name: string;
|
|
@@ -112,6 +114,7 @@ export declare const AppRevisionResponseSchema: z.ZodObject<{
|
|
|
112
114
|
vm_uuid: string;
|
|
113
115
|
created_at: string;
|
|
114
116
|
compose_hash: string;
|
|
117
|
+
revision_id: string;
|
|
115
118
|
operation_type: string;
|
|
116
119
|
workspace?: {
|
|
117
120
|
name: string;
|
|
@@ -137,6 +140,7 @@ export declare const AppRevisionResponseSchema: z.ZodObject<{
|
|
|
137
140
|
}>;
|
|
138
141
|
export type AppRevisionResponse = z.infer<typeof AppRevisionResponseSchema>;
|
|
139
142
|
export declare const AppRevisionDetailResponseSchema: z.ZodObject<{
|
|
143
|
+
revision_id: z.ZodString;
|
|
140
144
|
app_id: z.ZodString;
|
|
141
145
|
vm_uuid: z.ZodString;
|
|
142
146
|
compose_hash: z.ZodString;
|
|
@@ -206,6 +210,7 @@ export declare const AppRevisionDetailResponseSchema: z.ZodObject<{
|
|
|
206
210
|
created_at: string;
|
|
207
211
|
compose_hash: string;
|
|
208
212
|
encrypted_env: string;
|
|
213
|
+
revision_id: string;
|
|
209
214
|
operation_type: string;
|
|
210
215
|
user_config: string;
|
|
211
216
|
workspace?: {
|
|
@@ -236,6 +241,7 @@ export declare const AppRevisionDetailResponseSchema: z.ZodObject<{
|
|
|
236
241
|
created_at: string;
|
|
237
242
|
compose_hash: string;
|
|
238
243
|
encrypted_env: string;
|
|
244
|
+
revision_id: string;
|
|
239
245
|
operation_type: string;
|
|
240
246
|
user_config: string;
|
|
241
247
|
workspace?: {
|
|
@@ -264,6 +270,7 @@ export declare const AppRevisionDetailResponseSchema: z.ZodObject<{
|
|
|
264
270
|
export type AppRevisionDetailResponse = z.infer<typeof AppRevisionDetailResponseSchema>;
|
|
265
271
|
export declare const AppRevisionsResponseSchema: z.ZodObject<{
|
|
266
272
|
revisions: z.ZodArray<z.ZodObject<{
|
|
273
|
+
revision_id: z.ZodString;
|
|
267
274
|
app_id: z.ZodString;
|
|
268
275
|
vm_uuid: z.ZodString;
|
|
269
276
|
compose_hash: z.ZodString;
|
|
@@ -329,6 +336,7 @@ export declare const AppRevisionsResponseSchema: z.ZodObject<{
|
|
|
329
336
|
vm_uuid: string;
|
|
330
337
|
created_at: string;
|
|
331
338
|
compose_hash: string;
|
|
339
|
+
revision_id: string;
|
|
332
340
|
operation_type: string;
|
|
333
341
|
workspace?: {
|
|
334
342
|
name: string;
|
|
@@ -356,6 +364,7 @@ export declare const AppRevisionsResponseSchema: z.ZodObject<{
|
|
|
356
364
|
vm_uuid: string;
|
|
357
365
|
created_at: string;
|
|
358
366
|
compose_hash: string;
|
|
367
|
+
revision_id: string;
|
|
359
368
|
operation_type: string;
|
|
360
369
|
workspace?: {
|
|
361
370
|
name: string;
|
|
@@ -393,6 +402,7 @@ export declare const AppRevisionsResponseSchema: z.ZodObject<{
|
|
|
393
402
|
vm_uuid: string;
|
|
394
403
|
created_at: string;
|
|
395
404
|
compose_hash: string;
|
|
405
|
+
revision_id: string;
|
|
396
406
|
operation_type: string;
|
|
397
407
|
workspace?: {
|
|
398
408
|
name: string;
|
|
@@ -426,6 +436,7 @@ export declare const AppRevisionsResponseSchema: z.ZodObject<{
|
|
|
426
436
|
vm_uuid: string;
|
|
427
437
|
created_at: string;
|
|
428
438
|
compose_hash: string;
|
|
439
|
+
revision_id: string;
|
|
429
440
|
operation_type: string;
|
|
430
441
|
workspace?: {
|
|
431
442
|
name: string;
|
package/dist/types/cvm_info.d.ts
CHANGED
|
@@ -64,9 +64,9 @@ export declare const VMSchema: z.ZodObject<{
|
|
|
64
64
|
} | null | undefined;
|
|
65
65
|
user_id?: number | null | undefined;
|
|
66
66
|
docker_compose_file?: string | null | undefined;
|
|
67
|
+
features?: string[] | null | undefined;
|
|
67
68
|
manifest_version?: number | null | undefined;
|
|
68
69
|
runner?: string | null | undefined;
|
|
69
|
-
features?: string[] | null | undefined;
|
|
70
70
|
}, {
|
|
71
71
|
status: string;
|
|
72
72
|
name: string;
|
|
@@ -90,8 +90,8 @@ export declare const VMSchema: z.ZodObject<{
|
|
|
90
90
|
} | null | undefined;
|
|
91
91
|
user_id?: number | null | undefined;
|
|
92
92
|
docker_compose_file?: string | null | undefined;
|
|
93
|
+
features?: string[] | null | undefined;
|
|
93
94
|
manifest_version?: number | null | undefined;
|
|
94
95
|
runner?: string | null | undefined;
|
|
95
|
-
features?: string[] | null | undefined;
|
|
96
96
|
}>;
|
|
97
97
|
export type VM = z.infer<typeof VMSchema>;
|
package/dist/types/index.d.ts
CHANGED