mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
🐛 use ActivityBodySchema
This commit is contained in:
parent
19b1ca48ca
commit
0e582bf71b
@ -1,10 +1,10 @@
|
||||
import { Activity } from "fosscord-server-util";
|
||||
import { ActivityBodySchema } from "fosscord-server-util";
|
||||
import { EmojiSchema } from "./Emoji";
|
||||
|
||||
export const ActivitySchema = {
|
||||
afk: Boolean,
|
||||
status: String,
|
||||
$activities: [Activity],
|
||||
$activities: [ActivityBodySchema],
|
||||
$since: Number, // unix time (in milliseconds) of when the client went idle, or null if the client is not idle
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user