mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00
Inform (#4307)
* add manager change memberName and update inform UI * change icon and some inform ui * change for comment * fix for comment
This commit is contained in:
@@ -24,5 +24,6 @@ export enum SendInformTemplateCodeEnum {
|
||||
RESET_PASSWORD = 'RESET_PASSWORD',
|
||||
BIND_NOTIFICATION = 'BIND_NOTIFICATION',
|
||||
LACK_OF_POINTS = 'LACK_OF_POINTS',
|
||||
CUSTOM = 'CUSTOM'
|
||||
CUSTOM = 'CUSTOM',
|
||||
MANAGE_RENAME = 'MANAGE_RENAME'
|
||||
}
|
||||
|
13
packages/global/support/user/inform/type.d.ts
vendored
13
packages/global/support/user/inform/type.d.ts
vendored
@@ -19,6 +19,19 @@ export type SendInform2User = SendInformProps & {
|
||||
export type UserInformSchema = {
|
||||
_id: string;
|
||||
userId: string;
|
||||
teamId?: string;
|
||||
time: Date;
|
||||
level: `${InformLevelEnum}`;
|
||||
title: string;
|
||||
content: string;
|
||||
read: boolean;
|
||||
};
|
||||
|
||||
export type UserInformType = {
|
||||
_id: string;
|
||||
userId: string;
|
||||
teamId?: string;
|
||||
teamName?: string;
|
||||
time: Date;
|
||||
level: `${InformLevelEnum}`;
|
||||
title: string;
|
||||
|
Reference in New Issue
Block a user