moving dataconnect to dev

This commit is contained in:
José Salazar
2026-01-19 19:18:11 -05:00
parent 6960e9e472
commit c5afbd99cd
147 changed files with 10531 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
type StaffAvailabilityStats @table(name: "staff_availability_stats", key: ["staffId"]) {
id: UUID! @default(expr: "uuidV4()")
staffId: UUID!
staff: Staff! @ref(fields: "staffId", references: "id")
needWorkIndex: Int
utilizationPercentage: Int
predictedAvailabilityScore: Int
scheduledHoursThisPeriod: Int
desiredHoursThisPeriod: Int
lastShiftDate: Timestamp
acceptanceRate: Int
createdAt: Timestamp @default(expr: "request.time")
updatedAt: Timestamp @default(expr: "request.time")
createdBy: String @default(expr: "auth.uid")
}