c2-climbing-x 1.0.102 → 1.0.103

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.
@@ -7,6 +7,7 @@ export declare enum AdminComunicationStatus {
7
7
  INACTIVE = "INACTIVE"
8
8
  }
9
9
  export interface IAdminComunication {
10
+ _id: Types.ObjectId;
10
11
  name: string;
11
12
  description?: string;
12
13
  templateEmail?: Types.ObjectId | IAdminTemplateEmail;
@@ -17,6 +17,7 @@ export declare enum AdminEventComunicationMessageStatus {
17
17
  READ = "READ"
18
18
  }
19
19
  export interface IAdminEventComunication {
20
+ _id: Types.ObjectId;
20
21
  account: Types.ObjectId | IAccount;
21
22
  comunication: Types.ObjectId | IAdminComunication;
22
23
  pushContent?: {
@@ -1,10 +1,11 @@
1
- import { Schema } from "mongoose";
1
+ import { Schema, Types } from "mongoose";
2
2
  export declare enum AdminTemplateEmailStatus {
3
3
  DRAFT = "DRAFT",
4
4
  ACTIVE = "ACTIVE",
5
5
  INACTIVE = "INACTIVE"
6
6
  }
7
7
  export interface IAdminTemplateEmail {
8
+ _id: Types.ObjectId;
8
9
  name: string;
9
10
  subject: string;
10
11
  bodyHtml: string;
@@ -33,5 +34,5 @@ export declare const AdminTemplateEmailSchema: Schema<any, import("mongoose").Mo
33
34
  subject: string;
34
35
  bodyHtml: string;
35
36
  }> & {
36
- _id: import("mongoose").Types.ObjectId;
37
+ _id: Types.ObjectId;
37
38
  }>;
@@ -6,6 +6,7 @@ export declare enum AdminTemplatePushStatus {
6
6
  INACTIVE = "INACTIVE"
7
7
  }
8
8
  export interface IAdminTemplatePush {
9
+ _id: Types.ObjectId;
9
10
  name: string;
10
11
  title: string;
11
12
  body: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-climbing-x",
3
- "version": "1.0.102",
3
+ "version": "1.0.103",
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",