Skip to Content
APIInterfacesInterface: ArraySyncResult<TItem>

Hero Hook Form API v2.15.0


Hero Hook Form API / ArraySyncResult

Interface: ArraySyncResult<TItem>

Defined in: utils/arraySync.ts:20 

Result of array sync operation

Type Parameters

TItem

TItem

The item type in the arrays

Properties

toDelete

toDelete: TItem[]

Defined in: utils/arraySync.ts:22 

Items that should be deleted (exist in existing but not in current)


toUpdate

toUpdate: object[]

Defined in: utils/arraySync.ts:24 

Items that should be updated (exist in both, may have changed)

existing

existing: TItem

current

current: TItem


toCreate

toCreate: TItem[]

Defined in: utils/arraySync.ts:26 

Items that should be created (exist in current but not in existing)