@duvdu-v1/duvdu 1.0.44 → 1.0.46
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/build/{common/src/models → models}/category.model.d.ts +1 -1
- package/build/{common/src/models → models}/category.model.js +2 -2
- package/package.json +1 -1
- package/build/auth/src/types/custom-definition.d.ts +0 -0
- package/build/auth/src/types/custom-definition.js +0 -17
- /package/build/{common/src/errors → errors}/bad-request-error.d.ts +0 -0
- /package/build/{common/src/errors → errors}/bad-request-error.js +0 -0
- /package/build/{common/src/errors → errors}/custom-error.d.ts +0 -0
- /package/build/{common/src/errors → errors}/custom-error.js +0 -0
- /package/build/{common/src/errors → errors}/data-base-connections.d.ts +0 -0
- /package/build/{common/src/errors → errors}/data-base-connections.js +0 -0
- /package/build/{common/src/errors → errors}/generic-error.d.ts +0 -0
- /package/build/{common/src/errors → errors}/generic-error.js +0 -0
- /package/build/{common/src/errors → errors}/notfound-error.d.ts +0 -0
- /package/build/{common/src/errors → errors}/notfound-error.js +0 -0
- /package/build/{common/src/errors → errors}/unauthenticated-error.d.ts +0 -0
- /package/build/{common/src/errors → errors}/unauthenticated-error.js +0 -0
- /package/build/{common/src/errors → errors}/unauthorized-error.d.ts +0 -0
- /package/build/{common/src/errors → errors}/unauthorized-error.js +0 -0
- /package/build/{common/src/errors → errors}/validation-error.d.ts +0 -0
- /package/build/{common/src/errors → errors}/validation-error.js +0 -0
- /package/build/{common/src/events → events}/base-listener.d.ts +0 -0
- /package/build/{common/src/events → events}/base-listener.js +0 -0
- /package/build/{common/src/events → events}/base-publisher.d.ts +0 -0
- /package/build/{common/src/events → events}/base-publisher.js +0 -0
- /package/build/{common/src/events → events}/subject.d.ts +0 -0
- /package/build/{common/src/events → events}/subject.js +0 -0
- /package/build/{common/src/index.d.ts → index.d.ts} +0 -0
- /package/build/{common/src/index.js → index.js} +0 -0
- /package/build/{common/src/middlewares → middlewares}/auth.middleware.d.ts +0 -0
- /package/build/{common/src/middlewares → middlewares}/auth.middleware.js +0 -0
- /package/build/{common/src/middlewares → middlewares}/database-connection.d.ts +0 -0
- /package/build/{common/src/middlewares → middlewares}/database-connection.js +0 -0
- /package/build/{common/src/middlewares → middlewares}/global-error-handling.middleware.d.ts +0 -0
- /package/build/{common/src/middlewares → middlewares}/global-error-handling.middleware.js +0 -0
- /package/build/{common/src/middlewares → middlewares}/global-upload.middleware.d.ts +0 -0
- /package/build/{common/src/middlewares → middlewares}/global-upload.middleware.js +0 -0
- /package/build/{common/src/middlewares → middlewares}/global-validator.middleware.d.ts +0 -0
- /package/build/{common/src/middlewares → middlewares}/global-validator.middleware.js +0 -0
- /package/build/{common/src/middlewares → middlewares}/isAuthorized.middleware.d.ts +0 -0
- /package/build/{common/src/middlewares → middlewares}/isAuthorized.middleware.js +0 -0
- /package/build/{common/src/models → models}/Bookmark.model.d.ts +0 -0
- /package/build/{common/src/models → models}/Bookmark.model.js +0 -0
- /package/build/{common/src/models → models}/Plan.model.d.ts +0 -0
- /package/build/{common/src/models → models}/Plan.model.js +0 -0
- /package/build/{common/src/models → models}/Projects.model.d.ts +0 -0
- /package/build/{common/src/models → models}/Projects.model.js +0 -0
- /package/build/{common/src/models → models}/Role.model.d.ts +0 -0
- /package/build/{common/src/models → models}/Role.model.js +0 -0
- /package/build/{common/src/models → models}/Term.model.d.ts +0 -0
- /package/build/{common/src/models → models}/Term.model.js +0 -0
- /package/build/{common/src/models → models}/Ticket.model.d.ts +0 -0
- /package/build/{common/src/models → models}/Ticket.model.js +0 -0
- /package/build/{common/src/models → models}/User.model.d.ts +0 -0
- /package/build/{common/src/models → models}/User.model.js +0 -0
- /package/build/{common/src/types → types}/Bookmarks.d.ts +0 -0
- /package/build/{common/src/types → types}/Bookmarks.js +0 -0
- /package/build/{common/src/types → types}/Category.d.ts +0 -0
- /package/build/{common/src/types → types}/Category.js +0 -0
- /package/build/{common/src/types → types}/Follow.d.ts +0 -0
- /package/build/{common/src/types → types}/Follow.js +0 -0
- /package/build/{common/src/types → types}/JwtPayload.d.ts +0 -0
- /package/build/{common/src/types → types}/JwtPayload.js +0 -0
- /package/build/{common/src/types → types}/Pagination.d.ts +0 -0
- /package/build/{common/src/types → types}/Pagination.js +0 -0
- /package/build/{common/src/types → types}/Permissions.d.ts +0 -0
- /package/build/{common/src/types → types}/Permissions.js +0 -0
- /package/build/{common/src/types → types}/Plan.d.ts +0 -0
- /package/build/{common/src/types → types}/Plan.js +0 -0
- /package/build/{common/src/types → types}/Projects.d.ts +0 -0
- /package/build/{common/src/types → types}/Projects.js +0 -0
- /package/build/{common/src/types → types}/Rate.d.ts +0 -0
- /package/build/{common/src/types → types}/Rate.js +0 -0
- /package/build/{common/src/types → types}/Report.d.ts +0 -0
- /package/build/{common/src/types → types}/Report.js +0 -0
- /package/build/{common/src/types → types}/Role.d.ts +0 -0
- /package/build/{common/src/types → types}/Role.js +0 -0
- /package/build/{common/src/types → types}/Terms.d.ts +0 -0
- /package/build/{common/src/types → types}/Terms.js +0 -0
- /package/build/{common/src/types → types}/Ticket.d.ts +0 -0
- /package/build/{common/src/types → types}/Ticket.js +0 -0
- /package/build/{common/src/types → types}/UrlQuery.d.ts +0 -0
- /package/build/{common/src/types → types}/UrlQuery.js +0 -0
- /package/build/{common/src/types → types}/User.d.ts +0 -0
- /package/build/{common/src/types → types}/User.js +0 -0
- /package/build/{common/src/types → types}/model-names.d.ts +0 -0
- /package/build/{common/src/types → types}/model-names.js +0 -0
- /package/build/{common/src/types → types}/success-response.d.ts +0 -0
- /package/build/{common/src/types → types}/success-response.js +0 -0
- /package/build/{common/src/types → types}/systemRoles.d.ts +0 -0
- /package/build/{common/src/types → types}/systemRoles.js +0 -0
- /package/build/{common/src/utils → utils}/api-feature.d.ts +0 -0
- /package/build/{common/src/utils → utils}/api-feature.js +0 -0
- /package/build/{common/src/utils → utils}/generateToken.d.ts +0 -0
- /package/build/{common/src/utils → utils}/generateToken.js +0 -0
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import mongoose from 'mongoose';
|
|
26
26
|
import { Icategory } from '../types/Category';
|
|
27
|
-
export declare const
|
|
27
|
+
export declare const Categories: mongoose.Model<Icategory, {}, {}, {}, mongoose.Document<unknown, {}, Icategory> & Icategory & {
|
|
28
28
|
_id: mongoose.Types.ObjectId;
|
|
29
29
|
}, any>;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.Categories = void 0;
|
|
7
7
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
8
|
const model_names_1 = require("../types/model-names");
|
|
9
9
|
const categorySchema = new mongoose_1.default.Schema({
|
|
@@ -36,4 +36,4 @@ const categorySchema = new mongoose_1.default.Schema({
|
|
|
36
36
|
timestamps: true,
|
|
37
37
|
collection: model_names_1.MODELS.category
|
|
38
38
|
});
|
|
39
|
-
exports.
|
|
39
|
+
exports.Categories = mongoose_1.default.model(model_names_1.MODELS.category, categorySchema);
|
package/package.json
CHANGED
|
File without changes
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// /* eslint-disable import/no-unresolved */
|
|
3
|
-
// import { } from '@duvdu-v1/duvdu';
|
|
4
|
-
// declare module 'express-session' {
|
|
5
|
-
// interface SessionData {
|
|
6
|
-
// access: string;
|
|
7
|
-
// refresh: string;
|
|
8
|
-
// }
|
|
9
|
-
// }
|
|
10
|
-
// declare global {
|
|
11
|
-
// namespace Express {
|
|
12
|
-
// interface Request {
|
|
13
|
-
// loggedUser: IjwtPayload;
|
|
14
|
-
// pagination: Ipagination;
|
|
15
|
-
// }
|
|
16
|
-
// }
|
|
17
|
-
// }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|