@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.
@@ -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 fromRepositry<T extends ObjectLiteral>(entity: EntityTarget<T>): Repository<T>;
50
+ static fromRepository<T extends ObjectLiteral>(entity: EntityTarget<T>): Repository<T>;
51
51
  }
52
52
  export {};
@@ -282,7 +282,7 @@ class Collection {
282
282
  static from(items) {
283
283
  return BasicCollection.from(items);
284
284
  }
285
- static fromRepositry(entity) {
285
+ static fromRepository(entity) {
286
286
  return AsynchronousCollection.fromRepository(entity);
287
287
  }
288
288
  }
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(":");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avleon/core",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "main": "./dist/index.js",
5
5
  "types": [
6
6
  "./dist/index.d.ts",