@contentchef/contentchef-types 10.1.0-alpha.8 → 10.1.0-alpha.9
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.
|
@@ -77,8 +77,8 @@ export type ContentExportImportError = {
|
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
79
|
* This type represent one of the files produced by a content export, one per exported content
|
|
80
|
-
* definition.
|
|
81
|
-
*
|
|
80
|
+
* definition. The whole list is written when the export completes, so a `processing` export
|
|
81
|
+
* exposes no file yet
|
|
82
82
|
*/
|
|
83
83
|
export type ContentExportFile = {
|
|
84
84
|
/**
|
|
@@ -125,8 +125,8 @@ export type ContentExportRequestResponse = {
|
|
|
125
125
|
*/
|
|
126
126
|
csvSeparator: string;
|
|
127
127
|
/**
|
|
128
|
-
* The
|
|
129
|
-
*
|
|
128
|
+
* The produced files, one per exported content definition. Empty until [[status]] is
|
|
129
|
+
* `completed`, the whole list is written in one go when the export finalizes
|
|
130
130
|
*/
|
|
131
131
|
files: ContentExportFile[] | null;
|
|
132
132
|
/**
|
|
@@ -158,10 +158,10 @@ export type CreateContentExportRequestRequest = {
|
|
|
158
158
|
/**
|
|
159
159
|
* The filters selecting the contents to export, the same ones accepted by
|
|
160
160
|
* [[ContentFacade.list]]. When omitted every unarchived content of the space is exported.
|
|
161
|
-
*
|
|
162
|
-
*
|
|
161
|
+
* [[ListContentsFilters.contentsStatus]] cannot be given: archived contents cannot be
|
|
162
|
+
* imported back, so an export always covers the unarchived ones only
|
|
163
163
|
*/
|
|
164
|
-
filters?: Partial<ListContentsFilters>;
|
|
164
|
+
filters?: Omit<Partial<ListContentsFilters>, 'contentsStatus'>;
|
|
165
165
|
/**
|
|
166
166
|
* The format to write the export files in, defaults to `json`
|
|
167
167
|
*/
|
|
@@ -431,7 +431,8 @@ export type ContentImportRequestItemResponse = {
|
|
|
431
431
|
*/
|
|
432
432
|
locale: string | null;
|
|
433
433
|
/**
|
|
434
|
-
* What the import did to the content
|
|
434
|
+
* What the import did to the content. Null when the row failed, and on a translation row
|
|
435
|
+
* that carried nothing to apply, which succeeds as a no-op
|
|
435
436
|
*/
|
|
436
437
|
action: ContentImportItemAction | null;
|
|
437
438
|
/**
|
|
@@ -88,8 +88,8 @@ export type ContentExportImportError = {
|
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* This type represent one of the files produced by a content export, one per exported content
|
|
91
|
-
* definition.
|
|
92
|
-
*
|
|
91
|
+
* definition. The whole list is written when the export completes, so a `processing` export
|
|
92
|
+
* exposes no file yet
|
|
93
93
|
*/
|
|
94
94
|
export type ContentExportFile = {
|
|
95
95
|
/**
|
|
@@ -137,8 +137,8 @@ export type ContentExportRequestResponse = {
|
|
|
137
137
|
*/
|
|
138
138
|
csvSeparator: string;
|
|
139
139
|
/**
|
|
140
|
-
* The
|
|
141
|
-
*
|
|
140
|
+
* The produced files, one per exported content definition. Empty until [[status]] is
|
|
141
|
+
* `completed`, the whole list is written in one go when the export finalizes
|
|
142
142
|
*/
|
|
143
143
|
files: ContentExportFile[] | null;
|
|
144
144
|
/**
|
|
@@ -171,10 +171,10 @@ export type CreateContentExportRequestRequest = {
|
|
|
171
171
|
/**
|
|
172
172
|
* The filters selecting the contents to export, the same ones accepted by
|
|
173
173
|
* [[ContentFacade.list]]. When omitted every unarchived content of the space is exported.
|
|
174
|
-
*
|
|
175
|
-
*
|
|
174
|
+
* [[ListContentsFilters.contentsStatus]] cannot be given: archived contents cannot be
|
|
175
|
+
* imported back, so an export always covers the unarchived ones only
|
|
176
176
|
*/
|
|
177
|
-
filters?: Partial<ListContentsFilters>;
|
|
177
|
+
filters?: Omit<Partial<ListContentsFilters>, 'contentsStatus'>;
|
|
178
178
|
/**
|
|
179
179
|
* The format to write the export files in, defaults to `json`
|
|
180
180
|
*/
|
|
@@ -457,7 +457,8 @@ export type ContentImportRequestItemResponse = {
|
|
|
457
457
|
*/
|
|
458
458
|
locale: string | null;
|
|
459
459
|
/**
|
|
460
|
-
* What the import did to the content
|
|
460
|
+
* What the import did to the content. Null when the row failed, and on a translation row
|
|
461
|
+
* that carried nothing to apply, which succeeds as a no-op
|
|
461
462
|
*/
|
|
462
463
|
action: ContentImportItemAction | null;
|
|
463
464
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentchef/contentchef-types",
|
|
3
|
-
"version": "10.1.0-alpha.
|
|
3
|
+
"version": "10.1.0-alpha.9",
|
|
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": "^5.9.3"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "59a529509218c3cae23624036aadddc279af60ac"
|
|
38
38
|
}
|