import{_ as e,c as d,o as r,a}from"./app.ab34650d.js";const b=JSON.parse('{"title":"Interface: BaseBoard","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Hierarchy","slug":"hierarchy"},{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"[Component]","slug":"component"},{"level":3,"title":"[DefaultValue]","slug":"defaultvalue"},{"level":3,"title":"[Deleted]","slug":"deleted"},{"level":3,"title":"[GatherProps]","slug":"gatherprops"},{"level":3,"title":"[PersistentState]","slug":"persistentstate"},{"level":3,"title":"[RefSymbol]","slug":"refsymbol"},{"level":3,"title":"[StackTrace]","slug":"stacktrace"},{"level":3,"title":"id","slug":"id"},{"level":3,"title":"links","slug":"links"},{"level":3,"title":"nodes","slug":"nodes"},{"level":3,"title":"selectedAction","slug":"selectedaction"},{"level":3,"title":"selectedNode","slug":"selectednode"},{"level":3,"title":"type","slug":"type"},{"level":3,"title":"value","slug":"value"}],"relativePath":"api/interfaces/features/boards/board.BaseBoard.md","lastUpdated":null}'),o={name:"api/interfaces/features/boards/board.BaseBoard.md"},t=a('

Interface: BaseBoard

features/boards/board.BaseBoard

A Ref that has been augmented with properties to allow it to be saved and loaded within the player save data object.

Hierarchy

Properties

[Component]

\u2022 [Component]: DefineComponent<__VLS_TypePropsToRuntimeProps<{ [PersistentState]: Ref<BoardData> ; classes?: ProcessedComputable<Record<string, boolean>> ; height?: ProcessedComputable<string> ; links: Ref<null | BoardNodeLink[]> ; nodes: Ref<BoardNode[]> ; selectedAction: Ref<null | GenericBoardNodeAction> ; selectedNode: Ref<null | BoardNode> ; style?: ProcessedComputable<StyleValue> ; types: Record<string, GenericNodeType> ; visibility: ProcessedComputable<Visibility> ; width?: ProcessedComputable<string> }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{ [PersistentState]: Ref<BoardData> ; classes?: ProcessedComputable<Record<string, boolean>> ; height?: ProcessedComputable<string> ; links: Ref<null | BoardNodeLink[]> ; nodes: Ref<BoardNode[]> ; selectedAction: Ref<null | GenericBoardNodeAction> ; selectedNode: Ref<null | BoardNode> ; style?: ProcessedComputable<StyleValue> ; types: Record<string, GenericNodeType> ; visibility: ProcessedComputable<Visibility> ; width?: ProcessedComputable<string> }>>>, {}>

Defined in

profectus/src/features/boards/board.ts:176


[DefaultValue]

\u2022 [DefaultValue]: BoardData

The value the ref should be set to in a fresh save, or when updating an old save to the current version.

Inherited from

Persistent.__@DefaultValue@25207

Defined in

profectus/src/game/persistence.ts:52


[Deleted]

\u2022 [Deleted]: boolean

This is a flag that can be set once the option func is evaluated, to mark that a persistent ref should not be saved to the player save data object.

See

deletePersistent for marking a persistent ref as deleted.

Inherited from

Persistent.__@Deleted@25209

Defined in

profectus/src/game/persistence.ts:59


[GatherProps]

\u2022 [GatherProps]: () => Record<string, unknown>

Type declaration

\u25B8 (): Record<string, unknown>

Returns

Record<string, unknown>

Defined in

profectus/src/features/boards/board.ts:177


[PersistentState]

\u2022 [PersistentState]: Ref<BoardData>

A flag that this is a persistent property. Typically a circular reference.

Inherited from

Persistent.__@PersistentState@25206

Defined in

profectus/src/game/persistence.ts:50


[RefSymbol]

\u2022 [RefSymbol]: true

Type differentiator only. We need this to be in public d.ts but don't want it to show up in IDE autocomplete, so we use a private Symbol instead.

Inherited from

Persistent.__@RefSymbol@17474

Defined in

node_modules/@vue/runtime-core/node_modules/@vue/reactivity/dist/reactivity.d.ts:198


[StackTrace]

\u2022 [StackTrace]: string

The stack trace of where the persistent ref was created. This is used for debugging purposes when a persistent ref is created but not placed in its layer object.

Inherited from

Persistent.__@StackTrace@25208

Defined in

profectus/src/game/persistence.ts:54


id

\u2022 id: string

Defined in

profectus/src/features/boards/board.ts:170


\u2022 links: Ref<null | BoardNodeLink[]>

Defined in

profectus/src/features/boards/board.ts:171


nodes

\u2022 nodes: Ref<BoardNode[]>

Defined in

profectus/src/features/boards/board.ts:172


selectedAction

\u2022 selectedAction: Ref<null | GenericBoardNodeAction>

Defined in

profectus/src/features/boards/board.ts:174


selectedNode

\u2022 selectedNode: Ref<null | BoardNode>

Defined in

profectus/src/features/boards/board.ts:173


type

\u2022 type: typeof BoardType

Defined in

profectus/src/features/boards/board.ts:175


value

\u2022 value: BoardData

Inherited from

Persistent.value

Defined in

node_modules/@vue/runtime-core/node_modules/@vue/reactivity/dist/reactivity.d.ts:192

',98),s=[t];function c(n,i,h,l,f,u){return r(),d("div",null,s)}var g=e(o,[["render",c]]);export{b as __pageData,g as default};