@amohamud23/notihub 1.0.99 → 1.0.101

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
@@ -371,12 +371,12 @@ var import_mongoose19 = require("mongoose");
371
371
 
372
372
  // src/models/schemas/NotiTypeStatsSchema.ts
373
373
  var import_mongoose18 = require("mongoose");
374
- var NotiTypeSchema2 = {
374
+ var NotiTypeStatsSchema = {
375
375
  notiType: { type: import_mongoose18.Schema.Types.ObjectId, ref: "NotiTypes", required: true },
376
376
  subscribed: { type: Number, default: 0, required: true },
377
377
  views: { type: Number, default: 0, required: true }
378
378
  };
379
- var NotiTypeStatsSchema_default = NotiTypeSchema2;
379
+ var NotiTypeStatsSchema_default = NotiTypeStatsSchema;
380
380
 
381
381
  // src/models/NotiTypeStatsModel.ts
382
382
  var notiTypeSchema2 = new import_mongoose19.Schema(NotiTypeStatsSchema_default, {
package/dist/index.d.cts CHANGED
@@ -94,7 +94,7 @@ type INotiType = {
94
94
  };
95
95
  type INotiTypeStats = {
96
96
  _id?: string;
97
- notiTypeId: string;
97
+ notiType: INotiType;
98
98
  subscribed: number;
99
99
  views: number;
100
100
  createdAt: string;
package/dist/index.d.ts CHANGED
@@ -94,7 +94,7 @@ type INotiType = {
94
94
  };
95
95
  type INotiTypeStats = {
96
96
  _id?: string;
97
- notiTypeId: string;
97
+ notiType: INotiType;
98
98
  subscribed: number;
99
99
  views: number;
100
100
  createdAt: string;
package/dist/index.js CHANGED
@@ -319,12 +319,12 @@ import { Schema as Schema19, model as model12 } from "mongoose";
319
319
 
320
320
  // src/models/schemas/NotiTypeStatsSchema.ts
321
321
  import { Schema as Schema18 } from "mongoose";
322
- var NotiTypeSchema2 = {
322
+ var NotiTypeStatsSchema = {
323
323
  notiType: { type: Schema18.Types.ObjectId, ref: "NotiTypes", required: true },
324
324
  subscribed: { type: Number, default: 0, required: true },
325
325
  views: { type: Number, default: 0, required: true }
326
326
  };
327
- var NotiTypeStatsSchema_default = NotiTypeSchema2;
327
+ var NotiTypeStatsSchema_default = NotiTypeStatsSchema;
328
328
 
329
329
  // src/models/NotiTypeStatsModel.ts
330
330
  var notiTypeSchema2 = new Schema19(NotiTypeStatsSchema_default, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amohamud23/notihub",
3
- "version": "1.0.99",
3
+ "version": "1.0.101",
4
4
  "description": "Notihub Package",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",