Skip to content
Void Monster Docs

Type to search guides and API reference.

    Splash/Developer docs

    Type Alias: FieldDef

    Public 1.2.0API 1.2.0

    @faeyumbrea/splash-api-types


    @faeyumbrea/splash-api-types / FieldDef

    FieldDef = { group?: string; key: string; label?: string; step?: number; type: "number"; } | { group?: string; key: string; label?: string; source?: "values"; type: "text"; } | { group?: string; key: string; label?: string; type: "color"; } | { group?: string; key: string; label?: string; type: "checkbox"; } | { hint?: string; key: string; label?: string; type: "code"; } | { key: string; label?: string; multiple?: boolean; options?: FieldOption[]; placeholder?: string; source?: "macros" | "states"; type: "select"; } | { key: string; type: "conditions"; }

    Defined in: public-api.d.ts:43

    Describes one property rendered by Splash’s built-in editors.