type
TypedCollection
type TypedCollection[Document, Create, Update any] struct {
slug string
}An unbound typed collection descriptor.
Slug()string- Authored collection slug.
With(local)BoundTypedCollection[Document, Create, Update]- Bind the descriptor to one application LocalAPI.
Methods
TypedCollection.Slug()Slug returns the collection's public API address.
TypedCollection.With()With binds a generated collection definition to a running application.