UNPKG

@plasmohq/itero-testbed-api

Version:

Plasmo Itero TestBed client API for Node.js

32 lines (30 loc) 808 B
declare const defaultOptions: { privateKey: string; token: string; entityId: string; extensionId: string; }; declare const errorMap: { privateKey: string; token: string; entityId: string; extensionId: string; }; type Options = typeof defaultOptions; declare const requiredFields: ("privateKey" | "token" | "entityId" | "extensionId")[]; declare class IteroTestBedAPI { options: { privateKey: string; token: string; entityId: string; extensionId: string; }; constructor(options: Options); /** * @returns the publish operation id */ submit({ filePath }: { filePath?: string; }): Promise<void>; } export { IteroTestBedAPI, Options, defaultOptions, errorMap, requiredFields };