Expand description
Validated identifier type for work items.
All work items in bones carry a bn-XXXX identifier generated by the
terseid library. ItemId is a validated newtype that wraps the
raw string and delegates to terseid for generation, parsing, and
resolution.
Structs§
- ItemId
- A validated work-item identifier (e.g.
bn-a7x,bn-a7x.1).
Enums§
- Item
IdError - Errors that arise when constructing or resolving an
ItemId.
Constants§
- BONES_
PREFIX - The prefix used for all bones work-item identifiers.
Functions§
- bones_
id_ generator - Create a configured
IdGeneratorwith thebnprefix and sensible defaults for a bones repository. - generate_
item_ id - Generate a new
ItemIdfrom a seed and current item count. - resolve_
item_ id - Resolve partial CLI input into a full
ItemId.