Full-stack implementation of instrument repair tracking: DB schema with repair_ticket, repair_line_item, repair_batch, and repair_service_template tables. Backend services and routes with pagination/search/sort. 20 API tests covering CRUD, status workflow, line items, and batch operations. Admin frontend with ticket list, detail with status progression, line item management, batch list/detail with approval workflow, and new ticket form with searchable account picker and intake photo uploads.
99 lines
2.5 KiB
TypeScript
99 lines
2.5 KiB
TypeScript
export { PaginationSchema } from './pagination.schema.js'
|
|
export type { PaginationInput, PaginatedResponse } from './pagination.schema.js'
|
|
|
|
export { UserRole, RegisterSchema, LoginSchema } from './auth.schema.js'
|
|
export type { RegisterInput, LoginInput } from './auth.schema.js'
|
|
|
|
export {
|
|
BillingMode,
|
|
PaymentProcessor,
|
|
TaxExemptStatus,
|
|
AccountCreateSchema,
|
|
AccountUpdateSchema,
|
|
MemberCreateSchema,
|
|
MemberUpdateSchema,
|
|
AccountSearchSchema,
|
|
MemberIdentifierCreateSchema,
|
|
MemberIdentifierUpdateSchema,
|
|
ProcessorLinkCreateSchema,
|
|
ProcessorLinkUpdateSchema,
|
|
PaymentMethodCreateSchema,
|
|
PaymentMethodUpdateSchema,
|
|
TaxExemptionCreateSchema,
|
|
TaxExemptionUpdateSchema,
|
|
LookupCreateSchema,
|
|
LookupUpdateSchema,
|
|
} from './account.schema.js'
|
|
export type {
|
|
AccountCreateInput,
|
|
AccountUpdateInput,
|
|
MemberCreateInput,
|
|
MemberUpdateInput,
|
|
MemberIdentifierCreateInput,
|
|
MemberIdentifierUpdateInput,
|
|
ProcessorLinkCreateInput,
|
|
ProcessorLinkUpdateInput,
|
|
PaymentMethodCreateInput,
|
|
PaymentMethodUpdateInput,
|
|
TaxExemptionCreateInput,
|
|
TaxExemptionUpdateInput,
|
|
LookupCreateInput,
|
|
LookupUpdateInput,
|
|
} from './account.schema.js'
|
|
|
|
export {
|
|
CategoryCreateSchema,
|
|
CategoryUpdateSchema,
|
|
SupplierCreateSchema,
|
|
SupplierUpdateSchema,
|
|
ItemCondition,
|
|
UnitStatus,
|
|
SystemItemCondition,
|
|
SystemUnitStatus,
|
|
ProductCreateSchema,
|
|
ProductUpdateSchema,
|
|
ProductSearchSchema,
|
|
InventoryUnitCreateSchema,
|
|
InventoryUnitUpdateSchema,
|
|
} from './inventory.schema.js'
|
|
export type {
|
|
CategoryCreateInput,
|
|
CategoryUpdateInput,
|
|
SupplierCreateInput,
|
|
SupplierUpdateInput,
|
|
ProductCreateInput,
|
|
ProductUpdateInput,
|
|
InventoryUnitCreateInput,
|
|
InventoryUnitUpdateInput,
|
|
} from './inventory.schema.js'
|
|
|
|
export {
|
|
RepairTicketStatus,
|
|
RepairLineItemType,
|
|
RepairConditionIn,
|
|
RepairBatchStatus,
|
|
RepairBatchApproval,
|
|
RepairTicketCreateSchema,
|
|
RepairTicketUpdateSchema,
|
|
RepairTicketStatusUpdateSchema,
|
|
RepairLineItemCreateSchema,
|
|
RepairLineItemUpdateSchema,
|
|
RepairBatchCreateSchema,
|
|
RepairBatchUpdateSchema,
|
|
RepairBatchStatusUpdateSchema,
|
|
RepairServiceTemplateCreateSchema,
|
|
RepairServiceTemplateUpdateSchema,
|
|
} from './repairs.schema.js'
|
|
export type {
|
|
RepairTicketCreateInput,
|
|
RepairTicketUpdateInput,
|
|
RepairTicketStatusUpdateInput,
|
|
RepairLineItemCreateInput,
|
|
RepairLineItemUpdateInput,
|
|
RepairBatchCreateInput,
|
|
RepairBatchUpdateInput,
|
|
RepairBatchStatusUpdateInput,
|
|
RepairServiceTemplateCreateInput,
|
|
RepairServiceTemplateUpdateInput,
|
|
} from './repairs.schema.js'
|