/** * Core note type */ export type Note = { id: string; text: string; createdAt: string; updatedAt: string; }; /** * Context for associating notes with other entities */ export type Context = { type: string; id: string; }; /** * Input for creating a new note */ export type CreateNoteInput = { text: string; context?: Context; }; /** * Input for updating an existing note */ export type UpdateNoteInput = { text?: string; };