UNPKG

alepha

Version:

Easy-to-use modern TypeScript framework for building many kind of applications.

11 lines (8 loc) 308 B
import type { Static } from "alepha"; import { z } from "alepha"; import { pageQuerySchema } from "alepha/orm"; export const identityQuerySchema = pageQuerySchema.extend({ userId: z.uuid().optional(), provider: z.string().optional(), }); export type IdentityQuery = Static<typeof identityQuerySchema>;