Cotal TypeScript packages
    Preparing search index...

    Interface ServicePreset

    A declarative factory for an adapter definition. It starts nothing and supplies no credentials. Options and their CLI flags derive from the adapter's one closed schema, not another copy. defaults lets service start <preset> and service add --preset fill an option the person did not give; an option with no default that the schema requires is still asked for by name.

    interface ServicePreset {
        adapter: string;
        aliases?: readonly string[];
        defaults?: Readonly<Record<string, ServicePresetDefault>>;
        kind: "service-preset";
        name: string;
        summary: string;
        timeoutMs: number;
    }

    Hierarchy (View Summary)

    Index
    adapter: string
    aliases?: readonly string[]

    Other names that resolve to this extension within its kind. A name or alias already claimed in the kind is refused at registration, so resolution never depends on load order.

    defaults?: Readonly<Record<string, ServicePresetDefault>>
    kind: "service-preset"
    name: string
    summary: string
    timeoutMs: number