MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / createStateInput

Function createStateInput

tests/unit/modals/taskModalActionState.test.ts:35–49  ·  view source on GitHub ↗
(
	overrides: Partial<TaskModalActionStateInput> = {}
)

Source from the content-addressed store, hash-verified

33}
34
35function createStateInput(
36 overrides: Partial<TaskModalActionStateInput> = {}
37): TaskModalActionStateInput {
38 return {
39 title: "Action state task",
40 status: "open",
41 priority: "normal",
42 dueDate: "",
43 scheduledDate: "",
44 recurrenceRule: "",
45 recurrenceAnchor: "scheduled",
46 reminders: [],
47 ...overrides,
48 };
49}
50
51function createHarness(overrides: Partial<TaskModalActionStateInput> = {}): {
52 context: ReturnType<typeof createTaskModalActionMenuContext>;

Callers 2

createHarnessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected