CoordinatedDocumentOptions
Defined in: packages/core/src/coordinated-document.ts:298
Properties
Section titled “Properties”authority
Section titled “authority”
readonlyauthority:DocumentAuthority
Defined in: packages/core/src/coordinated-document.ts:300
authorizeCatchUp?
Section titled “authorizeCatchUp?”
readonlyoptionalauthorizeCatchUp?: (memberId) =>boolean|Promise<boolean>
Defined in: packages/core/src/coordinated-document.ts:324
On the controller, decide whether an authenticated member’s topic request
gets a checkpoint, which holds the whole document state and its history.
Any answer but true refuses it. Without it, every current member does.
Parameters
Section titled “Parameters”memberId
Section titled “memberId”Uint8Array
Returns
Section titled “Returns”boolean | Promise<boolean>
coordinator
Section titled “coordinator”
readonlycoordinator:GroupSecurityCoordinator
Defined in: packages/core/src/coordinated-document.ts:299
enableAuthenticatedCatchUp?
Section titled “enableAuthenticatedCatchUp?”
readonlyoptionalenableAuthenticatedCatchUp?:boolean
Defined in: packages/core/src/coordinated-document.ts:318
Allow catch-up from the current unrestricted controller: requested on the document topic, or relayed by the application.
joinPublications?
Section titled “joinPublications?”
readonlyoptionaljoinPublications?:boolean
Defined in: packages/core/src/coordinated-document.ts:304
Append each local frame to the queued tail publication while it fits.
journal?
Section titled “journal?”
readonlyoptionaljournal?:DocumentReplayJournal
Defined in: packages/core/src/coordinated-document.ts:301
onCatchUpRefused?
Section titled “onCatchUpRefused?”
readonlyoptionalonCatchUpRefused?: (refusal) =>void
Defined in: packages/core/src/coordinated-document.ts:330
Called when the controller refuses this replica’s topic request; it then
stops requesting until requestSecurityCatchUp() is called. Without it,
a warning is logged.
Parameters
Section titled “Parameters”refusal
Section titled “refusal”Returns
Section titled “Returns”void
onPublicationsDropped?
Section titled “onPublicationsDropped?”
readonlyoptionalonPublicationsDropped?: (frames) =>void
Defined in: packages/core/src/coordinated-document.ts:337
Called with the number of unsent frames dropped because they were sealed for an earlier group context or authority head and their author cannot re-sign them, or its current roles deny the re-signed frames. Without it, a warning is logged.
Parameters
Section titled “Parameters”frames
Section titled “frames”number
Returns
Section titled “Returns”void
persistPublications?
Section titled “persistPublications?”
readonlyoptionalpersistPublications?:boolean
Defined in: packages/core/src/coordinated-document.ts:302
requireGroupRosterMatch?
Section titled “requireGroupRosterMatch?”
readonlyoptionalrequireGroupRosterMatch?:boolean
Defined in: packages/core/src/coordinated-document.ts:313
Require the signed roles to enumerate the provider’s exact decrypting
roster. Defaults to true when authority is a DocumentAuthorityLog and
the coordinator’s provider implements getAuthenticatedMemberIds, the
configuration strict matching needs, and to false otherwise. Pass false
to opt out. With true, another authority throws here and a provider that
cannot report its members fails activation.