# Type Alias WidgetsState

type WidgetsState = {
currentEditableIndex: number;
currentEditableWidgetId?: string;
editableMap: Record<string, { index: number; uniqid: string }>;
flushedWidgets: string[];
ids: Record<string, WidgetWrapperProps>;
layers: Record<string, WidgetLayer>;
modal?: WidgetModalProps;
rtObjectStack: WidgetRtObject[];
states: Record<string, WidgetStateProps>;
token?: string;
widgetAuthor: Record<string, PartialUndefined<jUserLittle>>;
widgetChipCount: Record<string, number>;
widgetContext: Record<string, WidgetContext>;
widgetObject: Record<string, PartialUndefined<jObjectLittle>>;
widgetObjectRights: Record<string, Rights>;
widgetSynchronizationStates: Record<string, boolean>;
widgetTitleStyle: WidgetStyles;
widgetUrls: Record<string, string>;
widgetWrapperBackgroundImage: Record<
string,
WidgetSelectionBackgroundProps,
>;
widgetWrapperStyle: WidgetStyles;
}

- Defined in jamespot-user-api/src/types/widgets.ts:175

##### Index

### Properties

currentEditableIndex
currentEditableWidgetId?
editableMap
flushedWidgets
ids
layers
modal?
rtObjectStack
states
token?
widgetAuthor
widgetChipCount
widgetContext
widgetObject
widgetObjectRights
widgetSynchronizationStates
widgetTitleStyle
widgetUrls
widgetWrapperBackgroundImage
widgetWrapperStyle

## Properties

### currentEditableIndex

currentEditableIndex: number

- Defined in jamespot-user-api/src/types/widgets.ts:188

### `Optional` currentEditableWidgetId

currentEditableWidgetId?: string

- Defined in jamespot-user-api/src/types/widgets.ts:189

### editableMap

editableMap: Record<string, { index: number; uniqid: string }>

- Defined in jamespot-user-api/src/types/widgets.ts:181

### flushedWidgets

flushedWidgets: string[]

- Defined in jamespot-user-api/src/types/widgets.ts:197

### ids

ids: Record<string, WidgetWrapperProps>

- Defined in jamespot-user-api/src/types/widgets.ts:177

### layers

layers: Record<string, WidgetLayer>

- Defined in jamespot-user-api/src/types/widgets.ts:178

### `Optional` modal

modal?: WidgetModalProps

- Defined in jamespot-user-api/src/types/widgets.ts:180

### rtObjectStack

rtObjectStack: WidgetRtObject[]

- Defined in jamespot-user-api/src/types/widgets.ts:198

### states

states: Record<string, WidgetStateProps>

- Defined in jamespot-user-api/src/types/widgets.ts:179

### `Optional` token

token?: string

- Defined in jamespot-user-api/src/types/widgets.ts:176

### widgetAuthor

widgetAuthor: Record<string, PartialUndefined<jUserLittle>>

- Defined in jamespot-user-api/src/types/widgets.ts:195

### widgetChipCount

widgetChipCount: Record<string, number>

- Defined in jamespot-user-api/src/types/widgets.ts:194

### widgetContext

widgetContext: Record<string, WidgetContext>

- Defined in jamespot-user-api/src/types/widgets.ts:199

### widgetObject

widgetObject: Record<string, PartialUndefined<jObjectLittle>>

- Defined in jamespot-user-api/src/types/widgets.ts:192

### widgetObjectRights

widgetObjectRights: Record<string, Rights>

- Defined in jamespot-user-api/src/types/widgets.ts:193

### widgetSynchronizationStates

widgetSynchronizationStates: Record<string, boolean>

- Defined in jamespot-user-api/src/types/widgets.ts:200

### widgetTitleStyle

widgetTitleStyle: WidgetStyles

- Defined in jamespot-user-api/src/types/widgets.ts:191

### widgetUrls

widgetUrls: Record<string, string>

- Defined in jamespot-user-api/src/types/widgets.ts:201

### widgetWrapperBackgroundImage

widgetWrapperBackgroundImage: Record<string, WidgetSelectionBackgroundProps>

- Defined in jamespot-user-api/src/types/widgets.ts:196

### widgetWrapperStyle

widgetWrapperStyle: WidgetStyles

- Defined in jamespot-user-api/src/types/widgets.ts:190