fix: Firebase analytics issue and handled data connect
This commit is contained in:
@@ -16,13 +16,11 @@ query listApplications @auth(level: USER) {
|
||||
date
|
||||
startTime
|
||||
endTime
|
||||
location
|
||||
status
|
||||
|
||||
order {
|
||||
id
|
||||
eventName
|
||||
location
|
||||
business {
|
||||
id
|
||||
businessName
|
||||
@@ -72,13 +70,11 @@ query getApplicationById($id: UUID!) @auth(level: USER) {
|
||||
date
|
||||
startTime
|
||||
endTime
|
||||
location
|
||||
status
|
||||
|
||||
order {
|
||||
id
|
||||
eventName
|
||||
location
|
||||
business {
|
||||
id
|
||||
businessName
|
||||
@@ -129,13 +125,11 @@ query getApplicationsByShiftId($shiftId: UUID!) @auth(level: USER) {
|
||||
date
|
||||
startTime
|
||||
endTime
|
||||
location
|
||||
status
|
||||
|
||||
order {
|
||||
id
|
||||
eventName
|
||||
location
|
||||
business {
|
||||
id
|
||||
businessName
|
||||
@@ -199,13 +193,11 @@ query getApplicationsByShiftIdAndStatus(
|
||||
date
|
||||
startTime
|
||||
endTime
|
||||
location
|
||||
status
|
||||
|
||||
order {
|
||||
id
|
||||
eventName
|
||||
location
|
||||
business {
|
||||
id
|
||||
businessName
|
||||
@@ -263,13 +255,11 @@ query getApplicationsByStaffId(
|
||||
date
|
||||
startTime
|
||||
endTime
|
||||
location
|
||||
status
|
||||
|
||||
order {
|
||||
id
|
||||
eventName
|
||||
location
|
||||
business {
|
||||
id
|
||||
businessName
|
||||
@@ -388,7 +378,6 @@ query listStaffsApplicationsByBusinessForDay(
|
||||
|
||||
shiftRole{
|
||||
shift{
|
||||
location
|
||||
cost
|
||||
}
|
||||
count
|
||||
|
||||
@@ -3,3 +3,9 @@ generate:
|
||||
dartSdk:
|
||||
- outputDir: ../../../apps/mobile/packages/data_connect/lib/src/dataconnect_generated
|
||||
package: dataconnect_generated/generated.dart
|
||||
javascriptSdk:
|
||||
- outputDir: ..\..\..\apps\web\src\dataconnect-generated
|
||||
package: "@dataconnect/generated"
|
||||
packageJsonDir: ..\..\..\apps\web
|
||||
react: true
|
||||
angular: false
|
||||
|
||||
@@ -10,7 +10,6 @@ mutation createInvoice(
|
||||
$invoiceNumber: String!
|
||||
$issueDate: Timestamp!
|
||||
$dueDate: Timestamp!
|
||||
$hub: String
|
||||
$managerName: String
|
||||
$vendorNumber: String
|
||||
$roles: Any
|
||||
@@ -36,7 +35,6 @@ mutation createInvoice(
|
||||
invoiceNumber: $invoiceNumber
|
||||
issueDate: $issueDate
|
||||
dueDate: $dueDate
|
||||
hub: $hub
|
||||
managerName: $managerName
|
||||
vendorNumber: $vendorNumber
|
||||
roles: $roles
|
||||
@@ -66,7 +64,6 @@ mutation updateInvoice(
|
||||
$invoiceNumber: String
|
||||
$issueDate: Timestamp
|
||||
$dueDate: Timestamp
|
||||
$hub: String
|
||||
$managerName: String
|
||||
$vendorNumber: String
|
||||
$roles: Any
|
||||
@@ -97,7 +94,6 @@ mutation updateInvoice(
|
||||
invoiceNumber: $invoiceNumber
|
||||
issueDate: $issueDate
|
||||
dueDate: $dueDate
|
||||
hub: $hub
|
||||
managerName: $managerName
|
||||
vendorNumber: $vendorNumber
|
||||
roles: $roles
|
||||
|
||||
@@ -18,7 +18,6 @@ query listInvoices(
|
||||
invoiceNumber
|
||||
issueDate
|
||||
dueDate
|
||||
hub
|
||||
managerName
|
||||
vendorNumber
|
||||
roles
|
||||
@@ -50,7 +49,6 @@ query listInvoices(
|
||||
}
|
||||
order {
|
||||
eventName
|
||||
hub
|
||||
deparment
|
||||
poReference
|
||||
}
|
||||
@@ -73,7 +71,6 @@ query getInvoiceById($id: UUID!) @auth(level: USER) {
|
||||
invoiceNumber
|
||||
issueDate
|
||||
dueDate
|
||||
hub
|
||||
managerName
|
||||
vendorNumber
|
||||
roles
|
||||
@@ -105,7 +102,6 @@ query getInvoiceById($id: UUID!) @auth(level: USER) {
|
||||
}
|
||||
order {
|
||||
eventName
|
||||
hub
|
||||
deparment
|
||||
poReference
|
||||
}
|
||||
@@ -137,7 +133,6 @@ query listInvoicesByVendorId(
|
||||
invoiceNumber
|
||||
issueDate
|
||||
dueDate
|
||||
hub
|
||||
managerName
|
||||
vendorNumber
|
||||
roles
|
||||
@@ -169,7 +164,6 @@ query listInvoicesByVendorId(
|
||||
}
|
||||
order {
|
||||
eventName
|
||||
hub
|
||||
deparment
|
||||
poReference
|
||||
}
|
||||
@@ -201,7 +195,6 @@ query listInvoicesByBusinessId(
|
||||
invoiceNumber
|
||||
issueDate
|
||||
dueDate
|
||||
hub
|
||||
managerName
|
||||
vendorNumber
|
||||
roles
|
||||
@@ -233,7 +226,6 @@ query listInvoicesByBusinessId(
|
||||
}
|
||||
order {
|
||||
eventName
|
||||
hub
|
||||
deparment
|
||||
poReference
|
||||
}
|
||||
@@ -265,7 +257,6 @@ query listInvoicesByOrderId(
|
||||
invoiceNumber
|
||||
issueDate
|
||||
dueDate
|
||||
hub
|
||||
managerName
|
||||
vendorNumber
|
||||
roles
|
||||
@@ -297,7 +288,6 @@ query listInvoicesByOrderId(
|
||||
}
|
||||
order {
|
||||
eventName
|
||||
hub
|
||||
deparment
|
||||
poReference
|
||||
}
|
||||
@@ -329,7 +319,6 @@ query listInvoicesByStatus(
|
||||
invoiceNumber
|
||||
issueDate
|
||||
dueDate
|
||||
hub
|
||||
managerName
|
||||
vendorNumber
|
||||
roles
|
||||
@@ -361,7 +350,6 @@ query listInvoicesByStatus(
|
||||
}
|
||||
order {
|
||||
eventName
|
||||
hub
|
||||
deparment
|
||||
poReference
|
||||
}
|
||||
@@ -412,7 +400,6 @@ query filterInvoices(
|
||||
invoiceNumber
|
||||
issueDate
|
||||
dueDate
|
||||
hub
|
||||
managerName
|
||||
vendorNumber
|
||||
roles
|
||||
@@ -444,7 +431,6 @@ query filterInvoices(
|
||||
}
|
||||
order {
|
||||
eventName
|
||||
hub
|
||||
deparment
|
||||
poReference
|
||||
}
|
||||
@@ -480,7 +466,6 @@ query listOverdueInvoices(
|
||||
invoiceNumber
|
||||
issueDate
|
||||
dueDate
|
||||
hub
|
||||
managerName
|
||||
vendorNumber
|
||||
roles
|
||||
@@ -512,7 +497,6 @@ query listOverdueInvoices(
|
||||
}
|
||||
order {
|
||||
eventName
|
||||
hub
|
||||
deparment
|
||||
poReference
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@ mutation createOrder(
|
||||
$vendorId: UUID
|
||||
$businessId: UUID!
|
||||
$orderType: OrderType!
|
||||
$location: String
|
||||
$status: OrderStatus
|
||||
$date: Timestamp
|
||||
$startDate: Timestamp
|
||||
@@ -14,7 +13,6 @@ mutation createOrder(
|
||||
$assignedStaff: Any
|
||||
$shifts: Any
|
||||
$requested: Int
|
||||
$hub: String
|
||||
$recurringDays: Any
|
||||
$permanentStartDate: Timestamp
|
||||
$permanentDays: Any
|
||||
@@ -27,7 +25,6 @@ mutation createOrder(
|
||||
vendorId: $vendorId
|
||||
businessId: $businessId
|
||||
orderType: $orderType
|
||||
location: $location
|
||||
status: $status
|
||||
date: $date
|
||||
startDate: $startDate
|
||||
@@ -39,7 +36,6 @@ mutation createOrder(
|
||||
assignedStaff: $assignedStaff
|
||||
shifts: $shifts
|
||||
requested: $requested
|
||||
hub: $hub
|
||||
recurringDays: $recurringDays
|
||||
permanentDays: $permanentDays
|
||||
notes: $notes
|
||||
@@ -53,7 +49,6 @@ mutation updateOrder(
|
||||
$id: UUID!
|
||||
$vendorId: UUID
|
||||
$businessId: UUID
|
||||
$location: String
|
||||
$status: OrderStatus
|
||||
$date: Timestamp
|
||||
$startDate: Timestamp
|
||||
@@ -63,7 +58,6 @@ mutation updateOrder(
|
||||
$assignedStaff: Any
|
||||
$shifts: Any
|
||||
$requested: Int
|
||||
$hub: String
|
||||
$recurringDays: Any
|
||||
$permanentDays: Any
|
||||
$notes: String
|
||||
@@ -75,7 +69,6 @@ mutation updateOrder(
|
||||
data: {
|
||||
vendorId: $vendorId
|
||||
businessId: $businessId
|
||||
location: $location
|
||||
status: $status
|
||||
date: $date
|
||||
startDate: $startDate
|
||||
@@ -85,7 +78,6 @@ mutation updateOrder(
|
||||
assignedStaff: $assignedStaff
|
||||
shifts: $shifts
|
||||
requested: $requested
|
||||
hub: $hub
|
||||
recurringDays: $recurringDays
|
||||
permanentDays: $permanentDays
|
||||
notes: $notes
|
||||
|
||||
@@ -12,7 +12,6 @@ query listOrders(
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -23,7 +22,6 @@ query listOrders(
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
@@ -56,7 +54,6 @@ query getOrderById($id: UUID!) @auth(level: USER) {
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -67,7 +64,6 @@ query getOrderById($id: UUID!) @auth(level: USER) {
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
@@ -108,7 +104,6 @@ query getOrdersByBusinessId(
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -119,7 +114,6 @@ query getOrdersByBusinessId(
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
@@ -160,7 +154,6 @@ query getOrdersByVendorId(
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -171,7 +164,6 @@ query getOrdersByVendorId(
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
@@ -212,7 +204,6 @@ query getOrdersByStatus(
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -223,7 +214,6 @@ query getOrdersByStatus(
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
@@ -267,7 +257,6 @@ query getOrdersByDateRange(
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -278,7 +267,6 @@ query getOrdersByDateRange(
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
@@ -318,7 +306,6 @@ query getRapidOrders(
|
||||
vendorId
|
||||
businessId
|
||||
orderType
|
||||
location
|
||||
status
|
||||
date
|
||||
startDate
|
||||
@@ -329,7 +316,6 @@ query getRapidOrders(
|
||||
assignedStaff
|
||||
shifts
|
||||
requested
|
||||
hub
|
||||
recurringDays
|
||||
permanentDays
|
||||
poReference
|
||||
|
||||
@@ -34,7 +34,6 @@ query listRecentPayments(
|
||||
shift {
|
||||
title
|
||||
date
|
||||
location
|
||||
locationAddress
|
||||
description
|
||||
}
|
||||
@@ -86,7 +85,6 @@ query getRecentPaymentById($id: UUID!) @auth(level: USER) {
|
||||
shift {
|
||||
title
|
||||
date
|
||||
location
|
||||
locationAddress
|
||||
description
|
||||
}
|
||||
@@ -159,7 +157,7 @@ query listRecentPaymentsByStaffId(
|
||||
|
||||
business { id businessName }
|
||||
vendor { id companyName }
|
||||
order { id eventName location }
|
||||
order { id eventName }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -205,7 +203,7 @@ query listRecentPaymentsByApplicationId(
|
||||
amount
|
||||
business { id businessName }
|
||||
vendor { id companyName }
|
||||
order { id eventName location }
|
||||
order { id eventName }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -251,7 +249,7 @@ query listRecentPaymentsByInvoiceId(
|
||||
amount
|
||||
business { id businessName }
|
||||
vendor { id companyName }
|
||||
order { id eventName location }
|
||||
order { id eventName }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -297,7 +295,7 @@ query listRecentPaymentsByStatus(
|
||||
amount
|
||||
business { id businessName }
|
||||
vendor { id companyName }
|
||||
order { id eventName location }
|
||||
order { id eventName }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -344,7 +342,7 @@ query listRecentPaymentsByInvoiceIds(
|
||||
amount
|
||||
business { id businessName }
|
||||
vendor { id companyName }
|
||||
order { id eventName location }
|
||||
order { id eventName }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -394,7 +392,6 @@ query listRecentPaymentsByBusinessId(
|
||||
id
|
||||
title
|
||||
date
|
||||
location
|
||||
locationAddress
|
||||
description
|
||||
}
|
||||
@@ -411,7 +408,7 @@ query listRecentPaymentsByBusinessId(
|
||||
|
||||
business { id businessName }
|
||||
vendor { id companyName }
|
||||
order { id eventName location }
|
||||
order { id eventName }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@ query getShiftRoleById(
|
||||
}
|
||||
|
||||
shift{
|
||||
location
|
||||
locationAddress
|
||||
description
|
||||
orderId
|
||||
@@ -81,7 +80,6 @@ query listShiftRolesByShiftId(
|
||||
}
|
||||
|
||||
shift{
|
||||
location
|
||||
locationAddress
|
||||
description
|
||||
orderId
|
||||
@@ -137,7 +135,6 @@ query listShiftRolesByRoleId(
|
||||
}
|
||||
|
||||
shift{
|
||||
location
|
||||
locationAddress
|
||||
description
|
||||
orderId
|
||||
@@ -200,7 +197,6 @@ query listShiftRolesByShiftIdAndTimeRange(
|
||||
}
|
||||
|
||||
shift{
|
||||
location
|
||||
locationAddress
|
||||
description
|
||||
orderId
|
||||
@@ -270,7 +266,6 @@ query listShiftRolesByVendorId(
|
||||
id
|
||||
title
|
||||
date
|
||||
location
|
||||
locationAddress
|
||||
description
|
||||
orderId
|
||||
@@ -327,7 +322,6 @@ query listShiftRolesByBusinessAndDateRange(
|
||||
shift {
|
||||
id
|
||||
date
|
||||
location
|
||||
locationAddress
|
||||
title
|
||||
status
|
||||
@@ -373,13 +367,11 @@ query listShiftRolesByBusinessAndOrder(
|
||||
title
|
||||
date
|
||||
orderId
|
||||
location
|
||||
locationAddress
|
||||
|
||||
order{
|
||||
vendorId
|
||||
date
|
||||
location
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -425,7 +417,6 @@ query listShiftRolesByBusinessDateRangeCompletedOrders(
|
||||
shift {
|
||||
id
|
||||
date
|
||||
location
|
||||
locationAddress
|
||||
title
|
||||
status
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -10,4 +10,4 @@ schema:
|
||||
instanceId: "krow-sql"
|
||||
# schemaValidation: "STRICT" # STRICT mode makes Postgres schema match Data Connect exactly.
|
||||
# schemaValidation: "COMPATIBLE" # COMPATIBLE mode makes Postgres schema compatible with Data Connect.
|
||||
connectorDirs: ["./example"]
|
||||
connectorDirs: ["./connector"]
|
||||
|
||||
Reference in New Issue
Block a user