Comparing version
@@ -8,6 +8,7 @@ import type { Db } from "mongodb"; | ||
}; | ||
export type ClientTmApi<T> = Exclude<AgTmObject<T>, 'bind' | 'unbind' | 'loadLatest'>; | ||
export type TimeMachine<T> = { | ||
[Key in keyof T]: T[Key] extends MapSource<infer v> ? Readonly<{ | ||
[key in string]: AgTmObject<v>; | ||
}> : T[Key] extends Func<any, infer v> ? AgTmObject<v> : never; | ||
[key in string]: ClientTmApi<v>; | ||
}> : T[Key] extends Func<any, infer v> ? ClientTmApi<v> : never; | ||
}; | ||
@@ -14,0 +15,0 @@ export type TmBuilder<T> = { |
{ | ||
"name": "ag-repo", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "", |
85057
0.1%1829
0.05%