proxy backend

This commit is contained in:
Oli Passey
2025-12-21 16:54:13 +00:00
parent 1fb43156e8
commit 77bf4ffd05
30 changed files with 3010 additions and 79 deletions

View File

@@ -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
}