Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wix/blog_blog-importer

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/blog_blog-importer - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

4

build/cjs/src/blog-v1-wordpress-import-blog-importer.context.d.ts

@@ -8,3 +8,3 @@ import { startImport as publicStartImport, submitUrlForImport as publicSubmitUrlForImport, validateUrlForImport as publicValidateUrlForImport, getImportStatus as publicGetImportStatus, getNotImportedPosts as publicGetNotImportedPosts } from './blog-v1-wordpress-import-blog-importer.public';

export declare const getNotImportedPosts: MaybeContext<BuildRESTFunction<typeof publicGetNotImportedPosts> & typeof publicGetNotImportedPosts>;
export { Status } from './blog-v1-wordpress-import-blog-importer.universal';
export { ImportStatus, StartImportRequest, StartImportResponse, SubmitUrlForImportRequest, SubmitUrlForImportResponse, ValidateUrlForImportRequest, ValidateUrlForImportResponse, GetImportStatusRequest, GetImportStatusResponse, GetNotImportedPostsRequest, GetNotImportedPostsResponse, Post, GetImportStatusResponseNonNullableFields, GetNotImportedPostsResponseNonNullableFields, } from './blog-v1-wordpress-import-blog-importer.universal';
export { Status, POST_TYPE, } from './blog-v1-wordpress-import-blog-importer.universal';
export { ImportStatus, StartImportRequest, StartImportResponse, SubmitUrlForImportRequest, SubmitUrlForImportResponse, ValidateUrlForImportRequest, ValidateUrlForImportResponse, GetImportStatusRequest, GetImportStatusResponse, GetNotImportedPostsRequest, GetNotImportedPostsResponse, Post, GetImportStatusResponseNonNullableFields, GetNotImportedPostsResponseNonNullableFields, SubmitUrlForImportOptions, } from './blog-v1-wordpress-import-blog-importer.universal';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Status = exports.getNotImportedPosts = exports.getImportStatus = exports.validateUrlForImport = exports.submitUrlForImport = exports.startImport = void 0;
exports.POST_TYPE = exports.Status = exports.getNotImportedPosts = exports.getImportStatus = exports.validateUrlForImport = exports.submitUrlForImport = exports.startImport = void 0;
const blog_v1_wordpress_import_blog_importer_public_1 = require("./blog-v1-wordpress-import-blog-importer.public");

@@ -13,2 +13,3 @@ const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");

Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return blog_v1_wordpress_import_blog_importer_universal_1.Status; } });
Object.defineProperty(exports, "POST_TYPE", { enumerable: true, get: function () { return blog_v1_wordpress_import_blog_importer_universal_1.POST_TYPE; } });
//# sourceMappingURL=blog-v1-wordpress-import-blog-importer.context.js.map
import { HttpClient } from '@wix/sdk-types';
import { GetImportStatusResponse, GetImportStatusResponseNonNullableFields, GetNotImportedPostsResponse, GetNotImportedPostsResponseNonNullableFields, ValidateUrlForImportResponse } from './blog-v1-wordpress-import-blog-importer.universal';
import { GetImportStatusResponse, GetImportStatusResponseNonNullableFields, GetNotImportedPostsResponse, GetNotImportedPostsResponseNonNullableFields, SubmitUrlForImportOptions, ValidateUrlForImportResponse } from './blog-v1-wordpress-import-blog-importer.universal';
export declare const __metadata: {

@@ -22,3 +22,3 @@ PACKAGE_NAME: string;

*/
(url: string): Promise<void>;
(url: string, options?: SubmitUrlForImportOptions | undefined): Promise<void>;
}

@@ -44,2 +44,2 @@ export declare function validateUrlForImport(httpClient: HttpClient): ValidateUrlForImportSignature;

}
export { GetImportStatusRequest, GetImportStatusResponse, GetImportStatusResponseNonNullableFields, GetNotImportedPostsRequest, GetNotImportedPostsResponse, GetNotImportedPostsResponseNonNullableFields, ImportStatus, Post, StartImportRequest, StartImportResponse, Status, SubmitUrlForImportRequest, SubmitUrlForImportResponse, ValidateUrlForImportRequest, ValidateUrlForImportResponse, } from './blog-v1-wordpress-import-blog-importer.universal';
export { GetImportStatusRequest, GetImportStatusResponse, GetImportStatusResponseNonNullableFields, GetNotImportedPostsRequest, GetNotImportedPostsResponse, GetNotImportedPostsResponseNonNullableFields, ImportStatus, POST_TYPE, Post, StartImportRequest, StartImportResponse, Status, SubmitUrlForImportOptions, SubmitUrlForImportRequest, SubmitUrlForImportResponse, ValidateUrlForImportRequest, ValidateUrlForImportResponse, } from './blog-v1-wordpress-import-blog-importer.universal';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Status = exports.getNotImportedPosts = exports.getImportStatus = exports.validateUrlForImport = exports.submitUrlForImport = exports.startImport = exports.__metadata = void 0;
exports.Status = exports.POST_TYPE = exports.getNotImportedPosts = exports.getImportStatus = exports.validateUrlForImport = exports.submitUrlForImport = exports.startImport = exports.__metadata = void 0;
const blog_v1_wordpress_import_blog_importer_universal_1 = require("./blog-v1-wordpress-import-blog-importer.universal");

@@ -13,3 +13,3 @@ exports.__metadata = { PACKAGE_NAME: '@wix/blog' };

function submitUrlForImport(httpClient) {
return (url) => (0, blog_v1_wordpress_import_blog_importer_universal_1.submitUrlForImport)(url,
return (url, options) => (0, blog_v1_wordpress_import_blog_importer_universal_1.submitUrlForImport)(url, options,
// @ts-ignore

@@ -38,3 +38,4 @@ { httpClient });

var blog_v1_wordpress_import_blog_importer_universal_2 = require("./blog-v1-wordpress-import-blog-importer.universal");
Object.defineProperty(exports, "POST_TYPE", { enumerable: true, get: function () { return blog_v1_wordpress_import_blog_importer_universal_2.POST_TYPE; } });
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return blog_v1_wordpress_import_blog_importer_universal_2.Status; } });
//# sourceMappingURL=blog-v1-wordpress-import-blog-importer.public.js.map

@@ -29,3 +29,9 @@ export interface ImportStatus {

url: string;
/** Type of posts to import. */
postType?: POST_TYPE;
}
export declare enum POST_TYPE {
PUBLISHED = "PUBLISHED",
DRAFT = "DRAFT"
}
export interface SubmitUrlForImportResponse {

@@ -32,0 +38,0 @@ }

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Status = void 0;
exports.POST_TYPE = exports.Status = void 0;
var Status;

@@ -12,2 +12,7 @@ (function (Status) {

})(Status || (exports.Status = Status = {}));
var POST_TYPE;
(function (POST_TYPE) {
POST_TYPE["PUBLISHED"] = "PUBLISHED";
POST_TYPE["DRAFT"] = "DRAFT";
})(POST_TYPE || (exports.POST_TYPE = POST_TYPE = {}));
//# sourceMappingURL=blog-v1-wordpress-import-blog-importer.types.js.map

@@ -29,3 +29,9 @@ export interface ImportStatus {

url: string;
/** Type of posts to import. */
postType?: POST_TYPE;
}
export declare enum POST_TYPE {
PUBLISHED = "PUBLISHED",
DRAFT = "DRAFT"
}
export interface SubmitUrlForImportResponse {

@@ -102,3 +108,7 @@ }

*/
export declare function submitUrlForImport(url: string): Promise<void>;
export declare function submitUrlForImport(url: string, options?: SubmitUrlForImportOptions): Promise<void>;
export interface SubmitUrlForImportOptions {
/** Type of posts to import. */
postType?: POST_TYPE;
}
/** @param url - Url for wordpress site.

@@ -105,0 +115,0 @@ * @public

@@ -26,3 +26,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getNotImportedPosts = exports.getImportStatus = exports.validateUrlForImport = exports.submitUrlForImport = exports.startImport = exports.Status = void 0;
exports.getNotImportedPosts = exports.getImportStatus = exports.validateUrlForImport = exports.submitUrlForImport = exports.startImport = exports.POST_TYPE = exports.Status = void 0;
const transform_error_1 = require("@wix/sdk-runtime/transform-error");

@@ -39,2 +39,7 @@ const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");

})(Status || (exports.Status = Status = {}));
var POST_TYPE;
(function (POST_TYPE) {
POST_TYPE["PUBLISHED"] = "PUBLISHED";
POST_TYPE["DRAFT"] = "DRAFT";
})(POST_TYPE || (exports.POST_TYPE = POST_TYPE = {}));
/**

@@ -78,6 +83,9 @@ * Starts wordpress import process.

*/
async function submitUrlForImport(url) {
async function submitUrlForImport(url, options) {
// @ts-ignore
const { httpClient, sideEffects } = arguments[1];
const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ url: url });
const { httpClient, sideEffects } = arguments[2];
const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
url: url,
postType: options?.postType,
});
const reqOpts = ambassadorWixBlogV1WordpressImport.submitUrlForImport(payload);

@@ -92,5 +100,5 @@ sideEffects?.onSiteCall?.();

spreadPathsToArguments: {},
explicitPathsToArguments: { url: '$[0]' },
explicitPathsToArguments: { url: '$[0]', postType: '$[1].postType' },
singleArgumentUnchanged: false,
}, ['url']);
}, ['url', 'options']);
sideEffects?.onError?.(err);

@@ -97,0 +105,0 @@ throw transformedError;

@@ -8,3 +8,3 @@ import { startImport as publicStartImport, submitUrlForImport as publicSubmitUrlForImport, validateUrlForImport as publicValidateUrlForImport, getImportStatus as publicGetImportStatus, getNotImportedPosts as publicGetNotImportedPosts } from './blog-v1-wordpress-import-blog-importer.public';

export declare const getNotImportedPosts: MaybeContext<BuildRESTFunction<typeof publicGetNotImportedPosts> & typeof publicGetNotImportedPosts>;
export { Status } from './blog-v1-wordpress-import-blog-importer.universal';
export { ImportStatus, StartImportRequest, StartImportResponse, SubmitUrlForImportRequest, SubmitUrlForImportResponse, ValidateUrlForImportRequest, ValidateUrlForImportResponse, GetImportStatusRequest, GetImportStatusResponse, GetNotImportedPostsRequest, GetNotImportedPostsResponse, Post, GetImportStatusResponseNonNullableFields, GetNotImportedPostsResponseNonNullableFields, } from './blog-v1-wordpress-import-blog-importer.universal';
export { Status, POST_TYPE, } from './blog-v1-wordpress-import-blog-importer.universal';
export { ImportStatus, StartImportRequest, StartImportResponse, SubmitUrlForImportRequest, SubmitUrlForImportResponse, ValidateUrlForImportRequest, ValidateUrlForImportResponse, GetImportStatusRequest, GetImportStatusResponse, GetNotImportedPostsRequest, GetNotImportedPostsResponse, Post, GetImportStatusResponseNonNullableFields, GetNotImportedPostsResponseNonNullableFields, SubmitUrlForImportOptions, } from './blog-v1-wordpress-import-blog-importer.universal';

@@ -8,3 +8,3 @@ import { startImport as publicStartImport, submitUrlForImport as publicSubmitUrlForImport, validateUrlForImport as publicValidateUrlForImport, getImportStatus as publicGetImportStatus, getNotImportedPosts as publicGetNotImportedPosts, } from './blog-v1-wordpress-import-blog-importer.public';

export const getNotImportedPosts = createRESTModule(publicGetNotImportedPosts);
export { Status } from './blog-v1-wordpress-import-blog-importer.universal';
export { Status, POST_TYPE, } from './blog-v1-wordpress-import-blog-importer.universal';
//# sourceMappingURL=blog-v1-wordpress-import-blog-importer.context.js.map
import { HttpClient } from '@wix/sdk-types';
import { GetImportStatusResponse, GetImportStatusResponseNonNullableFields, GetNotImportedPostsResponse, GetNotImportedPostsResponseNonNullableFields, ValidateUrlForImportResponse } from './blog-v1-wordpress-import-blog-importer.universal';
import { GetImportStatusResponse, GetImportStatusResponseNonNullableFields, GetNotImportedPostsResponse, GetNotImportedPostsResponseNonNullableFields, SubmitUrlForImportOptions, ValidateUrlForImportResponse } from './blog-v1-wordpress-import-blog-importer.universal';
export declare const __metadata: {

@@ -22,3 +22,3 @@ PACKAGE_NAME: string;

*/
(url: string): Promise<void>;
(url: string, options?: SubmitUrlForImportOptions | undefined): Promise<void>;
}

@@ -44,2 +44,2 @@ export declare function validateUrlForImport(httpClient: HttpClient): ValidateUrlForImportSignature;

}
export { GetImportStatusRequest, GetImportStatusResponse, GetImportStatusResponseNonNullableFields, GetNotImportedPostsRequest, GetNotImportedPostsResponse, GetNotImportedPostsResponseNonNullableFields, ImportStatus, Post, StartImportRequest, StartImportResponse, Status, SubmitUrlForImportRequest, SubmitUrlForImportResponse, ValidateUrlForImportRequest, ValidateUrlForImportResponse, } from './blog-v1-wordpress-import-blog-importer.universal';
export { GetImportStatusRequest, GetImportStatusResponse, GetImportStatusResponseNonNullableFields, GetNotImportedPostsRequest, GetNotImportedPostsResponse, GetNotImportedPostsResponseNonNullableFields, ImportStatus, POST_TYPE, Post, StartImportRequest, StartImportResponse, Status, SubmitUrlForImportOptions, SubmitUrlForImportRequest, SubmitUrlForImportResponse, ValidateUrlForImportRequest, ValidateUrlForImportResponse, } from './blog-v1-wordpress-import-blog-importer.universal';

@@ -9,3 +9,3 @@ import { getImportStatus as universalGetImportStatus, getNotImportedPosts as universalGetNotImportedPosts, startImport as universalStartImport, submitUrlForImport as universalSubmitUrlForImport, validateUrlForImport as universalValidateUrlForImport, } from './blog-v1-wordpress-import-blog-importer.universal';

export function submitUrlForImport(httpClient) {
return (url) => universalSubmitUrlForImport(url,
return (url, options) => universalSubmitUrlForImport(url, options,
// @ts-ignore

@@ -29,3 +29,3 @@ { httpClient });

}
export { Status, } from './blog-v1-wordpress-import-blog-importer.universal';
export { POST_TYPE, Status, } from './blog-v1-wordpress-import-blog-importer.universal';
//# sourceMappingURL=blog-v1-wordpress-import-blog-importer.public.js.map

@@ -29,3 +29,9 @@ export interface ImportStatus {

url: string;
/** Type of posts to import. */
postType?: POST_TYPE;
}
export declare enum POST_TYPE {
PUBLISHED = "PUBLISHED",
DRAFT = "DRAFT"
}
export interface SubmitUrlForImportResponse {

@@ -32,0 +38,0 @@ }

@@ -9,2 +9,7 @@ export var Status;

})(Status || (Status = {}));
export var POST_TYPE;
(function (POST_TYPE) {
POST_TYPE["PUBLISHED"] = "PUBLISHED";
POST_TYPE["DRAFT"] = "DRAFT";
})(POST_TYPE || (POST_TYPE = {}));
//# sourceMappingURL=blog-v1-wordpress-import-blog-importer.types.js.map

@@ -29,3 +29,9 @@ export interface ImportStatus {

url: string;
/** Type of posts to import. */
postType?: POST_TYPE;
}
export declare enum POST_TYPE {
PUBLISHED = "PUBLISHED",
DRAFT = "DRAFT"
}
export interface SubmitUrlForImportResponse {

@@ -102,3 +108,7 @@ }

*/
export declare function submitUrlForImport(url: string): Promise<void>;
export declare function submitUrlForImport(url: string, options?: SubmitUrlForImportOptions): Promise<void>;
export interface SubmitUrlForImportOptions {
/** Type of posts to import. */
postType?: POST_TYPE;
}
/** @param url - Url for wordpress site.

@@ -105,0 +115,0 @@ * @public

@@ -12,2 +12,7 @@ import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';

})(Status || (Status = {}));
export var POST_TYPE;
(function (POST_TYPE) {
POST_TYPE["PUBLISHED"] = "PUBLISHED";
POST_TYPE["DRAFT"] = "DRAFT";
})(POST_TYPE || (POST_TYPE = {}));
/**

@@ -50,6 +55,9 @@ * Starts wordpress import process.

*/
export async function submitUrlForImport(url) {
export async function submitUrlForImport(url, options) {
// @ts-ignore
const { httpClient, sideEffects } = arguments[1];
const payload = renameKeysFromSDKRequestToRESTRequest({ url: url });
const { httpClient, sideEffects } = arguments[2];
const payload = renameKeysFromSDKRequestToRESTRequest({
url: url,
postType: options?.postType,
});
const reqOpts = ambassadorWixBlogV1WordpressImport.submitUrlForImport(payload);

@@ -64,5 +72,5 @@ sideEffects?.onSiteCall?.();

spreadPathsToArguments: {},
explicitPathsToArguments: { url: '$[0]' },
explicitPathsToArguments: { url: '$[0]', postType: '$[1].postType' },
singleArgumentUnchanged: false,
}, ['url']);
}, ['url', 'options']);
sideEffects?.onError?.(err);

@@ -69,0 +77,0 @@ throw transformedError;

{
"name": "@wix/blog_blog-importer",
"version": "1.0.5",
"version": "1.0.6",
"publishConfig": {

@@ -48,3 +48,3 @@ "registry": "https://registry.npmjs.org/",

},
"falconPackageHash": "818c25a284a7219b8b9a074850210e26d8b2f953fed8f5914c5ce9b6"
"falconPackageHash": "e048ab720e39b6afbeb70e4cbe8d31e08261e73851292933610a4c55"
}

@@ -439,3 +439,9 @@ type HostModule<T, H extends Host> = {

url: string;
/** Type of posts to import. */
postType?: POST_TYPE;
}
declare enum POST_TYPE {
PUBLISHED = "PUBLISHED",
DRAFT = "DRAFT"
}
interface SubmitUrlForImportResponse {

@@ -494,2 +500,6 @@ }

}
interface SubmitUrlForImportOptions {
/** Type of posts to import. */
postType?: POST_TYPE;
}

@@ -512,3 +522,3 @@ declare function startImport$1(httpClient: HttpClient): StartImportSignature;

*/
(url: string): Promise<void>;
(url: string, options?: SubmitUrlForImportOptions | undefined): Promise<void>;
}

@@ -541,2 +551,2 @@ declare function validateUrlForImport$1(httpClient: HttpClient): ValidateUrlForImportSignature;

export { type GetImportStatusRequest, type GetImportStatusResponse, type GetImportStatusResponseNonNullableFields, type GetNotImportedPostsRequest, type GetNotImportedPostsResponse, type GetNotImportedPostsResponseNonNullableFields, type ImportStatus, type Post, type StartImportRequest, type StartImportResponse, Status, type SubmitUrlForImportRequest, type SubmitUrlForImportResponse, type ValidateUrlForImportRequest, type ValidateUrlForImportResponse, getImportStatus, getNotImportedPosts, startImport, submitUrlForImport, validateUrlForImport };
export { type GetImportStatusRequest, type GetImportStatusResponse, type GetImportStatusResponseNonNullableFields, type GetNotImportedPostsRequest, type GetNotImportedPostsResponse, type GetNotImportedPostsResponseNonNullableFields, type ImportStatus, POST_TYPE, type Post, type StartImportRequest, type StartImportResponse, Status, type SubmitUrlForImportOptions, type SubmitUrlForImportRequest, type SubmitUrlForImportResponse, type ValidateUrlForImportRequest, type ValidateUrlForImportResponse, getImportStatus, getNotImportedPosts, startImport, submitUrlForImport, validateUrlForImport };

@@ -439,3 +439,9 @@ type HostModule<T, H extends Host> = {

url: string;
/** Type of posts to import. */
postType?: POST_TYPE;
}
declare enum POST_TYPE {
PUBLISHED = "PUBLISHED",
DRAFT = "DRAFT"
}
interface SubmitUrlForImportResponse {

@@ -494,2 +500,6 @@ }

}
interface SubmitUrlForImportOptions {
/** Type of posts to import. */
postType?: POST_TYPE;
}

@@ -512,3 +522,3 @@ declare function startImport$1(httpClient: HttpClient): StartImportSignature;

*/
(url: string): Promise<void>;
(url: string, options?: SubmitUrlForImportOptions | undefined): Promise<void>;
}

@@ -541,2 +551,2 @@ declare function validateUrlForImport$1(httpClient: HttpClient): ValidateUrlForImportSignature;

export { type GetImportStatusRequest, type GetImportStatusResponse, type GetImportStatusResponseNonNullableFields, type GetNotImportedPostsRequest, type GetNotImportedPostsResponse, type GetNotImportedPostsResponseNonNullableFields, type ImportStatus, type Post, type StartImportRequest, type StartImportResponse, Status, type SubmitUrlForImportRequest, type SubmitUrlForImportResponse, type ValidateUrlForImportRequest, type ValidateUrlForImportResponse, getImportStatus, getNotImportedPosts, startImport, submitUrlForImport, validateUrlForImport };
export { type GetImportStatusRequest, type GetImportStatusResponse, type GetImportStatusResponseNonNullableFields, type GetNotImportedPostsRequest, type GetNotImportedPostsResponse, type GetNotImportedPostsResponseNonNullableFields, type ImportStatus, POST_TYPE, type Post, type StartImportRequest, type StartImportResponse, Status, type SubmitUrlForImportOptions, type SubmitUrlForImportRequest, type SubmitUrlForImportResponse, type ValidateUrlForImportRequest, type ValidateUrlForImportResponse, getImportStatus, getNotImportedPosts, startImport, submitUrlForImport, validateUrlForImport };

@@ -29,3 +29,9 @@ interface ImportStatus {

url: string;
/** Type of posts to import. */
postType?: POST_TYPE;
}
declare enum POST_TYPE {
PUBLISHED = "PUBLISHED",
DRAFT = "DRAFT"
}
interface SubmitUrlForImportResponse {

@@ -102,3 +108,7 @@ }

*/
declare function submitUrlForImport(url: string): Promise<void>;
declare function submitUrlForImport(url: string, options?: SubmitUrlForImportOptions): Promise<void>;
interface SubmitUrlForImportOptions {
/** Type of posts to import. */
postType?: POST_TYPE;
}
/** @param url - Url for wordpress site.

@@ -126,2 +136,2 @@ * @public

export { type GetImportStatusRequest, type GetImportStatusResponse, type GetImportStatusResponseNonNullableFields, type GetNotImportedPostsRequest, type GetNotImportedPostsResponse, type GetNotImportedPostsResponseNonNullableFields, type ImportStatus, type Post, type StartImportRequest, type StartImportResponse, Status, type SubmitUrlForImportRequest, type SubmitUrlForImportResponse, type ValidateUrlForImportRequest, type ValidateUrlForImportResponse, getImportStatus, getNotImportedPosts, startImport, submitUrlForImport, validateUrlForImport };
export { type GetImportStatusRequest, type GetImportStatusResponse, type GetImportStatusResponseNonNullableFields, type GetNotImportedPostsRequest, type GetNotImportedPostsResponse, type GetNotImportedPostsResponseNonNullableFields, type ImportStatus, POST_TYPE, type Post, type StartImportRequest, type StartImportResponse, Status, type SubmitUrlForImportOptions, type SubmitUrlForImportRequest, type SubmitUrlForImportResponse, type ValidateUrlForImportRequest, type ValidateUrlForImportResponse, getImportStatus, getNotImportedPosts, startImport, submitUrlForImport, validateUrlForImport };

@@ -29,3 +29,9 @@ interface ImportStatus$1 {

url: string;
/** Type of posts to import. */
postType?: POST_TYPE$1;
}
declare enum POST_TYPE$1 {
PUBLISHED = "PUBLISHED",
DRAFT = "DRAFT"
}
interface SubmitUrlForImportResponse$1 {

@@ -113,3 +119,9 @@ }

url: string;
/** Type of posts to import. */
postType?: POST_TYPE;
}
declare enum POST_TYPE {
PUBLISHED = "PUBLISHED",
DRAFT = "DRAFT"
}
interface SubmitUrlForImportResponse {

@@ -116,0 +128,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc