Include system data on PK profiles

This commit is contained in:
Cadence Ember
2024-01-22 22:38:18 +13:00
parent 6a06dc14ce
commit a71c9515ec
4 changed files with 49 additions and 25 deletions
Vendored
+18
View File
@@ -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