@contentchef/contentchef-types 2.5.11 → 2.5.13
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/Content.d.ts +12 -0
- package/lib/api/Content.ts +15 -0
- package/package.json +2 -2
package/dist/api/Content.d.ts
CHANGED
|
@@ -208,6 +208,10 @@ export declare type CreateContentRequest = {
|
|
|
208
208
|
* will bypass content definition mnemonicId validation for every linked-content field
|
|
209
209
|
*/
|
|
210
210
|
bypassLinkedContentValidation?: boolean;
|
|
211
|
+
/**
|
|
212
|
+
* set an identifier coming from a third party application
|
|
213
|
+
*/
|
|
214
|
+
externalIdentifier?: string;
|
|
211
215
|
};
|
|
212
216
|
/**
|
|
213
217
|
* This type represent the data needed to make a update content API request
|
|
@@ -261,6 +265,10 @@ export declare type UpdateContentRequest = {
|
|
|
261
265
|
* will bypass content definition mnemonicId validation for every linked-content field
|
|
262
266
|
*/
|
|
263
267
|
bypassLinkedContentValidation?: boolean;
|
|
268
|
+
/**
|
|
269
|
+
* set an identifier coming from a third party application
|
|
270
|
+
*/
|
|
271
|
+
externalIdentifier?: string;
|
|
264
272
|
};
|
|
265
273
|
/**
|
|
266
274
|
* This type represent the data that can be used to filter a list of contents
|
|
@@ -562,6 +570,10 @@ export declare type ContentResponse = {
|
|
|
562
570
|
* Content's locale
|
|
563
571
|
*/
|
|
564
572
|
locale: string;
|
|
573
|
+
/**
|
|
574
|
+
* Content's external identifier
|
|
575
|
+
*/
|
|
576
|
+
externalIdentifier?: string;
|
|
565
577
|
};
|
|
566
578
|
/**
|
|
567
579
|
* This type represent the model of a linked content
|
package/lib/api/Content.ts
CHANGED
|
@@ -223,6 +223,11 @@ export type CreateContentRequest = {
|
|
|
223
223
|
* will bypass content definition mnemonicId validation for every linked-content field
|
|
224
224
|
*/
|
|
225
225
|
bypassLinkedContentValidation?: boolean;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* set an identifier coming from a third party application
|
|
229
|
+
*/
|
|
230
|
+
externalIdentifier?: string;
|
|
226
231
|
};
|
|
227
232
|
|
|
228
233
|
/**
|
|
@@ -279,6 +284,11 @@ export type UpdateContentRequest = {
|
|
|
279
284
|
* will bypass content definition mnemonicId validation for every linked-content field
|
|
280
285
|
*/
|
|
281
286
|
bypassLinkedContentValidation?: boolean;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* set an identifier coming from a third party application
|
|
290
|
+
*/
|
|
291
|
+
externalIdentifier?: string;
|
|
282
292
|
};
|
|
283
293
|
|
|
284
294
|
/**
|
|
@@ -596,6 +606,11 @@ export type ContentResponse = {
|
|
|
596
606
|
* Content's locale
|
|
597
607
|
*/
|
|
598
608
|
locale: string;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Content's external identifier
|
|
612
|
+
*/
|
|
613
|
+
externalIdentifier?: string;
|
|
599
614
|
};
|
|
600
615
|
|
|
601
616
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentchef/contentchef-types",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.13",
|
|
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": "7a69dac46a160255bd08a0f7d928a6c2f9240eaa"
|
|
38
38
|
}
|