@common_ch/common 1.0.319 → 1.0.320

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.
@@ -22,6 +22,7 @@ export interface UserAttrs {
22
22
  password?: string;
23
23
  family?: string;
24
24
  updatedPortal?: boolean;
25
+ personalPrompt?: boolean;
25
26
  createdAt?: number;
26
27
  updatedAt?: number;
27
28
  }
@@ -51,6 +52,7 @@ export interface UserDoc extends mongoose.Document {
51
52
  family?: string;
52
53
  apiUsed?: number;
53
54
  updatedPortal?: boolean;
55
+ personalPrompt?: boolean;
54
56
  createdAt?: number;
55
57
  updatedAt?: number;
56
58
  updateWalletBalance(amount: number): Promise<{
@@ -105,6 +105,11 @@ const userSchema = new mongoose_1.default.Schema({
105
105
  required: true,
106
106
  default: 0
107
107
  },
108
+ personalPrompt: {
109
+ type: Boolean,
110
+ required: false,
111
+ default: false,
112
+ },
108
113
  status: {
109
114
  type: String,
110
115
  enum: user_1.UserStatusEnum,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common_ch/common",
3
- "version": "1.0.319",
3
+ "version": "1.0.320",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [