Class: StandardRecordNormalizer
Implements​
Constructors​
constructor​
• new StandardRecordNormalizer(settings
)
Parameters​
Name | Type |
---|---|
settings | StandardRecordNormalizerSettings |
Defined in​
packages/@orbit/records/src/standard-record-normalizer.ts:37
Properties​
cloneInputs​
• Optional
cloneInputs: boolean
Defined in​
packages/@orbit/records/src/standard-record-normalizer.ts:34
keyMap​
• Optional
keyMap: RecordKeyMap
Defined in​
packages/@orbit/records/src/standard-record-normalizer.ts:33
schema​
• schema: RecordSchema
Defined in​
packages/@orbit/records/src/standard-record-normalizer.ts:32
validateInputs​
• Optional
validateInputs: boolean
Defined in​
packages/@orbit/records/src/standard-record-normalizer.ts:35
Methods​
normalizeRecord​
â–¸ normalizeRecord(record
): InitializedRecord
Parameters​
Name | Type |
---|---|
record | UninitializedRecord |
Returns​
Implementation of​
RecordNormalizer.normalizeRecord
Defined in​
packages/@orbit/records/src/standard-record-normalizer.ts:109
normalizeRecordIdentity​
â–¸ normalizeRecordIdentity(identity
): RecordIdentity
Parameters​
Name | Type |
---|---|
identity | RecordIdentity | RecordKeyValue |
Returns​
Implementation of​
RecordNormalizer.normalizeRecordIdentity
Defined in​
packages/@orbit/records/src/standard-record-normalizer.ts:67
normalizeRecordType​
â–¸ normalizeRecordType(type
): string
Parameters​
Name | Type |
---|---|
type | string |
Returns​
string
Implementation of​
RecordNormalizer.normalizeRecordType
Defined in​
packages/@orbit/records/src/standard-record-normalizer.ts:51