UNPKG

trclib

Version:

Client and utility wrappers for TRC rest APIs

21 lines (20 loc) 801 B
import * as trc from './trc2'; import * as gps from './gps'; export declare class SheetEx { private _sheet; private _info; private _data; private _gps; private _prevVer; private _otherUserCallback; static InitAsync(sheet: trc.Sheet, gps: gps.IGpsTracker, callback: (result: SheetEx) => void): void; getInfo(): trc.ISheetInfoResult; getColumns(): trc.IColumnInfo[]; getName(): string; getContents(): trc.ISheetContents; private getGeo(); postUpdateSingleCell(recId: string, columnName: string, newValue: string, successFunc: () => void): void; private postUpdate(values, successFunc); private postHelper(i, newVer, successFunc); setOtherCallback(callback: (ver: number, contents: trc.ISheetContents) => void): void; }