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 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.Teacher = exports.TeacherSchema = 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.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 = 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;AAsMtE,+FAtMK,4CAAc,OAsML;AArMlB,2DAAsD;AAqNlD,gGArNK,mCAAe,OAqNL;AApNnB,oEAAiE;AA+L7D,iGA/LK,mCAAgB,OA+LL;AA9LpB,qEAA2E;AAyLvE,2GAzLK,8CAA0B,OAyLL;AAxL9B,2EAAuE;AAmLnE,qGAnLK,4CAAoB,OAmLL;AAlLxB,oEAA+D;AAkF3D,iGAlFK,qCAAgB,OAkFL;AAjFpB,gEAA8E;AAmF1E,iGAnFK,mCAAgB,OAmFL;AADhB,gGAlFuB,kCAAe,OAkFvB;AAjFnB,mEAAgI;AAuF5H,0FAvFK,0BAAS,OAuFL;AACT,2FAxFgB,2BAAU,OAwFhB;AACV,kGAzF4B,kCAAiB,OAyF5B;AACjB,0FA1F+C,0BAAS,OA0F/C;AACT,0FA3F0D,0BAAS,OA2F1D;AACT,+FA5FqE,+BAAc,OA4FrE;AA3FlB,6DAAyD;AAyGrD,wFAzGK,kBAAO,OAyGL;AAxGX,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;AAoF3D,4FApFK,+BAAW,OAoFL;AAnFf,wEAA+D;AAkF3D,4FAlFK,+BAAW,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,uBAAO,OAoDL;AAlDX,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;AAExC,QAAA,SAAS,GAAG,WAAW,CAAC;AACxB,QAAA,SAAS,GAAG,WAAW,CAAC;AACxB,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAElC,QAAA,sBAAsB,GAAG,wBAAwB,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"}