feat(api): expose recurrence in schedule detail

This commit is contained in:
avicenan
2026-03-25 11:37:40 +07:00
parent c3f77f4c69
commit ab14a0b670
3 changed files with 55 additions and 2 deletions

View File

@ -197,7 +197,11 @@ export class ScheduleController {
code: 200,
message: 'success',
data: {
series: { id: 'uuid-string', title: 'Practice Schedule' },
series: {
id: 'uuid-string',
title: 'Practice Schedule',
recurrence: { $ref: '#/components/schemas/scheduleRecurrence' }
},
exceptions: [{ id: 'uuid-string', occurrence_date: '2026-03-24' }]
}
}