UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

23 lines 858 B
import { TranslationStore } from "../../i18n/types.mjs"; import { Config } from "../../../types/config.mjs"; import { AdapterRuntimeContext, EnvironmentVariables } from "../../runtime/types.mjs"; //#region src/libs/cli/commands/migrate.d.ts type MigrateCommandOptions = { skipSyncSteps?: boolean; skipEnvValidation?: boolean; yes?: boolean; allowDestructive?: boolean; remote?: boolean; }; /** Runs database and risk-aware collection migrations for CLI/runtime callers. */ declare const migrateCommand: (props?: { config?: Config; env?: EnvironmentVariables; runtimeContext?: AdapterRuntimeContext; translationStore?: TranslationStore; projectRoot?: string; mode: "process" | "return"; }) => (options?: MigrateCommandOptions) => Promise<boolean>; //#endregion export { migrateCommand as default }; //# sourceMappingURL=migrate.d.mts.map