@mochabug/adaptkit
Version:
A cmd to create, emulate and publish Mochabug Adapt plugins
27 lines • 809 B
TypeScript
import { Manifest } from './genproto/mochabugapis/adapt/plugins/v1/manifest_pb';
interface EmulateOpts {
cdnFolder?: string;
assetsFolder?: string;
configuratorPath?: string;
configuratorWasmPath?: string[];
executorPath: string;
executorWasmPath: string[];
manifest: Manifest;
endpoint: string;
}
export declare function emulate(opts: EmulateOpts): Promise<void>;
interface PublishOpts {
cdnFolder?: string;
assetsFolder?: string;
configuratorPath?: string;
configuratorWasmPath?: string[];
executorPath: string;
executorWasmPath: string[];
manifest: Manifest;
endpoint: string;
accessToken: string;
insecure: boolean;
}
export declare function publish(opts: PublishOpts): Promise<void>;
export {};
//# sourceMappingURL=publish.d.ts.map