dl-commons 0.0.2-testing.16 → 0.0.2-testing.17

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
@@ -53,7 +53,7 @@ import { ISMTPAPIConfig } from './models/interfaces/smtp-api-config.interface';
53
53
  import { SMTPService } from './services/smtp.service';
54
54
  import { Time, TimeDocument, TimeSchema } from './models/schemas/embedded/time.schema';
55
55
  import { FileLogInitType, S3FileState } from './models/enums/s3.enum';
56
- import { IS3, ILogInitiator, IS3File, IFileState, IFileRecord, IFileMeta, IFileLog } from './models/interfaces/s3.interface';
56
+ import { IS3, ILogInitiator, IS3File, IFileState, IFileRecord, IFileMeta, IFileLog, IFileEmbedded } from './models/interfaces/s3.interface';
57
57
  import { S3, S3Schema, S3Document, LogInitiatorDocument, LogInitiatorSchema, LogInitiator, FileLog, FileLogSchema, FileLogDocument, FileMetaDocument, FileMetaSchema, FileMeta, FileState, FileStateSchema, FileStateDocument, FileRecord, FileRecordSchema, FileRecordDocument, S3File, S3FileSchema, S3FileDocument, FileEmbedded, FileEmbeddedDocument, FileEmbeddedSchema } from './models/schemas/embedded/s3.schema';
58
58
  import { IUserMeta } from './models/interfaces/user-meta.interface';
59
59
  import { ICropArea } from './models/interfaces/crop-area.interface';
@@ -63,4 +63,6 @@ import { IAttachement } from './models/interfaces/attachement.interface';
63
63
  import { Attachement, AttachementDocument, AttachementSchema } from './models/schemas/embedded/attachement.schema';
64
64
  import { Picture, PictureSchema, PictureDocument } from './models/schemas/embedded/picture.schema';
65
65
  import { IPicture } from './models/interfaces/picture.interface';
66
- export { SessionsService, DictionariesService, SMTPService, 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, S3FileState, FileLogInitType, AttachementType, I18nDTO, 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, IAttachement, IPicture, 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, Attachement, AttachementSchema, AttachementDocument, Picture, PictureSchema, PictureDocument, BaseExceptionsFilter, validationExceptionFactory, HandledException, IsMapOfStrings, transformers, MongoIdPipe, MongoIdsPipe, DLCommonsModule, };
66
+ import { IAuthor } from './models/interfaces/author.interface';
67
+ import { Author, AuthorDocument, AuthorSchema } from './models/schemas/embedded/author.schema';
68
+ export { SessionsService, DictionariesService, SMTPService, 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, S3FileState, FileLogInitType, AttachementType, I18nDTO, 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, IAttachement, IPicture, IAuthor, IFileEmbedded, 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, Attachement, AttachementSchema, AttachementDocument, Picture, PictureSchema, PictureDocument, Author, AuthorSchema, AuthorDocument, 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
3
  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.AttachementType = exports.FileLogInitType = exports.S3FileState = 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.SMTPService = exports.DictionariesService = exports.SessionsService = void 0;
4
- exports.DLCommonsModule = exports.MongoIdsPipe = exports.MongoIdPipe = exports.transformers = exports.IsMapOfStrings = exports.HandledException = exports.validationExceptionFactory = exports.BaseExceptionsFilter = exports.PictureSchema = exports.Picture = exports.AttachementSchema = exports.Attachement = 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 = void 0;
4
+ exports.DLCommonsModule = exports.MongoIdsPipe = exports.MongoIdPipe = exports.transformers = exports.IsMapOfStrings = exports.HandledException = exports.validationExceptionFactory = exports.BaseExceptionsFilter = exports.AuthorSchema = exports.Author = exports.PictureSchema = exports.Picture = exports.AttachementSchema = exports.Attachement = 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 = 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");
@@ -133,4 +133,7 @@ Object.defineProperty(exports, "AttachementSchema", { enumerable: true, get: fun
133
133
  const picture_schema_1 = require("./models/schemas/embedded/picture.schema");
134
134
  Object.defineProperty(exports, "Picture", { enumerable: true, get: function () { return picture_schema_1.Picture; } });
135
135
  Object.defineProperty(exports, "PictureSchema", { enumerable: true, get: function () { return picture_schema_1.PictureSchema; } });
136
+ const author_schema_1 = require("./models/schemas/embedded/author.schema");
137
+ Object.defineProperty(exports, "Author", { enumerable: true, get: function () { return author_schema_1.Author; } });
138
+ Object.defineProperty(exports, "AuthorSchema", { enumerable: true, get: function () { return author_schema_1.AuthorSchema; } });
136
139
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index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OAgLA;AACF,yFAhLA,oBAAQ,OAgLA;AAGR,mGAhLA,8BAAkB,OAgLA;AADlB,6FA9KA,wBAAY,OA8KA;AAGZ,wFAhLA,mBAAO,OAgLA;AACP,8FAhLA,yBAAa,OAgLA;AAGb,+FAhLA,0BAAc,OAgLA;AADd,yFA9KA,oBAAQ,OA8KA;AAGR,0FAhLA,qBAAS,OAgLA;AACT,gGAhLA,2BAAe,OAgLA;AAEf,2FAhLA,sBAAU,OAgLA;AACV,iGAhLA,4BAAgB,OAgLA;AAEhB,uFAhLA,kBAAM,OAgLA;AACN,6FAhLA,wBAAY,OAgLA;AAEZ,6FAhLA,wBAAY,OAgLA;AACZ,mGA/KA,8BAAkB,OA+KA;AA3KtB,iFAAwG;AA6KpG,yFA7KK,2BAAQ,OA6KL;AACR,+FA9KiC,iCAAc,OA8KjC;AA7KlB,gFAAuE;AA2DnE,gGA3DK,uCAAe,OA2DL;AAzDnB,qFAAmH;AA6K/G,4FA7KK,gCAAW,OA6KL;AACX,kGA9KuC,sCAAiB,OA8KvC;AA7KrB,6EAAmG;AA+K/F,wFA/KK,wBAAO,OA+KL;AACP,8FAhLc,8BAAa,OAgLd;AA7KjB,2EAA+F;AA+K3F,uFA/KK,sBAAM,OA+KL;AACN,6FAhL6B,4BAAY,OAgL7B"}
@@ -0,0 +1,5 @@
1
+ import { Types } from "mongoose";
2
+ export interface IAuthor {
3
+ userId?: Types.ObjectId | string | null | undefined;
4
+ fullName: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=author.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"author.interface.js","sourceRoot":"","sources":["../../../src/models/interfaces/author.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import { HydratedDocument, Schema as MongooseSchema, Types } from 'mongoose';
2
+ import { IAuthor } from '../../interfaces/author.interface';
3
+ export declare class Author implements IAuthor {
4
+ userId: Types.ObjectId | string | null | undefined;
5
+ fullName: string;
6
+ }
7
+ export declare const AuthorSchema: MongooseSchema<Author, import("mongoose").Model<Author, any, any, any, import("mongoose").Document<unknown, any, Author> & Author & {
8
+ _id: Types.ObjectId;
9
+ } & {
10
+ __v?: number;
11
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Author, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Author>> & import("mongoose").FlatRecord<Author> & {
12
+ _id: Types.ObjectId;
13
+ } & {
14
+ __v?: number;
15
+ }>;
16
+ export type AuthorDocument = HydratedDocument<Author>;
@@ -0,0 +1,30 @@
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.AuthorSchema = exports.Author = void 0;
13
+ const mongoose_1 = require("mongoose");
14
+ const mongoose_2 = require("@nestjs/mongoose");
15
+ let Author = class Author {
16
+ };
17
+ exports.Author = Author;
18
+ __decorate([
19
+ (0, mongoose_2.Prop)({ type: mongoose_1.Schema.Types.ObjectId, default: null }),
20
+ __metadata("design:type", Object)
21
+ ], Author.prototype, "userId", void 0);
22
+ __decorate([
23
+ (0, mongoose_2.Prop)({ type: String, required: true, default: null }),
24
+ __metadata("design:type", String)
25
+ ], Author.prototype, "fullName", void 0);
26
+ exports.Author = Author = __decorate([
27
+ (0, mongoose_2.Schema)({ _id: false })
28
+ ], Author);
29
+ exports.AuthorSchema = mongoose_2.SchemaFactory.createForClass(Author);
30
+ //# sourceMappingURL=author.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"author.schema.js","sourceRoot":"","sources":["../../../../src/models/schemas/embedded/author.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA6E;AAE7E,+CAA+D;AAGxD,IAAM,MAAM,GAAZ,MAAM,MAAM;CAMlB,CAAA;AANY,wBAAM;AAEf;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,iBAAc,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;sCACV;AAGnD;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;wCACrC;iBALR,MAAM;IADlB,IAAA,iBAAM,EAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;GACV,MAAM,CAMlB;AAEY,QAAA,YAAY,GAAG,wBAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC"}