ItemType

type ItemType<Fields>: { [Field in keyof Fields]: TsTypeOf<Fields[Field]["type"]> };

The type of a item in the FieldsStructure, that is if the FieldsStructure represents

[{Name: "id", Type: ScalarFieldTypeEnum.STRING}]

then ItemType for that would be:

{'id': string}

Type parameters

Type parameter
Fields extends FieldsStructure