GramIO API Reference / @gramio/scenes/dist / ScenesStorageData
Interface: ScenesStorageData<Params, State>
Defined in: scenes/index.d.ts:267
Type Parameters
| Type Parameter | Default type |
|---|---|
Params | any |
State | any |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
entered? | boolean | true once scene.onEnter has fired for this occupancy of the scene. Used to distinguish "scene first entry" (fire onEnter) from "step transition with firstTime=true" (don't re-fire onEnter). Defaults to false on initial entry and is set true by dispatchActive after onEnter runs. | scenes/index.d.ts:282 |
firstTime | boolean | - | scenes/index.d.ts:273 |
name | string | - | scenes/index.d.ts:268 |
params | Params | - | scenes/index.d.ts:269 |
parentStack? | ParentSceneFrame[] | - | scenes/index.d.ts:274 |
previousStepId | string | number | - | scenes/index.d.ts:272 |
state | State | - | scenes/index.d.ts:270 |
stepId | string | number | - | scenes/index.d.ts:271 |