Skip to main content

DomainTableInfo

Defined in: js-api/src/domains.ts:285

Registry metadata of one domain table (see grok.dapi.domains.registry).

Properties

PropertyTypeDescriptionDefined in
auditboolean-js-api/src/domains.ts:300
businessKeystring[]Natural-key columns; empty when the table declares none.js-api/src/domains.ts:289
childTablesDomainChildTableRef[]-js-api/src/domains.ts:309
constraintsobject[]Declared table constraints (constraints in schema.json), in declaration order.js-api/src/domains.ts:314
descriptionstring | nullWhat the table holds, as declared in schema.json; null when undeclared.js-api/src/domains.ts:308
friendlyName?stringThe 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
hierarchybooleanThe 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
nameColumnstring | nullPrimary display-name column; null when the table declares none.js-api/src/domains.ts:287
parentColumnstring | nullThe self-referencing column the tree is built on; null off a hierarchy table.js-api/src/domains.ts:306
permissionsstring[]Custom permission names the table declares (permissions in schema.json).js-api/src/domains.ts:319
pluralNamestringEffective plural display name (declared, else derived from the table name).js-api/src/domains.ts:298
refFiltersobjectPer 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
searchableColumnsstring[]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
singularNamestringEffective singular display name (declared, else derived from the table name).js-api/src/domains.ts:296