@brimble/models 3.7.82 → 3.7.83

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.
@@ -4,4 +4,5 @@ export interface IWallet extends Document {
4
4
  slug: string;
5
5
  enabled: boolean;
6
6
  provider: string;
7
+ discounted: boolean;
7
8
  }
package/dist/wallet.js CHANGED
@@ -18,5 +18,9 @@ const walletSchema = new mongoose_1.Schema({
18
18
  type: String,
19
19
  required: true,
20
20
  },
21
+ discounted: {
22
+ type: Boolean,
23
+ default: false
24
+ }
21
25
  });
22
26
  exports.default = (0, mongoose_1.model)("Wallet", walletSchema);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "3.7.82",
3
+ "version": "3.7.83",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types/wallet.ts CHANGED
@@ -5,4 +5,5 @@ export interface IWallet extends Document {
5
5
  slug: string;
6
6
  enabled: boolean;
7
7
  provider: string;
8
+ discounted: boolean;
8
9
  }
package/wallet.ts CHANGED
@@ -18,6 +18,10 @@ const walletSchema: Schema = new Schema({
18
18
  type: String,
19
19
  required: true,
20
20
  },
21
+ discounted: {
22
+ type: Boolean,
23
+ default: false
24
+ }
21
25
  });
22
26
 
23
27
  export default model<IWallet>("Wallet", walletSchema);