All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ducks.regions.Actions.d.ts Maven / Gradle / Ivy

The newest version!
import { Action } from '../Action'

import { Region } from './Regions'

export type RegisterRegionPayload = {
    regionId: string
    regionState: Region
}

export type SetActiveRegionEntityPayload = {
    regionId: string
    activeEntity: string
}

export type SetTabInvalidPayload = {
    regionId: string
    tabId: string
    invalid: boolean
}

export interface InfoMeta {
    datasources: string[]
    widgets: string[]
}

export type ServiceInfo = Record

export type SetRegionServiceInfoPayload = {
    regionId: string
    serviceInfo: ServiceInfo
}

export type SetRegionVisibilityPayload = {
    regionId: string
    visible: boolean
}

export type RegisterRegion = Action
export type UnregisterRegion = Action
export type SetActiveRegionEntity = Action
export type SetTabInvalid = Action
export type SetRegionServiceInfo = Action
export type SetRegionVisibility = Action




© 2015 - 2024 Weber Informatics LLC | Privacy Policy