@contentchef/contentchef-types 2.6.1-alpha.0 → 2.6.2
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.
|
@@ -2,7 +2,6 @@ import { ContentId } from "./Content";
|
|
|
2
2
|
import { AuthorResponse } from "./Author";
|
|
3
3
|
import { ContentRepositoryId } from "./ContentRepository";
|
|
4
4
|
import { ContentTranslationStatus } from "./ContentTranslation";
|
|
5
|
-
import { PagedListResponse } from "./common";
|
|
6
5
|
/**
|
|
7
6
|
* The published content unique id
|
|
8
7
|
*/
|
|
@@ -183,6 +182,10 @@ export type SetStageContentsToLiveRequest = {
|
|
|
183
182
|
* The release id to publish to live
|
|
184
183
|
*/
|
|
185
184
|
releaseId: ReleaseId;
|
|
185
|
+
/**
|
|
186
|
+
* Skip validating linked contents resolution
|
|
187
|
+
*/
|
|
188
|
+
skipLinkedContentValidation?: boolean;
|
|
186
189
|
};
|
|
187
190
|
/**
|
|
188
191
|
* This type represent the response of a set stage content to live API request
|
|
@@ -221,24 +224,3 @@ export type UpdateReleaseResponse = Release;
|
|
|
221
224
|
* This type represent the response of a get published content API request
|
|
222
225
|
*/
|
|
223
226
|
export type GetPublishedContentResponse = PublishedContentResponse | undefined;
|
|
224
|
-
/**
|
|
225
|
-
* This type represent the data needed to make a list release items API request
|
|
226
|
-
*/
|
|
227
|
-
export type ListReleaseItemsRequest = {
|
|
228
|
-
/**
|
|
229
|
-
* The release id to retrieve items from
|
|
230
|
-
*/
|
|
231
|
-
releaseId: number;
|
|
232
|
-
/**
|
|
233
|
-
* The contents to skip (used to paginate the result)
|
|
234
|
-
*/
|
|
235
|
-
skip: number;
|
|
236
|
-
/**
|
|
237
|
-
* The contents to take (used to paginate the result)
|
|
238
|
-
*/
|
|
239
|
-
take: number;
|
|
240
|
-
};
|
|
241
|
-
/**
|
|
242
|
-
* This type represent the response of the list release items API request
|
|
243
|
-
*/
|
|
244
|
-
export type ListReleaseItemsResponse = PagedListResponse<ReleaseItem>;
|
|
@@ -2,7 +2,6 @@ import { ContentId } from "./Content";
|
|
|
2
2
|
import { AuthorResponse } from "./Author";
|
|
3
3
|
import { ContentRepositoryId } from "./ContentRepository";
|
|
4
4
|
import { ContentTranslationStatus } from "./ContentTranslation";
|
|
5
|
-
import { PagedListResponse } from "./common";
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* The published content unique id
|
|
@@ -190,6 +189,11 @@ export type SetStageContentsToLiveRequest = {
|
|
|
190
189
|
* The release id to publish to live
|
|
191
190
|
*/
|
|
192
191
|
releaseId: ReleaseId;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Skip validating linked contents resolution
|
|
195
|
+
*/
|
|
196
|
+
skipLinkedContentValidation?: boolean;
|
|
193
197
|
};
|
|
194
198
|
|
|
195
199
|
/**
|
|
@@ -234,26 +238,3 @@ export type UpdateReleaseResponse = Release;
|
|
|
234
238
|
* This type represent the response of a get published content API request
|
|
235
239
|
*/
|
|
236
240
|
export type GetPublishedContentResponse = PublishedContentResponse | undefined;
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* This type represent the data needed to make a list release items API request
|
|
240
|
-
*/
|
|
241
|
-
export type ListReleaseItemsRequest = {
|
|
242
|
-
/**
|
|
243
|
-
* The release id to retrieve items from
|
|
244
|
-
*/
|
|
245
|
-
releaseId: number;
|
|
246
|
-
/**
|
|
247
|
-
* The contents to skip (used to paginate the result)
|
|
248
|
-
*/
|
|
249
|
-
skip: number;
|
|
250
|
-
/**
|
|
251
|
-
* The contents to take (used to paginate the result)
|
|
252
|
-
*/
|
|
253
|
-
take: number;
|
|
254
|
-
};
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* This type represent the response of the list release items API request
|
|
258
|
-
*/
|
|
259
|
-
export type ListReleaseItemsResponse = PagedListResponse<ReleaseItem>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentchef/contentchef-types",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.2",
|
|
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",
|