workflow 4.0.1-beta.12 → 4.0.1-beta.14
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/README.md +1 -1
- package/dist/api-workflow.d.ts +11 -0
- package/dist/api-workflow.d.ts.map +1 -0
- package/dist/api-workflow.js +15 -0
- package/dist/api-workflow.js.map +1 -0
- package/dist/next.cjs +6 -0
- package/dist/next.cjs.map +1 -0
- package/dist/next.d.cts +3 -0
- package/dist/next.d.cts.map +1 -0
- package/package.json +15 -11
- package/dist/next.d.ts +0 -2
- package/dist/next.d.ts.map +0 -1
- package/dist/next.js +0 -2
- package/dist/next.js.map +0 -1
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ Contributions to Workflow DevKit are welcome and highly appreciated. Please use
|
|
|
32
32
|
|
|
33
33
|
Workflow DevKit was built by engineers at [Vercel](https://vercel.com) and the [Open Source Community](https://github.com/vercel/workflow/graphs/contributors).
|
|
34
34
|
|
|
35
|
-
The initial core contributing engineers are
|
|
35
|
+
The initial core contributing engineers are:
|
|
36
36
|
|
|
37
37
|
- Adrian Lam ([@adriandlam](https://github.com/adriandlam))
|
|
38
38
|
- Dillon Mulroy ([@dmmulroy](https://github.com/dmmulroy))
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type { Event, StartOptions, WorkflowReadableStreamOptions, WorkflowRun, } from '@workflow/core/runtime';
|
|
2
|
+
export declare class Run {
|
|
3
|
+
constructor();
|
|
4
|
+
}
|
|
5
|
+
export declare const getRun: () => never;
|
|
6
|
+
export declare const getHookByToken: () => never;
|
|
7
|
+
export declare const resumeHook: () => never;
|
|
8
|
+
export declare const resumeWebhook: () => never;
|
|
9
|
+
export declare const runStep: () => never;
|
|
10
|
+
export declare const start: () => never;
|
|
11
|
+
//# sourceMappingURL=api-workflow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-workflow.d.ts","sourceRoot":"","sources":["../src/api-workflow.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,KAAK,EACL,YAAY,EACZ,6BAA6B,EAC7B,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAQhC,qBAAa,GAAG;;CAIf;AACD,eAAO,MAAM,MAAM,aAA+B,CAAC;AACnD,eAAO,MAAM,cAAc,aAAuC,CAAC;AACnE,eAAO,MAAM,UAAU,aAAmC,CAAC;AAC3D,eAAO,MAAM,aAAa,aAAsC,CAAC;AACjE,eAAO,MAAM,OAAO,aAAgC,CAAC;AACrD,eAAO,MAAM,KAAK,aAA8B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const workflowStub = (item) => {
|
|
2
|
+
throw new Error(`The workflow environment doesn't allow this runtime usage of ${item}.`);
|
|
3
|
+
};
|
|
4
|
+
export class Run {
|
|
5
|
+
constructor() {
|
|
6
|
+
workflowStub('Run');
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export const getRun = () => workflowStub('getRun');
|
|
10
|
+
export const getHookByToken = () => workflowStub('getHookByToken');
|
|
11
|
+
export const resumeHook = () => workflowStub('resumeHook');
|
|
12
|
+
export const resumeWebhook = () => workflowStub('resumeWebhook');
|
|
13
|
+
export const runStep = () => workflowStub('runStep');
|
|
14
|
+
export const start = () => workflowStub('start');
|
|
15
|
+
//# sourceMappingURL=api-workflow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-workflow.js","sourceRoot":"","sources":["../src/api-workflow.ts"],"names":[],"mappings":"AAOA,MAAM,YAAY,GAAG,CAAC,IAAY,EAAE,EAAE;IACpC,MAAM,IAAI,KAAK,CACb,gEAAgE,IAAI,GAAG,CACxE,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,OAAO,GAAG;IACd;QACE,YAAY,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;CACF;AACD,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;AACnD,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC;AACnE,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;AAC3D,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;AACjE,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;AACrD,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC"}
|
package/dist/next.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"next.cjs","sourceRoot":"","sources":["../src/next.cts"],"names":[],"mappings":";AAAA,2DAA2D;AAC3D,0DAA0D;AAC1D,6CAA8C;AAC9C,iBAAS,UAAU,CAAC"}
|
package/dist/next.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"next.d.cts","sourceRoot":"","sources":["../src/next.cts"],"names":[],"mappings":"AAEA,OAAO,UAAU,GAAG,QAAQ,gBAAgB,CAAC,CAAC;AAC9C,SAAS,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "workflow",
|
|
3
|
-
"version": "4.0.1-beta.
|
|
3
|
+
"version": "4.0.1-beta.14",
|
|
4
4
|
"description": "Workflow DevKit - Build durable, resilient, and observable workflows",
|
|
5
5
|
"main": "dist/typescript-plugin.cjs",
|
|
6
6
|
"type": "module",
|
|
@@ -28,12 +28,16 @@
|
|
|
28
28
|
"require": "./dist/typescript-plugin.cjs",
|
|
29
29
|
"default": "./dist/index.js"
|
|
30
30
|
},
|
|
31
|
-
"./api":
|
|
31
|
+
"./api": {
|
|
32
|
+
"types": "./dist/api.d.ts",
|
|
33
|
+
"workflow": "./dist/api-workflow.js",
|
|
34
|
+
"default": "./dist/api.js"
|
|
35
|
+
},
|
|
32
36
|
"./internal/errors": "./dist/internal/errors.js",
|
|
33
37
|
"./internal/serialization": "./dist/internal/serialization.js",
|
|
34
38
|
"./internal/builtins": "./dist/internal/builtins.js",
|
|
35
39
|
"./internal/private": "./dist/internal/private.js",
|
|
36
|
-
"./next": "./dist/next.
|
|
40
|
+
"./next": "./dist/next.cjs",
|
|
37
41
|
"./nitro": "./dist/nitro.js",
|
|
38
42
|
"./nuxt": "./dist/nuxt.js",
|
|
39
43
|
"./sveltekit": "./dist/sveltekit.js",
|
|
@@ -43,17 +47,17 @@
|
|
|
43
47
|
},
|
|
44
48
|
"dependencies": {
|
|
45
49
|
"ms": "2.1.3",
|
|
46
|
-
"@workflow/cli": "4.0.1-beta.
|
|
47
|
-
"@workflow/
|
|
50
|
+
"@workflow/cli": "4.0.1-beta.14",
|
|
51
|
+
"@workflow/errors": "4.0.1-beta.5",
|
|
52
|
+
"@workflow/core": "4.0.1-beta.12",
|
|
53
|
+
"@workflow/nitro": "4.0.1-beta.14",
|
|
48
54
|
"@workflow/typescript-plugin": "4.0.1-beta.4",
|
|
49
|
-
"@workflow/
|
|
50
|
-
"@workflow/
|
|
51
|
-
"@workflow/
|
|
52
|
-
"@workflow/nuxt": "4.0.1-beta.1",
|
|
53
|
-
"@workflow/sveltekit": "4.0.0-beta.6"
|
|
55
|
+
"@workflow/next": "4.0.1-beta.14",
|
|
56
|
+
"@workflow/nuxt": "4.0.1-beta.3",
|
|
57
|
+
"@workflow/sveltekit": "4.0.0-beta.8"
|
|
54
58
|
},
|
|
55
59
|
"devDependencies": {
|
|
56
|
-
"@types/ms": "
|
|
60
|
+
"@types/ms": "2.1.0",
|
|
57
61
|
"@types/node": "22.19.0",
|
|
58
62
|
"@workflow/tsconfig": "4.0.1-beta.0"
|
|
59
63
|
},
|
package/dist/next.d.ts
DELETED
package/dist/next.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../src/next.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
package/dist/next.js
DELETED
package/dist/next.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"next.js","sourceRoot":"","sources":["../src/next.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|