Dotloom TypeScript API
    Preparing search index...

    Interface EntityTypeDef

    A plugin entity type (serializable; no executable code).

    interface EntityTypeDef {
        anchors?: { expr: string; kind?: AnchorKind; name: string }[];
        circle?: { center: string; radius: string };
        constraints?: {
            label?: string;
            lhs: string;
            op: Cmp;
            rhs: string;
            strength?: Strength;
        }[];
        derived?: { expr: string; name: string }[];
        label?: string;
        migrations?: {
            from: number;
            remove?: string[];
            rename?: Record<string, string>;
            set?: Record<string, PropValue>;
        }[];
        primitives?: PrimitiveDef[];
        props?: Record<string, PropDef>;
        typeId: string;
        version?: number;
    }
    Index
    anchors?: { expr: string; kind?: AnchorKind; name: string }[]
    circle?: { center: string; radius: string }
    constraints?: {
        label?: string;
        lhs: string;
        op: Cmp;
        rhs: string;
        strength?: Strength;
    }[]
    derived?: { expr: string; name: string }[]
    label?: string
    migrations?: {
        from: number;
        remove?: string[];
        rename?: Record<string, string>;
        set?: Record<string, PropValue>;
    }[]
    primitives?: PrimitiveDef[]
    props?: Record<string, PropDef>
    typeId: string
    version?: number