@blendsdk/year-planner-core
    Preparing search index...

    Type Alias VisibilityAction

    VisibilityAction:
        | { itemId: string; type: "showItem" }
        | { itemId: string; type: "hideItem" }
        | { itemId: string; type: "toggleItem" }
        | { layerId: string; type: "showLayer" }
        | { layerId: string; type: "hideLayer" }
        | { layerId: string; type: "toggleLayer" }
        | { groupId: string; type: "showGroup" }
        | { groupId: string; type: "hideGroup" }
        | { groupId: string; type: "toggleGroup" }
        | { channel: RenderChannel; type: "showChannel" }
        | { channel: RenderChannel; type: "hideChannel" }
        | { channel: RenderChannel; type: "toggleChannel" }
        | { type: "reset" }

    Visibility state transitions.

    Type Declaration

    • { itemId: string; type: "showItem" }
      • itemId: string

        Item to show.

      • type: "showItem"

        Shows one item.

    • { itemId: string; type: "hideItem" }
      • itemId: string

        Item to hide.

      • type: "hideItem"

        Hides one item.

    • { itemId: string; type: "toggleItem" }
      • itemId: string

        Item to toggle.

      • type: "toggleItem"

        Toggles one item.

    • { layerId: string; type: "showLayer" }
      • layerId: string

        Layer to show.

      • type: "showLayer"

        Shows one layer.

    • { layerId: string; type: "hideLayer" }
      • layerId: string

        Layer to hide.

      • type: "hideLayer"

        Hides one layer.

    • { layerId: string; type: "toggleLayer" }
      • layerId: string

        Layer to toggle.

      • type: "toggleLayer"

        Toggles one layer.

    • { groupId: string; type: "showGroup" }
      • groupId: string

        Group to show.

      • type: "showGroup"

        Shows one group.

    • { groupId: string; type: "hideGroup" }
      • groupId: string

        Group to hide.

      • type: "hideGroup"

        Hides one group and its descendants.

    • { groupId: string; type: "toggleGroup" }
      • groupId: string

        Group to toggle.

      • type: "toggleGroup"

        Toggles one group.

    • { channel: RenderChannel; type: "showChannel" }
      • channel: RenderChannel

        Channel to show.

      • type: "showChannel"

        Shows one render channel.

    • { channel: RenderChannel; type: "hideChannel" }
      • channel: RenderChannel

        Channel to hide.

      • type: "hideChannel"

        Hides one render channel.

    • { channel: RenderChannel; type: "toggleChannel" }
      • channel: RenderChannel

        Channel to toggle.

      • type: "toggleChannel"

        Toggles one render channel.

    • { type: "reset" }
      • type: "reset"

        Restores the empty visibility state.