@serene-dev/la-nest-library 0.0.26 → 0.0.28

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.
@@ -13,6 +13,7 @@ exports.FileEntity = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const base_entity_1 = require("./base.entity");
15
15
  const base_enum_1 = require("../enums/base.enum");
16
+ const file_enum_1 = require("../enums/file.enum");
16
17
  let FileEntity = class FileEntity extends base_entity_1.BaseEntity {
17
18
  };
18
19
  exports.FileEntity = FileEntity;
@@ -63,8 +64,8 @@ __decorate([
63
64
  __decorate([
64
65
  (0, typeorm_1.Column)({
65
66
  type: 'enum',
66
- enum: base_enum_1.EFileSizeUnit,
67
- default: base_enum_1.EFileSizeUnit.bytes,
67
+ enum: file_enum_1.EFileSizeUnit,
68
+ default: file_enum_1.EFileSizeUnit.bytes,
68
69
  }),
69
70
  __metadata("design:type", String)
70
71
  ], FileEntity.prototype, "fileSizeUnit", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"file.entity.js","sourceRoot":"","sources":["../../../../../libs/la-library/src/entities/file.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,+CAA2C;AAC3C,kDAA+D;AAGxD,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,wBAAU;CA2CzC,CAAA;AA3CY,gCAAU;AAErB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;0CACV;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yCACX;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;;wCAC3B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CACR;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACpB;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yCACX;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;4CACV;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;yCACzB;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;4CACtB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;4CACxB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;iDACnB;AAOtB;IALC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,yBAAa;QACnB,OAAO,EAAE,yBAAa,CAAC,KAAK;KAC7B,CAAC;;gDACmB;qBAvCV,UAAU;IADtB,IAAA,gBAAM,EAAC,sBAAU,CAAC,IAAI,CAAC;GACX,UAAU,CA2CtB"}
1
+ {"version":3,"file":"file.entity.js","sourceRoot":"","sources":["../../../../../libs/la-library/src/entities/file.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,+CAA2C;AAC3C,kDAAgD;AAChD,kDAAmD;AAG5C,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,wBAAU;CA2CzC,CAAA;AA3CY,gCAAU;AAErB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;0CACV;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yCACX;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;;wCAC3B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CACR;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACpB;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yCACX;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;4CACV;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;yCACzB;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;4CACtB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;4CACxB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;iDACnB;AAOtB;IALC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,yBAAa;QACnB,OAAO,EAAE,yBAAa,CAAC,KAAK;KAC7B,CAAC;;gDACmB;qBAvCV,UAAU;IADtB,IAAA,gBAAM,EAAC,sBAAU,CAAC,IAAI,CAAC;GACX,UAAU,CA2CtB"}
@@ -1,6 +1,3 @@
1
- export declare enum EFileSizeUnit {
2
- bytes = "BYTE"
3
- }
4
1
  export declare enum ETableName {
5
2
  likes = "likes",
6
3
  file = "file",
@@ -1,10 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ERefCat = exports.ETableName = exports.EFileSizeUnit = void 0;
4
- var EFileSizeUnit;
5
- (function (EFileSizeUnit) {
6
- EFileSizeUnit["bytes"] = "BYTE";
7
- })(EFileSizeUnit || (exports.EFileSizeUnit = EFileSizeUnit = {}));
3
+ exports.ERefCat = exports.ETableName = void 0;
8
4
  var ETableName;
9
5
  (function (ETableName) {
10
6
  ETableName["likes"] = "likes";
@@ -1 +1 @@
1
- {"version":3,"file":"base.enum.js","sourceRoot":"","sources":["../../../../../libs/la-library/src/enums/base.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAEX;AAFD,WAAY,aAAa;IACvB,+BAAc,CAAA;AAChB,CAAC,EAFW,aAAa,6BAAb,aAAa,QAExB;AAED,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,+CAAiC,CAAA;IACjC,8DAAgD,CAAA;IAChD,kCAAoB,CAAA;IACpB,2BAAa,CAAA;AACf,CAAC,EARW,UAAU,0BAAV,UAAU,QAQrB;AAED,IAAY,OAEX;AAFD,WAAY,OAAO;IACjB,wBAAa,CAAA;AACf,CAAC,EAFW,OAAO,uBAAP,OAAO,QAElB"}
1
+ {"version":3,"file":"base.enum.js","sourceRoot":"","sources":["../../../../../libs/la-library/src/enums/base.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,+CAAiC,CAAA;IACjC,8DAAgD,CAAA;IAChD,kCAAoB,CAAA;IACpB,2BAAa,CAAA;AACf,CAAC,EARW,UAAU,0BAAV,UAAU,QAQrB;AAED,IAAY,OAEX;AAFD,WAAY,OAAO;IACjB,wBAAa,CAAA;AACf,CAAC,EAFW,OAAO,uBAAP,OAAO,QAElB"}
@@ -0,0 +1,3 @@
1
+ export declare enum EFileSizeUnit {
2
+ bytes = "BYTE"
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EFileSizeUnit = void 0;
4
+ var EFileSizeUnit;
5
+ (function (EFileSizeUnit) {
6
+ EFileSizeUnit["bytes"] = "BYTE";
7
+ })(EFileSizeUnit || (exports.EFileSizeUnit = EFileSizeUnit = {}));
8
+ //# sourceMappingURL=file.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file.enum.js","sourceRoot":"","sources":["../../../../../libs/la-library/src/enums/file.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAEX;AAFD,WAAY,aAAa;IACvB,+BAAc,CAAA;AAChB,CAAC,EAFW,aAAa,6BAAb,aAAa,QAExB"}
@@ -1,35 +1,37 @@
1
1
  export * from './la-library.module';
2
+ export { SDKConfig } from './configs/index.config';
2
3
  export { SDKEnvironmentService, ISDKEnvironment, } from './services/environment.service';
3
- export { SDKBaseService } from './services/base.service';
4
- export { FileService as SDKFileService } from './services/file.service';
5
- export { LikesService as SDKLikesService } from './services/likes.service';
6
- export { logger, stream } from './services/logger.service';
7
- export { SearchService as SDKSearchService } from './services/search.service';
4
+ export { ERefCat as SDKERefCat, ETableName as SDKETableName, } from './enums/base.enum';
8
5
  export { TokenService as SDKTokenService } from './services/token.service';
9
6
  export { UtilityClass as SDKUtilityClass } from './services/utility.service';
7
+ export { AuthenticationModule as SDKAuthenticationModule } from './modules/authentication/authentication.module';
8
+ export { AuthenticationGuard as SDKAuthenticationGuard, PublicAuth as SDKPublicAuth, } from './modules/authentication/authentication.guard';
9
+ export { AuthenticationService as SDKAuthenticationService, AuthenticationSessionService as SDKAuthenticationSessionService, } from './modules/authentication/authentication.service';
10
+ export { AuthenticationController as SDKAuthenticationController } from './modules/authentication/authentication.controller';
11
+ export { AuthEntity as SDKAuthEntity, AuthSessionEntity as SDKAuthSessionEntity, } from './modules/authentication/authentication.entity';
12
+ export { LoginDTO as SDKLoginDTO, LogoutDTO as SDKLogoutDTO, RegisterDTO as SDKRegisterDTO, SystemLogoutDTO as SDKSystemLogoutDTO, } from './modules/authentication/authentication.dto';
13
+ export { SDKBaseService } from './services/base.service';
10
14
  export { BaseEntity } from './entities/base.entity';
11
- export { LikesEntity } from './entities/likes.entity';
12
- export { FileBinEntity } from './entities/file-bin.entity';
13
- export { FileEntity } from './entities/file.entity';
14
15
  export { BaseDto as SDKBaseDto } from './dtos/base.dto';
15
- export { FileActionDto as SDKFileActionDto, FileSearchDto as SDKFileSearchDto, FileUpdateDto as SDKFileUpdateDto, FileUploadDto as SDKFileUploadDto, } from './dtos/file.dto';
16
- export { SearchQueryDto } from './dtos/search.dto';
17
- export { EFileSizeUnit as SDKEFileSizeUnit, ERefCat as SDKERefCat, ETableName as SDKETableName, } from './enums/base.enum';
18
- export { ESearchCondition, ESortOrder } from './enums/search.enum';
16
+ export { Sample as SDKSample } from './samples/base.sample';
19
17
  export * from './interfaces/base.interface';
18
+ export * from './modules/base.module';
20
19
  export { IFileID } from './interfaces/file.interface';
21
- export * from './interfaces/search.interface';
22
- export { Sample as SDKSample } from './samples/base.sample';
23
- export { SDKConfig } from './configs/index.config';
20
+ export { EFileSizeUnit as SDKEFileSizeUnit } from './enums/file.enum';
24
21
  export { FileController as SDKFileController } from './controllers/file.controller';
22
+ export { LikesEntity } from './entities/likes.entity';
23
+ export { FileBinEntity } from './entities/file-bin.entity';
24
+ export { FileEntity } from './entities/file.entity';
25
+ export { FileService as SDKFileService } from './services/file.service';
26
+ export { LikesService as SDKLikesService } from './services/likes.service';
27
+ export { logger, stream } from './services/logger.service';
25
28
  export { LogsModule as SDKLogsModule } from './modules/logs/logs.module';
26
29
  export { LogsService as SDKLogsService } from './modules/logs/logs.service';
27
30
  export { LogSerarchDTO as SDKLogSerarchDTO, LogCreateMultipleDTO as SDKLogCreateMultipleDTO, LogCreateSingleDTO as SDKLogCreateSingleDTO, } from './modules/logs/logs.dto';
28
31
  export { LogsController as SDKLogsController } from './modules/logs/logs.controller';
29
32
  export { LogEntity as SDKLogEntity } from './modules/logs/logs.entity';
30
- export { AuthenticationModule as SDKAuthenticationModule } from './modules/authentication/authentication.module';
31
- export { AuthenticationGuard as SDKAuthenticationGuard, PublicAuth as SDKPublicAuth, } from './modules/authentication/authentication.guard';
32
- export { AuthenticationService as SDKAuthenticationService, AuthenticationSessionService as SDKAuthenticationSessionService, } from './modules/authentication/authentication.service';
33
- export { AuthenticationController as SDKAuthenticationController } from './modules/authentication/authentication.controller';
34
- export { AuthEntity as SDKAuthEntity, AuthSessionEntity as SDKAuthSessionEntity, } from './modules/authentication/authentication.entity';
35
- export { LoginDTO as SDKLoginDTO, LogoutDTO as SDKLogoutDTO, RegisterDTO as SDKRegisterDTO, SystemLogoutDTO as SDKSystemLogoutDTO, } from './modules/authentication/authentication.dto';
33
+ export { FileActionDto as SDKFileActionDto, FileSearchDto as SDKFileSearchDto, FileUpdateDto as SDKFileUpdateDto, FileUploadDto as SDKFileUploadDto, } from './dtos/file.dto';
34
+ export { SearchQueryDto } from './dtos/search.dto';
35
+ export { SearchService as SDKSearchService } from './services/search.service';
36
+ export { ESearchCondition, ESortOrder } from './enums/search.enum';
37
+ export * from './interfaces/search.interface';
@@ -14,57 +14,64 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.SDKSystemLogoutDTO = exports.SDKRegisterDTO = exports.SDKLogoutDTO = exports.SDKLoginDTO = exports.SDKAuthSessionEntity = exports.SDKAuthEntity = exports.SDKAuthenticationController = exports.SDKAuthenticationSessionService = exports.SDKAuthenticationService = exports.SDKPublicAuth = exports.SDKAuthenticationGuard = exports.SDKAuthenticationModule = exports.SDKLogEntity = exports.SDKLogsController = exports.SDKLogCreateSingleDTO = exports.SDKLogCreateMultipleDTO = exports.SDKLogSerarchDTO = exports.SDKLogsService = exports.SDKLogsModule = exports.SDKFileController = exports.SDKConfig = exports.SDKSample = exports.ESortOrder = exports.ESearchCondition = exports.SDKETableName = exports.SDKERefCat = exports.SDKEFileSizeUnit = exports.SearchQueryDto = exports.SDKFileUploadDto = exports.SDKFileUpdateDto = exports.SDKFileSearchDto = exports.SDKFileActionDto = exports.SDKBaseDto = exports.FileEntity = exports.FileBinEntity = exports.LikesEntity = exports.BaseEntity = exports.SDKUtilityClass = exports.SDKTokenService = exports.SDKSearchService = exports.stream = exports.logger = exports.SDKLikesService = exports.SDKFileService = exports.SDKBaseService = exports.SDKEnvironmentService = void 0;
17
+ exports.ESortOrder = exports.ESearchCondition = exports.SDKSearchService = exports.SearchQueryDto = exports.SDKFileUploadDto = exports.SDKFileUpdateDto = exports.SDKFileSearchDto = exports.SDKFileActionDto = exports.SDKLogEntity = exports.SDKLogsController = exports.SDKLogCreateSingleDTO = exports.SDKLogCreateMultipleDTO = exports.SDKLogSerarchDTO = exports.SDKLogsService = exports.SDKLogsModule = exports.stream = exports.logger = exports.SDKLikesService = exports.SDKFileService = exports.FileEntity = exports.FileBinEntity = exports.LikesEntity = exports.SDKFileController = exports.SDKEFileSizeUnit = exports.SDKSample = exports.SDKBaseDto = exports.BaseEntity = exports.SDKBaseService = exports.SDKSystemLogoutDTO = exports.SDKRegisterDTO = exports.SDKLogoutDTO = exports.SDKLoginDTO = exports.SDKAuthSessionEntity = exports.SDKAuthEntity = exports.SDKAuthenticationController = exports.SDKAuthenticationSessionService = exports.SDKAuthenticationService = exports.SDKPublicAuth = exports.SDKAuthenticationGuard = exports.SDKAuthenticationModule = exports.SDKUtilityClass = exports.SDKTokenService = exports.SDKETableName = exports.SDKERefCat = exports.SDKEnvironmentService = exports.SDKConfig = void 0;
18
18
  __exportStar(require("./la-library.module"), exports);
19
+ var index_config_1 = require("./configs/index.config");
20
+ Object.defineProperty(exports, "SDKConfig", { enumerable: true, get: function () { return index_config_1.SDKConfig; } });
19
21
  var environment_service_1 = require("./services/environment.service");
20
22
  Object.defineProperty(exports, "SDKEnvironmentService", { enumerable: true, get: function () { return environment_service_1.SDKEnvironmentService; } });
21
- var base_service_1 = require("./services/base.service");
22
- Object.defineProperty(exports, "SDKBaseService", { enumerable: true, get: function () { return base_service_1.SDKBaseService; } });
23
- var file_service_1 = require("./services/file.service");
24
- Object.defineProperty(exports, "SDKFileService", { enumerable: true, get: function () { return file_service_1.FileService; } });
25
- var likes_service_1 = require("./services/likes.service");
26
- Object.defineProperty(exports, "SDKLikesService", { enumerable: true, get: function () { return likes_service_1.LikesService; } });
27
- var logger_service_1 = require("./services/logger.service");
28
- Object.defineProperty(exports, "logger", { enumerable: true, get: function () { return logger_service_1.logger; } });
29
- Object.defineProperty(exports, "stream", { enumerable: true, get: function () { return logger_service_1.stream; } });
30
- var search_service_1 = require("./services/search.service");
31
- Object.defineProperty(exports, "SDKSearchService", { enumerable: true, get: function () { return search_service_1.SearchService; } });
23
+ var base_enum_1 = require("./enums/base.enum");
24
+ Object.defineProperty(exports, "SDKERefCat", { enumerable: true, get: function () { return base_enum_1.ERefCat; } });
25
+ Object.defineProperty(exports, "SDKETableName", { enumerable: true, get: function () { return base_enum_1.ETableName; } });
32
26
  var token_service_1 = require("./services/token.service");
33
27
  Object.defineProperty(exports, "SDKTokenService", { enumerable: true, get: function () { return token_service_1.TokenService; } });
34
28
  var utility_service_1 = require("./services/utility.service");
35
29
  Object.defineProperty(exports, "SDKUtilityClass", { enumerable: true, get: function () { return utility_service_1.UtilityClass; } });
30
+ var authentication_module_1 = require("./modules/authentication/authentication.module");
31
+ Object.defineProperty(exports, "SDKAuthenticationModule", { enumerable: true, get: function () { return authentication_module_1.AuthenticationModule; } });
32
+ var authentication_guard_1 = require("./modules/authentication/authentication.guard");
33
+ Object.defineProperty(exports, "SDKAuthenticationGuard", { enumerable: true, get: function () { return authentication_guard_1.AuthenticationGuard; } });
34
+ Object.defineProperty(exports, "SDKPublicAuth", { enumerable: true, get: function () { return authentication_guard_1.PublicAuth; } });
35
+ var authentication_service_1 = require("./modules/authentication/authentication.service");
36
+ Object.defineProperty(exports, "SDKAuthenticationService", { enumerable: true, get: function () { return authentication_service_1.AuthenticationService; } });
37
+ Object.defineProperty(exports, "SDKAuthenticationSessionService", { enumerable: true, get: function () { return authentication_service_1.AuthenticationSessionService; } });
38
+ var authentication_controller_1 = require("./modules/authentication/authentication.controller");
39
+ Object.defineProperty(exports, "SDKAuthenticationController", { enumerable: true, get: function () { return authentication_controller_1.AuthenticationController; } });
40
+ var authentication_entity_1 = require("./modules/authentication/authentication.entity");
41
+ Object.defineProperty(exports, "SDKAuthEntity", { enumerable: true, get: function () { return authentication_entity_1.AuthEntity; } });
42
+ Object.defineProperty(exports, "SDKAuthSessionEntity", { enumerable: true, get: function () { return authentication_entity_1.AuthSessionEntity; } });
43
+ var authentication_dto_1 = require("./modules/authentication/authentication.dto");
44
+ Object.defineProperty(exports, "SDKLoginDTO", { enumerable: true, get: function () { return authentication_dto_1.LoginDTO; } });
45
+ Object.defineProperty(exports, "SDKLogoutDTO", { enumerable: true, get: function () { return authentication_dto_1.LogoutDTO; } });
46
+ Object.defineProperty(exports, "SDKRegisterDTO", { enumerable: true, get: function () { return authentication_dto_1.RegisterDTO; } });
47
+ Object.defineProperty(exports, "SDKSystemLogoutDTO", { enumerable: true, get: function () { return authentication_dto_1.SystemLogoutDTO; } });
48
+ var base_service_1 = require("./services/base.service");
49
+ Object.defineProperty(exports, "SDKBaseService", { enumerable: true, get: function () { return base_service_1.SDKBaseService; } });
36
50
  var base_entity_1 = require("./entities/base.entity");
37
51
  Object.defineProperty(exports, "BaseEntity", { enumerable: true, get: function () { return base_entity_1.BaseEntity; } });
38
- var likes_entity_1 = require("./entities/likes.entity");
39
- Object.defineProperty(exports, "LikesEntity", { enumerable: true, get: function () { return likes_entity_1.LikesEntity; } });
40
- var file_bin_entity_1 = require("./entities/file-bin.entity");
41
- Object.defineProperty(exports, "FileBinEntity", { enumerable: true, get: function () { return file_bin_entity_1.FileBinEntity; } });
42
- var file_entity_1 = require("./entities/file.entity");
43
- Object.defineProperty(exports, "FileEntity", { enumerable: true, get: function () { return file_entity_1.FileEntity; } });
44
52
  var base_dto_1 = require("./dtos/base.dto");
45
53
  Object.defineProperty(exports, "SDKBaseDto", { enumerable: true, get: function () { return base_dto_1.BaseDto; } });
46
- var file_dto_1 = require("./dtos/file.dto");
47
- Object.defineProperty(exports, "SDKFileActionDto", { enumerable: true, get: function () { return file_dto_1.FileActionDto; } });
48
- Object.defineProperty(exports, "SDKFileSearchDto", { enumerable: true, get: function () { return file_dto_1.FileSearchDto; } });
49
- Object.defineProperty(exports, "SDKFileUpdateDto", { enumerable: true, get: function () { return file_dto_1.FileUpdateDto; } });
50
- Object.defineProperty(exports, "SDKFileUploadDto", { enumerable: true, get: function () { return file_dto_1.FileUploadDto; } });
51
- var search_dto_1 = require("./dtos/search.dto");
52
- Object.defineProperty(exports, "SearchQueryDto", { enumerable: true, get: function () { return search_dto_1.SearchQueryDto; } });
53
- var base_enum_1 = require("./enums/base.enum");
54
- Object.defineProperty(exports, "SDKEFileSizeUnit", { enumerable: true, get: function () { return base_enum_1.EFileSizeUnit; } });
55
- Object.defineProperty(exports, "SDKERefCat", { enumerable: true, get: function () { return base_enum_1.ERefCat; } });
56
- Object.defineProperty(exports, "SDKETableName", { enumerable: true, get: function () { return base_enum_1.ETableName; } });
57
- var search_enum_1 = require("./enums/search.enum");
58
- Object.defineProperty(exports, "ESearchCondition", { enumerable: true, get: function () { return search_enum_1.ESearchCondition; } });
59
- Object.defineProperty(exports, "ESortOrder", { enumerable: true, get: function () { return search_enum_1.ESortOrder; } });
60
- __exportStar(require("./interfaces/base.interface"), exports);
61
- __exportStar(require("./interfaces/search.interface"), exports);
62
54
  var base_sample_1 = require("./samples/base.sample");
63
55
  Object.defineProperty(exports, "SDKSample", { enumerable: true, get: function () { return base_sample_1.Sample; } });
64
- var index_config_1 = require("./configs/index.config");
65
- Object.defineProperty(exports, "SDKConfig", { enumerable: true, get: function () { return index_config_1.SDKConfig; } });
56
+ __exportStar(require("./interfaces/base.interface"), exports);
57
+ __exportStar(require("./modules/base.module"), exports);
58
+ var file_enum_1 = require("./enums/file.enum");
59
+ Object.defineProperty(exports, "SDKEFileSizeUnit", { enumerable: true, get: function () { return file_enum_1.EFileSizeUnit; } });
66
60
  var file_controller_1 = require("./controllers/file.controller");
67
61
  Object.defineProperty(exports, "SDKFileController", { enumerable: true, get: function () { return file_controller_1.FileController; } });
62
+ var likes_entity_1 = require("./entities/likes.entity");
63
+ Object.defineProperty(exports, "LikesEntity", { enumerable: true, get: function () { return likes_entity_1.LikesEntity; } });
64
+ var file_bin_entity_1 = require("./entities/file-bin.entity");
65
+ Object.defineProperty(exports, "FileBinEntity", { enumerable: true, get: function () { return file_bin_entity_1.FileBinEntity; } });
66
+ var file_entity_1 = require("./entities/file.entity");
67
+ Object.defineProperty(exports, "FileEntity", { enumerable: true, get: function () { return file_entity_1.FileEntity; } });
68
+ var file_service_1 = require("./services/file.service");
69
+ Object.defineProperty(exports, "SDKFileService", { enumerable: true, get: function () { return file_service_1.FileService; } });
70
+ var likes_service_1 = require("./services/likes.service");
71
+ Object.defineProperty(exports, "SDKLikesService", { enumerable: true, get: function () { return likes_service_1.LikesService; } });
72
+ var logger_service_1 = require("./services/logger.service");
73
+ Object.defineProperty(exports, "logger", { enumerable: true, get: function () { return logger_service_1.logger; } });
74
+ Object.defineProperty(exports, "stream", { enumerable: true, get: function () { return logger_service_1.stream; } });
68
75
  var logs_module_1 = require("./modules/logs/logs.module");
69
76
  Object.defineProperty(exports, "SDKLogsModule", { enumerable: true, get: function () { return logs_module_1.LogsModule; } });
70
77
  var logs_service_1 = require("./modules/logs/logs.service");
@@ -77,22 +84,17 @@ var logs_controller_1 = require("./modules/logs/logs.controller");
77
84
  Object.defineProperty(exports, "SDKLogsController", { enumerable: true, get: function () { return logs_controller_1.LogsController; } });
78
85
  var logs_entity_1 = require("./modules/logs/logs.entity");
79
86
  Object.defineProperty(exports, "SDKLogEntity", { enumerable: true, get: function () { return logs_entity_1.LogEntity; } });
80
- var authentication_module_1 = require("./modules/authentication/authentication.module");
81
- Object.defineProperty(exports, "SDKAuthenticationModule", { enumerable: true, get: function () { return authentication_module_1.AuthenticationModule; } });
82
- var authentication_guard_1 = require("./modules/authentication/authentication.guard");
83
- Object.defineProperty(exports, "SDKAuthenticationGuard", { enumerable: true, get: function () { return authentication_guard_1.AuthenticationGuard; } });
84
- Object.defineProperty(exports, "SDKPublicAuth", { enumerable: true, get: function () { return authentication_guard_1.PublicAuth; } });
85
- var authentication_service_1 = require("./modules/authentication/authentication.service");
86
- Object.defineProperty(exports, "SDKAuthenticationService", { enumerable: true, get: function () { return authentication_service_1.AuthenticationService; } });
87
- Object.defineProperty(exports, "SDKAuthenticationSessionService", { enumerable: true, get: function () { return authentication_service_1.AuthenticationSessionService; } });
88
- var authentication_controller_1 = require("./modules/authentication/authentication.controller");
89
- Object.defineProperty(exports, "SDKAuthenticationController", { enumerable: true, get: function () { return authentication_controller_1.AuthenticationController; } });
90
- var authentication_entity_1 = require("./modules/authentication/authentication.entity");
91
- Object.defineProperty(exports, "SDKAuthEntity", { enumerable: true, get: function () { return authentication_entity_1.AuthEntity; } });
92
- Object.defineProperty(exports, "SDKAuthSessionEntity", { enumerable: true, get: function () { return authentication_entity_1.AuthSessionEntity; } });
93
- var authentication_dto_1 = require("./modules/authentication/authentication.dto");
94
- Object.defineProperty(exports, "SDKLoginDTO", { enumerable: true, get: function () { return authentication_dto_1.LoginDTO; } });
95
- Object.defineProperty(exports, "SDKLogoutDTO", { enumerable: true, get: function () { return authentication_dto_1.LogoutDTO; } });
96
- Object.defineProperty(exports, "SDKRegisterDTO", { enumerable: true, get: function () { return authentication_dto_1.RegisterDTO; } });
97
- Object.defineProperty(exports, "SDKSystemLogoutDTO", { enumerable: true, get: function () { return authentication_dto_1.SystemLogoutDTO; } });
87
+ var file_dto_1 = require("./dtos/file.dto");
88
+ Object.defineProperty(exports, "SDKFileActionDto", { enumerable: true, get: function () { return file_dto_1.FileActionDto; } });
89
+ Object.defineProperty(exports, "SDKFileSearchDto", { enumerable: true, get: function () { return file_dto_1.FileSearchDto; } });
90
+ Object.defineProperty(exports, "SDKFileUpdateDto", { enumerable: true, get: function () { return file_dto_1.FileUpdateDto; } });
91
+ Object.defineProperty(exports, "SDKFileUploadDto", { enumerable: true, get: function () { return file_dto_1.FileUploadDto; } });
92
+ var search_dto_1 = require("./dtos/search.dto");
93
+ Object.defineProperty(exports, "SearchQueryDto", { enumerable: true, get: function () { return search_dto_1.SearchQueryDto; } });
94
+ var search_service_1 = require("./services/search.service");
95
+ Object.defineProperty(exports, "SDKSearchService", { enumerable: true, get: function () { return search_service_1.SearchService; } });
96
+ var search_enum_1 = require("./enums/search.enum");
97
+ Object.defineProperty(exports, "ESearchCondition", { enumerable: true, get: function () { return search_enum_1.ESearchCondition; } });
98
+ Object.defineProperty(exports, "ESortOrder", { enumerable: true, get: function () { return search_enum_1.ESortOrder; } });
99
+ __exportStar(require("./interfaces/search.interface"), exports);
98
100
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/la-library/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,sEAGwC;AAFtC,4HAAA,qBAAqB,OAAA;AAIvB,wDAAyD;AAAhD,8GAAA,cAAc,OAAA;AACvB,wDAAwE;AAA/D,8GAAA,WAAW,OAAkB;AACtC,0DAA2E;AAAlE,gHAAA,YAAY,OAAmB;AACxC,4DAA2D;AAAlD,wGAAA,MAAM,OAAA;AAAE,wGAAA,MAAM,OAAA;AACvB,4DAA8E;AAArE,kHAAA,aAAa,OAAoB;AAC1C,0DAA2E;AAAlE,gHAAA,YAAY,OAAmB;AACxC,8DAA6E;AAApE,kHAAA,YAAY,OAAmB;AAExC,sDAAoD;AAA3C,yGAAA,UAAU,OAAA;AACnB,wDAAsD;AAA7C,2GAAA,WAAW,OAAA;AACpB,8DAA2D;AAAlD,gHAAA,aA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U,OAAA;AACnB,wDAAwE;AAA/D,8GAAA,WAAW,OAAkB;AACtC,0DAA2E;AAAlE,gHAAA,YAAY,OAAmB;AAIxC,4DAA2D;AAAlD,wGAAA,MAAM,OAAA;AAAE,wGAAA,MAAM,OAAA;AACvB,0DAAyE;AAAhE,4GAAA,UAAU,OAAiB;AACpC,4DAA4E;AAAnE,8GAAA,WAAW,OAAkB;AACtC,oDAIiC;AAH/B,4GAAA,aAAa,OAAoB;AACjC,mHAAA,oBAAoB,OAA2B;AAC/C,iHAAA,kBAAkB,OAAyB;AAE7C,kEAAqF;AAA5E,oHAAA,cAAc,OAAqB;AAC5C,0DAAuE;AAA9D,2GAAA,SAAS,OAAgB;AAIlC,4CAKyB;AAJvB,4GAAA,aAAa,OAAoB;AACjC,4GAAA,aAAa,OAAoB;AACjC,4GAAA,aAAa,OAAoB;AACjC,4GAAA,aAAa,OAAoB;AAEnC,gDAAmD;AAA1C,4GAAA,cAAc,OAAA;AACvB,4DAA8E;AAArE,kHAAA,aAAa,OAAoB;AAC1C,mDAAmE;AAA1D,+GAAA,gBAAgB,OAAA;AAAE,yGAAA,UAAU,OAAA;AACrC,gEAA8C"}
@@ -3,8 +3,20 @@ import { LoginDTO, LogoutDTO, RegisterDTO, SystemLogoutDTO } from './authenticat
3
3
  export declare class AuthenticationController {
4
4
  protected readonly service: AuthenticationService;
5
5
  constructor(service: AuthenticationService);
6
- logout(body: LogoutDTO): Promise<boolean>;
7
- systemLogout(body: SystemLogoutDTO): Promise<boolean>;
8
- login(body: LoginDTO): Promise<import("./authentication.entity").AuthEntity>;
9
- register(body: RegisterDTO): Promise<import("./authentication.entity").AuthEntity>;
6
+ logout(body: LogoutDTO): {
7
+ data: Promise<boolean>;
8
+ message: string;
9
+ };
10
+ systemLogout(body: SystemLogoutDTO): {
11
+ data: Promise<boolean>;
12
+ message: string;
13
+ };
14
+ login(body: LoginDTO): {
15
+ data: Promise<import("./authentication.entity").AuthEntity>;
16
+ message: string;
17
+ };
18
+ register(body: RegisterDTO): {
19
+ data: Promise<import("./authentication.entity").AuthEntity>;
20
+ message: string;
21
+ };
10
22
  }
@@ -18,21 +18,22 @@ const authentication_service_1 = require("./authentication.service");
18
18
  const authentication_dto_1 = require("./authentication.dto");
19
19
  const swagger_1 = require("@nestjs/swagger");
20
20
  const authentication_guard_1 = require("./authentication.guard");
21
+ const utility_service_1 = require("../../services/utility.service");
21
22
  let AuthenticationController = class AuthenticationController {
22
23
  constructor(service) {
23
24
  this.service = service;
24
25
  }
25
26
  logout(body) {
26
- return this.service.logout(body);
27
+ return utility_service_1.UtilityClass.handleSuccess({ data: this.service.logout(body) });
27
28
  }
28
29
  systemLogout(body) {
29
- return this.service.forceLogout(body);
30
+ return utility_service_1.UtilityClass.handleSuccess({ data: this.service.forceLogout(body) });
30
31
  }
31
32
  login(body) {
32
- return this.service.login(body);
33
+ return utility_service_1.UtilityClass.handleSuccess({ data: this.service.login(body) });
33
34
  }
34
35
  register(body) {
35
- return this.service.register(body);
36
+ return utility_service_1.UtilityClass.handleSuccess({ data: this.service.register(body) });
36
37
  }
37
38
  };
38
39
  exports.AuthenticationController = AuthenticationController;
@@ -1 +1 @@
1
- {"version":3,"file":"authentication.controller.js","sourceRoot":"","sources":["../../../../../../libs/la-library/src/modules/authentication/authentication.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAmE;AACnE,qEAAiE;AACjE,6DAK8B;AAC9B,6CAAyD;AACzD,iEAAyE;AAIlE,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IACnC,YAA+B,OAA8B;QAA9B,YAAO,GAAP,OAAO,CAAuB;IAAG,CAAC;IAKjE,MAAM,CAAS,IAAe;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IAKD,YAAY,CAAS,IAAqB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAID,KAAK,CAAS,IAAc;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;IAID,QAAQ,CAAS,IAAiB;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;CACF,CAAA;AA5BY,4DAAwB;AAMnC;IAHC,IAAA,aAAI,EAAC,QAAQ,CAAC;IACd,IAAA,uBAAa,GAAE;IAER,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,8BAAS;;sDAE7B;AAKD;IAHC,IAAA,aAAI,EAAC,cAAc,CAAC;IACpB,IAAA,uBAAa,GAAE;IACf,IAAA,kBAAS,EAAC,0CAAmB,CAAC;IACjB,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,oCAAe;;4DAEzC;AAID;IAFC,IAAA,aAAI,EAAC,OAAO,CAAC;IACb,IAAA,iCAAU,GAAE;IACN,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,6BAAQ;;qDAE3B;AAID;IAFC,IAAA,aAAI,EAAC,UAAU,CAAC;IAChB,IAAA,iCAAU,GAAE;IACH,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,gCAAW;;wDAEjC;mCA3BU,wBAAwB;IAFpC,IAAA,iBAAO,EAAC,8CAAqB,CAAC,GAAG,CAAC;IAClC,IAAA,mBAAU,EAAC,8CAAqB,CAAC,IAAI,CAAC;qCAEG,8CAAqB;GADlD,wBAAwB,CA4BpC"}
1
+ {"version":3,"file":"authentication.controller.js","sourceRoot":"","sources":["../../../../../../libs/la-library/src/modules/authentication/authentication.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAmE;AACnE,qEAAiE;AACjE,6DAK8B;AAC9B,6CAAyD;AACzD,iEAAyE;AACzE,oEAA8D;AAIvD,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IACnC,YAA+B,OAA8B;QAA9B,YAAO,GAAP,OAAO,CAAu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3BU,wBAAwB;IAFpC,IAAA,iBAAO,EAAC,8CAAqB,CAAC,GAAG,CAAC;IAClC,IAAA,mBAAU,EAAC,8CAAqB,CAAC,IAAI,CAAC;qCAEG,8CAAqB;GADlD,wBAAwB,CA4BpC"}
@@ -5,7 +5,7 @@ import { Reflector } from '@nestjs/core';
5
5
  export declare class AuthenticationGuard implements CanActivate {
6
6
  protected tokenService: TokenService;
7
7
  protected authS: AuthenticationService;
8
- private reflector;
8
+ protected reflector: Reflector;
9
9
  constructor(tokenService: TokenService, authS: AuthenticationService, reflector: Reflector);
10
10
  canActivate(context: ExecutionContext): Promise<boolean>;
11
11
  private extractTokenFromHeader;
@@ -1 +1 @@
1
- {"version":3,"file":"authentication.guard.js","sourceRoot":"","sources":["../../../../../../libs/la-library/src/modules/authentication/authentication.guard.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAKwB;AAExB,gEAA4D;AAC5D,qEAAiE;AACjE,+DAAoD;AACpD,2CAA6C;AAC7C,uCAAoD;AACpD,4EAAyD;AAGlD,IAAM,mBAAmB,2BAAzB,MAAM,mBAAmB;IAC9B,YACY,YAA0B,EAC1B,KAA4B,EAC9B,SAAoB;QAFlB,iBAAY,GAAZ,YAAY,CAAc;QAC1B,UAAK,GAAL,KAAK,CAAuB;QAC9B,cAAS,GAAT,SAAS,CAAW;IAC3B,CAAC;IAEJ,KAAK,CAAC,WAAW,CAAC,OAAyB;QACzC,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAU,aAAa,EAAE;YACxE,OAAO,CAAC,UAAU,EAAE;YACpB,OAAO,CAAC,QAAQ,EAAE;SACnB,CAAC,CAAC;QACH,IAAI,QAAQ,EAAE,CAAC;YACb,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,yBAAG,CAAC,WAAW,IAAI,KAAK;YAAE,OAAO,IAAI,CAAC;QAE1C,MAAM,OAAO,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,UAAU,EAA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AAM,IAAI,8BAAqB,EAAE,CAAC;QACpC,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEO,sBAAsB,CAAC,OAAgB;QAC7C,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,aAAa,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;QACtE,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;IAC/C,CAAC;IACD,MAAM,CAAC,YAAY;QACjB,OAAO;YACL,OAAO,EAAE,gBAAS;YAClB,QAAQ,EAAE,qBAAmB;SAC9B,CAAC;IACJ,CAAC;CACF,CAAA;AA/CY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,mBAAU,GAAE;qCAGe,4BAAY;QACnB,8CAAqB;QACjB,gBAAS;GAJrB,mBAAmB,CA+C/B;AAED,MAAM,aAAa,GAAG,UAAU,CAAC;AAC1B,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC,IAAA,oBAAW,EAAC,aAAa,EAAE,IAAI,CAAC,CAAC;AAApD,QAAA,UAAU,cAA0C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serene-dev/la-nest-library",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "MIT",