first commit

This commit is contained in:
2025-05-08 21:27:29 +05:30
commit 230d5c89f0
343 changed files with 42391 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { z } from 'zod';
export const AppointmentScalarFieldEnumSchema = z.enum([
'id',
'patientId',
'userId',
'title',
'date',
'startTime',
'endTime',
'type',
'notes',
'status',
'createdAt',
]);

View File

@@ -0,0 +1,3 @@
import { z } from 'zod';
export const NullsOrderSchema = z.enum(['first', 'last']);

View File

@@ -0,0 +1,23 @@
import { z } from 'zod';
export const PatientScalarFieldEnumSchema = z.enum([
'id',
'firstName',
'lastName',
'dateOfBirth',
'gender',
'phone',
'email',
'address',
'city',
'zipCode',
'insuranceProvider',
'insuranceId',
'groupNumber',
'policyHolder',
'allergies',
'medicalConditions',
'status',
'userId',
'createdAt',
]);

View File

@@ -0,0 +1,3 @@
import { z } from 'zod';
export const QueryModeSchema = z.enum(['default', 'insensitive']);

View File

@@ -0,0 +1,3 @@
import { z } from 'zod';
export const SortOrderSchema = z.enum(['asc', 'desc']);

View File

@@ -0,0 +1,8 @@
import { z } from 'zod';
export const TransactionIsolationLevelSchema = z.enum([
'ReadUncommitted',
'ReadCommitted',
'RepeatableRead',
'Serializable',
]);

View File

@@ -0,0 +1,3 @@
import { z } from 'zod';
export const UserScalarFieldEnumSchema = z.enum(['id', 'username', 'password']);