Skip to content

Commit

Permalink
Improved query types further (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
leo authored Dec 13, 2024
1 parent 3a23627 commit 6525f1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ export type QueryInstructionType = z.infer<typeof InstructionSchema>;
export type CombinedInstructions = z.infer<typeof InstructionsSchema>;

export type Query = z.infer<typeof QuerySchema>;
export type QueryType = z.infer<typeof QueryTypeEnum>;
export type QueryType =
| z.infer<typeof QueryTypeEnum>
| z.infer<typeof ModelQueryTypeEnum>;
export type QueryPaginationOptions = z.infer<typeof QueryPaginationOptionsSchema>;

export type QuerySchemaType = z.infer<typeof QuerySchemaSchema>;
Expand Down

0 comments on commit 6525f1a

Please sign in to comment.