@common_ch/common 1.0.477 → 1.0.478

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.
@@ -7,6 +7,7 @@ export type MessageClaude = {
7
7
  role: ContentRoleClaudeEnum;
8
8
  content: string;
9
9
  aiOptionId: Types.ObjectId | AiOptionAttrs | AiOptionDoc;
10
+ prompt: boolean;
10
11
  };
11
12
  export type Content = {
12
13
  type: 'input_image';
@@ -146,6 +146,10 @@ const messageSchema = new mongoose_1.default.Schema({
146
146
  aiOptionId: {
147
147
  type: mongoose_1.default.Schema.Types.ObjectId,
148
148
  ref: 'AiOption',
149
+ },
150
+ prompt: {
151
+ type: Boolean,
152
+ required: false,
149
153
  }
150
154
  }
151
155
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common_ch/common",
3
- "version": "1.0.477",
3
+ "version": "1.0.478",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [