first version of recurring order
This commit is contained in:
@@ -15,7 +15,7 @@ mutation createOrder(
|
||||
$shifts: Any
|
||||
$requested: Int
|
||||
$teamHubId: UUID!
|
||||
$recurringDays: Any
|
||||
$recurringDays: [String!]
|
||||
$permanentStartDate: Timestamp
|
||||
$permanentDays: Any
|
||||
$notes: String
|
||||
@@ -64,7 +64,7 @@ mutation updateOrder(
|
||||
$shifts: Any
|
||||
$requested: Int
|
||||
$teamHubId: UUID!
|
||||
$recurringDays: Any
|
||||
$recurringDays: [String!]
|
||||
$permanentDays: Any
|
||||
$notes: String
|
||||
$detectedConflicts: Any
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
specVersion: "v1"
|
||||
serviceId: "krow-workforce-db-validation"
|
||||
serviceId: "krow-workforce-db"
|
||||
location: "us-central1"
|
||||
schema:
|
||||
source: "./schema"
|
||||
@@ -7,7 +7,7 @@ schema:
|
||||
postgresql:
|
||||
database: "krow_db"
|
||||
cloudSql:
|
||||
instanceId: "krow-sql-validation"
|
||||
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: ["./connector"]
|
||||
|
||||
@@ -52,7 +52,7 @@ type Order @table(name: "orders", key: ["id"]) {
|
||||
startDate: Timestamp #for recurring and permanent
|
||||
endDate: Timestamp #for recurring and permanent
|
||||
|
||||
recurringDays: Any @col(dataType: "jsonb")
|
||||
recurringDays: [String!]
|
||||
poReference: String
|
||||
|
||||
permanentDays: Any @col(dataType: "jsonb")
|
||||
|
||||
Reference in New Issue
Block a user