@avleon/core 0.0.10 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/collection.d.ts +1 -1
- package/dist/collection.js +1 -1
- package/dist/icore.js +1 -0
- package/package.json +1 -1
package/dist/collection.d.ts
CHANGED
|
@@ -47,6 +47,6 @@ declare class BasicCollection<T> implements ICollection<T> {
|
|
|
47
47
|
export declare class Collection {
|
|
48
48
|
private constructor();
|
|
49
49
|
static from<T>(items: T[]): BasicCollection<T>;
|
|
50
|
-
static
|
|
50
|
+
static fromRepository<T extends ObjectLiteral>(entity: EntityTarget<T>): Repository<T>;
|
|
51
51
|
}
|
|
52
52
|
export {};
|
package/dist/collection.js
CHANGED
package/dist/icore.js
CHANGED
|
@@ -489,6 +489,7 @@ class AvleonApplication {
|
|
|
489
489
|
if (this.hasSwagger) {
|
|
490
490
|
await this.initSwagger(this.globalSwaggerOptions);
|
|
491
491
|
}
|
|
492
|
+
await this.initializeDatabase();
|
|
492
493
|
await this._mapControllers();
|
|
493
494
|
this.rMap.forEach((value, key) => {
|
|
494
495
|
const [m, r] = key.split(":");
|