@typeheim/fire-legion
Advanced tools
Comparing version 0.0.0-beta.12 to 0.0.0-beta.13
@@ -0,4 +1,11 @@ | ||
import { FirestoreConnection } from '@typeheim/orm-on-fire'; | ||
declare class Legion { | ||
protected frameworkContext: FrameworkContext; | ||
constructor(frameworkContext: FrameworkContext); | ||
get ormOnFire(): FirestoreConnection; | ||
} | ||
interface FrameworkContext { | ||
ormOnFire: FirestoreConnection; | ||
} | ||
export declare const FireLegion: Legion; | ||
export {}; |
11
index.js
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const orm_on_fire_1 = require("@typeheim/orm-on-fire"); | ||
class Legion { | ||
constructor(frameworkContext) { | ||
this.frameworkContext = frameworkContext; | ||
} | ||
get ormOnFire() { | ||
return this.frameworkContext.ormOnFire; | ||
} | ||
} | ||
exports.FireLegion = new Legion(); | ||
exports.FireLegion = new Legion({ | ||
ormOnFire: orm_on_fire_1.OrmOnFire | ||
}); | ||
//# sourceMappingURL=index.js.map |
14
index.ts
@@ -0,5 +1,17 @@ | ||
import { FirestoreConnection, OrmOnFire } from '@typeheim/orm-on-fire' | ||
class Legion { | ||
constructor(protected frameworkContext: FrameworkContext) {} | ||
get ormOnFire() { | ||
return this.frameworkContext.ormOnFire | ||
} | ||
} | ||
export const FireLegion = new Legion() | ||
interface FrameworkContext { | ||
ormOnFire: FirestoreConnection | ||
} | ||
export const FireLegion = new Legion({ | ||
ormOnFire: OrmOnFire | ||
}) |
{ | ||
"name": "@typeheim/fire-legion", | ||
"version": "0.0.0-beta.12", | ||
"version": "0.0.0-beta.13", | ||
"description": "Fire Legion", | ||
@@ -42,6 +42,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@typeheim/fire-rx": "^0.0.0-beta.12", | ||
"@typeheim/orm-on-fire": "^0.0.0-beta.12" | ||
"@typeheim/fire-rx": "^0.0.0-beta.13", | ||
"@typeheim/orm-on-fire": "^0.0.0-beta.13" | ||
}, | ||
"gitHead": "8e5f09df43770b35c979d2b7e02b914acaa614ce" | ||
"gitHead": "6a0cce74c25a43fdbbc8246dbfaa20f373e64d95" | ||
} |
Sorry, the diff of this file is not supported yet
4777
38