eh-commons 0.0.1-testing.22 → 0.0.1-testing.24
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 +3 -2
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/index.ts +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { RecordDTO } from './models/dtos/record.dto';
|
|
|
9
9
|
import { StateParamDTO } from './models/dtos/state-params.dto';
|
|
10
10
|
import { RecordState } from './models/enums/record-state.enum';
|
|
11
11
|
import { IRecord } from './models/interfaces/record.interface';
|
|
12
|
-
import { RESTError, RESTPage, RESTPaging, RESTRequestBody, RESTResponseBody, RESTResult, RESTSort, SortDirection } from './models/wrappers/rest-wrapper.class';
|
|
12
|
+
import { IMongoPage, RESTError, RESTPage, RESTPaging, RESTQueryParams, RESTRequestBody, RESTResponseBody, RESTResult, RESTSort, SortDirection } from './models/wrappers/rest-wrapper.class';
|
|
13
13
|
import { ConfigUtil } from './utils/config-util.class';
|
|
14
14
|
import { ISession } from './models/interfaces/session/session.interface';
|
|
15
15
|
import { ISessionUserData } from './models/interfaces/session/session-data.interface';
|
|
@@ -83,4 +83,5 @@ import { IS3 } from './models/s3/interfaces/s3.interface';
|
|
|
83
83
|
import { Page } from './models/wrappers/page.wrapper';
|
|
84
84
|
import { SortPage } from './models/wrappers/sort-page.wrapper';
|
|
85
85
|
import { Sort } from './models/wrappers/sort.wrapper';
|
|
86
|
-
|
|
86
|
+
import { ClientType } from './models/enums/client-type.enum';
|
|
87
|
+
export { IsMapOfStringsConstraint, IsRouteConstraint, IsMapOfStrings, IsRoute, HandledException, validationExceptionFactory, BaseExceptionsFilter, RecordDTO, StateParamDTO, RecordState, SortDirection, Sort, Page, SortPage, RESTSort, RESTPaging, RESTRequestBody, RESTPage, RESTResult, RESTError, RESTResponseBody, ConfigUtil, ISession, ISessionUserData, SessionClient, RedisService, SessionService, CacheModule, PermissionGuard, generateUUID, Permission, PermissionsIncludeStrategy, PermissionGuardConfig, ClientPermissions, ValidateMongoIdPipe, escapeRegex, translitGeorgiaToLatin, getRandomNumberFromRange, sizeOfJson, HTTPMethod, LogModule, LogService, LoggerClient, Env, ConsoleLogger, IAddress, Address, AddressSchema, AddressDocument, ClientType, IClient, Client, ClientSchema, ClientDocument, IContact, Contact, ContactSchema, ContactDocument, IGeoLocation, GeoLocation, GeoLocationSchema, GeoLocationDocument, II18n, I18n, I18nSchema, I18nDocument, IPermission, PermissionClass, PermissionSchema, PermissionDocument, IPerson, Person, PersonSchema, PersonDocument, IRecord, Record, RecordSchema, RecordDocument, IRole, Role, RoleSchema, RoleDocument, IUserClient, UserClient, UserClientDocument, UserClientSchema, IUser, User, UserSchema, UserDocument, DictionaryDTO, AuthorDTO, IAuthor, Author, AuthorSchema, IS3File, S3File, S3FileSchema, S3FileDocument, IFileLog, FileLog, FileLogSchema, FileLogDocument, IFileMeta, FileMeta, FileMetaSchema, FileMetaDocument, IFileRecord, FileRecord, FileRecordSchema, FileRecordDocument, IFileState, FileState, FileStateSchema, FileStateDocument, ILogInitiator, LogInitiator, LogInitiatorDocument, LogInitiatorSchema, IS3, S3, S3Document, S3Schema, S3FileState, IDictionarySetting, DictionarySetting, DictionarySettingSchema, DictionarySettingDocument, IOrigin, Origin, OriginSchema, OriginDocument, IDictionary, Dictionary, DictionarySchema, DictionaryDocument, RESTQueryParams, IMongoPage, };
|
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.DictionarySchema = exports.Dictionary = exports.OriginSchema = exports.Origin = exports.DictionarySettingSchema = exports.DictionarySetting = exports.S3FileState = exports.S3Schema = exports.S3 = exports.LogInitiatorSchema = exports.LogInitiator = exports.FileStateSchema = exports.FileState = exports.FileRecordSchema = exports.FileRecord = exports.FileMetaSchema = exports.FileMeta = exports.FileLogSchema = exports.FileLog = exports.S3FileSchema = exports.S3File = exports.AuthorSchema = exports.Author = exports.AuthorDTO = exports.DictionaryDTO = exports.UserSchema = exports.User = exports.UserClientSchema = exports.UserClient = exports.RoleSchema = exports.Role = exports.RecordSchema = exports.Record = exports.PersonSchema = exports.Person = exports.PermissionSchema = exports.PermissionClass = exports.I18nSchema = exports.I18n = exports.GeoLocationSchema = void 0;
|
|
3
|
+
exports.ContactSchema = exports.Contact = exports.ClientSchema = exports.Client = exports.ClientType = exports.AddressSchema = exports.Address = exports.ConsoleLogger = exports.Env = exports.LoggerClient = exports.LogService = exports.LogModule = exports.HTTPMethod = exports.sizeOfJson = exports.getRandomNumberFromRange = exports.translitGeorgiaToLatin = exports.escapeRegex = exports.ValidateMongoIdPipe = exports.ClientPermissions = exports.PermissionGuardConfig = exports.PermissionsIncludeStrategy = exports.Permission = exports.generateUUID = exports.PermissionGuard = exports.CacheModule = exports.SessionService = exports.RedisService = exports.SessionClient = exports.ConfigUtil = exports.RESTResponseBody = exports.RESTError = exports.RESTResult = exports.RESTPage = exports.RESTRequestBody = exports.RESTPaging = exports.RESTSort = exports.SortPage = exports.Page = exports.Sort = exports.SortDirection = exports.RecordState = exports.StateParamDTO = exports.RecordDTO = exports.BaseExceptionsFilter = exports.validationExceptionFactory = exports.HandledException = exports.IsRoute = exports.IsMapOfStrings = exports.IsRouteConstraint = exports.IsMapOfStringsConstraint = void 0;
|
|
4
|
+
exports.RESTQueryParams = exports.DictionarySchema = exports.Dictionary = exports.OriginSchema = exports.Origin = exports.DictionarySettingSchema = exports.DictionarySetting = exports.S3FileState = exports.S3Schema = exports.S3 = exports.LogInitiatorSchema = exports.LogInitiator = exports.FileStateSchema = exports.FileState = exports.FileRecordSchema = exports.FileRecord = exports.FileMetaSchema = exports.FileMeta = exports.FileLogSchema = exports.FileLog = exports.S3FileSchema = exports.S3File = exports.AuthorSchema = exports.Author = exports.AuthorDTO = exports.DictionaryDTO = exports.UserSchema = exports.User = exports.UserClientSchema = exports.UserClient = exports.RoleSchema = exports.Role = exports.RecordSchema = exports.Record = exports.PersonSchema = exports.Person = exports.PermissionSchema = exports.PermissionClass = exports.I18nSchema = exports.I18n = exports.GeoLocationSchema = exports.GeoLocation = void 0;
|
|
5
5
|
const is_map_of_strings_constraint_1 = require("./constraints/is-map-of-strings.constraint");
|
|
6
6
|
Object.defineProperty(exports, "IsMapOfStringsConstraint", { enumerable: true, get: function () { return is_map_of_strings_constraint_1.IsMapOfStringsConstraint; } });
|
|
7
7
|
const is_route_constraint_1 = require("./constraints/is-route.constraint");
|
|
@@ -26,6 +26,7 @@ const rest_wrapper_class_1 = require("./models/wrappers/rest-wrapper.class");
|
|
|
26
26
|
Object.defineProperty(exports, "RESTError", { enumerable: true, get: function () { return rest_wrapper_class_1.RESTError; } });
|
|
27
27
|
Object.defineProperty(exports, "RESTPage", { enumerable: true, get: function () { return rest_wrapper_class_1.RESTPage; } });
|
|
28
28
|
Object.defineProperty(exports, "RESTPaging", { enumerable: true, get: function () { return rest_wrapper_class_1.RESTPaging; } });
|
|
29
|
+
Object.defineProperty(exports, "RESTQueryParams", { enumerable: true, get: function () { return rest_wrapper_class_1.RESTQueryParams; } });
|
|
29
30
|
Object.defineProperty(exports, "RESTRequestBody", { enumerable: true, get: function () { return rest_wrapper_class_1.RESTRequestBody; } });
|
|
30
31
|
Object.defineProperty(exports, "RESTResponseBody", { enumerable: true, get: function () { return rest_wrapper_class_1.RESTResponseBody; } });
|
|
31
32
|
Object.defineProperty(exports, "RESTResult", { enumerable: true, get: function () { return rest_wrapper_class_1.RESTResult; } });
|
|
@@ -153,4 +154,6 @@ const sort_page_wrapper_1 = require("./models/wrappers/sort-page.wrapper");
|
|
|
153
154
|
Object.defineProperty(exports, "SortPage", { enumerable: true, get: function () { return sort_page_wrapper_1.SortPage; } });
|
|
154
155
|
const sort_wrapper_1 = require("./models/wrappers/sort.wrapper");
|
|
155
156
|
Object.defineProperty(exports, "Sort", { enumerable: true, get: function () { return sort_wrapper_1.Sort; } });
|
|
157
|
+
const client_type_enum_1 = require("./models/enums/client-type.enum");
|
|
158
|
+
Object.defineProperty(exports, "ClientType", { enumerable: true, get: function () { return client_type_enum_1.ClientType; } });
|
|
156
159
|
//# 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,6FAAsF;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,6FAAsF;AAuIpF,yGAvIO,uDAAwB,OAuIP;AAtI1B,2EAAsE;AAuIpE,kGAvIO,uCAAiB,OAuIP;AAtInB,0FAA0E;AAuIxE,+FAvIO,4CAAc,OAuIP;AAtIhB,wEAA0D;AAuIxD,wFAvIO,4BAAO,OAuIP;AAtIT,oEAAiE;AAuI/D,iGAvIO,mCAAgB,OAuIP;AAtIlB,qEAA2E;AAuIzE,2GAvIO,8CAA0B,OAuIP;AAtI5B,2EAAuE;AAuIrE,qGAvIO,4CAAoB,OAuIP;AAtItB,yDAAqD;AAuInD,0FAvIO,sBAAS,OAuIP;AAtIX,qEAA+D;AAuI7D,8FAvIO,gCAAa,OAuIP;AAtIf,wEAA+D;AAuI7D,4FAvIO,+BAAW,OAuIP;AArIb,6EAW8C;AAoI5C,0FA7IA,8BAAS,OA6IA;AAFT,yFA1IA,6BAAQ,OA0IA;AAFR,2FAvIA,+BAAU,OAuIA;AAyHV,gGA/PA,oCAAe,OA+PA;AAxHf,gGAtIA,oCAAe,OAsIA;AAIf,iGAzIA,qCAAgB,OAyIA;AAFhB,2FAtIA,+BAAU,OAsIA;AAJV,yFAjIA,6BAAQ,OAiIA;AAJR,8FA5HA,kCAAa,OA4HA;AA1Hf,iEAAuD;AAqIrD,2FArIO,8BAAU,OAqIP;AAlIZ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