API reference
@salmonui/data
180 exported symbols: 39 functions, 6 classes, 96 interfaces, 37 types and 2 constants. Each name links its page with the signature, docs and members. Names re-exported from 6 other entry points are listed there, linked below.
import { … } from '@salmonui/data';Functions
createAbortControllerPlatform AbortController when present (read lazily), otherwise a structural fallback.createConflictReviewcreateControlledDataSourcecreateManualSchedulerDeterministic scheduler for tests: time only moves through advance.createRangeSourceisAbortErrorresolveConflictsBuilds the follow-up write: rows where at least one cell is keepLocal are re-sent on top of the server row (other cells take the server value), with the server…setConflictChoiceReturns a new review with one cell's choice changed (columnId omitted: every cell of the row).systemSchedulerPlatform timers and Date.now, read lazily at call time (never at import).
Classes
AbortedErrorError used for aborted requests. name === 'AbortError'.
Interfaces
AbortControllerLikeAbortSignalLikeAggregateDescriptorConflictReviewConflictSnapshotControlledDataSourceOptionsDataGridStateStructural subset of the Data Grid engine's DataGridState used by the storage adapters.DataQueryDataSourceDataSourceCapabilitiesDataSourceRequestDataSourceResultExpansionDescriptorFacetPayloadFetchRequestInitFetchResponseLikeFilterDescriptorFilterGroupDescriptorGroupDescriptorGroupPathSegmentGroupedRowEnvelopeManualSchedulerPageInfoPagingDescriptorRangeSourceRangeSourceOptionsRangeSourceSnapshotRequestPolicyResolveConflictsOptionsRowPlacementSchedulerInjected timer and clock. systemScheduler() reads the globals lazily; tests use createManualScheduler().SearchDescriptorSortDescriptorTreeRowEnvelopeWriteRequestWriteResult
Types
AggregateTypeAggregateValuesCellKeyColumnIdConflictChoiceDataSourceEventDataSourceModeFetchLikeStructural fetch; the platform fetch is assignable.FilterEntryFilterOperatorBuilt-in filter operators (Data Grid engine names). Custom operator names pass through as strings.FilterSourceGroupLoadResultInvalidateScopeJsonPagingStrategyPerformedStageRangeRowIdSearchOperatorTreeLoadResult
Re-exported entry points
@salmonui/data/json88 symbols: 22 functions, 5 classes, 44 interfaces, 16 types and 1 constant@salmonui/data/local3 symbols: 1 function and 2 interfaces@salmonui/data/stream5 symbols: 1 function and 4 interfaces@salmonui/data/storage6 symbols: 3 functions, 2 interfaces and 1 type@salmonui/data/views6 symbols: 1 function, 4 interfaces and 1 constant@salmonui/data/lookup6 symbols: 2 functions and 4 interfaces