@wix/blog 1.0.299 → 1.0.301
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.301",
|
|
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.12",
|
|
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": "ddb8710fd9a617851f99ca1e3347bdaab11e5818ad6e942fe4c72c32"
|
|
52
52
|
}
|
|
@@ -1196,6 +1196,16 @@ interface StartImportRequest {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
interface StartImportResponse {
|
|
1198
1198
|
}
|
|
1199
|
+
interface UploadFileForImportRequest {
|
|
1200
|
+
/** The content of the WordPress XML file. */
|
|
1201
|
+
fileContent?: Uint8Array | null;
|
|
1202
|
+
/** The name of the uploaded file. */
|
|
1203
|
+
fileName?: string | null;
|
|
1204
|
+
}
|
|
1205
|
+
interface UploadFileForImportResponse {
|
|
1206
|
+
/** Number of posts. */
|
|
1207
|
+
totalPosts?: number | null;
|
|
1208
|
+
}
|
|
1199
1209
|
interface SubmitUrlForImportRequest {
|
|
1200
1210
|
/** Url to wordpress xml file. */
|
|
1201
1211
|
url: string;
|
|
@@ -1257,6 +1267,12 @@ interface StartImportOptions {
|
|
|
1257
1267
|
/** Should publish the posts after import. */
|
|
1258
1268
|
shouldPublish?: boolean | null;
|
|
1259
1269
|
}
|
|
1270
|
+
interface UploadFileForImportOptions {
|
|
1271
|
+
/** The content of the WordPress XML file. */
|
|
1272
|
+
fileContent?: Uint8Array | null;
|
|
1273
|
+
/** The name of the uploaded file. */
|
|
1274
|
+
fileName?: string | null;
|
|
1275
|
+
}
|
|
1260
1276
|
|
|
1261
1277
|
declare function startImport$1(httpClient: HttpClient): StartImportSignature;
|
|
1262
1278
|
interface StartImportSignature {
|
|
@@ -1265,6 +1281,11 @@ interface StartImportSignature {
|
|
|
1265
1281
|
*/
|
|
1266
1282
|
(options?: StartImportOptions | undefined): Promise<void>;
|
|
1267
1283
|
}
|
|
1284
|
+
declare function uploadFileForImport$1(httpClient: HttpClient): UploadFileForImportSignature;
|
|
1285
|
+
interface UploadFileForImportSignature {
|
|
1286
|
+
/** */
|
|
1287
|
+
(options?: UploadFileForImportOptions | undefined): Promise<UploadFileForImportResponse>;
|
|
1288
|
+
}
|
|
1268
1289
|
declare function submitUrlForImport$1(httpClient: HttpClient): SubmitUrlForImportSignature;
|
|
1269
1290
|
interface SubmitUrlForImportSignature {
|
|
1270
1291
|
/**
|
|
@@ -1297,6 +1318,7 @@ interface GetNotImportedPostsSignature {
|
|
|
1297
1318
|
}
|
|
1298
1319
|
|
|
1299
1320
|
declare const startImport: MaybeContext<BuildRESTFunction<typeof startImport$1> & typeof startImport$1>;
|
|
1321
|
+
declare const uploadFileForImport: MaybeContext<BuildRESTFunction<typeof uploadFileForImport$1> & typeof uploadFileForImport$1>;
|
|
1300
1322
|
declare const submitUrlForImport: MaybeContext<BuildRESTFunction<typeof submitUrlForImport$1> & typeof submitUrlForImport$1>;
|
|
1301
1323
|
declare const validateUrlForImport: MaybeContext<BuildRESTFunction<typeof validateUrlForImport$1> & typeof validateUrlForImport$1>;
|
|
1302
1324
|
declare const getImportStatus: MaybeContext<BuildRESTFunction<typeof getImportStatus$1> & typeof getImportStatus$1>;
|
|
@@ -1314,15 +1336,19 @@ type context$4_StartImportRequest = StartImportRequest;
|
|
|
1314
1336
|
type context$4_StartImportResponse = StartImportResponse;
|
|
1315
1337
|
type context$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
|
|
1316
1338
|
type context$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
|
|
1339
|
+
type context$4_UploadFileForImportOptions = UploadFileForImportOptions;
|
|
1340
|
+
type context$4_UploadFileForImportRequest = UploadFileForImportRequest;
|
|
1341
|
+
type context$4_UploadFileForImportResponse = UploadFileForImportResponse;
|
|
1317
1342
|
type context$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
|
|
1318
1343
|
type context$4_ValidateUrlForImportResponse = ValidateUrlForImportResponse;
|
|
1319
1344
|
declare const context$4_getImportStatus: typeof getImportStatus;
|
|
1320
1345
|
declare const context$4_getNotImportedPosts: typeof getNotImportedPosts;
|
|
1321
1346
|
declare const context$4_startImport: typeof startImport;
|
|
1322
1347
|
declare const context$4_submitUrlForImport: typeof submitUrlForImport;
|
|
1348
|
+
declare const context$4_uploadFileForImport: typeof uploadFileForImport;
|
|
1323
1349
|
declare const context$4_validateUrlForImport: typeof validateUrlForImport;
|
|
1324
1350
|
declare namespace context$4 {
|
|
1325
|
-
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_StartImportOptions as StartImportOptions, 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 };
|
|
1351
|
+
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_StartImportOptions as StartImportOptions, 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_UploadFileForImportOptions as UploadFileForImportOptions, type context$4_UploadFileForImportRequest as UploadFileForImportRequest, type context$4_UploadFileForImportResponse as UploadFileForImportResponse, 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_uploadFileForImport as uploadFileForImport, context$4_validateUrlForImport as validateUrlForImport };
|
|
1326
1352
|
}
|
|
1327
1353
|
|
|
1328
1354
|
interface Category$2 {
|
|
@@ -1196,6 +1196,16 @@ interface StartImportRequest {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
interface StartImportResponse {
|
|
1198
1198
|
}
|
|
1199
|
+
interface UploadFileForImportRequest {
|
|
1200
|
+
/** The content of the WordPress XML file. */
|
|
1201
|
+
fileContent?: Uint8Array | null;
|
|
1202
|
+
/** The name of the uploaded file. */
|
|
1203
|
+
fileName?: string | null;
|
|
1204
|
+
}
|
|
1205
|
+
interface UploadFileForImportResponse {
|
|
1206
|
+
/** Number of posts. */
|
|
1207
|
+
totalPosts?: number | null;
|
|
1208
|
+
}
|
|
1199
1209
|
interface SubmitUrlForImportRequest {
|
|
1200
1210
|
/** Url to wordpress xml file. */
|
|
1201
1211
|
url: string;
|
|
@@ -1257,6 +1267,12 @@ interface StartImportOptions {
|
|
|
1257
1267
|
/** Should publish the posts after import. */
|
|
1258
1268
|
shouldPublish?: boolean | null;
|
|
1259
1269
|
}
|
|
1270
|
+
interface UploadFileForImportOptions {
|
|
1271
|
+
/** The content of the WordPress XML file. */
|
|
1272
|
+
fileContent?: Uint8Array | null;
|
|
1273
|
+
/** The name of the uploaded file. */
|
|
1274
|
+
fileName?: string | null;
|
|
1275
|
+
}
|
|
1260
1276
|
|
|
1261
1277
|
declare function startImport$1(httpClient: HttpClient): StartImportSignature;
|
|
1262
1278
|
interface StartImportSignature {
|
|
@@ -1265,6 +1281,11 @@ interface StartImportSignature {
|
|
|
1265
1281
|
*/
|
|
1266
1282
|
(options?: StartImportOptions | undefined): Promise<void>;
|
|
1267
1283
|
}
|
|
1284
|
+
declare function uploadFileForImport$1(httpClient: HttpClient): UploadFileForImportSignature;
|
|
1285
|
+
interface UploadFileForImportSignature {
|
|
1286
|
+
/** */
|
|
1287
|
+
(options?: UploadFileForImportOptions | undefined): Promise<UploadFileForImportResponse>;
|
|
1288
|
+
}
|
|
1268
1289
|
declare function submitUrlForImport$1(httpClient: HttpClient): SubmitUrlForImportSignature;
|
|
1269
1290
|
interface SubmitUrlForImportSignature {
|
|
1270
1291
|
/**
|
|
@@ -1297,6 +1318,7 @@ interface GetNotImportedPostsSignature {
|
|
|
1297
1318
|
}
|
|
1298
1319
|
|
|
1299
1320
|
declare const startImport: MaybeContext<BuildRESTFunction<typeof startImport$1> & typeof startImport$1>;
|
|
1321
|
+
declare const uploadFileForImport: MaybeContext<BuildRESTFunction<typeof uploadFileForImport$1> & typeof uploadFileForImport$1>;
|
|
1300
1322
|
declare const submitUrlForImport: MaybeContext<BuildRESTFunction<typeof submitUrlForImport$1> & typeof submitUrlForImport$1>;
|
|
1301
1323
|
declare const validateUrlForImport: MaybeContext<BuildRESTFunction<typeof validateUrlForImport$1> & typeof validateUrlForImport$1>;
|
|
1302
1324
|
declare const getImportStatus: MaybeContext<BuildRESTFunction<typeof getImportStatus$1> & typeof getImportStatus$1>;
|
|
@@ -1314,15 +1336,19 @@ type index_d$4_StartImportRequest = StartImportRequest;
|
|
|
1314
1336
|
type index_d$4_StartImportResponse = StartImportResponse;
|
|
1315
1337
|
type index_d$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
|
|
1316
1338
|
type index_d$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
|
|
1339
|
+
type index_d$4_UploadFileForImportOptions = UploadFileForImportOptions;
|
|
1340
|
+
type index_d$4_UploadFileForImportRequest = UploadFileForImportRequest;
|
|
1341
|
+
type index_d$4_UploadFileForImportResponse = UploadFileForImportResponse;
|
|
1317
1342
|
type index_d$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
|
|
1318
1343
|
type index_d$4_ValidateUrlForImportResponse = ValidateUrlForImportResponse;
|
|
1319
1344
|
declare const index_d$4_getImportStatus: typeof getImportStatus;
|
|
1320
1345
|
declare const index_d$4_getNotImportedPosts: typeof getNotImportedPosts;
|
|
1321
1346
|
declare const index_d$4_startImport: typeof startImport;
|
|
1322
1347
|
declare const index_d$4_submitUrlForImport: typeof submitUrlForImport;
|
|
1348
|
+
declare const index_d$4_uploadFileForImport: typeof uploadFileForImport;
|
|
1323
1349
|
declare const index_d$4_validateUrlForImport: typeof validateUrlForImport;
|
|
1324
1350
|
declare namespace index_d$4 {
|
|
1325
|
-
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_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_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 };
|
|
1351
|
+
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_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_SubmitUrlForImportRequest as SubmitUrlForImportRequest, type index_d$4_SubmitUrlForImportResponse as SubmitUrlForImportResponse, type index_d$4_UploadFileForImportOptions as UploadFileForImportOptions, type index_d$4_UploadFileForImportRequest as UploadFileForImportRequest, type index_d$4_UploadFileForImportResponse as UploadFileForImportResponse, 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_uploadFileForImport as uploadFileForImport, index_d$4_validateUrlForImport as validateUrlForImport };
|
|
1326
1352
|
}
|
|
1327
1353
|
|
|
1328
1354
|
interface Category$2 {
|
|
@@ -790,6 +790,16 @@ interface StartImportRequest$1 {
|
|
|
790
790
|
}
|
|
791
791
|
interface StartImportResponse$1 {
|
|
792
792
|
}
|
|
793
|
+
interface UploadFileForImportRequest$1 {
|
|
794
|
+
/** The content of the WordPress XML file. */
|
|
795
|
+
fileContent?: Uint8Array | null;
|
|
796
|
+
/** The name of the uploaded file. */
|
|
797
|
+
fileName?: string | null;
|
|
798
|
+
}
|
|
799
|
+
interface UploadFileForImportResponse$1 {
|
|
800
|
+
/** Number of posts. */
|
|
801
|
+
totalPosts?: number | null;
|
|
802
|
+
}
|
|
793
803
|
interface SubmitUrlForImportRequest$1 {
|
|
794
804
|
/** Url to wordpress xml file. */
|
|
795
805
|
url: string;
|
|
@@ -875,6 +885,16 @@ interface StartImportRequest {
|
|
|
875
885
|
}
|
|
876
886
|
interface StartImportResponse {
|
|
877
887
|
}
|
|
888
|
+
interface UploadFileForImportRequest {
|
|
889
|
+
/** The content of the WordPress XML file. */
|
|
890
|
+
fileContent?: Uint8Array | null;
|
|
891
|
+
/** The name of the uploaded file. */
|
|
892
|
+
fileName?: string | null;
|
|
893
|
+
}
|
|
894
|
+
interface UploadFileForImportResponse {
|
|
895
|
+
/** Number of posts. */
|
|
896
|
+
totalPosts?: number | null;
|
|
897
|
+
}
|
|
878
898
|
interface SubmitUrlForImportRequest {
|
|
879
899
|
/** Url to wordpress xml file. */
|
|
880
900
|
url: string;
|
|
@@ -944,6 +964,7 @@ type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
944
964
|
__originalResponseType: R;
|
|
945
965
|
};
|
|
946
966
|
declare function startImport(): __PublicMethodMetaInfo$4<'POST', {}, StartImportRequest, StartImportRequest$1, StartImportResponse, StartImportResponse$1>;
|
|
967
|
+
declare function uploadFileForImport(): __PublicMethodMetaInfo$4<'POST', {}, UploadFileForImportRequest, UploadFileForImportRequest$1, UploadFileForImportResponse, UploadFileForImportResponse$1>;
|
|
947
968
|
declare function submitUrlForImport(): __PublicMethodMetaInfo$4<'POST', {}, SubmitUrlForImportRequest, SubmitUrlForImportRequest$1, SubmitUrlForImportResponse, SubmitUrlForImportResponse$1>;
|
|
948
969
|
declare function validateUrlForImport(): __PublicMethodMetaInfo$4<'POST', {}, ValidateUrlForImportRequest, ValidateUrlForImportRequest$1, ValidateUrlForImportResponse, ValidateUrlForImportResponse$1>;
|
|
949
970
|
declare function getImportStatus(): __PublicMethodMetaInfo$4<'GET', {}, GetImportStatusRequest, GetImportStatusRequest$1, GetImportStatusResponse & GetImportStatusResponseNonNullableFields, GetImportStatusResponse$1 & GetImportStatusResponseNonNullableFields$1>;
|
|
@@ -953,9 +974,10 @@ declare const meta$4_getImportStatus: typeof getImportStatus;
|
|
|
953
974
|
declare const meta$4_getNotImportedPosts: typeof getNotImportedPosts;
|
|
954
975
|
declare const meta$4_startImport: typeof startImport;
|
|
955
976
|
declare const meta$4_submitUrlForImport: typeof submitUrlForImport;
|
|
977
|
+
declare const meta$4_uploadFileForImport: typeof uploadFileForImport;
|
|
956
978
|
declare const meta$4_validateUrlForImport: typeof validateUrlForImport;
|
|
957
979
|
declare namespace meta$4 {
|
|
958
|
-
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_getImportStatus as getImportStatus, meta$4_getNotImportedPosts as getNotImportedPosts, meta$4_startImport as startImport, meta$4_submitUrlForImport as submitUrlForImport, meta$4_validateUrlForImport as validateUrlForImport };
|
|
980
|
+
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_getImportStatus as getImportStatus, meta$4_getNotImportedPosts as getNotImportedPosts, meta$4_startImport as startImport, meta$4_submitUrlForImport as submitUrlForImport, meta$4_uploadFileForImport as uploadFileForImport, meta$4_validateUrlForImport as validateUrlForImport };
|
|
959
981
|
}
|
|
960
982
|
|
|
961
983
|
interface Category$1 {
|