IdComputeField
IdComputeField<
Brand> =object
Defined in: src/adapters/prisma.ts:31
Typed $extends result-component field definition produced by
IdTransform.computeField — a { needs, compute } pair whose compute
return type is statically Id<Brand>, so the extended-client model field is
typed correctly without a per-call-site cast.
Type Parameters
Section titled “Type Parameters”Brand extends string
Properties
Section titled “Properties”compute
Section titled “compute”compute: (
model) =>Id<Brand>
Defined in: src/adapters/prisma.ts:33
Parameters
Section titled “Parameters”Record<string, unknown>
Returns
Section titled “Returns”Id<Brand>
needs:
Record<string,boolean>
Defined in: src/adapters/prisma.ts:32