windease API reference - v0.8.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: MachineName;
            to: string;
        };
        "node.unregistered": { id: NodeId };
        "throttle.pending": ThrottlePendingPayload;
        "throttle.published": ThrottlePublishedPayload;
    }
    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: MachineName;
        to: string;
    }
    "node.unregistered": { id: NodeId }
    "throttle.pending": ThrottlePendingPayload

    A node started being withheld by throttling. Only ever emitted by a store constructed with a throttle policy.

    "throttle.published": ThrottlePublishedPayload

    A withheld node reached the published view. Pairs with throttle.pending for the same id.