docs + Nominals for ephemeral project root
This commit is contained in:
parent
9d767a08ac
commit
a5472e1047
1 changed files with 9 additions and 3 deletions
|
@ -1,4 +1,9 @@
|
||||||
import type {ProjectState} from '@theatre/core/projects/store/storeTypes'
|
import type {ProjectState} from '@theatre/core/projects/store/storeTypes'
|
||||||
|
import type {
|
||||||
|
ObjectAddressKey,
|
||||||
|
ProjectId,
|
||||||
|
SheetId,
|
||||||
|
} from '@theatre/shared/utils/ids'
|
||||||
import type {SerializableMap, StrictRecord} from '@theatre/shared/utils/types'
|
import type {SerializableMap, StrictRecord} from '@theatre/shared/utils/types'
|
||||||
import type {
|
import type {
|
||||||
IExtension,
|
IExtension,
|
||||||
|
@ -30,14 +35,15 @@ export type StudioEphemeralState = {
|
||||||
coreByProject: {[projectId in string]: ProjectState['ephemeral']}
|
coreByProject: {[projectId in string]: ProjectState['ephemeral']}
|
||||||
projects: {
|
projects: {
|
||||||
stateByProjectId: StrictRecord<
|
stateByProjectId: StrictRecord<
|
||||||
string,
|
ProjectId,
|
||||||
{
|
{
|
||||||
stateBySheetId: StrictRecord<
|
stateBySheetId: StrictRecord<
|
||||||
string,
|
SheetId,
|
||||||
{
|
{
|
||||||
stateByObjectKey: StrictRecord<
|
stateByObjectKey: StrictRecord<
|
||||||
string,
|
ObjectAddressKey,
|
||||||
{
|
{
|
||||||
|
/** e.g. `{color: {r: true, g: true}, price: true}` */
|
||||||
valuesBeingScrubbed?: SerializableMap<boolean>
|
valuesBeingScrubbed?: SerializableMap<boolean>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue