c2-desafiox 1.0.116 → 1.0.117

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.
@@ -14,6 +14,7 @@ export interface IAdminTemplatePush {
14
14
  redirect?: string;
15
15
  metadata?: Map<string, string>;
16
16
  status: AdminTemplatePushStatus;
17
+ inAppNotification?: boolean;
17
18
  createdAtDateTime: Date;
18
19
  updatedAtDateTime: Date;
19
20
  }
@@ -35,6 +36,7 @@ export declare const AdminTemplatePushSchema: Schema<any, import("mongoose").Mod
35
36
  }) | null | undefined;
36
37
  redirect?: string | null | undefined;
37
38
  metadata?: Map<string, string> | null | undefined;
39
+ inAppNotification?: boolean | null | undefined;
38
40
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
39
41
  name: string;
40
42
  status: string;
@@ -48,6 +50,7 @@ export declare const AdminTemplatePushSchema: Schema<any, import("mongoose").Mod
48
50
  }) | null | undefined;
49
51
  redirect?: string | null | undefined;
50
52
  metadata?: Map<string, string> | null | undefined;
53
+ inAppNotification?: boolean | null | undefined;
51
54
  }>, {}> & import("mongoose").FlatRecord<{} & {
52
55
  name: string;
53
56
  status: string;
@@ -61,6 +64,7 @@ export declare const AdminTemplatePushSchema: Schema<any, import("mongoose").Mod
61
64
  }) | null | undefined;
62
65
  redirect?: string | null | undefined;
63
66
  metadata?: Map<string, string> | null | undefined;
67
+ inAppNotification?: boolean | null | undefined;
64
68
  }> & {
65
69
  _id: Types.ObjectId;
66
70
  } & {
@@ -17,6 +17,7 @@ exports.AdminTemplatePushSchema = new mongoose_1.Schema({
17
17
  redirect: { type: String, required: false },
18
18
  metadata: { type: Map, of: String, required: false },
19
19
  status: { type: String, enum: AdminTemplatePushStatus, required: true, default: AdminTemplatePushStatus.DRAFT },
20
+ inAppNotification: { type: Boolean, required: false, default: false },
20
21
  }, {
21
22
  timestamps: { createdAt: "createdAtDateTime", updatedAt: "updatedAtDateTime" }
22
23
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-desafiox",
3
- "version": "1.0.116",
3
+ "version": "1.0.117",
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",