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>.
Type Parameters
Section titled “Type Parameters”R extends object
The resource builder, whose $key carries the fields of its key.