@n8n/decorators 1.7.1 → 1.9.0
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/auth-handler/auth-handler-metadata.d.ts +12 -0
- package/dist/auth-handler/auth-handler-metadata.js +36 -0
- package/dist/auth-handler/auth-handler-metadata.js.map +1 -0
- package/dist/auth-handler/auth-handler.d.ts +20 -0
- package/dist/auth-handler/auth-handler.js +3 -0
- package/dist/auth-handler/auth-handler.js.map +1 -0
- package/dist/auth-handler/index.d.ts +2 -0
- package/dist/auth-handler/index.js +7 -0
- package/dist/auth-handler/index.js.map +1 -0
- package/dist/build.tsbuildinfo +1 -1
- package/dist/execution-lifecycle/index.d.ts +1 -1
- package/dist/execution-lifecycle/index.js.map +1 -1
- package/dist/execution-lifecycle/lifecycle-metadata.d.ts +10 -1
- package/dist/execution-lifecycle/lifecycle-metadata.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { OnLifecycleEvent } from './on-lifecycle-event';
|
|
2
|
-
export type { LifecycleContext, NodeExecuteBeforeContext, NodeExecuteAfterContext, WorkflowExecuteBeforeContext, WorkflowExecuteAfterContext, } from './lifecycle-metadata';
|
|
2
|
+
export type { LifecycleContext, NodeExecuteBeforeContext, NodeExecuteAfterContext, WorkflowExecuteBeforeContext, WorkflowExecuteAfterContext, WorkflowExecuteResumeContext, } from './lifecycle-metadata';
|
|
3
3
|
export { LifecycleMetadata } from './lifecycle-metadata';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/execution-lifecycle/index.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAA/C,sHAAA,gBAAgB,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/execution-lifecycle/index.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAA/C,sHAAA,gBAAgB,OAAA;AASzB,2DAAyD;AAAhD,uHAAA,iBAAiB,OAAA"}
|
|
@@ -19,14 +19,23 @@ export type WorkflowExecuteBeforeContext = {
|
|
|
19
19
|
workflow: IWorkflowBase;
|
|
20
20
|
workflowInstance: Workflow;
|
|
21
21
|
executionData?: IRunExecutionData;
|
|
22
|
+
executionId: string;
|
|
22
23
|
};
|
|
23
24
|
export type WorkflowExecuteAfterContext = {
|
|
24
25
|
type: 'workflowExecuteAfter';
|
|
25
26
|
workflow: IWorkflowBase;
|
|
26
27
|
runData: IRun;
|
|
27
28
|
newStaticData: IDataObject;
|
|
29
|
+
executionId: string;
|
|
28
30
|
};
|
|
29
|
-
export type
|
|
31
|
+
export type WorkflowExecuteResumeContext = {
|
|
32
|
+
type: 'workflowExecuteResume';
|
|
33
|
+
workflow: IWorkflowBase;
|
|
34
|
+
workflowInstance: Workflow;
|
|
35
|
+
executionData: IRunExecutionData;
|
|
36
|
+
executionId: string;
|
|
37
|
+
};
|
|
38
|
+
export type LifecycleContext = NodeExecuteBeforeContext | NodeExecuteAfterContext | WorkflowExecuteBeforeContext | WorkflowExecuteAfterContext | WorkflowExecuteResumeContext;
|
|
30
39
|
type LifecycleHandler = {
|
|
31
40
|
handlerClass: LifecycleHandlerClass;
|
|
32
41
|
methodName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle-metadata.js","sourceRoot":"","sources":["../../src/execution-lifecycle/lifecycle-metadata.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gCAAkC;
|
|
1
|
+
{"version":3,"file":"lifecycle-metadata.js","sourceRoot":"","sources":["../../src/execution-lifecycle/lifecycle-metadata.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gCAAkC;AA8E3B,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAAvB;QACW,aAAQ,GAAuB,EAAE,CAAC;IASpD,CAAC;IAPA,QAAQ,CAAC,OAAyB;QACjC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED,WAAW;QACV,OAAO,IAAI,CAAC,QAAQ,CAAC;IACtB,CAAC;CACD,CAAA;AAVY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,YAAO,GAAE;GACG,iBAAiB,CAU7B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './command';
|
|
|
3
3
|
export { Debounce } from './debounce';
|
|
4
4
|
export * from './execution-lifecycle';
|
|
5
5
|
export { Memoized } from './memoized';
|
|
6
|
+
export * from './auth-handler';
|
|
6
7
|
export * from './context-establishment';
|
|
7
8
|
export * from './credential-resolver';
|
|
8
9
|
export * from './module';
|
package/dist/index.js
CHANGED
|
@@ -22,6 +22,7 @@ Object.defineProperty(exports, "Debounce", { enumerable: true, get: function ()
|
|
|
22
22
|
__exportStar(require("./execution-lifecycle"), exports);
|
|
23
23
|
var memoized_1 = require("./memoized");
|
|
24
24
|
Object.defineProperty(exports, "Memoized", { enumerable: true, get: function () { return memoized_1.Memoized; } });
|
|
25
|
+
__exportStar(require("./auth-handler"), exports);
|
|
25
26
|
__exportStar(require("./context-establishment"), exports);
|
|
26
27
|
__exportStar(require("./credential-resolver"), exports);
|
|
27
28
|
__exportStar(require("./module"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,4CAA0B;AAC1B,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,wDAAsC;AACtC,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,0DAAwC;AACxC,wDAAsC;AACtC,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB;AACzB,2CAA0C;AAAjC,wGAAA,UAAU,OAAA;AACnB,6CAA2B;AAC3B,2DAAyC;AAEzC,iCAAgC;AAAvB,8FAAA,KAAK,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,4CAA0B;AAC1B,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,wDAAsC;AACtC,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,iDAA+B;AAC/B,0DAAwC;AACxC,wDAAsC;AACtC,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB;AACzB,2CAA0C;AAAjC,wGAAA,UAAU,OAAA;AACnB,6CAA2B;AAC3B,2DAAyC;AAEzC,iCAAgC;AAAvB,8FAAA,KAAK,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/decorators",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "src/index.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist/**/*",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"LICENSE_EE.md",
|
|
10
|
+
"LICENSE.md"
|
|
11
11
|
],
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@types/express": "^5.0.1",
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
"vitest": "^3.1.3",
|
|
16
16
|
"zod": "3.25.67",
|
|
17
17
|
"@n8n/typescript-config": "1.3.0",
|
|
18
|
-
"@n8n/vitest-config": "1.
|
|
18
|
+
"@n8n/vitest-config": "1.7.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"lodash": "4.17.23",
|
|
22
|
-
"@n8n/constants": "0.17.0",
|
|
23
22
|
"@n8n/di": "0.10.0",
|
|
24
|
-
"n8n
|
|
25
|
-
"
|
|
23
|
+
"@n8n/permissions": "0.50.0",
|
|
24
|
+
"n8n-workflow": "2.9.0",
|
|
25
|
+
"@n8n/constants": "0.19.0"
|
|
26
26
|
},
|
|
27
27
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
28
28
|
"homepage": "https://n8n.io",
|