summary refs log tree commit diff
path: root/dist/models/Activity.d.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 23:25:56 +0200
committerGitHub <noreply@github.com>2021-04-06 23:25:56 +0200
commite8c79c8e48b1a69fe7662e9b3bc8f5366d328475 (patch)
treeb4d69ea9692670e4338bf23db5fd0312b5cd6c17 /dist/models/Activity.d.ts
parent:bug: fix Message Model (diff)
parent:arrow_up: update mongodb (diff)
downloadserver-e8c79c8e48b1a69fe7662e9b3bc8f5366d328475.tar.xz
Merge pull request #2 from afeuerstein/main
Merge fosscord/fosscord-server-util/ with afeuerstein/fosscord-server-util/
Diffstat (limited to 'dist/models/Activity.d.ts')
-rw-r--r--dist/models/Activity.d.ts87
1 files changed, 0 insertions, 87 deletions
diff --git a/dist/models/Activity.d.ts b/dist/models/Activity.d.ts
deleted file mode 100644

index 57462d60..00000000 --- a/dist/models/Activity.d.ts +++ /dev/null
@@ -1,87 +0,0 @@ -import { User } from ".."; -import { ClientStatus, Status } from "./Status"; -import { Types } from "mongoose"; -export interface Presence { - user: User; - guild_id?: string; - status: Status; - activities: Activity[]; - client_status: ClientStatus; -} -export interface Activity { - name: string; - type: ActivityType; - url?: string; - created_at?: Date; - timestamps?: { - start?: number; - end?: number; - }[]; - application_id?: string; - details?: string; - state?: string; - emoji?: { - name: string; - id?: string; - amimated?: boolean; - }; - party?: { - id?: string; - size?: [number, number]; - }; - assets?: { - large_image?: string; - large_text?: string; - small_image?: string; - small_text?: string; - }; - secrets?: { - join?: string; - spectate?: string; - match?: string; - }; - instance?: boolean; - flags?: bigint; -} -export declare const Activity: { - name: StringConstructor; - type: NumberConstructor; - $url: StringConstructor; - $created_at: DateConstructor; - $timestamps: { - $start: NumberConstructor; - $end: NumberConstructor; - }[]; - $application_id: StringConstructor; - $details: StringConstructor; - $state: StringConstructor; - $emoji: { - $name: StringConstructor; - $id: StringConstructor; - $amimated: BooleanConstructor; - }; - $party: { - $id: StringConstructor; - $size: NumberConstructor[]; - }; - $assets: { - $large_image: StringConstructor; - $large_text: StringConstructor; - $small_image: StringConstructor; - $small_text: StringConstructor; - }; - $secrets: { - $join: StringConstructor; - $spectate: StringConstructor; - $match: StringConstructor; - }; - $instance: BooleanConstructor; - $flags: typeof Types.Long; -}; -export declare enum ActivityType { - GAME = 0, - STREAMING = 1, - LISTENING = 2, - CUSTOM = 4, - COMPETING = 5 -}