minca
ApiCoreType aliases

Type Alias: CollectionRef

type CollectionRef = 
  | string
  | {
  name: string;
};

Defined in: packages/core/src/query/types.ts:51

A collection, by name or by a reference that also carries its records' type: a definition whose schema is a validator (a Zod object), a standard one from @minca/core/schemas, or a Typed name. Before a query runs, every reference becomes its name — the query stays plain data.