@daffodil/core 0.88.1 → 0.89.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.
Files changed (293) hide show
  1. package/external-script/index.d.ts +95 -1
  2. package/external-script/testing/index.d.ts +44 -1
  3. package/fesm2022/daffodil-core-external-script-testing.mjs +3 -3
  4. package/fesm2022/daffodil-core-external-script-testing.mjs.map +1 -1
  5. package/fesm2022/daffodil-core-external-script.mjs +4 -5
  6. package/fesm2022/daffodil-core-external-script.mjs.map +1 -1
  7. package/fesm2022/daffodil-core-graphql.mjs +3 -3
  8. package/fesm2022/daffodil-core-graphql.mjs.map +1 -1
  9. package/fesm2022/daffodil-core-routing.mjs +3 -3
  10. package/fesm2022/daffodil-core-routing.mjs.map +1 -1
  11. package/fesm2022/daffodil-core-state-testing.mjs +6 -6
  12. package/fesm2022/daffodil-core-state-testing.mjs.map +1 -1
  13. package/fesm2022/daffodil-core-state.mjs +2 -0
  14. package/fesm2022/daffodil-core-state.mjs.map +1 -1
  15. package/fesm2022/daffodil-core-testing.mjs +67 -67
  16. package/fesm2022/daffodil-core-testing.mjs.map +1 -1
  17. package/fesm2022/daffodil-core.mjs +51 -21
  18. package/fesm2022/daffodil-core.mjs.map +1 -1
  19. package/graphql/index.d.ts +64 -1
  20. package/index.d.ts +1305 -1
  21. package/package.json +1 -1
  22. package/routing/index.d.ts +86 -1
  23. package/state/index.d.ts +649 -1
  24. package/state/testing/index.d.ts +46 -1
  25. package/testing/index.d.ts +363 -1
  26. package/async/maybe.type.d.ts +0 -2
  27. package/base64/base64.interface.d.ts +0 -14
  28. package/base64/browser/browser.service.d.ts +0 -12
  29. package/base64/public_api.d.ts +0 -3
  30. package/base64/server/public_api.d.ts +0 -1
  31. package/base64/server/server.service.d.ts +0 -14
  32. package/canonically-locateable/canonically-locateable.interface.d.ts +0 -9
  33. package/collection/build-metadata.d.ts +0 -6
  34. package/collection/build-request.d.ts +0 -6
  35. package/collection/collection.interface.d.ts +0 -16
  36. package/collection/countable.interface.d.ts +0 -9
  37. package/collection/error-map.d.ts +0 -4
  38. package/collection/metadata.interface.d.ts +0 -12
  39. package/collection/page-out-of-bounds.error.d.ts +0 -9
  40. package/collection/paginable.d.ts +0 -10
  41. package/collection/public_api.d.ts +0 -10
  42. package/collection/request.interface.d.ts +0 -27
  43. package/collection/sortable.d.ts +0 -41
  44. package/constructable/constructable.d.ts +0 -24
  45. package/decorators/debounce.decorator.d.ts +0 -47
  46. package/decorators/public_api.d.ts +0 -1
  47. package/errors/error-map.d.ts +0 -8
  48. package/errors/error.interface.d.ts +0 -17
  49. package/errors/inheritable-error.d.ts +0 -22
  50. package/errors/is-error.d.ts +0 -4
  51. package/errors/public_api.d.ts +0 -4
  52. package/external-script/external-script.service.d.ts +0 -50
  53. package/external-script/interface.d.ts +0 -11
  54. package/external-script/public_api.d.ts +0 -3
  55. package/external-script/script.d.ts +0 -32
  56. package/external-script/testing/constants.d.ts +0 -4
  57. package/external-script/testing/external-script.service.d.ts +0 -37
  58. package/external-script/testing/public_api.d.ts +0 -2
  59. package/filterable/filter-base.d.ts +0 -24
  60. package/filterable/filter-option-base.d.ts +0 -9
  61. package/filterable/filter-option.d.ts +0 -6
  62. package/filterable/filter-request.d.ts +0 -7
  63. package/filterable/filter-toggle-request.d.ts +0 -6
  64. package/filterable/filter.d.ts +0 -9
  65. package/filterable/filterable.d.ts +0 -10
  66. package/filterable/filters.type.d.ts +0 -5
  67. package/filterable/public_api.d.ts +0 -12
  68. package/filterable/type/equal/filter.d.ts +0 -24
  69. package/filterable/type/equal/option.d.ts +0 -19
  70. package/filterable/type/equal/public_api.d.ts +0 -4
  71. package/filterable/type/equal/request.d.ts +0 -18
  72. package/filterable/type/equal/toggle-request.d.ts +0 -18
  73. package/filterable/type/filter-type.d.ts +0 -7
  74. package/filterable/type/range/filter-base.d.ts +0 -23
  75. package/filterable/type/range/option.d.ts +0 -14
  76. package/filterable/type/range/pair.d.ts +0 -20
  77. package/filterable/type/range/public_api.d.ts +0 -6
  78. package/filterable/type/range/request-base.d.ts +0 -20
  79. package/filterable/type/range/request-option.d.ts +0 -14
  80. package/filterable/type/range/separator.d.ts +0 -5
  81. package/filterable/type/range-numeric/filter.d.ts +0 -11
  82. package/filterable/type/range-numeric/public_api.d.ts +0 -3
  83. package/filterable/type/range-numeric/request.d.ts +0 -11
  84. package/filterable/type/range-numeric/toggle-request.d.ts +0 -12
  85. package/filters/array-to-dict/array-to-dict.d.ts +0 -5
  86. package/filters/behaviors/apply/apply-filter.d.ts +0 -8
  87. package/filters/behaviors/apply/apply-request-to-filters.d.ts +0 -8
  88. package/filters/behaviors/apply/apply-requests-to-filters.d.ts +0 -8
  89. package/filters/behaviors/apply/public_api.d.ts +0 -3
  90. package/filters/behaviors/clear/clear-filter.d.ts +0 -8
  91. package/filters/behaviors/clear/clear-filters.d.ts +0 -8
  92. package/filters/behaviors/clear/public_api.d.ts +0 -2
  93. package/filters/behaviors/remove/public_api.d.ts +0 -3
  94. package/filters/behaviors/remove/remove-filter.d.ts +0 -9
  95. package/filters/behaviors/remove/remove-request-from-filters.d.ts +0 -8
  96. package/filters/behaviors/remove/remove-requests-from-filters.d.ts +0 -9
  97. package/filters/behaviors/toggle/public_api.d.ts +0 -2
  98. package/filters/behaviors/toggle/toggle-request-on-filters.d.ts +0 -6
  99. package/filters/behaviors/toggle/toggle.d.ts +0 -6
  100. package/filters/compute-applied-filters/compute-applied-filters.d.ts +0 -6
  101. package/filters/errors/codes.enum.d.ts +0 -9
  102. package/filters/errors/filter-not-found.error.d.ts +0 -8
  103. package/filters/errors/public_api.d.ts +0 -4
  104. package/filters/errors/request-name-mismatch.error.d.ts +0 -9
  105. package/filters/errors/request-type-mismatch.error.d.ts +0 -9
  106. package/filters/errors/unknown-filter-type.error.d.ts +0 -9
  107. package/filters/find-applied/find-applied-options.d.ts +0 -5
  108. package/filters/find-applied/public_api.d.ts +0 -1
  109. package/filters/is-applied/is-filter-applied.d.ts +0 -5
  110. package/filters/is-applied/is-toggle-request-applied-to-filter.d.ts +0 -5
  111. package/filters/is-applied/public_api.d.ts +0 -2
  112. package/filters/public_api.d.ts +0 -13
  113. package/filters/to-request/filter-to-request.d.ts +0 -6
  114. package/filters/to-request/filters-to-requests.d.ts +0 -6
  115. package/filters/to-request/public_api.d.ts +0 -2
  116. package/filters/type/equal/array-to-dict/option.d.ts +0 -5
  117. package/filters/type/equal/behaviors/apply/apply.d.ts +0 -8
  118. package/filters/type/equal/behaviors/clear/clear.d.ts +0 -8
  119. package/filters/type/equal/behaviors/remove/remove.d.ts +0 -11
  120. package/filters/type/equal/behaviors/toggle/toggle.d.ts +0 -11
  121. package/filters/type/equal/is-applied/is-applied.d.ts +0 -5
  122. package/filters/type/equal/is-applied/is-toggle-request-applied-to-filter.d.ts +0 -5
  123. package/filters/type/equal/public_api.d.ts +0 -1
  124. package/filters/type/equal/to-request/filter-to-request.d.ts +0 -5
  125. package/filters/type/range/array-to-dict/pair.d.ts +0 -5
  126. package/filters/type/range/behaviors/apply/apply.d.ts +0 -8
  127. package/filters/type/range/behaviors/clear/clear.d.ts +0 -8
  128. package/filters/type/range/behaviors/remove/remove.d.ts +0 -11
  129. package/filters/type/range/behaviors/toggle/toggle.d.ts +0 -10
  130. package/filters/type/range/compute-pair-label.d.ts +0 -1
  131. package/filters/type/range/is-applied/is-applied.d.ts +0 -5
  132. package/filters/type/range/is-applied/is-toggle-request-applied-to-filter.d.ts +0 -5
  133. package/filters/type/range/public_api.d.ts +0 -2
  134. package/filters/type/range/to-request/filter-to-request.d.ts +0 -5
  135. package/filters/type/range-numeric/to-request/filter-to-request.d.ts +0 -5
  136. package/filters/validators/public_api.d.ts +0 -2
  137. package/filters/validators/request-name-match.d.ts +0 -7
  138. package/filters/validators/request-type-match.d.ts +0 -7
  139. package/graphql/apollo/cacheable-operations/cacheable-operations-link.interface.d.ts +0 -4
  140. package/graphql/apollo/public_api.d.ts +0 -3
  141. package/graphql/apollo/queued-apollo/queued-apollo.service.d.ts +0 -29
  142. package/graphql/apollo/validator/type.d.ts +0 -8
  143. package/graphql/fragments/build-fragment-definition.d.ts +0 -8
  144. package/graphql/fragments/build-fragment-name-spread.d.ts +0 -11
  145. package/graphql/fragments/public_api.d.ts +0 -2
  146. package/graphql/public_api.d.ts +0 -2
  147. package/identifiable/array-to-dict.d.ts +0 -5
  148. package/identifiable/identifiable.interface.d.ts +0 -10
  149. package/identifiable/public_api.d.ts +0 -2
  150. package/injection-tokens/config.factory.d.ts +0 -9
  151. package/injection-tokens/config.type.d.ts +0 -18
  152. package/injection-tokens/multi.factory.d.ts +0 -8
  153. package/injection-tokens/multi.type.d.ts +0 -15
  154. package/injection-tokens/public_api.d.ts +0 -10
  155. package/injection-tokens/services.factory.d.ts +0 -8
  156. package/injection-tokens/services.type.d.ts +0 -15
  157. package/injection-tokens/single.factory.d.ts +0 -8
  158. package/injection-tokens/single.type.d.ts +0 -14
  159. package/injection-tokens/singleton.factory.d.ts +0 -8
  160. package/injection-tokens/singleton.type.d.ts +0 -15
  161. package/injection-tokens/token-constuctor-params.type.d.ts +0 -3
  162. package/kindable/kindable.interface.d.ts +0 -9
  163. package/kindable/public_api.d.ts +0 -1
  164. package/locateable/locateable.interface.d.ts +0 -10
  165. package/merge/merge.d.ts +0 -64
  166. package/merge/mergers/array-concat.d.ts +0 -1
  167. package/merge/mergers/dict-assign.d.ts +0 -1
  168. package/merge/mergers/public_api.d.ts +0 -3
  169. package/merge/mergers/type.d.ts +0 -4
  170. package/merge/public_api.d.ts +0 -3
  171. package/merge/strategy.type.d.ts +0 -8
  172. package/operators/all-of.pipe.d.ts +0 -6
  173. package/operators/any-of.pipe.d.ts +0 -6
  174. package/operators/backoff.pipe.d.ts +0 -7
  175. package/operators/catch-and-arrayify-errors.pipe.d.ts +0 -6
  176. package/operators/public_api.d.ts +0 -4
  177. package/orderable/orderable.d.ts +0 -9
  178. package/public_api.d.ts +0 -20
  179. package/routing/public_api.d.ts +0 -2
  180. package/routing/query-param-filter/public_api.d.ts +0 -2
  181. package/routing/query-param-filter/request-builder/equal.d.ts +0 -6
  182. package/routing/query-param-filter/request-builder/public_api.d.ts +0 -2
  183. package/routing/query-param-filter/request-builder/type.d.ts +0 -6
  184. package/routing/query-param-filter/type.d.ts +0 -16
  185. package/routing/uri/normalizer.service.d.ts +0 -22
  186. package/routing/uri/public_api.d.ts +0 -2
  187. package/routing/uri/truncation/file-extension.d.ts +0 -9
  188. package/routing/uri/truncation/leading-path-segments.d.ts +0 -5
  189. package/routing/uri/truncation/leading-slash.d.ts +0 -11
  190. package/routing/uri/truncation/public_api.d.ts +0 -4
  191. package/routing/uri/truncation/query-fragment.d.ts +0 -5
  192. package/state/actions/failure.type.d.ts +0 -13
  193. package/state/actions/public_api.d.ts +0 -1
  194. package/state/collection/actions.d.ts +0 -73
  195. package/state/collection/adapter.class.d.ts +0 -35
  196. package/state/collection/facade.d.ts +0 -34
  197. package/state/collection/facade.interface.d.ts +0 -54
  198. package/state/collection/initial-state.d.ts +0 -2
  199. package/state/collection/public_api.d.ts +0 -6
  200. package/state/collection/selector-factory.d.ts +0 -62
  201. package/state/errors/errorable.type.d.ts +0 -7
  202. package/state/errors/public_api.d.ts +0 -3
  203. package/state/errors/state-error.interface.d.ts +0 -18
  204. package/state/errors/transform-error-to-state-error.d.ts +0 -7
  205. package/state/operation/adapter.d.ts +0 -24
  206. package/state/operation/entity/adapter.d.ts +0 -84
  207. package/state/operation/entity/helpers/create-fake-id.d.ts +0 -7
  208. package/state/operation/entity/public_api.d.ts +0 -5
  209. package/state/operation/entity/selectors.d.ts +0 -24
  210. package/state/operation/entity/state.type.d.ts +0 -8
  211. package/state/operation/entity/type.d.ts +0 -15
  212. package/state/operation/facade.type.d.ts +0 -34
  213. package/state/operation/public_api.d.ts +0 -5
  214. package/state/operation/selectors.d.ts +0 -38
  215. package/state/operation/state.d.ts +0 -9
  216. package/state/operators/public_api.d.ts +0 -1
  217. package/state/operators/substream.pipe.d.ts +0 -26
  218. package/state/public_api.d.ts +0 -8
  219. package/state/reducers/create-meta.d.ts +0 -5
  220. package/state/reducers/identity.d.ts +0 -6
  221. package/state/reducers/public_api.d.ts +0 -2
  222. package/state/states/helpers.d.ts +0 -9
  223. package/state/states/loading.d.ts +0 -5
  224. package/state/states/mutable-loading.d.ts +0 -6
  225. package/state/states/public_api.d.ts +0 -5
  226. package/state/states/state.enum.d.ts +0 -48
  227. package/state/states/stateable.interface.d.ts +0 -8
  228. package/state/store/facade.d.ts +0 -3
  229. package/state/testing/mock-collection-facade.d.ts +0 -26
  230. package/state/testing/mock-operation-facade.d.ts +0 -20
  231. package/state/testing/public_api.d.ts +0 -2
  232. package/storage/error/error.d.ts +0 -7
  233. package/storage/error/error.service.d.ts +0 -15
  234. package/storage/error/public_api.d.ts +0 -2
  235. package/storage/localstorage/localstorage.service.d.ts +0 -23
  236. package/storage/noopstorage/noopstorage.service.d.ts +0 -13
  237. package/storage/persistence-server-safe.token.d.ts +0 -2
  238. package/storage/persistence.interface.d.ts +0 -7
  239. package/storage/public_api.d.ts +0 -6
  240. package/storage/server-error/public_api.d.ts +0 -2
  241. package/storage/server-error/server-error.d.ts +0 -11
  242. package/storage/server-error/server-error.service.d.ts +0 -18
  243. package/testing/angular/mocks/pipes/currency.d.ts +0 -13
  244. package/testing/factories/collection/metadata.factory.d.ts +0 -29
  245. package/testing/factories/collection/mock-collection.class.d.ts +0 -18
  246. package/testing/factories/collection/numerically-paginable.factory.d.ts +0 -8
  247. package/testing/factories/collection/public_api.d.ts +0 -7
  248. package/testing/factories/collection/request.factory.d.ts +0 -25
  249. package/testing/factories/collection/sort-option.factory.d.ts +0 -8
  250. package/testing/factories/collection/sort-options.factory.d.ts +0 -9
  251. package/testing/factories/collection/sortable.factory.d.ts +0 -9
  252. package/testing/factories/factory.d.ts +0 -42
  253. package/testing/factories/factory.interface.d.ts +0 -4
  254. package/testing/factories/filters/filter.factory.d.ts +0 -18
  255. package/testing/factories/filters/public_api.d.ts +0 -4
  256. package/testing/factories/filters/request.factory.d.ts +0 -13
  257. package/testing/factories/filters/toggle-request.d.ts +0 -18
  258. package/testing/factories/filters/type/equal/option.d.ts +0 -17
  259. package/testing/factories/filters/type/equal/public_api.d.ts +0 -3
  260. package/testing/factories/filters/type/equal/request.d.ts +0 -16
  261. package/testing/factories/filters/type/equal/toggle-request.d.ts +0 -16
  262. package/testing/factories/filters/type/equal.d.ts +0 -17
  263. package/testing/factories/filters/type/public_api.d.ts +0 -4
  264. package/testing/factories/filters/type/range-numeric/option.d.ts +0 -15
  265. package/testing/factories/filters/type/range-numeric/pair.d.ts +0 -23
  266. package/testing/factories/filters/type/range-numeric/public_api.d.ts +0 -5
  267. package/testing/factories/filters/type/range-numeric/request-option.d.ts +0 -15
  268. package/testing/factories/filters/type/range-numeric/request.d.ts +0 -23
  269. package/testing/factories/filters/type/range-numeric/toggle-request.d.ts +0 -20
  270. package/testing/factories/filters/type/range-numeric.d.ts +0 -19
  271. package/testing/factories/identifiable.factory.d.ts +0 -11
  272. package/testing/factories/public_api.d.ts +0 -5
  273. package/testing/public_api.d.ts +0 -4
  274. package/testing/testing.module.d.ts +0 -7
  275. package/testing/unique/enforce.d.ts +0 -7
  276. package/types/html.type.d.ts +0 -5
  277. package/types/id.type.d.ts +0 -1
  278. package/types/public_api.d.ts +0 -2
  279. package/utils/array-to-dict.d.ts +0 -7
  280. package/utils/collect.d.ts +0 -6
  281. package/utils/identity.d.ts +0 -5
  282. package/utils/long-arithmetic.d.ts +0 -43
  283. package/utils/observe.d.ts +0 -9
  284. package/utils/public_api.d.ts +0 -16
  285. package/utils/random-slice.d.ts +0 -7
  286. package/utils/random-subset.d.ts +0 -7
  287. package/utils/range.d.ts +0 -12
  288. package/utils/sample.d.ts +0 -4
  289. package/utils/shallow-compare.d.ts +0 -6
  290. package/utils/shuffle.d.ts +0 -5
  291. package/utils/unique.d.ts +0 -8
  292. package/validator/field-presence.d.ts +0 -6
  293. package/validator/public_api.d.ts +0 -1
package/state/index.d.ts CHANGED
@@ -1 +1,649 @@
1
- export * from './public_api';
1
+ import { Action, MemoizedSelector, Store, Selector, ActionReducer } from '@ngrx/store';
2
+ import { DaffCollectionMetadata, DaffFilterRequest, DaffFilterToggleRequest, DaffCollectionRequest, DaffFilters, DaffSortOption, DaffSortDirectionEnum, DaffError, DaffIdentifiable } from '@daffodil/core';
3
+ import * as rxjs from 'rxjs';
4
+ import { Observable } from 'rxjs';
5
+ import { EntityAdapter, EntityState } from '@ngrx/entity';
6
+ import * as node_modules__ngrx_entity_src_models from 'node_modules/@ngrx/entity/src/models';
7
+
8
+ /**
9
+ * An error object that can be serialized in state.
10
+ */
11
+ interface DaffStateError {
12
+ /**
13
+ * The error code that uniquely identifies the type of error.
14
+ */
15
+ code: string;
16
+ /**
17
+ * A message that describes the error.
18
+ */
19
+ message: string;
20
+ /**
21
+ * Whether the error is non-critical and recoverable or catastrophic and unrecoverable.
22
+ * This field is optional. If omitted, the error is assumed to be unrecoverable.
23
+ */
24
+ recoverable?: boolean;
25
+ }
26
+
27
+ interface DaffFailable {
28
+ /**
29
+ * A list of errors that occured during the operation.
30
+ */
31
+ readonly payload: DaffStateError[];
32
+ }
33
+ /**
34
+ * An action that represents a failure of an operation.
35
+ */
36
+ interface DaffFailureAction extends DaffFailable, Action {
37
+ }
38
+
39
+ /**
40
+ * An action for changing the number of items shown on each page for this collection.
41
+ */
42
+ interface DaffCollectionChangePageSize extends Action {
43
+ /**
44
+ * The number of items per page.
45
+ */
46
+ readonly pageSize: DaffCollectionMetadata['pageSize'];
47
+ }
48
+ /**
49
+ * An action for changing the current page of items for this collection.
50
+ */
51
+ interface DaffCollectionChangeCurrentPage extends Action {
52
+ /**
53
+ * The current page of items for this collection.
54
+ */
55
+ readonly currentPage: DaffCollectionMetadata['currentPage'];
56
+ }
57
+ /**
58
+ * An action for changing the sorting option for this collection.
59
+ */
60
+ interface DaffCollectionChangeSortingOption extends Action {
61
+ /**
62
+ * The sort option to be applied.
63
+ */
64
+ readonly sort: {
65
+ option: DaffCollectionMetadata['appliedSortOption'];
66
+ direction: DaffCollectionMetadata['appliedSortDirection'];
67
+ };
68
+ }
69
+ /**
70
+ * An action for replacing the filters for the collection.
71
+ * All existing filters will be removed and the specified filters will be applied.
72
+ */
73
+ interface DaffCollectionReplaceFilters extends Action {
74
+ /**
75
+ * Filters to be set on the collection.
76
+ */
77
+ readonly filters: DaffFilterRequest[];
78
+ }
79
+ /**
80
+ * An action for applying the specified filters for the collection.
81
+ */
82
+ interface DaffCollectionApplyFilters extends Action {
83
+ /**
84
+ * Filters to be applied to the collection.
85
+ */
86
+ readonly filters: DaffFilterRequest[];
87
+ }
88
+ /**
89
+ * An action for removing the specified filters for the collection.
90
+ */
91
+ interface DaffCollectionRemoveFilters extends Action {
92
+ /**
93
+ * Filters to be removed from the collection.
94
+ */
95
+ readonly filters: DaffFilterRequest[];
96
+ }
97
+ /**
98
+ * An action for removing all the filters for the collection.
99
+ */
100
+ type DaffCollectionClearFilters = Action;
101
+ /**
102
+ * An action for toggling a filters for the collection.
103
+ */
104
+ interface DaffCollectionToggleFilter extends Action {
105
+ /**
106
+ * Filter to be toggled on the collection.
107
+ */
108
+ readonly filter: DaffFilterToggleRequest;
109
+ }
110
+
111
+ /**
112
+ * Provides an abstracted way to manage a collection state.
113
+ */
114
+ declare class DaffCollectionStateAdapter<T extends DaffCollectionMetadata = DaffCollectionMetadata> {
115
+ /**
116
+ * Stores a collection request in state.
117
+ * This is useful when you want to preemptively reduce a request before waiting for a response.
118
+ */
119
+ storeRequest(request: DaffCollectionRequest, state: T): T;
120
+ /**
121
+ * Sets the page size.
122
+ */
123
+ setPageSize(size: number, state: T): T;
124
+ /**
125
+ * Sets the current page.
126
+ */
127
+ setCurrentPage(page: number, state: T): T;
128
+ /**
129
+ * Sets the sorting option and direction.
130
+ */
131
+ setSort(option: string, direction: string, state: T): T;
132
+ /**
133
+ * Sets the collection filters.
134
+ */
135
+ setFilters(filters: DaffFilters, state: T): T;
136
+ /**
137
+ * Set the entire collection metadata at once.
138
+ */
139
+ setMetadata(metadata: DaffCollectionMetadata, state: T): T;
140
+ }
141
+ /**
142
+ * Create the adapter for the collection state.
143
+ */
144
+ declare const getCollectionStateAdapter: <T extends DaffCollectionMetadata = DaffCollectionMetadata>() => DaffCollectionStateAdapter<T>;
145
+
146
+ declare const daffCollectionReducerInitialState: DaffCollectionMetadata;
147
+
148
+ /**
149
+ * An interface to describe all selectors related to the collection metadata.
150
+ */
151
+ interface DaffCollectionMemoizedSelectors<TState, TMetadata extends DaffCollectionMetadata = DaffCollectionMetadata> {
152
+ /**
153
+ * Selects the metadata for the collection.
154
+ */
155
+ selectCollectionMetadata: MemoizedSelector<TState, TMetadata>;
156
+ /**
157
+ * Builds a request that matches the current collection.
158
+ */
159
+ selectCollectionRequest: MemoizedSelector<TState, DaffCollectionRequest>;
160
+ /**
161
+ * Selects the total number of items of the collection.
162
+ */
163
+ selectCollectionCount: MemoizedSelector<TState, TMetadata['count']>;
164
+ /**
165
+ * Selects the current page of items of the collection.
166
+ */
167
+ selectCollectionCurrentPage: MemoizedSelector<TState, TMetadata['currentPage']>;
168
+ /**
169
+ * Selects the total number of pages of items that exist in the collection.
170
+ */
171
+ selectCollectionTotalPages: MemoizedSelector<TState, TMetadata['totalPages']>;
172
+ /**
173
+ * Selects the number of items on each collection.
174
+ */
175
+ selectCollectionPageSize: MemoizedSelector<TState, TMetadata['pageSize']>;
176
+ /**
177
+ * Selects the sort options that may be applied to the collection.
178
+ */
179
+ selectCollectionSortOptions: MemoizedSelector<TState, TMetadata['sortOptions']['options']>;
180
+ /**
181
+ * Selects the applied sorting option if one is applied.
182
+ */
183
+ selectCollectionAppliedSortOption: MemoizedSelector<TState, TMetadata['appliedSortOption']>;
184
+ /**
185
+ * Selects the applied sorting direction if a sorting option is applied.
186
+ */
187
+ selectCollectionAppliedSortDirection: MemoizedSelector<TState, TMetadata['appliedSortDirection']>;
188
+ /**
189
+ * Selects the applied sorting direction if a sorting option is applied.
190
+ */
191
+ selectCollectionIds: MemoizedSelector<TState, TMetadata['ids']>;
192
+ /**
193
+ * Selects the filters that may be applied to the collection.
194
+ */
195
+ selectCollectionFilters: MemoizedSelector<TState, TMetadata['filters']>;
196
+ /**
197
+ * Returns a dict of filters and only their applied options.
198
+ * Filters with no applied options will be omitted.
199
+ */
200
+ selectCollectionAppliedFilters: MemoizedSelector<TState, DaffFilters>;
201
+ }
202
+ /**
203
+ * Creates collection selectors.
204
+ *
205
+ * @param selectCollectionState A selector for the particular collection state upon which the returned selectors should operate.
206
+ */
207
+ declare const daffCollectionSelectorFactory: <TState, TMetadata extends DaffCollectionMetadata = DaffCollectionMetadata>(selectCollectionState: MemoizedSelector<TState, TMetadata>) => DaffCollectionMemoizedSelectors<TState, TMetadata>;
208
+
209
+ interface DaffStoreFacade<T> {
210
+ dispatch(action: T): any;
211
+ }
212
+
213
+ /**
214
+ * A facade for interacting with a collection state.
215
+ */
216
+ interface DaffCollectionFacadeInterface<TMetadata extends DaffCollectionMetadata = DaffCollectionMetadata> extends DaffStoreFacade<Action> {
217
+ /**
218
+ * The page metadata for the collection.
219
+ */
220
+ metadata$: Observable<TMetadata>;
221
+ /**
222
+ * Builds a request that matches the current collection.
223
+ */
224
+ request$: Observable<DaffCollectionRequest>;
225
+ /**
226
+ * The number of items in the collection.
227
+ */
228
+ count$: Observable<number>;
229
+ /**
230
+ * The current page of items for the collection.
231
+ */
232
+ currentPage$: Observable<number>;
233
+ /**
234
+ * The number of pages of items available in the collection.
235
+ */
236
+ totalPages$: Observable<number>;
237
+ /**
238
+ * The number of items per page for the collection.
239
+ */
240
+ pageSize$: Observable<number>;
241
+ /**
242
+ * The sort options available for the items of the collection.
243
+ */
244
+ sortOptions$: Observable<DaffSortOption[]>;
245
+ /**
246
+ * The sort options available for the items of the collection.
247
+ */
248
+ appliedSortOption$: Observable<string>;
249
+ /**
250
+ * The sort options available for the items of the collection.
251
+ */
252
+ appliedSortDirection$: Observable<DaffSortDirectionEnum>;
253
+ /**
254
+ * The filters available for the entities of the collection.
255
+ */
256
+ filters$: Observable<DaffFilters>;
257
+ /**
258
+ * The sort options available for the entities of the collection.
259
+ */
260
+ appliedFilters$: Observable<DaffFilters>;
261
+ }
262
+
263
+ /**
264
+ * An abstract class for a collection facade.
265
+ * It is configurable via its constructor parameters.
266
+ * The particular collection state from which
267
+ * this facade will read is determined by the selectors passed.
268
+ *
269
+ * @inheritdoc
270
+ */
271
+ declare abstract class DaffCollectionFacade<TState, TMetadata extends DaffCollectionMetadata = DaffCollectionMetadata> implements DaffCollectionFacadeInterface<TMetadata> {
272
+ protected store: Store<TState>;
273
+ metadata$: Observable<TMetadata>;
274
+ request$: Observable<DaffCollectionRequest>;
275
+ count$: Observable<number>;
276
+ currentPage$: Observable<number>;
277
+ totalPages$: Observable<number>;
278
+ pageSize$: Observable<number>;
279
+ sortOptions$: Observable<DaffSortOption[]>;
280
+ appliedSortOption$: Observable<string>;
281
+ appliedSortDirection$: Observable<DaffSortDirectionEnum>;
282
+ filters$: Observable<DaffFilters>;
283
+ appliedFilters$: Observable<DaffFilters>;
284
+ constructor(store: Store<TState>, selectors: DaffCollectionMemoizedSelectors<TState, TMetadata>);
285
+ /**
286
+ * Dispatches the given action.
287
+ *
288
+ * @param action action to dispatch.
289
+ */
290
+ dispatch(action: Action): void;
291
+ }
292
+
293
+ interface DaffErrorable {
294
+ /**
295
+ * A list of errors applicable only to this entity.
296
+ */
297
+ daffErrors: DaffStateError[];
298
+ }
299
+
300
+ type ErrorTransformer = (DaffError: any) => DaffStateError;
301
+ /**
302
+ * Transforms an error instance to a state error object.
303
+ */
304
+ declare function daffTransformErrorToStateError({ code, message, recoverable }: DaffError): DaffStateError;
305
+
306
+ /**
307
+ * The DaffState enumerates the vast majority of state modifications that can exist
308
+ * in UI applications.
309
+ */
310
+ declare const enum DaffState {
311
+ /**
312
+ * The 'Stable' state represents when no action is being taken upon an object.
313
+ */
314
+ Stable = "Stable",
315
+ /**
316
+ * The 'Resolving' state represents when there's uncertainty in the current status
317
+ * of a state, e.g. when we're loading something that hasn't been loaded into
318
+ * state before.
319
+ */
320
+ Resolving = "Resolving",
321
+ /**
322
+ * The 'Adding' state represents a temporary period while an item is being
323
+ * added to state.
324
+ */
325
+ Adding = "Adding",
326
+ /**
327
+ * The 'Added' state represents when an object was recently added to state.
328
+ * This typically is associated with a subsequent decay to a 'Stable' state.
329
+ */
330
+ Added = "Added",
331
+ /**
332
+ * The 'Updating' state describes when an object that currently exists in state
333
+ * is being changed in some way.
334
+ *
335
+ * Disambiguation: This has nothing to do with immutability.
336
+ */
337
+ Updating = "Updating",
338
+ /**
339
+ * The 'Mutated' state describes when an object has recently been modified in
340
+ * state. This state is typically associated with a subsequent decay into a
341
+ * 'Stable' state.
342
+ */
343
+ Updated = "Updated",
344
+ /**
345
+ * The "Deleting" state occurs when an object is in the process of being
346
+ * removed from state.
347
+ */
348
+ Deleting = "Deleting",
349
+ /**
350
+ * Indicates that the most recent operation specififc to this entity has failed.
351
+ */
352
+ Error = "Error"
353
+ }
354
+
355
+ /**
356
+ * A state description for an object that is read-only.
357
+ */
358
+ type DaffLoadingState = DaffState.Resolving | DaffState.Stable;
359
+
360
+ /**
361
+ * A description for an object that is both readable and writable.
362
+ */
363
+ type DaffMutableLoadingState = DaffLoadingState | DaffState.Updating;
364
+
365
+ /**
366
+ * The interface an object must implement to consistently describe its current
367
+ * state.
368
+ */
369
+ interface DaffStateable<T extends DaffState = DaffState> {
370
+ daffState: T;
371
+ }
372
+
373
+ /**
374
+ * Returns whether the state is one that represents an operation in progress.
375
+ */
376
+ declare function daffStateIsLoading(daffState: DaffState): boolean;
377
+ /**
378
+ * Returns whether the state is one that represents a mutable operation in progress.
379
+ */
380
+ declare function daffStateIsMutating(daffState: DaffState): boolean;
381
+
382
+ /**
383
+ * A basic operation state.
384
+ * Represents the current state of an operation and any associated errors.
385
+ */
386
+ interface DaffOperationState extends DaffErrorable, DaffStateable {
387
+ }
388
+ declare const daffOperationInitialState: DaffOperationState;
389
+
390
+ /**
391
+ * Puts the state in a "resolving" state that correspondes to loading platform data in a GET fashion.
392
+ * Sets loading to `DaffState.Resolving`
393
+ */
394
+ declare function daffStartResolution<T extends DaffOperationState = DaffOperationState>(state: T): T;
395
+ /**
396
+ * Puts the state in a "mutating" state that correspondes to loading platform data in a POST or PUT fashion.
397
+ */
398
+ declare function daffStartMutation<T extends DaffOperationState = DaffOperationState>(state: T): T;
399
+ /**
400
+ * Indicates a successfully completed operation.
401
+ * Sets loading to stable and resets errors.
402
+ */
403
+ declare function daffCompleteOperation<T extends DaffOperationState = DaffOperationState>(state: T): T;
404
+ /**
405
+ * Indicates a failed operation.
406
+ * Sets loading to stable and stores errors.
407
+ */
408
+ declare function daffOperationFailed<T extends DaffOperationState = DaffOperationState>(errors: T['daffErrors'], state: T): T;
409
+ /**
410
+ * Resets errors.
411
+ */
412
+ declare function daffClearErrors<T extends DaffOperationState = DaffOperationState>(state: T): T;
413
+
414
+ /**
415
+ * Selectors for an operation state.
416
+ */
417
+ interface DaffOperationStateSelectors<TRootState, TState extends DaffOperationState = DaffOperationState> {
418
+ /**
419
+ * Selects the loading state enum.
420
+ */
421
+ selectLoadingState: MemoizedSelector<TRootState, TState['daffState']>;
422
+ /**
423
+ * Selects whether the operation state is in any of the loading states.
424
+ */
425
+ selectLoading: MemoizedSelector<TRootState, boolean>;
426
+ /**
427
+ * Selects whether the operation state is resolving.
428
+ */
429
+ selectResolving: MemoizedSelector<TRootState, boolean>;
430
+ /**
431
+ * Selects whether the operation state is mutating.
432
+ */
433
+ selectMutating: MemoizedSelector<TRootState, boolean>;
434
+ /**
435
+ * Selects the errors in the operation state.
436
+ */
437
+ selectErrors: MemoizedSelector<TRootState, TState['daffErrors']>;
438
+ /**
439
+ * Selects whether the operation state has any errors.
440
+ * If so, it should be considered to be in an "error" state.
441
+ */
442
+ selectHasErrors: MemoizedSelector<TRootState, boolean>;
443
+ }
444
+ /**
445
+ * Creates a set of selectors for an operation state.
446
+ *
447
+ * @param selectState The feature selector for the operation state.
448
+ */
449
+ declare function daffOperationStateSelectorFactory<TRootState, TState extends DaffOperationState = DaffOperationState>(selectState: Selector<TRootState, TState>): DaffOperationStateSelectors<TRootState, TState>;
450
+
451
+ /**
452
+ * A facade for an operation state.
453
+ */
454
+ interface DaffOperationStateFacadeInterface<TState extends DaffOperationState = DaffOperationState> extends DaffStoreFacade<Action> {
455
+ /**
456
+ * The loading state enum.
457
+ */
458
+ loadingState$: Observable<TState['daffState']>;
459
+ /**
460
+ * Whether the operation state is in any of the loading states.
461
+ */
462
+ loading$: Observable<boolean>;
463
+ /**
464
+ * Whether the operation state is resolving.
465
+ */
466
+ resolving$: Observable<boolean>;
467
+ /**
468
+ * Whether the operation state is mutating.
469
+ */
470
+ mutating$: Observable<boolean>;
471
+ /**
472
+ * The errors in the operation state.
473
+ */
474
+ errors$: Observable<TState['daffErrors']>;
475
+ /**
476
+ * Whether the operation state has any errors.
477
+ * If so, it should be considered to be in an "error" state.
478
+ */
479
+ hasErrors$: Observable<boolean>;
480
+ }
481
+
482
+ /**
483
+ * An entity that is responsible for storing its own errors and loading state.
484
+ * Its possible to be an "optimistic" entity, i.e. only temporary while the real entity is in some loading state.
485
+ */
486
+ type DaffOperationEntity<T extends DaffIdentifiable = DaffIdentifiable> = DaffStateable & DaffErrorable & T & {
487
+ /**
488
+ * Whether this entity is temporary.
489
+ * A temporary entity is a placeholder for the optimistic success of an entity operation
490
+ * and will appear in entity state during `get` and `add` operations, if necessary.
491
+ */
492
+ daffTemp: boolean;
493
+ };
494
+
495
+ declare const giveMeType: <T, V>(adapter: EntityAdapter<T>) => node_modules__ngrx_entity_src_models.MemoizedEntitySelectors<T, V>;
496
+ type EntitySelectors<T, V> = ReturnType<typeof giveMeType<T, V>>;
497
+ /**
498
+ * Selectors for an operation state.
499
+ */
500
+ interface DaffOperationEntityStateSelectors<TRootState, T extends DaffIdentifiable = DaffIdentifiable> extends EntitySelectors<DaffOperationEntity<T>, TRootState> {
501
+ /**
502
+ * Selects an entity by ID.
503
+ */
504
+ selectEntity: (id: T['id']) => MemoizedSelector<TRootState, DaffOperationEntity<T>>;
505
+ /**
506
+ * Optimistically selects the list of entities.
507
+ * This excludes temporary entities with errors.
508
+ */
509
+ selectOptimisticList: MemoizedSelector<TRootState, DaffOperationEntity<T>[]>;
510
+ }
511
+ /**
512
+ * Creates a set of selectors for an entity operation state.
513
+ *
514
+ * @param selectState The feature selector for the entity operation state.
515
+ */
516
+ declare function daffOperationEntityStateSelectorFactory<TRootState, T extends DaffIdentifiable = DaffIdentifiable>(entitySelectors: EntitySelectors<DaffOperationEntity<T>, TRootState>): DaffOperationEntityStateSelectors<TRootState, T>;
517
+
518
+ /**
519
+ * An operation entity state.
520
+ * Stores the current state of an operation and any associated errors directly on the entity for context.
521
+ */
522
+ type DaffOperationEntityState<T extends DaffIdentifiable = DaffIdentifiable> = EntityState<DaffOperationEntity<T>>;
523
+
524
+ /**
525
+ * An entity state adapter that takes care of managing contextual operation and error state for entities.
526
+ */
527
+ interface DaffOperationEntityStateAdapterInterface<T extends DaffIdentifiable = DaffIdentifiable> {
528
+ /**
529
+ * Stores a list of entities in state and resets them all to stable.
530
+ */
531
+ list<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(entities: T[], state: S): S;
532
+ /**
533
+ * Optimistically adds a placeholder entity into state if necessary and sets the entity to resolving.
534
+ */
535
+ preload<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(id: string, state: S): S;
536
+ /**
537
+ * Upserts the entity into state and resets operation state and errors.
538
+ */
539
+ load<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(entity: T, state: S): S;
540
+ /**
541
+ * Adds a placeholder entity into state if `placeholderId` is specified and sets state to adding.
542
+ */
543
+ preadd<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(entity: T, state: S, placeholderId?: string): S;
544
+ /**
545
+ * Adds the entity into state, sets operation state to added, and resets errors.
546
+ */
547
+ add<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(entity: T, state: S, placeholderId?: string): S;
548
+ /**
549
+ * Sets the entity's operation state to mutating.
550
+ */
551
+ preupdate<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(entity: Partial<T> & DaffIdentifiable, state: S): S;
552
+ /**
553
+ * Upserts the entity into state, sets operation state to mutated, and resets errors.
554
+ */
555
+ update<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(entity: Partial<T> & DaffIdentifiable, state: S): S;
556
+ /**
557
+ * Sets the entity's operation state to deleting.
558
+ */
559
+ preremove<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(key: string, state: S): S;
560
+ /**
561
+ * Removes the entity from state.
562
+ */
563
+ remove<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(key: string, state: S): S;
564
+ /**
565
+ * Resets the entity's operation state and stores errors on the entity.
566
+ */
567
+ operationFailed<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(key: string, errors: DaffStateError[], state: S): S;
568
+ /**
569
+ * Resets the entity's operation state to stable.
570
+ */
571
+ resetState<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(key: string, state: S): S;
572
+ /**
573
+ * Gets an empty entity state.
574
+ */
575
+ getInitialState<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(state?: S): S;
576
+ /**
577
+ * Gets entity selectors.
578
+ */
579
+ getSelectors<TRootState>(selectState: (state: TRootState) => DaffOperationEntityState<T>): DaffOperationEntityStateSelectors<TRootState, T>;
580
+ }
581
+ /**
582
+ * @inheritdoc
583
+ */
584
+ declare class DaffOperationEntityStateAdapter<T extends DaffIdentifiable = DaffIdentifiable> implements DaffOperationEntityStateAdapterInterface<T> {
585
+ protected adapter: EntityAdapter<DaffOperationEntity<T>>;
586
+ constructor(adapter?: EntityAdapter<DaffOperationEntity<T>>);
587
+ list<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(entities: T[], state: S): S;
588
+ preload<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(id: string, state: S): S;
589
+ load<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(entity: T, state: S): S;
590
+ preadd<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(entity: T, state: S, placeholderId?: string): S;
591
+ add<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(entity: T, state: S, placeholderId?: string): S;
592
+ preupdate<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(entity: Partial<T> & DaffIdentifiable, state: S): S;
593
+ update<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(entity: Partial<T> & DaffIdentifiable, state: S): S;
594
+ preremove<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(key: string, state: S): S;
595
+ remove<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(key: string, state: S): S;
596
+ operationFailed<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(key: string, errors: DaffStateError[], state: S): S;
597
+ resetState<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(key: string, state: S): S;
598
+ getInitialState<S extends DaffOperationEntityState<T> = DaffOperationEntityState<T>>(state?: S): S;
599
+ getSelectors<TRootState>(selectState: (state: TRootState) => DaffOperationEntityState<T>): DaffOperationEntityStateSelectors<TRootState, T>;
600
+ }
601
+ declare function daffCreateOperationEntityStateAdapter<T extends DaffIdentifiable = DaffIdentifiable>(adapter?: EntityAdapter<DaffOperationEntity<T>>): DaffOperationEntityStateAdapter<T>;
602
+
603
+ /**
604
+ * Generate a fake ID for use with placeholder entities.
605
+ *
606
+ * @param key An optional key that can augment the randomly generated ID.
607
+ * @returns A string cont
608
+ */
609
+ declare function daffOperationEntityCreateFakeId(key?: string): string;
610
+
611
+ type ActionType = Action['type'];
612
+ type ActionSequenceStep = ActionType | ActionType[];
613
+ type ActionSequence = ActionSequenceStep[];
614
+ /**
615
+ * Watches for a particular stream of actions in the specified order and
616
+ * emits a list of those actions once all sequence steps have been matched.
617
+ *
618
+ * This will find the first occurence of the substream and not necessarily the most concise or recent substream.
619
+ * For example, substream([A, B]) encountering an action stream of [A1, A2, B1, B2] will emit [A1, B1].
620
+ * When a substream is found and emitted, the list is reset and it will continue to listen to the action stream.
621
+ *
622
+ * You can indicate that a particular step in the sequence can be matched by mutiple actions by passing an array for that step.
623
+ * For example, if the first step of the sequence could be action A or action B: substream([[A, B], C]).
624
+ * An action stream of [A1, C1] would cause substream to emit [A1, C1].
625
+ * An action stream of [B1, C1] would cause substream to emit [B1, C1].
626
+ * An action stream of [A1, B1, C1] would cause substream to emit [A1, C1].
627
+ *
628
+ * You can optionally pass a list of terminators.
629
+ * If a terminator is encountered in the action stream, any partially matched substream is reset.
630
+ * For example, substream([A, B], C) would not emit anything for an action stream of [A1, C1, B1].
631
+ *
632
+ * @param sequence The sequence of action types that define the substream to listen for.
633
+ * @param terminators A list of terminators, any of which interrupt and reset a partially matched substream.
634
+ */
635
+ declare const substream: (sequence: ActionSequence, ...terminators: ActionType[]) => rxjs.UnaryFunction<rxjs.Observable<Action<string>>, rxjs.Observable<any>>;
636
+
637
+ /**
638
+ * Creates and returns a composite reducer that invokes each of the passed reducers in turn.
639
+ */
640
+ declare function daffComposeReducers<T, V extends Action = Action>(reducers: ActionReducer<T, V>[]): ActionReducer<T, V>;
641
+
642
+ /**
643
+ * A simple reducer that simply returns the passed state.
644
+ * This is useful for stubbing out parts of state that are not covered in an injected extra reducer map.
645
+ */
646
+ declare const daffIdentityReducer: <T = unknown>(state: T, action: Action) => T;
647
+
648
+ export { DaffCollectionFacade, DaffCollectionStateAdapter, DaffOperationEntityStateAdapter, DaffState, daffClearErrors, daffCollectionReducerInitialState, daffCollectionSelectorFactory, daffCompleteOperation, daffComposeReducers, daffCreateOperationEntityStateAdapter, daffIdentityReducer, daffOperationEntityCreateFakeId, daffOperationEntityStateSelectorFactory, daffOperationFailed, daffOperationInitialState, daffOperationStateSelectorFactory, daffStartMutation, daffStartResolution, daffStateIsLoading, daffStateIsMutating, daffTransformErrorToStateError, getCollectionStateAdapter, substream };
649
+ export type { ActionSequence, ActionSequenceStep, ActionType, DaffCollectionApplyFilters, DaffCollectionChangeCurrentPage, DaffCollectionChangePageSize, DaffCollectionChangeSortingOption, DaffCollectionClearFilters, DaffCollectionFacadeInterface, DaffCollectionMemoizedSelectors, DaffCollectionRemoveFilters, DaffCollectionReplaceFilters, DaffCollectionToggleFilter, DaffErrorable, DaffFailable, DaffFailureAction, DaffLoadingState, DaffMutableLoadingState, DaffOperationEntity, DaffOperationEntityState, DaffOperationEntityStateAdapterInterface, DaffOperationEntityStateSelectors, DaffOperationState, DaffOperationStateFacadeInterface, DaffOperationStateSelectors, DaffStateError, DaffStateable, DaffStoreFacade, ErrorTransformer };