/** @module @airtable/blocks/models: Base */ /** */ import { ObjectMap } from '../private_utils'; import { AppInterface } from './airtable_interface'; import { PermissionLevel } from './permission_levels'; import { TableData, TablePermissionData, TableId } from './table'; import { CursorData } from './cursor'; import { CollaboratorData, UserId } from './collaborator'; /** */ export declare type BaseId = string; /** @hidden */ export interface ModelChange { path: Array; value: unknown; } /** @hidden */ export interface BaseData { id: BaseId; name: string; color: string; tableOrder: Array; activeTableId: TableId | null; tablesById: ObjectMap; appInterface: AppInterface; collaboratorsById: ObjectMap; activeCollaboratorIds: Array; currentUserId: UserId | null; permissionLevel: PermissionLevel; enabledFeatureNames: Array; cursorData: CursorData | null; billingPlanGrouping: string; isBlockDevelopmentRestrictionEnabled: boolean; maxRowsPerTable?: number; } /** @hidden */ export interface BasePermissionData { readonly permissionLevel: PermissionLevel; readonly tablesById: ObjectMap; }