@cloudcannon/configuration-types 0.0.45 → 0.0.46
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/cloudcannon-collections.schema.json +1 -1
- package/dist/cloudcannon-config.documentation.schema.json +1 -1
- package/dist/cloudcannon-config.latest.schema.json +1 -1
- package/dist/cloudcannon-config.legacy-eleventy.schema.json +1 -1
- package/dist/cloudcannon-config.legacy-hugo.schema.json +1 -1
- package/dist/cloudcannon-config.legacy-jekyll.schema.json +1 -1
- package/dist/cloudcannon-config.legacy-reader.schema.json +1 -1
- package/dist/documentation.json +18 -18
- package/package.json +1 -1
- package/src/collections.ts +1 -1
package/dist/documentation.json
CHANGED
|
@@ -430,8 +430,8 @@
|
|
|
430
430
|
"schemas": {
|
|
431
431
|
"gid": "collections_config.*.schemas"
|
|
432
432
|
},
|
|
433
|
-
"
|
|
434
|
-
"gid": "collections_config.*.
|
|
433
|
+
"schemas_from_glob": {
|
|
434
|
+
"gid": "collections_config.*.schemas_from_glob"
|
|
435
435
|
},
|
|
436
436
|
"schema_key": {
|
|
437
437
|
"gid": "collections_config.*.schema_key"
|
|
@@ -41939,47 +41939,47 @@
|
|
|
41939
41939
|
"parent": "type._editables_from_glob",
|
|
41940
41940
|
"appears_in": []
|
|
41941
41941
|
},
|
|
41942
|
-
"collections_config.*.
|
|
41943
|
-
"gid": "collections_config.*.
|
|
41942
|
+
"collections_config.*.schemas_from_glob": {
|
|
41943
|
+
"gid": "collections_config.*.schemas_from_glob",
|
|
41944
41944
|
"type": "array",
|
|
41945
41945
|
"documentation": {
|
|
41946
|
-
"gid": "collections_config.*.
|
|
41947
|
-
"url": "/collections_config/*/
|
|
41946
|
+
"gid": "collections_config.*.schemas_from_glob",
|
|
41947
|
+
"url": "/collections_config/*/schemas_from_glob/",
|
|
41948
41948
|
"title": "",
|
|
41949
41949
|
"description": "",
|
|
41950
41950
|
"examples": [],
|
|
41951
41951
|
"show_in_navigation": false
|
|
41952
41952
|
},
|
|
41953
41953
|
"developer_documentation": {},
|
|
41954
|
-
"url": "/collections_config/*/
|
|
41954
|
+
"url": "/collections_config/*/schemas_from_glob/",
|
|
41955
41955
|
"required": false,
|
|
41956
|
-
"key": "
|
|
41957
|
-
"full_key": "collections_config.*.
|
|
41956
|
+
"key": "schemas_from_glob",
|
|
41957
|
+
"full_key": "collections_config.*.schemas_from_glob",
|
|
41958
41958
|
"parent": "collections_config.*",
|
|
41959
41959
|
"appears_in": [],
|
|
41960
41960
|
"items": [
|
|
41961
41961
|
{
|
|
41962
|
-
"gid": "collections_config.*.
|
|
41962
|
+
"gid": "collections_config.*.schemas_from_glob.[*]"
|
|
41963
41963
|
}
|
|
41964
41964
|
]
|
|
41965
41965
|
},
|
|
41966
|
-
"collections_config.*.
|
|
41967
|
-
"gid": "collections_config.*.
|
|
41966
|
+
"collections_config.*.schemas_from_glob.[*]": {
|
|
41967
|
+
"gid": "collections_config.*.schemas_from_glob.[*]",
|
|
41968
41968
|
"type": "string",
|
|
41969
41969
|
"documentation": {
|
|
41970
|
-
"gid": "collections_config.*.
|
|
41971
|
-
"url": "/collections_config/*/
|
|
41970
|
+
"gid": "collections_config.*.schemas_from_glob.[*]",
|
|
41971
|
+
"url": "/collections_config/*/schemas_from_glob/[*]/",
|
|
41972
41972
|
"title": "",
|
|
41973
41973
|
"description": "",
|
|
41974
41974
|
"examples": [],
|
|
41975
41975
|
"show_in_navigation": false
|
|
41976
41976
|
},
|
|
41977
41977
|
"developer_documentation": {},
|
|
41978
|
-
"url": "/collections_config/*/
|
|
41978
|
+
"url": "/collections_config/*/schemas_from_glob/[*]/",
|
|
41979
41979
|
"required": false,
|
|
41980
|
-
"key": "
|
|
41981
|
-
"full_key": "collections_config.*.
|
|
41982
|
-
"parent": "collections_config.*.
|
|
41980
|
+
"key": "schemas_from_glob[*]",
|
|
41981
|
+
"full_key": "collections_config.*.schemas_from_glob[*]",
|
|
41982
|
+
"parent": "collections_config.*.schemas_from_glob",
|
|
41983
41983
|
"appears_in": []
|
|
41984
41984
|
},
|
|
41985
41985
|
"collections_config.*.schema_key": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcannon/configuration-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.46",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Contains TypeScript declarations and generates JSONSchema files for the CloudCannon configuration file.",
|
|
6
6
|
"author": "CloudCannon <support@cloudcannon.com>",
|
package/src/collections.ts
CHANGED
|
@@ -231,7 +231,7 @@ export const CollectionConfigSchema = z
|
|
|
231
231
|
description:
|
|
232
232
|
'This key defines which Schemas are available to populate files in this Collection.',
|
|
233
233
|
}),
|
|
234
|
-
|
|
234
|
+
schemas_from_glob: z.array(z.string()).optional(),
|
|
235
235
|
schema_key: z.string().optional().meta({
|
|
236
236
|
description:
|
|
237
237
|
'This key defines the name for the structured data key that references the Schema a file uses.',
|