Order: Codec<
| { direction: "asc"
| "desc"; kind: "natural" }
| { direction: "asc" | "desc"; kind: "property"; property: string }
| { direction: "asc" | "desc"; kind: "rank" }
| {
direction: "asc" | "desc";
field: "createdAt" | "updatedAt";
kind: "timestamp";
}
| {
direction: "asc"
| "desc";
key: string;
kind: "annotation";
path?: readonly string[];
},
| { direction: "asc"
| "desc"; kind: "natural" }
| { direction: "asc" | "desc"; kind: "property"; property: string }
| { direction: "asc" | "desc"; kind: "rank" }
| {
direction: "asc" | "desc";
field: "createdAt" | "updatedAt";
kind: "timestamp";
}
| {
direction: "asc"
| "desc";
key: string;
kind: "annotation";
path?: readonly string[];
},
never,
never,
>