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

Function status

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

Source from the content-addressed store, hash-verified

10} from "../../../src/modals/taskModalActionState";
11
12function status(value: string, order: number, label = value): StatusConfig {
13 return {
14 id: value,
15 value,
16 label,
17 color: "",
18 order,
19 isCompleted: false,
20 autoArchive: false,
21 autoArchiveDelay: 0,
22 };
23}
24
25function priority(value: string, weight: number, label = value): PriorityConfig {
26 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected