Phials plugin documentation
User guide
AI Disclosure: This page was generated by an LLM and may contain inaccuracies. Hand-crafted documentation will be implemented over time on the road to 1.0

ModuleInstance

Since Plugin API: 1.0.0

A single module instance configuration. Multiple instances of the same module type may exist (if allowMultiple is true).

Signature

interface ModuleInstance {
    id: string;
    type: ModuleType;
    title?: string;
    state?: unknown;
}

Members

NameTypeRequiredDescription
idstringyesUnique instance ID
typeModuleTypeyesModule type (references ModuleProvider.id)
titlestringnoCustom title override (uses provider name if not set)
stateunknownnoModule-specific persisted state