@platform/cell.typesystem
Version:
The 'strongly typed sheets' system of the CellOS.
24 lines (23 loc) • 684 B
TypeScript
import { t } from '../common';
export declare class TypeCacheCells {
static create: (ns: string) => TypeCacheCells;
private constructor();
readonly ns: string;
total: t.FetchSheetCellsResult['total'];
cells: t.ICellMap;
error?: t.IHttpError;
private rowQueries;
query(query: string): {
toString: () => string;
readonly exists: boolean;
get: (fetch: t.ISheetFetcher, options?: {
force?: boolean;
}) => Promise<t.FetchSheetCellsResult>;
};
sync(changes: t.ITypedSheetChanges): this;
private toRange;
private toFullRow;
private filterCells;
private toResult;
private refreshTotal;
}