feat(breaks): Implement break functionality with Break entity and adapter

This commit is contained in:
Achintha Isuru
2026-02-16 13:26:04 -05:00
parent 2a0b39926a
commit 9b6cad3bde
7 changed files with 180 additions and 100 deletions

View File

@@ -52,6 +52,8 @@ query listApplications @auth(level: USER) {
startTime
endTime
hours
breakType
isBreakPaid
totalValue
role {
id
@@ -341,6 +343,8 @@ query getApplicationsByStaffId(
startTime
endTime
hours
breakType
isBreakPaid
totalValue
role {
id
@@ -352,7 +356,6 @@ query getApplicationsByStaffId(
}
}
query vaidateDayStaffApplication(
$staffId: UUID!
$offset: Int
@@ -692,6 +695,8 @@ query listCompletedApplicationsByStaffId(
startTime
endTime
hours
breakType
isBreakPaid
totalValue
role {