type
TypedCollection
An unbound typed collection descriptor.
Properties
| Property | Type | Description |
|---|---|---|
Slug() | string | Authored collection slug. |
With(local) | BoundTypedCollection[Document, | Bind the descriptor to one application LocalAPI. |
Full signature
type TypedCollection[Document, Create, Update, Draft any] struct {
// contains filtered or unexported fields
}Methods
TypedCollection.Slug()Slug returns the collection's public API address.
TypedCollection.With()With binds a generated collection definition to a running application.