@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.
@@ -18,7 +18,7 @@ export declare type CreatePublishingChannelRequest = {
18
18
  /**
19
19
  * The publishing channel color
20
20
  */
21
- color: string;
21
+ color?: string;
22
22
  };
23
23
  /**
24
24
  * This type represent the model of a publishing channel
@@ -102,7 +102,7 @@ export declare type CreateContentRepositoryRequest = {
102
102
  /**
103
103
  * The content repository color
104
104
  */
105
- color: string;
105
+ color?: string;
106
106
  /**
107
107
  * The content repository description
108
108
  */
@@ -191,7 +191,7 @@ export declare type CreateMediaGalleryRequest = {
191
191
  /**
192
192
  * The color of the media gallery
193
193
  */
194
- color: string;
194
+ color?: string;
195
195
  /**
196
196
  * This description of the media gallery
197
197
  */
@@ -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;
@@ -20,7 +20,7 @@ export type CreatePublishingChannelRequest = {
20
20
  /**
21
21
  * The publishing channel color
22
22
  */
23
- color: string;
23
+ color?: string;
24
24
  };
25
25
 
26
26
  /**
@@ -109,7 +109,7 @@ export type CreateContentRepositoryRequest = {
109
109
  /**
110
110
  * The content repository color
111
111
  */
112
- color: string;
112
+ color?: string;
113
113
  /**
114
114
  * The content repository description
115
115
  */
@@ -202,7 +202,7 @@ export type CreateMediaGalleryRequest = {
202
202
  /**
203
203
  * The color of the media gallery
204
204
  */
205
- color: string;
205
+ color?: string;
206
206
  /**
207
207
  * This description of the media gallery
208
208
  */
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.6",
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": "abbd192cd0a8e8de0dde6b886c558d0133ce3056"
37
+ "gitHead": "a4a284420702c69ce4a564a52737645583d080b8"
38
38
  }