feat: inform
This commit is contained in:
12
src/types/mongoSchema.d.ts
vendored
12
src/types/mongoSchema.d.ts
vendored
@@ -7,7 +7,7 @@ import {
|
||||
EmbeddingModelType
|
||||
} from '@/constants/model';
|
||||
import type { DataType } from './data';
|
||||
import { BillTypeEnum } from '@/constants/user';
|
||||
import { BillTypeEnum, InformTypeEnum } from '@/constants/user';
|
||||
import { TrainingModeEnum } from '@/constants/plugin';
|
||||
|
||||
export interface UserModelSchema {
|
||||
@@ -155,3 +155,13 @@ export interface kbSchema {
|
||||
name: string;
|
||||
tags: string[];
|
||||
}
|
||||
|
||||
export interface informSchema {
|
||||
_id: string;
|
||||
userId: string;
|
||||
time: Date;
|
||||
type: `${InformTypeEnum}`;
|
||||
title: string;
|
||||
content: string;
|
||||
read: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user