UNPKG

@platform/cell.typesystem

Version:

The 'strongly typed sheets' system of the CellOS.

24 lines (23 loc) 844 B
import * as t from '@platform/cell.types'; import { IMemoryCache } from '@platform/cache/lib/types'; export { IMemoryCache }; export { Subject, Observable } from 'rxjs'; export { INodeFs } from '@platform/fs.types'; export { Json } from '@platform/types'; export * from '@platform/types'; export * from '@platform/cell.types'; export * from '../types'; export declare type IPackage = { name: string; version: string; dependencies?: { [key: string]: string; }; }; declare type FetchMethod = 'getNs' | 'getColumns' | 'getCells'; export declare type CachedFetcher = t.ISheetFetcher & { cache: IMemoryCache; cacheKey: CacheFetchKey; }; export declare type CacheFetchKey = (method: FetchMethod, ns: string, ...path: string[]) => string; export declare type CacheClientKey = (ns: string, ...path: string[]) => string;