All files / apps/developer-portal/layers/workflows/shared constants.ts

100% Statements 9/9
100% Branches 0/0
100% Functions 0/0
100% Lines 9/9

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40  48x   48x   48x     48x   48x                       48x                   48x     48x     48x  
/** The vocabularies `docs/workflows/README.md` documents, as the one copy every other spelling derives from. */
export const REUSE_PLANS = ["package", "extract", "copy", "method", "new"] as const;
 
export const KINDS = ["build", "spike", "owner"] as const;
 
export const SETTLED_STATES = ["done", "skipped"] as const;
 
/** How much a person oversees the code, which sets how many points a filed ticket may hold. */
export const TICKET_SIZES = ["block", "supervised", "fast"] as const;
 
export const CAPABILITY_STATES = [
    "off",
    "skipped",
    "waits",
    "can-file",
    "blocked",
    "waiting-on-you",
    "ready",
    "in-flight",
    "done",
] as const;
 
export const TICKET_STATUSES = [
    "waiting-on-you",
    "ready",
    "in-flight",
    "blocked",
    "done",
    "dropped",
] as const;
 
/** A `dependsOn` entry with this prefix needs every other block in the named stage. */
export const STAGE_NEED_PREFIX = "stage:";
 
/** The prefix of the GitHub label that places an issue under a capability. */
export const CAPABILITY_LABEL_PREFIX = "cap:";
 
/** The Fibonacci values a complexity estimate may take; anything bigger is a block to split. */
export const COMPLEXITY_SCALE = [1, 2, 3, 5, 8, 13, 21] as const;