MCPcopy Create free account
hub / github.com/CodeForBreakfast/eventsourcing / uncompleteTodo

Function uncompleteTodo

examples/todo-app/src/cli.ts:148–154  ·  view source on GitHub ↗
(todoId: TodoId)

Source from the content-addressed store, hash-verified

146 );
147
148const uncompleteTodo = (todoId: TodoId) =>
149 executeCommand(
150 todoId,
151 TodoAggregateRoot.commands.uncomplete(),
152 `✓ Uncompleted TODO: ${todoId}`,
153 `⚠ TODO ${todoId} is already uncompleted`
154 );
155
156const deleteTodo = (todoId: TodoId) =>
157 executeCommand(

Callers 1

cli.tsFile · 0.85

Calls 1

executeCommandFunction · 0.85

Tested by

no test coverage detected