eh-commons 0.0.1-testing.45 → 0.0.1-testing.47

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.
Files changed (38) hide show
  1. package/dist/index.d.ts +4 -3
  2. package/dist/index.js +4 -4
  3. package/dist/index.js.map +1 -1
  4. package/dist/models/dictionary/embedded/dictionary.embedded.d.ts +18 -0
  5. package/dist/models/dictionary/embedded/dictionary.embedded.js +44 -0
  6. package/dist/models/dictionary/embedded/dictionary.embedded.js.map +1 -0
  7. package/dist/models/dictionary/interfaces/dictionary-embedded.interface.d.ts +10 -0
  8. package/dist/models/dictionary/interfaces/dictionary-embedded.interface.js +3 -0
  9. package/dist/models/dictionary/interfaces/dictionary-embedded.interface.js.map +1 -0
  10. package/dist/models/dictionary/interfaces/dictionary-event.interface.d.ts +5 -0
  11. package/dist/models/dictionary/interfaces/dictionary-event.interface.js +3 -0
  12. package/dist/models/dictionary/interfaces/dictionary-event.interface.js.map +1 -0
  13. package/dist/models/um/embedded/prof-info.embedded.d.ts +2 -2
  14. package/dist/models/um/embedded/prof-info.embedded.js +2 -2
  15. package/dist/models/um/embedded/prof-info.embedded.js.map +1 -1
  16. package/dist/models/um/embedded/user-client.embedded.d.ts +2 -2
  17. package/dist/models/um/embedded/user-client.embedded.js +2 -2
  18. package/dist/models/um/embedded/user-client.embedded.js.map +1 -1
  19. package/dist/models/um/interfaces/client.interface.d.ts +3 -3
  20. package/dist/models/um/interfaces/prof-info.interface.d.ts +2 -2
  21. package/dist/models/um/interfaces/user-client.interface.d.ts +2 -2
  22. package/dist/models/um/schemas/client.schema.d.ts +3 -3
  23. package/dist/models/um/schemas/client.schema.js +5 -5
  24. package/dist/models/um/schemas/client.schema.js.map +1 -1
  25. package/dist/tsconfig.tsbuildinfo +1 -1
  26. package/package.json +1 -1
  27. package/src/index.ts +9 -11
  28. package/src/models/dictionary/embedded/dictionary.embedded.ts +28 -0
  29. package/src/models/dictionary/interfaces/dictionary-embedded.interface.ts +11 -0
  30. package/src/models/dictionary/interfaces/dictionary-event.interface.ts +6 -0
  31. package/src/models/um/embedded/prof-info.embedded.ts +3 -3
  32. package/src/models/um/embedded/user-client.embedded.ts +3 -3
  33. package/src/models/um/interfaces/client.interface.ts +3 -3
  34. package/src/models/um/interfaces/prof-info.interface.ts +2 -2
  35. package/src/models/um/interfaces/user-client.interface.ts +2 -2
  36. package/src/models/um/schemas/client.schema.ts +5 -5
  37. package/src/models/um/embedded/client-dictionary.embedded.ts +0 -20
  38. package/src/models/um/interfaces/client.dictionary.interface.ts +0 -9
package/dist/index.d.ts CHANGED
@@ -81,8 +81,6 @@ import { Record, RecordSchema, RecordDocument } from './models/util/embedded/rec
81
81
  import { IAddress } from './models/util/interfaces/address.interface';
82
82
  import { IContact } from './models/util/interfaces/contact.interface';
83
83
  import { IRecord } from './models/util/interfaces/record.interface';
84
- import { ClientDictionary, ClientDictionaryDocument, ClientDictionarySchema } from './models/um/embedded/client-dictionary.embedded';
85
- import { IClientDictionary } from './models/um/interfaces/client.dictionary.interface';
86
84
  import { Credentials, CredentialsSchema, CredentialsDocument } from './models/um/embedded/credentials.embedded';
87
85
  import { ProfInfo, ProfInfoSchema, ProfInfoDocument } from './models/um/embedded/prof-info.embedded';
88
86
  import { ICredentials } from './models/um/interfaces/credentials.interface';
@@ -92,4 +90,7 @@ import { getSortObj } from './functions/sort-object.function';
92
90
  import { I18nDTO } from './models/dtos/i18n.dto';
93
91
  import { IBase } from './models/commons/interfaces/base.interface';
94
92
  import { Base } from './models/commons/schemas/base.schema';
95
- 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, ContactType, 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, 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, IDictionary, RESTQueryParams, IMongoPage, ResourceType, IClientDictionary, ClientDictionary, ClientDictionaryDocument, ClientDictionarySchema, ICredentials, Credentials, CredentialsSchema, CredentialsDocument, IProfInfo, ProfInfo, ProfInfoSchema, ProfInfoDocument, generateSessionKeyword, generateUserClientKeyword, generateUserClientPermissionKeyword, getSortObj, I18nDTO, Base, IBase };
93
+ import { DictionaryEmbedded, DictionaryEmbeddedDocument, DictionaryEmbeddedSchema } from './models/dictionary/embedded/dictionary.embedded';
94
+ import { IDictionaryEmbedded } from './models/dictionary/interfaces/dictionary-embedded.interface';
95
+ import { IDictionaryEvent } from './models/dictionary/interfaces/dictionary-event.interface';
96
+ 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, ContactType, 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, 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, IDictionary, RESTQueryParams, IMongoPage, ResourceType, ICredentials, Credentials, CredentialsSchema, CredentialsDocument, IProfInfo, ProfInfo, ProfInfoSchema, ProfInfoDocument, generateSessionKeyword, generateUserClientKeyword, generateUserClientPermissionKeyword, getSortObj, I18nDTO, Base, IBase, DictionaryEmbeddedSchema, DictionaryEmbeddedDocument, DictionaryEmbedded, IDictionaryEmbedded, IDictionaryEvent, };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Contact = exports.ContactType = 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.Base = exports.I18nDTO = exports.getSortObj = exports.generateUserClientPermissionKeyword = exports.generateUserClientKeyword = exports.generateSessionKeyword = exports.ProfInfoSchema = exports.ProfInfo = exports.CredentialsSchema = exports.Credentials = exports.ClientDictionarySchema = exports.ClientDictionary = exports.ResourceType = exports.RESTQueryParams = 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.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 = exports.ContactSchema = void 0;
4
+ exports.DictionaryEmbedded = exports.DictionaryEmbeddedSchema = exports.Base = exports.I18nDTO = exports.getSortObj = exports.generateUserClientPermissionKeyword = exports.generateUserClientKeyword = exports.generateSessionKeyword = exports.ProfInfoSchema = exports.ProfInfo = exports.CredentialsSchema = exports.Credentials = exports.ResourceType = exports.RESTQueryParams = 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.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 = exports.ContactSchema = 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");
@@ -149,9 +149,6 @@ Object.defineProperty(exports, "PersonSchema", { enumerable: true, get: function
149
149
  const record_embedded_1 = require("./models/util/embedded/record.embedded");
150
150
  Object.defineProperty(exports, "Record", { enumerable: true, get: function () { return record_embedded_1.Record; } });
151
151
  Object.defineProperty(exports, "RecordSchema", { enumerable: true, get: function () { return record_embedded_1.RecordSchema; } });
152
- const client_dictionary_embedded_1 = require("./models/um/embedded/client-dictionary.embedded");
153
- Object.defineProperty(exports, "ClientDictionary", { enumerable: true, get: function () { return client_dictionary_embedded_1.ClientDictionary; } });
154
- Object.defineProperty(exports, "ClientDictionarySchema", { enumerable: true, get: function () { return client_dictionary_embedded_1.ClientDictionarySchema; } });
155
152
  const credentials_embedded_1 = require("./models/um/embedded/credentials.embedded");
156
153
  Object.defineProperty(exports, "Credentials", { enumerable: true, get: function () { return credentials_embedded_1.Credentials; } });
157
154
  Object.defineProperty(exports, "CredentialsSchema", { enumerable: true, get: function () { return credentials_embedded_1.CredentialsSchema; } });
@@ -168,4 +165,7 @@ const i18n_dto_1 = require("./models/dtos/i18n.dto");
168
165
  Object.defineProperty(exports, "I18nDTO", { enumerable: true, get: function () { return i18n_dto_1.I18nDTO; } });
169
166
  const base_schema_1 = require("./models/commons/schemas/base.schema");
170
167
  Object.defineProperty(exports, "Base", { enumerable: true, get: function () { return base_schema_1.Base; } });
168
+ const dictionary_embedded_1 = require("./models/dictionary/embedded/dictionary.embedded");
169
+ Object.defineProperty(exports, "DictionaryEmbedded", { enumerable: true, get: function () { return dictionary_embedded_1.DictionaryEmbedded; } });
170
+ Object.defineProperty(exports, "DictionaryEmbeddedSchema", { enumerable: true, get: function () { return dictionary_embedded_1.DictionaryEmbeddedSchema; } });
171
171
  //# 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;AAoMpF,yGApMO,uDAAwB,OAoMP;AAnM1B,2EAAsE;AAoMpE,kGApMO,uCAAiB,OAoMP;AAnMnB,0FAA0E;AAoMxE,+FApMO,4CAAc,OAoMP;AAnMhB,wEAA0D;AAoMxD,wFApMO,4BAAO,OAoMP;AAnMT,oEAAiE;AAoM/D,iGApMO,mCAAgB,OAoMP;AAnMlB,qEAA2E;AAoMzE,2GApMO,8CAA0B,OAoMP;AAnM5B,2EAAuE;AAoMrE,qGApMO,4CAAoB,OAoMP;AAnMtB,yDAAqD;AAoMnD,0FApMO,sBAAS,OAoMP;AAnMX,qEAA+D;AAoM7D,8FApMO,gCAAa,OAoMP;AAnMf,6EAAoE;AAoMlE,4FApMO,+BA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AImD;AAwJjD,4FA3JA,kCAAW,OA2JA;AACX,kGA3JA,wCAAiB,OA2JA;AAxJnB,gFAIiD;AAuJ/C,yFA1JA,6BAAQ,OA0JA;AACR,+FA1JA,mCAAc,OA0JA;AArJhB,2EAI8C;AAmJ5C,uGAtJA,yCAAsB,OAsJA;AACtB,0GAtJA,4CAAyB,OAsJA;AACzB,oHAtJA,sDAAmC,OAsJA;AApJrC,2EAA8D;AAqJ5D,2FArJO,iCAAU,OAqJP;AApJZ,qDAAiD;AAqJ/C,wFArJO,kBAAO,OAqJP;AAnJT,sEAA4D;AAoJ1D,qFApJO,kBAAI,OAoJP;AAnJN,0FAA4I;AAuJ1I,mGAvJO,wCAAkB,OAuJP;AAFlB,yGArJuD,8CAAwB,OAqJvD"}
@@ -0,0 +1,18 @@
1
+ import { HydratedDocument } from 'mongoose';
2
+ import { ObjectId } from 'bson';
3
+ import { I18n } from '../../util/embedded/i18n.embedded';
4
+ import { IDictionaryEmbedded } from '../interfaces/dictionary-embedded.interface';
5
+ import { RecordState } from '../../util/enums/record-state.enum';
6
+ export declare class DictionaryEmbedded implements IDictionaryEmbedded {
7
+ title: I18n;
8
+ keyword: string;
9
+ record: RecordState;
10
+ originId: ObjectId;
11
+ dictionaryId: ObjectId;
12
+ }
13
+ export declare const DictionaryEmbeddedSchema: import("mongoose").Schema<DictionaryEmbedded, import("mongoose").Model<DictionaryEmbedded, any, any, any, import("mongoose").Document<unknown, any, DictionaryEmbedded> & DictionaryEmbedded & {
14
+ _id: import("mongoose").Types.ObjectId;
15
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, DictionaryEmbedded, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<DictionaryEmbedded>> & import("mongoose").FlatRecord<DictionaryEmbedded> & {
16
+ _id: import("mongoose").Types.ObjectId;
17
+ }>;
18
+ export type DictionaryEmbeddedDocument = HydratedDocument<DictionaryEmbedded>;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.DictionaryEmbeddedSchema = exports.DictionaryEmbedded = void 0;
13
+ const mongoose_1 = require("@nestjs/mongoose");
14
+ const bson_1 = require("bson");
15
+ const i18n_embedded_1 = require("../../util/embedded/i18n.embedded");
16
+ const record_state_enum_1 = require("../../util/enums/record-state.enum");
17
+ let DictionaryEmbedded = class DictionaryEmbedded {
18
+ };
19
+ exports.DictionaryEmbedded = DictionaryEmbedded;
20
+ __decorate([
21
+ (0, mongoose_1.Prop)({ type: i18n_embedded_1.I18nSchema, required: false }),
22
+ __metadata("design:type", i18n_embedded_1.I18n)
23
+ ], DictionaryEmbedded.prototype, "title", void 0);
24
+ __decorate([
25
+ (0, mongoose_1.Prop)({ type: String, required: false }),
26
+ __metadata("design:type", String)
27
+ ], DictionaryEmbedded.prototype, "keyword", void 0);
28
+ __decorate([
29
+ (0, mongoose_1.Prop)({ type: String, required: false, enum: record_state_enum_1.RecordState }),
30
+ __metadata("design:type", String)
31
+ ], DictionaryEmbedded.prototype, "record", void 0);
32
+ __decorate([
33
+ (0, mongoose_1.Prop)({ type: bson_1.ObjectId, required: false }),
34
+ __metadata("design:type", bson_1.ObjectId)
35
+ ], DictionaryEmbedded.prototype, "originId", void 0);
36
+ __decorate([
37
+ (0, mongoose_1.Prop)({ type: bson_1.ObjectId, required: false }),
38
+ __metadata("design:type", bson_1.ObjectId)
39
+ ], DictionaryEmbedded.prototype, "dictionaryId", void 0);
40
+ exports.DictionaryEmbedded = DictionaryEmbedded = __decorate([
41
+ (0, mongoose_1.Schema)({ _id: false })
42
+ ], DictionaryEmbedded);
43
+ exports.DictionaryEmbeddedSchema = mongoose_1.SchemaFactory.createForClass(DictionaryEmbedded);
44
+ //# sourceMappingURL=dictionary.embedded.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dictionary.embedded.js","sourceRoot":"","sources":["../../../../src/models/dictionary/embedded/dictionary.embedded.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAE/D,+BAAgC;AAChC,qEAAqE;AAErE,0EAAiE;AAG1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAe9B,CAAA;AAfY,gDAAkB;AAE7B;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,0BAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;8BACrC,oBAAI;iDAAC;AAGZ;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;mDACxB;AAGhB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,+BAAW,EAAE,CAAC;;kDACvC;AAGpB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,eAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;8BAChC,eAAQ;oDAAC;AAGnB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,eAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;8BAC5B,eAAQ;wDAAC;6BAdZ,kBAAkB;IAD9B,IAAA,iBAAM,EAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;GACV,kBAAkB,CAe9B;AAEY,QAAA,wBAAwB,GACnC,wBAAa,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { ObjectId } from 'bson';
2
+ import { II18n } from '../../util/interfaces/i18n.interface';
3
+ import { RecordState } from '../../util/enums/record-state.enum';
4
+ export interface IDictionaryEmbedded {
5
+ originId: ObjectId;
6
+ dictionaryId: ObjectId;
7
+ title: II18n;
8
+ keyword: string;
9
+ record: RecordState;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dictionary-embedded.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dictionary-embedded.interface.js","sourceRoot":"","sources":["../../../../src/models/dictionary/interfaces/dictionary-embedded.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { IDictionary } from "./dictionary.interface";
2
+ export interface IDictionaryEvent {
3
+ event: 'create' | 'update' | 'delete';
4
+ data: IDictionary;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dictionary-event.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dictionary-event.interface.js","sourceRoot":"","sources":["../../../../src/models/dictionary/interfaces/dictionary-event.interface.ts"],"names":[],"mappings":""}
@@ -1,8 +1,8 @@
1
1
  import { IProfInfo } from '../interfaces/prof-info.interface';
2
- import { ClientDictionary } from './client-dictionary.embedded';
2
+ import { DictionaryEmbedded } from '../../dictionary/embedded/dictionary.embedded';
3
3
  import { HydratedDocument } from 'mongoose';
4
4
  export declare class ProfInfo implements IProfInfo {
5
- subjects: ClientDictionary[];
5
+ subjects: DictionaryEmbedded[];
6
6
  }
7
7
  export declare const ProfInfoSchema: import("mongoose").Schema<ProfInfo, import("mongoose").Model<ProfInfo, any, any, any, import("mongoose").Document<unknown, any, ProfInfo> & ProfInfo & {
8
8
  _id: import("mongoose").Types.ObjectId;
@@ -11,12 +11,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ProfInfoSchema = exports.ProfInfo = void 0;
13
13
  const mongoose_1 = require("@nestjs/mongoose");
14
- const client_dictionary_embedded_1 = require("./client-dictionary.embedded");
14
+ const dictionary_embedded_1 = require("../../dictionary/embedded/dictionary.embedded");
15
15
  let ProfInfo = class ProfInfo {
16
16
  };
17
17
  exports.ProfInfo = ProfInfo;
18
18
  __decorate([
19
- (0, mongoose_1.Prop)({ type: [client_dictionary_embedded_1.ClientDictionarySchema], required: false }),
19
+ (0, mongoose_1.Prop)({ type: [dictionary_embedded_1.DictionaryEmbeddedSchema], required: false }),
20
20
  __metadata("design:type", Array)
21
21
  ], ProfInfo.prototype, "subjects", void 0);
22
22
  exports.ProfInfo = ProfInfo = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"prof-info.embedded.js","sourceRoot":"","sources":["../../../../src/models/um/embedded/prof-info.embedded.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAE/D,6EAAwF;AAIjF,IAAM,QAAQ,GAAd,MAAM,QAAQ;CAGpB,CAAA;AAHY,4BAAQ;AAEnB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,CAAC,mDAAsB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;0CAC7B;mBAFlB,QAAQ;IADpB,IAAA,iBAAM,EAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;GACV,QAAQ,CAGpB;AAEY,QAAA,cAAc,GAAG,wBAAa,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"prof-info.embedded.js","sourceRoot":"","sources":["../../../../src/models/um/embedded/prof-info.embedded.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAE/D,uFAA6G;AAItG,IAAM,QAAQ,GAAd,MAAM,QAAQ;CAGpB,CAAA;AAHY,4BAAQ;AAEnB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,CAAC,8CAAwB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;0CAC7B;mBAFpB,QAAQ;IADpB,IAAA,iBAAM,EAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;GACV,QAAQ,CAGpB;AAEY,QAAA,cAAc,GAAG,wBAAa,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { Schema as MongooseSchema, HydratedDocument } from 'mongoose';
2
2
  import { IUserClient } from '../interfaces/user-client.interface';
3
- import { ClientDictionary } from './client-dictionary.embedded';
3
+ import { DictionaryEmbedded } from '../../dictionary/embedded/dictionary.embedded';
4
4
  export declare class UserClient implements IUserClient {
5
5
  clientId: MongooseSchema.Types.ObjectId;
6
6
  roleIds: MongooseSchema.Types.ObjectId[];
7
- subjects: ClientDictionary[];
7
+ subjects: DictionaryEmbedded[];
8
8
  }
9
9
  export declare const UserClientSchema: MongooseSchema<UserClient, import("mongoose").Model<UserClient, any, any, any, import("mongoose").Document<unknown, any, UserClient> & UserClient & {
10
10
  _id: import("mongoose").Types.ObjectId;
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.UserClientSchema = exports.UserClient = void 0;
13
13
  const mongoose_1 = require("mongoose");
14
14
  const mongoose_2 = require("@nestjs/mongoose");
15
- const client_dictionary_embedded_1 = require("./client-dictionary.embedded");
15
+ const dictionary_embedded_1 = require("../../dictionary/embedded/dictionary.embedded");
16
16
  let UserClient = class UserClient {
17
17
  };
18
18
  exports.UserClient = UserClient;
@@ -25,7 +25,7 @@ __decorate([
25
25
  __metadata("design:type", Array)
26
26
  ], UserClient.prototype, "roleIds", void 0);
27
27
  __decorate([
28
- (0, mongoose_2.Prop)({ type: [client_dictionary_embedded_1.ClientDictionarySchema], required: false }),
28
+ (0, mongoose_2.Prop)({ type: [dictionary_embedded_1.DictionaryEmbeddedSchema], required: false }),
29
29
  __metadata("design:type", Array)
30
30
  ], UserClient.prototype, "subjects", void 0);
31
31
  exports.UserClient = UserClient = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"user-client.embedded.js","sourceRoot":"","sources":["../../../../src/models/um/embedded/user-client.embedded.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAgF;AAChF,+CAA+D;AAE/D,6EAAwF;AAGjF,IAAM,UAAU,GAAhB,MAAM,UAAU;CAStB,CAAA;AATY,gCAAU;AAErB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,iBAAc,CAAC,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;8BACrD,iBAAc,CAAC,KAAK,CAAC,QAAQ;4CAAC;AAGxC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,CAAC,iBAAc,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2CACxB;AAGzC;IADC,IAAA,eAAI,EAAC,EAAC,IAAI,EAAE,CAAC,mDAAsB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAC,CAAC;;4CAC3B;qBARlB,UAAU;IADtB,IAAA,iBAAM,EAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;GACV,UAAU,CAStB;AAEY,QAAA,gBAAgB,GAAG,wBAAa,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"user-client.embedded.js","sourceRoot":"","sources":["../../../../src/models/um/embedded/user-client.embedded.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAgF;AAChF,+CAA+D;AAE/D,uFAA6G;AAGtG,IAAM,UAAU,GAAhB,MAAM,UAAU;CAStB,CAAA;AATY,gCAAU;AAErB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,iBAAc,CAAC,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;8BACrD,iBAAc,CAAC,KAAK,CAAC,QAAQ;4CAAC;AAGxC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,CAAC,iBAAc,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2CACxB;AAGzC;IADC,IAAA,eAAI,EAAC,EAAC,IAAI,EAAE,CAAC,8CAAwB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAC,CAAC;;4CAC3B;qBARpB,UAAU;IADtB,IAAA,iBAAM,EAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;GACV,UAAU,CAStB;AAEY,QAAA,gBAAgB,GAAG,wBAAa,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC"}
@@ -4,7 +4,7 @@ import { II18n } from '../../util/interfaces/i18n.interface';
4
4
  import { IRecord } from '../../../models/util/interfaces/record.interface';
5
5
  import { IAddress } from '../../../models/util/interfaces/address.interface';
6
6
  import { IContact } from '../../../models/util/interfaces/contact.interface';
7
- import { IClientDictionary } from './client.dictionary.interface';
7
+ import { IDictionaryEmbedded } from '../../dictionary/interfaces/dictionary-embedded.interface';
8
8
  export interface IClient {
9
9
  _id: ObjectId;
10
10
  originId: ObjectId;
@@ -14,6 +14,6 @@ export interface IClient {
14
14
  address: IAddress;
15
15
  contacts: IContact[];
16
16
  record: IRecord;
17
- region: IClientDictionary;
18
- district: IClientDictionary;
17
+ region: IDictionaryEmbedded;
18
+ district: IDictionaryEmbedded;
19
19
  }
@@ -1,4 +1,4 @@
1
- import { IClientDictionary } from './client.dictionary.interface';
1
+ import { IDictionaryEmbedded } from '../../dictionary/interfaces/dictionary-embedded.interface';
2
2
  export interface IProfInfo {
3
- subjects: IClientDictionary[];
3
+ subjects: IDictionaryEmbedded[];
4
4
  }
@@ -1,7 +1,7 @@
1
1
  import { ObjectId } from 'mongoose';
2
- import { IClientDictionary } from './client.dictionary.interface';
2
+ import { IDictionaryEmbedded } from '../../dictionary/interfaces/dictionary-embedded.interface';
3
3
  export interface IUserClient {
4
4
  clientId: ObjectId;
5
5
  roleIds: ObjectId[];
6
- subjects: IClientDictionary[];
6
+ subjects: IDictionaryEmbedded[];
7
7
  }
@@ -5,7 +5,7 @@ import { I18n } from '../../../models/util/embedded/i18n.embedded';
5
5
  import { Contact } from '../../../models/util/embedded/contact.embedded';
6
6
  import { Address } from '../../../models/util/embedded/address.embedded';
7
7
  import { Record } from '../../../models/util/embedded/record.embedded';
8
- import { ClientDictionary } from '../embedded/client-dictionary.embedded';
8
+ import { DictionaryEmbedded } from '../../dictionary/embedded/dictionary.embedded';
9
9
  export declare class Client implements IClient {
10
10
  _id: MongooseSchema.Types.ObjectId;
11
11
  originId: ObjectId;
@@ -15,8 +15,8 @@ export declare class Client implements IClient {
15
15
  address: Address;
16
16
  contacts: Contact[];
17
17
  record: Record;
18
- region: ClientDictionary;
19
- district: ClientDictionary;
18
+ region: DictionaryEmbedded;
19
+ district: DictionaryEmbedded;
20
20
  }
21
21
  export declare const ClientSchema: MongooseSchema<Client, import("mongoose").Model<Client, any, any, any, import("mongoose").Document<unknown, any, Client> & Client & Required<{
22
22
  _id: MongooseSchema.Types.ObjectId;
@@ -17,7 +17,7 @@ const i18n_embedded_1 = require("../../../models/util/embedded/i18n.embedded");
17
17
  const contact_embedded_1 = require("../../../models/util/embedded/contact.embedded");
18
18
  const address_embedded_1 = require("../../../models/util/embedded/address.embedded");
19
19
  const record_embedded_1 = require("../../../models/util/embedded/record.embedded");
20
- const client_dictionary_embedded_1 = require("../embedded/client-dictionary.embedded");
20
+ const dictionary_embedded_1 = require("../../dictionary/embedded/dictionary.embedded");
21
21
  let Client = class Client {
22
22
  };
23
23
  exports.Client = Client;
@@ -63,12 +63,12 @@ __decorate([
63
63
  __metadata("design:type", record_embedded_1.Record)
64
64
  ], Client.prototype, "record", void 0);
65
65
  __decorate([
66
- (0, mongoose_2.Prop)({ type: client_dictionary_embedded_1.ClientDictionary, required: false }),
67
- __metadata("design:type", client_dictionary_embedded_1.ClientDictionary)
66
+ (0, mongoose_2.Prop)({ type: dictionary_embedded_1.DictionaryEmbedded, required: false }),
67
+ __metadata("design:type", dictionary_embedded_1.DictionaryEmbedded)
68
68
  ], Client.prototype, "region", void 0);
69
69
  __decorate([
70
- (0, mongoose_2.Prop)({ type: client_dictionary_embedded_1.ClientDictionary, required: false }),
71
- __metadata("design:type", client_dictionary_embedded_1.ClientDictionary)
70
+ (0, mongoose_2.Prop)({ type: dictionary_embedded_1.DictionaryEmbedded, required: false }),
71
+ __metadata("design:type", dictionary_embedded_1.DictionaryEmbedded)
72
72
  ], Client.prototype, "district", void 0);
73
73
  exports.Client = Client = __decorate([
74
74
  (0, mongoose_2.Schema)()
@@ -1 +1 @@
1
- {"version":3,"file":"client.schema.js","sourceRoot":"","sources":["../../../../src/models/um/schemas/client.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAgF;AAChF,gEAAuD;AAEvD,+CAA+D;AAC/D,+EAAmE;AACnE,qFAAyE;AACzE,qFAAyE;AACzE,mFAAuE;AACvE,uFAA0E;AAGnE,IAAM,MAAM,GAAZ,MAAM,MAAM;CAuClB,CAAA;AAvCY,wBAAM;AAEjB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,iBAAc,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;8BACrD,iBAAc,CAAC,KAAK,CAAC,QAAQ;mCAAC;AAGnC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,iBAAc,CAAC,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;wCAC5C;AAOnB;IALC,IAAA,eAAI,EAAC;QACJ,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,6BAAU;QAChB,QAAQ,EAAE,IAAI;KACf,CAAC;;oCACe;AAQjB;IANC,IAAA,eAAI,EAAC;QACJ,IAAI,EAAE,iBAAc,CAAC,KAAK,CAAC,QAAQ;QACnC,GA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