Hiyve Components - v1.0.0
    Preparing search index...

    Interface NoteFile

    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',
    };
    interface NoteFile {
        authorId: string;
        authorName?: string;
        content: JSONContent;
        createdAt: string;
        id: string;
        title: string;
        updatedAt: string;
    }
    Index

    Properties

    authorId: string

    User ID of the author

    authorName?: string

    Display name of the author

    content: JSONContent

    Note content in TipTap JSON format

    createdAt: string

    ISO timestamp when the note was created

    id: string

    Unique identifier for the note

    title: string

    Note title

    updatedAt: string

    ISO timestamp when the note was last updated