@n8n/extension-sdk 0.4.0 → 0.6.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/backend/index.cjs +3 -3
- package/dist/frontend/index.cjs +3 -3
- package/dist/index.cjs +3 -3
- package/package.json +6 -5
- package/schema.json +62 -105
package/dist/backend/index.cjs
CHANGED
|
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
20
|
// src/backend/index.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
23
|
defineBackendExtension: () => defineBackendExtension
|
|
24
24
|
});
|
|
25
|
-
module.exports = __toCommonJS(
|
|
25
|
+
module.exports = __toCommonJS(index_exports);
|
|
26
26
|
|
|
27
27
|
// src/backend/define.ts
|
|
28
28
|
function defineBackendExtension(extension) {
|
package/dist/frontend/index.cjs
CHANGED
|
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
20
|
// src/frontend/index.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
23
|
defineFrontendExtension: () => defineFrontendExtension
|
|
24
24
|
});
|
|
25
|
-
module.exports = __toCommonJS(
|
|
25
|
+
module.exports = __toCommonJS(index_exports);
|
|
26
26
|
|
|
27
27
|
// src/frontend/define.ts
|
|
28
28
|
function defineFrontendExtension(extension) {
|
package/dist/index.cjs
CHANGED
|
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
23
|
extensionManifestSchema: () => extensionManifestSchema
|
|
24
24
|
});
|
|
25
|
-
module.exports = __toCommonJS(
|
|
25
|
+
module.exports = __toCommonJS(index_exports);
|
|
26
26
|
|
|
27
27
|
// src/schema.ts
|
|
28
28
|
var import_zod = require("zod");
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/extension-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
7
|
"schema.json",
|
|
8
8
|
"LICENSE",
|
|
9
9
|
"README.md",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"LICENSE_EE.md",
|
|
11
|
+
"LICENSE.md"
|
|
12
12
|
],
|
|
13
13
|
"main": "./dist/index.cjs",
|
|
14
14
|
"module": "./dist/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
40
40
|
"@vue/tsconfig": "^0.7.0",
|
|
41
41
|
"rimraf": "^6.0.1",
|
|
42
|
-
"vite": "
|
|
42
|
+
"vite": "6.3.5",
|
|
43
43
|
"vue": "^3.5.13",
|
|
44
44
|
"vue-router": "^4.5.0",
|
|
45
45
|
"vue-tsc": "^2.2.8",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"zod": "3.
|
|
52
|
+
"zod": "3.25.67"
|
|
53
53
|
},
|
|
54
54
|
"homepage": "https://n8n.io",
|
|
55
55
|
"author": {
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"scripts": {
|
|
64
64
|
"clean": "rimraf dist",
|
|
65
65
|
"dev": "tsup --watch",
|
|
66
|
+
"lint": "eslint . --quiet",
|
|
66
67
|
"typecheck:frontend": "vue-tsc --noEmit --project tsconfig.frontend.json",
|
|
67
68
|
"typecheck:backend": "tsc --noEmit --project tsconfig.backend.json",
|
|
68
69
|
"build": "pnpm \"/^typecheck:.+/\" && pnpm clean && tsup && pnpm create-json-schema",
|
package/schema.json
CHANGED
|
@@ -1,107 +1,64 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"extends": {
|
|
67
|
-
"type": "object",
|
|
68
|
-
"properties": {
|
|
69
|
-
"views": {
|
|
70
|
-
"type": "object",
|
|
71
|
-
"properties": {
|
|
72
|
-
"workflows": {
|
|
73
|
-
"type": "object",
|
|
74
|
-
"properties": {
|
|
75
|
-
"header": {
|
|
76
|
-
"type": "string"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"required": ["header"],
|
|
80
|
-
"additionalProperties": false
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"required": ["workflows"],
|
|
84
|
-
"additionalProperties": false
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"required": ["views"],
|
|
88
|
-
"additionalProperties": false
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"required": [
|
|
92
|
-
"name",
|
|
93
|
-
"displayName",
|
|
94
|
-
"description",
|
|
95
|
-
"publisher",
|
|
96
|
-
"version",
|
|
97
|
-
"categories",
|
|
98
|
-
"entry",
|
|
99
|
-
"minSDKVersion",
|
|
100
|
-
"permissions",
|
|
101
|
-
"events",
|
|
102
|
-
"extends"
|
|
103
|
-
],
|
|
104
|
-
"additionalProperties": false,
|
|
105
|
-
"title": "N8nExtensionSchema",
|
|
106
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"name": { "type": "string" },
|
|
5
|
+
"displayName": { "type": "string" },
|
|
6
|
+
"description": { "type": "string" },
|
|
7
|
+
"publisher": { "type": "string" },
|
|
8
|
+
"version": { "type": "string" },
|
|
9
|
+
"categories": { "type": "array", "items": { "type": "string" } },
|
|
10
|
+
"entry": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": { "backend": { "type": "string" }, "frontend": { "type": "string" } },
|
|
13
|
+
"required": ["backend", "frontend"],
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
},
|
|
16
|
+
"minSDKVersion": { "type": "string" },
|
|
17
|
+
"permissions": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"frontend": { "type": "array", "items": { "type": "string" } },
|
|
21
|
+
"backend": { "type": "array", "items": { "type": "string" } }
|
|
22
|
+
},
|
|
23
|
+
"required": ["frontend", "backend"],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
"events": { "type": "array", "items": { "type": "string" } },
|
|
27
|
+
"extends": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"views": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"workflows": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": { "header": { "type": "string" } },
|
|
36
|
+
"required": ["header"],
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": ["workflows"],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"required": ["views"],
|
|
45
|
+
"additionalProperties": false
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": [
|
|
49
|
+
"name",
|
|
50
|
+
"displayName",
|
|
51
|
+
"description",
|
|
52
|
+
"publisher",
|
|
53
|
+
"version",
|
|
54
|
+
"categories",
|
|
55
|
+
"entry",
|
|
56
|
+
"minSDKVersion",
|
|
57
|
+
"permissions",
|
|
58
|
+
"events",
|
|
59
|
+
"extends"
|
|
60
|
+
],
|
|
61
|
+
"additionalProperties": false,
|
|
62
|
+
"title": "N8nExtensionSchema",
|
|
63
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
107
64
|
}
|