@cloudcannon/configuration-types 0.0.18 → 0.0.20
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-config.schema.json +521 -331
- package/package.json +1 -1
- package/src/build-coupled.d.ts +7 -7
- package/src/configuration.d.ts +302 -146
- package/src/index.d.ts +20 -0
- package/src/markdown.d.ts +15 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcannon/configuration-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"description": "Contains TypeScript declarations and generates JSONSchema files for the CloudCannon configuration file.",
|
|
5
5
|
"author": "CloudCannon <support@cloudcannon.com>",
|
|
6
6
|
"license": "MIT",
|
package/src/build-coupled.d.ts
CHANGED
|
@@ -137,11 +137,11 @@ export type EleventyConfiguration = JekyllConfiguration;
|
|
|
137
137
|
export type ParsedDataset =
|
|
138
138
|
| string[]
|
|
139
139
|
| Record<string, string>
|
|
140
|
-
| Record<string, Record<string,
|
|
141
|
-
| Record<string,
|
|
140
|
+
| Record<string, Record<string, unknown>>
|
|
141
|
+
| Record<string, unknown>[];
|
|
142
142
|
|
|
143
143
|
interface ParsedCollectionItem {
|
|
144
|
-
[index: string]:
|
|
144
|
+
[index: string]: unknown;
|
|
145
145
|
/**
|
|
146
146
|
* The path to the file this was parsed from.
|
|
147
147
|
*/
|
|
@@ -149,7 +149,7 @@ interface ParsedCollectionItem {
|
|
|
149
149
|
/**
|
|
150
150
|
* The collection key this is assigned to. Matches keys in `collections_config`.
|
|
151
151
|
*/
|
|
152
|
-
collection
|
|
152
|
+
collection?: string;
|
|
153
153
|
/**
|
|
154
154
|
* The URL this file is served at once built.
|
|
155
155
|
*/
|
|
@@ -201,12 +201,12 @@ interface WithIntegrationOutput {
|
|
|
201
201
|
/**
|
|
202
202
|
* The output from build-coupled non-Jekyll/Hugo/Eleventy sites.
|
|
203
203
|
*/
|
|
204
|
-
export
|
|
204
|
+
export type IntegrationOutput = Configuration & WithIntegrationOutput;
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
207
|
* The output from build-coupled Hugo sites.
|
|
208
208
|
*/
|
|
209
|
-
export
|
|
209
|
+
export type HugoIntegrationOutput = HugoConfiguration & WithIntegrationOutput;
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
212
|
* The output from build-coupled Jekyll sites.
|
|
@@ -221,4 +221,4 @@ export interface JekyllIntegrationOutput extends JekyllConfiguration, WithIntegr
|
|
|
221
221
|
/**
|
|
222
222
|
* The output from build-coupled Eleventy sites.
|
|
223
223
|
*/
|
|
224
|
-
export
|
|
224
|
+
export type EleventyIntegrationOutput = EleventyConfiguration & WithIntegrationOutput;
|