@wix/blog 1.0.293 → 1.0.295
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.295",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/blog_blog-cache": "1.0.
|
|
22
|
-
"@wix/blog_blog-importer": "1.0.
|
|
23
|
-
"@wix/blog_categories": "1.0.
|
|
24
|
-
"@wix/blog_draft-posts": "1.0.
|
|
25
|
-
"@wix/blog_posts": "1.0.
|
|
26
|
-
"@wix/blog_tags": "1.0.
|
|
21
|
+
"@wix/blog_blog-cache": "1.0.5",
|
|
22
|
+
"@wix/blog_blog-importer": "1.0.6",
|
|
23
|
+
"@wix/blog_categories": "1.0.42",
|
|
24
|
+
"@wix/blog_draft-posts": "1.0.42",
|
|
25
|
+
"@wix/blog_posts": "1.0.49",
|
|
26
|
+
"@wix/blog_tags": "1.0.40"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"glob": "^10.4.1",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": ""
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "008dc697f4f5052fad5b4ee3719a00b670963ffdfec7ab072ff83ea8"
|
|
52
52
|
}
|
|
@@ -1197,6 +1197,12 @@ interface StartImportResponse {
|
|
|
1197
1197
|
interface SubmitUrlForImportRequest {
|
|
1198
1198
|
/** Url to wordpress xml file. */
|
|
1199
1199
|
url: string;
|
|
1200
|
+
/** Type of posts to import. */
|
|
1201
|
+
postType?: POST_TYPE;
|
|
1202
|
+
}
|
|
1203
|
+
declare enum POST_TYPE {
|
|
1204
|
+
PUBLISHED = "PUBLISHED",
|
|
1205
|
+
DRAFT = "DRAFT"
|
|
1200
1206
|
}
|
|
1201
1207
|
interface SubmitUrlForImportResponse {
|
|
1202
1208
|
}
|
|
@@ -1251,6 +1257,10 @@ interface PostNonNullableFields$1 {
|
|
|
1251
1257
|
interface GetNotImportedPostsResponseNonNullableFields {
|
|
1252
1258
|
notImportedPosts: PostNonNullableFields$1[];
|
|
1253
1259
|
}
|
|
1260
|
+
interface SubmitUrlForImportOptions {
|
|
1261
|
+
/** Type of posts to import. */
|
|
1262
|
+
postType?: POST_TYPE;
|
|
1263
|
+
}
|
|
1254
1264
|
|
|
1255
1265
|
declare function startImport$1(httpClient: HttpClient): StartImportSignature;
|
|
1256
1266
|
interface StartImportSignature {
|
|
@@ -1268,7 +1278,7 @@ interface SubmitUrlForImportSignature {
|
|
|
1268
1278
|
* Once the import status becomes READY_TO_IMPORT, the import process can be started by invoking "StartImport".
|
|
1269
1279
|
* @param - Url to wordpress xml file.
|
|
1270
1280
|
*/
|
|
1271
|
-
(url: string): Promise<void>;
|
|
1281
|
+
(url: string, options?: SubmitUrlForImportOptions | undefined): Promise<void>;
|
|
1272
1282
|
}
|
|
1273
1283
|
declare function validateUrlForImport$1(httpClient: HttpClient): ValidateUrlForImportSignature;
|
|
1274
1284
|
interface ValidateUrlForImportSignature {
|
|
@@ -1303,8 +1313,11 @@ type context$4_GetNotImportedPostsRequest = GetNotImportedPostsRequest;
|
|
|
1303
1313
|
type context$4_GetNotImportedPostsResponse = GetNotImportedPostsResponse;
|
|
1304
1314
|
type context$4_GetNotImportedPostsResponseNonNullableFields = GetNotImportedPostsResponseNonNullableFields;
|
|
1305
1315
|
type context$4_ImportStatus = ImportStatus;
|
|
1316
|
+
type context$4_POST_TYPE = POST_TYPE;
|
|
1317
|
+
declare const context$4_POST_TYPE: typeof POST_TYPE;
|
|
1306
1318
|
type context$4_StartImportRequest = StartImportRequest;
|
|
1307
1319
|
type context$4_StartImportResponse = StartImportResponse;
|
|
1320
|
+
type context$4_SubmitUrlForImportOptions = SubmitUrlForImportOptions;
|
|
1308
1321
|
type context$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
|
|
1309
1322
|
type context$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
|
|
1310
1323
|
type context$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
|
|
@@ -1315,7 +1328,7 @@ declare const context$4_startImport: typeof startImport;
|
|
|
1315
1328
|
declare const context$4_submitUrlForImport: typeof submitUrlForImport;
|
|
1316
1329
|
declare const context$4_validateUrlForImport: typeof validateUrlForImport;
|
|
1317
1330
|
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 };
|
|
1331
|
+
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_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
1332
|
}
|
|
1320
1333
|
|
|
1321
1334
|
interface Category$2 {
|
|
@@ -1197,6 +1197,12 @@ interface StartImportResponse {
|
|
|
1197
1197
|
interface SubmitUrlForImportRequest {
|
|
1198
1198
|
/** Url to wordpress xml file. */
|
|
1199
1199
|
url: string;
|
|
1200
|
+
/** Type of posts to import. */
|
|
1201
|
+
postType?: POST_TYPE;
|
|
1202
|
+
}
|
|
1203
|
+
declare enum POST_TYPE {
|
|
1204
|
+
PUBLISHED = "PUBLISHED",
|
|
1205
|
+
DRAFT = "DRAFT"
|
|
1200
1206
|
}
|
|
1201
1207
|
interface SubmitUrlForImportResponse {
|
|
1202
1208
|
}
|
|
@@ -1251,6 +1257,10 @@ interface PostNonNullableFields$1 {
|
|
|
1251
1257
|
interface GetNotImportedPostsResponseNonNullableFields {
|
|
1252
1258
|
notImportedPosts: PostNonNullableFields$1[];
|
|
1253
1259
|
}
|
|
1260
|
+
interface SubmitUrlForImportOptions {
|
|
1261
|
+
/** Type of posts to import. */
|
|
1262
|
+
postType?: POST_TYPE;
|
|
1263
|
+
}
|
|
1254
1264
|
|
|
1255
1265
|
declare function startImport$1(httpClient: HttpClient): StartImportSignature;
|
|
1256
1266
|
interface StartImportSignature {
|
|
@@ -1268,7 +1278,7 @@ interface SubmitUrlForImportSignature {
|
|
|
1268
1278
|
* Once the import status becomes READY_TO_IMPORT, the import process can be started by invoking "StartImport".
|
|
1269
1279
|
* @param - Url to wordpress xml file.
|
|
1270
1280
|
*/
|
|
1271
|
-
(url: string): Promise<void>;
|
|
1281
|
+
(url: string, options?: SubmitUrlForImportOptions | undefined): Promise<void>;
|
|
1272
1282
|
}
|
|
1273
1283
|
declare function validateUrlForImport$1(httpClient: HttpClient): ValidateUrlForImportSignature;
|
|
1274
1284
|
interface ValidateUrlForImportSignature {
|
|
@@ -1303,8 +1313,11 @@ type index_d$4_GetNotImportedPostsRequest = GetNotImportedPostsRequest;
|
|
|
1303
1313
|
type index_d$4_GetNotImportedPostsResponse = GetNotImportedPostsResponse;
|
|
1304
1314
|
type index_d$4_GetNotImportedPostsResponseNonNullableFields = GetNotImportedPostsResponseNonNullableFields;
|
|
1305
1315
|
type index_d$4_ImportStatus = ImportStatus;
|
|
1316
|
+
type index_d$4_POST_TYPE = POST_TYPE;
|
|
1317
|
+
declare const index_d$4_POST_TYPE: typeof POST_TYPE;
|
|
1306
1318
|
type index_d$4_StartImportRequest = StartImportRequest;
|
|
1307
1319
|
type index_d$4_StartImportResponse = StartImportResponse;
|
|
1320
|
+
type index_d$4_SubmitUrlForImportOptions = SubmitUrlForImportOptions;
|
|
1308
1321
|
type index_d$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
|
|
1309
1322
|
type index_d$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
|
|
1310
1323
|
type index_d$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
|
|
@@ -1315,7 +1328,7 @@ declare const index_d$4_startImport: typeof startImport;
|
|
|
1315
1328
|
declare const index_d$4_submitUrlForImport: typeof submitUrlForImport;
|
|
1316
1329
|
declare const index_d$4_validateUrlForImport: typeof validateUrlForImport;
|
|
1317
1330
|
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 };
|
|
1331
|
+
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_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
1332
|
}
|
|
1320
1333
|
|
|
1321
1334
|
interface Category$2 {
|
|
@@ -791,6 +791,12 @@ interface StartImportResponse$1 {
|
|
|
791
791
|
interface SubmitUrlForImportRequest$1 {
|
|
792
792
|
/** Url to wordpress xml file. */
|
|
793
793
|
url: string;
|
|
794
|
+
/** Type of posts to import. */
|
|
795
|
+
postType?: POST_TYPE$1;
|
|
796
|
+
}
|
|
797
|
+
declare enum POST_TYPE$1 {
|
|
798
|
+
PUBLISHED = "PUBLISHED",
|
|
799
|
+
DRAFT = "DRAFT"
|
|
794
800
|
}
|
|
795
801
|
interface SubmitUrlForImportResponse$1 {
|
|
796
802
|
}
|
|
@@ -874,6 +880,12 @@ interface StartImportResponse {
|
|
|
874
880
|
interface SubmitUrlForImportRequest {
|
|
875
881
|
/** Url to wordpress xml file. */
|
|
876
882
|
url: string;
|
|
883
|
+
/** Type of posts to import. */
|
|
884
|
+
postType?: POST_TYPE;
|
|
885
|
+
}
|
|
886
|
+
declare enum POST_TYPE {
|
|
887
|
+
PUBLISHED = "PUBLISHED",
|
|
888
|
+
DRAFT = "DRAFT"
|
|
877
889
|
}
|
|
878
890
|
interface SubmitUrlForImportResponse {
|
|
879
891
|
}
|