codify-schemas 1.0.19 → 1.0.21

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.
@@ -1,9 +1,9 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://www.codify.com/config-file-schema.json",
4
4
  "title": "Config file Schema",
5
5
  "type": "array",
6
6
  "items": {
7
- "allOf": [{ "$ref": "resource-schema.json" }]
7
+ "$ref": "resource-schema.json"
8
8
  }
9
9
  }
package/dist/index.d.ts CHANGED
@@ -1,235 +1,207 @@
1
1
  declare const ConfigFileSchema: {
2
- default: {
3
- $schema: string;
4
- $id: string;
5
- title: string;
6
- type: string;
7
- items: {
8
- allOf: {
9
- $ref: string;
10
- }[];
11
- };
2
+ $schema: string;
3
+ $id: string;
4
+ title: string;
5
+ type: string;
6
+ items: {
7
+ $ref: string;
12
8
  };
13
9
  };
14
10
  declare const ProjectSchema: {
15
- default: {
16
- $schema: string;
17
- $id: string;
18
- title: string;
19
- type: string;
20
- properties: {
21
- type: {
22
- description: string;
23
- type: string;
24
- const: string;
25
- };
26
- version: {
27
- description: string;
28
- type: string;
29
- pattern: string;
30
- };
31
- plugins: {
32
- type: string;
33
- patternProperties: {
34
- ".*": {
35
- type: string;
36
- };
11
+ $schema: string;
12
+ $id: string;
13
+ title: string;
14
+ type: string;
15
+ properties: {
16
+ type: {
17
+ description: string;
18
+ type: string;
19
+ const: string;
20
+ };
21
+ version: {
22
+ description: string;
23
+ type: string;
24
+ pattern: string;
25
+ };
26
+ plugins: {
27
+ type: string;
28
+ patternProperties: {
29
+ ".*": {
30
+ type: string;
37
31
  };
38
32
  };
39
- description: {
40
- description: string;
41
- type: string;
42
- };
43
33
  };
44
- additionalProperties: boolean;
45
- required: string[];
34
+ description: {
35
+ description: string;
36
+ type: string;
37
+ };
46
38
  };
39
+ additionalProperties: boolean;
40
+ required: string[];
47
41
  };
48
42
  declare const ResourceSchema: {
49
- default: {
50
- $schema: string;
51
- $id: string;
52
- title: string;
53
- type: string;
54
- properties: {
55
- type: {
56
- description: string;
57
- type: string;
58
- pattern: string;
59
- };
60
- name: {
61
- description: string;
62
- type: string;
63
- pattern: string;
64
- };
65
- dependsOn: {
43
+ $schema: string;
44
+ $id: string;
45
+ title: string;
46
+ type: string;
47
+ properties: {
48
+ type: {
49
+ description: string;
50
+ type: string;
51
+ pattern: string;
52
+ };
53
+ name: {
54
+ description: string;
55
+ type: string;
56
+ pattern: string;
57
+ };
58
+ dependsOn: {
59
+ type: string;
60
+ items: {
66
61
  type: string;
67
- items: {
68
- type: string;
69
- };
70
- uniqueItems: boolean;
71
62
  };
63
+ uniqueItems: boolean;
72
64
  };
73
- required: string[];
74
65
  };
66
+ required: string[];
75
67
  };
76
68
  declare const IpcMessageSchema: {
77
- default: {
78
- $schema: string;
79
- $id: string;
80
- title: string;
81
- type: string;
82
- properties: {
83
- cmd: {
84
- description: string;
85
- type: string;
86
- };
87
- status: {
88
- description: string;
89
- type: string;
90
- enum: string[];
91
- };
92
- data: {
93
- description: string;
94
- };
69
+ $schema: string;
70
+ $id: string;
71
+ title: string;
72
+ type: string;
73
+ properties: {
74
+ cmd: {
75
+ description: string;
76
+ type: string;
77
+ };
78
+ status: {
79
+ description: string;
80
+ type: string;
81
+ enum: string[];
82
+ };
83
+ data: {
84
+ description: string;
95
85
  };
96
- required: string[];
97
86
  };
87
+ required: string[];
98
88
  };
99
89
  declare const ApplyRequestDataSchema: {
100
- default: {
101
- $schema: string;
102
- $id: string;
103
- title: string;
104
- description: string;
105
- type: string;
106
- properties: {
107
- planId: {
108
- description: string;
109
- type: string;
110
- format: string;
111
- };
90
+ $schema: string;
91
+ $id: string;
92
+ title: string;
93
+ description: string;
94
+ type: string;
95
+ properties: {
96
+ planId: {
97
+ description: string;
98
+ type: string;
99
+ format: string;
112
100
  };
113
- required: string[];
114
- additionalProperties: boolean;
115
101
  };
102
+ required: string[];
103
+ additionalProperties: boolean;
116
104
  };
117
105
  declare const ApplyResponseDataSchema: {
118
- default: {
119
- $schema: string;
120
- $id: string;
121
- title: string;
122
- type: string;
123
- };
106
+ $schema: string;
107
+ $id: string;
108
+ title: string;
109
+ type: string;
124
110
  };
125
111
  declare const ErrorResponseDataSchema: {
126
- default: {
127
- $schema: string;
128
- $id: string;
129
- title: string;
130
- type: string;
131
- properties: {
132
- reason: {
133
- description: string;
134
- type: string;
135
- };
112
+ $schema: string;
113
+ $id: string;
114
+ title: string;
115
+ type: string;
116
+ properties: {
117
+ reason: {
118
+ description: string;
119
+ type: string;
136
120
  };
137
- required: string[];
138
- additionalProperties: boolean;
139
121
  };
122
+ required: string[];
123
+ additionalProperties: boolean;
140
124
  };
141
125
  declare const PlanRequestDataSchema: {
142
- default: {
143
- $schema: string;
144
- $id: string;
145
- title: string;
146
- allOf: {
147
- $ref: string;
148
- }[];
149
- };
126
+ $schema: string;
127
+ $id: string;
128
+ title: string;
129
+ $ref: string;
150
130
  };
151
131
  declare const PlanResponseDataSchema: {
152
- default: {
153
- $schema: string;
154
- $id: string;
155
- title: string;
156
- type: string;
157
- properties: {
158
- planId: {
159
- description: string;
160
- type: string;
161
- format: string;
162
- };
163
- operation: {
164
- description: string;
165
- type: string;
166
- enum: string[];
167
- };
168
- resourceType: {
169
- description: string;
170
- type: string;
171
- };
172
- resourceName: {
173
- description: string;
174
- type: string[];
175
- };
176
- parameters: {
177
- description: string;
178
- type: string;
179
- items: {
180
- type: string;
181
- properties: {
182
- name: {
183
- description: string;
184
- type: string;
185
- };
186
- operation: {
187
- description: string;
188
- type: string;
189
- enum: string[];
190
- };
191
- previousValue: {
192
- description: string;
193
- };
194
- newValue: {
195
- description: string;
196
- };
132
+ $schema: string;
133
+ $id: string;
134
+ title: string;
135
+ type: string;
136
+ properties: {
137
+ planId: {
138
+ description: string;
139
+ type: string;
140
+ format: string;
141
+ };
142
+ operation: {
143
+ description: string;
144
+ type: string;
145
+ enum: string[];
146
+ };
147
+ resourceType: {
148
+ description: string;
149
+ type: string;
150
+ };
151
+ resourceName: {
152
+ description: string;
153
+ type: string[];
154
+ };
155
+ parameters: {
156
+ description: string;
157
+ type: string;
158
+ items: {
159
+ type: string;
160
+ properties: {
161
+ name: {
162
+ description: string;
163
+ type: string;
164
+ };
165
+ operation: {
166
+ description: string;
167
+ type: string;
168
+ enum: string[];
169
+ };
170
+ previousValue: {
171
+ description: string;
172
+ };
173
+ newValue: {
174
+ description: string;
197
175
  };
198
- required: string[];
199
176
  };
177
+ required: string[];
200
178
  };
201
179
  };
202
- required: string[];
203
- additionalProperties: boolean;
204
180
  };
181
+ required: string[];
182
+ additionalProperties: boolean;
205
183
  };
206
184
  declare const ValidateRequestDataSchema: {
207
- default: {
208
- $schema: string;
209
- $id: string;
210
- title: string;
211
- type: string;
212
- properties: {
213
- configs: {
214
- type: string;
215
- items: {
216
- allOf: {
217
- $ref: string;
218
- }[];
219
- };
185
+ $schema: string;
186
+ $id: string;
187
+ title: string;
188
+ type: string;
189
+ properties: {
190
+ configs: {
191
+ type: string;
192
+ items: {
193
+ $ref: string;
220
194
  };
221
195
  };
222
- required: never[];
223
- additionalProperties: boolean;
224
196
  };
197
+ required: never[];
198
+ additionalProperties: boolean;
225
199
  };
226
200
  declare const ValidateResponseDataSchema: {
227
- default: {
228
- $schema: string;
229
- $id: string;
230
- title: string;
231
- type: string;
232
- };
201
+ $schema: string;
202
+ $id: string;
203
+ title: string;
204
+ type: string;
233
205
  };
234
206
  export { ConfigFileSchema, ProjectSchema, ResourceSchema, IpcMessageSchema, ApplyRequestDataSchema, ApplyResponseDataSchema, ErrorResponseDataSchema, PlanRequestDataSchema, PlanResponseDataSchema, ValidateRequestDataSchema, ValidateResponseDataSchema, };
235
207
  export * from './types/index.js';
package/dist/index.js CHANGED
@@ -1,36 +1,36 @@
1
- const ConfigFileSchema = await import('./config-file-schema.json', {
1
+ const ConfigFileSchema = (await import('./config-file-schema.json', {
2
2
  assert: { type: 'json' }
3
- });
4
- const ProjectSchema = await import('./project-schema.json', {
3
+ })).default;
4
+ const ProjectSchema = (await import('./project-schema.json', {
5
5
  assert: { type: 'json' }
6
- });
7
- const ResourceSchema = await import('./resource-schema.json', {
6
+ })).default;
7
+ const ResourceSchema = (await import('./resource-schema.json', {
8
8
  assert: { type: 'json' }
9
- });
10
- const IpcMessageSchema = await import('./ipc-message-schema.json', {
9
+ })).default;
10
+ const IpcMessageSchema = (await import('./ipc-message-schema.json', {
11
11
  assert: { type: 'json' }
12
- });
13
- const ApplyRequestDataSchema = await import('./messages/apply-request-data-schema.json', {
12
+ })).default;
13
+ const ApplyRequestDataSchema = (await import('./messages/apply-request-data-schema.json', {
14
14
  assert: { type: 'json' }
15
- });
16
- const ApplyResponseDataSchema = await import('./messages/apply-response-data-schema.json', {
15
+ })).default;
16
+ const ApplyResponseDataSchema = (await import('./messages/apply-response-data-schema.json', {
17
17
  assert: { type: 'json' }
18
- });
19
- const ErrorResponseDataSchema = await import('./messages/error-response-data-schema.json', {
18
+ })).default;
19
+ const ErrorResponseDataSchema = (await import('./messages/error-response-data-schema.json', {
20
20
  assert: { type: 'json' }
21
- });
22
- const PlanRequestDataSchema = await import('./messages/plan-request-data-schema.json', {
21
+ })).default;
22
+ const PlanRequestDataSchema = (await import('./messages/plan-request-data-schema.json', {
23
23
  assert: { type: 'json' }
24
- });
25
- const PlanResponseDataSchema = await import('./messages/plan-response-data-schema.json', {
24
+ })).default;
25
+ const PlanResponseDataSchema = (await import('./messages/plan-response-data-schema.json', {
26
26
  assert: { type: 'json' }
27
- });
28
- const ValidateRequestDataSchema = await import('./messages/validate-request-data-schema.json', {
27
+ })).default;
28
+ const ValidateRequestDataSchema = (await import('./messages/validate-request-data-schema.json', {
29
29
  assert: { type: 'json' }
30
- });
31
- const ValidateResponseDataSchema = await import('./messages/validate-response-data-schema.json', {
30
+ })).default;
31
+ const ValidateResponseDataSchema = (await import('./messages/validate-response-data-schema.json', {
32
32
  assert: { type: 'json' }
33
- });
33
+ })).default;
34
34
  export { ConfigFileSchema, ProjectSchema, ResourceSchema, IpcMessageSchema, ApplyRequestDataSchema, ApplyResponseDataSchema, ErrorResponseDataSchema, PlanRequestDataSchema, PlanResponseDataSchema, ValidateRequestDataSchema, ValidateResponseDataSchema, };
35
35
  export * from './types/index.js';
36
36
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG,MAAM,MAAM,CAAC,2BAA2B,EAAE;IACjE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAA;AACF,MAAM,aAAa,GAAG,MAAM,MAAM,CAAC,uBAAuB,EAAE;IAC1D,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAA;AACF,MAAM,cAAc,GAAG,MAAM,MAAM,CAAC,wBAAwB,EAAE;IAC5D,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAA;AACF,MAAM,gBAAgB,GAAG,MAAM,MAAM,CAAC,2BAA2B,EAAE;IACjE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAA;AACF,MAAM,sBAAsB,GAAG,MAAM,MAAM,CAAC,2CAA2C,EAAE;IACvF,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAA;AACF,MAAM,uBAAuB,GAAG,MAAM,MAAM,CAAC,4CAA4C,EAAE;IACzF,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAA;AACF,MAAM,uBAAuB,GAAG,MAAM,MAAM,CAAC,4CAA4C,EAAE;IACzF,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAA;AACF,MAAM,qBAAqB,GAAG,MAAM,MAAM,CAAC,0CAA0C,E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BAAqB,EACrB,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,GAC3B,CAAA;AAED,cAAc,kBAAkB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://www.codify.com/ipc-message-schema.json",
4
4
  "title": "IPC Message Schema",
5
5
  "type": "object",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://www.codify.com/apply-request-data-schema.json",
4
4
  "title": "Apply Request Schema Data",
5
5
  "description": "Apply the previously generated plan. The plan must already be generated in order for apply to work.",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://www.codify.com/apply-response-data-schema.json",
4
4
  "title": "Apply Response Schema Data",
5
5
  "type": "null"
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://www.codify.com/error-response-data-schema.json",
4
4
  "title": "Error Response Schema Data",
5
5
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://www.codify.com/plan-request-data-schema.json",
4
4
  "title": "Plan Request Schema Data",
5
- "allOf": [{ "$ref": "resource-schema.json" }]
5
+ "$ref": "resource-schema.json"
6
6
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://www.codify.com/plan-response-data-schema.json",
4
4
  "title": "Plan Response Schema Data",
5
5
  "type": "object",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://www.codify.com/validate-request-data-schema.json",
4
4
  "title": "Validate Request Schema Data",
5
5
  "type": "object",
@@ -7,7 +7,7 @@
7
7
  "configs": {
8
8
  "type": "array",
9
9
  "items": {
10
- "allOf": [{ "$ref": "resource-schema.json" }]
10
+ "$ref": "resource-schema.json"
11
11
  }
12
12
  }
13
13
  },
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://www.codify.com/validate-response-data-schema.json",
4
4
  "title": "Validate Response Schema Data",
5
5
  "type": "null"
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://www.codify.com/resource-schema.json",
4
4
  "title": "Resource Schema",
5
5
  "type": "object",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema",
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://www.codify.com/resource-schema.json",
4
4
  "title": "Resource Schema",
5
5
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codify-schemas",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -1,36 +1,36 @@
1
- const ConfigFileSchema = await import('./config-file-schema.json', {
1
+ const ConfigFileSchema = (await import('./config-file-schema.json', {
2
2
  assert: { type: 'json'}
3
- })
4
- const ProjectSchema = await import('./project-schema.json', {
3
+ })).default;
4
+ const ProjectSchema = (await import('./project-schema.json', {
5
5
  assert: { type: 'json'}
6
- })
7
- const ResourceSchema = await import('./resource-schema.json', {
6
+ })).default;
7
+ const ResourceSchema = (await import('./resource-schema.json', {
8
8
  assert: { type: 'json'}
9
- })
10
- const IpcMessageSchema = await import('./ipc-message-schema.json', {
9
+ })).default;
10
+ const IpcMessageSchema = (await import('./ipc-message-schema.json', {
11
11
  assert: { type: 'json'}
12
- })
13
- const ApplyRequestDataSchema = await import('./messages/apply-request-data-schema.json', {
12
+ })).default;
13
+ const ApplyRequestDataSchema = (await import('./messages/apply-request-data-schema.json', {
14
14
  assert: { type: 'json'}
15
- })
16
- const ApplyResponseDataSchema = await import('./messages/apply-response-data-schema.json', {
15
+ })).default;
16
+ const ApplyResponseDataSchema = (await import('./messages/apply-response-data-schema.json', {
17
17
  assert: { type: 'json'}
18
- })
19
- const ErrorResponseDataSchema = await import('./messages/error-response-data-schema.json', {
18
+ })).default;
19
+ const ErrorResponseDataSchema = (await import('./messages/error-response-data-schema.json', {
20
20
  assert: { type: 'json'}
21
- })
22
- const PlanRequestDataSchema = await import('./messages/plan-request-data-schema.json', {
21
+ })).default;
22
+ const PlanRequestDataSchema = (await import('./messages/plan-request-data-schema.json', {
23
23
  assert: { type: 'json'}
24
- })
25
- const PlanResponseDataSchema = await import('./messages/plan-response-data-schema.json', {
24
+ })).default;
25
+ const PlanResponseDataSchema = (await import('./messages/plan-response-data-schema.json', {
26
26
  assert: { type: 'json'}
27
- })
28
- const ValidateRequestDataSchema = await import('./messages/validate-request-data-schema.json', {
27
+ })).default
28
+ const ValidateRequestDataSchema = (await import('./messages/validate-request-data-schema.json', {
29
29
  assert: { type: 'json'}
30
- })
31
- const ValidateResponseDataSchema = await import('./messages/validate-response-data-schema.json', {
30
+ })).default;
31
+ const ValidateResponseDataSchema = (await import('./messages/validate-response-data-schema.json', {
32
32
  assert: { type: 'json'}
33
- })
33
+ })).default;
34
34
 
35
35
  export {
36
36
  ConfigFileSchema,