simple-boot-core
Advanced tools
Comparing version 1.0.28 to 1.0.29
@@ -25,3 +25,4 @@ "use strict"; | ||
var r = []; | ||
this.simstanceManager.getSimConfig(intent.scheme).forEach(function (data) { | ||
var target = intent.scheme ? this.simstanceManager.getSimConfig(intent.scheme) : this.simstanceManager.getSimAtomics(); | ||
target.forEach(function (data) { | ||
var _a, _b, _c, _d; | ||
@@ -28,0 +29,0 @@ var orNewSim = (_a = _this.simstanceManager) === null || _a === void 0 ? void 0 : _a.getOrNewSim(data.type); |
{ | ||
"name": "simple-boot-core", | ||
"version": "1.0.28", | ||
"version": "1.0.29", | ||
"main": "SimpleApplication.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
SIMPLE-BOOT-CORE | ||
=== | ||
It provides convenience in service development. | ||
### It provides convenience in service development. | ||
 [](https://www.npmjs.com/package/simple-boot-core) [](LICENSE.md) | ||
@@ -19,14 +19,4 @@ | ||
npm install simple-boot-core | ||
npm install ts-node --save-dev | ||
tsc --init --experimentalDecorators --emitDecoratorMetadata | ||
``` | ||
```json | ||
// package.json add scripts ts-node | ||
{ | ||
// ... | ||
"scripts": { | ||
"start": "ts-node index.ts", | ||
} | ||
} | ||
``` | ||
```typescript | ||
@@ -52,6 +42,8 @@ // index.ts | ||
```shell | ||
npm start | ||
npx ts-node index.ts | ||
# say~ hello | ||
``` | ||
# 😃 examples | ||
- [examples](./examples) | ||
@@ -82,3 +74,4 @@ ## Object management. | ||
} | ||
// result: say~ hello: 30 | ||
// 💥 call say() | ||
// say~ hello: 30 | ||
``` | ||
@@ -232,3 +225,3 @@ </details> | ||
## Router System | ||
## Route System | ||
<details> | ||
@@ -252,3 +245,3 @@ <summary>@Router<strong>🔻(click)</strong></summary> | ||
### route change call canActivate merhod | ||
### route change call canActivate meehod | ||
@@ -255,0 +248,0 @@ ```typescript |
126151
2632
350