@grapadigital/shared-schemas 1.0.142 → 1.0.143

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.
@@ -96,7 +96,7 @@ declare class Payment {
96
96
  }
97
97
  export declare class Exchange {
98
98
  hasExchange: boolean;
99
- valueInProduct: number;
99
+ description: string;
100
100
  }
101
101
  export declare const ExchangeSchema: MongooseSchema<Exchange, import("mongoose").Model<Exchange, any, any, any, import("mongoose").Document<unknown, any, Exchange, any, {}> & Exchange & {
102
102
  _id: Types.ObjectId;
@@ -138,8 +138,8 @@ __decorate([
138
138
  ], Exchange.prototype, "hasExchange", void 0);
139
139
  __decorate([
140
140
  (0, mongoose_1.Prop)(),
141
- __metadata("design:type", Number)
142
- ], Exchange.prototype, "valueInProduct", void 0);
141
+ __metadata("design:type", String)
142
+ ], Exchange.prototype, "description", void 0);
143
143
  Exchange = __decorate([
144
144
  (0, mongoose_1.Schema)({ _id: false })
145
145
  ], Exchange);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grapadigital/shared-schemas",
3
- "version": "1.0.142",
3
+ "version": "1.0.143",
4
4
  "description": "Shared Mongoose Schemas",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -99,7 +99,7 @@ export class Exchange {
99
99
  hasExchange: boolean;
100
100
 
101
101
  @Prop()
102
- valueInProduct: number;
102
+ description: string;
103
103
  }
104
104
 
105
105
  export const ExchangeSchema = SchemaFactory.createForClass(Exchange);