proxy backend
This commit is contained in:
@@ -55,3 +55,16 @@ model Schedule {
|
||||
|
||||
group Group @relation(fields: [groupId], references: [id])
|
||||
}
|
||||
|
||||
model QuickAction {
|
||||
id String @id @default(uuid())
|
||||
name String
|
||||
icon String? // Optional icon/emoji
|
||||
groupId String? // Optional: if action targets a group
|
||||
deviceId String? // Optional: if action targets a device
|
||||
actionType String // 'PRESET' | 'PLAYLIST' | 'TURN_ON' | 'TURN_OFF' | 'BRIGHTNESS'
|
||||
actionPayload String // JSON string
|
||||
order Int @default(0) // For sorting
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user