This commit is contained in:
1 parent
e85e4d74ea
commit
2e4ed76121
378 files changed
+22404
-20686
No files matched your search
+29
-29
@@ -1,43 +1,43 @@
|
||||
export interface PermissionSet {
|
||||
has(permission: string): boolean
|
||||
hasAny(...permissions: string[]): boolean
|
||||
hasAll(...permissions: string[]): boolean
|
||||
isSuperAdmin: boolean
|
||||
has(permission: string): boolean;
|
||||
hasAny(...permissions: string[]): boolean;
|
||||
hasAll(...permissions: string[]): boolean;
|
||||
isSuperAdmin: boolean;
|
||||
}
|
||||
|
||||
export type WebhookAction =
|
||||
| 'ban'
|
||||
| 'unban'
|
||||
| 'kick'
|
||||
| 'disconnect'
|
||||
| 'room_delete'
|
||||
| 'user_edit'
|
||||
| 'user_create'
|
||||
| 'news_publish'
|
||||
| 'news_delete'
|
||||
| 'hotel_alert'
|
||||
| 'staff_alert'
|
||||
| 'ticket_create'
|
||||
| 'event_create'
|
||||
| 'event_update'
|
||||
| 'event_cancel'
|
||||
| 'poll_create'
|
||||
| 'poll_close'
|
||||
| "ban"
|
||||
| "unban"
|
||||
| "kick"
|
||||
| "disconnect"
|
||||
| "room_delete"
|
||||
| "user_edit"
|
||||
| "user_create"
|
||||
| "news_publish"
|
||||
| "news_delete"
|
||||
| "hotel_alert"
|
||||
| "staff_alert"
|
||||
| "ticket_create"
|
||||
| "event_create"
|
||||
| "event_update"
|
||||
| "event_cancel"
|
||||
| "poll_create"
|
||||
| "poll_close";
|
||||
|
||||
type AvatarSize = 's' | 'm' | 'l'
|
||||
type Direction = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
|
||||
type AvatarSize = "s" | "m" | "l";
|
||||
type Direction = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
||||
|
||||
export interface AvatarOptions {
|
||||
/** Avatar size: s (small), m (medium), l (large) */
|
||||
size?: AvatarSize
|
||||
size?: AvatarSize;
|
||||
/** Body direction (0-7) */
|
||||
direction?: Direction
|
||||
direction?: Direction;
|
||||
/** Head direction (0-7) */
|
||||
headDirection?: Direction
|
||||
headDirection?: Direction;
|
||||
/** Show only the head */
|
||||
headOnly?: boolean
|
||||
headOnly?: boolean;
|
||||
/** Gesture: sml (smile), srp (surprised), sad, etc. */
|
||||
gesture?: string
|
||||
gesture?: string;
|
||||
/** Action: wav, sit, lay, etc. */
|
||||
action?: string
|
||||
action?: string;
|
||||
}
|
||||
Reference in new issue
Block a user