Skip to content

Commit

Permalink
feat: add listing page pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelgautier committed Mar 18, 2024
1 parent ae5733b commit 23c26d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/config/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ const galactiksConfigFileSchema = z.object({
template: z.string(),
analytics: analyticsConfigSchema.optional(),
trailingSlash: z.enum(['ignore', 'always', 'never']).optional(),
pagination: z.object({
pageSize: z.number().optional().default(10),
}).optional(),
pages: z
.object({
articles: pagesObjectItemSchema,
Expand Down

0 comments on commit 23c26d5

Please sign in to comment.