@cloudcannon/configuration-types 0.0.53 → 0.0.54

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,6 +1,5 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://github.com/cloudcannon/configuration-types/releases/latest/download/cloudcannon-snippets-definitions.schema.json",
4
3
  "type": "object",
5
4
  "propertyNames": {
6
5
  "type": "string"
@@ -8,10 +7,9 @@
8
7
  "additionalProperties": {
9
8
  "$ref": "#/definitions/type.snippet-definition-value"
10
9
  },
10
+ "$id": "https://github.com/cloudcannon/configuration-types/releases/latest/download/cloudcannon-snippets-definitions.schema.json",
11
11
  "definitions": {
12
12
  "type.snippet-definition-value": {
13
- "title": "Snippet Definition Value",
14
- "description": "A reusable value that can be referenced in snippet templates via { ref: \"key\" } or { spread_ref: \"key\" }.",
15
13
  "anyOf": [
16
14
  {
17
15
  "$ref": "#/definitions/type.snippet-format"
@@ -20,51 +18,53 @@
20
18
  "$ref": "#/definitions/type.snippet-model"
21
19
  },
22
20
  {
23
- "title": "Parser Model Array",
24
- "description": "An array of model configurations, typically used for positional_args or named_args.",
25
21
  "type": "array",
26
22
  "items": {
27
23
  "$ref": "#/definitions/type.snippet-model"
28
24
  },
25
+ "title": "Parser Model Array",
26
+ "description": "An array of model configurations, typically used for positional_args or named_args.",
29
27
  "markdownDescription": "An array of model configurations, typically used for positional_args or named_args."
30
28
  },
31
29
  {
32
- "title": "Select Values Array",
33
- "description": "An array of select options, typically used for language lists.",
34
30
  "type": "array",
35
31
  "items": {
36
32
  "$ref": "#/definitions/type.snippet-definition-select-value"
37
33
  },
34
+ "title": "Select Values Array",
35
+ "description": "An array of select options, typically used for language lists.",
38
36
  "markdownDescription": "An array of select options, typically used for language lists."
39
37
  },
40
38
  {
39
+ "type": "string",
41
40
  "title": "String Value",
42
41
  "description": "A string value, commonly used for shortcode_name, tag_name, content_key, and similar definitions.",
43
- "type": "string",
44
42
  "markdownDescription": "A string value, commonly used for shortcode_name, tag_name, content_key, and similar definitions."
45
43
  },
46
44
  {
45
+ "type": "number",
47
46
  "title": "Number Value",
48
47
  "description": "A numeric value.",
49
- "type": "number",
50
48
  "markdownDescription": "A numeric value."
51
49
  },
52
50
  {
51
+ "type": "boolean",
53
52
  "title": "Boolean Value",
54
53
  "description": "A boolean value.",
55
- "type": "boolean",
56
54
  "markdownDescription": "A boolean value."
57
55
  },
58
56
  {
59
- "title": "String Array",
60
- "description": "An array of strings.",
61
57
  "type": "array",
62
58
  "items": {
63
59
  "type": "string"
64
60
  },
61
+ "title": "String Array",
62
+ "description": "An array of strings.",
65
63
  "markdownDescription": "An array of strings."
66
64
  }
67
65
  ],
66
+ "title": "Snippet Definition Value",
67
+ "description": "A reusable value that can be referenced in snippet templates via { ref: \"key\" } or { spread_ref: \"key\" }.",
68
68
  "markdownDescription": "A reusable value that can be referenced in snippet templates via { ref: \"key\" } or { spread_ref: \"key\" }."
69
69
  },
70
70
  "type.snippet-format": {
@@ -249,8 +249,6 @@
249
249
  "additionalProperties": false
250
250
  },
251
251
  "type.snippet-definition-select-value": {
252
- "title": "Snippet Definition Select Value",
253
- "description": "A value option for select inputs, typically used in language lists.",
254
252
  "type": "object",
255
253
  "properties": {
256
254
  "name": {
@@ -259,21 +257,21 @@
259
257
  "markdownDescription": "The display name for this option."
260
258
  },
261
259
  "value": {
262
- "description": "The value for this option.",
263
260
  "anyOf": [
264
261
  {
265
- "title": "String",
266
- "type": "string"
262
+ "type": "string",
263
+ "title": "String"
267
264
  },
268
265
  {
269
- "title": "Number",
270
- "type": "number"
266
+ "type": "number",
267
+ "title": "Number"
271
268
  },
272
269
  {
273
- "title": "Boolean",
274
- "type": "boolean"
270
+ "type": "boolean",
271
+ "title": "Boolean"
275
272
  }
276
273
  ],
274
+ "description": "The value for this option.",
277
275
  "markdownDescription": "The value for this option."
278
276
  }
279
277
  },
@@ -281,6 +279,8 @@
281
279
  "value"
282
280
  ],
283
281
  "additionalProperties": false,
282
+ "title": "Snippet Definition Select Value",
283
+ "description": "A value option for select inputs, typically used in language lists.",
284
284
  "markdownDescription": "A value option for select inputs, typically used in language lists."
285
285
  }
286
286
  }
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "Snippets Imports",
4
3
  "$id": "https://github.com/cloudcannon/configuration-types/releases/latest/download/cloudcannon-snippets-imports.schema.json",
5
4
  "allOf": [
6
5
  {
@@ -8,40 +7,6 @@
8
7
  }
9
8
  ],
10
9
  "definitions": {
11
- "type._snippets_imports": {
12
- "title": "Snippets Imports",
13
- "type": "object",
14
- "properties": {
15
- "hugo": {
16
- "$ref": "#/definitions/_snippets_imports.hugo"
17
- },
18
- "jekyll": {
19
- "$ref": "#/definitions/_snippets_imports.jekyll"
20
- },
21
- "mdx": {
22
- "$ref": "#/definitions/_snippets_imports.mdx"
23
- },
24
- "eleventy_liquid": {
25
- "$ref": "#/definitions/_snippets_imports.eleventy_liquid"
26
- },
27
- "eleventy_nunjucks": {
28
- "$ref": "#/definitions/_snippets_imports.eleventy_nunjucks"
29
- },
30
- "markdoc": {
31
- "$ref": "#/definitions/_snippets_imports.markdoc"
32
- },
33
- "python_markdown_extensions": {
34
- "$ref": "#/definitions/_snippets_imports.python_markdown_extensions"
35
- },
36
- "docusaurus_mdx": {
37
- "$ref": "#/definitions/_snippets_imports.docusaurus_mdx"
38
- }
39
- },
40
- "additionalProperties": false,
41
- "documented": true,
42
- "description": "This key defines snippet templates or libraries for your Site.\n\nSome libraries are SSG specific while others work for most SSGs.\n\nFor more information, please read our documentation on [Docusaurus Components](https://cloudcannon.com/documentation/articles/snippets-using-docusaurus-components/),\n[Eleventy Shortcodes](https://cloudcannon.com/documentation/articles/snippets-using-eleventy-shortcodes/), [Hugo Shortcodes](https://cloudcannon.com/documentation/articles/snippets-using-hugo-shortcodes/), [MDX Components](https://cloudcannon.com/documentation/articles/snippets-using-mdx-components/), or [Python Markdown](https://cloudcannon.com/documentation/articles/snippets-using-python-markdown/).\n\n## Examples\n\nIn this example, we have configured Hugo shortcode imports for the Site.\n\n```yaml\n_snippets_imports:\n hugo:\n include:\n - figure\n - youtube\n```",
43
- "markdownDescription": "This key defines snippet templates or libraries for your Site.\n\nSome libraries are SSG specific while others work for most SSGs.\n\nFor more information, please read our documentation on [Docusaurus Components](https://cloudcannon.com/documentation/articles/snippets-using-docusaurus-components/),\n[Eleventy Shortcodes](https://cloudcannon.com/documentation/articles/snippets-using-eleventy-shortcodes/), [Hugo Shortcodes](https://cloudcannon.com/documentation/articles/snippets-using-hugo-shortcodes/), [MDX Components](https://cloudcannon.com/documentation/articles/snippets-using-mdx-components/), or [Python Markdown](https://cloudcannon.com/documentation/articles/snippets-using-python-markdown/).\n\n## Examples\n\nIn this example, we have configured Hugo shortcode imports for the Site.\n\n```yaml\n_snippets_imports:\n hugo:\n include:\n - figure\n - youtube\n```"
44
- },
45
10
  "_snippets_imports.hugo": {
46
11
  "uniqueItems": true,
47
12
  "anyOf": [
@@ -49,7 +14,6 @@
49
14
  "$ref": "#/definitions/type._snippets_imports.*.(full-import)"
50
15
  },
51
16
  {
52
- "title": "Snippets Imports Exclude List",
53
17
  "type": "object",
54
18
  "properties": {
55
19
  "exclude": {
@@ -60,10 +24,10 @@
60
24
  "exclude"
61
25
  ],
62
26
  "additionalProperties": false,
27
+ "title": "Snippets Imports Exclude List",
63
28
  "documented": true
64
29
  },
65
30
  {
66
- "title": "Snippets Imports Include List",
67
31
  "type": "object",
68
32
  "properties": {
69
33
  "include": {
@@ -74,6 +38,7 @@
74
38
  "include"
75
39
  ],
76
40
  "additionalProperties": false,
41
+ "title": "Snippets Imports Include List",
77
42
  "documented": true
78
43
  }
79
44
  ],
@@ -81,30 +46,30 @@
81
46
  "title": "hugo"
82
47
  },
83
48
  "type._snippets_imports.*.(full-import)": {
84
- "title": "Snippets Imports Full Import",
85
49
  "type": "boolean",
50
+ "title": "Snippets Imports Full Import",
86
51
  "documented": true
87
52
  },
88
53
  "SnippetImportExclude": {
89
- "description": "This key defines the list of excluded snippets.\n\nIf unset, all snippets are excluded unless defined in `include`.",
90
54
  "type": "array",
91
55
  "items": {
92
56
  "type": "string",
93
57
  "documented": true,
94
58
  "title": "exclude[*]"
95
59
  },
60
+ "description": "This key defines the list of excluded snippets.\n\nIf unset, all snippets are excluded unless defined in `include`.",
96
61
  "documented": true,
97
62
  "title": "exclude",
98
63
  "markdownDescription": "This key defines the list of excluded snippets.\n\nIf unset, all snippets are excluded unless defined in `include`."
99
64
  },
100
65
  "SnippetImportInclude": {
101
- "description": "This key defines the list of included snippets.\n\nIf unset, all snippets are included unless defined in `exclude`.",
102
66
  "type": "array",
103
67
  "items": {
104
68
  "type": "string",
105
69
  "documented": true,
106
70
  "title": "include[*]"
107
71
  },
72
+ "description": "This key defines the list of included snippets.\n\nIf unset, all snippets are included unless defined in `exclude`.",
108
73
  "documented": true,
109
74
  "title": "include",
110
75
  "markdownDescription": "This key defines the list of included snippets.\n\nIf unset, all snippets are included unless defined in `exclude`."
@@ -116,7 +81,6 @@
116
81
  "$ref": "#/definitions/type._snippets_imports.*.(full-import)"
117
82
  },
118
83
  {
119
- "title": "Snippets Imports Exclude List",
120
84
  "type": "object",
121
85
  "properties": {
122
86
  "exclude": {
@@ -127,10 +91,10 @@
127
91
  "exclude"
128
92
  ],
129
93
  "additionalProperties": false,
94
+ "title": "Snippets Imports Exclude List",
130
95
  "documented": true
131
96
  },
132
97
  {
133
- "title": "Snippets Imports Include List",
134
98
  "type": "object",
135
99
  "properties": {
136
100
  "include": {
@@ -141,6 +105,7 @@
141
105
  "include"
142
106
  ],
143
107
  "additionalProperties": false,
108
+ "title": "Snippets Imports Include List",
144
109
  "documented": true
145
110
  }
146
111
  ],
@@ -154,7 +119,6 @@
154
119
  "$ref": "#/definitions/type._snippets_imports.*.(full-import)"
155
120
  },
156
121
  {
157
- "title": "Snippets Imports Exclude List",
158
122
  "type": "object",
159
123
  "properties": {
160
124
  "exclude": {
@@ -165,10 +129,10 @@
165
129
  "exclude"
166
130
  ],
167
131
  "additionalProperties": false,
132
+ "title": "Snippets Imports Exclude List",
168
133
  "documented": true
169
134
  },
170
135
  {
171
- "title": "Snippets Imports Include List",
172
136
  "type": "object",
173
137
  "properties": {
174
138
  "include": {
@@ -179,6 +143,7 @@
179
143
  "include"
180
144
  ],
181
145
  "additionalProperties": false,
146
+ "title": "Snippets Imports Include List",
182
147
  "documented": true
183
148
  }
184
149
  ],
@@ -192,7 +157,6 @@
192
157
  "$ref": "#/definitions/type._snippets_imports.*.(full-import)"
193
158
  },
194
159
  {
195
- "title": "Snippets Imports Exclude List",
196
160
  "type": "object",
197
161
  "properties": {
198
162
  "exclude": {
@@ -203,10 +167,10 @@
203
167
  "exclude"
204
168
  ],
205
169
  "additionalProperties": false,
170
+ "title": "Snippets Imports Exclude List",
206
171
  "documented": true
207
172
  },
208
173
  {
209
- "title": "Snippets Imports Include List",
210
174
  "type": "object",
211
175
  "properties": {
212
176
  "include": {
@@ -217,6 +181,7 @@
217
181
  "include"
218
182
  ],
219
183
  "additionalProperties": false,
184
+ "title": "Snippets Imports Include List",
220
185
  "documented": true
221
186
  }
222
187
  ],
@@ -230,7 +195,6 @@
230
195
  "$ref": "#/definitions/type._snippets_imports.*.(full-import)"
231
196
  },
232
197
  {
233
- "title": "Snippets Imports Exclude List",
234
198
  "type": "object",
235
199
  "properties": {
236
200
  "exclude": {
@@ -241,10 +205,10 @@
241
205
  "exclude"
242
206
  ],
243
207
  "additionalProperties": false,
208
+ "title": "Snippets Imports Exclude List",
244
209
  "documented": true
245
210
  },
246
211
  {
247
- "title": "Snippets Imports Include List",
248
212
  "type": "object",
249
213
  "properties": {
250
214
  "include": {
@@ -255,6 +219,7 @@
255
219
  "include"
256
220
  ],
257
221
  "additionalProperties": false,
222
+ "title": "Snippets Imports Include List",
258
223
  "documented": true
259
224
  }
260
225
  ],
@@ -268,7 +233,6 @@
268
233
  "$ref": "#/definitions/type._snippets_imports.*.(full-import)"
269
234
  },
270
235
  {
271
- "title": "Snippets Imports Exclude List",
272
236
  "type": "object",
273
237
  "properties": {
274
238
  "exclude": {
@@ -279,10 +243,10 @@
279
243
  "exclude"
280
244
  ],
281
245
  "additionalProperties": false,
246
+ "title": "Snippets Imports Exclude List",
282
247
  "documented": true
283
248
  },
284
249
  {
285
- "title": "Snippets Imports Include List",
286
250
  "type": "object",
287
251
  "properties": {
288
252
  "include": {
@@ -293,6 +257,7 @@
293
257
  "include"
294
258
  ],
295
259
  "additionalProperties": false,
260
+ "title": "Snippets Imports Include List",
296
261
  "documented": true
297
262
  }
298
263
  ],
@@ -306,7 +271,6 @@
306
271
  "$ref": "#/definitions/type._snippets_imports.*.(full-import)"
307
272
  },
308
273
  {
309
- "title": "Snippets Imports Exclude List",
310
274
  "type": "object",
311
275
  "properties": {
312
276
  "exclude": {
@@ -317,10 +281,10 @@
317
281
  "exclude"
318
282
  ],
319
283
  "additionalProperties": false,
284
+ "title": "Snippets Imports Exclude List",
320
285
  "documented": true
321
286
  },
322
287
  {
323
- "title": "Snippets Imports Include List",
324
288
  "type": "object",
325
289
  "properties": {
326
290
  "include": {
@@ -331,6 +295,7 @@
331
295
  "include"
332
296
  ],
333
297
  "additionalProperties": false,
298
+ "title": "Snippets Imports Include List",
334
299
  "documented": true
335
300
  }
336
301
  ],
@@ -344,7 +309,6 @@
344
309
  "$ref": "#/definitions/type._snippets_imports.*.(full-import)"
345
310
  },
346
311
  {
347
- "title": "Snippets Imports Exclude List",
348
312
  "type": "object",
349
313
  "properties": {
350
314
  "exclude": {
@@ -355,10 +319,10 @@
355
319
  "exclude"
356
320
  ],
357
321
  "additionalProperties": false,
322
+ "title": "Snippets Imports Exclude List",
358
323
  "documented": true
359
324
  },
360
325
  {
361
- "title": "Snippets Imports Include List",
362
326
  "type": "object",
363
327
  "properties": {
364
328
  "include": {
@@ -369,12 +333,48 @@
369
333
  "include"
370
334
  ],
371
335
  "additionalProperties": false,
336
+ "title": "Snippets Imports Include List",
372
337
  "documented": true
373
338
  }
374
339
  ],
375
340
  "documented": true,
376
341
  "title": "docusaurus_mdx"
342
+ },
343
+ "type._snippets_imports": {
344
+ "type": "object",
345
+ "properties": {
346
+ "hugo": {
347
+ "$ref": "#/definitions/_snippets_imports.hugo"
348
+ },
349
+ "jekyll": {
350
+ "$ref": "#/definitions/_snippets_imports.jekyll"
351
+ },
352
+ "mdx": {
353
+ "$ref": "#/definitions/_snippets_imports.mdx"
354
+ },
355
+ "eleventy_liquid": {
356
+ "$ref": "#/definitions/_snippets_imports.eleventy_liquid"
357
+ },
358
+ "eleventy_nunjucks": {
359
+ "$ref": "#/definitions/_snippets_imports.eleventy_nunjucks"
360
+ },
361
+ "markdoc": {
362
+ "$ref": "#/definitions/_snippets_imports.markdoc"
363
+ },
364
+ "python_markdown_extensions": {
365
+ "$ref": "#/definitions/_snippets_imports.python_markdown_extensions"
366
+ },
367
+ "docusaurus_mdx": {
368
+ "$ref": "#/definitions/_snippets_imports.docusaurus_mdx"
369
+ }
370
+ },
371
+ "additionalProperties": false,
372
+ "title": "Snippets Imports",
373
+ "documented": true,
374
+ "description": "This key defines snippet templates or libraries for your Site.\n\nSome libraries are SSG specific while others work for most SSGs.\n\nFor more information, please read our documentation on [Docusaurus Components](https://cloudcannon.com/documentation/articles/snippets-using-docusaurus-components/),\n[Eleventy Shortcodes](https://cloudcannon.com/documentation/articles/snippets-using-eleventy-shortcodes/), [Hugo Shortcodes](https://cloudcannon.com/documentation/articles/snippets-using-hugo-shortcodes/), [MDX Components](https://cloudcannon.com/documentation/articles/snippets-using-mdx-components/), or [Python Markdown](https://cloudcannon.com/documentation/articles/snippets-using-python-markdown/).\n\n## Examples\n\nIn this example, we have configured Hugo shortcode imports for the Site.\n\n```yaml\n_snippets_imports:\n hugo:\n include:\n - figure\n - youtube\n```",
375
+ "markdownDescription": "This key defines snippet templates or libraries for your Site.\n\nSome libraries are SSG specific while others work for most SSGs.\n\nFor more information, please read our documentation on [Docusaurus Components](https://cloudcannon.com/documentation/articles/snippets-using-docusaurus-components/),\n[Eleventy Shortcodes](https://cloudcannon.com/documentation/articles/snippets-using-eleventy-shortcodes/), [Hugo Shortcodes](https://cloudcannon.com/documentation/articles/snippets-using-hugo-shortcodes/), [MDX Components](https://cloudcannon.com/documentation/articles/snippets-using-mdx-components/), or [Python Markdown](https://cloudcannon.com/documentation/articles/snippets-using-python-markdown/).\n\n## Examples\n\nIn this example, we have configured Hugo shortcode imports for the Site.\n\n```yaml\n_snippets_imports:\n hugo:\n include:\n - figure\n - youtube\n```"
377
376
  }
378
377
  },
379
- "documented": false
378
+ "documented": false,
379
+ "title": ""
380
380
  }