vendure-import-products-plugin
Version:
- This plugin imports the products from the specified url every specified day.
10 lines (9 loc) • 462 B
TypeScript
import { Channel, ConfigService, RequestContext, TransactionalConnection } from '@vendure/core';
/**
* @description
* Creates a {@link RequestContext} configured for the default Channel with the activeUser set
* as the superadmin user. Useful for populating data.
*
* @docsCategory testing
*/
export declare function getSuperadminContext(defaultChannel: Channel, connection: TransactionalConnection, configService: ConfigService): Promise<RequestContext>;