phala 1.0.39 → 1.1.0-beta.2
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/api/index.d.ts +36 -36
- package/dist/api/index.js +70 -70
- package/dist/index.js +285 -158
- package/package.json +2 -1
package/dist/api/index.d.ts
CHANGED
@@ -5,13 +5,13 @@ declare const dockerConfigSchema: z.ZodObject<{
|
|
5
5
|
registry: z.ZodNullable<z.ZodString>;
|
6
6
|
username: z.ZodString;
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
8
|
+
username?: string;
|
8
9
|
password?: string;
|
9
10
|
registry?: string;
|
10
|
-
username?: string;
|
11
11
|
}, {
|
12
|
+
username?: string;
|
12
13
|
password?: string;
|
13
14
|
registry?: string;
|
14
|
-
username?: string;
|
15
15
|
}>;
|
16
16
|
declare const composeFileSchema: z.ZodObject<{
|
17
17
|
docker_compose_file: z.ZodString;
|
@@ -20,13 +20,13 @@ declare const composeFileSchema: z.ZodObject<{
|
|
20
20
|
registry: z.ZodNullable<z.ZodString>;
|
21
21
|
username: z.ZodString;
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
23
|
+
username?: string;
|
23
24
|
password?: string;
|
24
25
|
registry?: string;
|
25
|
-
username?: string;
|
26
26
|
}, {
|
27
|
+
username?: string;
|
27
28
|
password?: string;
|
28
29
|
registry?: string;
|
29
|
-
username?: string;
|
30
30
|
}>>>;
|
31
31
|
features: z.ZodArray<z.ZodString, "many">;
|
32
32
|
kms_enabled: z.ZodBoolean;
|
@@ -45,13 +45,13 @@ declare const composeFileSchema: z.ZodObject<{
|
|
45
45
|
registry: z.ZodNullable<z.ZodString>;
|
46
46
|
username: z.ZodString;
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
48
|
+
username?: string;
|
48
49
|
password?: string;
|
49
50
|
registry?: string;
|
50
|
-
username?: string;
|
51
51
|
}, {
|
52
|
+
username?: string;
|
52
53
|
password?: string;
|
53
54
|
registry?: string;
|
54
|
-
username?: string;
|
55
55
|
}>>>;
|
56
56
|
features: z.ZodArray<z.ZodString, "many">;
|
57
57
|
kms_enabled: z.ZodBoolean;
|
@@ -70,13 +70,13 @@ declare const composeFileSchema: z.ZodObject<{
|
|
70
70
|
registry: z.ZodNullable<z.ZodString>;
|
71
71
|
username: z.ZodString;
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
73
|
+
username?: string;
|
73
74
|
password?: string;
|
74
75
|
registry?: string;
|
75
|
-
username?: string;
|
76
76
|
}, {
|
77
|
+
username?: string;
|
77
78
|
password?: string;
|
78
79
|
registry?: string;
|
79
|
-
username?: string;
|
80
80
|
}>>>;
|
81
81
|
features: z.ZodArray<z.ZodString, "many">;
|
82
82
|
kms_enabled: z.ZodBoolean;
|
@@ -122,12 +122,14 @@ declare const postCvmResponseSchema: z.ZodObject<{
|
|
122
122
|
encrypted_env_pubkey: z.ZodString;
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
124
124
|
status?: string;
|
125
|
+
name?: string;
|
126
|
+
vcpu?: number;
|
127
|
+
memory?: number;
|
128
|
+
version?: string;
|
129
|
+
runner?: string;
|
125
130
|
docker_compose_file?: string;
|
126
131
|
features?: string[];
|
127
132
|
manifest_version?: number;
|
128
|
-
name?: string;
|
129
|
-
runner?: string;
|
130
|
-
version?: string;
|
131
133
|
id?: number;
|
132
134
|
teepod_id?: number;
|
133
135
|
teepod?: {
|
@@ -140,19 +142,19 @@ declare const postCvmResponseSchema: z.ZodObject<{
|
|
140
142
|
instance_id?: string;
|
141
143
|
app_url?: string;
|
142
144
|
base_image?: string;
|
143
|
-
vcpu?: number;
|
144
|
-
memory?: number;
|
145
145
|
disk_size?: number;
|
146
146
|
created_at?: string;
|
147
147
|
encrypted_env_pubkey?: string;
|
148
148
|
}, {
|
149
149
|
status?: string;
|
150
|
+
name?: string;
|
151
|
+
vcpu?: number;
|
152
|
+
memory?: number;
|
153
|
+
version?: string;
|
154
|
+
runner?: string;
|
150
155
|
docker_compose_file?: string;
|
151
156
|
features?: string[];
|
152
157
|
manifest_version?: number;
|
153
|
-
name?: string;
|
154
|
-
runner?: string;
|
155
|
-
version?: string;
|
156
158
|
id?: number;
|
157
159
|
teepod_id?: number;
|
158
160
|
teepod?: {
|
@@ -165,8 +167,6 @@ declare const postCvmResponseSchema: z.ZodObject<{
|
|
165
167
|
instance_id?: string;
|
166
168
|
app_url?: string;
|
167
169
|
base_image?: string;
|
168
|
-
vcpu?: number;
|
169
|
-
memory?: number;
|
170
170
|
disk_size?: number;
|
171
171
|
created_at?: string;
|
172
172
|
encrypted_env_pubkey?: string;
|
@@ -175,11 +175,11 @@ declare const encryptedEnvItemSchema: z.ZodObject<{
|
|
175
175
|
key: z.ZodString;
|
176
176
|
value: z.ZodString;
|
177
177
|
}, "strip", z.ZodTypeAny, {
|
178
|
-
key?: string;
|
179
178
|
value?: string;
|
180
|
-
}, {
|
181
179
|
key?: string;
|
180
|
+
}, {
|
182
181
|
value?: string;
|
182
|
+
key?: string;
|
183
183
|
}>;
|
184
184
|
declare const getCvmNetworkResponseSchema: z.ZodObject<{
|
185
185
|
is_online: z.ZodBoolean;
|
@@ -306,12 +306,14 @@ declare const replicateCvmResponseSchema: z.ZodObject<{
|
|
306
306
|
encrypted_env_pubkey: z.ZodString;
|
307
307
|
}, "strip", z.ZodTypeAny, {
|
308
308
|
status?: string;
|
309
|
+
name?: string;
|
310
|
+
vcpu?: number;
|
311
|
+
memory?: number;
|
312
|
+
version?: string;
|
313
|
+
runner?: string;
|
309
314
|
docker_compose_file?: string;
|
310
315
|
features?: string[];
|
311
316
|
manifest_version?: number;
|
312
|
-
name?: string;
|
313
|
-
runner?: string;
|
314
|
-
version?: string;
|
315
317
|
id?: number;
|
316
318
|
teepod_id?: number;
|
317
319
|
teepod?: {
|
@@ -324,19 +326,19 @@ declare const replicateCvmResponseSchema: z.ZodObject<{
|
|
324
326
|
instance_id?: string;
|
325
327
|
app_url?: string;
|
326
328
|
base_image?: string;
|
327
|
-
vcpu?: number;
|
328
|
-
memory?: number;
|
329
329
|
disk_size?: number;
|
330
330
|
created_at?: string;
|
331
331
|
encrypted_env_pubkey?: string;
|
332
332
|
}, {
|
333
333
|
status?: string;
|
334
|
+
name?: string;
|
335
|
+
vcpu?: number;
|
336
|
+
memory?: number;
|
337
|
+
version?: string;
|
338
|
+
runner?: string;
|
334
339
|
docker_compose_file?: string;
|
335
340
|
features?: string[];
|
336
341
|
manifest_version?: number;
|
337
|
-
name?: string;
|
338
|
-
runner?: string;
|
339
|
-
version?: string;
|
340
342
|
id?: number;
|
341
343
|
teepod_id?: number;
|
342
344
|
teepod?: {
|
@@ -349,8 +351,6 @@ declare const replicateCvmResponseSchema: z.ZodObject<{
|
|
349
351
|
instance_id?: string;
|
350
352
|
app_url?: string;
|
351
353
|
base_image?: string;
|
352
|
-
vcpu?: number;
|
353
|
-
memory?: number;
|
354
354
|
disk_size?: number;
|
355
355
|
created_at?: string;
|
356
356
|
encrypted_env_pubkey?: string;
|
@@ -611,9 +611,9 @@ declare const imageSchema: z.ZodObject<{
|
|
611
611
|
bios: z.ZodOptional<z.ZodString>;
|
612
612
|
}, "strip", z.ZodTypeAny, {
|
613
613
|
name?: string;
|
614
|
+
description?: string;
|
614
615
|
version?: number[];
|
615
616
|
rootfs_hash?: string;
|
616
|
-
description?: string;
|
617
617
|
is_dev?: boolean;
|
618
618
|
os_image_hash?: string;
|
619
619
|
shared_ro?: boolean;
|
@@ -625,9 +625,9 @@ declare const imageSchema: z.ZodObject<{
|
|
625
625
|
bios?: string;
|
626
626
|
}, {
|
627
627
|
name?: string;
|
628
|
+
description?: string;
|
628
629
|
version?: number[];
|
629
630
|
rootfs_hash?: string;
|
630
|
-
description?: string;
|
631
631
|
is_dev?: boolean;
|
632
632
|
os_image_hash?: string;
|
633
633
|
shared_ro?: boolean;
|
@@ -663,9 +663,9 @@ declare const teepodSchema: z.ZodObject<{
|
|
663
663
|
bios: z.ZodOptional<z.ZodString>;
|
664
664
|
}, "strip", z.ZodTypeAny, {
|
665
665
|
name?: string;
|
666
|
+
description?: string;
|
666
667
|
version?: number[];
|
667
668
|
rootfs_hash?: string;
|
668
|
-
description?: string;
|
669
669
|
is_dev?: boolean;
|
670
670
|
os_image_hash?: string;
|
671
671
|
shared_ro?: boolean;
|
@@ -677,9 +677,9 @@ declare const teepodSchema: z.ZodObject<{
|
|
677
677
|
bios?: string;
|
678
678
|
}, {
|
679
679
|
name?: string;
|
680
|
+
description?: string;
|
680
681
|
version?: number[];
|
681
682
|
rootfs_hash?: string;
|
682
|
-
description?: string;
|
683
683
|
is_dev?: boolean;
|
684
684
|
os_image_hash?: string;
|
685
685
|
shared_ro?: boolean;
|
@@ -706,9 +706,9 @@ declare const teepodSchema: z.ZodObject<{
|
|
706
706
|
remaining_cvm_slots?: number;
|
707
707
|
images?: {
|
708
708
|
name?: string;
|
709
|
+
description?: string;
|
709
710
|
version?: number[];
|
710
711
|
rootfs_hash?: string;
|
711
|
-
description?: string;
|
712
712
|
is_dev?: boolean;
|
713
713
|
os_image_hash?: string;
|
714
714
|
shared_ro?: boolean;
|
@@ -735,9 +735,9 @@ declare const teepodSchema: z.ZodObject<{
|
|
735
735
|
remaining_cvm_slots?: number;
|
736
736
|
images?: {
|
737
737
|
name?: string;
|
738
|
+
description?: string;
|
738
739
|
version?: number[];
|
739
740
|
rootfs_hash?: string;
|
740
|
-
description?: string;
|
741
741
|
is_dev?: boolean;
|
742
742
|
os_image_hash?: string;
|
743
743
|
shared_ro?: boolean;
|