Skip to main content
Version: 0.17

Class: StandardRecordNormalizer

Implements​

Constructors​

constructor​

• new StandardRecordNormalizer(settings)

Parameters​

NameType
settingsStandardRecordNormalizerSettings

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​

NameType
recordUninitializedRecord

Returns​

InitializedRecord

Implementation of​

RecordNormalizer.normalizeRecord

Defined in​

packages/@orbit/records/src/standard-record-normalizer.ts:109


normalizeRecordIdentity​

â–¸ normalizeRecordIdentity(identity): RecordIdentity

Parameters​

NameType
identityRecordIdentity | RecordKeyValue

Returns​

RecordIdentity

Implementation of​

RecordNormalizer.normalizeRecordIdentity

Defined in​

packages/@orbit/records/src/standard-record-normalizer.ts:67


normalizeRecordType​

â–¸ normalizeRecordType(type): string

Parameters​

NameType
typestring

Returns​

string

Implementation of​

RecordNormalizer.normalizeRecordType

Defined in​

packages/@orbit/records/src/standard-record-normalizer.ts:51