Skip to main content

defaultGraphQLConnectionArgumentsSchema

API Docs


Variable: defaultGraphQLConnectionArgumentsSchema

const defaultGraphQLConnectionArgumentsSchema: ZodObject<{ after: ZodPipe<ZodOptional<ZodNullable<ZodString>>, ZodTransform<string | undefined, string | null | undefined>>; before: ZodPipe<ZodOptional<ZodNullable<ZodString>>, ZodTransform<string | undefined, string | null | undefined>>; first: ZodPipe<ZodOptional<ZodNullable<ZodNumber>>, ZodTransform<number | undefined, number | null | undefined>>; last: ZodPipe<ZodOptional<ZodNullable<ZodNumber>>, ZodTransform<number | undefined, number | null | undefined>>; }, $strip>

Defined in: src/utilities/graphqlConnection/schemas.ts:6

Zod schema to parse the default graphql connection arguments and transform them to make them easier to work with.