Skip to content

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.

Brand extends string

compute: (model) => Id<Brand>

Defined in: src/adapters/prisma.ts:33

Record<string, unknown>

Id<Brand>


needs: Record<string, boolean>

Defined in: src/adapters/prisma.ts:32