Skip to content

SeedItemRaw

Describes one Item in authored seed data, where identifiers may still be SeedIdKey placeholders.

SeedItem for the resolved form that seed accepts

readonly id: string | SeedIdKey

The origin identifier of the Item, or a placeholder for one.


readonly optional isArchived?: boolean

Whether to seed the Item archived.

false


readonly optional key?: string

The Item’s key relative to its parent.

undefined, giving the Item no key


readonly optional parentId?: string | SeedIdKey

The origin identifier of the parent Item, or a placeholder for one.

The Workspace Item

readonly properties: Record<string, unknown>

Property values keyed by Property key.


readonly optional relations?: Partial<Record<string, string | SeedIdKey>>

Targets for the Template’s one-to-one and many-to-one Relations, keyed by Relation key, as origin identifiers or placeholders.

undefined, creating no Relations


readonly optional state?: string | null

The state to seed the Item in.

The Template's default state

readonly templatePrn: string

The PRN of the Template to create the Item from.