@adobe/helix-config 2.1.0 → 2.2.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.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/config-view.js +1 -1
- package/src/schemas/cdn-config.schema.json +32 -4
- package/types/site-config.d.ts +16 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [2.2.0](https://github.com/adobe/helix-config/compare/v2.1.0...v2.2.0) (2024-03-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add cnd.prod.route ([04ef870](https://github.com/adobe/helix-config/commit/04ef870efc8f9473d755c08573ccb2006010149a))
|
|
7
|
+
|
|
1
8
|
# [2.1.0](https://github.com/adobe/helix-config/compare/v2.0.0...v2.1.0) (2024-03-27)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/config-view.js
CHANGED
|
@@ -44,6 +44,13 @@
|
|
|
44
44
|
"description": "production host",
|
|
45
45
|
"type": "string"
|
|
46
46
|
},
|
|
47
|
+
"route": {
|
|
48
|
+
"description": "Routes on the CDN that are rendered with Franklin",
|
|
49
|
+
"type": "array",
|
|
50
|
+
"items": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
47
54
|
"serviceId": {
|
|
48
55
|
"description": "The Fastly Service ID",
|
|
49
56
|
"type": "string"
|
|
@@ -53,7 +60,7 @@
|
|
|
53
60
|
"type": "string"
|
|
54
61
|
}
|
|
55
62
|
},
|
|
56
|
-
"required": ["type", "host", "
|
|
63
|
+
"required": ["type", "host", "serviceId", "authToken"],
|
|
57
64
|
"additionalProperties": false
|
|
58
65
|
}, {
|
|
59
66
|
"type": "object",
|
|
@@ -67,6 +74,13 @@
|
|
|
67
74
|
"description": "production host",
|
|
68
75
|
"type": "string"
|
|
69
76
|
},
|
|
77
|
+
"route": {
|
|
78
|
+
"description": "Routes on the CDN that are rendered with Franklin",
|
|
79
|
+
"type": "array",
|
|
80
|
+
"items": {
|
|
81
|
+
"type": "string"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
70
84
|
"endpoint": {
|
|
71
85
|
"type": "string"
|
|
72
86
|
},
|
|
@@ -80,7 +94,7 @@
|
|
|
80
94
|
"type": "string"
|
|
81
95
|
}
|
|
82
96
|
},
|
|
83
|
-
"required": ["type", "host", "
|
|
97
|
+
"required": ["type", "host", "endpoint", "clientSecret", "clientToken", "accessToken"],
|
|
84
98
|
"additionalProperties": false
|
|
85
99
|
}, {
|
|
86
100
|
"type": "object",
|
|
@@ -94,6 +108,13 @@
|
|
|
94
108
|
"description": "production host",
|
|
95
109
|
"type": "string"
|
|
96
110
|
},
|
|
111
|
+
"route": {
|
|
112
|
+
"description": "Routes on the CDN that are rendered with Franklin",
|
|
113
|
+
"type": "array",
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
97
118
|
"origin": {
|
|
98
119
|
"type": "string"
|
|
99
120
|
},
|
|
@@ -107,7 +128,7 @@
|
|
|
107
128
|
"type": "string"
|
|
108
129
|
}
|
|
109
130
|
},
|
|
110
|
-
"required": ["type", "host", "
|
|
131
|
+
"required": ["type", "host", "origin", "plan", "zoneId", "apiToken"],
|
|
111
132
|
"additionalProperties": false
|
|
112
133
|
}, {
|
|
113
134
|
"type": "object",
|
|
@@ -120,9 +141,16 @@
|
|
|
120
141
|
"host": {
|
|
121
142
|
"description": "production host",
|
|
122
143
|
"type": "string"
|
|
144
|
+
},
|
|
145
|
+
"route": {
|
|
146
|
+
"description": "Routes on the CDN that are rendered with Franklin",
|
|
147
|
+
"type": "array",
|
|
148
|
+
"items": {
|
|
149
|
+
"type": "string"
|
|
150
|
+
}
|
|
123
151
|
}
|
|
124
152
|
},
|
|
125
|
-
"required": [ "type", "host"
|
|
153
|
+
"required": [ "type", "host"],
|
|
126
154
|
"additionalProperties": false
|
|
127
155
|
}]
|
|
128
156
|
},
|
package/types/site-config.d.ts
CHANGED
|
@@ -139,6 +139,10 @@ export interface FastlyConfig {
|
|
|
139
139
|
* production host
|
|
140
140
|
*/
|
|
141
141
|
host: string;
|
|
142
|
+
/**
|
|
143
|
+
* Routes on the CDN that are rendered with Franklin
|
|
144
|
+
*/
|
|
145
|
+
route?: string[];
|
|
142
146
|
/**
|
|
143
147
|
* The Fastly Service ID
|
|
144
148
|
*/
|
|
@@ -154,6 +158,10 @@ export interface AkamaiConfig {
|
|
|
154
158
|
* production host
|
|
155
159
|
*/
|
|
156
160
|
host: string;
|
|
161
|
+
/**
|
|
162
|
+
* Routes on the CDN that are rendered with Franklin
|
|
163
|
+
*/
|
|
164
|
+
route?: string[];
|
|
157
165
|
endpoint: string;
|
|
158
166
|
clientSecret: string;
|
|
159
167
|
clientToken: string;
|
|
@@ -165,6 +173,10 @@ export interface CloudflareConfig {
|
|
|
165
173
|
* production host
|
|
166
174
|
*/
|
|
167
175
|
host: string;
|
|
176
|
+
/**
|
|
177
|
+
* Routes on the CDN that are rendered with Franklin
|
|
178
|
+
*/
|
|
179
|
+
route?: string[];
|
|
168
180
|
origin: string;
|
|
169
181
|
plan: string;
|
|
170
182
|
zoneId: string;
|
|
@@ -176,6 +188,10 @@ export interface ManagedConfig {
|
|
|
176
188
|
* production host
|
|
177
189
|
*/
|
|
178
190
|
host: string;
|
|
191
|
+
/**
|
|
192
|
+
* Routes on the CDN that are rendered with Franklin
|
|
193
|
+
*/
|
|
194
|
+
route?: string[];
|
|
179
195
|
}
|
|
180
196
|
export interface AdminAccessConfig {
|
|
181
197
|
role?: Role;
|