@authhero/kysely-adapter 11.18.1 → 11.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,10 +15,14 @@ import { ListParams } from "@authhero/adapter-interfaces";
15
15
  */
16
16
  export declare function isKeysetRequest(params?: ListParams): boolean;
17
17
  export interface KeysetOptions {
18
- /** Column to sort by. Must be a real column on the queried table. */
18
+ /**
19
+ * Column to sort by. Must be a real column on the queried table. May be
20
+ * table-qualified (`users.created_at`) when the query joins other tables;
21
+ * the row property is read from the segment after the last dot.
22
+ */
19
23
  sortColumn: string;
20
24
  sortOrder: "asc" | "desc";
21
- /** Unique tiebreaker column; defaults to "id". */
25
+ /** Unique tiebreaker column (may be table-qualified); defaults to "id". */
22
26
  idColumn?: string;
23
27
  /**
24
28
  * Sort spec (e.g. `date:desc`) for endpoints that honor a caller-chosen sort