DomainTableInfo
Defined in: js-api/src/domains.ts:285
Registry metadata of one domain table (see grok.dapi.domains.registry).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
audit | boolean | - | js-api/src/domains.ts:300 |
businessKey | string[] | Natural-key columns; empty when the table declares none. | js-api/src/domains.ts:289 |
childTables | DomainChildTableRef[] | - | js-api/src/domains.ts:309 |
constraints | object[] | Declared table constraints (constraints in schema.json), in declaration order. | js-api/src/domains.ts:314 |
description | string | null | What the table holds, as declared in schema.json; null when undeclared. | js-api/src/domains.ts:308 |
friendlyName? | string | The DECLARED friendlyName (friendlyName in schema.json); undefined when the table declares none — unlike singularName/pluralName, nothing is derived here, so the caller can tell a chosen label apart from the capitalized table name. | js-api/src/domains.ts:294 |
hierarchy | boolean | The table declares a tree (hierarchy in schema.json): exactly one ref column targets the table itself, and DomainTableClient.pathTo / the under filter term walk it. | js-api/src/domains.ts:304 |
nameColumn | string | null | Primary display-name column; null when the table declares none. | js-api/src/domains.ts:287 |
parentColumn | string | null | The self-referencing column the tree is built on; null off a hierarchy table. | js-api/src/domains.ts:306 |
permissions | string[] | Custom permission names the table declares (permissions in schema.json). | js-api/src/domains.ts:319 |
pluralName | string | Effective plural display name (declared, else derived from the table name). | js-api/src/domains.ts:298 |
refFilters | object | Per ref column, the declared filter its candidates are narrowed by (a smart-filter string; $<column> binds a sibling value of the row being edited). | js-api/src/domains.ts:317 |
searchableColumns | string[] | The columns DomainQuerySpec.search matches: those declared searchable: true, else the name column, else none. | js-api/src/domains.ts:312 |
securityMode | "table" | "row" | "master" | - | js-api/src/domains.ts:299 |
singularName | string | Effective singular display name (declared, else derived from the table name). | js-api/src/domains.ts:296 |