@common_ch/common 1.0.351 → 1.0.353

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.
@@ -23,6 +23,7 @@ export type ContentGemini = {
23
23
  aiOption: Types.ObjectId | AiOptionDoc;
24
24
  attachments?: Attachment[];
25
25
  createdAt: string;
26
+ system?: boolean;
26
27
  };
27
28
  export type Attachment = {
28
29
  contentType: string;
@@ -121,6 +121,11 @@ const messageSchema = new mongoose_1.default.Schema({
121
121
  type: mongoose_1.default.Schema.Types.Date,
122
122
  required: true,
123
123
  },
124
+ system: {
125
+ type: Boolean,
126
+ required: false,
127
+ default: false,
128
+ }
124
129
  },
125
130
  ],
126
131
  threadChatgptId: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common_ch/common",
3
- "version": "1.0.351",
3
+ "version": "1.0.353",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [