@platform/cell.typesystem
Version:
The 'strongly typed sheets' system of the CellOS.
18 lines (17 loc) • 470 B
TypeScript
import * as t from '../../common/types';
export * from '../../common/types';
export declare type SheetCtx = {
event$: t.Subject<t.TypedSheetEvent>;
dispose$: t.Observable<{}>;
fetch: t.ISheetFetcher;
cache: t.IMemoryCache;
pool: t.ISheetPool;
sheet: {
load<T>(args: {
ns: string;
}): Promise<t.ITypedSheet<T>>;
create<T>(args: {
implements: string;
}): Promise<t.ITypedSheet<T>>;
};
};