feat: PWA Support (#1488)
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
Permission,
|
||||
PermissionCheckOptions,
|
||||
} from '../../server/lib/permissions';
|
||||
import { NotificationAgentKey } from '../../server/lib/settings';
|
||||
|
||||
export { Permission, UserType };
|
||||
export type { PermissionCheckOptions };
|
||||
@@ -25,10 +26,14 @@ export interface User {
|
||||
settings?: UserSettings;
|
||||
}
|
||||
|
||||
type NotificationAgentTypes = Record<NotificationAgentKey, number>;
|
||||
|
||||
export interface UserSettings {
|
||||
discordId?: string;
|
||||
region?: string;
|
||||
originalLanguage?: string;
|
||||
locale?: string;
|
||||
notificationTypes: Partial<NotificationAgentTypes>;
|
||||
}
|
||||
|
||||
interface UserHookResponse {
|
||||
|
||||
Reference in New Issue
Block a user