@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 +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
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
|
|
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 =
|
|
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
package/dist/index.d.ts
CHANGED
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
|
|
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 =
|
|
327
|
+
var NotiTypeStatsSchema_default = NotiTypeStatsSchema;
|
|
328
328
|
|
|
329
329
|
// src/models/NotiTypeStatsModel.ts
|
|
330
330
|
var notiTypeSchema2 = new Schema19(NotiTypeStatsSchema_default, {
|