npiProvider - v1
This commit is contained in:
@@ -10,4 +10,5 @@ export * from "./databaseBackup-types";
|
||||
export * from "./notifications-types";
|
||||
export * from "./cloudStorage-types";
|
||||
export * from "./payments-reports-types";
|
||||
export * from "./patientConnection-types";
|
||||
export * from "./patientConnection-types";
|
||||
export * from "./npiProviders-types";
|
||||
14
packages/db/types/npiProviders-types.ts
Normal file
14
packages/db/types/npiProviders-types.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { z } from "zod";
|
||||
import { NpiProviderUncheckedCreateInputObjectSchema } from "@repo/db/usedSchemas";
|
||||
|
||||
export type NpiProvider = z.infer<
|
||||
typeof NpiProviderUncheckedCreateInputObjectSchema
|
||||
>;
|
||||
|
||||
export const insertNpiProviderSchema = (
|
||||
NpiProviderUncheckedCreateInputObjectSchema as unknown as z.ZodObject<any>
|
||||
).omit({ id: true });
|
||||
|
||||
export type InsertNpiProvider = z.infer<
|
||||
typeof insertNpiProviderSchema
|
||||
>;
|
||||
Reference in New Issue
Block a user