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:
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
// prettier-ignore
|
||||
export const ShoppingVendorInputSchema = z.object({
|
||||
id: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
vendorName: z.string(),
|
||||
websiteUrl: z.string(),
|
||||
loginUsername: z.string(),
|
||||
loginPassword: z.string(),
|
||||
user: z.unknown()
|
||||
}).strict();
|
||||
|
||||
export type ShoppingVendorInputType = z.infer<typeof ShoppingVendorInputSchema>;
|
||||
@@ -12,6 +12,7 @@ export const UserInputSchema = z.object({
|
||||
npiProviders: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown()),
|
||||
insuranceCredentials: z.array(z.unknown()),
|
||||
shoppingVendors: z.array(z.unknown()),
|
||||
updatedPayments: z.array(z.unknown()),
|
||||
backups: z.array(z.unknown()),
|
||||
backupDestinations: z.array(z.unknown()),
|
||||
|
||||
@@ -14,6 +14,7 @@ export { ClaimInputSchema } from './Claim.input';
|
||||
export { ServiceLineInputSchema } from './ServiceLine.input';
|
||||
export { ClaimFileInputSchema } from './ClaimFile.input';
|
||||
export { InsuranceCredentialInputSchema } from './InsuranceCredential.input';
|
||||
export { ShoppingVendorInputSchema } from './ShoppingVendor.input';
|
||||
export { PdfGroupInputSchema } from './PdfGroup.input';
|
||||
export { PdfFileInputSchema } from './PdfFile.input';
|
||||
export { PaymentInputSchema } from './Payment.input';
|
||||
|
||||
Reference in New Issue
Block a user