- Added copayment and adjustment fields (Decimal, default 0) to Payment model in schema and directly to DB via ALTER TABLE - Added PATCH /api/payments/:id/copayment and /adjustment routes - Added inline-editable Copayment and Adjustment columns after MH Paid with same click-to-edit format; Copayment in blue, Adjustment in orange Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
11 lines
301 B
TypeScript
11 lines
301 B
TypeScript
import * as z from 'zod';
|
|
// prettier-ignore
|
|
export const ProcedureTimeslotModelSchema = z.object({
|
|
id: z.number().int(),
|
|
userId: z.number().int(),
|
|
data: z.unknown(),
|
|
user: z.unknown()
|
|
}).strict();
|
|
|
|
export type ProcedureTimeslotPureType = z.infer<typeof ProcedureTimeslotModelSchema>;
|