ICATaskManagerBaseConfig
@spartanfx/react / codeapps / ICATaskManagerBaseConfig
Interface: ICATaskManagerBaseConfig<TId>
Base config shared by CodeApps TaskManager adapters.
Extends
Type Parameters
TId
TId = string
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
autoRefresh? | boolean | Enable auto-refresh after mutations (default: true). | ICAAdapterBaseConfig.autoRefresh |
buckets? | string[] | Static list of status buckets. Provide this when the data source has no introspection capability (Dataverse choice metadata is not available at runtime via generated services). | - |
cacheDuration? | number | Cache TTL for read results in ms (default: 60_000). | ICAAdapterBaseConfig.cacheDuration |
debug? | boolean | Enable verbose console logging (default: false). | ICAAdapterBaseConfig.debug |
fieldMapping | ITaskFieldMapping | Field mapping from internal task fields to data source column names. | - |
odataFilter? | string | OData $filter expression applied to getAll. Empty string or undefined means no filter. | - |
onError? | (error) => void | Error callback. Called for every operational failure. | ICAAdapterBaseConfig.onError |
onGetUserSuggestions? | (searchText) => Promise<IUserSuggestion[]> | Optional advanced people-picker override. Managed adapters provide a backend-native default when the generated service exposes enough user lookup information. | - |
onNotify? | CANotifyFn | Notification callback. If omitted, hook errors surface via error state only. | ICAAdapterBaseConfig.onNotify |
orderColumn? | string | Order column name to sort by. Optional — when omitted, no $orderby is sent (the connector returns server-default order). | - |
retryPolicy? | ICARetryPolicy | Retry policy for transient failures. | ICAAdapterBaseConfig.retryPolicy |
rowLimit? | number | Maximum records per fetch (default: 5000). | - |
service | ICATabularService<CATaskRecord, TId> | Generated tabular service from pac code add-data-source. | - |