انتقل إلى المحتوى الرئيسي

Interface: PermissionInput

Defined in: packages/contracts/src/permissions/estate.ts:31

Everything the generator reads. Defaults to the real estate; tests pass others.

Properties​

auditActions​

readonly auditActions: AuditActionRegistry

Defined in: packages/contracts/src/permissions/estate.ts:64

The per-action audit payload schemas.


commands?​

readonly optional commands?: Readonly<Record<string, AgentCommand>>

Defined in: packages/contracts/src/permissions/estate.ts:43

Registered commands to an agent, by registry key. Defaults to none, for the same reason as standing.


commandSigners?​

readonly optional commandSigners?: Readonly<Record<string, string>>

Defined in: packages/contracts/src/permissions/estate.ts:49

The principals that hold a command-signing key, each with its kid prefix. A command's sender must be hosted by one of them, or the agent could never accept what the broker lets through. Defaults to COMMAND_ENVELOPE_SIGNERS.


contracts​

readonly contracts: Readonly<Record<string, Contract>>

Defined in: packages/contracts/src/permissions/estate.ts:33

Registered contracts, by registry key.


hosts​

readonly hosts: Readonly<Record<string, string>>

Defined in: packages/contracts/src/permissions/estate.ts:62

The deployable hosting each participant (a module, gateway or bootstrap).


permissions​

readonly permissions: Readonly<Record<string, PermissionRule>>

Defined in: packages/contracts/src/permissions/estate.ts:51

The permission table, by registry key.


principals​

readonly principals: readonly string[]

Defined in: packages/contracts/src/permissions/estate.ts:60

Known broker principals.


routes?​

readonly optional routes?: Readonly<Record<string, RouteDefinition>>

Defined in: packages/contracts/src/permissions/estate.ts:66

The gateway's routes, checked against the registry. Defaults to none.


standing?​

readonly optional standing?: Readonly<Record<string, StandingGrant>>

Defined in: packages/contracts/src/permissions/estate.ts:38

Registered standing grants, by registry key. Defaults to none, so an input written before they existed means what it meant.


streamDeclarer?​

readonly optional streamDeclarer?: string

Defined in: packages/contracts/src/permissions/estate.ts:58

The participant whose host declares the streams at setup time. Defaults to STREAM_DECLARER.


streams​

readonly streams: Readonly<Record<string, StreamRule>>

Defined in: packages/contracts/src/permissions/estate.ts:53

JetStream streams.