Download Reactive-Resume/apps/server/src/auth/utils/payload.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 235 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Reactive-Resume/apps/server/src/auth/utils/payload.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/Reactive-Resume/apps/server/src/auth/utils/payload.ts
-
curl -L -o payload.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Reactive-Resume/apps/server/src/auth/utils/payload.ts
235 Bytes
| import { idSchema } from "@reactive-resume/schema"; | |
| import { z } from "zod"; | |
| export const payloadSchema = z.object({ | |
| id: idSchema, | |
| isTwoFactorAuth: z.boolean().optional(), | |
| }); | |
| export type Payload = z.infer<typeof payloadSchema>; | |