@common_ch/common 1.0.193 → 1.0.195

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.
@@ -5,5 +5,6 @@ export interface AiCreatedEvent {
5
5
  id: string;
6
6
  version: number;
7
7
  name: string;
8
+ image?: string;
8
9
  };
9
10
  }
@@ -6,6 +6,7 @@ export interface AiOptionCreatedEvent {
6
6
  id: string;
7
7
  name: string;
8
8
  field: AiOptionFieldEnum;
9
+ image?: string;
9
10
  aiId: string;
10
11
  };
11
12
  }
@@ -1,6 +1,7 @@
1
1
  export declare enum AisEnum {
2
2
  chatGPT = "chatGPT",
3
- gemini = "gemini"
3
+ gemini = "gemini",
4
+ aiTest = "aiTest"
4
5
  }
5
6
  export declare enum AiStatusEnum {
6
7
  active = "active",
@@ -5,6 +5,7 @@ var AisEnum;
5
5
  (function (AisEnum) {
6
6
  AisEnum["chatGPT"] = "chatGPT";
7
7
  AisEnum["gemini"] = "gemini";
8
+ AisEnum["aiTest"] = "aiTest";
8
9
  })(AisEnum || (exports.AisEnum = AisEnum = {}));
9
10
  var AiStatusEnum;
10
11
  (function (AiStatusEnum) {
@@ -3,6 +3,8 @@ import { AiOptionFieldEnum, AiOptionStatusEnum } from '../../enums/ai';
3
3
  export interface AiOptionAttrs {
4
4
  _id: string;
5
5
  name: string;
6
+ image?: string;
7
+ description?: string;
6
8
  status?: AiOptionStatusEnum;
7
9
  field: AiOptionFieldEnum;
8
10
  aiId: string;
@@ -19,6 +21,8 @@ export interface AiOptionDoc extends mongoose.Document {
19
21
  aiId: string;
20
22
  status: AiOptionStatusEnum;
21
23
  version: number;
24
+ image?: string;
25
+ description?: string;
22
26
  createdAt?: number;
23
27
  updatedAt?: number;
24
28
  }
@@ -12,6 +12,14 @@ const aiOptionSchema = new mongoose_1.default.Schema({
12
12
  type: String,
13
13
  required: true,
14
14
  },
15
+ image: {
16
+ type: String,
17
+ required: false,
18
+ },
19
+ description: {
20
+ type: String,
21
+ required: false,
22
+ },
15
23
  status: {
16
24
  type: String,
17
25
  enum: ai_1.AiOptionStatusEnum,
@@ -4,6 +4,7 @@ export interface AiAttrs {
4
4
  _id: string;
5
5
  name: string;
6
6
  status?: AiStatusEnum;
7
+ image?: string;
7
8
  createdAt?: number;
8
9
  updatedAt?: number;
9
10
  }
@@ -12,6 +13,7 @@ export interface AiDoc extends mongoose.Document {
12
13
  name: string;
13
14
  status: AiStatusEnum;
14
15
  version: number;
16
+ image?: string;
15
17
  createdAt?: number;
16
18
  updatedAt?: number;
17
19
  }
@@ -11,6 +11,10 @@ const aiSchema = new mongoose_1.default.Schema({
11
11
  type: String,
12
12
  required: true,
13
13
  },
14
+ image: {
15
+ type: String,
16
+ required: false,
17
+ },
14
18
  status: {
15
19
  type: String,
16
20
  enum: ai_1.AiStatusEnum,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common_ch/common",
3
- "version": "1.0.193",
3
+ "version": "1.0.195",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [