type

ComputedContext

Trusted document, actor, locale, operation, and LocalAPI inputs for a virtual resolver.

Source ridu.go:76

Contextcontext.Context
Carries request cancellation and deadlines.
OperationOperation
The current create, read, update, or delete operation.
CollectionIDschema.StableID
The containing collection identity when applicable.
GlobalIDschema.StableID
The containing global identity when applicable.
Actor*store.Document
The authenticated actor, or nil for an anonymous request.
ActorCollectionschema.CollectionSlug
Identifies the exact auth collection owning Actor.
Documentstore.Document
The result document whose virtual value is being resolved.
Local*LocalAPI
Enters ordinary access-controlled content operations.
Localeschema.LocaleCode
The selected content locale.
AllLocalesbool
Reports that locale-keyed values were requested.