@open-kingdom/shared-frontend-data-access-notifications 0.0.2-4 → 0.0.2-7

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.
@@ -1,19 +1,19 @@
1
1
  import { addNotification, dismissNotification, removeNotification, clearNotifications, updateConfig } from './notification.slice';
2
2
  export { addNotification, dismissNotification, removeNotification, clearNotifications, updateConfig, };
3
3
  export declare const showSuccessNotification: (message: string) => {
4
- payload: Omit<import('@open-kingdom/shared-poly-util-types').NotificationEntry, "id" | "timestamp">;
4
+ payload: Omit<import("@open-kingdom/shared-poly-util-types").NotificationEntry, "id" | "timestamp">;
5
5
  type: "notifications/addNotification";
6
6
  };
7
7
  export declare const showWarningNotification: (message: string) => {
8
- payload: Omit<import('@open-kingdom/shared-poly-util-types').NotificationEntry, "id" | "timestamp">;
8
+ payload: Omit<import("@open-kingdom/shared-poly-util-types").NotificationEntry, "id" | "timestamp">;
9
9
  type: "notifications/addNotification";
10
10
  };
11
11
  export declare const showErrorNotification: (message: string) => {
12
- payload: Omit<import('@open-kingdom/shared-poly-util-types').NotificationEntry, "id" | "timestamp">;
12
+ payload: Omit<import("@open-kingdom/shared-poly-util-types").NotificationEntry, "id" | "timestamp">;
13
13
  type: "notifications/addNotification";
14
14
  };
15
15
  export declare const showNotification: (message: string, type: "success" | "warning" | "error") => {
16
- payload: Omit<import('@open-kingdom/shared-poly-util-types').NotificationEntry, "id" | "timestamp">;
16
+ payload: Omit<import("@open-kingdom/shared-poly-util-types").NotificationEntry, "id" | "timestamp">;
17
17
  type: "notifications/addNotification";
18
18
  };
19
19
  //# sourceMappingURL=notification.actions.d.ts.map
@@ -6,197 +6,197 @@ export declare const selectAllNotifications: ((state: {
6
6
  [key: string]: unknown;
7
7
  } & {
8
8
  notifications: NotificationState;
9
- }) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
9
+ }) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
10
10
  clearCache: () => void;
11
11
  resultsCount: () => number;
12
12
  resetResultsCount: () => void;
13
13
  } & {
14
- resultFunc: (resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
15
- memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
14
+ resultFunc: (resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
15
+ memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
16
16
  clearCache: () => void;
17
17
  resultsCount: () => number;
18
18
  resetResultsCount: () => void;
19
19
  };
20
- lastResult: () => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
20
+ lastResult: () => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
21
21
  dependencies: [(state: RootStateContainingNotifications) => NotificationState];
22
22
  recomputations: () => number;
23
23
  resetRecomputations: () => void;
24
24
  dependencyRecomputations: () => number;
25
25
  resetDependencyRecomputations: () => void;
26
26
  } & {
27
- memoize: typeof import('reselect').weakMapMemoize;
28
- argsMemoize: typeof import('reselect').weakMapMemoize;
27
+ memoize: typeof import("reselect").weakMapMemoize;
28
+ argsMemoize: typeof import("reselect").weakMapMemoize;
29
29
  };
30
30
  export declare const selectActiveNotifications: ((state: {
31
31
  [key: string]: unknown;
32
32
  } & {
33
33
  notifications: NotificationState;
34
- }) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
34
+ }) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
35
35
  clearCache: () => void;
36
36
  resultsCount: () => number;
37
37
  resetResultsCount: () => void;
38
38
  } & {
39
- resultFunc: (resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
40
- memoizedResultFunc: ((resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
39
+ resultFunc: (resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
40
+ memoizedResultFunc: ((resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
41
41
  clearCache: () => void;
42
42
  resultsCount: () => number;
43
43
  resetResultsCount: () => void;
44
44
  };
45
- lastResult: () => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
45
+ lastResult: () => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
46
46
  dependencies: [((state: {
47
47
  [key: string]: unknown;
48
48
  } & {
49
49
  notifications: NotificationState;
50
- }) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
50
+ }) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
51
51
  clearCache: () => void;
52
52
  resultsCount: () => number;
53
53
  resetResultsCount: () => void;
54
54
  } & {
55
- resultFunc: (resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
56
- memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
55
+ resultFunc: (resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
56
+ memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
57
57
  clearCache: () => void;
58
58
  resultsCount: () => number;
59
59
  resetResultsCount: () => void;
60
60
  };
61
- lastResult: () => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
61
+ lastResult: () => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
62
62
  dependencies: [(state: RootStateContainingNotifications) => NotificationState];
63
63
  recomputations: () => number;
64
64
  resetRecomputations: () => void;
65
65
  dependencyRecomputations: () => number;
66
66
  resetDependencyRecomputations: () => void;
67
67
  } & {
68
- memoize: typeof import('reselect').weakMapMemoize;
69
- argsMemoize: typeof import('reselect').weakMapMemoize;
68
+ memoize: typeof import("reselect").weakMapMemoize;
69
+ argsMemoize: typeof import("reselect").weakMapMemoize;
70
70
  }];
71
71
  recomputations: () => number;
72
72
  resetRecomputations: () => void;
73
73
  dependencyRecomputations: () => number;
74
74
  resetDependencyRecomputations: () => void;
75
75
  } & {
76
- memoize: typeof import('reselect').weakMapMemoize;
77
- argsMemoize: typeof import('reselect').weakMapMemoize;
76
+ memoize: typeof import("reselect").weakMapMemoize;
77
+ argsMemoize: typeof import("reselect").weakMapMemoize;
78
78
  };
79
79
  export declare const selectNotificationsByType: (type: "success" | "warning" | "error") => ((state: {
80
80
  [key: string]: unknown;
81
81
  } & {
82
82
  notifications: NotificationState;
83
- }) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
83
+ }) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
84
84
  clearCache: () => void;
85
85
  resultsCount: () => number;
86
86
  resetResultsCount: () => void;
87
87
  } & {
88
- resultFunc: (resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
89
- memoizedResultFunc: ((resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
88
+ resultFunc: (resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
89
+ memoizedResultFunc: ((resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
90
90
  clearCache: () => void;
91
91
  resultsCount: () => number;
92
92
  resetResultsCount: () => void;
93
93
  };
94
- lastResult: () => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
94
+ lastResult: () => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
95
95
  dependencies: [((state: {
96
96
  [key: string]: unknown;
97
97
  } & {
98
98
  notifications: NotificationState;
99
- }) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
99
+ }) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
100
100
  clearCache: () => void;
101
101
  resultsCount: () => number;
102
102
  resetResultsCount: () => void;
103
103
  } & {
104
- resultFunc: (resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
105
- memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
104
+ resultFunc: (resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
105
+ memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
106
106
  clearCache: () => void;
107
107
  resultsCount: () => number;
108
108
  resetResultsCount: () => void;
109
109
  };
110
- lastResult: () => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
110
+ lastResult: () => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
111
111
  dependencies: [(state: RootStateContainingNotifications) => NotificationState];
112
112
  recomputations: () => number;
113
113
  resetRecomputations: () => void;
114
114
  dependencyRecomputations: () => number;
115
115
  resetDependencyRecomputations: () => void;
116
116
  } & {
117
- memoize: typeof import('reselect').weakMapMemoize;
118
- argsMemoize: typeof import('reselect').weakMapMemoize;
117
+ memoize: typeof import("reselect").weakMapMemoize;
118
+ argsMemoize: typeof import("reselect").weakMapMemoize;
119
119
  }];
120
120
  recomputations: () => number;
121
121
  resetRecomputations: () => void;
122
122
  dependencyRecomputations: () => number;
123
123
  resetDependencyRecomputations: () => void;
124
124
  } & {
125
- memoize: typeof import('reselect').weakMapMemoize;
126
- argsMemoize: typeof import('reselect').weakMapMemoize;
125
+ memoize: typeof import("reselect").weakMapMemoize;
126
+ argsMemoize: typeof import("reselect").weakMapMemoize;
127
127
  };
128
128
  export declare const selectActiveNotificationsByType: (type: "success" | "warning" | "error") => ((state: {
129
129
  [key: string]: unknown;
130
130
  } & {
131
131
  notifications: NotificationState;
132
- }) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
132
+ }) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
133
133
  clearCache: () => void;
134
134
  resultsCount: () => number;
135
135
  resetResultsCount: () => void;
136
136
  } & {
137
- resultFunc: (resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
138
- memoizedResultFunc: ((resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
137
+ resultFunc: (resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
138
+ memoizedResultFunc: ((resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
139
139
  clearCache: () => void;
140
140
  resultsCount: () => number;
141
141
  resetResultsCount: () => void;
142
142
  };
143
- lastResult: () => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
143
+ lastResult: () => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
144
144
  dependencies: [((state: {
145
145
  [key: string]: unknown;
146
146
  } & {
147
147
  notifications: NotificationState;
148
- }) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
148
+ }) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
149
149
  clearCache: () => void;
150
150
  resultsCount: () => number;
151
151
  resetResultsCount: () => void;
152
152
  } & {
153
- resultFunc: (resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
154
- memoizedResultFunc: ((resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
153
+ resultFunc: (resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
154
+ memoizedResultFunc: ((resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
155
155
  clearCache: () => void;
156
156
  resultsCount: () => number;
157
157
  resetResultsCount: () => void;
158
158
  };
159
- lastResult: () => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
159
+ lastResult: () => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
160
160
  dependencies: [((state: {
161
161
  [key: string]: unknown;
162
162
  } & {
163
163
  notifications: NotificationState;
164
- }) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
164
+ }) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
165
165
  clearCache: () => void;
166
166
  resultsCount: () => number;
167
167
  resetResultsCount: () => void;
168
168
  } & {
169
- resultFunc: (resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
170
- memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
169
+ resultFunc: (resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
170
+ memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
171
171
  clearCache: () => void;
172
172
  resultsCount: () => number;
173
173
  resetResultsCount: () => void;
174
174
  };
175
- lastResult: () => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
175
+ lastResult: () => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
176
176
  dependencies: [(state: RootStateContainingNotifications) => NotificationState];
177
177
  recomputations: () => number;
178
178
  resetRecomputations: () => void;
179
179
  dependencyRecomputations: () => number;
180
180
  resetDependencyRecomputations: () => void;
181
181
  } & {
182
- memoize: typeof import('reselect').weakMapMemoize;
183
- argsMemoize: typeof import('reselect').weakMapMemoize;
182
+ memoize: typeof import("reselect").weakMapMemoize;
183
+ argsMemoize: typeof import("reselect").weakMapMemoize;
184
184
  }];
185
185
  recomputations: () => number;
186
186
  resetRecomputations: () => void;
187
187
  dependencyRecomputations: () => number;
188
188
  resetDependencyRecomputations: () => void;
189
189
  } & {
190
- memoize: typeof import('reselect').weakMapMemoize;
191
- argsMemoize: typeof import('reselect').weakMapMemoize;
190
+ memoize: typeof import("reselect").weakMapMemoize;
191
+ argsMemoize: typeof import("reselect").weakMapMemoize;
192
192
  }];
193
193
  recomputations: () => number;
194
194
  resetRecomputations: () => void;
195
195
  dependencyRecomputations: () => number;
196
196
  resetDependencyRecomputations: () => void;
197
197
  } & {
198
- memoize: typeof import('reselect').weakMapMemoize;
199
- argsMemoize: typeof import('reselect').weakMapMemoize;
198
+ memoize: typeof import("reselect").weakMapMemoize;
199
+ argsMemoize: typeof import("reselect").weakMapMemoize;
200
200
  };
201
201
  export declare const selectNotificationCount: ((state: {
202
202
  [key: string]: unknown;
@@ -207,8 +207,8 @@ export declare const selectNotificationCount: ((state: {
207
207
  resultsCount: () => number;
208
208
  resetResultsCount: () => void;
209
209
  } & {
210
- resultFunc: (resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => number;
211
- memoizedResultFunc: ((resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => number) & {
210
+ resultFunc: (resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => number;
211
+ memoizedResultFunc: ((resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => number) & {
212
212
  clearCache: () => void;
213
213
  resultsCount: () => number;
214
214
  resetResultsCount: () => void;
@@ -218,34 +218,34 @@ export declare const selectNotificationCount: ((state: {
218
218
  [key: string]: unknown;
219
219
  } & {
220
220
  notifications: NotificationState;
221
- }) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
221
+ }) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
222
222
  clearCache: () => void;
223
223
  resultsCount: () => number;
224
224
  resetResultsCount: () => void;
225
225
  } & {
226
- resultFunc: (resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
227
- memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
226
+ resultFunc: (resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
227
+ memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
228
228
  clearCache: () => void;
229
229
  resultsCount: () => number;
230
230
  resetResultsCount: () => void;
231
231
  };
232
- lastResult: () => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
232
+ lastResult: () => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
233
233
  dependencies: [(state: RootStateContainingNotifications) => NotificationState];
234
234
  recomputations: () => number;
235
235
  resetRecomputations: () => void;
236
236
  dependencyRecomputations: () => number;
237
237
  resetDependencyRecomputations: () => void;
238
238
  } & {
239
- memoize: typeof import('reselect').weakMapMemoize;
240
- argsMemoize: typeof import('reselect').weakMapMemoize;
239
+ memoize: typeof import("reselect").weakMapMemoize;
240
+ argsMemoize: typeof import("reselect").weakMapMemoize;
241
241
  }];
242
242
  recomputations: () => number;
243
243
  resetRecomputations: () => void;
244
244
  dependencyRecomputations: () => number;
245
245
  resetDependencyRecomputations: () => void;
246
246
  } & {
247
- memoize: typeof import('reselect').weakMapMemoize;
248
- argsMemoize: typeof import('reselect').weakMapMemoize;
247
+ memoize: typeof import("reselect").weakMapMemoize;
248
+ argsMemoize: typeof import("reselect").weakMapMemoize;
249
249
  };
250
250
  export declare const selectActiveNotificationCount: ((state: {
251
251
  [key: string]: unknown;
@@ -256,8 +256,8 @@ export declare const selectActiveNotificationCount: ((state: {
256
256
  resultsCount: () => number;
257
257
  resetResultsCount: () => void;
258
258
  } & {
259
- resultFunc: (resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => number;
260
- memoizedResultFunc: ((resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => number) & {
259
+ resultFunc: (resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => number;
260
+ memoizedResultFunc: ((resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => number) & {
261
261
  clearCache: () => void;
262
262
  resultsCount: () => number;
263
263
  resetResultsCount: () => void;
@@ -267,82 +267,82 @@ export declare const selectActiveNotificationCount: ((state: {
267
267
  [key: string]: unknown;
268
268
  } & {
269
269
  notifications: NotificationState;
270
- }) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
270
+ }) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
271
271
  clearCache: () => void;
272
272
  resultsCount: () => number;
273
273
  resetResultsCount: () => void;
274
274
  } & {
275
- resultFunc: (resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
276
- memoizedResultFunc: ((resultFuncArgs_0: import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
275
+ resultFunc: (resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
276
+ memoizedResultFunc: ((resultFuncArgs_0: import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
277
277
  clearCache: () => void;
278
278
  resultsCount: () => number;
279
279
  resetResultsCount: () => void;
280
280
  };
281
- lastResult: () => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
281
+ lastResult: () => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
282
282
  dependencies: [((state: {
283
283
  [key: string]: unknown;
284
284
  } & {
285
285
  notifications: NotificationState;
286
- }) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
286
+ }) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
287
287
  clearCache: () => void;
288
288
  resultsCount: () => number;
289
289
  resetResultsCount: () => void;
290
290
  } & {
291
- resultFunc: (resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
292
- memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationEntry[]) & {
291
+ resultFunc: (resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
292
+ memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationEntry[]) & {
293
293
  clearCache: () => void;
294
294
  resultsCount: () => number;
295
295
  resetResultsCount: () => void;
296
296
  };
297
- lastResult: () => import('@open-kingdom/shared-poly-util-types').NotificationEntry[];
297
+ lastResult: () => import("@open-kingdom/shared-poly-util-types").NotificationEntry[];
298
298
  dependencies: [(state: RootStateContainingNotifications) => NotificationState];
299
299
  recomputations: () => number;
300
300
  resetRecomputations: () => void;
301
301
  dependencyRecomputations: () => number;
302
302
  resetDependencyRecomputations: () => void;
303
303
  } & {
304
- memoize: typeof import('reselect').weakMapMemoize;
305
- argsMemoize: typeof import('reselect').weakMapMemoize;
304
+ memoize: typeof import("reselect").weakMapMemoize;
305
+ argsMemoize: typeof import("reselect").weakMapMemoize;
306
306
  }];
307
307
  recomputations: () => number;
308
308
  resetRecomputations: () => void;
309
309
  dependencyRecomputations: () => number;
310
310
  resetDependencyRecomputations: () => void;
311
311
  } & {
312
- memoize: typeof import('reselect').weakMapMemoize;
313
- argsMemoize: typeof import('reselect').weakMapMemoize;
312
+ memoize: typeof import("reselect").weakMapMemoize;
313
+ argsMemoize: typeof import("reselect").weakMapMemoize;
314
314
  }];
315
315
  recomputations: () => number;
316
316
  resetRecomputations: () => void;
317
317
  dependencyRecomputations: () => number;
318
318
  resetDependencyRecomputations: () => void;
319
319
  } & {
320
- memoize: typeof import('reselect').weakMapMemoize;
321
- argsMemoize: typeof import('reselect').weakMapMemoize;
320
+ memoize: typeof import("reselect").weakMapMemoize;
321
+ argsMemoize: typeof import("reselect").weakMapMemoize;
322
322
  };
323
323
  export declare const selectNotificationConfig: ((state: {
324
324
  [key: string]: unknown;
325
325
  } & {
326
326
  notifications: NotificationState;
327
- }) => import('@open-kingdom/shared-poly-util-types').NotificationConfig) & {
327
+ }) => import("@open-kingdom/shared-poly-util-types").NotificationConfig) & {
328
328
  clearCache: () => void;
329
329
  resultsCount: () => number;
330
330
  resetResultsCount: () => void;
331
331
  } & {
332
- resultFunc: (resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationConfig;
333
- memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import('@open-kingdom/shared-poly-util-types').NotificationConfig) & {
332
+ resultFunc: (resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationConfig;
333
+ memoizedResultFunc: ((resultFuncArgs_0: NotificationState) => import("@open-kingdom/shared-poly-util-types").NotificationConfig) & {
334
334
  clearCache: () => void;
335
335
  resultsCount: () => number;
336
336
  resetResultsCount: () => void;
337
337
  };
338
- lastResult: () => import('@open-kingdom/shared-poly-util-types').NotificationConfig;
338
+ lastResult: () => import("@open-kingdom/shared-poly-util-types").NotificationConfig;
339
339
  dependencies: [(state: RootStateContainingNotifications) => NotificationState];
340
340
  recomputations: () => number;
341
341
  resetRecomputations: () => void;
342
342
  dependencyRecomputations: () => number;
343
343
  resetDependencyRecomputations: () => void;
344
344
  } & {
345
- memoize: typeof import('reselect').weakMapMemoize;
346
- argsMemoize: typeof import('reselect').weakMapMemoize;
345
+ memoize: typeof import("reselect").weakMapMemoize;
346
+ argsMemoize: typeof import("reselect").weakMapMemoize;
347
347
  };
348
348
  //# sourceMappingURL=notification.selectors.d.ts.map
@@ -5,13 +5,13 @@ export declare const dismissNotificationReducer: (state: NotificationState, acti
5
5
  export declare const removeNotificationReducer: (state: NotificationState, action: PayloadAction<string>) => void;
6
6
  export declare const clearNotificationsReducer: (state: NotificationState) => void;
7
7
  export declare const updateConfigReducer: (state: NotificationState, action: PayloadAction<Partial<NotificationConfig>>) => void;
8
- export declare const notificationSlice: import('@reduxjs/toolkit').Slice<NotificationState, {
8
+ export declare const notificationSlice: import("@reduxjs/toolkit").Slice<NotificationState, {
9
9
  addNotification: (state: NotificationState, action: PayloadAction<Omit<NotificationEntry, "id" | "timestamp">>) => void;
10
10
  dismissNotification: (state: NotificationState, action: PayloadAction<string>) => void;
11
11
  removeNotification: (state: NotificationState, action: PayloadAction<string>) => void;
12
12
  clearNotifications: (state: NotificationState) => void;
13
13
  updateConfig: (state: NotificationState, action: PayloadAction<Partial<NotificationConfig>>) => void;
14
- }, "notifications", "notifications", import('@reduxjs/toolkit').SliceSelectors<NotificationState>>;
15
- export declare const addNotification: import('@reduxjs/toolkit').ActionCreatorWithPayload<Omit<NotificationEntry, "id" | "timestamp">, "notifications/addNotification">, dismissNotification: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "notifications/dismissNotification">, removeNotification: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "notifications/removeNotification">, clearNotifications: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"notifications/clearNotifications">, updateConfig: import('@reduxjs/toolkit').ActionCreatorWithPayload<Partial<NotificationConfig>, "notifications/updateConfig">;
16
- export declare const notificationReducer: import('redux').Reducer<NotificationState>;
14
+ }, "notifications", "notifications", import("@reduxjs/toolkit").SliceSelectors<NotificationState>>;
15
+ export declare const addNotification: import("@reduxjs/toolkit").ActionCreatorWithPayload<Omit<NotificationEntry, "id" | "timestamp">, "notifications/addNotification">, dismissNotification: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "notifications/dismissNotification">, removeNotification: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "notifications/removeNotification">, clearNotifications: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"notifications/clearNotifications">, updateConfig: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<NotificationConfig>, "notifications/updateConfig">;
16
+ export declare const notificationReducer: import("redux").Reducer<NotificationState>;
17
17
  //# sourceMappingURL=notification.slice.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "name": "@open-kingdom/shared-frontend-data-access-notifications",
3
- "version": "0.0.2-4",
3
+ "version": "0.0.2-7",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
4
7
  "type": "module",
5
8
  "main": "./dist/index.js",
6
9
  "module": "./dist/index.js",