c2-desafiox 1.0.118 → 1.0.120

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.
@@ -28,8 +28,9 @@ export interface IAdminEventComunication {
28
28
  comunication: Types.ObjectId | IAdminComunication;
29
29
  content: any;
30
30
  type: AdminEventComunicationType;
31
- statusDelivery: AdminEventComunicationStatus;
31
+ statusDelivery: AdminEventComunicationDeliveryStatus;
32
32
  status: AdminEventComunicationStatus;
33
+ message?: string;
33
34
  createdAtDateTime: Date;
34
35
  updatedAtDateTime: Date;
35
36
  }
@@ -61,6 +62,7 @@ export declare const AdminEventComunicationSchema: Schema<any, import("mongoose"
61
62
  };
62
63
  statusDelivery: string;
63
64
  content: any;
65
+ message?: string | null | undefined;
64
66
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
65
67
  type: string;
66
68
  account: {
@@ -84,6 +86,7 @@ export declare const AdminEventComunicationSchema: Schema<any, import("mongoose"
84
86
  };
85
87
  statusDelivery: string;
86
88
  content: any;
89
+ message?: string | null | undefined;
87
90
  }>, {}> & import("mongoose").FlatRecord<{} & {
88
91
  type: string;
89
92
  account: {
@@ -107,6 +110,7 @@ export declare const AdminEventComunicationSchema: Schema<any, import("mongoose"
107
110
  };
108
111
  statusDelivery: string;
109
112
  content: any;
113
+ message?: string | null | undefined;
110
114
  }> & {
111
115
  _id: Types.ObjectId;
112
116
  } & {
@@ -33,6 +33,7 @@ exports.AdminEventComunicationSchema = new mongoose_1.Schema({
33
33
  status: { type: String, enum: AdminEventComunicationStatus, required: true, default: AdminEventComunicationStatus.CREATED },
34
34
  statusDelivery: { type: String, enum: AdminEventComunicationDeliveryStatus, required: true, default: AdminEventComunicationDeliveryStatus.CREATED },
35
35
  content: { type: mongoose_1.Schema.Types.Mixed, required: true },
36
+ message: { type: String, required: false },
36
37
  }, {
37
38
  timestamps: { createdAt: "createdAtDateTime", updatedAt: "updatedAtDateTime" }
38
39
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-desafiox",
3
- "version": "1.0.118",
3
+ "version": "1.0.120",
4
4
  "description": "Modelagem TypeScript/Mongoose para o jogo Escalada X (times, campeonatos, fases, rodadas, confrontos, desafios)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",