detectLayoutFrom
detectLayoutFrom(
rootPath,candidates):KayKitUpstreamLayout|undefined
Defined in: packages/declarative-hex-worlds/src/cli/commands/bootstrap/upstream-layout.ts:165
Detect which of the given candidate layouts a pack root matches (RFC0-10).
detectKayKitLayout is the medieval-hexagon-only default; the pack bootstrap
passes its specific target layout (e.g. a character-pack layout) so a
non-medieval pack is detected against the right shape.
Parameters
Section titled “Parameters”rootPath
Section titled “rootPath”string
candidates
Section titled “candidates”readonly KayKitUpstreamLayout[]
Returns
Section titled “Returns”KayKitUpstreamLayout | undefined