dl-commons 0.0.1-testing.57 → 0.0.2-testing.1
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.d.ts +2 -2
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/models/consts/env-vars.const.d.ts +1 -0
- package/dist/models/consts/env-vars.const.js +2 -1
- package/dist/models/consts/env-vars.const.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/index.ts +3 -1
- package/src/models/consts/env-vars.const.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { validationExceptionFactory } from './factories/exception.factory';
|
|
|
5
5
|
import { BaseExceptionsFilter } from './filters/base-exception.filter';
|
|
6
6
|
import { AccessTokenGuard } from './guards/access-token.guard';
|
|
7
7
|
import { AllowPermissions, PermissionGuard } from './guards/permission.guard';
|
|
8
|
-
import { APP__PORT, APP__DEBUG, APP__ACCESS_TOKEN, MONGO__CS, REDIS__CS, KAFKA__BROKERS } from './models/consts/env-vars.const';
|
|
8
|
+
import { APP__PORT, APP__DEBUG, APP__ACCESS_TOKEN, MONGO__CS, REDIS__CS, KAFKA__BROKERS, APP__MONGO__CS, DL_SESSIONS__MONGO__CS } from './models/consts/env-vars.const';
|
|
9
9
|
import { I18nDTO } from './models/dtos/commons/i18n.dto';
|
|
10
10
|
import { IMongoPage, RESTError, RESTPage, RESTPaging, RESTQueryParams, RESTRequestBody, RESTResponseBody, RESTResult, RESTSort, SortDirection } from './models/dtos/wrappers/rest-wrapper.class';
|
|
11
11
|
import { ContactType } from './models/enums/contact-type.enum';
|
|
@@ -49,4 +49,4 @@ import { IGroupSession } from './models/interfaces/group-session.interface';
|
|
|
49
49
|
import { GroupState } from './models/enums/group-state.enum';
|
|
50
50
|
import { GroupSessionSchema, GroupSessionDocument, GroupSession } from './models/schemas/embedded/group-session.schema';
|
|
51
51
|
import { TeacherSchema, TeacherDocument, Teacher } from './models/schemas/embedded/teacher.schema';
|
|
52
|
-
export { SessionsService, DictionariesService, RESTError, RESTPage, RESTPaging, RESTQueryParams, RESTRequestBody, RESTResponseBody, RESTResult, RESTSort, SortDirection, IMongoPage, AccessTokenGuard, PermissionGuard, AllowPermissions, APP__PORT, APP__DEBUG, APP__ACCESS_TOKEN, MONGO__CS, REDIS__CS, KAFKA__BROKERS, RecordState, ContactType, UserVerificationLevel, WeekDay, GroupState, I18nDTO, IIdentifable, IBase, IRecord, II18n, IDictionary, IPermission, IRole, IContact, IPerson, IResidence, ISessionUser, ISession, IUser, IParent, IGroupEmbedded, IStudentEmbedded, ITeacher, IGroupSession, Identifable, IdentifableSchema, IdentifableDocument, Base, BaseSchema, BaseDocument, Record, RecordSchema, RecordDocument, I18n, I18nSchema, I18nDocument, Residence, ResidenceSchema, ResidenceDocument, Contact, ContactSchema, ContactDocument, Person, PersonSchema, PersonDocument, DictionaryEmbedded, DictionaryEmbeddedSchema, DictionaryEmbeddedDocument, SessionUser, SessionUserSchema, SessionUserDocument, Session, SessionSchema, SessionDocument, GroupSessionSchema, GroupSessionDocument, GroupSession, TeacherSchema, TeacherDocument, Teacher, StudentEmbeddedSchema, StudentEmbeddedDocument, StudentEmbedded, BaseExceptionsFilter, validationExceptionFactory, HandledException, IsMapOfStrings, transformers, MongoIdPipe, MongoIdsPipe, DLCommonsModule, };
|
|
52
|
+
export { SessionsService, DictionariesService, RESTError, RESTPage, RESTPaging, RESTQueryParams, RESTRequestBody, RESTResponseBody, RESTResult, RESTSort, SortDirection, IMongoPage, AccessTokenGuard, PermissionGuard, AllowPermissions, APP__PORT, APP__DEBUG, APP__ACCESS_TOKEN, APP__MONGO__CS, DL_SESSIONS__MONGO__CS, MONGO__CS, REDIS__CS, KAFKA__BROKERS, RecordState, ContactType, UserVerificationLevel, WeekDay, GroupState, I18nDTO, IIdentifable, IBase, IRecord, II18n, IDictionary, IPermission, IRole, IContact, IPerson, IResidence, ISessionUser, ISession, IUser, IParent, IGroupEmbedded, IStudentEmbedded, ITeacher, IGroupSession, Identifable, IdentifableSchema, IdentifableDocument, Base, BaseSchema, BaseDocument, Record, RecordSchema, RecordDocument, I18n, I18nSchema, I18nDocument, Residence, ResidenceSchema, ResidenceDocument, Contact, ContactSchema, ContactDocument, Person, PersonSchema, PersonDocument, DictionaryEmbedded, DictionaryEmbeddedSchema, DictionaryEmbeddedDocument, SessionUser, SessionUserSchema, SessionUserDocument, Session, SessionSchema, SessionDocument, GroupSessionSchema, GroupSessionDocument, GroupSession, TeacherSchema, TeacherDocument, Teacher, StudentEmbeddedSchema, StudentEmbeddedDocument, StudentEmbedded, BaseExceptionsFilter, validationExceptionFactory, HandledException, IsMapOfStrings, transformers, MongoIdPipe, MongoIdsPipe, DLCommonsModule, };
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.DLCommonsModule = exports.MongoIdsPipe = exports.MongoIdPipe = exports.transformers = exports.IsMapOfStrings = exports.HandledException = exports.validationExceptionFactory = exports.BaseExceptionsFilter = exports.StudentEmbedded = exports.StudentEmbeddedSchema = void 0;
|
|
3
|
+
exports.GroupSession = exports.GroupSessionSchema = exports.SessionSchema = exports.Session = exports.SessionUserSchema = exports.SessionUser = exports.DictionaryEmbeddedSchema = exports.DictionaryEmbedded = exports.PersonSchema = exports.Person = exports.ContactSchema = exports.Contact = exports.ResidenceSchema = exports.Residence = exports.I18nSchema = exports.I18n = exports.RecordSchema = exports.Record = exports.BaseSchema = exports.Base = exports.IdentifableSchema = exports.Identifable = exports.I18nDTO = exports.GroupState = exports.WeekDay = exports.UserVerificationLevel = exports.ContactType = exports.RecordState = exports.KAFKA__BROKERS = exports.REDIS__CS = exports.MONGO__CS = exports.DL_SESSIONS__MONGO__CS = exports.APP__MONGO__CS = exports.APP__ACCESS_TOKEN = exports.APP__DEBUG = exports.APP__PORT = exports.AllowPermissions = exports.PermissionGuard = exports.AccessTokenGuard = exports.SortDirection = exports.RESTSort = exports.RESTResult = exports.RESTResponseBody = exports.RESTRequestBody = exports.RESTQueryParams = exports.RESTPaging = exports.RESTPage = exports.RESTError = exports.DictionariesService = exports.SessionsService = void 0;
|
|
4
|
+
exports.DLCommonsModule = exports.MongoIdsPipe = exports.MongoIdPipe = exports.transformers = exports.IsMapOfStrings = exports.HandledException = exports.validationExceptionFactory = exports.BaseExceptionsFilter = exports.StudentEmbedded = exports.StudentEmbeddedSchema = exports.Teacher = exports.TeacherSchema = void 0;
|
|
5
5
|
const is_map_of_strings_decorator_1 = require("./decorators/is-map-of-strings.decorator");
|
|
6
6
|
Object.defineProperty(exports, "IsMapOfStrings", { enumerable: true, get: function () { return is_map_of_strings_decorator_1.IsMapOfStrings; } });
|
|
7
7
|
const dl_commons_module_1 = require("./dl-commons.module");
|
|
@@ -24,6 +24,8 @@ Object.defineProperty(exports, "APP__ACCESS_TOKEN", { enumerable: true, get: fun
|
|
|
24
24
|
Object.defineProperty(exports, "MONGO__CS", { enumerable: true, get: function () { return env_vars_const_1.MONGO__CS; } });
|
|
25
25
|
Object.defineProperty(exports, "REDIS__CS", { enumerable: true, get: function () { return env_vars_const_1.REDIS__CS; } });
|
|
26
26
|
Object.defineProperty(exports, "KAFKA__BROKERS", { enumerable: true, get: function () { return env_vars_const_1.KAFKA__BROKERS; } });
|
|
27
|
+
Object.defineProperty(exports, "APP__MONGO__CS", { enumerable: true, get: function () { return env_vars_const_1.APP__MONGO__CS; } });
|
|
28
|
+
Object.defineProperty(exports, "DL_SESSIONS__MONGO__CS", { enumerable: true, get: function () { return env_vars_const_1.DL_SESSIONS__MONGO__CS; } });
|
|
27
29
|
const i18n_dto_1 = require("./models/dtos/commons/i18n.dto");
|
|
28
30
|
Object.defineProperty(exports, "I18nDTO", { enumerable: true, get: function () { return i18n_dto_1.I18nDTO; } });
|
|
29
31
|
const rest_wrapper_class_1 = require("./models/dtos/wrappers/rest-wrapper.class");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,0FAA0E;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,0FAA0E;AAwMtE,+FAxMK,4CAAc,OAwML;AAvMlB,2DAAsD;AAuNlD,gGAvNK,mCAAe,OAuNL;AAtNnB,oEAAiE;AAiM7D,iGAjMK,mCAAgB,OAiML;AAhMpB,qEAA2E;AA2LvE,2GA3LK,8CAA0B,OA2LL;AA1L9B,2EAAuE;AAqLnE,qGArLK,4CAAoB,OAqLL;AApLxB,oEAA+D;AAkF3D,iGAlFK,qCAAgB,OAkFL;AAjFpB,gEAA8E;AAmF1E,iGAnFK,mCAAgB,OAmFL;AADhB,gGAlFuB,kCAAe,OAkFvB;AAjFnB,mEAAwK;AAuFpK,0FAvFK,0BAAS,OAuFL;AACT,2FAxFgB,2BAAU,OAwFhB;AACV,kGAzF4B,kCAAiB,OAyF5B;AAGjB,0FA5F+C,0BAAS,OA4F/C;AACT,0FA7F0D,0BAAS,OA6F1D;AACT,+FA9FqE,+BAAc,OA8FrE;AAJd,+FA1FqF,+BAAc,OA0FrF;AACd,uGA3FqG,uCAAsB,OA2FrG;AA1F1B,6DAAyD;AA2GrD,wFA3GK,kBAAO,OA2GL;AA1GX,kFAWmD;AAqD/C,0FA9DA,8BAAS,OA8DA;AACT,yFA9DA,6BAAQ,OA8DA;AACR,2FA9DA,+BAAU,OA8DA;AACV,gGA9DA,oCAAe,OA8DA;AACf,gGA9DA,oCAAe,OA8DA;AACf,iGA9DA,qCAAgB,OA8DA;AAChB,2FA9DA,+BAAU,OA8DA;AACV,yFA9DA,6BAAQ,OA8DA;AACR,8FA9DA,kCAAa,OA8DA;AA5DjB,wEAA+D;AAsF3D,4FAtFK,+BAAW,OAsFL;AArFf,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lDX,sEAA6D;AAmDzD,2FAnDK,6BAAU,OAmDL;AAlDd,yFAAwH;AAgHpH,mGAhHK,yCAAkB,OAgHL;AAElB,6FAlH+C,mCAAY,OAkH/C;AAjHhB,6EAAmG;AAkH/F,8FAlHK,8BAAa,OAkHL;AAEb,wFApHqC,wBAAO,OAoHrC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const APP__PORT = "APP__PORT";
|
|
2
2
|
export declare const APP__DEBUG = "APP__DEBUG";
|
|
3
3
|
export declare const APP__ACCESS_TOKEN = "APP__ACCESS_TOKEN";
|
|
4
|
+
export declare const APP__MONGO__CS = "APP__MONGO__CS";
|
|
4
5
|
export declare const MONGO__CS = "MONGO__CS";
|
|
5
6
|
export declare const REDIS__CS = "REDIS__CS";
|
|
6
7
|
export declare const KAFKA__BROKERS = "KAFKA__BROKERS";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DL_SESSIONS__MONGO__CS = exports.KAFKA__BROKERS = exports.REDIS__CS = exports.MONGO__CS = exports.APP__ACCESS_TOKEN = exports.APP__DEBUG = exports.APP__PORT = void 0;
|
|
3
|
+
exports.DL_SESSIONS__MONGO__CS = exports.KAFKA__BROKERS = exports.REDIS__CS = exports.MONGO__CS = exports.APP__MONGO__CS = exports.APP__ACCESS_TOKEN = exports.APP__DEBUG = exports.APP__PORT = void 0;
|
|
4
4
|
exports.APP__PORT = 'APP__PORT';
|
|
5
5
|
exports.APP__DEBUG = 'APP__DEBUG';
|
|
6
6
|
exports.APP__ACCESS_TOKEN = 'APP__ACCESS_TOKEN';
|
|
7
|
+
exports.APP__MONGO__CS = 'APP__MONGO__CS';
|
|
7
8
|
exports.MONGO__CS = 'MONGO__CS';
|
|
8
9
|
exports.REDIS__CS = 'REDIS__CS';
|
|
9
10
|
exports.KAFKA__BROKERS = 'KAFKA__BROKERS';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env-vars.const.js","sourceRoot":"","sources":["../../../src/models/consts/env-vars.const.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,WAAW,CAAC;AACxB,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,iBAAiB,GAAG,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"env-vars.const.js","sourceRoot":"","sources":["../../../src/models/consts/env-vars.const.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,WAAW,CAAC;AACxB,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,iBAAiB,GAAG,mBAAmB,CAAC;AACxC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAElC,QAAA,SAAS,GAAG,WAAW,CAAC;AACxB,QAAA,SAAS,GAAG,WAAW,CAAC;AACxB,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAElC,QAAA,sBAAsB,GAAG,wBAAwB,CAAC"}
|