@openvireo/sdk - v1.0.0
    Preparing search index...

    Interface ShareOptions

    Options of a new share link (SPEC.md §22).

    interface ShareOptions {
        entryId?: string;
        expiresIn: number;
        maxOpens?: number | null;
        passcode?: string;
        vaultId?: string;
    }
    Index
    entryId?: string
    expiresIn: number

    seconds, 3600 to 30 days (and the plan's share_link_days)

    maxOpens?: number | null

    null or absent: unlimited until it expires

    passcode?: string

    the recipient types this as well as opening the link

    vaultId?: string

    the vault and entry it came from; leave out for text