@amohamud23/notihub 1.0.110 → 1.0.111

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.
package/dist/index.cjs CHANGED
@@ -110,6 +110,7 @@ var import_mongoose = require("mongoose");
110
110
 
111
111
  // src/models/schemas/UserSchema.ts
112
112
  var UserSchema = {
113
+ _id: { type: String, required: true },
113
114
  name: { type: String, required: true },
114
115
  email: { type: String, required: true },
115
116
  pushToken: { type: String, required: true },
package/dist/index.d.cts CHANGED
@@ -2,6 +2,7 @@ import * as mongoose from 'mongoose';
2
2
  import mongoose__default from 'mongoose';
3
3
 
4
4
  type CreateNotiRequestBody = {
5
+ entityId: string;
5
6
  subscriptionId: string;
6
7
  userId: string;
7
8
  title: string;
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import * as mongoose from 'mongoose';
2
2
  import mongoose__default from 'mongoose';
3
3
 
4
4
  type CreateNotiRequestBody = {
5
+ entityId: string;
5
6
  subscriptionId: string;
6
7
  userId: string;
7
8
  title: string;
package/dist/index.js CHANGED
@@ -63,6 +63,7 @@ import { Schema, model } from "mongoose";
63
63
 
64
64
  // src/models/schemas/UserSchema.ts
65
65
  var UserSchema = {
66
+ _id: { type: String, required: true },
66
67
  name: { type: String, required: true },
67
68
  email: { type: String, required: true },
68
69
  pushToken: { type: String, required: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amohamud23/notihub",
3
- "version": "1.0.110",
3
+ "version": "1.0.111",
4
4
  "description": "Notihub Package",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",