@wix/blog 1.0.296 → 1.0.298
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/blog",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.298",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@wix/blog_blog-cache": "1.0.5",
|
|
22
|
-
"@wix/blog_blog-importer": "1.0.
|
|
22
|
+
"@wix/blog_blog-importer": "1.0.9",
|
|
23
23
|
"@wix/blog_categories": "1.0.42",
|
|
24
24
|
"@wix/blog_draft-posts": "1.0.42",
|
|
25
25
|
"@wix/blog_posts": "1.0.49",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": ""
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "358c1db506d9cb7f028bd521ddf778e4ab65b51fa0ca0e3ff07bbc5c"
|
|
52
52
|
}
|
|
@@ -1191,12 +1191,20 @@ declare enum Status$2 {
|
|
|
1191
1191
|
DONE = "DONE"
|
|
1192
1192
|
}
|
|
1193
1193
|
interface StartImportRequest {
|
|
1194
|
+
/** Should publish the posts after import. */
|
|
1195
|
+
shouldPublish?: boolean | null;
|
|
1194
1196
|
}
|
|
1195
1197
|
interface StartImportResponse {
|
|
1196
1198
|
}
|
|
1197
1199
|
interface SubmitUrlForImportRequest {
|
|
1198
1200
|
/** Url to wordpress xml file. */
|
|
1199
1201
|
url: string;
|
|
1202
|
+
/** Type of posts to import. */
|
|
1203
|
+
postType?: POST_TYPE;
|
|
1204
|
+
}
|
|
1205
|
+
declare enum POST_TYPE {
|
|
1206
|
+
PUBLISHED = "PUBLISHED",
|
|
1207
|
+
DRAFT = "DRAFT"
|
|
1200
1208
|
}
|
|
1201
1209
|
interface SubmitUrlForImportResponse {
|
|
1202
1210
|
}
|
|
@@ -1251,13 +1259,21 @@ interface PostNonNullableFields$1 {
|
|
|
1251
1259
|
interface GetNotImportedPostsResponseNonNullableFields {
|
|
1252
1260
|
notImportedPosts: PostNonNullableFields$1[];
|
|
1253
1261
|
}
|
|
1262
|
+
interface StartImportOptions {
|
|
1263
|
+
/** Should publish the posts after import. */
|
|
1264
|
+
shouldPublish?: boolean | null;
|
|
1265
|
+
}
|
|
1266
|
+
interface SubmitUrlForImportOptions {
|
|
1267
|
+
/** Type of posts to import. */
|
|
1268
|
+
postType?: POST_TYPE;
|
|
1269
|
+
}
|
|
1254
1270
|
|
|
1255
1271
|
declare function startImport$1(httpClient: HttpClient): StartImportSignature;
|
|
1256
1272
|
interface StartImportSignature {
|
|
1257
1273
|
/**
|
|
1258
1274
|
* Starts wordpress import process.
|
|
1259
1275
|
*/
|
|
1260
|
-
(): Promise<void>;
|
|
1276
|
+
(options?: StartImportOptions | undefined): Promise<void>;
|
|
1261
1277
|
}
|
|
1262
1278
|
declare function submitUrlForImport$1(httpClient: HttpClient): SubmitUrlForImportSignature;
|
|
1263
1279
|
interface SubmitUrlForImportSignature {
|
|
@@ -1268,7 +1284,7 @@ interface SubmitUrlForImportSignature {
|
|
|
1268
1284
|
* Once the import status becomes READY_TO_IMPORT, the import process can be started by invoking "StartImport".
|
|
1269
1285
|
* @param - Url to wordpress xml file.
|
|
1270
1286
|
*/
|
|
1271
|
-
(url: string): Promise<void>;
|
|
1287
|
+
(url: string, options?: SubmitUrlForImportOptions | undefined): Promise<void>;
|
|
1272
1288
|
}
|
|
1273
1289
|
declare function validateUrlForImport$1(httpClient: HttpClient): ValidateUrlForImportSignature;
|
|
1274
1290
|
interface ValidateUrlForImportSignature {
|
|
@@ -1303,8 +1319,12 @@ type context$4_GetNotImportedPostsRequest = GetNotImportedPostsRequest;
|
|
|
1303
1319
|
type context$4_GetNotImportedPostsResponse = GetNotImportedPostsResponse;
|
|
1304
1320
|
type context$4_GetNotImportedPostsResponseNonNullableFields = GetNotImportedPostsResponseNonNullableFields;
|
|
1305
1321
|
type context$4_ImportStatus = ImportStatus;
|
|
1322
|
+
type context$4_POST_TYPE = POST_TYPE;
|
|
1323
|
+
declare const context$4_POST_TYPE: typeof POST_TYPE;
|
|
1324
|
+
type context$4_StartImportOptions = StartImportOptions;
|
|
1306
1325
|
type context$4_StartImportRequest = StartImportRequest;
|
|
1307
1326
|
type context$4_StartImportResponse = StartImportResponse;
|
|
1327
|
+
type context$4_SubmitUrlForImportOptions = SubmitUrlForImportOptions;
|
|
1308
1328
|
type context$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
|
|
1309
1329
|
type context$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
|
|
1310
1330
|
type context$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
|
|
@@ -1315,7 +1335,7 @@ declare const context$4_startImport: typeof startImport;
|
|
|
1315
1335
|
declare const context$4_submitUrlForImport: typeof submitUrlForImport;
|
|
1316
1336
|
declare const context$4_validateUrlForImport: typeof validateUrlForImport;
|
|
1317
1337
|
declare namespace context$4 {
|
|
1318
|
-
export { type context$4_GetImportStatusRequest as GetImportStatusRequest, type context$4_GetImportStatusResponse as GetImportStatusResponse, type context$4_GetImportStatusResponseNonNullableFields as GetImportStatusResponseNonNullableFields, type context$4_GetNotImportedPostsRequest as GetNotImportedPostsRequest, type context$4_GetNotImportedPostsResponse as GetNotImportedPostsResponse, type context$4_GetNotImportedPostsResponseNonNullableFields as GetNotImportedPostsResponseNonNullableFields, type context$4_ImportStatus as ImportStatus, type Post$1 as Post, type context$4_StartImportRequest as StartImportRequest, type context$4_StartImportResponse as StartImportResponse, Status$2 as Status, type context$4_SubmitUrlForImportRequest as SubmitUrlForImportRequest, type context$4_SubmitUrlForImportResponse as SubmitUrlForImportResponse, type context$4_ValidateUrlForImportRequest as ValidateUrlForImportRequest, type context$4_ValidateUrlForImportResponse as ValidateUrlForImportResponse, context$4_getImportStatus as getImportStatus, context$4_getNotImportedPosts as getNotImportedPosts, context$4_startImport as startImport, context$4_submitUrlForImport as submitUrlForImport, context$4_validateUrlForImport as validateUrlForImport };
|
|
1338
|
+
export { type context$4_GetImportStatusRequest as GetImportStatusRequest, type context$4_GetImportStatusResponse as GetImportStatusResponse, type context$4_GetImportStatusResponseNonNullableFields as GetImportStatusResponseNonNullableFields, type context$4_GetNotImportedPostsRequest as GetNotImportedPostsRequest, type context$4_GetNotImportedPostsResponse as GetNotImportedPostsResponse, type context$4_GetNotImportedPostsResponseNonNullableFields as GetNotImportedPostsResponseNonNullableFields, type context$4_ImportStatus as ImportStatus, context$4_POST_TYPE as POST_TYPE, type Post$1 as Post, type context$4_StartImportOptions as StartImportOptions, type context$4_StartImportRequest as StartImportRequest, type context$4_StartImportResponse as StartImportResponse, Status$2 as Status, type context$4_SubmitUrlForImportOptions as SubmitUrlForImportOptions, type context$4_SubmitUrlForImportRequest as SubmitUrlForImportRequest, type context$4_SubmitUrlForImportResponse as SubmitUrlForImportResponse, type context$4_ValidateUrlForImportRequest as ValidateUrlForImportRequest, type context$4_ValidateUrlForImportResponse as ValidateUrlForImportResponse, context$4_getImportStatus as getImportStatus, context$4_getNotImportedPosts as getNotImportedPosts, context$4_startImport as startImport, context$4_submitUrlForImport as submitUrlForImport, context$4_validateUrlForImport as validateUrlForImport };
|
|
1319
1339
|
}
|
|
1320
1340
|
|
|
1321
1341
|
interface Category$2 {
|
|
@@ -1191,12 +1191,20 @@ declare enum Status$2 {
|
|
|
1191
1191
|
DONE = "DONE"
|
|
1192
1192
|
}
|
|
1193
1193
|
interface StartImportRequest {
|
|
1194
|
+
/** Should publish the posts after import. */
|
|
1195
|
+
shouldPublish?: boolean | null;
|
|
1194
1196
|
}
|
|
1195
1197
|
interface StartImportResponse {
|
|
1196
1198
|
}
|
|
1197
1199
|
interface SubmitUrlForImportRequest {
|
|
1198
1200
|
/** Url to wordpress xml file. */
|
|
1199
1201
|
url: string;
|
|
1202
|
+
/** Type of posts to import. */
|
|
1203
|
+
postType?: POST_TYPE;
|
|
1204
|
+
}
|
|
1205
|
+
declare enum POST_TYPE {
|
|
1206
|
+
PUBLISHED = "PUBLISHED",
|
|
1207
|
+
DRAFT = "DRAFT"
|
|
1200
1208
|
}
|
|
1201
1209
|
interface SubmitUrlForImportResponse {
|
|
1202
1210
|
}
|
|
@@ -1251,13 +1259,21 @@ interface PostNonNullableFields$1 {
|
|
|
1251
1259
|
interface GetNotImportedPostsResponseNonNullableFields {
|
|
1252
1260
|
notImportedPosts: PostNonNullableFields$1[];
|
|
1253
1261
|
}
|
|
1262
|
+
interface StartImportOptions {
|
|
1263
|
+
/** Should publish the posts after import. */
|
|
1264
|
+
shouldPublish?: boolean | null;
|
|
1265
|
+
}
|
|
1266
|
+
interface SubmitUrlForImportOptions {
|
|
1267
|
+
/** Type of posts to import. */
|
|
1268
|
+
postType?: POST_TYPE;
|
|
1269
|
+
}
|
|
1254
1270
|
|
|
1255
1271
|
declare function startImport$1(httpClient: HttpClient): StartImportSignature;
|
|
1256
1272
|
interface StartImportSignature {
|
|
1257
1273
|
/**
|
|
1258
1274
|
* Starts wordpress import process.
|
|
1259
1275
|
*/
|
|
1260
|
-
(): Promise<void>;
|
|
1276
|
+
(options?: StartImportOptions | undefined): Promise<void>;
|
|
1261
1277
|
}
|
|
1262
1278
|
declare function submitUrlForImport$1(httpClient: HttpClient): SubmitUrlForImportSignature;
|
|
1263
1279
|
interface SubmitUrlForImportSignature {
|
|
@@ -1268,7 +1284,7 @@ interface SubmitUrlForImportSignature {
|
|
|
1268
1284
|
* Once the import status becomes READY_TO_IMPORT, the import process can be started by invoking "StartImport".
|
|
1269
1285
|
* @param - Url to wordpress xml file.
|
|
1270
1286
|
*/
|
|
1271
|
-
(url: string): Promise<void>;
|
|
1287
|
+
(url: string, options?: SubmitUrlForImportOptions | undefined): Promise<void>;
|
|
1272
1288
|
}
|
|
1273
1289
|
declare function validateUrlForImport$1(httpClient: HttpClient): ValidateUrlForImportSignature;
|
|
1274
1290
|
interface ValidateUrlForImportSignature {
|
|
@@ -1303,8 +1319,12 @@ type index_d$4_GetNotImportedPostsRequest = GetNotImportedPostsRequest;
|
|
|
1303
1319
|
type index_d$4_GetNotImportedPostsResponse = GetNotImportedPostsResponse;
|
|
1304
1320
|
type index_d$4_GetNotImportedPostsResponseNonNullableFields = GetNotImportedPostsResponseNonNullableFields;
|
|
1305
1321
|
type index_d$4_ImportStatus = ImportStatus;
|
|
1322
|
+
type index_d$4_POST_TYPE = POST_TYPE;
|
|
1323
|
+
declare const index_d$4_POST_TYPE: typeof POST_TYPE;
|
|
1324
|
+
type index_d$4_StartImportOptions = StartImportOptions;
|
|
1306
1325
|
type index_d$4_StartImportRequest = StartImportRequest;
|
|
1307
1326
|
type index_d$4_StartImportResponse = StartImportResponse;
|
|
1327
|
+
type index_d$4_SubmitUrlForImportOptions = SubmitUrlForImportOptions;
|
|
1308
1328
|
type index_d$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
|
|
1309
1329
|
type index_d$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
|
|
1310
1330
|
type index_d$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
|
|
@@ -1315,7 +1335,7 @@ declare const index_d$4_startImport: typeof startImport;
|
|
|
1315
1335
|
declare const index_d$4_submitUrlForImport: typeof submitUrlForImport;
|
|
1316
1336
|
declare const index_d$4_validateUrlForImport: typeof validateUrlForImport;
|
|
1317
1337
|
declare namespace index_d$4 {
|
|
1318
|
-
export { type index_d$4_GetImportStatusRequest as GetImportStatusRequest, type index_d$4_GetImportStatusResponse as GetImportStatusResponse, type index_d$4_GetImportStatusResponseNonNullableFields as GetImportStatusResponseNonNullableFields, type index_d$4_GetNotImportedPostsRequest as GetNotImportedPostsRequest, type index_d$4_GetNotImportedPostsResponse as GetNotImportedPostsResponse, type index_d$4_GetNotImportedPostsResponseNonNullableFields as GetNotImportedPostsResponseNonNullableFields, type index_d$4_ImportStatus as ImportStatus, type Post$1 as Post, type index_d$4_StartImportRequest as StartImportRequest, type index_d$4_StartImportResponse as StartImportResponse, Status$2 as Status, type index_d$4_SubmitUrlForImportRequest as SubmitUrlForImportRequest, type index_d$4_SubmitUrlForImportResponse as SubmitUrlForImportResponse, type index_d$4_ValidateUrlForImportRequest as ValidateUrlForImportRequest, type index_d$4_ValidateUrlForImportResponse as ValidateUrlForImportResponse, index_d$4_getImportStatus as getImportStatus, index_d$4_getNotImportedPosts as getNotImportedPosts, index_d$4_startImport as startImport, index_d$4_submitUrlForImport as submitUrlForImport, index_d$4_validateUrlForImport as validateUrlForImport };
|
|
1338
|
+
export { type index_d$4_GetImportStatusRequest as GetImportStatusRequest, type index_d$4_GetImportStatusResponse as GetImportStatusResponse, type index_d$4_GetImportStatusResponseNonNullableFields as GetImportStatusResponseNonNullableFields, type index_d$4_GetNotImportedPostsRequest as GetNotImportedPostsRequest, type index_d$4_GetNotImportedPostsResponse as GetNotImportedPostsResponse, type index_d$4_GetNotImportedPostsResponseNonNullableFields as GetNotImportedPostsResponseNonNullableFields, type index_d$4_ImportStatus as ImportStatus, index_d$4_POST_TYPE as POST_TYPE, type Post$1 as Post, type index_d$4_StartImportOptions as StartImportOptions, type index_d$4_StartImportRequest as StartImportRequest, type index_d$4_StartImportResponse as StartImportResponse, Status$2 as Status, type index_d$4_SubmitUrlForImportOptions as SubmitUrlForImportOptions, type index_d$4_SubmitUrlForImportRequest as SubmitUrlForImportRequest, type index_d$4_SubmitUrlForImportResponse as SubmitUrlForImportResponse, type index_d$4_ValidateUrlForImportRequest as ValidateUrlForImportRequest, type index_d$4_ValidateUrlForImportResponse as ValidateUrlForImportResponse, index_d$4_getImportStatus as getImportStatus, index_d$4_getNotImportedPosts as getNotImportedPosts, index_d$4_startImport as startImport, index_d$4_submitUrlForImport as submitUrlForImport, index_d$4_validateUrlForImport as validateUrlForImport };
|
|
1319
1339
|
}
|
|
1320
1340
|
|
|
1321
1341
|
interface Category$2 {
|
|
@@ -785,12 +785,20 @@ declare enum Status$3 {
|
|
|
785
785
|
DONE = "DONE"
|
|
786
786
|
}
|
|
787
787
|
interface StartImportRequest$1 {
|
|
788
|
+
/** Should publish the posts after import. */
|
|
789
|
+
shouldPublish?: boolean | null;
|
|
788
790
|
}
|
|
789
791
|
interface StartImportResponse$1 {
|
|
790
792
|
}
|
|
791
793
|
interface SubmitUrlForImportRequest$1 {
|
|
792
794
|
/** Url to wordpress xml file. */
|
|
793
795
|
url: string;
|
|
796
|
+
/** Type of posts to import. */
|
|
797
|
+
postType?: POST_TYPE$1;
|
|
798
|
+
}
|
|
799
|
+
declare enum POST_TYPE$1 {
|
|
800
|
+
PUBLISHED = "PUBLISHED",
|
|
801
|
+
DRAFT = "DRAFT"
|
|
794
802
|
}
|
|
795
803
|
interface SubmitUrlForImportResponse$1 {
|
|
796
804
|
}
|
|
@@ -868,12 +876,20 @@ declare enum Status$2 {
|
|
|
868
876
|
DONE = "DONE"
|
|
869
877
|
}
|
|
870
878
|
interface StartImportRequest {
|
|
879
|
+
/** Should publish the posts after import. */
|
|
880
|
+
shouldPublish?: boolean | null;
|
|
871
881
|
}
|
|
872
882
|
interface StartImportResponse {
|
|
873
883
|
}
|
|
874
884
|
interface SubmitUrlForImportRequest {
|
|
875
885
|
/** Url to wordpress xml file. */
|
|
876
886
|
url: string;
|
|
887
|
+
/** Type of posts to import. */
|
|
888
|
+
postType?: POST_TYPE;
|
|
889
|
+
}
|
|
890
|
+
declare enum POST_TYPE {
|
|
891
|
+
PUBLISHED = "PUBLISHED",
|
|
892
|
+
DRAFT = "DRAFT"
|
|
877
893
|
}
|
|
878
894
|
interface SubmitUrlForImportResponse {
|
|
879
895
|
}
|