contentful-import 10.2.2 → 10.2.3
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/README.md +8 -8
- package/dist/usageParams.d.mts +6 -0
- package/dist/usageParams.d.ts +6 -0
- package/dist/usageParams.js +7 -1
- package/dist/usageParams.mjs +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -133,6 +133,14 @@ Path to JSON file that contains data to be import to your space
|
|
|
133
133
|
|
|
134
134
|
Content to import. Needs to match the expected structure (See below)
|
|
135
135
|
|
|
136
|
+
#### `timeout` [number]
|
|
137
|
+
|
|
138
|
+
Time between retries
|
|
139
|
+
|
|
140
|
+
#### `retryLimit` [number]
|
|
141
|
+
|
|
142
|
+
Maximum number of retries
|
|
143
|
+
|
|
136
144
|
### Filtering
|
|
137
145
|
|
|
138
146
|
#### `contentModelOnly` [boolean] [default: false]
|
|
@@ -169,14 +177,6 @@ Skip updating existing assets
|
|
|
169
177
|
|
|
170
178
|
Path to a directory with an asset export made using the [downloadAssets](https://github.com/contentful/contentful-export#downloadassets-boolean) option of the export. Requires `uploadAssets`
|
|
171
179
|
|
|
172
|
-
#### `timeout` [number] [default: 3000]
|
|
173
|
-
|
|
174
|
-
Time between retries on asset processing
|
|
175
|
-
|
|
176
|
-
#### `retryLimit` [number] [default: 10]
|
|
177
|
-
|
|
178
|
-
Maximum number of retries for asset processing
|
|
179
|
-
|
|
180
180
|
### Connection
|
|
181
181
|
|
|
182
182
|
#### `host` [string] [default: 'api.contentful.com']
|
package/dist/usageParams.d.mts
CHANGED
|
@@ -20,6 +20,9 @@ declare const _default: {
|
|
|
20
20
|
uploadAssets: boolean | undefined;
|
|
21
21
|
"assets-directory": string | undefined;
|
|
22
22
|
assetsDirectory: string | undefined;
|
|
23
|
+
timeout: number | undefined;
|
|
24
|
+
"retry-limit": number | undefined;
|
|
25
|
+
retryLimit: number | undefined;
|
|
23
26
|
"error-log-file": string | undefined;
|
|
24
27
|
errorLogFile: string | undefined;
|
|
25
28
|
host: string;
|
|
@@ -55,6 +58,9 @@ declare const _default: {
|
|
|
55
58
|
uploadAssets: boolean | undefined;
|
|
56
59
|
"assets-directory": string | undefined;
|
|
57
60
|
assetsDirectory: string | undefined;
|
|
61
|
+
timeout: number | undefined;
|
|
62
|
+
"retry-limit": number | undefined;
|
|
63
|
+
retryLimit: number | undefined;
|
|
58
64
|
"error-log-file": string | undefined;
|
|
59
65
|
errorLogFile: string | undefined;
|
|
60
66
|
host: string;
|
package/dist/usageParams.d.ts
CHANGED
|
@@ -20,6 +20,9 @@ declare const _default: {
|
|
|
20
20
|
uploadAssets: boolean | undefined;
|
|
21
21
|
"assets-directory": string | undefined;
|
|
22
22
|
assetsDirectory: string | undefined;
|
|
23
|
+
timeout: number | undefined;
|
|
24
|
+
"retry-limit": number | undefined;
|
|
25
|
+
retryLimit: number | undefined;
|
|
23
26
|
"error-log-file": string | undefined;
|
|
24
27
|
errorLogFile: string | undefined;
|
|
25
28
|
host: string;
|
|
@@ -55,6 +58,9 @@ declare const _default: {
|
|
|
55
58
|
uploadAssets: boolean | undefined;
|
|
56
59
|
"assets-directory": string | undefined;
|
|
57
60
|
assetsDirectory: string | undefined;
|
|
61
|
+
timeout: number | undefined;
|
|
62
|
+
"retry-limit": number | undefined;
|
|
63
|
+
retryLimit: number | undefined;
|
|
58
64
|
"error-log-file": string | undefined;
|
|
59
65
|
errorLogFile: string | undefined;
|
|
60
66
|
host: string;
|
package/dist/usageParams.js
CHANGED
|
@@ -82,7 +82,13 @@ var usageParams_default = import_yargs.default.version(version || "Version only
|
|
|
82
82
|
}).implies("upload-assets", "assets-directory").option("assets-directory", {
|
|
83
83
|
describe: "Path to a directory with an asset export made using the downloadAssets option to upload those files instead of pointing to the URLs of previously uploaded assets. Requires upload-assets",
|
|
84
84
|
type: "string"
|
|
85
|
-
}).implies("assets-directory", "upload-assets").option("
|
|
85
|
+
}).implies("assets-directory", "upload-assets").option("timeout", {
|
|
86
|
+
describe: "Time between retries",
|
|
87
|
+
type: "number"
|
|
88
|
+
}).option("retry-limit", {
|
|
89
|
+
describe: "Maximum number of retries",
|
|
90
|
+
type: "number"
|
|
91
|
+
}).option("error-log-file", {
|
|
86
92
|
describe: "Full path to the error log file",
|
|
87
93
|
type: "string"
|
|
88
94
|
}).option("host", {
|
package/dist/usageParams.mjs
CHANGED
|
@@ -44,7 +44,13 @@ var usageParams_default = yargs.version(version || "Version only available on in
|
|
|
44
44
|
}).implies("upload-assets", "assets-directory").option("assets-directory", {
|
|
45
45
|
describe: "Path to a directory with an asset export made using the downloadAssets option to upload those files instead of pointing to the URLs of previously uploaded assets. Requires upload-assets",
|
|
46
46
|
type: "string"
|
|
47
|
-
}).implies("assets-directory", "upload-assets").option("
|
|
47
|
+
}).implies("assets-directory", "upload-assets").option("timeout", {
|
|
48
|
+
describe: "Time between retries",
|
|
49
|
+
type: "number"
|
|
50
|
+
}).option("retry-limit", {
|
|
51
|
+
describe: "Maximum number of retries",
|
|
52
|
+
type: "number"
|
|
53
|
+
}).option("error-log-file", {
|
|
48
54
|
describe: "Full path to the error log file",
|
|
49
55
|
type: "string"
|
|
50
56
|
}).option("host", {
|