Skip to content

Commit 375d948

Browse files
Update src/component/lib.ts
Co-authored-by: Ian Macartney <ian@convex.dev>
1 parent ac9fd83 commit 375d948

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/component/lib.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ function paginationResultValidator<T>(itemValidator: Validator<T, "required", st
9494
splitCursor: v.optional(v.union(v.null(), v.string())),
9595
});
9696
}
97+
export type PaginationResult<T> = Infer<ReturnType<typeof paginationResultValidator<T>>>;
9798

9899
export const listHistory = query({
99100
args: {

0 commit comments

Comments
 (0)