Comparing version 1.11.1 to 1.11.2
@@ -14,4 +14,8 @@ import * as mq from 'mq' | ||
type FibPoolFn<T> = (cb: (o: T) => any) => T | ||
interface FibAppOrmDefineFn { | ||
(db: FibAppDb): FibAppORMModel | ||
} | ||
interface AppDBPool<T> extends FibPoolFn<T> { | ||
use(def: OrigORMDefProperties): OrigORMDefProperties[]; | ||
use(defs: FibAppOrmDefineFn|FibAppOrmDefineFn[]): OrigORMDefProperties[]; | ||
} | ||
@@ -18,0 +22,0 @@ |
{ | ||
"name": "fib-app", | ||
"version": "1.11.1", | ||
"version": "1.11.2", | ||
"description": "", | ||
@@ -25,3 +25,3 @@ "main": "lib/app", | ||
"fib-orm": "^1.4.2", | ||
"fib-push": "^1.0.0", | ||
"fib-push": "^1.3.0", | ||
"fib-session": "^0.1.1", | ||
@@ -37,5 +37,6 @@ "fib-typify": "^0.1.2", | ||
"0.23.0", | ||
"0.24.0" | ||
"0.24.0", | ||
"0.25.0" | ||
] | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import { FibAppClass, FibAppDbSetupOptsl, FibAppDb, AppDBPool } from '../@types/app'; | ||
import { FibAppDbSetupOptsl, FibAppDb, AppDBPool, FibAppOrmDefineFn } from '../@types/app'; | ||
import { FibAppORMModel, FibAppOrmModelDefOptions, OrigORMDefProperties } from '../@types/orm-patch'; | ||
@@ -163,5 +163,5 @@ import * as orm from 'fib-orm'; | ||
db.use = (def: OrigORMDefProperties) => defs = defs.concat(def); | ||
db.use = (def: FibAppOrmDefineFn|FibAppOrmDefineFn[]) => defs = defs.concat(def); | ||
return db; | ||
}; |
Sorry, the diff of this file is not supported yet
125274
3022