most of a dash views api impl

This commit is contained in:
alyssa 2025-12-21 17:24:04 -05:00
parent 5e462a0ca2
commit 698f01ab9c
5 changed files with 176 additions and 5 deletions

View file

@ -93,3 +93,14 @@ struct SystemConfig {
#[json = "premium_lifetime"]
premium_lifetime: bool
}
#[pk_model]
struct DashView {
#[json = "id"]
id: String,
system: SystemId,
#[json = "name"]
name: String,
#[json = "value"]
value: String
}