Rename Forte to LunarFront, generalize for any small business

Rebrand from Forte (music-store-specific) to LunarFront (any small business):
- Package namespace @forte/* → @lunarfront/*
- Database forte/forte_test → lunarfront/lunarfront_test
- Docker containers, volumes, connection strings
- UI branding, localStorage keys, test emails
- All documentation and planning docs

Generalize music-specific terminology:
- instrumentDescription → itemDescription
- instrumentCount → itemCount
- instrumentType → itemCategory (on service templates)
- New migration 0027_generalize_terminology for column renames
- Seed data updated with generic examples
- RBAC descriptions updated
This commit is contained in:
Ryan Moon
2026-03-30 08:51:54 -05:00
parent 535446696c
commit 9400828f62
84 changed files with 390 additions and 820 deletions

View File

@@ -36,7 +36,7 @@ export const RepairTicketCreateSchema = z.object({
locationId: opt(z.string().uuid()),
repairBatchId: opt(z.string().uuid()),
inventoryUnitId: opt(z.string().uuid()),
instrumentDescription: opt(z.string()),
itemDescription: opt(z.string()),
serialNumber: opt(z.string().max(255)),
conditionIn: opt(RepairConditionIn),
conditionInNotes: opt(z.string()),
@@ -84,7 +84,7 @@ export const RepairBatchCreateSchema = z.object({
contactEmail: opt(z.string().email()),
pickupDate: opt(z.string()),
dueDate: opt(z.string()),
instrumentCount: z.coerce.number().int().min(0).default(0),
itemCount: z.coerce.number().int().min(0).default(0),
notes: opt(z.string()),
})
export type RepairBatchCreateInput = z.infer<typeof RepairBatchCreateSchema>
@@ -112,7 +112,7 @@ export type RepairNoteCreateInput = z.infer<typeof RepairNoteCreateSchema>
export const RepairServiceTemplateCreateSchema = z.object({
name: z.string().min(1).max(255),
instrumentType: opt(z.string().max(100)),
itemCategory: opt(z.string().max(100)),
size: opt(z.string().max(50)),
description: opt(z.string()),
itemType: RepairLineItemType.default('flat_rate'),