diskfile_tab.svelte.ts

Declarations
#

5 declarations

view source

DiskfileTab
#

diskfile_tab.svelte.ts view source

inheritance

extends:
  • Cell<typeof DiskfileTabJson>

diskfile_id

type Uuid

tabs

Reference to the parent tabs collection, allowing us to have collection-derived data, at the cost of requiring exactly 1 parent.

This pattern is somewhat experimental - the idea is it's more declarative to have things like the "preview" or "selected" tabs be state on the collection, so it doesn't need to be separately managed as state on each tab.

type DiskfileTabs

readonly

is_preview

Derived from parent collection's state

type boolean

readonly

is_selected

Derived from parent collection's state

type boolean

readonly

diskfile

type Diskfile | undefined

readonly

constructor

type new (options: DiskfileTabOptions): DiskfileTab

options

DiskfileTabJson
#

diskfile_tab.svelte.ts view source

ZodObject<{ id: ZodDefault<$ZodBranded<ZodUUID, "Uuid">>; created: ZodDefault<$ZodBranded<ZodISODateTime, "Datetime">>; updated: ZodDefault<...>; diskfile_id: $ZodBranded<...>; }, $strict>

DiskfileTabJsonInput
#

DiskfileTabOptions
#

DiskfileTabSchema
#

Depends on
#

Imported by
#