Skip to content

ACLActorBinding

Defined in: packages/core/src/acl.ts:69

Hooks an ACL implements so documents can bind its actors to signers.

ChangesType

actorFromDigest(digest): string

Defined in: packages/core/src/acl.ts:71

Native actor identifier selected by a 32-byte derivation digest.

Uint8Array

string


attach(changes, prefix): ChangesType

Defined in: packages/core/src/acl.ts:84

changes carrying prefix, an authored-change envelope.

ChangesType

Uint8Array

ChangesType


changeActors(changes): ReadonlySet<string>

Defined in: packages/core/src/acl.ts:82

Actors changes adds operations for, decoded without merging them. Operations every replica authors identically are left out.

ChangesType

ReadonlySet<string>


detach(changes): readonly [Uint8Array<ArrayBufferLike>, ChangesType]

Defined in: packages/core/src/acl.ts:86

The prefix and bare changes. Throws when changes carries no prefix.

ChangesType

readonly [Uint8Array<ArrayBufferLike>, ChangesType]


setLocalActor(actor): void

Defined in: packages/core/src/acl.ts:77

Make every later local change under actor. Once an actor is bound, a staged change that would reuse one of its positions throws ACLActorUnavailableError instead of choosing another actor.

string

void