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

Method withFilterIndexSignature

src/utils/TaskManager.ts:537–552  ·  view source on GitHub ↗
(entry: TaskFilterIndexEntry)

Source from the content-addressed store, hash-verified

535 }
536
537 private withFilterIndexSignature(entry: TaskFilterIndexEntry): TaskFilterIndexEntry {
538 return {
539 ...entry,
540 signature: JSON.stringify({
541 contexts: entry.contexts,
542 dueDate: entry.dueDate,
543 isCompleted: entry.isCompleted,
544 priority: entry.priority,
545 projects: entry.projects,
546 scheduledDate: entry.scheduledDate,
547 status: entry.status,
548 tags: entry.tags,
549 timeEstimate: entry.timeEstimate,
550 }),
551 };
552 }
553
554 private normalizeDateValue(value: unknown): string | undefined {
555 if (typeof value !== "string" || value.length === 0) {

Calls

no outgoing calls

Tested by

no test coverage detected