@grapadigital/shared-schemas 1.0.118 → 1.0.119

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.
@@ -60,7 +60,7 @@ export declare class Pending {
60
60
  description: string;
61
61
  installmentNumber: number;
62
62
  sale: Types.ObjectId | Sale;
63
- action: Types.ObjectId | Action;
63
+ action?: Types.ObjectId | Action;
64
64
  }
65
65
  export declare const PendingSchema: MongooseSchema<Pending, import("mongoose").Model<Pending, any, any, any, import("mongoose").Document<unknown, any, Pending, any, {}> & Pending & {
66
66
  _id: Types.ObjectId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grapadigital/shared-schemas",
3
- "version": "1.0.118",
3
+ "version": "1.0.119",
4
4
  "description": "Shared Mongoose Schemas",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -130,7 +130,7 @@ export class Pending {
130
130
 
131
131
  @ApiProperty({ type: () => Action })
132
132
  @Prop({ type: MongooseSchema.Types.ObjectId, ref: 'Action' })
133
- action: Types.ObjectId | Action;
133
+ action?: Types.ObjectId | Action;
134
134
  }
135
135
  export const PendingSchema = SchemaFactory.createForClass(Pending);
136
136