fix: Firebase analytics issue and handled data connect
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
mutation createTaxForm(
|
||||
$formType: TaxFormType!
|
||||
$title: String!
|
||||
$subtitle: String
|
||||
$description: String
|
||||
$status: TaxFormStatus
|
||||
$staffId: UUID!
|
||||
$formData: Any
|
||||
@@ -10,9 +7,6 @@ mutation createTaxForm(
|
||||
taxForm_insert(
|
||||
data: {
|
||||
formType: $formType
|
||||
title: $title
|
||||
subtitle: $subtitle
|
||||
description: $description
|
||||
status: $status
|
||||
staffId: $staffId
|
||||
formData: $formData
|
||||
@@ -23,19 +17,11 @@ mutation createTaxForm(
|
||||
mutation updateTaxForm(
|
||||
$id: UUID!
|
||||
$status: TaxFormStatus
|
||||
$formData: Any
|
||||
$title: String
|
||||
$subtitle: String
|
||||
$description: String
|
||||
) @auth(level: USER) {
|
||||
taxForm_update(
|
||||
id: $id
|
||||
data: {
|
||||
status: $status
|
||||
formData: $formData
|
||||
title: $title
|
||||
subtitle: $subtitle
|
||||
description: $description
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
@@ -2,12 +2,8 @@ query listTaxForms @auth(level: USER) {
|
||||
taxForms {
|
||||
id
|
||||
formType
|
||||
title
|
||||
subtitle
|
||||
description
|
||||
status
|
||||
staffId
|
||||
formData
|
||||
createdAt
|
||||
updatedAt
|
||||
createdBy
|
||||
@@ -18,12 +14,8 @@ query getTaxFormById($id: UUID!) @auth(level: USER) {
|
||||
taxForm(id: $id) {
|
||||
id
|
||||
formType
|
||||
title
|
||||
subtitle
|
||||
description
|
||||
status
|
||||
staffId
|
||||
formData
|
||||
createdAt
|
||||
updatedAt
|
||||
createdBy
|
||||
@@ -34,12 +26,8 @@ query getTaxFormsBystaffId($staffId: UUID!) @auth(level: USER) {
|
||||
taxForms(where: { staffId: { eq: $staffId } }) {
|
||||
id
|
||||
formType
|
||||
title
|
||||
subtitle
|
||||
description
|
||||
status
|
||||
staffId
|
||||
formData
|
||||
createdAt
|
||||
updatedAt
|
||||
createdBy
|
||||
@@ -60,7 +48,6 @@ query filterTaxForms(
|
||||
) {
|
||||
id
|
||||
formType
|
||||
title
|
||||
status
|
||||
staffId
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user