dl-commons 0.0.2-testing.4 → 0.0.2-testing.5
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 +4 -1
- package/dist/index.js +20 -2
- package/dist/index.js.map +1 -1
- package/dist/models/enums/s3.enum.d.ts +11 -0
- package/dist/models/enums/s3.enum.js +17 -0
- package/dist/models/enums/s3.enum.js.map +1 -0
- package/dist/models/interfaces/s3.interface.d.ts +38 -0
- package/dist/models/interfaces/s3.interface.js +3 -0
- package/dist/models/interfaces/s3.interface.js.map +1 -0
- package/dist/models/schemas/embedded/s3.schema.d.ts +109 -0
- package/dist/models/schemas/embedded/s3.schema.js +153 -0
- package/dist/models/schemas/embedded/s3.schema.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/index.ts +55 -0
- package/src/models/enums/s3.enum.ts +12 -0
- package/src/models/interfaces/s3.interface.ts +45 -0
- package/src/models/schemas/embedded/s3.schema.ts +107 -0
package/dist/index.d.ts
CHANGED
|
@@ -52,4 +52,7 @@ import { TeacherSchema, TeacherDocument, Teacher } from './models/schemas/embedd
|
|
|
52
52
|
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';
|
|
57
|
+
import { S3, S3Schema, S3Document, LogInitiatorDocument, LogInitiatorSchema, LogInitiator, FileLog, FileLogSchema, FileLogDocument, FileMetaDocument, FileMetaSchema, FileMeta, FileState, FileStateSchema, FileStateDocument, FileRecord, FileRecordSchema, FileRecordDocument, S3File, S3FileSchema, S3FileDocument } from './models/schemas/embedded/s3.schema';
|
|
58
|
+
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, 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, 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, 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 = exports.MongoIdsPipe = exports.MongoIdPipe = exports.transformers = exports.IsMapOfStrings = exports.HandledException = exports.validationExceptionFactory = exports.BaseExceptionsFilter = exports.Time = exports.TimeSchema = exports.StudentEmbedded = exports.StudentEmbeddedSchema = exports.Teacher = exports.TeacherSchema = exports.GroupSession = void 0;
|
|
3
|
+
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.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.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 = 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");
|
|
@@ -102,4 +102,22 @@ Object.defineProperty(exports, "SMTPService", { enumerable: true, get: function
|
|
|
102
102
|
const time_schema_1 = require("./models/schemas/embedded/time.schema");
|
|
103
103
|
Object.defineProperty(exports, "Time", { enumerable: true, get: function () { return time_schema_1.Time; } });
|
|
104
104
|
Object.defineProperty(exports, "TimeSchema", { enumerable: true, get: function () { return time_schema_1.TimeSchema; } });
|
|
105
|
+
const s3_enum_1 = require("./models/enums/s3.enum");
|
|
106
|
+
Object.defineProperty(exports, "FileLogInitType", { enumerable: true, get: function () { return s3_enum_1.FileLogInitType; } });
|
|
107
|
+
Object.defineProperty(exports, "S3FileState", { enumerable: true, get: function () { return s3_enum_1.S3FileState; } });
|
|
108
|
+
const s3_schema_1 = require("./models/schemas/embedded/s3.schema");
|
|
109
|
+
Object.defineProperty(exports, "S3", { enumerable: true, get: function () { return s3_schema_1.S3; } });
|
|
110
|
+
Object.defineProperty(exports, "S3Schema", { enumerable: true, get: function () { return s3_schema_1.S3Schema; } });
|
|
111
|
+
Object.defineProperty(exports, "LogInitiatorSchema", { enumerable: true, get: function () { return s3_schema_1.LogInitiatorSchema; } });
|
|
112
|
+
Object.defineProperty(exports, "LogInitiator", { enumerable: true, get: function () { return s3_schema_1.LogInitiator; } });
|
|
113
|
+
Object.defineProperty(exports, "FileLog", { enumerable: true, get: function () { return s3_schema_1.FileLog; } });
|
|
114
|
+
Object.defineProperty(exports, "FileLogSchema", { enumerable: true, get: function () { return s3_schema_1.FileLogSchema; } });
|
|
115
|
+
Object.defineProperty(exports, "FileMetaSchema", { enumerable: true, get: function () { return s3_schema_1.FileMetaSchema; } });
|
|
116
|
+
Object.defineProperty(exports, "FileMeta", { enumerable: true, get: function () { return s3_schema_1.FileMeta; } });
|
|
117
|
+
Object.defineProperty(exports, "FileState", { enumerable: true, get: function () { return s3_schema_1.FileState; } });
|
|
118
|
+
Object.defineProperty(exports, "FileStateSchema", { enumerable: true, get: function () { return s3_schema_1.FileStateSchema; } });
|
|
119
|
+
Object.defineProperty(exports, "FileRecord", { enumerable: true, get: function () { return s3_schema_1.FileRecord; } });
|
|
120
|
+
Object.defineProperty(exports, "FileRecordSchema", { enumerable: true, get: function () { return s3_schema_1.FileRecordSchema; } });
|
|
121
|
+
Object.defineProperty(exports, "S3File", { enumerable: true, get: function () { return s3_schema_1.S3File; } });
|
|
122
|
+
Object.defineProperty(exports, "S3FileSchema", { enumerable: true, get: function () { return s3_schema_1.S3FileSchema; } });
|
|
105
123
|
//# 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;AAiRtE,+FAjRK,4CAAc,OAiRL;AAhRlB,2DAAsD;AAgSlD,gGAhSK,mCAAe,OAgSL;AA/RnB,oEAAiE;AA0Q7D,iGA1QK,mCAAgB,OA0QL;AAzQpB,qEAA2E;AAoQvE,2GApQK,8CAA0B,OAoQL;AAnQ9B,2EAAuE;AA8PnE,qGA9PK,4CAAoB,OA8PL;AA7PxB,oEAA+D;AAwH3D,iGAxHK,qCAAgB,OAwHL;AAvHpB,gEAA8E;AAyH1E,iGAzHK,mCAAgB,OAyHL;AADhB,gGAxHuB,kCAAe,OAwHvB;AAvHnB,mEASwC;AAoHpC,0FA5HA,0BAAS,OA4HA;AACT,2F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R,0FA5JA,qBAAS,OA4JA;AACT,gGA5JA,2BAAe,OA4JA;AAEf,2FA5JA,sBAAU,OA4JA;AACV,iGA5JA,4BAAgB,OA4JA;AAEhB,uFA5JA,kBAAM,OA4JA;AACN,6FA5JA,wBAAY,OA4JA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum S3FileState {
|
|
2
|
+
INITIALIZED = "INITIALIZED",
|
|
3
|
+
CREATED = "CREATED",
|
|
4
|
+
COMMITTED = "COMMITTED",
|
|
5
|
+
SOFT_DELETED = "SOFT_DELETED",
|
|
6
|
+
DELETED = "DELETED"
|
|
7
|
+
}
|
|
8
|
+
export declare enum FileLogInitType {
|
|
9
|
+
SCHEDULER = "SCHEDULER",
|
|
10
|
+
APP = "APP"
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FileLogInitType = exports.S3FileState = void 0;
|
|
4
|
+
var S3FileState;
|
|
5
|
+
(function (S3FileState) {
|
|
6
|
+
S3FileState["INITIALIZED"] = "INITIALIZED";
|
|
7
|
+
S3FileState["CREATED"] = "CREATED";
|
|
8
|
+
S3FileState["COMMITTED"] = "COMMITTED";
|
|
9
|
+
S3FileState["SOFT_DELETED"] = "SOFT_DELETED";
|
|
10
|
+
S3FileState["DELETED"] = "DELETED";
|
|
11
|
+
})(S3FileState || (exports.S3FileState = S3FileState = {}));
|
|
12
|
+
var FileLogInitType;
|
|
13
|
+
(function (FileLogInitType) {
|
|
14
|
+
FileLogInitType["SCHEDULER"] = "SCHEDULER";
|
|
15
|
+
FileLogInitType["APP"] = "APP";
|
|
16
|
+
})(FileLogInitType || (exports.FileLogInitType = FileLogInitType = {}));
|
|
17
|
+
//# sourceMappingURL=s3.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"s3.enum.js","sourceRoot":"","sources":["../../../src/models/enums/s3.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAMX;AAND,WAAY,WAAW;IACnB,0CAA2B,CAAA;IAC3B,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;IACvB,4CAA6B,CAAA;IAC7B,kCAAmB,CAAA;AACvB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IACvB,0CAAuB,CAAA;IACvB,8BAAW,CAAA;AACf,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { mongo } from 'mongoose';
|
|
2
|
+
import { FileLogInitType, S3FileState } from '../enums/s3.enum';
|
|
3
|
+
export interface IS3 {
|
|
4
|
+
key: string;
|
|
5
|
+
bucket: string;
|
|
6
|
+
etag: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ILogInitiator {
|
|
9
|
+
type: FileLogInitType;
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IS3File {
|
|
13
|
+
id: mongo.ObjectId;
|
|
14
|
+
fileMeta: IFileMeta;
|
|
15
|
+
state: IFileState;
|
|
16
|
+
s3: IS3;
|
|
17
|
+
record: IFileRecord;
|
|
18
|
+
owner: string;
|
|
19
|
+
}
|
|
20
|
+
export interface IFileState {
|
|
21
|
+
value: S3FileState;
|
|
22
|
+
log: IFileLog[];
|
|
23
|
+
}
|
|
24
|
+
export interface IFileRecord {
|
|
25
|
+
createdAt: Date;
|
|
26
|
+
updatedAt: Date;
|
|
27
|
+
}
|
|
28
|
+
export interface IFileMeta {
|
|
29
|
+
name: string;
|
|
30
|
+
size: number;
|
|
31
|
+
mimeType: string;
|
|
32
|
+
extension: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IFileLog {
|
|
35
|
+
createdAt: Date;
|
|
36
|
+
value: S3FileState;
|
|
37
|
+
initiator: ILogInitiator;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"s3.interface.js","sourceRoot":"","sources":["../../../src/models/interfaces/s3.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { HydratedDocument, mongo } from 'mongoose';
|
|
2
|
+
import { IFileLog, IFileMeta, IFileRecord, IFileState, ILogInitiator, IS3, IS3File } from '../../interfaces/s3.interface';
|
|
3
|
+
import { FileLogInitType, S3FileState } from '../../enums/s3.enum';
|
|
4
|
+
export declare class S3 implements IS3 {
|
|
5
|
+
key: string;
|
|
6
|
+
bucket: string;
|
|
7
|
+
etag: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class LogInitiator implements ILogInitiator {
|
|
10
|
+
type: FileLogInitType;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class FileLog implements IFileLog {
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
value: S3FileState;
|
|
16
|
+
initiator: LogInitiator;
|
|
17
|
+
}
|
|
18
|
+
export declare class FileMeta implements IFileMeta {
|
|
19
|
+
name: string;
|
|
20
|
+
size: number;
|
|
21
|
+
mimeType: string;
|
|
22
|
+
extension: string;
|
|
23
|
+
}
|
|
24
|
+
export declare class FileState implements IFileState {
|
|
25
|
+
value: S3FileState;
|
|
26
|
+
log: FileLog[];
|
|
27
|
+
}
|
|
28
|
+
export declare class FileRecord implements IFileRecord {
|
|
29
|
+
createdAt: Date;
|
|
30
|
+
updatedAt: Date;
|
|
31
|
+
}
|
|
32
|
+
export declare class S3File implements IS3File {
|
|
33
|
+
id: mongo.ObjectId;
|
|
34
|
+
fileMeta: FileMeta;
|
|
35
|
+
state: FileState;
|
|
36
|
+
s3: S3;
|
|
37
|
+
record: FileRecord;
|
|
38
|
+
owner: string;
|
|
39
|
+
}
|
|
40
|
+
export declare const S3Schema: import("mongoose").Schema<S3, import("mongoose").Model<S3, any, any, any, import("mongoose").Document<unknown, any, S3> & S3 & {
|
|
41
|
+
_id: import("mongoose").Types.ObjectId;
|
|
42
|
+
} & {
|
|
43
|
+
__v: number;
|
|
44
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, S3, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<S3>> & import("mongoose").FlatRecord<S3> & {
|
|
45
|
+
_id: import("mongoose").Types.ObjectId;
|
|
46
|
+
} & {
|
|
47
|
+
__v: number;
|
|
48
|
+
}>;
|
|
49
|
+
export declare const LogInitiatorSchema: import("mongoose").Schema<LogInitiator, import("mongoose").Model<LogInitiator, any, any, any, import("mongoose").Document<unknown, any, LogInitiator> & LogInitiator & {
|
|
50
|
+
_id: import("mongoose").Types.ObjectId;
|
|
51
|
+
} & {
|
|
52
|
+
__v: number;
|
|
53
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LogInitiator, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LogInitiator>> & import("mongoose").FlatRecord<LogInitiator> & {
|
|
54
|
+
_id: import("mongoose").Types.ObjectId;
|
|
55
|
+
} & {
|
|
56
|
+
__v: number;
|
|
57
|
+
}>;
|
|
58
|
+
export declare const FileLogSchema: import("mongoose").Schema<FileLog, import("mongoose").Model<FileLog, any, any, any, import("mongoose").Document<unknown, any, FileLog> & FileLog & {
|
|
59
|
+
_id: import("mongoose").Types.ObjectId;
|
|
60
|
+
} & {
|
|
61
|
+
__v: number;
|
|
62
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileLog, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileLog>> & import("mongoose").FlatRecord<FileLog> & {
|
|
63
|
+
_id: import("mongoose").Types.ObjectId;
|
|
64
|
+
} & {
|
|
65
|
+
__v: number;
|
|
66
|
+
}>;
|
|
67
|
+
export declare const FileMetaSchema: import("mongoose").Schema<FileMeta, import("mongoose").Model<FileMeta, any, any, any, import("mongoose").Document<unknown, any, FileMeta> & FileMeta & {
|
|
68
|
+
_id: import("mongoose").Types.ObjectId;
|
|
69
|
+
} & {
|
|
70
|
+
__v: number;
|
|
71
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileMeta, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileMeta>> & import("mongoose").FlatRecord<FileMeta> & {
|
|
72
|
+
_id: import("mongoose").Types.ObjectId;
|
|
73
|
+
} & {
|
|
74
|
+
__v: number;
|
|
75
|
+
}>;
|
|
76
|
+
export declare const FileStateSchema: import("mongoose").Schema<FileState, import("mongoose").Model<FileState, any, any, any, import("mongoose").Document<unknown, any, FileState> & FileState & {
|
|
77
|
+
_id: import("mongoose").Types.ObjectId;
|
|
78
|
+
} & {
|
|
79
|
+
__v: number;
|
|
80
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileState, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileState>> & import("mongoose").FlatRecord<FileState> & {
|
|
81
|
+
_id: import("mongoose").Types.ObjectId;
|
|
82
|
+
} & {
|
|
83
|
+
__v: number;
|
|
84
|
+
}>;
|
|
85
|
+
export declare const FileRecordSchema: import("mongoose").Schema<FileRecord, import("mongoose").Model<FileRecord, any, any, any, import("mongoose").Document<unknown, any, FileRecord> & FileRecord & {
|
|
86
|
+
_id: import("mongoose").Types.ObjectId;
|
|
87
|
+
} & {
|
|
88
|
+
__v: number;
|
|
89
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileRecord, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileRecord>> & import("mongoose").FlatRecord<FileRecord> & {
|
|
90
|
+
_id: import("mongoose").Types.ObjectId;
|
|
91
|
+
} & {
|
|
92
|
+
__v: number;
|
|
93
|
+
}>;
|
|
94
|
+
export declare const S3FileSchema: import("mongoose").Schema<S3File, import("mongoose").Model<S3File, any, any, any, import("mongoose").Document<unknown, any, S3File> & S3File & {
|
|
95
|
+
_id: import("mongoose").Types.ObjectId;
|
|
96
|
+
} & {
|
|
97
|
+
__v: number;
|
|
98
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, S3File, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<S3File>> & import("mongoose").FlatRecord<S3File> & {
|
|
99
|
+
_id: import("mongoose").Types.ObjectId;
|
|
100
|
+
} & {
|
|
101
|
+
__v: number;
|
|
102
|
+
}>;
|
|
103
|
+
export type S3Document = HydratedDocument<S3>;
|
|
104
|
+
export type LogInitiatorDocument = HydratedDocument<LogInitiator>;
|
|
105
|
+
export type FileLogDocument = HydratedDocument<FileLog>;
|
|
106
|
+
export type FileMetaDocument = HydratedDocument<FileMeta>;
|
|
107
|
+
export type FileStateDocument = HydratedDocument<FileState>;
|
|
108
|
+
export type FileRecordDocument = HydratedDocument<FileRecord>;
|
|
109
|
+
export type S3FileDocument = HydratedDocument<S3File>;
|
|
@@ -0,0 +1,153 @@
|
|
|
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.S3FileSchema = exports.FileRecordSchema = exports.FileStateSchema = exports.FileMetaSchema = exports.FileLogSchema = exports.LogInitiatorSchema = exports.S3Schema = exports.S3File = exports.FileRecord = exports.FileState = exports.FileMeta = exports.FileLog = exports.LogInitiator = exports.S3 = void 0;
|
|
13
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
+
const mongoose_2 = require("mongoose");
|
|
15
|
+
const s3_enum_1 = require("../../enums/s3.enum");
|
|
16
|
+
let S3 = class S3 {
|
|
17
|
+
};
|
|
18
|
+
exports.S3 = S3;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, mongoose_1.Prop)({ type: String, required: false }),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], S3.prototype, "key", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, mongoose_1.Prop)({ type: String, required: false }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], S3.prototype, "bucket", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, mongoose_1.Prop)({ type: String, required: false }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], S3.prototype, "etag", void 0);
|
|
31
|
+
exports.S3 = S3 = __decorate([
|
|
32
|
+
(0, mongoose_1.Schema)({ _id: false })
|
|
33
|
+
], S3);
|
|
34
|
+
let LogInitiator = class LogInitiator {
|
|
35
|
+
};
|
|
36
|
+
exports.LogInitiator = LogInitiator;
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, mongoose_1.Prop)({ type: String, enum: s3_enum_1.FileLogInitType, required: false }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], LogInitiator.prototype, "type", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, mongoose_1.Prop)({ type: String, required: false }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], LogInitiator.prototype, "name", void 0);
|
|
45
|
+
exports.LogInitiator = LogInitiator = __decorate([
|
|
46
|
+
(0, mongoose_1.Schema)({ _id: false })
|
|
47
|
+
], LogInitiator);
|
|
48
|
+
let FileLog = class FileLog {
|
|
49
|
+
};
|
|
50
|
+
exports.FileLog = FileLog;
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, mongoose_1.Prop)({ type: Date, required: false }),
|
|
53
|
+
__metadata("design:type", Date)
|
|
54
|
+
], FileLog.prototype, "createdAt", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, mongoose_1.Prop)({ type: String, enum: s3_enum_1.S3FileState, required: false }),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], FileLog.prototype, "value", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, mongoose_1.Prop)({ type: LogInitiator, required: false }),
|
|
61
|
+
__metadata("design:type", LogInitiator)
|
|
62
|
+
], FileLog.prototype, "initiator", void 0);
|
|
63
|
+
exports.FileLog = FileLog = __decorate([
|
|
64
|
+
(0, mongoose_1.Schema)({ _id: false })
|
|
65
|
+
], FileLog);
|
|
66
|
+
let FileMeta = class FileMeta {
|
|
67
|
+
};
|
|
68
|
+
exports.FileMeta = FileMeta;
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, mongoose_1.Prop)({ type: String, required: false }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], FileMeta.prototype, "name", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, mongoose_1.Prop)({ type: Number, required: true }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], FileMeta.prototype, "size", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, mongoose_1.Prop)({ type: String, required: true }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], FileMeta.prototype, "mimeType", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, mongoose_1.Prop)({ type: String, required: true }),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], FileMeta.prototype, "extension", void 0);
|
|
85
|
+
exports.FileMeta = FileMeta = __decorate([
|
|
86
|
+
(0, mongoose_1.Schema)({ _id: false })
|
|
87
|
+
], FileMeta);
|
|
88
|
+
let FileState = class FileState {
|
|
89
|
+
};
|
|
90
|
+
exports.FileState = FileState;
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, mongoose_1.Prop)({ type: String, enum: s3_enum_1.S3FileState, required: false }),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], FileState.prototype, "value", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, mongoose_1.Prop)({ type: [FileLog], required: false }),
|
|
97
|
+
__metadata("design:type", Array)
|
|
98
|
+
], FileState.prototype, "log", void 0);
|
|
99
|
+
exports.FileState = FileState = __decorate([
|
|
100
|
+
(0, mongoose_1.Schema)({ _id: false })
|
|
101
|
+
], FileState);
|
|
102
|
+
let FileRecord = class FileRecord {
|
|
103
|
+
};
|
|
104
|
+
exports.FileRecord = FileRecord;
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, mongoose_1.Prop)({ type: Date, required: false }),
|
|
107
|
+
__metadata("design:type", Date)
|
|
108
|
+
], FileRecord.prototype, "createdAt", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, mongoose_1.Prop)({ type: Date, required: false }),
|
|
111
|
+
__metadata("design:type", Date)
|
|
112
|
+
], FileRecord.prototype, "updatedAt", void 0);
|
|
113
|
+
exports.FileRecord = FileRecord = __decorate([
|
|
114
|
+
(0, mongoose_1.Schema)({ _id: false })
|
|
115
|
+
], FileRecord);
|
|
116
|
+
let S3File = class S3File {
|
|
117
|
+
};
|
|
118
|
+
exports.S3File = S3File;
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, mongoose_1.Prop)({ type: mongoose_2.SchemaTypes.ObjectId, required: true }),
|
|
121
|
+
__metadata("design:type", mongoose_2.mongo.ObjectId)
|
|
122
|
+
], S3File.prototype, "id", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, mongoose_1.Prop)({ type: FileMeta, required: false }),
|
|
125
|
+
__metadata("design:type", FileMeta)
|
|
126
|
+
], S3File.prototype, "fileMeta", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
(0, mongoose_1.Prop)({ type: FileState, required: false }),
|
|
129
|
+
__metadata("design:type", FileState)
|
|
130
|
+
], S3File.prototype, "state", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
(0, mongoose_1.Prop)({ type: S3, required: false }),
|
|
133
|
+
__metadata("design:type", S3)
|
|
134
|
+
], S3File.prototype, "s3", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
(0, mongoose_1.Prop)({ type: FileRecord, required: false }),
|
|
137
|
+
__metadata("design:type", FileRecord)
|
|
138
|
+
], S3File.prototype, "record", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, mongoose_1.Prop)({ required: false, type: String }),
|
|
141
|
+
__metadata("design:type", String)
|
|
142
|
+
], S3File.prototype, "owner", void 0);
|
|
143
|
+
exports.S3File = S3File = __decorate([
|
|
144
|
+
(0, mongoose_1.Schema)({ _id: false })
|
|
145
|
+
], S3File);
|
|
146
|
+
exports.S3Schema = mongoose_1.SchemaFactory.createForClass(S3);
|
|
147
|
+
exports.LogInitiatorSchema = mongoose_1.SchemaFactory.createForClass(LogInitiator);
|
|
148
|
+
exports.FileLogSchema = mongoose_1.SchemaFactory.createForClass(FileLog);
|
|
149
|
+
exports.FileMetaSchema = mongoose_1.SchemaFactory.createForClass(FileMeta);
|
|
150
|
+
exports.FileStateSchema = mongoose_1.SchemaFactory.createForClass(FileState);
|
|
151
|
+
exports.FileRecordSchema = mongoose_1.SchemaFactory.createForClass(FileRecord);
|
|
152
|
+
exports.S3FileSchema = mongoose_1.SchemaFactory.createForClass(S3File);
|
|
153
|
+
//# sourceMappingURL=s3.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"s3.schema.js","sourceRoot":"","sources":["../../../../src/models/schemas/embedded/s3.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAC/D,uCAAgE;AAEhE,iDAAmE;AAG5D,IAAM,EAAE,GAAR,MAAM,EAAE;CASd,CAAA;AATY,gBAAE;AAEX;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK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