Files
tabungin/apps/api/dist/transactions/transaction.dto.js
Dwindi Ramadhana 6a6e74562c checkpoint: goals feature, wallet balance, and goals/wallet detail UI
- Add goals feature (models, migrations, API, web pages)
- Add reserved/centralized wallet balance service
- Add wallet detail page and overview components
- Add new UI components (progress, multi-select, FAB)
- Remove stray empty -H/-d files from working tree
2026-06-17 20:40:00 +07:00

12 lines
522 B
JavaScript
Executable File

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransactionUpdateSchema = void 0;
const zod_1 = require("zod");
exports.TransactionUpdateSchema = zod_1.z.object({
amount: zod_1.z.number().positive().optional(),
direction: zod_1.z.enum(['in', 'out']).optional(),
date: zod_1.z.string().datetime().optional(),
category: zod_1.z.string().min(1).nullable().optional(),
memo: zod_1.z.string().min(1).nullable().optional(),
});
//# sourceMappingURL=transaction.dto.js.map