Interface WriteArchivist<TReadResponse, TWriteResponse, TWrite, TId>

interface WriteArchivist<
    TReadResponse,
    TWriteResponse = TReadResponse,
    TWrite = TReadResponse,
    TId = string,
> {
    clear(): Promisable<void>;
    delete(ids: TId[]): PromisableArray<TId>;
    insert(item: TWrite[]): PromisableArray<TWriteResponse>;
}

Type Parameters

Hierarchy (View Summary)

Methods

  • Returns Promisable<void>

  • Parameters

    Returns PromisableArray<TId>

  • Parameters

    Returns PromisableArray<TWriteResponse>