@artus/core
Advanced tools
Comparing version 1.0.0-beta.10 to 1.0.0-beta.11
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ArtusApplication = void 0; | ||
const tslib_1 = require("tslib"); | ||
require("reflect-metadata"); | ||
@@ -13,4 +11,4 @@ const injection_1 = require("@artus/injection"); | ||
const loader_1 = require("./loader"); | ||
const trigger_1 = __importDefault(require("./trigger")); | ||
const configuration_1 = __importDefault(require("./configuration")); | ||
const trigger_1 = tslib_1.__importDefault(require("./trigger")); | ||
const configuration_1 = tslib_1.__importDefault(require("./configuration")); | ||
const logger_1 = require("./logger"); | ||
@@ -99,1 +97,2 @@ class ArtusApplication { | ||
exports.ArtusApplication = ArtusApplication; | ||
//# sourceMappingURL=application.js.map |
@@ -15,1 +15,2 @@ "use strict"; | ||
; | ||
//# sourceMappingURL=decorator.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
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; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
var ConfigurationHandler_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const injection_1 = require("@artus/injection"); | ||
const constant_1 = require("../constant"); | ||
const merge_1 = require("../loader/utils/merge"); | ||
const compatible_require_1 = __importDefault(require("../utils/compatible_require")); | ||
const compatible_require_1 = tslib_1.__importDefault(require("../utils/compatible_require")); | ||
const decorator_1 = require("./decorator"); | ||
@@ -87,11 +76,12 @@ let ConfigurationHandler = ConfigurationHandler_1 = class ConfigurationHandler { | ||
}; | ||
__decorate([ | ||
tslib_1.__decorate([ | ||
(0, decorator_1.DefineConfigHandle)('framework-config'), | ||
__metadata("design:type", Function), | ||
__metadata("design:paramtypes", [String, Object, Object]), | ||
__metadata("design:returntype", Map) | ||
tslib_1.__metadata("design:type", Function), | ||
tslib_1.__metadata("design:paramtypes", [String, Object, Object]), | ||
tslib_1.__metadata("design:returntype", Map) | ||
], ConfigurationHandler.prototype, "getFrameworkConfig", null); | ||
ConfigurationHandler = ConfigurationHandler_1 = __decorate([ | ||
ConfigurationHandler = ConfigurationHandler_1 = tslib_1.__decorate([ | ||
(0, injection_1.Injectable)() | ||
], ConfigurationHandler); | ||
exports.default = ConfigurationHandler; | ||
//# sourceMappingURL=index.js.map |
@@ -61,1 +61,2 @@ "use strict"; | ||
exports.DEFAULT_CONFIG_DIR = 'src/config'; | ||
//# sourceMappingURL=constant.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.WithContext = exports.WithContainer = exports.WithApplication = exports.LifecycleHook = exports.LifecycleHookUnit = void 0; | ||
const tslib_1 = require("tslib"); | ||
const constant_1 = require("./constant"); | ||
@@ -62,3 +49,4 @@ function LifecycleHookUnit() { | ||
exports.WithContext = WithContext; | ||
__exportStar(require("./loader/decorator"), exports); | ||
__exportStar(require("./trigger/decorator"), exports); | ||
tslib_1.__exportStar(require("./loader/decorator"), exports); | ||
tslib_1.__exportStar(require("./trigger/decorator"), exports); | ||
//# sourceMappingURL=decorator.js.map |
@@ -38,1 +38,2 @@ "use strict"; | ||
exports.ArtusStdError = ArtusStdError; | ||
//# sourceMappingURL=error.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
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; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const injection_1 = require("@artus/injection"); | ||
@@ -29,5 +24,6 @@ const error_1 = require("./error"); | ||
}; | ||
ExceptionHandler = __decorate([ | ||
ExceptionHandler = tslib_1.__decorate([ | ||
(0, injection_1.Injectable)() | ||
], ExceptionHandler); | ||
exports.default = ExceptionHandler; | ||
//# sourceMappingURL=handler.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ExceptionHandler = void 0; | ||
const handler_1 = __importDefault(require("./handler")); | ||
const tslib_1 = require("tslib"); | ||
const handler_1 = tslib_1.__importDefault(require("./handler")); | ||
exports.ExceptionHandler = handler_1.default; | ||
__exportStar(require("./error"), exports); | ||
tslib_1.__exportStar(require("./error"), exports); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=types.js.map |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FrameworkHandler = void 0; | ||
const path_1 = __importDefault(require("path")); | ||
const configuration_1 = __importDefault(require("../configuration")); | ||
const tslib_1 = require("tslib"); | ||
const path_1 = tslib_1.__importDefault(require("path")); | ||
const configuration_1 = tslib_1.__importDefault(require("../configuration")); | ||
class FrameworkHandler { | ||
@@ -35,1 +33,2 @@ static async mergeConfig(env, frameworks, done) { | ||
exports.FrameworkHandler = FrameworkHandler; | ||
//# sourceMappingURL=handler.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./handler"), exports); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./handler"), exports); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Trigger = exports.ConfigurationHandler = exports.ArtusInjectEnum = exports.Injectable = exports.Inject = void 0; | ||
const tslib_1 = require("tslib"); | ||
var injection_1 = require("@artus/injection"); | ||
@@ -26,15 +10,16 @@ Object.defineProperty(exports, "Inject", { enumerable: true, get: function () { return injection_1.Inject; } }); | ||
Object.defineProperty(exports, "ArtusInjectEnum", { enumerable: true, get: function () { return constant_1.ArtusInjectEnum; } }); | ||
__exportStar(require("./loader"), exports); | ||
__exportStar(require("./logger"), exports); | ||
__exportStar(require("./lifecycle"), exports); | ||
__exportStar(require("./exception"), exports); | ||
__exportStar(require("./plugin"), exports); | ||
__exportStar(require("./application"), exports); | ||
__exportStar(require("./scanner"), exports); | ||
__exportStar(require("./decorator"), exports); | ||
__exportStar(require("./types"), exports); | ||
__exportStar(require("./constant"), exports); | ||
const configuration_1 = __importDefault(require("./configuration")); | ||
tslib_1.__exportStar(require("./loader"), exports); | ||
tslib_1.__exportStar(require("./logger"), exports); | ||
tslib_1.__exportStar(require("./lifecycle"), exports); | ||
tslib_1.__exportStar(require("./exception"), exports); | ||
tslib_1.__exportStar(require("./plugin"), exports); | ||
tslib_1.__exportStar(require("./application"), exports); | ||
tslib_1.__exportStar(require("./scanner"), exports); | ||
tslib_1.__exportStar(require("./decorator"), exports); | ||
tslib_1.__exportStar(require("./types"), exports); | ||
tslib_1.__exportStar(require("./constant"), exports); | ||
const configuration_1 = tslib_1.__importDefault(require("./configuration")); | ||
exports.ConfigurationHandler = configuration_1.default; | ||
const trigger_1 = __importDefault(require("./trigger")); | ||
const trigger_1 = tslib_1.__importDefault(require("./trigger")); | ||
exports.Trigger = trigger_1.default; | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("@artus/injection"), exports); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("@artus/injection"), exports); | ||
//# sourceMappingURL=injection.js.map |
@@ -74,1 +74,2 @@ "use strict"; | ||
; | ||
//# sourceMappingURL=index.js.map |
@@ -9,1 +9,2 @@ "use strict"; | ||
exports.default = BaseLoader; | ||
//# sourceMappingURL=base.js.map |
@@ -9,1 +9,2 @@ "use strict"; | ||
exports.DefineLoader = DefineLoader; | ||
//# sourceMappingURL=decorator.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LoaderFactory = void 0; | ||
const path = __importStar(require("path")); | ||
const tslib_1 = require("tslib"); | ||
const path = tslib_1.__importStar(require("path")); | ||
const constant_1 = require("../constant"); | ||
const configuration_1 = __importDefault(require("../configuration")); | ||
const compatible_require_1 = __importDefault(require("../utils/compatible_require")); | ||
const configuration_1 = tslib_1.__importDefault(require("../configuration")); | ||
const compatible_require_1 = tslib_1.__importDefault(require("../utils/compatible_require")); | ||
class LoaderFactory { | ||
@@ -143,1 +118,2 @@ constructor(container) { | ||
LoaderFactory.loaderClazzMap = new Map(); | ||
//# sourceMappingURL=factory.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
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; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const path = __importStar(require("path")); | ||
const configuration_1 = __importDefault(require("../../configuration")); | ||
const tslib_1 = require("tslib"); | ||
const path = tslib_1.__importStar(require("path")); | ||
const configuration_1 = tslib_1.__importDefault(require("../../configuration")); | ||
const constant_1 = require("../../constant"); | ||
const decorator_1 = require("../decorator"); | ||
const compatible_require_1 = __importDefault(require("../../utils/compatible_require")); | ||
const compatible_require_1 = tslib_1.__importDefault(require("../../utils/compatible_require")); | ||
const utils_1 = require("../../utils"); | ||
@@ -98,6 +64,7 @@ let ConfigLoader = class ConfigLoader { | ||
}; | ||
ConfigLoader = __decorate([ | ||
ConfigLoader = tslib_1.__decorate([ | ||
(0, decorator_1.DefineLoader)('config'), | ||
__metadata("design:paramtypes", [Object]) | ||
tslib_1.__metadata("design:paramtypes", [Object]) | ||
], ConfigLoader); | ||
exports.default = ConfigLoader; | ||
//# sourceMappingURL=config.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
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; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const decorator_1 = require("../decorator"); | ||
@@ -37,6 +29,7 @@ const exception_1 = require("../../exception"); | ||
}; | ||
ExceptionLoader = __decorate([ | ||
ExceptionLoader = tslib_1.__decorate([ | ||
(0, decorator_1.DefineLoader)('exception'), | ||
__metadata("design:paramtypes", [Object]) | ||
tslib_1.__metadata("design:paramtypes", [Object]) | ||
], ExceptionLoader); | ||
exports.default = ExceptionLoader; | ||
//# sourceMappingURL=exception.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
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; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const decorator_1 = require("../decorator"); | ||
const constant_1 = require("../../constant"); | ||
const config_1 = __importDefault(require("./config")); | ||
const config_1 = tslib_1.__importDefault(require("./config")); | ||
const utils_1 = require("../../utils"); | ||
@@ -38,6 +27,7 @@ let FrameworkConfigLoader = class FrameworkConfigLoader extends config_1.default { | ||
}; | ||
FrameworkConfigLoader = __decorate([ | ||
FrameworkConfigLoader = tslib_1.__decorate([ | ||
(0, decorator_1.DefineLoader)('framework-config'), | ||
__metadata("design:paramtypes", [Object]) | ||
tslib_1.__metadata("design:paramtypes", [Object]) | ||
], FrameworkConfigLoader); | ||
exports.default = FrameworkConfigLoader; | ||
//# sourceMappingURL=framework_config.js.map |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PackageLoader = exports.FrameworkConfigLoader = exports.PluginConfigLoader = exports.PluginMetaLoader = exports.LifecycleLoader = exports.ExceptionLoader = exports.ConfigLoader = exports.ModuleLoader = void 0; | ||
const module_1 = __importDefault(require("./module")); | ||
const tslib_1 = require("tslib"); | ||
const module_1 = tslib_1.__importDefault(require("./module")); | ||
exports.ModuleLoader = module_1.default; | ||
const config_1 = __importDefault(require("./config")); | ||
const config_1 = tslib_1.__importDefault(require("./config")); | ||
exports.ConfigLoader = config_1.default; | ||
const exception_1 = __importDefault(require("./exception")); | ||
const exception_1 = tslib_1.__importDefault(require("./exception")); | ||
exports.ExceptionLoader = exception_1.default; | ||
const lifecycle_1 = __importDefault(require("./lifecycle")); | ||
const lifecycle_1 = tslib_1.__importDefault(require("./lifecycle")); | ||
exports.LifecycleLoader = lifecycle_1.default; | ||
const plugin_meta_1 = __importDefault(require("./plugin_meta")); | ||
const plugin_meta_1 = tslib_1.__importDefault(require("./plugin_meta")); | ||
exports.PluginMetaLoader = plugin_meta_1.default; | ||
const plugin_config_1 = __importDefault(require("./plugin_config")); | ||
const plugin_config_1 = tslib_1.__importDefault(require("./plugin_config")); | ||
exports.PluginConfigLoader = plugin_config_1.default; | ||
const framework_config_1 = __importDefault(require("./framework_config")); | ||
const framework_config_1 = tslib_1.__importDefault(require("./framework_config")); | ||
exports.FrameworkConfigLoader = framework_config_1.default; | ||
const package_1 = __importDefault(require("./package")); | ||
const package_1 = tslib_1.__importDefault(require("./package")); | ||
exports.PackageLoader = package_1.default; | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
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; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const constant_1 = require("../../constant"); | ||
const decorator_1 = require("../decorator"); | ||
const compatible_require_1 = __importDefault(require("../../utils/compatible_require")); | ||
const compatible_require_1 = tslib_1.__importDefault(require("../../utils/compatible_require")); | ||
let LifecycleLoader = class LifecycleLoader { | ||
@@ -28,6 +17,7 @@ constructor(container) { | ||
}; | ||
LifecycleLoader = __decorate([ | ||
LifecycleLoader = tslib_1.__decorate([ | ||
(0, decorator_1.DefineLoader)('lifecycle-hook-unit'), | ||
__metadata("design:paramtypes", [Object]) | ||
tslib_1.__metadata("design:paramtypes", [Object]) | ||
], LifecycleLoader); | ||
exports.default = LifecycleLoader; | ||
//# sourceMappingURL=lifecycle.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
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; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const decorator_1 = require("../decorator"); | ||
const compatible_require_1 = __importDefault(require("../../utils/compatible_require")); | ||
const compatible_require_1 = tslib_1.__importDefault(require("../../utils/compatible_require")); | ||
let ModuleLoader = class ModuleLoader { | ||
@@ -35,6 +24,7 @@ constructor(container) { | ||
}; | ||
ModuleLoader = __decorate([ | ||
ModuleLoader = tslib_1.__decorate([ | ||
(0, decorator_1.DefineLoader)('module'), | ||
__metadata("design:paramtypes", [Object]) | ||
tslib_1.__metadata("design:paramtypes", [Object]) | ||
], ModuleLoader); | ||
exports.default = ModuleLoader; | ||
//# sourceMappingURL=module.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
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; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const configuration_1 = __importDefault(require("../../configuration")); | ||
const tslib_1 = require("tslib"); | ||
const configuration_1 = tslib_1.__importDefault(require("../../configuration")); | ||
const decorator_1 = require("../decorator"); | ||
const compatible_require_1 = __importDefault(require("../../utils/compatible_require")); | ||
const compatible_require_1 = tslib_1.__importDefault(require("../../utils/compatible_require")); | ||
const constant_1 = require("../../constant"); | ||
@@ -33,6 +22,7 @@ const utils_1 = require("../../utils"); | ||
}; | ||
PackageLoader = __decorate([ | ||
PackageLoader = tslib_1.__decorate([ | ||
(0, decorator_1.DefineLoader)('package-json'), | ||
__metadata("design:paramtypes", [Object]) | ||
tslib_1.__metadata("design:paramtypes", [Object]) | ||
], PackageLoader); | ||
exports.default = PackageLoader; | ||
//# sourceMappingURL=package.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
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; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const constant_1 = require("../../constant"); | ||
@@ -16,3 +8,3 @@ const plugin_1 = require("../../plugin"); | ||
const decorator_1 = require("../decorator"); | ||
const config_1 = __importDefault(require("./config")); | ||
const config_1 = tslib_1.__importDefault(require("./config")); | ||
let PluginConfigLoader = class PluginConfigLoader extends config_1.default { | ||
@@ -47,5 +39,6 @@ static async is(opts) { | ||
}; | ||
PluginConfigLoader = __decorate([ | ||
PluginConfigLoader = tslib_1.__decorate([ | ||
(0, decorator_1.DefineLoader)('plugin-config') | ||
], PluginConfigLoader); | ||
exports.default = PluginConfigLoader; | ||
//# sourceMappingURL=plugin_config.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
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; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const decorator_1 = require("../decorator"); | ||
@@ -30,6 +22,7 @@ const load_meta_file_1 = require("../../utils/load_meta_file"); | ||
}; | ||
PluginMetaLoader = __decorate([ | ||
PluginMetaLoader = tslib_1.__decorate([ | ||
(0, decorator_1.DefineLoader)('plugin-meta'), | ||
__metadata("design:paramtypes", [Object]) | ||
tslib_1.__metadata("design:paramtypes", [Object]) | ||
], PluginMetaLoader); | ||
exports.default = PluginMetaLoader; | ||
//# sourceMappingURL=plugin_meta.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BaseLoader = exports.LoaderFactory = exports.DefineLoader = void 0; | ||
const tslib_1 = require("tslib"); | ||
const factory_1 = require("./factory"); | ||
@@ -34,6 +9,6 @@ Object.defineProperty(exports, "LoaderFactory", { enumerable: true, get: function () { return factory_1.LoaderFactory; } }); | ||
Object.defineProperty(exports, "DefineLoader", { enumerable: true, get: function () { return decorator_1.DefineLoader; } }); | ||
const base_1 = __importDefault(require("./base")); | ||
const base_1 = tslib_1.__importDefault(require("./base")); | ||
exports.BaseLoader = base_1.default; | ||
// Import inner impls | ||
const LoaderImpls = __importStar(require("./impl")); | ||
const LoaderImpls = tslib_1.__importStar(require("./impl")); | ||
// Register inner impls | ||
@@ -43,1 +18,2 @@ for (const [_, impl] of Object.entries(LoaderImpls)) { | ||
} | ||
//# sourceMappingURL=index.js.map |
@@ -6,1 +6,2 @@ "use strict"; | ||
; | ||
//# sourceMappingURL=types.js.map |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.mergeConfig = void 0; | ||
const deepmerge_1 = __importDefault(require("deepmerge")); | ||
const tslib_1 = require("tslib"); | ||
const deepmerge_1 = tslib_1.__importDefault(require("deepmerge")); | ||
const is_1 = require("../../utils/is"); | ||
@@ -18,1 +16,2 @@ function mergeConfig(...args) { | ||
exports.mergeConfig = mergeConfig; | ||
//# sourceMappingURL=merge.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
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; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BaseLogger = void 0; | ||
const tslib_1 = require("tslib"); | ||
const injection_1 = require("@artus/injection"); | ||
@@ -51,6 +43,7 @@ const constant_1 = require("../constant"); | ||
} | ||
__decorate([ | ||
tslib_1.__decorate([ | ||
(0, injection_1.Inject)(constant_1.ArtusInjectEnum.Config), | ||
__metadata("design:type", Object) | ||
tslib_1.__metadata("design:type", Object) | ||
], BaseLogger.prototype, "appConfig", void 0); | ||
exports.BaseLogger = BaseLogger; | ||
//# sourceMappingURL=base.js.map |
@@ -10,1 +10,2 @@ "use strict"; | ||
exports.DefineLogger = DefineLogger; | ||
//# sourceMappingURL=decorator.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
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; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const base_1 = require("./base"); | ||
@@ -85,6 +77,7 @@ const decorator_1 = require("./decorator"); | ||
}; | ||
ArtusLogger = __decorate([ | ||
ArtusLogger = tslib_1.__decorate([ | ||
(0, decorator_1.DefineLogger)(), | ||
__metadata("design:paramtypes", []) | ||
tslib_1.__metadata("design:paramtypes", []) | ||
], ArtusLogger); | ||
exports.default = ArtusLogger; | ||
//# sourceMappingURL=impl.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ArtusLogger = void 0; | ||
const impl_1 = __importDefault(require("./impl")); | ||
const tslib_1 = require("tslib"); | ||
const impl_1 = tslib_1.__importDefault(require("./impl")); | ||
exports.ArtusLogger = impl_1.default; | ||
__exportStar(require("./decorator"), exports); | ||
__exportStar(require("./level"), exports); | ||
__exportStar(require("./types"), exports); | ||
tslib_1.__exportStar(require("./decorator"), exports); | ||
tslib_1.__exportStar(require("./level"), exports); | ||
tslib_1.__exportStar(require("./types"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -22,1 +22,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=level.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=types.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("@artus/pipeline"), exports); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("@artus/pipeline"), exports); | ||
//# sourceMappingURL=pipeline.js.map |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BasePlugin = void 0; | ||
const path_1 = __importDefault(require("path")); | ||
const tslib_1 = require("tslib"); | ||
const path_1 = tslib_1.__importDefault(require("path")); | ||
class BasePlugin { | ||
@@ -55,1 +53,2 @@ constructor(name, configItem) { | ||
exports.BasePlugin = BasePlugin; | ||
//# sourceMappingURL=base.js.map |
@@ -34,1 +34,2 @@ "use strict"; | ||
exports.topologicalSort = topologicalSort; | ||
//# sourceMappingURL=common.js.map |
@@ -48,1 +48,2 @@ "use strict"; | ||
exports.PluginFactory = PluginFactory; | ||
//# sourceMappingURL=factory.js.map |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ArtusPlugin = void 0; | ||
const path_1 = __importDefault(require("path")); | ||
const tslib_1 = require("tslib"); | ||
const path_1 = tslib_1.__importDefault(require("path")); | ||
const base_1 = require("./base"); | ||
@@ -60,1 +58,2 @@ const load_meta_file_1 = require("../utils/load_meta_file"); | ||
exports.ArtusPlugin = ArtusPlugin; | ||
//# sourceMappingURL=impl.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./base"), exports); | ||
__exportStar(require("./impl"), exports); | ||
__exportStar(require("./factory"), exports); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./base"), exports); | ||
tslib_1.__exportStar(require("./impl"), exports); | ||
tslib_1.__exportStar(require("./factory"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -9,1 +9,2 @@ "use strict"; | ||
})(PluginType = exports.PluginType || (exports.PluginType = {})); | ||
//# sourceMappingURL=types.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./scan"), exports); | ||
__exportStar(require("./types"), exports); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./scan"), exports); | ||
tslib_1.__exportStar(require("./types"), exports); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Scanner = void 0; | ||
const tslib_1 = require("tslib"); | ||
require("reflect-metadata"); | ||
const path = __importStar(require("path")); | ||
const fs = __importStar(require("fs/promises")); | ||
const path = tslib_1.__importStar(require("path")); | ||
const fs = tslib_1.__importStar(require("fs/promises")); | ||
const injection_1 = require("@artus/injection"); | ||
const constant_1 = require("../constant"); | ||
const loader_1 = require("../loader"); | ||
const configuration_1 = __importDefault(require("../configuration")); | ||
const configuration_1 = tslib_1.__importDefault(require("../configuration")); | ||
const framework_1 = require("../framework"); | ||
@@ -229,1 +204,2 @@ const plugin_1 = require("../plugin"); | ||
exports.Scanner = Scanner; | ||
//# sourceMappingURL=scan.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=types.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ScanUtils = void 0; | ||
const tslib_1 = require("tslib"); | ||
require("reflect-metadata"); | ||
const path = __importStar(require("path")); | ||
const fs = __importStar(require("fs/promises")); | ||
const path = tslib_1.__importStar(require("path")); | ||
const fs = tslib_1.__importStar(require("fs/promises")); | ||
const fs_1 = require("fs"); | ||
@@ -110,1 +88,2 @@ const injection_1 = require("@artus/injection"); | ||
ScanUtils.loaderFactory = loader_1.LoaderFactory.create(new injection_1.Container(constant_1.ArtusInjectEnum.DefaultContainerName)); | ||
//# sourceMappingURL=utils.js.map |
@@ -14,1 +14,2 @@ "use strict"; | ||
; | ||
//# sourceMappingURL=decorator.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
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; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const injection_1 = require("@artus/injection"); | ||
@@ -33,10 +25,11 @@ const pipeline_1 = require("@artus/pipeline"); | ||
}; | ||
__decorate([ | ||
tslib_1.__decorate([ | ||
(0, injection_1.Inject)(constant_1.ArtusInjectEnum.Application), | ||
__metadata("design:type", Object) | ||
tslib_1.__metadata("design:type", Object) | ||
], Trigger.prototype, "app", void 0); | ||
Trigger = __decorate([ | ||
Trigger = tslib_1.__decorate([ | ||
(0, decorator_1.DefineTrigger)(), | ||
__metadata("design:paramtypes", []) | ||
tslib_1.__metadata("design:paramtypes", []) | ||
], Trigger); | ||
exports.default = Trigger; | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./loader/types"), exports); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./loader/types"), exports); | ||
//# sourceMappingURL=types.js.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const assert_1 = __importDefault(require("assert")); | ||
const tslib_1 = require("tslib"); | ||
const assert_1 = tslib_1.__importDefault(require("assert")); | ||
/** | ||
@@ -35,3 +10,3 @@ * compatible esModule require | ||
async function compatibleRequire(path) { | ||
let requiredModule = await Promise.resolve().then(() => __importStar(require(path))); | ||
let requiredModule = await Promise.resolve().then(() => tslib_1.__importStar(require(path))); | ||
(0, assert_1.default)(requiredModule, `module '${path}' exports is undefined`); | ||
@@ -41,1 +16,2 @@ return requiredModule.default || requiredModule; | ||
exports.default = compatibleRequire; | ||
//# sourceMappingURL=compatible_require.js.map |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.exisis = void 0; | ||
const promises_1 = __importDefault(require("fs/promises")); | ||
const tslib_1 = require("tslib"); | ||
const promises_1 = tslib_1.__importDefault(require("fs/promises")); | ||
async function exisis(path) { | ||
@@ -19,1 +17,2 @@ try { | ||
; | ||
//# sourceMappingURL=fs.js.map |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isMatch = exports.getDefaultExtensions = void 0; | ||
const minimatch_1 = __importDefault(require("minimatch")); | ||
const tslib_1 = require("tslib"); | ||
const minimatch_1 = tslib_1.__importDefault(require("minimatch")); | ||
function getDefaultExtensions() { | ||
@@ -19,1 +17,2 @@ return Object.keys(require.extensions); | ||
exports.isMatch = isMatch; | ||
//# sourceMappingURL=index.js.map |
@@ -57,1 +57,2 @@ "use strict"; | ||
exports.isPlainObject = isPlainObject; | ||
//# sourceMappingURL=is.js.map |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.loadMetaFile = void 0; | ||
const js_yaml_1 = __importDefault(require("js-yaml")); | ||
const tslib_1 = require("tslib"); | ||
const js_yaml_1 = tslib_1.__importDefault(require("js-yaml")); | ||
const promises_1 = require("fs/promises"); | ||
@@ -38,1 +36,2 @@ const YamlParser = (content) => { | ||
exports.loadMetaFile = loadMetaFile; | ||
//# sourceMappingURL=load_meta_file.js.map |
{ | ||
"name": "@artus/core", | ||
"version": "1.0.0-beta.10", | ||
"version": "1.0.0-beta.11", | ||
"description": "Core package of Artus", | ||
@@ -45,2 +45,3 @@ "main": "./lib/index.js", | ||
"devDependencies": { | ||
"@artus/tsconfig": "0.0.1", | ||
"@types/jest": "^27.4.1", | ||
@@ -60,3 +61,3 @@ "@types/js-yaml": "^4.0.5", | ||
"dependencies": { | ||
"@artus/injection": "^0.2.5", | ||
"@artus/injection": "^0.3.1", | ||
"@artus/pipeline": "^0.2.2", | ||
@@ -63,0 +64,0 @@ "deepmerge": "^4.2.2", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
155289
165
13
2413
+ Added@artus/injection@0.3.1(transitive)
- Removed@artus/injection@0.2.5(transitive)
Updated@artus/injection@^0.3.1