@not3/sdk
    Preparing search index...

    Interface CreateRequest

    interface CreateRequest {
        content: string;
        expiresIn: number;
        mime?: string;
        selfDestruct: boolean;
    }
    Index

    Properties

    content: string

    The content of the note, encrypted by the client

    expiresIn: number

    When the note should expire, in seconds from the current time.

    mime?: string

    The MIME type of the content

    selfDestruct: boolean

    Whether the note should be deleted after being fetched once