interface Query<T> {
    filter?: Partial<T>;
    searchAfter?: unknown[];
    size?: number;
    sort?: [{
        field: keyof T;
        order: "ASC" | "DESC";
    }];
}

Type Parameters

  • T

Properties

filter?: Partial<T>
searchAfter?: unknown[]
size?: number
sort?: [{
    field: keyof T;
    order: "ASC" | "DESC";
}]

Type declaration

  • field: keyof T
  • order: "ASC" | "DESC"

Generated using TypeDoc