@trigger.dev/sdk 3.2.0 → 3.2.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/commonjs/apiClient.d.ts +53 -63
- package/dist/commonjs/io.d.ts +7 -19
- package/dist/commonjs/status.d.ts +1 -1
- package/dist/commonjs/triggerClient.d.ts +11 -21
- package/dist/commonjs/triggers/scheduled.d.ts +2 -2
- package/dist/commonjs/types.d.ts +2 -2
- package/dist/commonjs/v3/auth.d.ts +1 -1
- package/dist/commonjs/v3/auth.js +3 -0
- package/dist/commonjs/v3/auth.js.map +1 -1
- package/dist/commonjs/v3/idempotencyKeys.d.ts +1 -40
- package/dist/commonjs/v3/idempotencyKeys.js +1 -69
- package/dist/commonjs/v3/idempotencyKeys.js.map +1 -1
- package/dist/commonjs/v3/index.d.ts +3 -1
- package/dist/commonjs/v3/index.js +2 -0
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/metadata.d.ts +55 -0
- package/dist/commonjs/v3/metadata.js +65 -0
- package/dist/commonjs/v3/metadata.js.map +1 -1
- package/dist/commonjs/v3/runs.d.ts +11 -11
- package/dist/commonjs/v3/runs.js.map +1 -1
- package/dist/commonjs/v3/shared.d.ts +3 -2
- package/dist/commonjs/v3/shared.js +26 -14
- package/dist/commonjs/v3/shared.js.map +1 -1
- package/dist/commonjs/v3/tasks.d.ts +2 -1
- package/dist/commonjs/v3/tasks.js +2 -1
- package/dist/commonjs/v3/tasks.js.map +1 -1
- package/dist/commonjs/v3/waitUntil.d.ts +9 -0
- package/dist/commonjs/v3/waitUntil.js +16 -0
- package/dist/commonjs/v3/waitUntil.js.map +1 -0
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/apiClient.d.ts +53 -63
- package/dist/esm/io.d.ts +7 -19
- package/dist/esm/status.d.ts +1 -1
- package/dist/esm/triggerClient.d.ts +9 -21
- package/dist/esm/triggers/invokeTrigger.d.ts +1 -1
- package/dist/esm/triggers/scheduled.d.ts +2 -2
- package/dist/esm/types.d.ts +2 -2
- package/dist/esm/v3/auth.d.ts +1 -1
- package/dist/esm/v3/auth.js +3 -0
- package/dist/esm/v3/auth.js.map +1 -1
- package/dist/esm/v3/idempotencyKeys.d.ts +1 -40
- package/dist/esm/v3/idempotencyKeys.js +1 -68
- package/dist/esm/v3/idempotencyKeys.js.map +1 -1
- package/dist/esm/v3/index.d.ts +3 -1
- package/dist/esm/v3/index.js +2 -0
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/esm/v3/metadata.d.ts +55 -0
- package/dist/esm/v3/metadata.js +65 -0
- package/dist/esm/v3/metadata.js.map +1 -1
- package/dist/esm/v3/runs.d.ts +14 -14
- package/dist/esm/v3/runs.js.map +1 -1
- package/dist/esm/v3/shared.d.ts +3 -2
- package/dist/esm/v3/shared.js +26 -15
- package/dist/esm/v3/shared.js.map +1 -1
- package/dist/esm/v3/tasks.d.ts +2 -1
- package/dist/esm/v3/tasks.js +2 -1
- package/dist/esm/v3/tasks.js.map +1 -1
- package/dist/esm/v3/waitUntil.d.ts +9 -0
- package/dist/esm/v3/waitUntil.js +13 -0
- package/dist/esm/v3/waitUntil.js.map +1 -0
- package/dist/esm/version.js +1 -1
- package/package.json +9 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.tasks = exports.schemaTask = exports.task = exports.SubtaskUnwrapError = void 0;
|
|
3
|
+
exports.tasks = exports.toolTask = exports.schemaTask = exports.task = exports.SubtaskUnwrapError = void 0;
|
|
4
4
|
const shared_js_1 = require("./shared.js");
|
|
5
5
|
Object.defineProperty(exports, "SubtaskUnwrapError", { enumerable: true, get: function () { return shared_js_1.SubtaskUnwrapError; } });
|
|
6
6
|
/** Creates a task that can be triggered
|
|
@@ -23,6 +23,7 @@ Object.defineProperty(exports, "SubtaskUnwrapError", { enumerable: true, get: fu
|
|
|
23
23
|
*/
|
|
24
24
|
exports.task = shared_js_1.createTask;
|
|
25
25
|
exports.schemaTask = shared_js_1.createSchemaTask;
|
|
26
|
+
exports.toolTask = shared_js_1.createToolTask;
|
|
26
27
|
exports.tasks = {
|
|
27
28
|
trigger: shared_js_1.trigger,
|
|
28
29
|
triggerAndPoll: shared_js_1.triggerAndPoll,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/v3/tasks.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/v3/tasks.ts"],"names":[],"mappings":";;;AAAA,2CAUqB;AAEZ,mGANP,8BAAkB,OAMO;AAkC3B;;;;;;;;;;;;;;;;;GAiBG;AACU,QAAA,IAAI,GAAG,sBAAU,CAAC;AAElB,QAAA,UAAU,GAAG,4BAAgB,CAAC;AAE9B,QAAA,QAAQ,GAAG,0BAAc,CAAC;AAE1B,QAAA,KAAK,GAAG;IACnB,OAAO,EAAP,mBAAO;IACP,cAAc,EAAd,0BAAc;IACd,YAAY,EAAZ,wBAAY;IACZ,cAAc,EAAd,0BAAc;IACd,mBAAmB,EAAnB,+BAAmB;CACpB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* waitUntil extends the lifetime of a task run until the provided promise settles.
|
|
3
|
+
* You can use this function to ensure that a task run does not complete until the promise resolves or rejects.
|
|
4
|
+
*
|
|
5
|
+
* Useful if you need to make sure something happens but you wait to continue doing other work in the task run.
|
|
6
|
+
*
|
|
7
|
+
* @param promise - The promise to wait for.
|
|
8
|
+
*/
|
|
9
|
+
export declare function waitUntil(promise: Promise<any>): void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.waitUntil = waitUntil;
|
|
4
|
+
const v3_1 = require("@trigger.dev/core/v3");
|
|
5
|
+
/**
|
|
6
|
+
* waitUntil extends the lifetime of a task run until the provided promise settles.
|
|
7
|
+
* You can use this function to ensure that a task run does not complete until the promise resolves or rejects.
|
|
8
|
+
*
|
|
9
|
+
* Useful if you need to make sure something happens but you wait to continue doing other work in the task run.
|
|
10
|
+
*
|
|
11
|
+
* @param promise - The promise to wait for.
|
|
12
|
+
*/
|
|
13
|
+
function waitUntil(promise) {
|
|
14
|
+
return v3_1.waitUntil.register({ promise, requiresResolving: () => true });
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=waitUntil.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"waitUntil.js","sourceRoot":"","sources":["../../../src/v3/waitUntil.ts"],"names":[],"mappings":";;AAUA,8BAEC;AAZD,6CAAmE;AAEnE;;;;;;;GAOG;AACH,SAAgB,SAAS,CAAC,OAAqB;IAC7C,OAAO,cAAc,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC;AAC7E,CAAC"}
|
package/dist/commonjs/version.js
CHANGED
package/dist/esm/apiClient.d.ts
CHANGED
|
@@ -41,28 +41,15 @@ export declare class ApiClient {
|
|
|
41
41
|
cachedTasksCursor?: string;
|
|
42
42
|
}): Promise<VersionedResponseBody<{
|
|
43
43
|
"2023-09-29": z.ZodObject<{
|
|
44
|
-
task: z.ZodObject<{
|
|
45
|
-
name: z.ZodString;
|
|
46
|
-
params: z.ZodNullable<z.ZodOptional<z.ZodType<import("@trigger.dev/core").DeserializedJson, z.ZodTypeDef, import("@trigger.dev/core").DeserializedJson>>>;
|
|
47
|
-
status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
|
|
48
|
-
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
49
|
-
context: z.ZodNullable<z.ZodOptional<z.ZodType<import("@trigger.dev/core").DeserializedJson, z.ZodTypeDef, import("@trigger.dev/core").DeserializedJson>>>;
|
|
44
|
+
task: z.ZodObject<z.objectUtil.extendShape<{
|
|
50
45
|
id: z.ZodString;
|
|
51
|
-
|
|
52
|
-
style: z.ZodEnum<["normal", "minimal"]>;
|
|
53
|
-
variant: z.ZodOptional<z.ZodString>;
|
|
54
|
-
}, "strip", z.ZodTypeAny, {
|
|
55
|
-
style: "normal" | "minimal";
|
|
56
|
-
variant?: string | undefined;
|
|
57
|
-
}, {
|
|
58
|
-
style: "normal" | "minimal";
|
|
59
|
-
variant?: string | undefined;
|
|
60
|
-
}>>>;
|
|
46
|
+
name: z.ZodString;
|
|
61
47
|
icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
62
48
|
noop: z.ZodBoolean;
|
|
63
49
|
startedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
64
50
|
completedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
65
51
|
delayUntil: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
52
|
+
status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
|
|
66
53
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
67
54
|
properties: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
68
55
|
label: z.ZodString;
|
|
@@ -96,15 +83,29 @@ export declare class ApiClient {
|
|
|
96
83
|
url?: string | undefined;
|
|
97
84
|
imageUrl?: string[] | undefined;
|
|
98
85
|
}>, "many">>>;
|
|
86
|
+
params: z.ZodNullable<z.ZodOptional<z.ZodType<import("@trigger.dev/core").DeserializedJson, z.ZodTypeDef, import("@trigger.dev/core").DeserializedJson>>>;
|
|
99
87
|
output: z.ZodNullable<z.ZodOptional<z.ZodType<import("@trigger.dev/core").DeserializedJson, z.ZodTypeDef, import("@trigger.dev/core").DeserializedJson>>>;
|
|
88
|
+
context: z.ZodNullable<z.ZodOptional<z.ZodType<import("@trigger.dev/core").DeserializedJson, z.ZodTypeDef, import("@trigger.dev/core").DeserializedJson>>>;
|
|
89
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
100
90
|
parentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
91
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
92
|
+
style: z.ZodEnum<["normal", "minimal"]>;
|
|
93
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
style: "normal" | "minimal";
|
|
96
|
+
variant?: string | undefined;
|
|
97
|
+
}, {
|
|
98
|
+
style: "normal" | "minimal";
|
|
99
|
+
variant?: string | undefined;
|
|
100
|
+
}>>>;
|
|
101
101
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
102
102
|
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
103
103
|
childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
|
|
104
|
+
}, {
|
|
104
105
|
idempotencyKey: z.ZodString;
|
|
105
106
|
attempts: z.ZodNumber;
|
|
106
107
|
forceYield: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
107
|
-
}
|
|
108
|
+
}>, "strip", z.ZodTypeAny, {
|
|
108
109
|
name: string;
|
|
109
110
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
110
111
|
id: string;
|
|
@@ -112,7 +113,6 @@ export declare class ApiClient {
|
|
|
112
113
|
idempotencyKey: string;
|
|
113
114
|
attempts: number;
|
|
114
115
|
params?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
115
|
-
error?: string | null | undefined;
|
|
116
116
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
117
117
|
style?: {
|
|
118
118
|
style: "normal" | "minimal";
|
|
@@ -136,6 +136,7 @@ export declare class ApiClient {
|
|
|
136
136
|
imageUrl?: string[] | undefined;
|
|
137
137
|
}[] | null | undefined;
|
|
138
138
|
output?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
139
|
+
error?: string | null | undefined;
|
|
139
140
|
parentId?: string | null | undefined;
|
|
140
141
|
operation?: string | null | undefined;
|
|
141
142
|
callbackUrl?: string | null | undefined;
|
|
@@ -149,7 +150,6 @@ export declare class ApiClient {
|
|
|
149
150
|
idempotencyKey: string;
|
|
150
151
|
attempts: number;
|
|
151
152
|
params?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
152
|
-
error?: string | null | undefined;
|
|
153
153
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
154
154
|
style?: {
|
|
155
155
|
style: "normal" | "minimal";
|
|
@@ -173,6 +173,7 @@ export declare class ApiClient {
|
|
|
173
173
|
imageUrl?: string[] | undefined;
|
|
174
174
|
}[] | null | undefined;
|
|
175
175
|
output?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
176
|
+
error?: string | null | undefined;
|
|
176
177
|
parentId?: string | null | undefined;
|
|
177
178
|
operation?: string | null | undefined;
|
|
178
179
|
callbackUrl?: string | null | undefined;
|
|
@@ -233,7 +234,6 @@ export declare class ApiClient {
|
|
|
233
234
|
idempotencyKey: string;
|
|
234
235
|
attempts: number;
|
|
235
236
|
params?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
236
|
-
error?: string | null | undefined;
|
|
237
237
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
238
238
|
style?: {
|
|
239
239
|
style: "normal" | "minimal";
|
|
@@ -257,6 +257,7 @@ export declare class ApiClient {
|
|
|
257
257
|
imageUrl?: string[] | undefined;
|
|
258
258
|
}[] | null | undefined;
|
|
259
259
|
output?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
260
|
+
error?: string | null | undefined;
|
|
260
261
|
parentId?: string | null | undefined;
|
|
261
262
|
operation?: string | null | undefined;
|
|
262
263
|
callbackUrl?: string | null | undefined;
|
|
@@ -283,7 +284,6 @@ export declare class ApiClient {
|
|
|
283
284
|
idempotencyKey: string;
|
|
284
285
|
attempts: number;
|
|
285
286
|
params?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
286
|
-
error?: string | null | undefined;
|
|
287
287
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
288
288
|
style?: {
|
|
289
289
|
style: "normal" | "minimal";
|
|
@@ -307,6 +307,7 @@ export declare class ApiClient {
|
|
|
307
307
|
imageUrl?: string[] | undefined;
|
|
308
308
|
}[] | null | undefined;
|
|
309
309
|
output?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
310
|
+
error?: string | null | undefined;
|
|
310
311
|
parentId?: string | null | undefined;
|
|
311
312
|
operation?: string | null | undefined;
|
|
312
313
|
callbackUrl?: string | null | undefined;
|
|
@@ -325,28 +326,15 @@ export declare class ApiClient {
|
|
|
325
326
|
cursor?: string | undefined;
|
|
326
327
|
} | undefined;
|
|
327
328
|
}>;
|
|
328
|
-
}, z.ZodObject<{
|
|
329
|
-
name: z.ZodString;
|
|
330
|
-
params: z.ZodNullable<z.ZodOptional<z.ZodType<import("@trigger.dev/core").DeserializedJson, z.ZodTypeDef, import("@trigger.dev/core").DeserializedJson>>>;
|
|
331
|
-
status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
|
|
332
|
-
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
333
|
-
context: z.ZodNullable<z.ZodOptional<z.ZodType<import("@trigger.dev/core").DeserializedJson, z.ZodTypeDef, import("@trigger.dev/core").DeserializedJson>>>;
|
|
329
|
+
}, z.ZodObject<z.objectUtil.extendShape<{
|
|
334
330
|
id: z.ZodString;
|
|
335
|
-
|
|
336
|
-
style: z.ZodEnum<["normal", "minimal"]>;
|
|
337
|
-
variant: z.ZodOptional<z.ZodString>;
|
|
338
|
-
}, "strip", z.ZodTypeAny, {
|
|
339
|
-
style: "normal" | "minimal";
|
|
340
|
-
variant?: string | undefined;
|
|
341
|
-
}, {
|
|
342
|
-
style: "normal" | "minimal";
|
|
343
|
-
variant?: string | undefined;
|
|
344
|
-
}>>>;
|
|
331
|
+
name: z.ZodString;
|
|
345
332
|
icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
346
333
|
noop: z.ZodBoolean;
|
|
347
334
|
startedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
348
335
|
completedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
349
336
|
delayUntil: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
337
|
+
status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
|
|
350
338
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
351
339
|
properties: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
352
340
|
label: z.ZodString;
|
|
@@ -380,15 +368,29 @@ export declare class ApiClient {
|
|
|
380
368
|
url?: string | undefined;
|
|
381
369
|
imageUrl?: string[] | undefined;
|
|
382
370
|
}>, "many">>>;
|
|
371
|
+
params: z.ZodNullable<z.ZodOptional<z.ZodType<import("@trigger.dev/core").DeserializedJson, z.ZodTypeDef, import("@trigger.dev/core").DeserializedJson>>>;
|
|
383
372
|
output: z.ZodNullable<z.ZodOptional<z.ZodType<import("@trigger.dev/core").DeserializedJson, z.ZodTypeDef, import("@trigger.dev/core").DeserializedJson>>>;
|
|
373
|
+
context: z.ZodNullable<z.ZodOptional<z.ZodType<import("@trigger.dev/core").DeserializedJson, z.ZodTypeDef, import("@trigger.dev/core").DeserializedJson>>>;
|
|
374
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
384
375
|
parentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
376
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
377
|
+
style: z.ZodEnum<["normal", "minimal"]>;
|
|
378
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
379
|
+
}, "strip", z.ZodTypeAny, {
|
|
380
|
+
style: "normal" | "minimal";
|
|
381
|
+
variant?: string | undefined;
|
|
382
|
+
}, {
|
|
383
|
+
style: "normal" | "minimal";
|
|
384
|
+
variant?: string | undefined;
|
|
385
|
+
}>>>;
|
|
385
386
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
386
387
|
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
387
388
|
childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
|
|
389
|
+
}, {
|
|
388
390
|
idempotencyKey: z.ZodString;
|
|
389
391
|
attempts: z.ZodNumber;
|
|
390
392
|
forceYield: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
391
|
-
}
|
|
393
|
+
}>, "strip", z.ZodTypeAny, {
|
|
392
394
|
name: string;
|
|
393
395
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
394
396
|
id: string;
|
|
@@ -396,7 +398,6 @@ export declare class ApiClient {
|
|
|
396
398
|
idempotencyKey: string;
|
|
397
399
|
attempts: number;
|
|
398
400
|
params?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
399
|
-
error?: string | null | undefined;
|
|
400
401
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
401
402
|
style?: {
|
|
402
403
|
style: "normal" | "minimal";
|
|
@@ -420,6 +421,7 @@ export declare class ApiClient {
|
|
|
420
421
|
imageUrl?: string[] | undefined;
|
|
421
422
|
}[] | null | undefined;
|
|
422
423
|
output?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
424
|
+
error?: string | null | undefined;
|
|
423
425
|
parentId?: string | null | undefined;
|
|
424
426
|
operation?: string | null | undefined;
|
|
425
427
|
callbackUrl?: string | null | undefined;
|
|
@@ -433,7 +435,6 @@ export declare class ApiClient {
|
|
|
433
435
|
idempotencyKey: string;
|
|
434
436
|
attempts: number;
|
|
435
437
|
params?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
436
|
-
error?: string | null | undefined;
|
|
437
438
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
438
439
|
style?: {
|
|
439
440
|
style: "normal" | "minimal";
|
|
@@ -457,6 +458,7 @@ export declare class ApiClient {
|
|
|
457
458
|
imageUrl?: string[] | undefined;
|
|
458
459
|
}[] | null | undefined;
|
|
459
460
|
output?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
461
|
+
error?: string | null | undefined;
|
|
460
462
|
parentId?: string | null | undefined;
|
|
461
463
|
operation?: string | null | undefined;
|
|
462
464
|
callbackUrl?: string | null | undefined;
|
|
@@ -471,7 +473,6 @@ export declare class ApiClient {
|
|
|
471
473
|
idempotencyKey: string;
|
|
472
474
|
attempts: number;
|
|
473
475
|
params?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
474
|
-
error?: string | null | undefined;
|
|
475
476
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
476
477
|
style?: {
|
|
477
478
|
style: "normal" | "minimal";
|
|
@@ -495,6 +496,7 @@ export declare class ApiClient {
|
|
|
495
496
|
imageUrl?: string[] | undefined;
|
|
496
497
|
}[] | null | undefined;
|
|
497
498
|
output?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
499
|
+
error?: string | null | undefined;
|
|
498
500
|
parentId?: string | null | undefined;
|
|
499
501
|
operation?: string | null | undefined;
|
|
500
502
|
callbackUrl?: string | null | undefined;
|
|
@@ -509,7 +511,6 @@ export declare class ApiClient {
|
|
|
509
511
|
idempotencyKey: string;
|
|
510
512
|
attempts: number;
|
|
511
513
|
params?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
512
|
-
error?: string | null | undefined;
|
|
513
514
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
514
515
|
style?: {
|
|
515
516
|
style: "normal" | "minimal";
|
|
@@ -533,6 +534,7 @@ export declare class ApiClient {
|
|
|
533
534
|
imageUrl?: string[] | undefined;
|
|
534
535
|
}[] | null | undefined;
|
|
535
536
|
output?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
537
|
+
error?: string | null | undefined;
|
|
536
538
|
parentId?: string | null | undefined;
|
|
537
539
|
operation?: string | null | undefined;
|
|
538
540
|
callbackUrl?: string | null | undefined;
|
|
@@ -541,11 +543,7 @@ export declare class ApiClient {
|
|
|
541
543
|
}>;
|
|
542
544
|
sendEvent(event: SendEvent, options?: SendEventOptions): Promise<{
|
|
543
545
|
name: string;
|
|
544
|
-
payload: (
|
|
545
|
-
[key: string]: import("@trigger.dev/core").DeserializedJson;
|
|
546
|
-
} | import("@trigger.dev/core").DeserializedJson[]) & (string | number | boolean | {
|
|
547
|
-
[key: string]: import("@trigger.dev/core").DeserializedJson;
|
|
548
|
-
} | import("@trigger.dev/core").DeserializedJson[] | undefined)) | null;
|
|
546
|
+
payload: import("@trigger.dev/core").DeserializedJson;
|
|
549
547
|
id: string;
|
|
550
548
|
timestamp: Date;
|
|
551
549
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
@@ -555,11 +553,7 @@ export declare class ApiClient {
|
|
|
555
553
|
}>;
|
|
556
554
|
sendEvents(events: SendEvent[], options?: SendEventOptions): Promise<{
|
|
557
555
|
name: string;
|
|
558
|
-
payload: (
|
|
559
|
-
[key: string]: import("@trigger.dev/core").DeserializedJson;
|
|
560
|
-
} | import("@trigger.dev/core").DeserializedJson[]) & (string | number | boolean | {
|
|
561
|
-
[key: string]: import("@trigger.dev/core").DeserializedJson;
|
|
562
|
-
} | import("@trigger.dev/core").DeserializedJson[] | undefined)) | null;
|
|
556
|
+
payload: import("@trigger.dev/core").DeserializedJson;
|
|
563
557
|
id: string;
|
|
564
558
|
timestamp: Date;
|
|
565
559
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
@@ -569,11 +563,7 @@ export declare class ApiClient {
|
|
|
569
563
|
}[]>;
|
|
570
564
|
cancelEvent(eventId: string): Promise<{
|
|
571
565
|
name: string;
|
|
572
|
-
payload: (
|
|
573
|
-
[key: string]: import("@trigger.dev/core").DeserializedJson;
|
|
574
|
-
} | import("@trigger.dev/core").DeserializedJson[]) & (string | number | boolean | {
|
|
575
|
-
[key: string]: import("@trigger.dev/core").DeserializedJson;
|
|
576
|
-
} | import("@trigger.dev/core").DeserializedJson[] | undefined)) | null;
|
|
566
|
+
payload: import("@trigger.dev/core").DeserializedJson;
|
|
577
567
|
id: string;
|
|
578
568
|
timestamp: Date;
|
|
579
569
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
@@ -593,8 +583,8 @@ export declare class ApiClient {
|
|
|
593
583
|
state?: "loading" | "success" | "failure" | undefined;
|
|
594
584
|
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
595
585
|
}[];
|
|
596
|
-
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
597
586
|
state?: "loading" | "success" | "failure" | undefined;
|
|
587
|
+
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
598
588
|
}>;
|
|
599
589
|
updateSource(client: string, key: string, source: UpdateTriggerSourceBodyV2): Promise<TriggerSource>;
|
|
600
590
|
updateWebhook(key: string, webhookData: UpdateWebhookBody): Promise<TriggerSource>;
|
|
@@ -606,15 +596,15 @@ export declare class ApiClient {
|
|
|
606
596
|
cron: string;
|
|
607
597
|
};
|
|
608
598
|
type: "cron";
|
|
609
|
-
accountId?: string | undefined;
|
|
610
599
|
metadata?: any;
|
|
600
|
+
accountId?: string | undefined;
|
|
611
601
|
} | {
|
|
612
602
|
options: {
|
|
613
603
|
seconds: number;
|
|
614
604
|
};
|
|
615
605
|
type: "interval";
|
|
616
|
-
accountId?: string | undefined;
|
|
617
606
|
metadata?: any;
|
|
607
|
+
accountId?: string | undefined;
|
|
618
608
|
};
|
|
619
609
|
active: boolean;
|
|
620
610
|
metadata?: any;
|
|
@@ -655,8 +645,8 @@ export declare class ApiClient {
|
|
|
655
645
|
state?: "loading" | "success" | "failure" | undefined;
|
|
656
646
|
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
657
647
|
}[];
|
|
658
|
-
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
659
648
|
state?: "loading" | "success" | "failure" | undefined;
|
|
649
|
+
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
660
650
|
}[];
|
|
661
651
|
output?: any;
|
|
662
652
|
nextCursor?: string | undefined;
|
|
@@ -676,8 +666,8 @@ export declare class ApiClient {
|
|
|
676
666
|
state?: "loading" | "success" | "failure" | undefined;
|
|
677
667
|
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
678
668
|
}[];
|
|
679
|
-
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
680
669
|
state?: "loading" | "success" | "failure" | undefined;
|
|
670
|
+
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
681
671
|
}[];
|
|
682
672
|
output?: any;
|
|
683
673
|
nextCursor?: string | undefined;
|
|
@@ -691,8 +681,8 @@ export declare class ApiClient {
|
|
|
691
681
|
state?: "loading" | "success" | "failure" | undefined;
|
|
692
682
|
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
693
683
|
}[];
|
|
694
|
-
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
695
684
|
state?: "loading" | "success" | "failure" | undefined;
|
|
685
|
+
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
696
686
|
}[];
|
|
697
687
|
run: {
|
|
698
688
|
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
|
package/dist/esm/io.d.ts
CHANGED
|
@@ -243,11 +243,7 @@ export declare class IO {
|
|
|
243
243
|
*/
|
|
244
244
|
sendEvent(cacheKey: string | any[], event: SendEvent, options?: SendEventOptions): Promise<{
|
|
245
245
|
name: string;
|
|
246
|
-
payload: (
|
|
247
|
-
[key: string]: import("@trigger.dev/core").DeserializedJson;
|
|
248
|
-
} | import("@trigger.dev/core").DeserializedJson[]) & (string | number | boolean | {
|
|
249
|
-
[key: string]: import("@trigger.dev/core").DeserializedJson;
|
|
250
|
-
} | import("@trigger.dev/core").DeserializedJson[] | undefined)) | null;
|
|
246
|
+
payload: import("@trigger.dev/core").DeserializedJson;
|
|
251
247
|
id: string;
|
|
252
248
|
timestamp: Date;
|
|
253
249
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
@@ -262,11 +258,7 @@ export declare class IO {
|
|
|
262
258
|
*/
|
|
263
259
|
sendEvents(cacheKey: string | any[], events: SendEvent[], options?: SendEventOptions): Promise<{
|
|
264
260
|
name: string;
|
|
265
|
-
payload: (
|
|
266
|
-
[key: string]: import("@trigger.dev/core").DeserializedJson;
|
|
267
|
-
} | import("@trigger.dev/core").DeserializedJson[]) & (string | number | boolean | {
|
|
268
|
-
[key: string]: import("@trigger.dev/core").DeserializedJson;
|
|
269
|
-
} | import("@trigger.dev/core").DeserializedJson[] | undefined)) | null;
|
|
261
|
+
payload: import("@trigger.dev/core").DeserializedJson;
|
|
270
262
|
id: string;
|
|
271
263
|
timestamp: Date;
|
|
272
264
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
@@ -293,11 +285,7 @@ export declare class IO {
|
|
|
293
285
|
*/
|
|
294
286
|
cancelEvent(cacheKey: string | any[], eventId: string): Promise<{
|
|
295
287
|
name: string;
|
|
296
|
-
payload: (
|
|
297
|
-
[key: string]: import("@trigger.dev/core").DeserializedJson;
|
|
298
|
-
} | import("@trigger.dev/core").DeserializedJson[]) & (string | number | boolean | {
|
|
299
|
-
[key: string]: import("@trigger.dev/core").DeserializedJson;
|
|
300
|
-
} | import("@trigger.dev/core").DeserializedJson[] | undefined)) | null;
|
|
288
|
+
payload: import("@trigger.dev/core").DeserializedJson;
|
|
301
289
|
id: string;
|
|
302
290
|
timestamp: Date;
|
|
303
291
|
context?: import("@trigger.dev/core").DeserializedJson | undefined;
|
|
@@ -332,15 +320,15 @@ export declare class IO {
|
|
|
332
320
|
cron: string;
|
|
333
321
|
};
|
|
334
322
|
type: "cron";
|
|
335
|
-
accountId?: string | undefined;
|
|
336
323
|
metadata?: any;
|
|
324
|
+
accountId?: string | undefined;
|
|
337
325
|
} | {
|
|
338
326
|
options: {
|
|
339
327
|
seconds: number;
|
|
340
328
|
};
|
|
341
329
|
type: "interval";
|
|
342
|
-
accountId?: string | undefined;
|
|
343
330
|
metadata?: any;
|
|
331
|
+
accountId?: string | undefined;
|
|
344
332
|
};
|
|
345
333
|
active: boolean;
|
|
346
334
|
metadata?: any;
|
|
@@ -368,15 +356,15 @@ export declare class IO {
|
|
|
368
356
|
cron: string;
|
|
369
357
|
};
|
|
370
358
|
type: "cron";
|
|
371
|
-
accountId?: string | undefined;
|
|
372
359
|
metadata?: any;
|
|
360
|
+
accountId?: string | undefined;
|
|
373
361
|
} | {
|
|
374
362
|
options: {
|
|
375
363
|
seconds: number;
|
|
376
364
|
};
|
|
377
365
|
type: "interval";
|
|
378
|
-
accountId?: string | undefined;
|
|
379
366
|
metadata?: any;
|
|
367
|
+
accountId?: string | undefined;
|
|
380
368
|
};
|
|
381
369
|
active: boolean;
|
|
382
370
|
metadata?: any;
|
package/dist/esm/status.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare class TriggerStatus {
|
|
|
13
13
|
state?: "loading" | "success" | "failure" | undefined;
|
|
14
14
|
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
15
15
|
}[];
|
|
16
|
-
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
17
16
|
state?: "loading" | "success" | "failure" | undefined;
|
|
17
|
+
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
}
|
|
@@ -117,11 +117,7 @@ export declare class TriggerClient {
|
|
|
117
117
|
*/
|
|
118
118
|
sendEvent(event: SendEvent, options?: SendEventOptions): Promise<{
|
|
119
119
|
name: string;
|
|
120
|
-
payload:
|
|
121
|
-
[key: string]: DeserializedJson;
|
|
122
|
-
} | DeserializedJson[]) & (string | number | boolean | {
|
|
123
|
-
[key: string]: DeserializedJson;
|
|
124
|
-
} | DeserializedJson[] | undefined)) | null;
|
|
120
|
+
payload: DeserializedJson;
|
|
125
121
|
id: string;
|
|
126
122
|
timestamp: Date;
|
|
127
123
|
context?: DeserializedJson | undefined;
|
|
@@ -136,11 +132,7 @@ export declare class TriggerClient {
|
|
|
136
132
|
*/
|
|
137
133
|
sendEvents(events: SendEvent[], options?: SendEventOptions): Promise<{
|
|
138
134
|
name: string;
|
|
139
|
-
payload:
|
|
140
|
-
[key: string]: DeserializedJson;
|
|
141
|
-
} | DeserializedJson[]) & (string | number | boolean | {
|
|
142
|
-
[key: string]: DeserializedJson;
|
|
143
|
-
} | DeserializedJson[] | undefined)) | null;
|
|
135
|
+
payload: DeserializedJson;
|
|
144
136
|
id: string;
|
|
145
137
|
timestamp: Date;
|
|
146
138
|
context?: DeserializedJson | undefined;
|
|
@@ -150,11 +142,7 @@ export declare class TriggerClient {
|
|
|
150
142
|
}[]>;
|
|
151
143
|
cancelEvent(eventId: string): Promise<{
|
|
152
144
|
name: string;
|
|
153
|
-
payload:
|
|
154
|
-
[key: string]: DeserializedJson;
|
|
155
|
-
} | DeserializedJson[]) & (string | number | boolean | {
|
|
156
|
-
[key: string]: DeserializedJson;
|
|
157
|
-
} | DeserializedJson[] | undefined)) | null;
|
|
145
|
+
payload: DeserializedJson;
|
|
158
146
|
id: string;
|
|
159
147
|
timestamp: Date;
|
|
160
148
|
context?: DeserializedJson | undefined;
|
|
@@ -174,8 +162,8 @@ export declare class TriggerClient {
|
|
|
174
162
|
state?: "loading" | "success" | "failure" | undefined;
|
|
175
163
|
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
176
164
|
}[];
|
|
177
|
-
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
178
165
|
state?: "loading" | "success" | "failure" | undefined;
|
|
166
|
+
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
179
167
|
}>;
|
|
180
168
|
registerSchedule(id: string, key: string, schedule: ScheduleMetadata): Promise<{
|
|
181
169
|
id: string;
|
|
@@ -184,15 +172,15 @@ export declare class TriggerClient {
|
|
|
184
172
|
cron: string;
|
|
185
173
|
};
|
|
186
174
|
type: "cron";
|
|
187
|
-
accountId?: string | undefined;
|
|
188
175
|
metadata?: any;
|
|
176
|
+
accountId?: string | undefined;
|
|
189
177
|
} | {
|
|
190
178
|
options: {
|
|
191
179
|
seconds: number;
|
|
192
180
|
};
|
|
193
181
|
type: "interval";
|
|
194
|
-
accountId?: string | undefined;
|
|
195
182
|
metadata?: any;
|
|
183
|
+
accountId?: string | undefined;
|
|
196
184
|
};
|
|
197
185
|
active: boolean;
|
|
198
186
|
metadata?: any;
|
|
@@ -227,8 +215,8 @@ export declare class TriggerClient {
|
|
|
227
215
|
state?: "loading" | "success" | "failure" | undefined;
|
|
228
216
|
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
229
217
|
}[];
|
|
230
|
-
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
231
218
|
state?: "loading" | "success" | "failure" | undefined;
|
|
219
|
+
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
232
220
|
}[];
|
|
233
221
|
output?: any;
|
|
234
222
|
nextCursor?: string | undefined;
|
|
@@ -248,8 +236,8 @@ export declare class TriggerClient {
|
|
|
248
236
|
state?: "loading" | "success" | "failure" | undefined;
|
|
249
237
|
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
250
238
|
}[];
|
|
251
|
-
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
252
239
|
state?: "loading" | "success" | "failure" | undefined;
|
|
240
|
+
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
253
241
|
}[];
|
|
254
242
|
output?: any;
|
|
255
243
|
nextCursor?: string | undefined;
|
|
@@ -273,8 +261,8 @@ export declare class TriggerClient {
|
|
|
273
261
|
state?: "loading" | "success" | "failure" | undefined;
|
|
274
262
|
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
275
263
|
}[];
|
|
276
|
-
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
277
264
|
state?: "loading" | "success" | "failure" | undefined;
|
|
265
|
+
data?: Record<string, import("@trigger.dev/core").SerializableJson> | undefined;
|
|
278
266
|
}[];
|
|
279
267
|
run: {
|
|
280
268
|
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD" | "EXECUTING" | "WAITING_TO_CONTINUE" | "WAITING_TO_EXECUTE";
|
|
@@ -22,8 +22,8 @@ export declare class InvokeTrigger<TSchema extends ZodType = z.ZodTypeAny> imple
|
|
|
22
22
|
examples: {
|
|
23
23
|
name: string;
|
|
24
24
|
id: string;
|
|
25
|
-
icon?: string | undefined;
|
|
26
25
|
payload?: any;
|
|
26
|
+
icon?: string | undefined;
|
|
27
27
|
}[];
|
|
28
28
|
icon: string;
|
|
29
29
|
parsePayload: (rawPayload: unknown) => any;
|
|
@@ -119,15 +119,15 @@ export declare class DynamicSchedule implements Trigger<ScheduledEventSpecificat
|
|
|
119
119
|
cron: string;
|
|
120
120
|
};
|
|
121
121
|
type: "cron";
|
|
122
|
-
accountId?: string | undefined;
|
|
123
122
|
metadata?: any;
|
|
123
|
+
accountId?: string | undefined;
|
|
124
124
|
} | {
|
|
125
125
|
options: {
|
|
126
126
|
seconds: number;
|
|
127
127
|
};
|
|
128
128
|
type: "interval";
|
|
129
|
-
accountId?: string | undefined;
|
|
130
129
|
metadata?: any;
|
|
130
|
+
accountId?: string | undefined;
|
|
131
131
|
};
|
|
132
132
|
active: boolean;
|
|
133
133
|
metadata?: any;
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -118,13 +118,13 @@ export declare const EventSpecificationExampleSchema: z.ZodObject<{
|
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
119
|
name: string;
|
|
120
120
|
id: string;
|
|
121
|
-
icon?: string | undefined;
|
|
122
121
|
payload?: any;
|
|
122
|
+
icon?: string | undefined;
|
|
123
123
|
}, {
|
|
124
124
|
name: string;
|
|
125
125
|
id: string;
|
|
126
|
-
icon?: string | undefined;
|
|
127
126
|
payload?: any;
|
|
127
|
+
icon?: string | undefined;
|
|
128
128
|
}>;
|
|
129
129
|
export type EventSpecificationExample = z.infer<typeof EventSpecificationExampleSchema>;
|
|
130
130
|
export type TypedEventSpecificationExample<TEvent> = {
|
package/dist/esm/v3/auth.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare const auth: {
|
|
|
22
22
|
createPublicToken: typeof createPublicToken;
|
|
23
23
|
withAuth: typeof withAuth;
|
|
24
24
|
};
|
|
25
|
-
type PublicTokenPermissionAction = "read";
|
|
25
|
+
type PublicTokenPermissionAction = "read" | "write";
|
|
26
26
|
type PublicTokenPermissionProperties = {
|
|
27
27
|
/**
|
|
28
28
|
* Grant access to specific tasks
|
package/dist/esm/v3/auth.js
CHANGED
|
@@ -86,6 +86,9 @@ function flattenScopes(permissions) {
|
|
|
86
86
|
else if (typeof value === "string") {
|
|
87
87
|
flattenedPermissions.push(`${action}:${property}:${value}`);
|
|
88
88
|
}
|
|
89
|
+
else if (typeof value === "boolean" && value) {
|
|
90
|
+
flattenedPermissions.push(`${action}:${property}`);
|
|
91
|
+
}
|
|
89
92
|
}
|
|
90
93
|
}
|
|
91
94
|
}
|