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:
@@ -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'),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// @forte/shared types
|
||||
// @lunarfront/shared types
|
||||
// Domain types will be added as each domain is implemented
|
||||
|
||||
export type StoreId = string
|
||||
|
||||
Reference in New Issue
Block a user