mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 04:12:50 +02:00
Include system data on PK profiles
This commit is contained in:
parent
6a06dc14ce
commit
a71c9515ec
4 changed files with 49 additions and 25 deletions
18
types.d.ts
vendored
18
types.d.ts
vendored
|
@ -34,6 +34,19 @@ export type WebhookCreds = {
|
|||
token: string
|
||||
}
|
||||
|
||||
export type PkSystem = {
|
||||
id: string
|
||||
uuid: string
|
||||
name: string | null
|
||||
description: string | null
|
||||
tag: string | null
|
||||
pronouns: string | null
|
||||
avatar_url: string | null
|
||||
banner: string | null
|
||||
color: string | null
|
||||
created: string | null
|
||||
}
|
||||
|
||||
export type PkMember = {
|
||||
id: string
|
||||
uuid: string
|
||||
|
@ -54,6 +67,11 @@ export type PkMember = {
|
|||
last_message_timestamp: string
|
||||
}
|
||||
|
||||
export type PkMessage = {
|
||||
system: PkSystem
|
||||
member: PkMember
|
||||
}
|
||||
|
||||
export namespace Event {
|
||||
export type Outer<T> = {
|
||||
type: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue