@n8n/extension-sdk 0.3.0 → 0.5.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/schema.json +63 -118
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n8n/extension-sdk",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -36,10 +36,10 @@
36
36
  "vue-router": "^4.5.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@vitejs/plugin-vue": "^5.2.1",
39
+ "@vitejs/plugin-vue": "^5.2.4",
40
40
  "@vue/tsconfig": "^0.7.0",
41
41
  "rimraf": "^6.0.1",
42
- "vite": "^6.2.0",
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",
package/schema.json CHANGED
@@ -1,119 +1,64 @@
1
1
  {
2
- "type": "object",
3
- "properties": {
4
- "name": {
5
- "type": "string"
6
- },
7
- "displayName": {
8
- "type": "string"
9
- },
10
- "description": {
11
- "type": "string"
12
- },
13
- "publisher": {
14
- "type": "string"
15
- },
16
- "version": {
17
- "type": "string"
18
- },
19
- "categories": {
20
- "type": "array",
21
- "items": {
22
- "type": "string"
23
- }
24
- },
25
- "entry": {
26
- "type": "object",
27
- "properties": {
28
- "backend": {
29
- "type": "string"
30
- },
31
- "frontend": {
32
- "type": "string"
33
- }
34
- },
35
- "required": [
36
- "backend",
37
- "frontend"
38
- ],
39
- "additionalProperties": false
40
- },
41
- "minSDKVersion": {
42
- "type": "string"
43
- },
44
- "permissions": {
45
- "type": "object",
46
- "properties": {
47
- "frontend": {
48
- "type": "array",
49
- "items": {
50
- "type": "string"
51
- }
52
- },
53
- "backend": {
54
- "type": "array",
55
- "items": {
56
- "type": "string"
57
- }
58
- }
59
- },
60
- "required": [
61
- "frontend",
62
- "backend"
63
- ],
64
- "additionalProperties": false
65
- },
66
- "events": {
67
- "type": "array",
68
- "items": {
69
- "type": "string"
70
- }
71
- },
72
- "extends": {
73
- "type": "object",
74
- "properties": {
75
- "views": {
76
- "type": "object",
77
- "properties": {
78
- "workflows": {
79
- "type": "object",
80
- "properties": {
81
- "header": {
82
- "type": "string"
83
- }
84
- },
85
- "required": [
86
- "header"
87
- ],
88
- "additionalProperties": false
89
- }
90
- },
91
- "required": [
92
- "workflows"
93
- ],
94
- "additionalProperties": false
95
- }
96
- },
97
- "required": [
98
- "views"
99
- ],
100
- "additionalProperties": false
101
- }
102
- },
103
- "required": [
104
- "name",
105
- "displayName",
106
- "description",
107
- "publisher",
108
- "version",
109
- "categories",
110
- "entry",
111
- "minSDKVersion",
112
- "permissions",
113
- "events",
114
- "extends"
115
- ],
116
- "additionalProperties": false,
117
- "title": "N8nExtensionSchema",
118
- "$schema": "http://json-schema.org/draft-07/schema#"
119
- }
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#"
64
+ }