> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# DashboardState

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: type-alias
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/model/store/types.ts

Layout of the dashboard component's state. State modifications are always done using Command API. Reading from state must always be done using the Selectors API.

Accessing state props directly is dangerous practice. We reserve the rights to refactor and otherwise break the shape of the state at any time while keeping the Selectors and Command APIs stable.

**Signature:**

```typescript
export type DashboardState = {
    showWidgetAsTable: IShowWidgetAsTableState;
    loading: ILoadingState;
    saving: SavingState;
    executed: IExecutedState;
    backendCapabilities: BackendCapabilitiesState;
    config: ConfigState;
    entitlements: IEntitlementsState;
    permissions: PermissionsState;
    tabs: ITabsState;
    catalog: CatalogState;
    user: UserState;
    meta: IDashboardMetaState;
    drill: IDrillState;
    insights: EntityState<IInsight, EntityId>;
    drillTargets: EntityState<IDrillTargets, EntityId>;
    listedDashboards: EntityState<IListedDashboard, EntityId>;
    accessibleDashboards: IAccessibleDashboardsState;
    inaccessibleDashboards: EntityState<IInaccessibleDashboard, EntityId>;
    unavailableObjects: EntityState<IUnavailableDashboardReference, EntityId>;
    dashboardPermissions: DashboardPermissionsState;
    automations: IAutomationsState;
    notificationChannels: INotificationChannelsState;
    dashboardSummaryWorkflow: DashboardSummaryWorkflowState;
    renderMode: IRenderModeState;
    ui: IUiState;
    executionResults: EntityState<IExecutionResultEnvelope, EntityId>;
    restrictedData: IRestrictedDataState;
    _queryCache: {
        [queryName: string]: any;
    };
    filterViews: IFilterViewsState;
};
```
**References:** [IShowWidgetAsTableState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ishowwidgetastablestate/index.md), [ILoadingState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iloadingstate/index.md), [SavingState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.savingstate/index.md), [IExecutedState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iexecutedstate/index.md), [BackendCapabilitiesState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.backendcapabilitiesstate/index.md), [ConfigState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.configstate/index.md), [IEntitlementsState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ientitlementsstate/index.md), [PermissionsState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.permissionsstate/index.md), [ITabsState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.itabsstate/index.md), [CatalogState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.catalogstate/index.md), [UserState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.userstate/index.md), [IDashboardMetaState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardmetastate/index.md), [IDrillState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idrillstate/index.md), [IInsight](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iinsight/index.md), [IDrillTargets](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idrilltargets/index.md), [IListedDashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ilisteddashboard/index.md), [IAccessibleDashboardsState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iaccessibledashboardsstate/index.md), [IInaccessibleDashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinaccessibledashboard/index.md), [IUnavailableDashboardReference](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iunavailabledashboardreference/index.md), [DashboardPermissionsState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.dashboardpermissionsstate/index.md), [IAutomationsState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationsstate/index.md), [INotificationChannelsState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.inotificationchannelsstate/index.md), [IRenderModeState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.irendermodestate/index.md), [IUiState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iuistate/index.md), [IExecutionResultEnvelope](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iexecutionresultenvelope/index.md), [IFilterViewsState](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ifilterviewsstate/index.md)
