Skip to content

layoutForPack

layoutForPack(descriptor): KayKitUpstreamLayout

Defined in: packages/declarative-hex-worlds/src/cli/commands/bootstrap/pack-bootstrap.ts:32

Resolve the upstream layout for a pack descriptor. terrain packs use the medieval-hexagon layout (FREE edition); playable/enemy character packs use the flat character-pack layout keyed by the descriptor’s addons/ folder.

string = ...

Attribution string (CC0 — no attribution required, but credited by courtesy).

"terrain" | "enemy" | "playable" = ...

Gameplay category the pack fills.

string = ...

Human-facing name for CLI listings + docs.

{ archiveUrlTemplate: string; defaultRef: string; owner: string; repo: string; } = packGithubSourceSchema

Upstream GitHub source.

string = ...

Archive-URL template with {owner}/{repo}/{ref} placeholders. Kept per descriptor (not global) so a pack hosted differently can override it.

string = ...

Default git ref fetched when none is supplied.

string = ...

GitHub owner/org.

string = ...

Repository name.

"medieval-hexagon" | "adventurers" | "skeletons" = ...

Stable pack id.

string = ...

Upstream addons/<packFolder>/ directory name the pack publishes under.

"tile" | "model" = ...

Asset role the pack contributes.

KayKitUpstreamLayout