studiocms
Version:
Astro Native CMS for AstroDB. Built from the ground up by the Astro community.
27 lines (26 loc) • 1.02 kB
TypeScript
import { Cli, Effect } from '../../effect.js';
export declare const ALIASES: Map<string, string>;
export declare const StudioCMSScopes: string[];
export interface PluginInfo {
id: string;
packageName: string;
pluginName: string;
dependencies: [name: string, version: string][];
}
export declare const enum UpdateResult {
none = 0,
updated = 1,
cancelled = 2,
failure = 3
}
export declare const STUBS: {
STUDIOCMS_CONFIG: string;
};
export declare const toIdent: (name: string) => string;
export declare const createPrettyError: (err: Error) => Effect.Effect<Error, never, never>;
export declare const resolveConfigPath: (root: URL) => Effect.Effect<URL | undefined, import("effect/Cause").UnknownException, never>;
export declare function appendForwardSlash(path: string): string;
export declare const plugin: Cli.Args.Args<string[]>;
export declare const addPlugin: Cli.Command.Command<"add", never, Error | Effect.Effect<Error, never, never>, {
readonly plugin: string[];
}>;