UNPKG

692 BTypeScriptView Raw
1import { Client } from '../client';
2import { Column, ColumnArray } from './column';
3import { ViewType } from '../types';
4import { Row, RowArray } from './row';
5export declare class View {
6 private _client;
7 workspaceId: string;
8 coreId: string;
9 tableId: string;
10 id: string;
11 name: string;
12 type: ViewType;
13 columns: Map<string, Column>;
14 rows: Map<string, Row>;
15 constructor(client: Client, workspaceId: string, coreId: string, tableId: string, id: string, name: string, type: ViewType, columns?: Map<string, Column>, rows?: Map<string, Row>);
16 column(id: string): Column;
17 row(id: string): Row;
18 getColumns(): ColumnArray;
19 getRows(): RowArray;
20}