@idpass/data-collect-core / SyncResult
Interface: SyncResult
Defined in: interfaces/adapter.ts:31
Result of a sync operation, containing counts and any errors encountered.
Properties
success
success:
boolean
Defined in: interfaces/adapter.ts:33
Whether the overall operation succeeded (may still have individual errors)
pushed
pushed:
number
Defined in: interfaces/adapter.ts:35
Number of entities successfully pushed to the external system
pulled
pulled:
number
Defined in: interfaces/adapter.ts:37
Number of entities successfully pulled from the external system
failed
failed:
number
Defined in: interfaces/adapter.ts:39
Number of entity operations that failed
skipped
skipped:
number
Defined in: interfaces/adapter.ts:41
Number of entity operations that were skipped (e.g., already up to date)
errors
errors:
SyncError[]
Defined in: interfaces/adapter.ts:43
Detailed error information for failed operations
duration
duration:
number
Defined in: interfaces/adapter.ts:45
Duration of the sync operation in milliseconds