@trigger.dev/core 4.5.5 → 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/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 +6 -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 +30 -30
- package/dist/commonjs/v3/runEngineWorker/types.d.ts +1 -0
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +30 -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 +15 -15
- 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 +30 -30
- 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/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 +6 -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 +30 -30
- package/dist/esm/v3/runEngineWorker/types.d.ts +1 -0
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +30 -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 +15 -15
- 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 +30 -30
- 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;
|
|
@@ -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[];
|
|
@@ -3,12 +3,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.applyMetadataOperations = applyMetadataOperations;
|
|
4
4
|
exports.collapseOperations = collapseOperations;
|
|
5
5
|
const path_1 = require("@jsonhero/path");
|
|
6
|
+
const common_js_1 = require("../schemas/common.js");
|
|
6
7
|
const dequal_1 = require("dequal");
|
|
7
8
|
function applyMetadataOperations(currentMetadata, operations) {
|
|
8
9
|
const unappliedOperations = [];
|
|
9
10
|
// Start with a mutable copy of the current metadata
|
|
10
11
|
let newMetadata = structuredClone(currentMetadata);
|
|
11
12
|
for (const operation of Array.isArray(operations) ? operations : [operations]) {
|
|
13
|
+
// Prevent unsafe JSON paths and direct __proto__ assignments from changing Object.prototype.
|
|
14
|
+
// ("update" carries no key.)
|
|
15
|
+
if (operation.type !== "update" && !(0, common_js_1.isSafeMetadataKey)(operation.key)) {
|
|
16
|
+
unappliedOperations.push(operation);
|
|
17
|
+
continue;
|
|
18
|
+
}
|
|
12
19
|
switch (operation.type) {
|
|
13
20
|
case "set": {
|
|
14
21
|
if (operation.key.startsWith("$.")) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/v3/runMetadata/operations.ts"],"names":[],"mappings":";;AASA,
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/v3/runMetadata/operations.ts"],"names":[],"mappings":";;AASA,0DA+HC;AAuCD,gDAuEC;AAtPD,yCAA8C;AAC9C,oDAA0F;AAC1F,mCAAgC;AAOhC,SAAgB,uBAAuB,CACrC,eAAwC,EACxC,UAAqE;IAErE,MAAM,mBAAmB,GAAiC,EAAE,CAAC;IAC7D,oDAAoD;IACpD,IAAI,WAAW,GAA4B,eAAe,CAAC,eAAe,CAAC,CAAC;IAE5E,KAAK,MAAM,SAAS,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,CAAC;QAC9E,6FAA6F;QAC7F,6BAA6B;QAC7B,IAAI,SAAS,CAAC,IAAI,KAAK,QAAQ,IAAI,CAAC,IAAA,6BAAiB,EAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;YACrE,mBAAmB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACpC,SAAS;QACX,CAAC;QAED,QAAQ,SAAS,CAAC,IAAI,EAAE,CAAC;YACvB,KAAK,KAAK,CAAC,CAAC,CAAC;gBACX,IAAI,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;oBACnC,MAAM,IAAI,GAAG,IAAI,mBAAY,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;oBAC7C,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;gBACzC,CAAC;qBAAM,CAAC;oBACN,yBAAyB;oBACzB,WAAW,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC;gBAC/C,CAAC;gBAED,M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CAAC,CAAC,EAAE,IAAI,KAAK,KAAK;gBAC5B,UAAU,CAAC,CAAC,CAAe,EAAE,GAAG,KAAK,EAAE,CAAC,GAAG,EAC5C,CAAC;gBACD,IAAI,GAAG,UAAU,CAAC,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"}
|
|
@@ -7554,7 +7554,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7554
7554
|
type: "update";
|
|
7555
7555
|
}>, z.ZodObject<{
|
|
7556
7556
|
type: z.ZodLiteral<"set">;
|
|
7557
|
-
key: z.ZodString
|
|
7557
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7558
7558
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7559
7559
|
}, "strip", z.ZodTypeAny, {
|
|
7560
7560
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7566,7 +7566,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7566
7566
|
key: string;
|
|
7567
7567
|
}>, z.ZodObject<{
|
|
7568
7568
|
type: z.ZodLiteral<"delete">;
|
|
7569
|
-
key: z.ZodString
|
|
7569
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7570
7570
|
}, "strip", z.ZodTypeAny, {
|
|
7571
7571
|
type: "delete";
|
|
7572
7572
|
key: string;
|
|
@@ -7575,7 +7575,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7575
7575
|
key: string;
|
|
7576
7576
|
}>, z.ZodObject<{
|
|
7577
7577
|
type: z.ZodLiteral<"append">;
|
|
7578
|
-
key: z.ZodString
|
|
7578
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7579
7579
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7580
7580
|
}, "strip", z.ZodTypeAny, {
|
|
7581
7581
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7587,7 +7587,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7587
7587
|
key: string;
|
|
7588
7588
|
}>, z.ZodObject<{
|
|
7589
7589
|
type: z.ZodLiteral<"remove">;
|
|
7590
|
-
key: z.ZodString
|
|
7590
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7591
7591
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7592
7592
|
}, "strip", z.ZodTypeAny, {
|
|
7593
7593
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7599,7 +7599,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7599
7599
|
key: string;
|
|
7600
7600
|
}>, z.ZodObject<{
|
|
7601
7601
|
type: z.ZodLiteral<"increment">;
|
|
7602
|
-
key: z.ZodString
|
|
7602
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7603
7603
|
value: z.ZodNumber;
|
|
7604
7604
|
}, "strip", z.ZodTypeAny, {
|
|
7605
7605
|
value: number;
|
|
@@ -7621,7 +7621,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7621
7621
|
type: "update";
|
|
7622
7622
|
}>, z.ZodObject<{
|
|
7623
7623
|
type: z.ZodLiteral<"set">;
|
|
7624
|
-
key: z.ZodString
|
|
7624
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7625
7625
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7626
7626
|
}, "strip", z.ZodTypeAny, {
|
|
7627
7627
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7633,7 +7633,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7633
7633
|
key: string;
|
|
7634
7634
|
}>, z.ZodObject<{
|
|
7635
7635
|
type: z.ZodLiteral<"delete">;
|
|
7636
|
-
key: z.ZodString
|
|
7636
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7637
7637
|
}, "strip", z.ZodTypeAny, {
|
|
7638
7638
|
type: "delete";
|
|
7639
7639
|
key: string;
|
|
@@ -7642,7 +7642,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7642
7642
|
key: string;
|
|
7643
7643
|
}>, z.ZodObject<{
|
|
7644
7644
|
type: z.ZodLiteral<"append">;
|
|
7645
|
-
key: z.ZodString
|
|
7645
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7646
7646
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7647
7647
|
}, "strip", z.ZodTypeAny, {
|
|
7648
7648
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7654,7 +7654,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7654
7654
|
key: string;
|
|
7655
7655
|
}>, z.ZodObject<{
|
|
7656
7656
|
type: z.ZodLiteral<"remove">;
|
|
7657
|
-
key: z.ZodString
|
|
7657
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7658
7658
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7659
7659
|
}, "strip", z.ZodTypeAny, {
|
|
7660
7660
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7666,7 +7666,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7666
7666
|
key: string;
|
|
7667
7667
|
}>, z.ZodObject<{
|
|
7668
7668
|
type: z.ZodLiteral<"increment">;
|
|
7669
|
-
key: z.ZodString
|
|
7669
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7670
7670
|
value: z.ZodNumber;
|
|
7671
7671
|
}, "strip", z.ZodTypeAny, {
|
|
7672
7672
|
value: number;
|
|
@@ -7688,7 +7688,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7688
7688
|
type: "update";
|
|
7689
7689
|
}>, z.ZodObject<{
|
|
7690
7690
|
type: z.ZodLiteral<"set">;
|
|
7691
|
-
key: z.ZodString
|
|
7691
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7692
7692
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7693
7693
|
}, "strip", z.ZodTypeAny, {
|
|
7694
7694
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7700,7 +7700,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7700
7700
|
key: string;
|
|
7701
7701
|
}>, z.ZodObject<{
|
|
7702
7702
|
type: z.ZodLiteral<"delete">;
|
|
7703
|
-
key: z.ZodString
|
|
7703
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7704
7704
|
}, "strip", z.ZodTypeAny, {
|
|
7705
7705
|
type: "delete";
|
|
7706
7706
|
key: string;
|
|
@@ -7709,7 +7709,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7709
7709
|
key: string;
|
|
7710
7710
|
}>, z.ZodObject<{
|
|
7711
7711
|
type: z.ZodLiteral<"append">;
|
|
7712
|
-
key: z.ZodString
|
|
7712
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7713
7713
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7714
7714
|
}, "strip", z.ZodTypeAny, {
|
|
7715
7715
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7721,7 +7721,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7721
7721
|
key: string;
|
|
7722
7722
|
}>, z.ZodObject<{
|
|
7723
7723
|
type: z.ZodLiteral<"remove">;
|
|
7724
|
-
key: z.ZodString
|
|
7724
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7725
7725
|
value: z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>;
|
|
7726
7726
|
}, "strip", z.ZodTypeAny, {
|
|
7727
7727
|
value: import("../../schemas/json.js").DeserializedJson;
|
|
@@ -7733,7 +7733,7 @@ export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
|
7733
7733
|
key: string;
|
|
7734
7734
|
}>, z.ZodObject<{
|
|
7735
7735
|
type: z.ZodLiteral<"increment">;
|
|
7736
|
-
key: z.ZodString
|
|
7736
|
+
key: z.ZodEffects<z.ZodString, string, string>;
|
|
7737
7737
|
value: z.ZodNumber;
|
|
7738
7738
|
}, "strip", z.ZodTypeAny, {
|
|
7739
7739
|
value: number;
|