Skip to content

RecordKey

RecordKey<R> = KeyOf<R["$key"]>

Defined in: packages/schema/src/resource-types.ts:50

The key type of a resource, from the builder resource(...) returns: RecordKey<typeof stock>.

R extends object

The resource builder, whose $key carries the fields of its key.