@amohamud23/notihub 1.0.95 → 1.0.97

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
@@ -248,7 +248,11 @@ var NotificationSchema = {
248
248
  type: { type: String, required: true },
249
249
  body: { type: String },
250
250
  entityId: { type: String, required: true },
251
- entityMinified: CustomerMinifiedSchema_default
251
+ entityMinified: {
252
+ type: import_mongoose9.Schema.Types.ObjectId,
253
+ ref: "CustomerMinified",
254
+ required: true
255
+ }
252
256
  };
253
257
  var NotificationSchema_default = NotificationSchema;
254
258
 
package/dist/index.d.cts CHANGED
@@ -65,6 +65,7 @@ type INotiHubUser = {
65
65
  email: string;
66
66
  subscriptions: number;
67
67
  events: number;
68
+ isSignedIn: boolean;
68
69
  };
69
70
  type INotiHubImage = {
70
71
  bucket: string;
package/dist/index.d.ts CHANGED
@@ -65,6 +65,7 @@ type INotiHubUser = {
65
65
  email: string;
66
66
  subscriptions: number;
67
67
  events: number;
68
+ isSignedIn: boolean;
68
69
  };
69
70
  type INotiHubImage = {
70
71
  bucket: string;
package/dist/index.js CHANGED
@@ -197,7 +197,11 @@ var NotificationSchema = {
197
197
  type: { type: String, required: true },
198
198
  body: { type: String },
199
199
  entityId: { type: String, required: true },
200
- entityMinified: CustomerMinifiedSchema_default
200
+ entityMinified: {
201
+ type: Schema9.Types.ObjectId,
202
+ ref: "CustomerMinified",
203
+ required: true
204
+ }
201
205
  };
202
206
  var NotificationSchema_default = NotificationSchema;
203
207
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amohamud23/notihub",
3
- "version": "1.0.95",
3
+ "version": "1.0.97",
4
4
  "description": "Notihub Package",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",