Skip to main content

CitationEmitterDeps

@forge/monorepo


@forge/monorepo / backend/src / CitationEmitterDeps

Type Alias: CitationEmitterDeps

CitationEmitterDeps = object

Defined in: backend/src/citations/index.ts:125

Properties

authorization

readonly authorization: AuthorizationPolicy

Defined in: backend/src/citations/index.ts:133

AC-5, enforced rather than asserted.

Required. An emitter that would run without a policy is one someone constructs without one, at which point every citation is emitted regardless of access — and a citation carries an excerpt, so that leaks the text and not merely the existence of the source.


clock?

readonly optional clock?: () => string

Defined in: backend/src/citations/index.ts:134

Returns

string


partId?

readonly optional partId?: () => string

Defined in: backend/src/citations/index.ts:135

Returns

string