@squidcloud/client
    Preparing search index...

    Interface UpsertSessionRequest

    Creates a session, or updates the one with the same id.

    interface UpsertSessionRequest {
        data?: Record<string, unknown>;
        deleteKeys?: string[];
        expiration?: SessionExpiration;
        id: string;
    }
    Index
    data?: Record<string, unknown>

    Top-level keys to set; other keys keep their values. The session's data is at most 64 KB.

    deleteKeys?: string[]

    Top-level keys to remove.

    expiration?: SessionExpiration

    Replaces the session's expiration. A new session expires one day after its last write.

    id: string

    The id of the session: 1-256 characters, without control characters.