@n8n/extension-sdk 0.4.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 +1 -1
  2. package/schema.json +62 -105
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n8n/extension-sdk",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
package/schema.json CHANGED
@@ -1,107 +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": ["backend", "frontend"],
36
- "additionalProperties": false
37
- },
38
- "minSDKVersion": {
39
- "type": "string"
40
- },
41
- "permissions": {
42
- "type": "object",
43
- "properties": {
44
- "frontend": {
45
- "type": "array",
46
- "items": {
47
- "type": "string"
48
- }
49
- },
50
- "backend": {
51
- "type": "array",
52
- "items": {
53
- "type": "string"
54
- }
55
- }
56
- },
57
- "required": ["frontend", "backend"],
58
- "additionalProperties": false
59
- },
60
- "events": {
61
- "type": "array",
62
- "items": {
63
- "type": "string"
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
  }