# Functions
AddComment adds a comment to the given metadata message.
AllowedCaveat creates a caveat reference.
AllowedPublicNamespace creates a relation reference to an allowed public namespace.
AllowedPublicNamespaceWithCaveat creates a relation reference to an allowed public namespace.
AllowedRelation creates a relation reference to an allowed relation.
AllowedRelationWithCaveat creates a relation reference to an allowed relation.
AllowedRelationWithCaveatAndExpiration creates a relation reference to an allowed relation.
AllowedRelationWithExpiration creates a relation reference to an allowed relation.
CaveatDefinition returns a new caveat definition.
CompiledCaveatDefinition returns a new caveat definition.
ComputesUserset creates a child for a set operation that follows a relation on the given starting object.
Exclusion creates a rewrite definition that starts with the usersets of the first child and iteratively removes usersets that appear in the remaining children.
FilterUserDefinedMetadataInPlace removes user-defined metadata (e.g.
GetComments returns the comment metadata found within the given metadata message.
GetRelationKind returns the kind of the relation.
Intersection creates a rewrite definition that returns/considers only usersets present in all children.
MustCaveatDefinition returns a new caveat definition.
MustCaveatDefinitionWithComment returns a new caveat definition.
MustComputesUsersetWithSourcePosition creates a child for a set operation that follows a relation on the given starting object.
MustFunctionedTupleToUserset creates a child which first loads all tuples with the specific relation, and then applies the function to all children on the usersets found by following a relation on those loaded tuples.
MustRelation creates a relation definition with an optional rewrite definition.
MustRelationWithComment creates a relation definition with an optional rewrite definition.
Namespace creates a namespace definition with one or more defined relations.
Nil creates a child for a set operation that references the empty set.
Relation creates a relation definition with an optional rewrite definition.
RelationReference creates a relation reference.
Rewrite wraps a rewrite as a set operation child of another rewrite.
SetRelationKind sets the kind of relation.
TupleToUserset creates a child which first loads all tuples with the specific relation, and then unions all children on the usersets found by following a relation on those loaded tuples.
Union creates a rewrite definition that combines/considers usersets in all children.
WithComment creates a namespace definition with one or more defined relations.
WithExpiration adds the expiration trait to the allowed relation.
# Variables
PassthroughMapper is a mapper implementation which passes through the original namespace names unmodified.
# Interfaces
Mapper provides an interface for creating synthetic namespace names from user provided namespace names.
WithSourcePosition defines an interface for proto messages in core with SourcePosition information attached.