UNPKG

auth-vir

Version:

Auth made easy and secure via JWT cookies, CSRF tokens, and password hashing helpers.

16 lines (13 loc) 526 B
/** AUTO-GENERATED FILE. DO NOT EDIT DIRECTLY. */ // @ts-nocheck import {defineShape, enumShape, unionShape, unknownShape, typedStringShape} from 'object-shape-tester'; import {JsonValue} from '@prisma/client/runtime/client.js'; import {utcIsoStringShape} from 'date-vir'; import {type UserId} from './models/User.js'; export const UserIdShape = typedStringShape<UserId>(); export const UserShape = defineShape({ id: UserIdShape, createdAt: utcIsoStringShape(), updatedAt: utcIsoStringShape(), name: '', });