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:
Gitead
2026-05-17 00:35:38 -04:00
parent edec03e893
commit e34140c2b1
217 changed files with 4081 additions and 14 deletions

File diff suppressed because one or more lines are too long

View File

@@ -271,6 +271,15 @@ exports.Prisma.InsuranceCredentialScalarFieldEnum = {
password: 'password'
};
exports.Prisma.ShoppingVendorScalarFieldEnum = {
id: 'id',
userId: 'userId',
vendorName: 'vendorName',
websiteUrl: 'websiteUrl',
loginUsername: 'loginUsername',
loginPassword: 'loginPassword'
};
exports.Prisma.PdfGroupScalarFieldEnum = {
id: 'id',
title: 'title',
@@ -619,6 +628,7 @@ exports.Prisma.ModelName = {
ServiceLine: 'ServiceLine',
ClaimFile: 'ClaimFile',
InsuranceCredential: 'InsuranceCredential',
ShoppingVendor: 'ShoppingVendor',
PdfGroup: 'PdfGroup',
PdfFile: 'PdfFile',
Payment: 'Payment',

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
{
"name": "prisma-client-399048034458d5be2d4dc2eb570e77ca5c8345feb86d4b43b05fbd0cbc08be01",
"name": "prisma-client-763f714d62d731c0b365e1acdf19cac05ed4e6562d30b17cc8ffd11e6278eb14",
"main": "index.js",
"types": "index.d.ts",
"browser": "default.js",

View File

@@ -30,6 +30,7 @@ model User {
npiProviders NpiProvider[]
claims Claim[]
insuranceCredentials InsuranceCredential[]
shoppingVendors ShoppingVendor[]
updatedPayments Payment[] @relation("PaymentUpdatedBy")
backups DatabaseBackup[]
backupDestinations BackupDestination[]
@@ -299,6 +300,19 @@ model InsuranceCredential {
@@index([userId])
}
model ShoppingVendor {
id Int @id @default(autoincrement())
userId Int
vendorName String
websiteUrl String
loginUsername String
loginPassword String
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
@@index([userId])
}
model PdfGroup {
id Int @id @default(autoincrement())
title String