trc-sheet
Version:
trc sheet support
21 lines (20 loc) • 822 B
TypeScript
import * as trcSheet from './sheet';
import { ISheetContents } from './sheetContents';
import * as common from 'trc-httpshim/common';
export declare class SheetEx {
private _sheet;
private _info;
private _data;
private _prevVer;
private _gps;
private _otherUserCallback;
static InitAsync(sheet: trcSheet.SheetClient, gps: common.IGeoPointProvider): Promise<SheetEx>;
getInfo(): trcSheet.ISheetInfoResult;
getColumns(): trcSheet.IColumnInfo[];
getName(): string;
getContents(): ISheetContents;
postUpdateSingleCellAsync(recId: string, columnName: string, newValue: string): Promise<void>;
private postUpdateAsync(values);
private postHelperAsync(i, newVer);
setOtherCallback(callback: (ver: number, contents: ISheetContents) => void): void;
}