@platform/cell.typesystem
Version:
The 'strongly typed sheets' system of the CellOS.
25 lines (24 loc) • 746 B
TypeScript
import { t } from '../common';
export declare type IArgs = {
uri: string | t.INsUri;
typename: string;
startColumn?: string | number;
};
export declare class TypeBuilderType implements t.ITypeBuilderType {
static create: (args: IArgs) => t.ITypeBuilderType;
private constructor();
readonly uri: t.INsUri;
readonly typename: string;
readonly startColumn: number;
private _lastColumn;
private _props;
get props(): t.ITypeBuilderProp[];
toString(): string;
toObject(): {
columns: {};
};
prop(name: string, arg?: t.CellType | t.ITypeBuilderPropOptions | ((builder: t.ITypeBuilderProp) => void)): this;
private nextColumn;
private onPropChange;
private onColumnChange;
}