@angular-architects/ngrx-toolkit 20.6.0 → 20.7.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/index.d.ts
CHANGED
|
@@ -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;
|
|
@@ -192,6 +194,17 @@ declare function withDevtools(name: string, ...features: DevtoolsFeature[]): Sig
|
|
|
192
194
|
*/
|
|
193
195
|
declare const withDevToolsStub: typeof withDevtools;
|
|
194
196
|
|
|
197
|
+
declare function withTrackedReducer<State extends object>(...caseReducers: CaseReducerResult<State, any>[]): SignalStoreFeature<EmptyFeatureResult & {
|
|
198
|
+
state: State;
|
|
199
|
+
}, EmptyFeatureResult>;
|
|
200
|
+
type CaseReducerResult<State extends object, EventCreators extends any[]> = {
|
|
201
|
+
reducer: CaseReducer<State, EventCreators>;
|
|
202
|
+
events: EventCreators;
|
|
203
|
+
};
|
|
204
|
+
type CaseReducer<State extends object, EventCreators extends EventCreator<string, any>[]> = (event: {
|
|
205
|
+
[K in keyof EventCreators]: ReturnType<EventCreators[K]>;
|
|
206
|
+
}[number], state: State) => Partial<State> | PartialStateUpdater<State> | Array<Partial<State> | PartialStateUpdater<State>>;
|
|
207
|
+
|
|
195
208
|
/** Actions **/
|
|
196
209
|
type Payload = Record<string, unknown>;
|
|
197
210
|
type ActionFn<Type extends string = string, ActionPayload extends Payload = Payload> = ((payload: ActionPayload) => ActionPayload & {
|
|
@@ -337,6 +350,41 @@ declare function withRedux<Spec extends ActionsFnSpecs, Input extends SignalStor
|
|
|
337
350
|
methods: PublicStoreActionFns;
|
|
338
351
|
}>;
|
|
339
352
|
|
|
353
|
+
type ClearUndoRedoOptions<TState extends object> = {
|
|
354
|
+
lastRecord: Partial<TState> | null;
|
|
355
|
+
};
|
|
356
|
+
declare function clearUndoRedo<TState extends object>(store: StateSource<TState>, opts?: ClearUndoRedoOptions<TState>): void;
|
|
357
|
+
|
|
358
|
+
type StackItem = Record<string, unknown>;
|
|
359
|
+
type NormalizedUndoRedoOptions = {
|
|
360
|
+
maxStackSize: number;
|
|
361
|
+
collections?: string[];
|
|
362
|
+
keys: string[];
|
|
363
|
+
skip: number;
|
|
364
|
+
};
|
|
365
|
+
declare function getUndoRedoKeys(collections?: string[]): string[];
|
|
366
|
+
type NonNever<T> = T extends never ? never : T;
|
|
367
|
+
type ExtractEntityCollection<T> = T extends `${infer U}Entities` ? U : never;
|
|
368
|
+
type ExtractEntityCollections<Store extends SignalStoreFeatureResult> = NonNever<{
|
|
369
|
+
[K in keyof Store['props']]: ExtractEntityCollection<K>;
|
|
370
|
+
}[keyof Store['props']]>;
|
|
371
|
+
type OptionsForState<Store extends SignalStoreFeatureResult> = Partial<Omit<NormalizedUndoRedoOptions, 'collections' | 'keys'>> & {
|
|
372
|
+
collections?: ExtractEntityCollections<Store>[];
|
|
373
|
+
keys?: (keyof Store['state'])[];
|
|
374
|
+
};
|
|
375
|
+
declare function withUndoRedo<Input extends EmptyFeatureResult>(options?: OptionsForState<Input>): SignalStoreFeature<Input, EmptyFeatureResult & {
|
|
376
|
+
props: {
|
|
377
|
+
canUndo: Signal<boolean>;
|
|
378
|
+
canRedo: Signal<boolean>;
|
|
379
|
+
};
|
|
380
|
+
methods: {
|
|
381
|
+
undo: () => void;
|
|
382
|
+
redo: () => void;
|
|
383
|
+
/** @deprecated Use {@link clearUndoRedo} instead. */
|
|
384
|
+
clearStack: () => void;
|
|
385
|
+
};
|
|
386
|
+
}>;
|
|
387
|
+
|
|
340
388
|
type CallState = 'init' | 'loading' | 'loaded' | {
|
|
341
389
|
error: string;
|
|
342
390
|
};
|
|
@@ -415,10 +463,10 @@ type EntityState<Entity> = {
|
|
|
415
463
|
};
|
|
416
464
|
|
|
417
465
|
type Filter = Record<string, unknown>;
|
|
418
|
-
type Entity = {
|
|
466
|
+
type Entity$1 = {
|
|
419
467
|
id: EntityId;
|
|
420
468
|
};
|
|
421
|
-
interface DataService<E extends Entity, F extends Filter> {
|
|
469
|
+
interface DataService<E extends Entity$1, F extends Filter> {
|
|
422
470
|
load(filter: F): Promise<E[]>;
|
|
423
471
|
loadById(id: EntityId): Promise<E>;
|
|
424
472
|
create(entity: E): Promise<E>;
|
|
@@ -447,25 +495,25 @@ declare function getDataServiceKeys(options: {
|
|
|
447
495
|
updateAllKey: string;
|
|
448
496
|
deleteKey: string;
|
|
449
497
|
};
|
|
450
|
-
type NamedDataServiceState<E extends Entity, F extends Filter, Collection extends string> = {
|
|
498
|
+
type NamedDataServiceState<E extends Entity$1, F extends Filter, Collection extends string> = {
|
|
451
499
|
[K in Collection as `${K}Filter`]: F;
|
|
452
500
|
} & {
|
|
453
501
|
[K in Collection as `selected${Capitalize<K>}Ids`]: Record<EntityId, boolean>;
|
|
454
502
|
} & {
|
|
455
503
|
[K in Collection as `current${Capitalize<K>}`]: E;
|
|
456
504
|
};
|
|
457
|
-
type DataServiceState<E extends Entity, F extends Filter> = {
|
|
505
|
+
type DataServiceState<E extends Entity$1, F extends Filter> = {
|
|
458
506
|
filter: F;
|
|
459
507
|
selectedIds: Record<EntityId, boolean>;
|
|
460
508
|
current: E;
|
|
461
509
|
};
|
|
462
|
-
type DataServiceComputed<E extends Entity> = {
|
|
510
|
+
type DataServiceComputed<E extends Entity$1> = {
|
|
463
511
|
selectedEntities: Signal<E[]>;
|
|
464
512
|
};
|
|
465
|
-
type NamedDataServiceComputed<E extends Entity, Collection extends string> = {
|
|
513
|
+
type NamedDataServiceComputed<E extends Entity$1, Collection extends string> = {
|
|
466
514
|
[K in Collection as `selected${Capitalize<K>}Entities`]: Signal<E[]>;
|
|
467
515
|
};
|
|
468
|
-
type NamedDataServiceMethods<E extends Entity, F extends Filter, Collection extends string> = {
|
|
516
|
+
type NamedDataServiceMethods<E extends Entity$1, F extends Filter, Collection extends string> = {
|
|
469
517
|
[K in Collection as `update${Capitalize<K>}Filter`]: (filter: F) => void;
|
|
470
518
|
} & {
|
|
471
519
|
[K in Collection as `updateSelected${Capitalize<K>}Entities`]: (id: EntityId, selected: boolean) => void;
|
|
@@ -484,7 +532,7 @@ type NamedDataServiceMethods<E extends Entity, F extends Filter, Collection exte
|
|
|
484
532
|
} & {
|
|
485
533
|
[K in Collection as `delete${Capitalize<K>}`]: (entity: E) => Promise<void>;
|
|
486
534
|
};
|
|
487
|
-
type DataServiceMethods<E extends Entity, F extends Filter> = {
|
|
535
|
+
type DataServiceMethods<E extends Entity$1, F extends Filter> = {
|
|
488
536
|
updateFilter: (filter: F) => void;
|
|
489
537
|
updateSelected: (id: EntityId, selected: boolean) => void;
|
|
490
538
|
load: () => Promise<void>;
|
|
@@ -495,7 +543,7 @@ type DataServiceMethods<E extends Entity, F extends Filter> = {
|
|
|
495
543
|
updateAll(entities: E[]): Promise<void>;
|
|
496
544
|
delete(entity: E): Promise<void>;
|
|
497
545
|
};
|
|
498
|
-
declare function withDataService<E extends Entity, F extends Filter, Collection extends string>(options: {
|
|
546
|
+
declare function withDataService<E extends Entity$1, F extends Filter, Collection extends string>(options: {
|
|
499
547
|
dataServiceType: ProviderToken<DataService<E, F>>;
|
|
500
548
|
filter: F;
|
|
501
549
|
collection: Collection;
|
|
@@ -506,7 +554,7 @@ declare function withDataService<E extends Entity, F extends Filter, Collection
|
|
|
506
554
|
props: NamedDataServiceComputed<E, Collection>;
|
|
507
555
|
methods: NamedDataServiceMethods<E, F, Collection>;
|
|
508
556
|
}>;
|
|
509
|
-
declare function withDataService<E extends Entity, F extends Filter>(options: {
|
|
557
|
+
declare function withDataService<E extends Entity$1, F extends Filter>(options: {
|
|
510
558
|
dataServiceType: ProviderToken<DataService<E, F>>;
|
|
511
559
|
filter: F;
|
|
512
560
|
}): SignalStoreFeature<EmptyFeatureResult & {
|
|
@@ -654,35 +702,6 @@ declare function withReset(): _ngrx_signals.SignalStoreFeature<_ngrx_signals.Emp
|
|
|
654
702
|
*/
|
|
655
703
|
declare function setResetState<State extends object>(store: StateSource<State>, state: State): void;
|
|
656
704
|
|
|
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
705
|
/**
|
|
687
706
|
* Starting from v20, the root properties of the state object
|
|
688
707
|
* are all of type `WritableSignal`.
|
|
@@ -1065,9 +1084,9 @@ type ResourceResult<T> = {
|
|
|
1065
1084
|
};
|
|
1066
1085
|
};
|
|
1067
1086
|
type ResourceDictionary = Record<string, ResourceRef<unknown>>;
|
|
1068
|
-
type NamedResourceResult<T extends ResourceDictionary> = {
|
|
1087
|
+
type NamedResourceResult<T extends ResourceDictionary, HasUndefinedErrorHandling extends boolean> = {
|
|
1069
1088
|
state: {
|
|
1070
|
-
[Prop in keyof T as `${Prop & string}Value`]: T[Prop]['value'] extends Signal<infer S> ? S : never;
|
|
1089
|
+
[Prop in keyof T as `${Prop & string}Value`]: T[Prop]['value'] extends Signal<infer S> ? HasUndefinedErrorHandling extends true ? S | undefined : S : never;
|
|
1071
1090
|
};
|
|
1072
1091
|
props: {
|
|
1073
1092
|
[Prop in keyof T as `${Prop & string}Status`]: Signal<ResourceStatus>;
|
|
@@ -1082,6 +1101,10 @@ type NamedResourceResult<T extends ResourceDictionary> = {
|
|
|
1082
1101
|
[Prop in keyof T as `_${Prop & string}Reload`]: () => boolean;
|
|
1083
1102
|
};
|
|
1084
1103
|
};
|
|
1104
|
+
type ErrorHandling = 'native' | 'undefined value' | 'previous value';
|
|
1105
|
+
type ResourceOptions = {
|
|
1106
|
+
errorHandling?: ErrorHandling;
|
|
1107
|
+
};
|
|
1085
1108
|
/**
|
|
1086
1109
|
* @experimental
|
|
1087
1110
|
* @description
|
|
@@ -1089,7 +1112,7 @@ type NamedResourceResult<T extends ResourceDictionary> = {
|
|
|
1089
1112
|
* Integrates a `Resource` into the SignalStore and makes the store instance
|
|
1090
1113
|
* implement the `Resource` interface.
|
|
1091
1114
|
*
|
|
1092
|
-
* The resource
|
|
1115
|
+
* The resource's value is stored under the `value` key in the state
|
|
1093
1116
|
* and is exposed as a `DeepSignal`.
|
|
1094
1117
|
*
|
|
1095
1118
|
* It can also be updated via `patchState`.
|
|
@@ -1111,9 +1134,14 @@ type NamedResourceResult<T extends ResourceDictionary> = {
|
|
|
1111
1134
|
* ```
|
|
1112
1135
|
*
|
|
1113
1136
|
* @param resourceFactory A factory function that receives the store's state signals,
|
|
1114
|
-
* methods, and props.
|
|
1137
|
+
* methods, and props.
|
|
1138
|
+
* @param resourceOptions Allows configuration of the error handling behavior.
|
|
1115
1139
|
*/
|
|
1116
|
-
declare function withResource<Input extends SignalStoreFeatureResult, ResourceValue>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => ResourceRef<ResourceValue>): SignalStoreFeature<Input, ResourceResult<ResourceValue>>;
|
|
1140
|
+
declare function withResource<Input extends SignalStoreFeatureResult, ResourceValue>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => ResourceRef<ResourceValue>): SignalStoreFeature<Input, ResourceResult<ResourceValue | undefined>>;
|
|
1141
|
+
declare function withResource<Input extends SignalStoreFeatureResult, ResourceValue>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => ResourceRef<ResourceValue>, resourceOptions: {
|
|
1142
|
+
errorHandling: 'undefined value';
|
|
1143
|
+
}): SignalStoreFeature<Input, ResourceResult<ResourceValue | undefined>>;
|
|
1144
|
+
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
1145
|
/**
|
|
1118
1146
|
* @experimental
|
|
1119
1147
|
* @description
|
|
@@ -1146,8 +1174,13 @@ declare function withResource<Input extends SignalStoreFeatureResult, ResourceVa
|
|
|
1146
1174
|
*
|
|
1147
1175
|
* @param resourceFactory A factory function that receives the store's props,
|
|
1148
1176
|
* methods, and state signals. It must return a `Record<string, ResourceRef>`.
|
|
1177
|
+
* @param resourceOptions Allows to configure the error handling behavior.
|
|
1149
1178
|
*/
|
|
1150
|
-
declare function withResource<Input extends SignalStoreFeatureResult, Dictionary extends ResourceDictionary>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => Dictionary): SignalStoreFeature<Input, NamedResourceResult<Dictionary>>;
|
|
1179
|
+
declare function withResource<Input extends SignalStoreFeatureResult, Dictionary extends ResourceDictionary>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => Dictionary): SignalStoreFeature<Input, NamedResourceResult<Dictionary, true>>;
|
|
1180
|
+
declare function withResource<Input extends SignalStoreFeatureResult, Dictionary extends ResourceDictionary>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => Dictionary, resourceOptions: {
|
|
1181
|
+
errorHandling: 'undefined value';
|
|
1182
|
+
}): SignalStoreFeature<Input, NamedResourceResult<Dictionary, true>>;
|
|
1183
|
+
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
1184
|
type NamedResource<Name extends string, T> = {
|
|
1152
1185
|
[Prop in `${Name}Value`]: Signal<T>;
|
|
1153
1186
|
} & {
|
|
@@ -1224,7 +1257,7 @@ declare function mapToResource<Name extends ResourceNames<Store>, Store extends
|
|
|
1224
1257
|
* );
|
|
1225
1258
|
*
|
|
1226
1259
|
* const store = TestBed.inject(Store);
|
|
1227
|
-
* store.status(); // 'idle' | 'loading' | 'resolved' | 'error'
|
|
1260
|
+
* store.status(); // 'idle' | 'loading' | 'resolved' | 'error' | 'local'
|
|
1228
1261
|
* store.value(); // Todo[]
|
|
1229
1262
|
* store.ids(); // EntityId[]
|
|
1230
1263
|
* store.entityMap(); // Record<EntityId, Todo>
|
|
@@ -1257,7 +1290,7 @@ declare function mapToResource<Name extends ResourceNames<Store>, Store extends
|
|
|
1257
1290
|
*/
|
|
1258
1291
|
declare function withEntityResources<Input extends SignalStoreFeatureResult, Entity extends {
|
|
1259
1292
|
id: EntityId;
|
|
1260
|
-
}>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => ResourceRef<
|
|
1293
|
+
}>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => ResourceRef<TypedEntityResourceValue<Entity>>): SignalStoreFeature<Input, EntityResourceResult<Entity>>;
|
|
1261
1294
|
declare function withEntityResources<Input extends SignalStoreFeatureResult, Dictionary extends EntityDictionary>(resourceFactory: (store: Input['props'] & Input['methods'] & StateSignals<Input['state']>) => Dictionary): SignalStoreFeature<Input, NamedEntityResourceResult<Dictionary>>;
|
|
1262
1295
|
/**
|
|
1263
1296
|
* @internal
|
|
@@ -1287,7 +1320,12 @@ type EntityResourceResult<Entity> = {
|
|
|
1287
1320
|
type ArrayElement<T> = T extends readonly (infer E)[] | (infer E)[] ? E : never;
|
|
1288
1321
|
type InferEntityFromSignal<T> = T extends Signal<infer V> ? ArrayElement<V> : never;
|
|
1289
1322
|
type MergeUnion<U> = (U extends unknown ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
1290
|
-
type
|
|
1323
|
+
type Entity = {
|
|
1324
|
+
id: EntityId;
|
|
1325
|
+
};
|
|
1326
|
+
type EntityResourceValue = Entity[] | (Entity[] | undefined);
|
|
1327
|
+
type TypedEntityResourceValue<E extends Entity> = E[] | (E[] | undefined);
|
|
1328
|
+
type EntityDictionary = Record<string, ResourceRef<EntityResourceValue>>;
|
|
1291
1329
|
type MergeNamedEntityStates<T extends EntityDictionary> = MergeUnion<{
|
|
1292
1330
|
[Prop in keyof T]: Prop extends string ? InferEntityFromSignal<T[Prop]['value']> extends infer E ? E extends never ? never : NamedEntityState<E, Prop> : never : never;
|
|
1293
1331
|
}[keyof T]>;
|
|
@@ -1295,9 +1333,9 @@ type MergeNamedEntityProps<T extends EntityDictionary> = MergeUnion<{
|
|
|
1295
1333
|
[Prop in keyof T]: Prop extends string ? InferEntityFromSignal<T[Prop]['value']> extends infer E ? E extends never ? never : NamedEntityProps<E, Prop> : never : never;
|
|
1296
1334
|
}[keyof T]>;
|
|
1297
1335
|
type NamedEntityResourceResult<T extends EntityDictionary> = {
|
|
1298
|
-
state: NamedResourceResult<T>['state'] & MergeNamedEntityStates<T>;
|
|
1299
|
-
props: NamedResourceResult<T>['props'] & MergeNamedEntityProps<T>;
|
|
1300
|
-
methods: NamedResourceResult<T>['methods'];
|
|
1336
|
+
state: NamedResourceResult<T, false>['state'] & MergeNamedEntityStates<T>;
|
|
1337
|
+
props: NamedResourceResult<T, false>['props'] & MergeNamedEntityProps<T>;
|
|
1338
|
+
methods: NamedResourceResult<T, false>['methods'];
|
|
1301
1339
|
};
|
|
1302
1340
|
|
|
1303
1341
|
type MutationsDictionary = Record<string, Mutation<any, any>>;
|
|
@@ -1431,5 +1469,5 @@ type HttpMutation<Parameter, Result> = Mutation<Parameter, Result> & {
|
|
|
1431
1469
|
*/
|
|
1432
1470
|
declare function httpMutation<Parameter, Result>(optionsOrRequest: HttpMutationOptions<Parameter, Result> | ((param: Parameter) => HttpMutationRequest)): HttpMutation<Parameter, Result>;
|
|
1433
1471
|
|
|
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 };
|
|
1472
|
+
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 };
|
|
1473
|
+
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 };
|