UNPKG

mastra

Version:
16 lines 791 B
import type { Command } from 'commander'; import type { Environment, Project } from '../env/platform-api.js'; import type { ProjectDatabase } from './platform-api.js'; export declare function registerEnvDbCommands(envCommand: Command): void; /** * Human-readable attachment scope: which environment(s) receive this * database's env vars. */ export declare function formatScope(db: Pick<ProjectDatabase, 'environmentId'>, environments: Environment[]): string; /** * Derive a provider-safe default database name from the project slug/name. * Turso names become DNS labels, so: lowercase letters, digits, hyphens, * no leading/trailing hyphen, max 64 chars. */ export declare function defaultDatabaseName(project: Pick<Project, 'name' | 'slug'>): string; //# sourceMappingURL=db.d.ts.map