* MM_30476 : Added all isolated tables from the server schema * MM_30476 : Updated 'test' script in package.json * MM_30476 : Added USER section of the server schema * MM_30476 : Added the models index back * MM_30476 : Updated User entity as per previous comments * MM_30476 : Added lazy query to channel membership * MM_30476 : Adjusted PR as per suggestions * MM_30476 : Update nick_name in user model Co-authored-by: Elias Nahum <nahumhbl@gmail.com> * MM_30476 : Adjusted extra padding * MM_30476 : Corrected ChannelMemberShipSchema to ChannelMembershipSchema * MM_30476 : Updated types/database/index.ts to types/database/index.d.ts Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
23 lines
463 B
TypeScript
23 lines
463 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
interface NotifyProps {
|
|
channel: true;
|
|
desktop: string;
|
|
desktop_sound: true;
|
|
email: true;
|
|
first_name: true
|
|
mention_keys: string;
|
|
push: string;
|
|
}
|
|
|
|
interface UserProps {
|
|
[userPropsName : string] : any
|
|
}
|
|
|
|
interface Timezone {
|
|
automaticTimezone: string
|
|
manualTimezone: string,
|
|
useAutomaticTimezone: true,
|
|
}
|
|
|