1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 13:14:06 +01:00

🐛 use ActivityBodySchema

This commit is contained in:
Flam3rboy 2021-04-09 00:39:29 +02:00
parent 19b1ca48ca
commit 0e582bf71b

View File

@ -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
};