npiProvider - v1

This commit is contained in:
2026-01-23 09:23:51 +05:30
parent aa609da33d
commit f1ea2d603a
11 changed files with 644 additions and 107 deletions

View File

@@ -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";

View 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
>;