MCPcopy
hub / github.com/callumalpass/tasknotes / priority

Function priority

tests/unit/modals/taskModalActionState.test.ts:25–33  ·  view source on GitHub ↗
(value: string, weight: number, label = value)

Source from the content-addressed store, hash-verified

23}
24
25function priority(value: string, weight: number, label = value): PriorityConfig {
26 return {
27 id: value,
28 value,
29 label,
30 color: "",
31 weight,
32 };
33}
34
35function createStateInput(
36 overrides: Partial<TaskModalActionStateInput> = {}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected