Skip to content

Commit

Permalink
Create pagination schema in $lib/table
Browse files Browse the repository at this point in the history
  • Loading branch information
FyreByrd committed Nov 1, 2024
1 parent 9ed9ab0 commit fad567e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/SIL.AppBuilder.Portal/src/lib/table.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import * as v from 'valibot';

export const paginateSchema = v.object({
page: v.number(),
size: v.number()
});

export type PaginateSchema = typeof paginateSchema;

0 comments on commit fad567e

Please sign in to comment.