Skip to content

packArchiveUrl

packArchiveUrl(descriptor, ref?): string

Defined in: packages/declarative-hex-worlds/src/cli/commands/bootstrap/registry.ts:154

Format a pack’s upstream archive URL for a given ref (or its default ref).

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.

string

string