Skip to main content
Version: 0.17

Interface: RecordTransformBuffer

Hierarchy​

Implemented by​

Properties​

keyMap​

• Optional keyMap: RecordKeyMap

Inherited from​

SyncRecordAccessor.keyMap

Defined in​

record-cache/src/record-accessor.ts:21


name​

• Optional name: string

Inherited from​

SyncRecordAccessor.name

Defined in​

record-cache/src/record-accessor.ts:20


schema​

• schema: RecordSchema

Inherited from​

SyncRecordAccessor.schema

Defined in​

record-cache/src/record-accessor.ts:22

Methods​

addInverseRelationshipsSync​

â–¸ addInverseRelationshipsSync(relationships): void

Parameters​

NameType
relationshipsRecordRelationshipIdentity[]

Returns​

void

Inherited from​

SyncRecordAccessor.addInverseRelationshipsSync

Defined in​

record-cache/src/record-accessor.ts:57


applyRecordChangesetSync​

â–¸ applyRecordChangesetSync(changeset): void

Parameters​

NameType
changesetRecordChangeset

Returns​

void

Inherited from​

SyncRecordAccessor.applyRecordChangesetSync

Defined in​

record-cache/src/record-accessor.ts:63


getInverseRelationshipsSync​

â–¸ getInverseRelationshipsSync(recordIdentityOrIdentities): RecordRelationshipIdentity[]

Parameters​

NameType
recordIdentityOrIdentitiesRecordIdentity | RecordIdentity[]

Returns​

RecordRelationshipIdentity[]

Inherited from​

SyncRecordAccessor.getInverseRelationshipsSync

Defined in​

record-cache/src/record-accessor.ts:46


getRecordSync​

â–¸ getRecordSync(recordIdentity): undefined | InitializedRecord

Parameters​

NameType
recordIdentityRecordIdentity

Returns​

undefined | InitializedRecord

Inherited from​

SyncRecordAccessor.getRecordSync

Defined in​

record-cache/src/record-accessor.ts:34


getRecordsSync​

â–¸ getRecordsSync(typeOrIdentities?): InitializedRecord[]

Parameters​

NameType
typeOrIdentities?string | RecordIdentity[]

Returns​

InitializedRecord[]

Inherited from​

SyncRecordAccessor.getRecordsSync

Defined in​

record-cache/src/record-accessor.ts:35


getRelatedRecordSync​

â–¸ getRelatedRecordSync(identity, relationship): undefined | null | RecordIdentity

Parameters​

NameType
identityRecordIdentity
relationshipstring

Returns​

undefined | null | RecordIdentity

Inherited from​

SyncRecordAccessor.getRelatedRecordSync

Defined in​

record-cache/src/record-accessor.ts:38


getRelatedRecordsSync​

â–¸ getRelatedRecordsSync(identity, relationship): undefined | RecordIdentity[]

Parameters​

NameType
identityRecordIdentity
relationshipstring

Returns​

undefined | RecordIdentity[]

Inherited from​

SyncRecordAccessor.getRelatedRecordsSync

Defined in​

record-cache/src/record-accessor.ts:42


removeInverseRelationshipsSync​

â–¸ removeInverseRelationshipsSync(relationships): void

Parameters​

NameType
relationshipsRecordRelationshipIdentity[]

Returns​

void

Inherited from​

SyncRecordAccessor.removeInverseRelationshipsSync

Defined in​

record-cache/src/record-accessor.ts:60


removeRecordSync​

â–¸ removeRecordSync(recordIdentity): undefined | InitializedRecord

Parameters​

NameType
recordIdentityRecordIdentity

Returns​

undefined | InitializedRecord

Inherited from​

SyncRecordAccessor.removeRecordSync

Defined in​

record-cache/src/record-accessor.ts:53


removeRecordsSync​

â–¸ removeRecordsSync(recordIdentities): InitializedRecord[]

Parameters​

NameType
recordIdentitiesRecordIdentity[]

Returns​

InitializedRecord[]

Inherited from​

SyncRecordAccessor.removeRecordsSync

Defined in​

record-cache/src/record-accessor.ts:56


resetState​

â–¸ resetState(): void

Returns​

void

Defined in​

record-cache/src/record-transform-buffer.ts:8


setRecordSync​

â–¸ setRecordSync(record): void

Parameters​

NameType
recordInitializedRecord

Returns​

void

Inherited from​

SyncRecordAccessor.setRecordSync

Defined in​

record-cache/src/record-accessor.ts:51


setRecordsSync​

â–¸ setRecordsSync(records): void

Parameters​

NameType
recordsInitializedRecord[]

Returns​

void

Inherited from​

SyncRecordAccessor.setRecordsSync

Defined in​

record-cache/src/record-accessor.ts:52


startTrackingChanges​

â–¸ startTrackingChanges(): void

Returns​

void

Defined in​

record-cache/src/record-transform-buffer.ts:9


stopTrackingChanges​

â–¸ stopTrackingChanges(): RecordChangeset

Returns​

RecordChangeset

Defined in​

record-cache/src/record-transform-buffer.ts:10


update​

â–¸ update<RequestData>(transformOrOperations, options?, id?): RequestData

Type parameters​

NameType
RequestDataextends RecordTransformResult<InitializedRecord> = RecordTransformResult<InitializedRecord>

Parameters​

NameType
transformOrOperationsTransformOrOperations<RecordOperation, RecordTransformBuilder<string, RecordIdentity, UninitializedRecord>>
options?DefaultRequestOptions<RequestOptions>
id?string

Returns​

RequestData

Inherited from​

SyncRecordUpdatable.update

Defined in​

data/dist/modules/updatable.d.ts:10

â–¸ update<RequestData, RequestDetails, RequestOperation>(transformOrOperations, options, id?): FullResponse<RequestData, RequestDetails, RequestOperation>

Type parameters​

NameType
RequestDataextends RecordTransformResult<InitializedRecord> = RecordTransformResult<InitializedRecord>
RequestDetailsextends RecordCacheUpdateDetails = RecordCacheUpdateDetails
RequestOperationextends RecordOperation = RecordOperation

Parameters​

NameType
transformOrOperationsTransformOrOperations<RecordOperation, RecordTransformBuilder<string, RecordIdentity, UninitializedRecord>>
optionsFullRequestOptions<RequestOptions>
id?string

Returns​

FullResponse<RequestData, RequestDetails, RequestOperation>

Inherited from​

SyncRecordUpdatable.update

Defined in​

data/dist/modules/updatable.d.ts:11