windease API reference - v0.6.0
    Preparing search index...

    Interface StoreEvents

    interface StoreEvents {
        "container.allowsDragOutChanged": {
            from: boolean;
            id: NodeId;
            to: boolean;
        };
        "container.allowsDropChanged": { from: boolean; id: NodeId; to: boolean };
        "container.allowsPinningChanged": {
            from: boolean;
            id: NodeId;
            to: boolean;
        };
        "container.configChanged": { from: unknown; id: NodeId; to: unknown };
        "container.stateChanged": { from: unknown; id: NodeId; to: unknown };
        "node.activityChanged": {
            changes: Record<string, { from: unknown; to: unknown }>;
            id: NodeId;
        };
        "node.cascadeDestroyed": {
            descendantIds: readonly NodeId[];
            parentId: NodeId;
        };
        "node.metaChanged": {
            changes: Record<string, { from: unknown; to: unknown }>;
            id: NodeId;
        };
        "node.moved": {
            fromIndex: number;
            fromParentId: NodeId
            | null;
            id: NodeId;
            toIndex: number;
            toParentId: NodeId;
        };
        "node.placementChanged": {
            changes: Record<string, { from: unknown; to: unknown }>;
            id: NodeId;
        };
        "node.registered": { id: NodeId };
        "node.reordered": {
            fromIndex: number;
            id: NodeId;
            parentId: NodeId;
            toIndex: number;
        };
        "node.transitioned": {
            from: string;
            id: NodeId;
            machine: "focus"
            | "lifecycle"
            | "transit";
            to: string;
        };
        "node.unregistered": { id: NodeId };
    }
    Index

    Properties

    "container.allowsDragOutChanged": { from: boolean; id: NodeId; to: boolean }
    "container.allowsDropChanged": { from: boolean; id: NodeId; to: boolean }
    "container.allowsPinningChanged": { from: boolean; id: NodeId; to: boolean }
    "container.configChanged": { from: unknown; id: NodeId; to: unknown }
    "container.stateChanged": { from: unknown; id: NodeId; to: unknown }

    Per-container strategy state (e.g. splitStrategy ratio) changed. Stored on node.container.state; round-trips through snapshot. By design this field should NOT participate in undo/redo when v2 history lands — resize gestures shouldn't pollute the timeline.

    "node.activityChanged": {
        changes: Record<string, { from: unknown; to: unknown }>;
        id: NodeId;
    }
    "node.cascadeDestroyed": { descendantIds: readonly NodeId[]; parentId: NodeId }
    "node.metaChanged": {
        changes: Record<string, { from: unknown; to: unknown }>;
        id: NodeId;
    }
    "node.moved": {
        fromIndex: number;
        fromParentId: NodeId | null;
        id: NodeId;
        toIndex: number;
        toParentId: NodeId;
    }
    "node.placementChanged": {
        changes: Record<string, { from: unknown; to: unknown }>;
        id: NodeId;
    }
    "node.registered": { id: NodeId }
    "node.reordered": {
        fromIndex: number;
        id: NodeId;
        parentId: NodeId;
        toIndex: number;
    }
    "node.transitioned": {
        from: string;
        id: NodeId;
        machine: "focus" | "lifecycle" | "transit";
        to: string;
    }
    "node.unregistered": { id: NodeId }