UNPKG

@mastra/core

Version:
20 lines 824 B
import { MastraBundler } from '../bundler/index.js'; import type { IBundler } from '../bundler/index.js'; export interface IDeployer extends IBundler { deploy(outputDirectory: string): Promise<void>; /** * When true, `mastra build` runs `deploy()` right after bundling. * Push-style deployers (e.g. sandbox deploys) opt in; platform deployers * that deploy via their own tooling (git push, wrangler, ...) leave it unset. */ readonly deployOnBuild?: boolean; } export declare abstract class MastraDeployer extends MastraBundler implements IDeployer { constructor({ name }: { name: string; }); abstract deploy(outputDirectory: string): Promise<void>; /** See {@link IDeployer.deployOnBuild}. */ readonly deployOnBuild?: boolean; } //# sourceMappingURL=index.d.ts.map