@angular-architects/ngrx-toolkit 20.5.0 → 21.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@angular-architects/ngrx-toolkit",
3
- "version": "20.5.0",
3
+ "version": "21.0.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "GitHub",
7
7
  "url": "https://github.com/angular-architects/ngrx-toolkit"
8
8
  },
9
9
  "peerDependencies": {
10
- "@angular/core": "^20.0.0",
11
- "@angular/common": "^20.0.0",
12
- "@ngrx/signals": "^20.0.0",
13
- "@ngrx/store": "^20.0.0",
10
+ "@angular/core": "^21.0.0",
11
+ "@angular/common": "^21.0.0",
12
+ "@ngrx/signals": "^21.0.0",
13
+ "@ngrx/store": "^21.0.0",
14
14
  "rxjs": "^7.0.0"
15
15
  },
16
16
  "peerDependenciesMeta": {
@@ -23,17 +23,17 @@
23
23
  },
24
24
  "sideEffects": false,
25
25
  "module": "fesm2022/angular-architects-ngrx-toolkit.mjs",
26
- "typings": "index.d.ts",
26
+ "typings": "types/angular-architects-ngrx-toolkit.d.ts",
27
27
  "exports": {
28
28
  "./package.json": {
29
29
  "default": "./package.json"
30
30
  },
31
31
  ".": {
32
- "types": "./index.d.ts",
32
+ "types": "./types/angular-architects-ngrx-toolkit.d.ts",
33
33
  "default": "./fesm2022/angular-architects-ngrx-toolkit.mjs"
34
34
  },
35
35
  "./redux-connector": {
36
- "types": "./redux-connector/index.d.ts",
36
+ "types": "./types/angular-architects-ngrx-toolkit-redux-connector.d.ts",
37
37
  "default": "./fesm2022/angular-architects-ngrx-toolkit-redux-connector.mjs"
38
38
  }
39
39
  }
@@ -1,7 +1,6 @@
1
- import { ActionCreator, ActionType, Prettify, Action } from '@ngrx/store/src/models';
1
+ import { ActionCreator, ActionType, Action } from '@ngrx/store';
2
2
  import { Type, EnvironmentProviders, Signal, Injector } from '@angular/core';
3
- import { DeepSignal } from '@ngrx/signals/src/deep-signal';
4
- import { StateSignals, SignalStoreFeatureResult } from '@ngrx/signals/src/signal-store-models';
3
+ import { StateSignals, SignalStoreFeatureResult, Prettify, DeepSignal } from '@ngrx/signals';
5
4
  import { Observable, Unsubscribable } from 'rxjs';
6
5
 
7
6
  type IncludePropType<T, V, WithNevers = {
@@ -1,6 +1,7 @@
1
1
  import * as _ngrx_signals from '@ngrx/signals';
2
2
  import { StateSource, patchState as patchState$1, WritableStateSource, PartialStateUpdater, SignalStoreFeature, EmptyFeatureResult, SignalStoreFeatureResult, StateSignals } from '@ngrx/signals';
3
3
  import { ValueProvider, Signal, ProviderToken, WritableSignal, Injector, ResourceStatus, Resource, ResourceRef } from '@angular/core';
4
+ import { EventCreator } from '@ngrx/signals/events';
4
5
  import { Observable, ObservableInput, OperatorFunction, ObservedValueOf } from 'rxjs';
5
6
  import { EntityId, NamedEntityState, EntityState as EntityState$1, EntityProps, NamedEntityProps } from '@ngrx/signals/entities';
6
7
  import { HttpHeaders, HttpContext, HttpParams, HttpProgressEvent } from '@angular/common/http';
@@ -42,6 +43,7 @@ type TrackerStores = Record<string, StateSource<object>>;
42
43
  declare const DEVTOOLS_FEATURE: unique symbol;
43
44
  type Mapper = (state: object) => object;
44
45
  type DevtoolsOptions = {
46
+ name?: string;
45
47
  indexNames?: boolean;
46
48
  map?: Mapper;
47
49
  tracker?: new () => Tracker;
@@ -172,6 +174,7 @@ declare global {
172
174
  __REDUX_DEVTOOLS_EXTENSION__: ReduxDevtoolsExtension | undefined;
173
175
  }
174
176
  }
177
+ declare const DEVTOOL_FEATURE_NAMES: unique symbol;
175
178
  /**
176
179
  * Adds this store as a feature state to the Redux DevTools.
177
180
  *
@@ -185,13 +188,28 @@ declare global {
185
188
  * @param name name of the store as it should appear in the DevTools
186
189
  * @param features features to extend or modify the behavior of the Devtools
187
190
  */
188
- declare function withDevtools(name: string, ...features: DevtoolsFeature[]): SignalStoreFeature<EmptyFeatureResult, EmptyFeatureResult>;
191
+ declare function withDevtools(name: string, ...features: DevtoolsFeature[]): SignalStoreFeature<EmptyFeatureResult, EmptyFeatureResult & {
192
+ props: {
193
+ [DEVTOOL_FEATURE_NAMES]: string[];
194
+ };
195
+ }>;
189
196
 
190
197
  /**
191
198
  * Stub for DevTools integration. Can be used to disable DevTools in production.
192
199
  */
193
200
  declare const withDevToolsStub: typeof withDevtools;
194
201
 
202
+ declare function withTrackedReducer<State extends object>(...caseReducers: CaseReducerResult<State, any>[]): SignalStoreFeature<EmptyFeatureResult & {
203
+ state: State;
204
+ }, EmptyFeatureResult>;
205
+ type CaseReducerResult<State extends object, EventCreators extends any[]> = {
206
+ reducer: CaseReducer<State, EventCreators>;
207
+ events: EventCreators;
208
+ };
209
+ type CaseReducer<State extends object, EventCreators extends EventCreator<string, any>[]> = (event: {
210
+ [K in keyof EventCreators]: ReturnType<EventCreators[K]>;
211
+ }[number], state: State) => Partial<State> | PartialStateUpdater<State> | Array<Partial<State> | PartialStateUpdater<State>>;
212
+
195
213
  /** Actions **/
196
214
  type Payload = Record<string, unknown>;
197
215
  type ActionFn<Type extends string = string, ActionPayload extends Payload = Payload> = ((payload: ActionPayload) => ActionPayload & {
@@ -337,6 +355,41 @@ declare function withRedux<Spec extends ActionsFnSpecs, Input extends SignalStor
337
355
  methods: PublicStoreActionFns;
338
356
  }>;
339
357
 
358
+ type ClearUndoRedoOptions<TState extends object> = {
359
+ lastRecord: Partial<TState> | null;
360
+ };
361
+ declare function clearUndoRedo<TState extends object>(store: StateSource<TState>, opts?: ClearUndoRedoOptions<TState>): void;
362
+
363
+ type StackItem = Record<string, unknown>;
364
+ type NormalizedUndoRedoOptions = {
365
+ maxStackSize: number;
366
+ collections?: string[];
367
+ keys: string[];
368
+ skip: number;
369
+ };
370
+ declare function getUndoRedoKeys(collections?: string[]): string[];
371
+ type NonNever<T> = T extends never ? never : T;
372
+ type ExtractEntityCollection<T> = T extends `${infer U}Entities` ? U : never;
373
+ type ExtractEntityCollections<Store extends SignalStoreFeatureResult> = NonNever<{
374
+ [K in keyof Store['props']]: ExtractEntityCollection<K>;
375
+ }[keyof Store['props']]>;
376
+ type OptionsForState<Store extends SignalStoreFeatureResult> = Partial<Omit<NormalizedUndoRedoOptions, 'collections' | 'keys'>> & {
377
+ collections?: ExtractEntityCollections<Store>[];
378
+ keys?: (keyof Store['state'])[];
379
+ };
380
+ declare function withUndoRedo<Input extends EmptyFeatureResult>(options?: OptionsForState<Input>): SignalStoreFeature<Input, EmptyFeatureResult & {
381
+ props: {
382
+ canUndo: Signal<boolean>;
383
+ canRedo: Signal<boolean>;
384
+ };
385
+ methods: {
386
+ undo: () => void;
387
+ redo: () => void;
388
+ /** @deprecated Use {@link clearUndoRedo} instead. */
389
+ clearStack: () => void;
390
+ };
391
+ }>;
392
+
340
393
  type CallState = 'init' | 'loading' | 'loaded' | {
341
394
  error: string;
342
395
  };
@@ -415,10 +468,10 @@ type EntityState<Entity> = {
415
468
  };
416
469
 
417
470
  type Filter = Record<string, unknown>;
418
- type Entity = {
471
+ type Entity$1 = {
419
472
  id: EntityId;
420
473
  };
421
- interface DataService<E extends Entity, F extends Filter> {
474
+ interface DataService<E extends Entity$1, F extends Filter> {
422
475
  load(filter: F): Promise<E[]>;
423
476
  loadById(id: EntityId): Promise<E>;
424
477
  create(entity: E): Promise<E>;
@@ -447,25 +500,25 @@ declare function getDataServiceKeys(options: {
447
500
  updateAllKey: string;
448
501
  deleteKey: string;
449
502
  };
450
- type NamedDataServiceState<E extends Entity, F extends Filter, Collection extends string> = {
503
+ type NamedDataServiceState<E extends Entity$1, F extends Filter, Collection extends string> = {
451
504
  [K in Collection as `${K}Filter`]: F;
452
505
  } & {
453
506
  [K in Collection as `selected${Capitalize<K>}Ids`]: Record<EntityId, boolean>;
454
507
  } & {
455
508
  [K in Collection as `current${Capitalize<K>}`]: E;
456
509
  };
457
- type DataServiceState<E extends Entity, F extends Filter> = {
510
+ type DataServiceState<E extends Entity$1, F extends Filter> = {
458
511
  filter: F;
459
512
  selectedIds: Record<EntityId, boolean>;
460
513
  current: E;
461
514
  };
462
- type DataServiceComputed<E extends Entity> = {
515
+ type DataServiceComputed<E extends Entity$1> = {
463
516
  selectedEntities: Signal<E[]>;
464
517
  };
465
- type NamedDataServiceComputed<E extends Entity, Collection extends string> = {
518
+ type NamedDataServiceComputed<E extends Entity$1, Collection extends string> = {
466
519
  [K in Collection as `selected${Capitalize<K>}Entities`]: Signal<E[]>;
467
520
  };
468
- type NamedDataServiceMethods<E extends Entity, F extends Filter, Collection extends string> = {
521
+ type NamedDataServiceMethods<E extends Entity$1, F extends Filter, Collection extends string> = {
469
522
  [K in Collection as `update${Capitalize<K>}Filter`]: (filter: F) => void;
470
523
  } & {
471
524
  [K in Collection as `updateSelected${Capitalize<K>}Entities`]: (id: EntityId, selected: boolean) => void;
@@ -484,7 +537,7 @@ type NamedDataServiceMethods<E extends Entity, F extends Filter, Collection exte
484
537
  } & {
485
538
  [K in Collection as `delete${Capitalize<K>}`]: (entity: E) => Promise<void>;
486
539
  };
487
- type DataServiceMethods<E extends Entity, F extends Filter> = {
540
+ type DataServiceMethods<E extends Entity$1, F extends Filter> = {
488
541
  updateFilter: (filter: F) => void;
489
542
  updateSelected: (id: EntityId, selected: boolean) => void;
490
543
  load: () => Promise<void>;
@@ -495,7 +548,7 @@ type DataServiceMethods<E extends Entity, F extends Filter> = {
495
548
  updateAll(entities: E[]): Promise<void>;
496
549
  delete(entity: E): Promise<void>;
497
550
  };
498
- declare function withDataService<E extends Entity, F extends Filter, Collection extends string>(options: {
551
+ declare function withDataService<E extends Entity$1, F extends Filter, Collection extends string>(options: {
499
552
  dataServiceType: ProviderToken<DataService<E, F>>;
500
553
  filter: F;
501
554
  collection: Collection;
@@ -506,7 +559,7 @@ declare function withDataService<E extends Entity, F extends Filter, Collection
506
559
  props: NamedDataServiceComputed<E, Collection>;
507
560
  methods: NamedDataServiceMethods<E, F, Collection>;
508
561
  }>;
509
- declare function withDataService<E extends Entity, F extends Filter>(options: {
562
+ declare function withDataService<E extends Entity$1, F extends Filter>(options: {
510
563
  dataServiceType: ProviderToken<DataService<E, F>>;
511
564
  filter: F;
512
565
  }): SignalStoreFeature<EmptyFeatureResult & {
@@ -654,35 +707,6 @@ declare function withReset(): _ngrx_signals.SignalStoreFeature<_ngrx_signals.Emp
654
707
  */
655
708
  declare function setResetState<State extends object>(store: StateSource<State>, state: State): void;
656
709
 
657
- type StackItem = Record<string, unknown>;
658
- type NormalizedUndoRedoOptions = {
659
- maxStackSize: number;
660
- collections?: string[];
661
- keys: string[];
662
- skip: number;
663
- };
664
- declare function getUndoRedoKeys(collections?: string[]): string[];
665
- type NonNever<T> = T extends never ? never : T;
666
- type ExtractEntityCollection<T> = T extends `${infer U}Entities` ? U : never;
667
- type ExtractEntityCollections<Store extends SignalStoreFeatureResult> = NonNever<{
668
- [K in keyof Store['props']]: ExtractEntityCollection<K>;
669
- }[keyof Store['props']]>;
670
- type OptionsForState<Store extends SignalStoreFeatureResult> = Partial<Omit<NormalizedUndoRedoOptions, 'collections' | 'keys'>> & {
671
- collections?: ExtractEntityCollections<Store>[];
672
- keys?: (keyof Store['state'])[];
673
- };
674
- declare function withUndoRedo<Input extends EmptyFeatureResult>(options?: OptionsForState<Input>): SignalStoreFeature<Input, EmptyFeatureResult & {
675
- props: {
676
- canUndo: Signal<boolean>;
677
- canRedo: Signal<boolean>;
678
- };
679
- methods: {
680
- undo: () => void;
681
- redo: () => void;
682
- clearStack: () => void;
683
- };
684
- }>;
685
-
686
710
  /**
687
711
  * Starting from v20, the root properties of the state object
688
712
  * are all of type `WritableSignal`.
@@ -1065,9 +1089,9 @@ type ResourceResult<T> = {
1065
1089
  };
1066
1090
  };
1067
1091
  type ResourceDictionary = Record<string, ResourceRef<unknown>>;
1068
- type NamedResourceResult<T extends ResourceDictionary> = {
1092
+ type NamedResourceResult<T extends ResourceDictionary, HasUndefinedErrorHandling extends boolean> = {
1069
1093
  state: {
1070
- [Prop in keyof T as `${Prop & string}Value`]: T[Prop]['value'] extends Signal<infer S> ? S : never;
1094
+ [Prop in keyof T as `${Prop & string}Value`]: T[Prop]['value'] extends Signal<infer S> ? HasUndefinedErrorHandling extends true ? S | undefined : S : never;
1071
1095
  };
1072
1096
  props: {
1073
1097
  [Prop in keyof T as `${Prop & string}Status`]: Signal<ResourceStatus>;
@@ -1082,6 +1106,10 @@ type NamedResourceResult<T extends ResourceDictionary> = {
1082
1106
  [Prop in keyof T as `_${Prop & string}Reload`]: () => boolean;
1083
1107
  };
1084
1108
  };
1109
+ type ErrorHandling = 'native' | 'undefined value' | 'previous value';
1110
+ type ResourceOptions = {
1111
+ errorHandling?: ErrorHandling;
1112
+ };
1085
1113
  /**
1086
1114
  * @experimental
1087
1115
  * @description
@@ -1089,7 +1117,7 @@ type NamedResourceResult<T extends ResourceDictionary> = {
1089
1117
  * Integrates a `Resource` into the SignalStore and makes the store instance
1090
1118
  * implement the `Resource` interface.
1091
1119
  *
1092
- * The resources value is stored under the `value` key in the state
1120
+ * The resource's value is stored under the `value` key in the state
1093
1121
  * and is exposed as a `DeepSignal`.
1094
1122
  *
1095
1123
  * It can also be updated via `patchState`.
@@ -1111,9 +1139,14 @@ type NamedResourceResult<T extends ResourceDictionary> = {
1111
1139
  * ```
1112
1140
  *
1113
1141
  * @param resourceFactory A factory function that receives the store's state signals,
1114
- * methods, and props. Needs to return a `ResourceRef`.
1142
+ * methods, and props.
1143
+ * @param resourceOptions Allows configuration of the error handling behavior.
1115
1144
  */
1116
- declare function withResource<Input extends SignalStoreFeatureResult, ResourceValue>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => ResourceRef<ResourceValue>): SignalStoreFeature<Input, ResourceResult<ResourceValue>>;
1145
+ declare function withResource<Input extends SignalStoreFeatureResult, ResourceValue>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => ResourceRef<ResourceValue>): SignalStoreFeature<Input, ResourceResult<ResourceValue | undefined>>;
1146
+ declare function withResource<Input extends SignalStoreFeatureResult, ResourceValue>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => ResourceRef<ResourceValue>, resourceOptions: {
1147
+ errorHandling: 'undefined value';
1148
+ }): SignalStoreFeature<Input, ResourceResult<ResourceValue | undefined>>;
1149
+ declare function withResource<Input extends SignalStoreFeatureResult, ResourceValue>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => ResourceRef<ResourceValue>, resourceOptions?: ResourceOptions): SignalStoreFeature<Input, ResourceResult<ResourceValue>>;
1117
1150
  /**
1118
1151
  * @experimental
1119
1152
  * @description
@@ -1146,8 +1179,13 @@ declare function withResource<Input extends SignalStoreFeatureResult, ResourceVa
1146
1179
  *
1147
1180
  * @param resourceFactory A factory function that receives the store's props,
1148
1181
  * methods, and state signals. It must return a `Record<string, ResourceRef>`.
1182
+ * @param resourceOptions Allows to configure the error handling behavior.
1149
1183
  */
1150
- declare function withResource<Input extends SignalStoreFeatureResult, Dictionary extends ResourceDictionary>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => Dictionary): SignalStoreFeature<Input, NamedResourceResult<Dictionary>>;
1184
+ declare function withResource<Input extends SignalStoreFeatureResult, Dictionary extends ResourceDictionary>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => Dictionary): SignalStoreFeature<Input, NamedResourceResult<Dictionary, true>>;
1185
+ declare function withResource<Input extends SignalStoreFeatureResult, Dictionary extends ResourceDictionary>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => Dictionary, resourceOptions: {
1186
+ errorHandling: 'undefined value';
1187
+ }): SignalStoreFeature<Input, NamedResourceResult<Dictionary, true>>;
1188
+ declare function withResource<Input extends SignalStoreFeatureResult, Dictionary extends ResourceDictionary>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => Dictionary, resourceOptions?: ResourceOptions): SignalStoreFeature<Input, NamedResourceResult<Dictionary, false>>;
1151
1189
  type NamedResource<Name extends string, T> = {
1152
1190
  [Prop in `${Name}Value`]: Signal<T>;
1153
1191
  } & {
@@ -1224,7 +1262,7 @@ declare function mapToResource<Name extends ResourceNames<Store>, Store extends
1224
1262
  * );
1225
1263
  *
1226
1264
  * const store = TestBed.inject(Store);
1227
- * store.status(); // 'idle' | 'loading' | 'resolved' | 'error'
1265
+ * store.status(); // 'idle' | 'loading' | 'resolved' | 'error' | 'local'
1228
1266
  * store.value(); // Todo[]
1229
1267
  * store.ids(); // EntityId[]
1230
1268
  * store.entityMap(); // Record<EntityId, Todo>
@@ -1257,7 +1295,7 @@ declare function mapToResource<Name extends ResourceNames<Store>, Store extends
1257
1295
  */
1258
1296
  declare function withEntityResources<Input extends SignalStoreFeatureResult, Entity extends {
1259
1297
  id: EntityId;
1260
- }>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => ResourceRef<readonly Entity[] | Entity[] | undefined>): SignalStoreFeature<Input, EntityResourceResult<Entity>>;
1298
+ }>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => ResourceRef<TypedEntityResourceValue<Entity>>): SignalStoreFeature<Input, EntityResourceResult<Entity>>;
1261
1299
  declare function withEntityResources<Input extends SignalStoreFeatureResult, Dictionary extends EntityDictionary>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => Dictionary): SignalStoreFeature<Input, NamedEntityResourceResult<Dictionary>>;
1262
1300
  /**
1263
1301
  * @internal
@@ -1287,7 +1325,12 @@ type EntityResourceResult<Entity> = {
1287
1325
  type ArrayElement<T> = T extends readonly (infer E)[] | (infer E)[] ? E : never;
1288
1326
  type InferEntityFromSignal<T> = T extends Signal<infer V> ? ArrayElement<V> : never;
1289
1327
  type MergeUnion<U> = (U extends unknown ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
1290
- type EntityDictionary = Record<string, ResourceRef<readonly unknown[] | unknown[] | undefined>>;
1328
+ type Entity = {
1329
+ id: EntityId;
1330
+ };
1331
+ type EntityResourceValue = Entity[] | (Entity[] | undefined);
1332
+ type TypedEntityResourceValue<E extends Entity> = E[] | (E[] | undefined);
1333
+ type EntityDictionary = Record<string, ResourceRef<EntityResourceValue>>;
1291
1334
  type MergeNamedEntityStates<T extends EntityDictionary> = MergeUnion<{
1292
1335
  [Prop in keyof T]: Prop extends string ? InferEntityFromSignal<T[Prop]['value']> extends infer E ? E extends never ? never : NamedEntityState<E, Prop> : never : never;
1293
1336
  }[keyof T]>;
@@ -1295,9 +1338,9 @@ type MergeNamedEntityProps<T extends EntityDictionary> = MergeUnion<{
1295
1338
  [Prop in keyof T]: Prop extends string ? InferEntityFromSignal<T[Prop]['value']> extends infer E ? E extends never ? never : NamedEntityProps<E, Prop> : never : never;
1296
1339
  }[keyof T]>;
1297
1340
  type NamedEntityResourceResult<T extends EntityDictionary> = {
1298
- state: NamedResourceResult<T>['state'] & MergeNamedEntityStates<T>;
1299
- props: NamedResourceResult<T>['props'] & MergeNamedEntityProps<T>;
1300
- methods: NamedResourceResult<T>['methods'];
1341
+ state: NamedResourceResult<T, false>['state'] & MergeNamedEntityStates<T>;
1342
+ props: NamedResourceResult<T, false>['props'] & MergeNamedEntityProps<T>;
1343
+ methods: NamedResourceResult<T, false>['methods'];
1301
1344
  };
1302
1345
 
1303
1346
  type MutationsDictionary = Record<string, Mutation<any, any>>;
@@ -1431,5 +1474,5 @@ type HttpMutation<Parameter, Result> = Mutation<Parameter, Result> & {
1431
1474
  */
1432
1475
  declare function httpMutation<Parameter, Result>(optionsOrRequest: HttpMutationOptions<Parameter, Result> | ((param: Parameter) => HttpMutationRequest)): HttpMutation<Parameter, Result>;
1433
1476
 
1434
- export { capitalize, concatOp, createEffects, createPageArray, createReducer, deriveCallStateKeys, emptyFeature, exhaustOp, firstPage, getCallStateKeys, getCollectionArray, getDataServiceKeys, getUndoRedoKeys, gotoPage, httpMutation, mapToResource, mergeOp, nextPage, noPayload, patchState, payload, previousPage, provideDevtoolsConfig, renameDevtoolsName, rxMutation, setError, setLoaded, setLoading, setMaxPageNavigationArrayItems, setPageSize, setResetState, switchOp, updateState, withCallState, withConditional, withDataService, withDevToolsStub, withDevtools, withDisabledNameIndices, withEntityResources, withFeatureFactory, withGlitchTracking, withImmutableState, withIndexedDB, withIndexedDB as withIndexeddb, withLocalStorage, withMapper, withMutations, withPagination, withRedux, withReset, withResource, withSessionStorage, withStorageSync, withUndoRedo };
1435
- export type { CallState, CallStateSignals, CallStateSlice, DataService, DataServiceComputed, DataServiceMethods, DataServiceState, DevtoolsFeature, Entity, EntityDictionary, EntityResourceResult, Filter, HttpMutation, HttpMutationOptions, HttpMutationRequest, MethodsDictionary, Mutation, MutationResult, MutationStatus, NamedCallStateSignals, NamedCallStateSlice, NamedDataServiceComputed, NamedDataServiceMethods, NamedDataServiceState, NamedEntityResourceResult, NamedMutationResult, NamedPaginationServiceSignals, NamedPaginationServiceState, NormalizedUndoRedoOptions, Operation, Page, PaginationServiceSignals, PaginationServiceState, ReduxDevtoolsConfig, RxMutationOptions, SetCallState, SetPaginationState, StackItem, SyncConfig };
1477
+ export { capitalize, clearUndoRedo, concatOp, createEffects, createPageArray, createReducer, deriveCallStateKeys, emptyFeature, exhaustOp, firstPage, getCallStateKeys, getCollectionArray, getDataServiceKeys, getUndoRedoKeys, gotoPage, httpMutation, mapToResource, mergeOp, nextPage, noPayload, patchState, payload, previousPage, provideDevtoolsConfig, renameDevtoolsName, rxMutation, setError, setLoaded, setLoading, setMaxPageNavigationArrayItems, setPageSize, setResetState, switchOp, updateState, withCallState, withConditional, withDataService, withDevToolsStub, withDevtools, withDisabledNameIndices, withEntityResources, withFeatureFactory, withGlitchTracking, withImmutableState, withIndexedDB, withIndexedDB as withIndexeddb, withLocalStorage, withMapper, withMutations, withPagination, withRedux, withReset, withResource, withSessionStorage, withStorageSync, withTrackedReducer, withUndoRedo };
1478
+ export type { CallState, CallStateSignals, CallStateSlice, DataService, DataServiceComputed, DataServiceMethods, DataServiceState, DevtoolsFeature, Entity$1 as Entity, EntityDictionary, EntityResourceResult, Filter, HttpMutation, HttpMutationOptions, HttpMutationRequest, MethodsDictionary, Mutation, MutationResult, MutationStatus, NamedCallStateSignals, NamedCallStateSlice, NamedDataServiceComputed, NamedDataServiceMethods, NamedDataServiceState, NamedEntityResourceResult, NamedMutationResult, NamedPaginationServiceSignals, NamedPaginationServiceState, NormalizedUndoRedoOptions, Operation, Page, PaginationServiceSignals, PaginationServiceState, ReduxDevtoolsConfig, RxMutationOptions, SetCallState, SetPaginationState, StackItem, SyncConfig };