@common_ch/common 1.0.281 → 1.0.282
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import mongoose from 'mongoose';
|
|
2
|
-
import { AiOptionFieldEnum, AiOptionStatusEnum } from '../../enums/ai';
|
|
2
|
+
import { AiOptionFieldEnum, AiOptionNamesEnum, AiOptionStatusEnum } from '../../enums/ai';
|
|
3
3
|
export interface AiOptionAttrs {
|
|
4
4
|
_id: string;
|
|
5
|
-
name:
|
|
5
|
+
name: AiOptionNamesEnum;
|
|
6
6
|
image?: string;
|
|
7
7
|
description?: string;
|
|
8
8
|
defaultShow?: boolean;
|
|
@@ -17,7 +17,7 @@ interface AiOptionModel extends mongoose.Model<AiOptionDoc> {
|
|
|
17
17
|
}
|
|
18
18
|
export interface AiOptionDoc extends mongoose.Document {
|
|
19
19
|
_id: string;
|
|
20
|
-
name:
|
|
20
|
+
name: AiOptionNamesEnum;
|
|
21
21
|
field: AiOptionFieldEnum;
|
|
22
22
|
aiId: string;
|
|
23
23
|
status: AiOptionStatusEnum;
|