mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 23:37:54 +00:00
most of a dash views api impl
This commit is contained in:
parent
5e462a0ca2
commit
698f01ab9c
5 changed files with 176 additions and 5 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue