feat: add AI Dental Shopping section with sidebar nav and Login Info page
- Add AI Dental Shopping to sidebar with Search/Tag and Login Info sub-pages - Build full-stack Login Info CRUD: save vendor name, website, username, password per user - Add ShoppingVendor Prisma model, run db push, regenerate client and Zod schemas - Add storage layer, REST API at /api/shopping-vendors/, and frontend table with add/edit/delete modal Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,4 +12,5 @@ export * from "./cloudStorage-types";
|
||||
export * from "./payments-reports-types";
|
||||
export * from "./patientConnection-types";
|
||||
export * from "./npiProviders-types";
|
||||
export * from "./patientDocument-types";
|
||||
export * from "./patientDocument-types";
|
||||
export * from "./shopping-vendor-types";
|
||||
12
packages/db/types/shopping-vendor-types.ts
Normal file
12
packages/db/types/shopping-vendor-types.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { ShoppingVendorUncheckedCreateInputObjectSchema } from "@repo/db/usedSchemas";
|
||||
import { z } from "zod";
|
||||
|
||||
export type ShoppingVendor = z.infer<
|
||||
typeof ShoppingVendorUncheckedCreateInputObjectSchema
|
||||
> & { id: number };
|
||||
|
||||
export const insertShoppingVendorSchema = (
|
||||
ShoppingVendorUncheckedCreateInputObjectSchema as unknown as z.ZodObject<any>
|
||||
).omit({ id: true });
|
||||
|
||||
export type InsertShoppingVendor = z.infer<typeof insertShoppingVendorSchema>;
|
||||
Reference in New Issue
Block a user