Skip to main content

Function: verifyEstate()

verifyEstate(input?): string[]

Defined in: packages/contracts/src/permissions/verify.ts:865

Checks that the registry and the permission table agree and are well formed. This is the registry check: a subject with no schema, a schema with no permissions, or a permission with no schema is a problem, and a problem fails the build (the generator exits non-zero, and pnpm build runs it).

The order is fixed: the message contracts, the standing grants, the commands, the message rows, the streams, the principals, the audit producers, the routes, and last the audit payload schemas.

Parameters​

input?​

PermissionInput = ESTATE

Defaults to the real estate.

Returns​

string[]

Human-readable problems; empty when everything agrees.