Clean old base44 project reference architecture

This commit is contained in:
bwnyasse
2026-01-10 12:17:00 -05:00
parent d2e84addb1
commit 01158b8a89
577 changed files with 0 additions and 173728 deletions

View File

@@ -1,62 +0,0 @@
scalar UUID
scalar Timestamp
scalar JSON
enum EventStatus {
DRAFT
ACTIVE
PENDING
ASSIGNED
CONFIRMED
COMPLETED
CANCELED
}
enum RecurrenceType {
SINGLE
DATE_RANGE
SCATTER
}
type Event @table(name: "events") {
id: UUID! @col(name: "id", primaryKey: true) @default(expr: "uuidV4()")
eventName: String!
isRecurring: Boolean!
recurrenceType: RecurrenceType
businessId: UUID!
vendorId: UUID
status: EventStatus!
date: Timestamp!
shifts: JSON @col(dataType: "jsonb")
total: Float
requested: Int
assignedStaff: JSON @col(dataType: "jsonb")
createdDate: Timestamp @default(expr: "now()")
updatedDate: Timestamp @updateAt
createdBy: String
}
input CreateEventInput {
eventName: String!
isRecurring: Boolean!
recurrenceType: RecurrenceType
businessId: UUID!
vendorId: UUID
status: EventStatus!
date: Timestamp!
shifts: JSON
total: Float
requested: Int
assignedStaff: JSON
}
type Mutation {
createEvent(input: CreateEventInput!): Event @auth
}
type Query {
listEvents: [Event!] @auth
}