feat: Integrate Data Connect and Implement Staff List View Directory

This commit is contained in:
dhinesh-m24
2026-01-31 16:54:59 +05:30
parent 48bb1c457c
commit cb25b33d04
255 changed files with 21425 additions and 109 deletions

View File

@@ -0,0 +1,67 @@
query listTaxForms @auth(level: USER) {
taxForms {
id
formType
title
subtitle
description
status
staffId
formData
createdAt
updatedAt
createdBy
}
}
query getTaxFormById($id: UUID!) @auth(level: USER) {
taxForm(id: $id) {
id
formType
title
subtitle
description
status
staffId
formData
createdAt
updatedAt
createdBy
}
}
query getTaxFormsBystaffId($staffId: UUID!) @auth(level: USER) {
taxForms(where: { staffId: { eq: $staffId } }) {
id
formType
title
subtitle
description
status
staffId
formData
createdAt
updatedAt
createdBy
}
}
query filterTaxForms(
$formType: TaxFormType
$status: TaxFormStatus
$staffId: UUID
) @auth(level: USER) {
taxForms(
where: {
formType: { eq: $formType }
status: { eq: $status }
staffId: { eq: $staffId }
}
) {
id
formType
title
status
staffId
}
}