dl-commons 0.0.2-testing.41 → 0.0.2-testing.43

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
@@ -86,4 +86,5 @@ import { Archive, ArchiveDocument, ArchiveSchema } from './models/schemas/embedd
86
86
  import { StudentsService } from './services/students.service';
87
87
  import { GroupsService } from './services/groups.service';
88
88
  import { Logger } from './utils/logger.class';
89
- export { Logger, PermissionsScannerService, SessionsService, DictionariesService, SMTPService, StorageService, IAMService, StudentsService, GroupsService, 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, UserType, WeekDay, GroupState, S3FileState, FileLogInitType, AttachmentType, VirtualAddressType, LocationType, I18nDTO, CropAreaDTO, IDParams, IIdentifable, IBase, IRecord, II18n, IDictionary, IPermission, IRole, IContact, IPerson, IResidence, ISessionUser, ISession, IUser, IParent, IGroupEmbedded, IStudentEmbedded, ITeacher, IGroupSession, ITime, ISMTPAPIConfig, IS3, ILogInitiator, IS3File, IFileState, IFileRecord, IFileMeta, IFileLog, IUserMeta, ICropArea, IAttachment, IPicture, IAuthor, IFileEmbedded, IPhysicalAddress, IDateTimeRange, IVirtualAddress, ILocation, IArchive, 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, TimeSchema, TimeDocument, Time, S3, S3Schema, S3Document, LogInitiator, LogInitiatorSchema, LogInitiatorDocument, FileLog, FileLogSchema, FileLogDocument, FileMeta, FileMetaSchema, FileMetaDocument, FileState, FileStateSchema, FileStateDocument, FileRecord, FileRecordSchema, FileRecordDocument, S3File, S3FileSchema, S3FileDocument, FileEmbedded, FileEmbeddedSchema, FileEmbeddedDocument, CropArea, CropAreaSchema, CropAreaDocument, Attachment, AttachmentSchema, AttachmentDocument, Picture, PictureSchema, PictureDocument, Author, AuthorSchema, AuthorDocument, PhysicalAddress, PhysicalAddressSchema, PhysicalAddressDocument, DateTimeRange, DateTimeRangeSchema, DateTimeRangeDocument, VirtualAddress, VirtualAddressSchema, VirtualAddressDocument, Location, LocationSchema, LocationDocument, Archive, ArchiveSchema, ArchiveDocument, BaseExceptionsFilter, validationExceptionFactory, HandledException, IsMapOfStrings, transformers, MongoIdPipe, MongoIdsPipe, DLCommonsModule, };
89
+ import { AppLoggerService } from './services/app-logger.service';
90
+ export { Logger, PermissionsScannerService, SessionsService, DictionariesService, SMTPService, StorageService, IAMService, StudentsService, GroupsService, AppLoggerService, 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, UserType, WeekDay, GroupState, S3FileState, FileLogInitType, AttachmentType, VirtualAddressType, LocationType, I18nDTO, CropAreaDTO, IDParams, IIdentifable, IBase, IRecord, II18n, IDictionary, IPermission, IRole, IContact, IPerson, IResidence, ISessionUser, ISession, IUser, IParent, IGroupEmbedded, IStudentEmbedded, ITeacher, IGroupSession, ITime, ISMTPAPIConfig, IS3, ILogInitiator, IS3File, IFileState, IFileRecord, IFileMeta, IFileLog, IUserMeta, ICropArea, IAttachment, IPicture, IAuthor, IFileEmbedded, IPhysicalAddress, IDateTimeRange, IVirtualAddress, ILocation, IArchive, 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, TimeSchema, TimeDocument, Time, S3, S3Schema, S3Document, LogInitiator, LogInitiatorSchema, LogInitiatorDocument, FileLog, FileLogSchema, FileLogDocument, FileMeta, FileMetaSchema, FileMetaDocument, FileState, FileStateSchema, FileStateDocument, FileRecord, FileRecordSchema, FileRecordDocument, S3File, S3FileSchema, S3FileDocument, FileEmbedded, FileEmbeddedSchema, FileEmbeddedDocument, CropArea, CropAreaSchema, CropAreaDocument, Attachment, AttachmentSchema, AttachmentDocument, Picture, PictureSchema, PictureDocument, Author, AuthorSchema, AuthorDocument, PhysicalAddress, PhysicalAddressSchema, PhysicalAddressDocument, DateTimeRange, DateTimeRangeSchema, DateTimeRangeDocument, VirtualAddress, VirtualAddressSchema, VirtualAddressDocument, Location, LocationSchema, LocationDocument, Archive, ArchiveSchema, ArchiveDocument, BaseExceptionsFilter, validationExceptionFactory, HandledException, IsMapOfStrings, transformers, MongoIdPipe, MongoIdsPipe, DLCommonsModule, };
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.I18n = exports.RecordSchema = exports.Record = exports.BaseSchema = exports.Base = exports.IdentifableSchema = exports.Identifable = exports.IDParams = exports.CropAreaDTO = exports.I18nDTO = exports.LocationType = exports.VirtualAddressType = exports.AttachmentType = exports.FileLogInitType = exports.S3FileState = exports.GroupState = exports.WeekDay = exports.UserType = 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.GroupsService = exports.StudentsService = exports.IAMService = exports.StorageService = exports.SMTPService = exports.DictionariesService = exports.SessionsService = exports.PermissionsScannerService = exports.Logger = void 0;
4
- exports.VirtualAddress = exports.DateTimeRangeSchema = exports.DateTimeRange = exports.PhysicalAddressSchema = exports.PhysicalAddress = exports.AuthorSchema = exports.Author = exports.PictureSchema = exports.Picture = exports.AttachmentSchema = exports.Attachment = exports.CropAreaSchema = exports.CropArea = exports.FileEmbeddedSchema = exports.FileEmbedded = exports.S3FileSchema = exports.S3File = exports.FileRecordSchema = exports.FileRecord = exports.FileStateSchema = exports.FileState = exports.FileMetaSchema = exports.FileMeta = exports.FileLogSchema = exports.FileLog = exports.LogInitiatorSchema = exports.LogInitiator = exports.S3Schema = exports.S3 = exports.Time = exports.TimeSchema = exports.StudentEmbedded = exports.StudentEmbeddedSchema = 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 = void 0;
5
- exports.DLCommonsModule = exports.MongoIdsPipe = exports.MongoIdPipe = exports.transformers = exports.IsMapOfStrings = exports.HandledException = exports.validationExceptionFactory = exports.BaseExceptionsFilter = exports.ArchiveSchema = exports.Archive = exports.LocationSchema = exports.Location = exports.VirtualAddressSchema = void 0;
3
+ exports.RecordSchema = exports.Record = exports.BaseSchema = exports.Base = exports.IdentifableSchema = exports.Identifable = exports.IDParams = exports.CropAreaDTO = exports.I18nDTO = exports.LocationType = exports.VirtualAddressType = exports.AttachmentType = exports.FileLogInitType = exports.S3FileState = exports.GroupState = exports.WeekDay = exports.UserType = 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.AppLoggerService = exports.GroupsService = exports.StudentsService = exports.IAMService = exports.StorageService = exports.SMTPService = exports.DictionariesService = exports.SessionsService = exports.PermissionsScannerService = exports.Logger = void 0;
4
+ exports.DateTimeRangeSchema = exports.DateTimeRange = exports.PhysicalAddressSchema = exports.PhysicalAddress = exports.AuthorSchema = exports.Author = exports.PictureSchema = exports.Picture = exports.AttachmentSchema = exports.Attachment = exports.CropAreaSchema = exports.CropArea = exports.FileEmbeddedSchema = exports.FileEmbedded = exports.S3FileSchema = exports.S3File = exports.FileRecordSchema = exports.FileRecord = exports.FileStateSchema = exports.FileState = exports.FileMetaSchema = exports.FileMeta = exports.FileLogSchema = exports.FileLog = exports.LogInitiatorSchema = exports.LogInitiator = exports.S3Schema = exports.S3 = exports.Time = exports.TimeSchema = exports.StudentEmbedded = exports.StudentEmbeddedSchema = 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 = void 0;
5
+ exports.DLCommonsModule = exports.MongoIdsPipe = exports.MongoIdPipe = exports.transformers = exports.IsMapOfStrings = exports.HandledException = exports.validationExceptionFactory = exports.BaseExceptionsFilter = exports.ArchiveSchema = exports.Archive = exports.LocationSchema = exports.Location = exports.VirtualAddressSchema = exports.VirtualAddress = void 0;
6
6
  const is_map_of_strings_decorator_1 = require("./decorators/is-map-of-strings.decorator");
7
7
  Object.defineProperty(exports, "IsMapOfStrings", { enumerable: true, get: function () { return is_map_of_strings_decorator_1.IsMapOfStrings; } });
8
8
  const dl_commons_module_1 = require("./dl-commons.module");
@@ -174,4 +174,6 @@ const groups_service_1 = require("./services/groups.service");
174
174
  Object.defineProperty(exports, "GroupsService", { enumerable: true, get: function () { return groups_service_1.GroupsService; } });
175
175
  const logger_class_1 = require("./utils/logger.class");
176
176
  Object.defineProperty(exports, "Logger", { enumerable: true, get: function () { return logger_class_1.Logger; } });
177
+ const app_logger_service_1 = require("./services/app-logger.service");
178
+ Object.defineProperty(exports, "AppLoggerService", { enumerable: true, get: function () { return app_logger_service_1.AppLoggerService; } });
177
179
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,0FAA0E;AA4WtE,+FA5WK,4CAAc,OA4WL;AA3WlB,2DAAsD;AA2XlD,gGA3XK,mCAAe,OA2XL;AA1XnB,oEAAiE;AAqW7D,iGArWK,mCAAgB,OAqWL;AApWpB,qEAA2E;AA+VvE,2GA/VK,8CAA0B,OA+VL;AA9V9B,2EAAuE;AAyVnE,qGAzVK,4CAAo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AAiE;AAmB7D,iGAnBK,qCAAgB,OAmBL"}
@@ -1,7 +1,6 @@
1
- import { ConfigService } from '@nestjs/config';
2
1
  export declare class AppLoggerService {
3
2
  private _logger;
4
- constructor(_configService: ConfigService);
3
+ constructor();
5
4
  info(message: string, data?: any): Promise<void>;
6
5
  error(message: string, data?: any): Promise<void>;
7
6
  warn(message: string, data?: any): Promise<void>;
@@ -11,16 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AppLoggerService = void 0;
13
13
  const common_1 = require("@nestjs/common");
14
- const config_1 = require("@nestjs/config");
15
14
  const logger_class_1 = require("../utils/logger.class");
16
15
  let AppLoggerService = class AppLoggerService {
17
- constructor(_configService) {
18
- const isGraylog = _configService.get('GRAYLOG__ENABLED') || false;
19
- const host = _configService.get('GRAYLOG__HOST') || 'graylog-input.emis.ge';
20
- const port = _configService.get('GRAYLOG__PORT');
21
- const facility = _configService.get('GRAYLOG__FACILITY');
22
- const hostname = _configService.get('GRAYLOG__HOSTNAME');
23
- this._logger = new logger_class_1.Logger(host, port, facility, hostname, isGraylog);
16
+ constructor() {
17
+ this._logger = new logger_class_1.Logger();
24
18
  }
25
19
  async info(message, data) {
26
20
  this._logger.info(message, data);
@@ -38,6 +32,6 @@ let AppLoggerService = class AppLoggerService {
38
32
  exports.AppLoggerService = AppLoggerService;
39
33
  exports.AppLoggerService = AppLoggerService = __decorate([
40
34
  (0, common_1.Injectable)(),
41
- __metadata("design:paramtypes", [config_1.ConfigService])
35
+ __metadata("design:paramtypes", [])
42
36
  ], AppLoggerService);
43
37
  //# sourceMappingURL=app-logger.service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-logger.service.js","sourceRoot":"","sources":["../../src/services/app-logger.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,2CAA+C;AAC/C,wDAA+C;AAGxC,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;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