@trigger.dev/core 4.5.4 → 4.5.6
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/commonjs/v3/apiClient/core.d.ts +7 -0
- package/dist/commonjs/v3/apiClient/core.js +1 -0
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/build/resolvedConfig.d.ts +6 -5
- package/dist/commonjs/v3/build/runtime.d.ts +3 -0
- package/dist/commonjs/v3/build/runtime.js +28 -1
- package/dist/commonjs/v3/build/runtime.js.map +1 -1
- package/dist/commonjs/v3/build/runtime.test.d.ts +1 -0
- package/dist/commonjs/v3/build/runtime.test.js +34 -0
- package/dist/commonjs/v3/build/runtime.test.js.map +1 -0
- package/dist/commonjs/v3/config.d.ts +2 -2
- package/dist/commonjs/v3/index.d.ts +1 -0
- package/dist/commonjs/v3/index.js +1 -0
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/jwt.d.ts +1 -0
- package/dist/commonjs/v3/jwt.js +6 -4
- package/dist/commonjs/v3/jwt.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/consts.d.ts +1 -0
- package/dist/commonjs/v3/runEngineWorker/consts.js +3 -0
- package/dist/commonjs/v3/runEngineWorker/consts.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +8 -5
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js +15 -5
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +40 -30
- package/dist/commonjs/v3/runEngineWorker/types.d.ts +1 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +1 -0
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +35 -30
- package/dist/commonjs/v3/runMetadata/operations.d.ts +1 -1
- package/dist/commonjs/v3/runMetadata/operations.js +7 -0
- package/dist/commonjs/v3/runMetadata/operations.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +64 -17
- package/dist/commonjs/v3/schemas/api.js +21 -4
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +23 -21
- package/dist/commonjs/v3/schemas/build.js +9 -2
- package/dist/commonjs/v3/schemas/build.js.map +1 -1
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +5 -0
- package/dist/commonjs/v3/schemas/common.d.ts +121 -115
- package/dist/commonjs/v3/schemas/common.js +21 -5
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +35 -35
- package/dist/commonjs/v3/schemas/runEngine.d.ts +5 -0
- package/dist/commonjs/v3/schemas/runEngine.js +2 -0
- package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
- package/dist/commonjs/v3/utils/flattenAttributes.js +11 -2
- package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/commonjs/v3/workloadDeploymentToken.d.ts +68 -0
- package/dist/commonjs/v3/workloadDeploymentToken.js +73 -0
- package/dist/commonjs/v3/workloadDeploymentToken.js.map +1 -0
- package/dist/commonjs/v3/workloadDeploymentToken.test.d.ts +1 -0
- package/dist/commonjs/v3/workloadDeploymentToken.test.js +110 -0
- package/dist/commonjs/v3/workloadDeploymentToken.test.js.map +1 -0
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/core.d.ts +7 -0
- package/dist/esm/v3/apiClient/core.js +1 -0
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/build/resolvedConfig.d.ts +6 -5
- package/dist/esm/v3/build/runtime.d.ts +3 -0
- package/dist/esm/v3/build/runtime.js +26 -1
- package/dist/esm/v3/build/runtime.js.map +1 -1
- package/dist/esm/v3/build/runtime.test.d.ts +1 -0
- package/dist/esm/v3/build/runtime.test.js +32 -0
- package/dist/esm/v3/build/runtime.test.js.map +1 -0
- package/dist/esm/v3/config.d.ts +2 -2
- package/dist/esm/v3/index.d.ts +1 -0
- package/dist/esm/v3/index.js +1 -0
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/esm/v3/jwt.d.ts +1 -0
- package/dist/esm/v3/jwt.js +6 -4
- package/dist/esm/v3/jwt.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/consts.d.ts +1 -0
- package/dist/esm/v3/runEngineWorker/consts.js +3 -0
- package/dist/esm/v3/runEngineWorker/consts.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +8 -5
- package/dist/esm/v3/runEngineWorker/supervisor/http.js +15 -5
- package/dist/esm/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +40 -30
- package/dist/esm/v3/runEngineWorker/types.d.ts +1 -0
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +1 -0
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +35 -30
- package/dist/esm/v3/runMetadata/operations.d.ts +1 -1
- package/dist/esm/v3/runMetadata/operations.js +7 -0
- package/dist/esm/v3/runMetadata/operations.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +64 -17
- package/dist/esm/v3/schemas/api.js +17 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +23 -21
- package/dist/esm/v3/schemas/build.js +8 -1
- package/dist/esm/v3/schemas/build.js.map +1 -1
- package/dist/esm/v3/schemas/checkpoints.d.ts +5 -0
- package/dist/esm/v3/schemas/common.d.ts +121 -115
- package/dist/esm/v3/schemas/common.js +20 -5
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +35 -35
- package/dist/esm/v3/schemas/runEngine.d.ts +5 -0
- package/dist/esm/v3/schemas/runEngine.js +2 -0
- package/dist/esm/v3/schemas/runEngine.js.map +1 -1
- package/dist/esm/v3/utils/flattenAttributes.js +11 -2
- package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/esm/v3/workloadDeploymentToken.d.ts +68 -0
- package/dist/esm/v3/workloadDeploymentToken.js +66 -0
- package/dist/esm/v3/workloadDeploymentToken.js.map +1 -0
- package/dist/esm/v3/workloadDeploymentToken.test.d.ts +1 -0
- package/dist/esm/v3/workloadDeploymentToken.test.js +108 -0
- package/dist/esm/v3/workloadDeploymentToken.test.js.map +1 -0
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -133,7 +133,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
133
133
|
type: "update";
|
|
134
134
|
}>, z.ZodObject<{
|
|
135
135
|
type: z.ZodLiteral<"set">;
|
|
136
|
-
key: z.ZodString
|
|
136
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
137
137
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
139
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -145,7 +145,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
145
145
|
key: string;
|
|
146
146
|
}>, z.ZodObject<{
|
|
147
147
|
type: z.ZodLiteral<"delete">;
|
|
148
|
-
key: z.ZodString
|
|
148
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
149
149
|
}, "strip", z.ZodTypeAny, {
|
|
150
150
|
type: "delete";
|
|
151
151
|
key: string;
|
|
@@ -154,7 +154,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
154
154
|
key: string;
|
|
155
155
|
}>, z.ZodObject<{
|
|
156
156
|
type: z.ZodLiteral<"append">;
|
|
157
|
-
key: z.ZodString
|
|
157
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
158
158
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
160
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -166,7 +166,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
166
166
|
key: string;
|
|
167
167
|
}>, z.ZodObject<{
|
|
168
168
|
type: z.ZodLiteral<"remove">;
|
|
169
|
-
key: z.ZodString
|
|
169
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
170
170
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
172
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -178,7 +178,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
178
178
|
key: string;
|
|
179
179
|
}>, z.ZodObject<{
|
|
180
180
|
type: z.ZodLiteral<"increment">;
|
|
181
|
-
key: z.ZodString
|
|
181
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
182
182
|
value: z.ZodNumber;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
184
|
value: number;
|
|
@@ -200,7 +200,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
200
200
|
type: "update";
|
|
201
201
|
}>, z.ZodObject<{
|
|
202
202
|
type: z.ZodLiteral<"set">;
|
|
203
|
-
key: z.ZodString
|
|
203
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
204
204
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
205
205
|
}, "strip", z.ZodTypeAny, {
|
|
206
206
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -212,7 +212,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
212
212
|
key: string;
|
|
213
213
|
}>, z.ZodObject<{
|
|
214
214
|
type: z.ZodLiteral<"delete">;
|
|
215
|
-
key: z.ZodString
|
|
215
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
216
216
|
}, "strip", z.ZodTypeAny, {
|
|
217
217
|
type: "delete";
|
|
218
218
|
key: string;
|
|
@@ -221,7 +221,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
221
221
|
key: string;
|
|
222
222
|
}>, z.ZodObject<{
|
|
223
223
|
type: z.ZodLiteral<"append">;
|
|
224
|
-
key: z.ZodString
|
|
224
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
225
225
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
227
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -233,7 +233,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
233
233
|
key: string;
|
|
234
234
|
}>, z.ZodObject<{
|
|
235
235
|
type: z.ZodLiteral<"remove">;
|
|
236
|
-
key: z.ZodString
|
|
236
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
237
237
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
238
238
|
}, "strip", z.ZodTypeAny, {
|
|
239
239
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -245,7 +245,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
245
245
|
key: string;
|
|
246
246
|
}>, z.ZodObject<{
|
|
247
247
|
type: z.ZodLiteral<"increment">;
|
|
248
|
-
key: z.ZodString
|
|
248
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
249
249
|
value: z.ZodNumber;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
251
|
value: number;
|
|
@@ -267,7 +267,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
267
267
|
type: "update";
|
|
268
268
|
}>, z.ZodObject<{
|
|
269
269
|
type: z.ZodLiteral<"set">;
|
|
270
|
-
key: z.ZodString
|
|
270
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
271
271
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
273
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -279,7 +279,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
279
279
|
key: string;
|
|
280
280
|
}>, z.ZodObject<{
|
|
281
281
|
type: z.ZodLiteral<"delete">;
|
|
282
|
-
key: z.ZodString
|
|
282
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
283
283
|
}, "strip", z.ZodTypeAny, {
|
|
284
284
|
type: "delete";
|
|
285
285
|
key: string;
|
|
@@ -288,7 +288,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
288
288
|
key: string;
|
|
289
289
|
}>, z.ZodObject<{
|
|
290
290
|
type: z.ZodLiteral<"append">;
|
|
291
|
-
key: z.ZodString
|
|
291
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
292
292
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
|
294
294
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -300,7 +300,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
300
300
|
key: string;
|
|
301
301
|
}>, z.ZodObject<{
|
|
302
302
|
type: z.ZodLiteral<"remove">;
|
|
303
|
-
key: z.ZodString
|
|
303
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
304
304
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
305
305
|
}, "strip", z.ZodTypeAny, {
|
|
306
306
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -312,7 +312,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
312
312
|
key: string;
|
|
313
313
|
}>, z.ZodObject<{
|
|
314
314
|
type: z.ZodLiteral<"increment">;
|
|
315
|
-
key: z.ZodString
|
|
315
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
316
316
|
value: z.ZodNumber;
|
|
317
317
|
}, "strip", z.ZodTypeAny, {
|
|
318
318
|
value: number;
|
|
@@ -733,7 +733,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
733
733
|
type: "update";
|
|
734
734
|
}>, z.ZodObject<{
|
|
735
735
|
type: z.ZodLiteral<"set">;
|
|
736
|
-
key: z.ZodString
|
|
736
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
737
737
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
738
738
|
}, "strip", z.ZodTypeAny, {
|
|
739
739
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -745,7 +745,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
745
745
|
key: string;
|
|
746
746
|
}>, z.ZodObject<{
|
|
747
747
|
type: z.ZodLiteral<"delete">;
|
|
748
|
-
key: z.ZodString
|
|
748
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
749
749
|
}, "strip", z.ZodTypeAny, {
|
|
750
750
|
type: "delete";
|
|
751
751
|
key: string;
|
|
@@ -754,7 +754,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
754
754
|
key: string;
|
|
755
755
|
}>, z.ZodObject<{
|
|
756
756
|
type: z.ZodLiteral<"append">;
|
|
757
|
-
key: z.ZodString
|
|
757
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
758
758
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
759
759
|
}, "strip", z.ZodTypeAny, {
|
|
760
760
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -766,7 +766,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
766
766
|
key: string;
|
|
767
767
|
}>, z.ZodObject<{
|
|
768
768
|
type: z.ZodLiteral<"remove">;
|
|
769
|
-
key: z.ZodString
|
|
769
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
770
770
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
771
771
|
}, "strip", z.ZodTypeAny, {
|
|
772
772
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -778,7 +778,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
778
778
|
key: string;
|
|
779
779
|
}>, z.ZodObject<{
|
|
780
780
|
type: z.ZodLiteral<"increment">;
|
|
781
|
-
key: z.ZodString
|
|
781
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
782
782
|
value: z.ZodNumber;
|
|
783
783
|
}, "strip", z.ZodTypeAny, {
|
|
784
784
|
value: number;
|
|
@@ -800,7 +800,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
800
800
|
type: "update";
|
|
801
801
|
}>, z.ZodObject<{
|
|
802
802
|
type: z.ZodLiteral<"set">;
|
|
803
|
-
key: z.ZodString
|
|
803
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
804
804
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
805
805
|
}, "strip", z.ZodTypeAny, {
|
|
806
806
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -812,7 +812,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
812
812
|
key: string;
|
|
813
813
|
}>, z.ZodObject<{
|
|
814
814
|
type: z.ZodLiteral<"delete">;
|
|
815
|
-
key: z.ZodString
|
|
815
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
816
816
|
}, "strip", z.ZodTypeAny, {
|
|
817
817
|
type: "delete";
|
|
818
818
|
key: string;
|
|
@@ -821,7 +821,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
821
821
|
key: string;
|
|
822
822
|
}>, z.ZodObject<{
|
|
823
823
|
type: z.ZodLiteral<"append">;
|
|
824
|
-
key: z.ZodString
|
|
824
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
825
825
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
826
826
|
}, "strip", z.ZodTypeAny, {
|
|
827
827
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -833,7 +833,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
833
833
|
key: string;
|
|
834
834
|
}>, z.ZodObject<{
|
|
835
835
|
type: z.ZodLiteral<"remove">;
|
|
836
|
-
key: z.ZodString
|
|
836
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
837
837
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
838
838
|
}, "strip", z.ZodTypeAny, {
|
|
839
839
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -845,7 +845,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
845
845
|
key: string;
|
|
846
846
|
}>, z.ZodObject<{
|
|
847
847
|
type: z.ZodLiteral<"increment">;
|
|
848
|
-
key: z.ZodString
|
|
848
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
849
849
|
value: z.ZodNumber;
|
|
850
850
|
}, "strip", z.ZodTypeAny, {
|
|
851
851
|
value: number;
|
|
@@ -867,7 +867,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
867
867
|
type: "update";
|
|
868
868
|
}>, z.ZodObject<{
|
|
869
869
|
type: z.ZodLiteral<"set">;
|
|
870
|
-
key: z.ZodString
|
|
870
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
871
871
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
872
872
|
}, "strip", z.ZodTypeAny, {
|
|
873
873
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -879,7 +879,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
879
879
|
key: string;
|
|
880
880
|
}>, z.ZodObject<{
|
|
881
881
|
type: z.ZodLiteral<"delete">;
|
|
882
|
-
key: z.ZodString
|
|
882
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
883
883
|
}, "strip", z.ZodTypeAny, {
|
|
884
884
|
type: "delete";
|
|
885
885
|
key: string;
|
|
@@ -888,7 +888,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
888
888
|
key: string;
|
|
889
889
|
}>, z.ZodObject<{
|
|
890
890
|
type: z.ZodLiteral<"append">;
|
|
891
|
-
key: z.ZodString
|
|
891
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
892
892
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
893
893
|
}, "strip", z.ZodTypeAny, {
|
|
894
894
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -900,7 +900,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
900
900
|
key: string;
|
|
901
901
|
}>, z.ZodObject<{
|
|
902
902
|
type: z.ZodLiteral<"remove">;
|
|
903
|
-
key: z.ZodString
|
|
903
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
904
904
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
905
905
|
}, "strip", z.ZodTypeAny, {
|
|
906
906
|
value: import("../../../index.js").DeserializedJson;
|
|
@@ -912,7 +912,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
912
912
|
key: string;
|
|
913
913
|
}>, z.ZodObject<{
|
|
914
914
|
type: z.ZodLiteral<"increment">;
|
|
915
|
-
key: z.ZodString
|
|
915
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
916
916
|
value: z.ZodNumber;
|
|
917
917
|
}, "strip", z.ZodTypeAny, {
|
|
918
918
|
value: number;
|
|
@@ -3191,14 +3191,17 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3191
3191
|
id: z.ZodString;
|
|
3192
3192
|
friendlyId: z.ZodString;
|
|
3193
3193
|
version: z.ZodString;
|
|
3194
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
3194
3195
|
}, "strip", z.ZodTypeAny, {
|
|
3195
3196
|
id: string;
|
|
3196
3197
|
version: string;
|
|
3197
3198
|
friendlyId: string;
|
|
3199
|
+
runtime?: string | undefined;
|
|
3198
3200
|
}, {
|
|
3199
3201
|
id: string;
|
|
3200
3202
|
version: string;
|
|
3201
3203
|
friendlyId: string;
|
|
3204
|
+
runtime?: string | undefined;
|
|
3202
3205
|
}>;
|
|
3203
3206
|
deployment: z.ZodObject<{
|
|
3204
3207
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -3412,6 +3415,7 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3412
3415
|
id: string;
|
|
3413
3416
|
version: string;
|
|
3414
3417
|
friendlyId: string;
|
|
3418
|
+
runtime?: string | undefined;
|
|
3415
3419
|
};
|
|
3416
3420
|
checkpoint?: {
|
|
3417
3421
|
type: import("../../index.js").CheckpointTypeEnum;
|
|
@@ -3502,6 +3506,7 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3502
3506
|
id: string;
|
|
3503
3507
|
version: string;
|
|
3504
3508
|
friendlyId: string;
|
|
3509
|
+
runtime?: string | undefined;
|
|
3505
3510
|
};
|
|
3506
3511
|
checkpoint?: {
|
|
3507
3512
|
type: import("../../index.js").CheckpointTypeEnum;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type RunMetadataChangeOperation } from "../schemas/common.js";
|
|
2
2
|
export type ApplyOperationResult = {
|
|
3
3
|
newMetadata: Record<string, unknown>;
|
|
4
4
|
unappliedOperations: RunMetadataChangeOperation[];
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { JSONHeroPath } from "@jsonhero/path";
|
|
2
|
+
import { isSafeMetadataKey } from "../schemas/common.js";
|
|
2
3
|
import { dequal } from "dequal";
|
|
3
4
|
export function applyMetadataOperations(currentMetadata, operations) {
|
|
4
5
|
const unappliedOperations = [];
|
|
5
6
|
// Start with a mutable copy of the current metadata
|
|
6
7
|
let newMetadata = structuredClone(currentMetadata);
|
|
7
8
|
for (const operation of Array.isArray(operations) ? operations : [operations]) {
|
|
9
|
+
// Prevent unsafe JSON paths and direct __proto__ assignments from changing Object.prototype.
|
|
10
|
+
// ("update" carries no key.)
|
|
11
|
+
if (operation.type !== "update" && !isSafeMetadataKey(operation.key)) {
|
|
12
|
+
unappliedOperations.push(operation);
|
|
13
|
+
continue;
|
|
14
|
+
}
|
|
8
15
|
switch (operation.type) {
|
|
9
16
|
case "set": {
|
|
10
17
|
if (operation.key.startsWith("$.")) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/v3/runMetadata/operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/v3/runMetadata/operations.ts"],"names":[],"mappings":"AAAA,O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AC,CAAC,CAAc,CAAC;gBAClC,CAAC,EAAE,CAAC;YACN,CAAC;YACD,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACrB,CAAC,GAAG,CAAC,CAAC;YACN,SAAS;QACX,CAAC;QAED,+DAA+D;QAC/D,IAAI,EAAE,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;YACzB,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACd,OACE,CAAC,GAAG,UAAU,CAAC,MAAM;gBACrB,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,KAAK,QAAQ;gBAC/B,UAAU,CAAC,CAAC,CAAe,EAAE,GAAG,KAAK,EAAE,CAAC,GAAG,EAC5C,CAAC;gBACD,CAAC,EAAE,CAAC;YACN,CAAC;YACD,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YACnB,CAAC,GAAG,CAAC,CAAC;YACN,SAAS;QACX,CAAC;QAED,oFAAoF;QACpF,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACnB,CAAC,EAAE,CAAC;IACN,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -43,6 +43,7 @@ export declare const GetProjectResponseBody: z.ZodObject<{
|
|
|
43
43
|
name: z.ZodString;
|
|
44
44
|
slug: z.ZodString;
|
|
45
45
|
createdAt: z.ZodDate;
|
|
46
|
+
defaultRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
47
|
organization: z.ZodObject<{
|
|
47
48
|
id: z.ZodString;
|
|
48
49
|
title: z.ZodString;
|
|
@@ -71,6 +72,7 @@ export declare const GetProjectResponseBody: z.ZodObject<{
|
|
|
71
72
|
title: string;
|
|
72
73
|
};
|
|
73
74
|
externalRef: string;
|
|
75
|
+
defaultRegion?: string | null | undefined;
|
|
74
76
|
}, {
|
|
75
77
|
name: string;
|
|
76
78
|
id: string;
|
|
@@ -83,6 +85,7 @@ export declare const GetProjectResponseBody: z.ZodObject<{
|
|
|
83
85
|
title: string;
|
|
84
86
|
};
|
|
85
87
|
externalRef: string;
|
|
88
|
+
defaultRegion?: string | null | undefined;
|
|
86
89
|
}>;
|
|
87
90
|
export type GetProjectResponseBody = z.infer<typeof GetProjectResponseBody>;
|
|
88
91
|
export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
|
|
@@ -91,6 +94,7 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
91
94
|
name: z.ZodString;
|
|
92
95
|
slug: z.ZodString;
|
|
93
96
|
createdAt: z.ZodDate;
|
|
97
|
+
defaultRegion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
98
|
organization: z.ZodObject<{
|
|
95
99
|
id: z.ZodString;
|
|
96
100
|
title: z.ZodString;
|
|
@@ -119,6 +123,7 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
119
123
|
title: string;
|
|
120
124
|
};
|
|
121
125
|
externalRef: string;
|
|
126
|
+
defaultRegion?: string | null | undefined;
|
|
122
127
|
}, {
|
|
123
128
|
name: string;
|
|
124
129
|
id: string;
|
|
@@ -131,6 +136,7 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
131
136
|
title: string;
|
|
132
137
|
};
|
|
133
138
|
externalRef: string;
|
|
139
|
+
defaultRegion?: string | null | undefined;
|
|
134
140
|
}>, "many">;
|
|
135
141
|
export type GetProjectsResponseBody = z.infer<typeof GetProjectsResponseBody>;
|
|
136
142
|
export declare const GetOrgsResponseBody: z.ZodArray<z.ZodObject<{
|
|
@@ -150,6 +156,37 @@ export declare const GetOrgsResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
150
156
|
title: string;
|
|
151
157
|
}>, "many">;
|
|
152
158
|
export type GetOrgsResponseBody = z.infer<typeof GetOrgsResponseBody>;
|
|
159
|
+
export declare const CreateOrgRequestBody: z.ZodObject<{
|
|
160
|
+
title: z.ZodString;
|
|
161
|
+
companySize: z.ZodOptional<z.ZodString>;
|
|
162
|
+
companyUrl: z.ZodOptional<z.ZodString>;
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
title: string;
|
|
165
|
+
companySize?: string | undefined;
|
|
166
|
+
companyUrl?: string | undefined;
|
|
167
|
+
}, {
|
|
168
|
+
title: string;
|
|
169
|
+
companySize?: string | undefined;
|
|
170
|
+
companyUrl?: string | undefined;
|
|
171
|
+
}>;
|
|
172
|
+
export type CreateOrgRequestBody = z.infer<typeof CreateOrgRequestBody>;
|
|
173
|
+
export declare const CreateOrgResponseBody: z.ZodObject<{
|
|
174
|
+
id: z.ZodString;
|
|
175
|
+
title: z.ZodString;
|
|
176
|
+
slug: z.ZodString;
|
|
177
|
+
createdAt: z.ZodDate;
|
|
178
|
+
}, "strip", z.ZodTypeAny, {
|
|
179
|
+
id: string;
|
|
180
|
+
createdAt: Date;
|
|
181
|
+
slug: string;
|
|
182
|
+
title: string;
|
|
183
|
+
}, {
|
|
184
|
+
id: string;
|
|
185
|
+
createdAt: Date;
|
|
186
|
+
slug: string;
|
|
187
|
+
title: string;
|
|
188
|
+
}>;
|
|
189
|
+
export type CreateOrgResponseBody = z.infer<typeof CreateOrgResponseBody>;
|
|
153
190
|
export declare const CreateProjectRequestBody: z.ZodObject<{
|
|
154
191
|
name: z.ZodString;
|
|
155
192
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4446,14 +4483,17 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
4446
4483
|
id: z.ZodString;
|
|
4447
4484
|
friendlyId: z.ZodString;
|
|
4448
4485
|
version: z.ZodString;
|
|
4486
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
4449
4487
|
}, "strip", z.ZodTypeAny, {
|
|
4450
4488
|
id: string;
|
|
4451
4489
|
version: string;
|
|
4452
4490
|
friendlyId: string;
|
|
4491
|
+
runtime?: string | undefined;
|
|
4453
4492
|
}, {
|
|
4454
4493
|
id: string;
|
|
4455
4494
|
version: string;
|
|
4456
4495
|
friendlyId: string;
|
|
4496
|
+
runtime?: string | undefined;
|
|
4457
4497
|
}>;
|
|
4458
4498
|
deployment: z.ZodObject<{
|
|
4459
4499
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -4667,6 +4707,7 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
4667
4707
|
id: string;
|
|
4668
4708
|
version: string;
|
|
4669
4709
|
friendlyId: string;
|
|
4710
|
+
runtime?: string | undefined;
|
|
4670
4711
|
};
|
|
4671
4712
|
checkpoint?: {
|
|
4672
4713
|
type: import("./runEngine.js").CheckpointTypeEnum;
|
|
@@ -4757,6 +4798,7 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
4757
4798
|
id: string;
|
|
4758
4799
|
version: string;
|
|
4759
4800
|
friendlyId: string;
|
|
4801
|
+
runtime?: string | undefined;
|
|
4760
4802
|
};
|
|
4761
4803
|
checkpoint?: {
|
|
4762
4804
|
type: import("./runEngine.js").CheckpointTypeEnum;
|
|
@@ -4849,6 +4891,7 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
4849
4891
|
id: string;
|
|
4850
4892
|
version: string;
|
|
4851
4893
|
friendlyId: string;
|
|
4894
|
+
runtime?: string | undefined;
|
|
4852
4895
|
};
|
|
4853
4896
|
checkpoint?: {
|
|
4854
4897
|
type: import("./runEngine.js").CheckpointTypeEnum;
|
|
@@ -4941,6 +4984,7 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
4941
4984
|
id: string;
|
|
4942
4985
|
version: string;
|
|
4943
4986
|
friendlyId: string;
|
|
4987
|
+
runtime?: string | undefined;
|
|
4944
4988
|
};
|
|
4945
4989
|
checkpoint?: {
|
|
4946
4990
|
type: import("./runEngine.js").CheckpointTypeEnum;
|
|
@@ -7368,12 +7412,15 @@ export type ListBulkActionsResponseBody = z.infer<typeof ListBulkActionsResponse
|
|
|
7368
7412
|
export declare const CreateEnvironmentVariableRequestBody: z.ZodObject<{
|
|
7369
7413
|
name: z.ZodString;
|
|
7370
7414
|
value: z.ZodString;
|
|
7415
|
+
isSecret: z.ZodOptional<z.ZodBoolean>;
|
|
7371
7416
|
}, "strip", z.ZodTypeAny, {
|
|
7372
7417
|
value: string;
|
|
7373
7418
|
name: string;
|
|
7419
|
+
isSecret?: boolean | undefined;
|
|
7374
7420
|
}, {
|
|
7375
7421
|
value: string;
|
|
7376
7422
|
name: string;
|
|
7423
|
+
isSecret?: boolean | undefined;
|
|
7377
7424
|
}>;
|
|
7378
7425
|
export type CreateEnvironmentVariableRequestBody = z.infer<typeof CreateEnvironmentVariableRequestBody>;
|
|
7379
7426
|
export declare const UpdateEnvironmentVariableRequestBody: z.ZodObject<{
|
|
@@ -7418,8 +7465,8 @@ export declare const ImportEnvironmentVariablesRequestBody: z.ZodObject<{
|
|
|
7418
7465
|
integration: string;
|
|
7419
7466
|
} | undefined;
|
|
7420
7467
|
override?: boolean | undefined;
|
|
7421
|
-
parentVariables?: Record<string, string> | undefined;
|
|
7422
7468
|
isSecret?: boolean | undefined;
|
|
7469
|
+
parentVariables?: Record<string, string> | undefined;
|
|
7423
7470
|
}, {
|
|
7424
7471
|
variables: Record<string, string>;
|
|
7425
7472
|
source?: {
|
|
@@ -7430,8 +7477,8 @@ export declare const ImportEnvironmentVariablesRequestBody: z.ZodObject<{
|
|
|
7430
7477
|
integration: string;
|
|
7431
7478
|
} | undefined;
|
|
7432
7479
|
override?: boolean | undefined;
|
|
7433
|
-
parentVariables?: Record<string, string> | undefined;
|
|
7434
7480
|
isSecret?: boolean | undefined;
|
|
7481
|
+
parentVariables?: Record<string, string> | undefined;
|
|
7435
7482
|
}>;
|
|
7436
7483
|
export type ImportEnvironmentVariablesRequestBody = z.infer<typeof ImportEnvironmentVariablesRequestBody>;
|
|
7437
7484
|
export declare const EnvironmentVariableResponseBody: z.ZodObject<{
|
|
@@ -7507,7 +7554,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7507
7554
|
type: "update";
|
|
7508
7555
|
}>, z.ZodObject<{
|
|
7509
7556
|
type: z.ZodLiteral<"set">;
|
|
7510
|
-
key: z.ZodString
|
|
7557
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7511
7558
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7512
7559
|
}, "strip", z.ZodTypeAny, {
|
|
7513
7560
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7519,7 +7566,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7519
7566
|
key: string;
|
|
7520
7567
|
}>, z.ZodObject<{
|
|
7521
7568
|
type: z.ZodLiteral<"delete">;
|
|
7522
|
-
key: z.ZodString
|
|
7569
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7523
7570
|
}, "strip", z.ZodTypeAny, {
|
|
7524
7571
|
type: "delete";
|
|
7525
7572
|
key: string;
|
|
@@ -7528,7 +7575,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7528
7575
|
key: string;
|
|
7529
7576
|
}>, z.ZodObject<{
|
|
7530
7577
|
type: z.ZodLiteral<"append">;
|
|
7531
|
-
key: z.ZodString
|
|
7578
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7532
7579
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7533
7580
|
}, "strip", z.ZodTypeAny, {
|
|
7534
7581
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7540,7 +7587,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7540
7587
|
key: string;
|
|
7541
7588
|
}>, z.ZodObject<{
|
|
7542
7589
|
type: z.ZodLiteral<"remove">;
|
|
7543
|
-
key: z.ZodString
|
|
7590
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7544
7591
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7545
7592
|
}, "strip", z.ZodTypeAny, {
|
|
7546
7593
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7552,7 +7599,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7552
7599
|
key: string;
|
|
7553
7600
|
}>, z.ZodObject<{
|
|
7554
7601
|
type: z.ZodLiteral<"increment">;
|
|
7555
|
-
key: z.ZodString
|
|
7602
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7556
7603
|
value: z.ZodNumber;
|
|
7557
7604
|
}, "strip", z.ZodTypeAny, {
|
|
7558
7605
|
value: number;
|
|
@@ -7574,7 +7621,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7574
7621
|
type: "update";
|
|
7575
7622
|
}>, z.ZodObject<{
|
|
7576
7623
|
type: z.ZodLiteral<"set">;
|
|
7577
|
-
key: z.ZodString
|
|
7624
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7578
7625
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7579
7626
|
}, "strip", z.ZodTypeAny, {
|
|
7580
7627
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7586,7 +7633,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7586
7633
|
key: string;
|
|
7587
7634
|
}>, z.ZodObject<{
|
|
7588
7635
|
type: z.ZodLiteral<"delete">;
|
|
7589
|
-
key: z.ZodString
|
|
7636
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7590
7637
|
}, "strip", z.ZodTypeAny, {
|
|
7591
7638
|
type: "delete";
|
|
7592
7639
|
key: string;
|
|
@@ -7595,7 +7642,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7595
7642
|
key: string;
|
|
7596
7643
|
}>, z.ZodObject<{
|
|
7597
7644
|
type: z.ZodLiteral<"append">;
|
|
7598
|
-
key: z.ZodString
|
|
7645
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7599
7646
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7600
7647
|
}, "strip", z.ZodTypeAny, {
|
|
7601
7648
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7607,7 +7654,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7607
7654
|
key: string;
|
|
7608
7655
|
}>, z.ZodObject<{
|
|
7609
7656
|
type: z.ZodLiteral<"remove">;
|
|
7610
|
-
key: z.ZodString
|
|
7657
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7611
7658
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7612
7659
|
}, "strip", z.ZodTypeAny, {
|
|
7613
7660
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7619,7 +7666,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7619
7666
|
key: string;
|
|
7620
7667
|
}>, z.ZodObject<{
|
|
7621
7668
|
type: z.ZodLiteral<"increment">;
|
|
7622
|
-
key: z.ZodString
|
|
7669
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7623
7670
|
value: z.ZodNumber;
|
|
7624
7671
|
}, "strip", z.ZodTypeAny, {
|
|
7625
7672
|
value: number;
|
|
@@ -7641,7 +7688,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7641
7688
|
type: "update";
|
|
7642
7689
|
}>, z.ZodObject<{
|
|
7643
7690
|
type: z.ZodLiteral<"set">;
|
|
7644
|
-
key: z.ZodString
|
|
7691
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7645
7692
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7646
7693
|
}, "strip", z.ZodTypeAny, {
|
|
7647
7694
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7653,7 +7700,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7653
7700
|
key: string;
|
|
7654
7701
|
}>, z.ZodObject<{
|
|
7655
7702
|
type: z.ZodLiteral<"delete">;
|
|
7656
|
-
key: z.ZodString
|
|
7703
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7657
7704
|
}, "strip", z.ZodTypeAny, {
|
|
7658
7705
|
type: "delete";
|
|
7659
7706
|
key: string;
|
|
@@ -7662,7 +7709,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7662
7709
|
key: string;
|
|
7663
7710
|
}>, z.ZodObject<{
|
|
7664
7711
|
type: z.ZodLiteral<"append">;
|
|
7665
|
-
key: z.ZodString
|
|
7712
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7666
7713
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7667
7714
|
}, "strip", z.ZodTypeAny, {
|
|
7668
7715
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7674,7 +7721,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7674
7721
|
key: string;
|
|
7675
7722
|
}>, z.ZodObject<{
|
|
7676
7723
|
type: z.ZodLiteral<"remove">;
|
|
7677
|
-
key: z.ZodString
|
|
7724
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7678
7725
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7679
7726
|
}, "strip", z.ZodTypeAny, {
|
|
7680
7727
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7686,7 +7733,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7686
7733
|
key: string;
|
|
7687
7734
|
}>, z.ZodObject<{
|
|
7688
7735
|
type: z.ZodLiteral<"increment">;
|
|
7689
|
-
key: z.ZodString
|
|
7736
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7690
7737
|
value: z.ZodNumber;
|
|
7691
7738
|
}, "strip", z.ZodTypeAny, {
|
|
7692
7739
|
value: number;
|