fixtureWorkspace#

Type Aliases#

FixtureBlock#

FixtureBlock = readonly [id: string, manifest: Manifest, x: number, y: number]

Defined in: editor/src/fixtureWorkspace.ts:23

One block of a fixture workspace: id, manifest, x, y.

Variables#

FIXTURE_AUTHOR#

const FIXTURE_AUTHOR: "Fixture Generator" = "Fixture Generator"

Defined in: editor/src/fixtureWorkspace.ts:16

The author of every journal entry of a fixture workspace.


FIXTURE_SEED#

const FIXTURE_SEED: 20261012n = 20261012n

Defined in: editor/src/fixtureWorkspace.ts:20

The seed of the minter of every fixture workspace, so a generator writes the same IDs each run.


FIXTURE_TIME#

const FIXTURE_TIME: "2026-10-12T09:00:00.000Z" = "2026-10-12T09:00:00.000Z"

Defined in: editor/src/fixtureWorkspace.ts:18

The time of a fixture workspace’s first journal entry.

Functions#

fixtureWorkspace()#

fixtureWorkspace(blocks): string

Defined in: editor/src/fixtureWorkspace.ts:31

The workspace text of blocks, journalled as one add each in their order by FIXTURE_AUTHOR, the first at FIXTURE_TIME and each next one second later, every ID a command creates minted by a minter of FIXTURE_SEED.

Parameters#

blocks#

Iterable<FixtureBlock>

Returns#

string