Skip to content

Commit 2f5bd86

Browse files
committed
fixed build errors
1 parent 266460f commit 2f5bd86

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/wrapper/lib/webhooks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ export const zWebhookTest = z.object({
2626

2727
export const zWebhookAgentTaskStatusUpdatePayloadMetadata = z.record(z.string(), z.unknown()).optional();
2828

29-
export const zWebhookAgentTaskStatusUpdatePayloadStatus = z.literal([
29+
export const zWebhookAgentTaskStatusUpdatePayloadStatus = z.enum([
3030
"initializing",
3131
"started",
32-
"paused",
32+
// "paused", // deprecated
3333
"stopped",
3434
"finished",
3535
]);

tsconfig.cjs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "./tsconfig.base.json",
33
"compilerOptions": {
44
"module": "CommonJS",
5-
"outDir": "dist/cjs"
5+
"outDir": "dist/cjs",
6+
"isolatedDeclarations": false
67
},
78
"include": ["src"],
89
"exclude": []

tsconfig.esm.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"compilerOptions": {
44
"module": "esnext",
55
"outDir": "dist/esm",
6-
"verbatimModuleSyntax": true
6+
"verbatimModuleSyntax": true,
7+
"isolatedDeclarations": false
78
},
89
"include": ["src"],
910
"exclude": []

0 commit comments

Comments
 (0)