mirror of
https://github.com/spacebarchat/server.git
synced 2026-07-12 03:10:19 +00:00
🐛 use ActivityBodySchema
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user