Skip to content

Commit 3fead31

Browse files
committed
fix(spec): name the parsed state of QueryPageWindowSchema (ADR-0122)
Claude-Session: https://claude.ai/code/session_0153NL7xGym5Dpyb4sQbsArM Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5a334b5 commit 3fead31

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/spec/src/data/data-engine.zod.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,8 @@ export const QueryPageWindowParamSchema = lazySchema(() => z.union([
950950
]).describe('Page window — a non-negative integer, or the digits a querystring carries it as'));
951951

952952
export type QueryPageWindow = z.input<typeof QueryPageWindowSchema>;
953+
/** Post-parse shape of {@link QueryPageWindow} — the same count; named so a parse result has its ADR-0122 name. */
954+
export type QueryPageWindowParsed = z.infer<typeof QueryPageWindowSchema>;
953955
export type QueryPageWindowParam = z.input<typeof QueryPageWindowParamSchema>;
954956
/** Post-parse shape of {@link QueryPageWindowParam} — the count, the querystring digits converted (ADR-0122). */
955957
export type QueryPageWindowParamParsed = z.infer<typeof QueryPageWindowParamSchema>;

0 commit comments

Comments
 (0)