dl-commons 0.0.1-testing.3 → 0.0.1-testing.4
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 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/models/interfaces/person.interface.d.ts +2 -0
- package/dist/models/schemas/embedded/person.schema.d.ts +2 -0
- package/dist/models/schemas/embedded/person.schema.js +5 -0
- package/dist/models/schemas/embedded/person.schema.js.map +1 -1
- package/dist/services/dictionaries.service.d.ts +1 -0
- package/dist/services/dictionaries.service.js +27 -2
- package/dist/services/dictionaries.service.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/index.ts +2 -0
- package/src/models/interfaces/person.interface.ts +2 -0
- package/src/models/schemas/embedded/person.schema.ts +5 -0
- package/src/services/dictionaries.service.ts +44 -2
package/dist/index.d.ts
CHANGED
|
@@ -38,4 +38,5 @@ import { transformers } from './transformers/common.transformer';
|
|
|
38
38
|
import { IUser } from './models/interfaces/user.interface';
|
|
39
39
|
import { SessionUser, SessionUserDocument, SessionUserSchema } from './models/schemas/embedded/session-user.schema';
|
|
40
40
|
import { Session, SessionDocument, SessionSchema } from './models/schemas/session.schema';
|
|
41
|
-
|
|
41
|
+
import { DictionariesService } from './services/dictionaries.service';
|
|
42
|
+
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, I18nDTO, IIdentifable, IBase, IRecord, II18n, IDictionary, IPermission, IRole, IContact, IPerson, IResidence, ISessionUser, ISession, IUser, 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, 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 = void 0;
|
|
3
|
+
exports.MongoIdPipe = exports.transformers = exports.IsMapOfStrings = exports.HandledException = exports.validationExceptionFactory = exports.BaseExceptionsFilter = 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.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 = 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");
|
|
@@ -80,4 +80,6 @@ Object.defineProperty(exports, "SessionUserSchema", { enumerable: true, get: fun
|
|
|
80
80
|
const session_schema_1 = require("./models/schemas/session.schema");
|
|
81
81
|
Object.defineProperty(exports, "Session", { enumerable: true, get: function () { return session_schema_1.Session; } });
|
|
82
82
|
Object.defineProperty(exports, "SessionSchema", { enumerable: true, get: function () { return session_schema_1.SessionSchema; } });
|
|
83
|
+
const dictionaries_service_1 = require("./services/dictionaries.service");
|
|
84
|
+
Object.defineProperty(exports, "DictionariesService", { enumerable: true, get: function () { return dictionaries_service_1.DictionariesService; } });
|
|
83
85
|
//# 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;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,0FAA0E;AA4KtE,+FA5KK,4CAAc,OA4KL;AA3KlB,2DAAsD;AA2LlD,gGA3LK,mCAAe,OA2LL;AA1LnB,oEAAiE;AAqK7D,iGArKK,mCAAgB,OAqKL;AApKpB,qEAA2E;AA+JvE,2GA/JK,8CAA0B,OA+JL;AA9J9B,2EAAuE;AAyJnE,qGAzJK,4CAAoB,OAyJL;AAxJxB,oEAA+D;AAwE3D,iGAxEK,qCAAgB,OAwEL;AAvEpB,gEAA8E;AAyE1E,iGAzEK,mCAAgB,OAyEL;AADhB,gGAxEuB,kCAAe,OAwEvB;AAvEnB,mEAAgI;AA6E5H,0FA7EK,0BAAS,OA6EL;AACT,2FA9EgB,2BAAU,OA8EhB;AACV,kGA/E4B,kCAAiB,OA+E5B;AACjB,0FAhF+C,0BAAS,OAgF/C;AACT,0FAjF0D,0BAAS,OAiF1D;AACT,+FAlFqE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AAVnB,0EAAiE;AAkI7D,6FAlIK,iCAAY,OAkIL;AAhIhB,uFAAoH;AAkGhH,4FAlGK,iCAAW,OAkGL;AACX,kGAnGuC,uCAAiB,OAmGvC;AAlGrB,oEAA0F;AAoGtF,wFApGK,wBAAO,OAoGL;AACP,8FArG+B,8BAAa,OAqG/B;AApGjB,0EAAsE;AAOlE,oGAPK,0CAAmB,OAOL"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { IDictionary } from './dictionary.interface';
|
|
1
2
|
import { IResidence } from './residence.interface';
|
|
2
3
|
export interface IPerson {
|
|
3
4
|
pid?: string | null | undefined;
|
|
4
5
|
firstName: string;
|
|
5
6
|
lastName: string;
|
|
7
|
+
gender?: IDictionary | null | undefined;
|
|
6
8
|
birthDate?: Date | null | undefined;
|
|
7
9
|
residence?: IResidence | null | undefined;
|
|
8
10
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { IPerson } from '../../interfaces/person.interface';
|
|
2
2
|
import { HydratedDocument } from 'mongoose';
|
|
3
3
|
import { IResidence } from '../../interfaces/residence.interface';
|
|
4
|
+
import { IDictionary } from '../../interfaces/dictionary.interface';
|
|
4
5
|
export declare class Person implements IPerson {
|
|
5
6
|
pid: string;
|
|
6
7
|
firstName: string;
|
|
7
8
|
lastName: string;
|
|
8
9
|
birthDate: Date;
|
|
10
|
+
gender: IDictionary;
|
|
9
11
|
residence: IResidence;
|
|
10
12
|
}
|
|
11
13
|
export declare const PersonSchema: import("mongoose").Schema<Person, import("mongoose").Model<Person, any, any, any, import("mongoose").Document<unknown, any, Person> & Person & {
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.PersonSchema = exports.Person = void 0;
|
|
13
13
|
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
14
|
const residence_schema_1 = require("./residence.schema");
|
|
15
|
+
const dictionary_embedded_schema_1 = require("./dictionary-embedded.schema");
|
|
15
16
|
let Person = class Person {
|
|
16
17
|
};
|
|
17
18
|
exports.Person = Person;
|
|
@@ -31,6 +32,10 @@ __decorate([
|
|
|
31
32
|
(0, mongoose_1.Prop)({ type: Date, required: false, default: null }),
|
|
32
33
|
__metadata("design:type", Date)
|
|
33
34
|
], Person.prototype, "birthDate", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, mongoose_1.Prop)({ type: dictionary_embedded_schema_1.DictionaryEmbeddedSchema, required: false }),
|
|
37
|
+
__metadata("design:type", Object)
|
|
38
|
+
], Person.prototype, "gender", void 0);
|
|
34
39
|
__decorate([
|
|
35
40
|
(0, mongoose_1.Prop)({ type: residence_schema_1.ResidenceSchema, required: true, default: () => new residence_schema_1.Residence() }),
|
|
36
41
|
__metadata("design:type", Object)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"person.schema.js","sourceRoot":"","sources":["../../../../src/models/schemas/embedded/person.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAI/D,yDAAgE;
|
|
1
|
+
{"version":3,"file":"person.schema.js","sourceRoot":"","sources":["../../../../src/models/schemas/embedded/person.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAI/D,yDAAgE;AAChE,6EAAwE;AAIjE,IAAM,MAAM,GAAZ,MAAM,MAAM;CAkBlB,CAAA;AAlBY,wBAAM;AAEf;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;mCAC3C;AAGZ;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACrB;AAGlB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCACtB;AAGjB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8BAC1C,IAAI;yCAAC;AAGhB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,qDAAwB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;sCACtC;AAGpB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,kCAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,4BAAS,EAAE,EAAE,CAAC;;yCAC1D;iBAjBb,MAAM;IADlB,IAAA,iBAAM,EAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;GACV,MAAM,CAkBlB;AAEY,QAAA,YAAY,GAAG,wBAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -8,4 +8,5 @@ export declare class DictionariesService {
|
|
|
8
8
|
constructor(_httpService: HttpService, _configService: ConfigService);
|
|
9
9
|
fetchById(id: string): Promise<IDictionary>;
|
|
10
10
|
fetchByKeyword(keyword: string): Promise<IDictionary>;
|
|
11
|
+
validateIds(ids: string[]): Promise<IDictionary[]>;
|
|
11
12
|
}
|
|
@@ -15,6 +15,7 @@ const common_1 = require("@nestjs/common");
|
|
|
15
15
|
const config_1 = require("@nestjs/config");
|
|
16
16
|
const rest_wrapper_class_1 = require("../models/dtos/wrappers/rest-wrapper.class");
|
|
17
17
|
const rxjs_1 = require("rxjs");
|
|
18
|
+
const mongoose_1 = require("mongoose");
|
|
18
19
|
let DictionariesService = class DictionariesService {
|
|
19
20
|
constructor(_httpService, _configService) {
|
|
20
21
|
this._httpService = _httpService;
|
|
@@ -32,7 +33,8 @@ let DictionariesService = class DictionariesService {
|
|
|
32
33
|
if (!response.data || !response.data.result) {
|
|
33
34
|
throw new rest_wrapper_class_1.RESTError('dictionaries_api_error', 'empty response');
|
|
34
35
|
}
|
|
35
|
-
|
|
36
|
+
const result = Object.assign(Object.assign({}, response.data.result.data), { _id: new mongoose_1.Types.ObjectId(response.data.result.data._id) });
|
|
37
|
+
return result;
|
|
36
38
|
}
|
|
37
39
|
catch (e) {
|
|
38
40
|
throw rest_wrapper_class_1.RESTError.createFromCatch(e, { keyword: 'unknown', debug: e });
|
|
@@ -49,7 +51,30 @@ let DictionariesService = class DictionariesService {
|
|
|
49
51
|
if (!response.data || !response.data.result) {
|
|
50
52
|
throw new rest_wrapper_class_1.RESTError('dictionaries_api_error', 'empty response');
|
|
51
53
|
}
|
|
52
|
-
|
|
54
|
+
const result = Object.assign(Object.assign({}, response.data.result.data), { _id: new mongoose_1.Types.ObjectId(response.data.result.data._id) });
|
|
55
|
+
return result;
|
|
56
|
+
}
|
|
57
|
+
catch (e) {
|
|
58
|
+
throw rest_wrapper_class_1.RESTError.createFromCatch(e, { keyword: 'unknown', debug: e });
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
async validateIds(ids) {
|
|
62
|
+
try {
|
|
63
|
+
const endpoint = `${this._baseUrl}/v1/dictionaries/validate/by-ids`;
|
|
64
|
+
const requestBody = { data: { ids } };
|
|
65
|
+
const response$ = this._httpService.post(endpoint, requestBody);
|
|
66
|
+
const response = await (0, rxjs_1.firstValueFrom)(response$);
|
|
67
|
+
if (response.data.errors) {
|
|
68
|
+
throw new rest_wrapper_class_1.RESTError('dictionaries_api_error', response.data.errors);
|
|
69
|
+
}
|
|
70
|
+
if (!response.data || !response.data.result) {
|
|
71
|
+
throw new rest_wrapper_class_1.RESTError('dictionaries_api_error', 'empty response');
|
|
72
|
+
}
|
|
73
|
+
const result = [];
|
|
74
|
+
for (let item of response.data.result.data) {
|
|
75
|
+
result.push(Object.assign(Object.assign({}, item), { _id: new mongoose_1.Types.ObjectId(item._id) }));
|
|
76
|
+
}
|
|
77
|
+
return result;
|
|
53
78
|
}
|
|
54
79
|
catch (e) {
|
|
55
80
|
throw rest_wrapper_class_1.RESTError.createFromCatch(e, { keyword: 'unknown', debug: e });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionaries.service.js","sourceRoot":"","sources":["../../src/services/dictionaries.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA4C;AAC5C,2CAA4C;AAC5C,2CAA+C;AAC/C,mFAAyF;AACzF,+BAAsC;
|
|
1
|
+
{"version":3,"file":"dictionaries.service.js","sourceRoot":"","sources":["../../src/services/dictionaries.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA4C;AAC5C,2CAA4C;AAC5C,2CAA+C;AAC/C,mFAAyF;AACzF,+BAAsC;AAEtC,uCAAiC;AAG1B,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAM5B,YAA6B,YAAyB,EAAmB,cAA6B;QAAzE,iBAAY,GAAZ,YAAY,CAAa;QAAmB,mBAAc,GAAd,cAAc,CAAe;QAClG,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,iCAAiC,CAAC,CAAC;IACtF,CAAC;IAIM,KAAK,CAAC,SAAS,CAAC,EAAU;QAC7B,IAAI,CAAC;YACD,MAAM,QAAQ,GAAG,GAAG,IAAI,CAAC,QAAQ,0BAA0B,EAAE,EAAE,CAAC;YAChE,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,GAAG,CAAgC,QAAQ,CAAC,CAAC;YACjF,MAAM,QAAQ,GAAG,MAAM,IAAA,qBAAc,EAAC,SAAS,CAAC,CAAC;YAEjD,IAAI,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBACvB,MAAM,IAAI,8BAAS,CAAC,wBAAwB,EAAE,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACxE,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBAC1C,MAAM,IAAI,8BAAS,CAAC,wBAAwB,EAAE,gBAAgB,CAAC,CAAC;YACpE,CAAC;YAED,MAAM,MAAM,mCAC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