Represents a saved note file.
This is the file format used for persistence to S3 via the client's file API.
const note: NoteFile = { id: 'note-123', title: 'Meeting Notes', content: { type: 'doc', content: [...] }, authorId: 'user-456', authorName: 'John Doe', createdAt: '2024-01-15T10:30:00.000Z', updatedAt: '2024-01-15T11:45:00.000Z',}; Copy
const note: NoteFile = { id: 'note-123', title: 'Meeting Notes', content: { type: 'doc', content: [...] }, authorId: 'user-456', authorName: 'John Doe', createdAt: '2024-01-15T10:30:00.000Z', updatedAt: '2024-01-15T11:45:00.000Z',};
User ID of the author
Optional
Display name of the author
Note content in TipTap JSON format
ISO timestamp when the note was created
Unique identifier for the note
Note title
ISO timestamp when the note was last updated
Represents a saved note file.
Remarks
This is the file format used for persistence to S3 via the client's file API.
Example