type
AuthCollectionInput
Selects the auth collection for one call. It is optional only when the client was created with auth.collection, which becomes Default; otherwise every call names its collection.
Full signature
type AuthCollectionInput<Default extends string, Slug extends string> = [Default] extends [
never,
]
? { collection: Slug }
: { collection?: Slug }