@contentchef/contentchef-types 2.5.6 → 2.5.7
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/api/Channel.d.ts +1 -1
- package/dist/api/ContentRepository.d.ts +1 -1
- package/dist/api/MediaGallery.d.ts +1 -1
- package/dist/api/Space.d.ts +17 -0
- package/lib/api/Channel.ts +1 -1
- package/lib/api/ContentRepository.ts +1 -1
- package/lib/api/MediaGallery.ts +1 -1
- package/lib/api/Space.ts +19 -0
- package/package.json +2 -2
package/dist/api/Channel.d.ts
CHANGED
package/dist/api/Space.d.ts
CHANGED
|
@@ -162,6 +162,10 @@ export declare type SpaceLocale = {
|
|
|
162
162
|
* List of supported locales (default locale is included)
|
|
163
163
|
*/
|
|
164
164
|
locales: string[];
|
|
165
|
+
/**
|
|
166
|
+
* Fallback locale (defaults to 'en')
|
|
167
|
+
*/
|
|
168
|
+
fallbackLocale: string;
|
|
165
169
|
};
|
|
166
170
|
/**
|
|
167
171
|
* Return type of `getSpaceLocale`
|
|
@@ -206,3 +210,16 @@ export declare type UpdateSpaceDefaultLocaleRequest = {
|
|
|
206
210
|
* Return type of `updateSpaceDefaultLocale`
|
|
207
211
|
*/
|
|
208
212
|
export declare type UpdateSpaceDefaultLocaleResponse = SpaceLocale;
|
|
213
|
+
/**
|
|
214
|
+
* Request type to update space's fallback locale
|
|
215
|
+
*/
|
|
216
|
+
export declare type UpdateSpaceFallbackLocaleRequest = {
|
|
217
|
+
/**
|
|
218
|
+
* Locale to update to space's fallback locale
|
|
219
|
+
*/
|
|
220
|
+
locale: string;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* Return type of `updateSpacefallbackLocale`
|
|
224
|
+
*/
|
|
225
|
+
export declare type UpdateSpaceFallbackLocaleResponse = SpaceLocale;
|
package/lib/api/Channel.ts
CHANGED
package/lib/api/MediaGallery.ts
CHANGED
package/lib/api/Space.ts
CHANGED
|
@@ -173,6 +173,11 @@ export type SpaceLocale = {
|
|
|
173
173
|
* List of supported locales (default locale is included)
|
|
174
174
|
*/
|
|
175
175
|
locales: string[];
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Fallback locale (defaults to 'en')
|
|
179
|
+
*/
|
|
180
|
+
fallbackLocale: string;
|
|
176
181
|
}
|
|
177
182
|
|
|
178
183
|
/**
|
|
@@ -220,3 +225,17 @@ export type UpdateSpaceDefaultLocaleRequest = {
|
|
|
220
225
|
* Return type of `updateSpaceDefaultLocale`
|
|
221
226
|
*/
|
|
222
227
|
export type UpdateSpaceDefaultLocaleResponse = SpaceLocale;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Request type to update space's fallback locale
|
|
231
|
+
*/
|
|
232
|
+
export type UpdateSpaceFallbackLocaleRequest = {
|
|
233
|
+
/**
|
|
234
|
+
* Locale to update to space's fallback locale
|
|
235
|
+
*/
|
|
236
|
+
locale: string;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Return type of `updateSpacefallbackLocale`
|
|
240
|
+
*/
|
|
241
|
+
export type UpdateSpaceFallbackLocaleResponse = SpaceLocale;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentchef/contentchef-types",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.7",
|
|
4
4
|
"description": "ContentChef types",
|
|
5
5
|
"author": "PierpaoloIannone <piannone@byte-code.com>",
|
|
6
6
|
"homepage": "https://github.com/ContentChef/contentchef-management-js-client#readme",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^4.0.5"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "a4a284420702c69ce4a564a52737645583d080b8"
|
|
38
38
|
}
|