@genesislcap/foundation-redux 14.310.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.
@@ -0,0 +1,957 @@
1
+ {
2
+ "metadata": {
3
+ "toolPackage": "@microsoft/api-extractor",
4
+ "toolVersion": "7.52.10",
5
+ "schemaVersion": 1011,
6
+ "oldestForwardsCompatibleVersion": 1001,
7
+ "tsdocConfig": {
8
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
9
+ "noStandardTags": true,
10
+ "tagDefinitions": [
11
+ {
12
+ "tagName": "@alpha",
13
+ "syntaxKind": "modifier"
14
+ },
15
+ {
16
+ "tagName": "@beta",
17
+ "syntaxKind": "modifier"
18
+ },
19
+ {
20
+ "tagName": "@defaultValue",
21
+ "syntaxKind": "block"
22
+ },
23
+ {
24
+ "tagName": "@decorator",
25
+ "syntaxKind": "block",
26
+ "allowMultiple": true
27
+ },
28
+ {
29
+ "tagName": "@deprecated",
30
+ "syntaxKind": "block"
31
+ },
32
+ {
33
+ "tagName": "@eventProperty",
34
+ "syntaxKind": "modifier"
35
+ },
36
+ {
37
+ "tagName": "@example",
38
+ "syntaxKind": "block",
39
+ "allowMultiple": true
40
+ },
41
+ {
42
+ "tagName": "@experimental",
43
+ "syntaxKind": "modifier"
44
+ },
45
+ {
46
+ "tagName": "@inheritDoc",
47
+ "syntaxKind": "inline"
48
+ },
49
+ {
50
+ "tagName": "@internal",
51
+ "syntaxKind": "modifier"
52
+ },
53
+ {
54
+ "tagName": "@label",
55
+ "syntaxKind": "inline"
56
+ },
57
+ {
58
+ "tagName": "@link",
59
+ "syntaxKind": "inline",
60
+ "allowMultiple": true
61
+ },
62
+ {
63
+ "tagName": "@override",
64
+ "syntaxKind": "modifier"
65
+ },
66
+ {
67
+ "tagName": "@packageDocumentation",
68
+ "syntaxKind": "modifier"
69
+ },
70
+ {
71
+ "tagName": "@param",
72
+ "syntaxKind": "block",
73
+ "allowMultiple": true
74
+ },
75
+ {
76
+ "tagName": "@privateRemarks",
77
+ "syntaxKind": "block"
78
+ },
79
+ {
80
+ "tagName": "@public",
81
+ "syntaxKind": "modifier"
82
+ },
83
+ {
84
+ "tagName": "@readonly",
85
+ "syntaxKind": "modifier"
86
+ },
87
+ {
88
+ "tagName": "@remarks",
89
+ "syntaxKind": "block"
90
+ },
91
+ {
92
+ "tagName": "@returns",
93
+ "syntaxKind": "block"
94
+ },
95
+ {
96
+ "tagName": "@sealed",
97
+ "syntaxKind": "modifier"
98
+ },
99
+ {
100
+ "tagName": "@see",
101
+ "syntaxKind": "block"
102
+ },
103
+ {
104
+ "tagName": "@throws",
105
+ "syntaxKind": "block",
106
+ "allowMultiple": true
107
+ },
108
+ {
109
+ "tagName": "@typeParam",
110
+ "syntaxKind": "block",
111
+ "allowMultiple": true
112
+ },
113
+ {
114
+ "tagName": "@virtual",
115
+ "syntaxKind": "modifier"
116
+ },
117
+ {
118
+ "tagName": "@betaDocumentation",
119
+ "syntaxKind": "modifier"
120
+ },
121
+ {
122
+ "tagName": "@internalRemarks",
123
+ "syntaxKind": "block"
124
+ },
125
+ {
126
+ "tagName": "@preapproved",
127
+ "syntaxKind": "modifier"
128
+ }
129
+ ],
130
+ "supportForTags": {
131
+ "@alpha": true,
132
+ "@beta": true,
133
+ "@defaultValue": true,
134
+ "@decorator": true,
135
+ "@deprecated": true,
136
+ "@eventProperty": true,
137
+ "@example": true,
138
+ "@experimental": true,
139
+ "@inheritDoc": true,
140
+ "@internal": true,
141
+ "@label": true,
142
+ "@link": true,
143
+ "@override": true,
144
+ "@packageDocumentation": true,
145
+ "@param": true,
146
+ "@privateRemarks": true,
147
+ "@public": true,
148
+ "@readonly": true,
149
+ "@remarks": true,
150
+ "@returns": true,
151
+ "@sealed": true,
152
+ "@see": true,
153
+ "@throws": true,
154
+ "@typeParam": true,
155
+ "@virtual": true,
156
+ "@betaDocumentation": true,
157
+ "@internalRemarks": true,
158
+ "@preapproved": true
159
+ },
160
+ "reportUnsupportedHtmlElements": false
161
+ }
162
+ },
163
+ "kind": "Package",
164
+ "canonicalReference": "@genesislcap/foundation-redux!",
165
+ "docComment": "",
166
+ "name": "@genesislcap/foundation-redux",
167
+ "preserveMemberOrder": false,
168
+ "members": [
169
+ {
170
+ "kind": "EntryPoint",
171
+ "canonicalReference": "@genesislcap/foundation-redux!",
172
+ "name": "",
173
+ "preserveMemberOrder": false,
174
+ "members": [
175
+ {
176
+ "kind": "TypeAlias",
177
+ "canonicalReference": "@genesislcap/foundation-redux!ActionsFromSlices:type",
178
+ "docComment": "/**\n * Extracts the bound actions type from an array of slices.\n *\n * @remarks\n *\n * This utility type creates a nested object structure where each slice name maps to its actions. Actions are bound to the store and automatically dispatch when called.\n *\n * @example\n * ```typescript\n * const { actions } = createStore([userSlice, cartSlice], initialState);\n * // actions.user.setUser({ name: 'John' })\n * // actions.cart.addItem({ id: 'item1', quantity: 1 })\n * ```\n *\n * @public\n */\n",
179
+ "excerptTokens": [
180
+ {
181
+ "kind": "Content",
182
+ "text": "export type ActionsFromSlices<S extends "
183
+ },
184
+ {
185
+ "kind": "Reference",
186
+ "text": "SliceArray",
187
+ "canonicalReference": "@genesislcap/foundation-redux!SliceArray:type"
188
+ },
189
+ {
190
+ "kind": "Content",
191
+ "text": "> = "
192
+ },
193
+ {
194
+ "kind": "Content",
195
+ "text": "{\n [K in S[number]['name']]: {\n [ActionKey in keyof "
196
+ },
197
+ {
198
+ "kind": "Reference",
199
+ "text": "Extract",
200
+ "canonicalReference": "!Extract:type"
201
+ },
202
+ {
203
+ "kind": "Content",
204
+ "text": "<S[number], {\n name: K;\n }>['actions']]: (payload: "
205
+ },
206
+ {
207
+ "kind": "Reference",
208
+ "text": "FirstParameter",
209
+ "canonicalReference": "@genesislcap/foundation-redux!~FirstParameter:type"
210
+ },
211
+ {
212
+ "kind": "Content",
213
+ "text": "<"
214
+ },
215
+ {
216
+ "kind": "Reference",
217
+ "text": "Extract",
218
+ "canonicalReference": "!Extract:type"
219
+ },
220
+ {
221
+ "kind": "Content",
222
+ "text": "<S[number], {\n name: K;\n }>['actions'][ActionKey]>) => void;\n };\n}"
223
+ },
224
+ {
225
+ "kind": "Content",
226
+ "text": ";"
227
+ }
228
+ ],
229
+ "fileUrlPath": "src/types.ts",
230
+ "releaseTag": "Public",
231
+ "name": "ActionsFromSlices",
232
+ "typeParameters": [
233
+ {
234
+ "typeParameterName": "S",
235
+ "constraintTokenRange": {
236
+ "startIndex": 1,
237
+ "endIndex": 2
238
+ },
239
+ "defaultTypeTokenRange": {
240
+ "startIndex": 0,
241
+ "endIndex": 0
242
+ }
243
+ }
244
+ ],
245
+ "typeTokenRange": {
246
+ "startIndex": 3,
247
+ "endIndex": 10
248
+ }
249
+ },
250
+ {
251
+ "kind": "Function",
252
+ "canonicalReference": "@genesislcap/foundation-redux!createStore:function(1)",
253
+ "docComment": "/**\n * Creates a Redux store with FAST component integration.\n *\n * @remarks\n *\n * This function creates a Redux store that integrates seamlessly with FAST components. It automatically binds actions and selectors, provides subscription methods, and handles FAST Observable notifications.\n *\n * @param slices - Array of slices to combine into the store\n *\n * @param preloadedState - Initial state that matches the slice structure\n *\n * @returns Object containing store, actions, selectors, and utility functions\n *\n * @example\n * ```typescript\n * const { store, actions, selectors, subscribeKey } = createStore(\n * [userSlice, cartSlice],\n * {\n * user: { name: '', email: '' },\n * cart: { items: [], total: 0 }\n * }\n * );\n * ```\n *\n * @public\n */\n",
254
+ "excerptTokens": [
255
+ {
256
+ "kind": "Content",
257
+ "text": "createStore: <S extends "
258
+ },
259
+ {
260
+ "kind": "Reference",
261
+ "text": "SliceArray",
262
+ "canonicalReference": "@genesislcap/foundation-redux!SliceArray:type"
263
+ },
264
+ {
265
+ "kind": "Content",
266
+ "text": ">(slices: "
267
+ },
268
+ {
269
+ "kind": "Content",
270
+ "text": "S"
271
+ },
272
+ {
273
+ "kind": "Content",
274
+ "text": ", preloadedState: "
275
+ },
276
+ {
277
+ "kind": "Reference",
278
+ "text": "RootStateFromSlices",
279
+ "canonicalReference": "@genesislcap/foundation-redux!RootStateFromSlices:type"
280
+ },
281
+ {
282
+ "kind": "Content",
283
+ "text": "<S>"
284
+ },
285
+ {
286
+ "kind": "Content",
287
+ "text": ") => "
288
+ },
289
+ {
290
+ "kind": "Reference",
291
+ "text": "StoreReturn",
292
+ "canonicalReference": "@genesislcap/foundation-redux!StoreReturn:type"
293
+ },
294
+ {
295
+ "kind": "Content",
296
+ "text": "<S>"
297
+ }
298
+ ],
299
+ "fileUrlPath": "src/store.ts",
300
+ "returnTypeTokenRange": {
301
+ "startIndex": 8,
302
+ "endIndex": 10
303
+ },
304
+ "releaseTag": "Public",
305
+ "overloadIndex": 1,
306
+ "parameters": [
307
+ {
308
+ "parameterName": "slices",
309
+ "parameterTypeTokenRange": {
310
+ "startIndex": 3,
311
+ "endIndex": 4
312
+ },
313
+ "isOptional": false
314
+ },
315
+ {
316
+ "parameterName": "preloadedState",
317
+ "parameterTypeTokenRange": {
318
+ "startIndex": 5,
319
+ "endIndex": 7
320
+ },
321
+ "isOptional": false
322
+ }
323
+ ],
324
+ "typeParameters": [
325
+ {
326
+ "typeParameterName": "S",
327
+ "constraintTokenRange": {
328
+ "startIndex": 1,
329
+ "endIndex": 2
330
+ },
331
+ "defaultTypeTokenRange": {
332
+ "startIndex": 0,
333
+ "endIndex": 0
334
+ }
335
+ }
336
+ ],
337
+ "name": "createStore"
338
+ },
339
+ {
340
+ "kind": "TypeAlias",
341
+ "canonicalReference": "@genesislcap/foundation-redux!RootStateFromSlices:type",
342
+ "docComment": "/**\n * Extracts the root state type from an array of slices.\n *\n * @remarks\n *\n * This utility type maps over the slice names and extracts the state type for each slice. The resulting type represents the complete state structure of your Redux store.\n *\n * @example\n * ```typescript\n * const slices = [userSlice, cartSlice];\n * type RootState = RootStateFromSlices<typeof slices>;\n * // Result: { user: UserState, cart: CartState }\n * ```\n *\n * @public\n */\n",
343
+ "excerptTokens": [
344
+ {
345
+ "kind": "Content",
346
+ "text": "export type RootStateFromSlices<S extends "
347
+ },
348
+ {
349
+ "kind": "Reference",
350
+ "text": "SliceArray",
351
+ "canonicalReference": "@genesislcap/foundation-redux!SliceArray:type"
352
+ },
353
+ {
354
+ "kind": "Content",
355
+ "text": "> = "
356
+ },
357
+ {
358
+ "kind": "Content",
359
+ "text": "{\n [K in S[number]['name']]: "
360
+ },
361
+ {
362
+ "kind": "Reference",
363
+ "text": "Extract",
364
+ "canonicalReference": "!Extract:type"
365
+ },
366
+ {
367
+ "kind": "Content",
368
+ "text": "<S[number], {\n name: K;\n }> extends "
369
+ },
370
+ {
371
+ "kind": "Reference",
372
+ "text": "Slice",
373
+ "canonicalReference": "@genesislcap/foundation-redux!Slice:interface"
374
+ },
375
+ {
376
+ "kind": "Content",
377
+ "text": "<infer State> ? State : never;\n}"
378
+ },
379
+ {
380
+ "kind": "Content",
381
+ "text": ";"
382
+ }
383
+ ],
384
+ "fileUrlPath": "src/types.ts",
385
+ "releaseTag": "Public",
386
+ "name": "RootStateFromSlices",
387
+ "typeParameters": [
388
+ {
389
+ "typeParameterName": "S",
390
+ "constraintTokenRange": {
391
+ "startIndex": 1,
392
+ "endIndex": 2
393
+ },
394
+ "defaultTypeTokenRange": {
395
+ "startIndex": 0,
396
+ "endIndex": 0
397
+ }
398
+ }
399
+ ],
400
+ "typeTokenRange": {
401
+ "startIndex": 3,
402
+ "endIndex": 8
403
+ }
404
+ },
405
+ {
406
+ "kind": "TypeAlias",
407
+ "canonicalReference": "@genesislcap/foundation-redux!SelectorsFromSlices:type",
408
+ "docComment": "/**\n * Extracts the bound selectors type from an array of slices.\n *\n * @remarks\n *\n * This utility type creates a nested object structure where each slice name maps to its selectors. Selectors are bound to the store and can access the current state.\n *\n * @example\n * ```typescript\n * const { selectors } = createStore([userSlice, cartSlice], initialState);\n * // const userName = selectors.user.getUserName()\n * // const cartTotal = selectors.cart.getTotal()\n * ```\n *\n * @public\n */\n",
409
+ "excerptTokens": [
410
+ {
411
+ "kind": "Content",
412
+ "text": "export type SelectorsFromSlices<S extends "
413
+ },
414
+ {
415
+ "kind": "Reference",
416
+ "text": "SliceArray",
417
+ "canonicalReference": "@genesislcap/foundation-redux!SliceArray:type"
418
+ },
419
+ {
420
+ "kind": "Content",
421
+ "text": "> = "
422
+ },
423
+ {
424
+ "kind": "Content",
425
+ "text": "{\n [K in S[number]['name']]: {\n [SelectorKey in keyof "
426
+ },
427
+ {
428
+ "kind": "Reference",
429
+ "text": "Extract",
430
+ "canonicalReference": "!Extract:type"
431
+ },
432
+ {
433
+ "kind": "Content",
434
+ "text": "<S[number], {\n name: K;\n }>['selectors']]: (...payload: "
435
+ },
436
+ {
437
+ "kind": "Reference",
438
+ "text": "RemoveFirstParameter",
439
+ "canonicalReference": "@genesislcap/foundation-redux!~RemoveFirstParameter:type"
440
+ },
441
+ {
442
+ "kind": "Content",
443
+ "text": "<"
444
+ },
445
+ {
446
+ "kind": "Reference",
447
+ "text": "Extract",
448
+ "canonicalReference": "!Extract:type"
449
+ },
450
+ {
451
+ "kind": "Content",
452
+ "text": "<S[number], {\n name: K;\n }>['selectors'][SelectorKey]>) => "
453
+ },
454
+ {
455
+ "kind": "Reference",
456
+ "text": "ReturnType",
457
+ "canonicalReference": "!ReturnType:type"
458
+ },
459
+ {
460
+ "kind": "Content",
461
+ "text": "<"
462
+ },
463
+ {
464
+ "kind": "Reference",
465
+ "text": "Extract",
466
+ "canonicalReference": "!Extract:type"
467
+ },
468
+ {
469
+ "kind": "Content",
470
+ "text": "<S[number], {\n name: K;\n }>['selectors'][SelectorKey]> extends void ? any : "
471
+ },
472
+ {
473
+ "kind": "Reference",
474
+ "text": "ReturnType",
475
+ "canonicalReference": "!ReturnType:type"
476
+ },
477
+ {
478
+ "kind": "Content",
479
+ "text": "<"
480
+ },
481
+ {
482
+ "kind": "Reference",
483
+ "text": "Extract",
484
+ "canonicalReference": "!Extract:type"
485
+ },
486
+ {
487
+ "kind": "Content",
488
+ "text": "<S[number], {\n name: K;\n }>['selectors'][SelectorKey]>;\n };\n}"
489
+ },
490
+ {
491
+ "kind": "Content",
492
+ "text": ";"
493
+ }
494
+ ],
495
+ "fileUrlPath": "src/types.ts",
496
+ "releaseTag": "Public",
497
+ "name": "SelectorsFromSlices",
498
+ "typeParameters": [
499
+ {
500
+ "typeParameterName": "S",
501
+ "constraintTokenRange": {
502
+ "startIndex": 1,
503
+ "endIndex": 2
504
+ },
505
+ "defaultTypeTokenRange": {
506
+ "startIndex": 0,
507
+ "endIndex": 0
508
+ }
509
+ }
510
+ ],
511
+ "typeTokenRange": {
512
+ "startIndex": 3,
513
+ "endIndex": 18
514
+ }
515
+ },
516
+ {
517
+ "kind": "Interface",
518
+ "canonicalReference": "@genesislcap/foundation-redux!Slice:interface",
519
+ "docComment": "/**\n * Represents a Redux slice with actions and selectors.\n *\n * @remarks\n *\n * A slice contains the reducer, actions, and selectors for a specific domain of your application state.\n *\n * @example\n * ```typescript\n * const userSlice: Slice = {\n * name: 'user',\n * reducer: userReducer,\n * actions: { setUser, logout },\n * selectors: { getUser, isLoggedIn }\n * };\n * ```\n *\n * @public\n */\n",
520
+ "excerptTokens": [
521
+ {
522
+ "kind": "Content",
523
+ "text": "export interface Slice<State = "
524
+ },
525
+ {
526
+ "kind": "Content",
527
+ "text": "any"
528
+ },
529
+ {
530
+ "kind": "Content",
531
+ "text": "> "
532
+ }
533
+ ],
534
+ "fileUrlPath": "src/types.ts",
535
+ "releaseTag": "Public",
536
+ "typeParameters": [
537
+ {
538
+ "typeParameterName": "State",
539
+ "constraintTokenRange": {
540
+ "startIndex": 0,
541
+ "endIndex": 0
542
+ },
543
+ "defaultTypeTokenRange": {
544
+ "startIndex": 1,
545
+ "endIndex": 2
546
+ }
547
+ }
548
+ ],
549
+ "name": "Slice",
550
+ "preserveMemberOrder": false,
551
+ "members": [
552
+ {
553
+ "kind": "PropertySignature",
554
+ "canonicalReference": "@genesislcap/foundation-redux!Slice#actions:member",
555
+ "docComment": "/**\n * Action creators for this slice\n */\n",
556
+ "excerptTokens": [
557
+ {
558
+ "kind": "Content",
559
+ "text": "actions: "
560
+ },
561
+ {
562
+ "kind": "Reference",
563
+ "text": "Record",
564
+ "canonicalReference": "!Record:type"
565
+ },
566
+ {
567
+ "kind": "Content",
568
+ "text": "<string, (payload: any) => "
569
+ },
570
+ {
571
+ "kind": "Reference",
572
+ "text": "Action",
573
+ "canonicalReference": "redux!Action:type"
574
+ },
575
+ {
576
+ "kind": "Content",
577
+ "text": ">"
578
+ },
579
+ {
580
+ "kind": "Content",
581
+ "text": ";"
582
+ }
583
+ ],
584
+ "isReadonly": false,
585
+ "isOptional": false,
586
+ "releaseTag": "Public",
587
+ "name": "actions",
588
+ "propertyTypeTokenRange": {
589
+ "startIndex": 1,
590
+ "endIndex": 5
591
+ }
592
+ },
593
+ {
594
+ "kind": "PropertySignature",
595
+ "canonicalReference": "@genesislcap/foundation-redux!Slice#name:member",
596
+ "docComment": "/**\n * The unique name of the slice\n */\n",
597
+ "excerptTokens": [
598
+ {
599
+ "kind": "Content",
600
+ "text": "name: "
601
+ },
602
+ {
603
+ "kind": "Content",
604
+ "text": "string"
605
+ },
606
+ {
607
+ "kind": "Content",
608
+ "text": ";"
609
+ }
610
+ ],
611
+ "isReadonly": false,
612
+ "isOptional": false,
613
+ "releaseTag": "Public",
614
+ "name": "name",
615
+ "propertyTypeTokenRange": {
616
+ "startIndex": 1,
617
+ "endIndex": 2
618
+ }
619
+ },
620
+ {
621
+ "kind": "PropertySignature",
622
+ "canonicalReference": "@genesislcap/foundation-redux!Slice#reducer:member",
623
+ "docComment": "/**\n * The Redux reducer function for this slice\n */\n",
624
+ "excerptTokens": [
625
+ {
626
+ "kind": "Content",
627
+ "text": "reducer: "
628
+ },
629
+ {
630
+ "kind": "Reference",
631
+ "text": "Reducer",
632
+ "canonicalReference": "redux!Reducer:type"
633
+ },
634
+ {
635
+ "kind": "Content",
636
+ "text": "<State, "
637
+ },
638
+ {
639
+ "kind": "Reference",
640
+ "text": "Action",
641
+ "canonicalReference": "redux!Action:type"
642
+ },
643
+ {
644
+ "kind": "Content",
645
+ "text": ">"
646
+ },
647
+ {
648
+ "kind": "Content",
649
+ "text": ";"
650
+ }
651
+ ],
652
+ "isReadonly": false,
653
+ "isOptional": false,
654
+ "releaseTag": "Public",
655
+ "name": "reducer",
656
+ "propertyTypeTokenRange": {
657
+ "startIndex": 1,
658
+ "endIndex": 5
659
+ }
660
+ },
661
+ {
662
+ "kind": "PropertySignature",
663
+ "canonicalReference": "@genesislcap/foundation-redux!Slice#selectors:member",
664
+ "docComment": "/**\n * Selector functions for this slice\n */\n",
665
+ "excerptTokens": [
666
+ {
667
+ "kind": "Content",
668
+ "text": "selectors: "
669
+ },
670
+ {
671
+ "kind": "Reference",
672
+ "text": "Record",
673
+ "canonicalReference": "!Record:type"
674
+ },
675
+ {
676
+ "kind": "Content",
677
+ "text": "<string, (...args: any[]) => any>"
678
+ },
679
+ {
680
+ "kind": "Content",
681
+ "text": ";"
682
+ }
683
+ ],
684
+ "isReadonly": false,
685
+ "isOptional": false,
686
+ "releaseTag": "Public",
687
+ "name": "selectors",
688
+ "propertyTypeTokenRange": {
689
+ "startIndex": 1,
690
+ "endIndex": 3
691
+ }
692
+ }
693
+ ],
694
+ "extendsTokenRanges": []
695
+ },
696
+ {
697
+ "kind": "TypeAlias",
698
+ "canonicalReference": "@genesislcap/foundation-redux!SliceArray:type",
699
+ "docComment": "/**\n * An array of slices that will be combined into a single store.\n *\n * @remarks\n *\n * This type represents the collection of slices that will be used to create a Redux store. Each slice in the array will become a top-level key in the store's state.\n *\n * @example\n * ```typescript\n * const slices: SliceArray = [userSlice, cartSlice, preferencesSlice];\n * const { store } = createStore(slices, initialState);\n * ```\n *\n * @public\n */\n",
700
+ "excerptTokens": [
701
+ {
702
+ "kind": "Content",
703
+ "text": "export type SliceArray = "
704
+ },
705
+ {
706
+ "kind": "Reference",
707
+ "text": "Slice",
708
+ "canonicalReference": "@genesislcap/foundation-redux!Slice:interface"
709
+ },
710
+ {
711
+ "kind": "Content",
712
+ "text": "[]"
713
+ },
714
+ {
715
+ "kind": "Content",
716
+ "text": ";"
717
+ }
718
+ ],
719
+ "fileUrlPath": "src/types.ts",
720
+ "releaseTag": "Public",
721
+ "name": "SliceArray",
722
+ "typeTokenRange": {
723
+ "startIndex": 1,
724
+ "endIndex": 3
725
+ }
726
+ },
727
+ {
728
+ "kind": "TypeAlias",
729
+ "canonicalReference": "@genesislcap/foundation-redux!StoreReturn:type",
730
+ "docComment": "/**\n * The return type of the createStore function.\n *\n * @remarks\n *\n * This type represents all the utilities and functions returned when creating a store. It provides access to the store state, actions, selectors, and subscription methods.\n *\n * @example\n * ```typescript\n * const { store, actions, selectors, subscribeKey } = createStore(slices, initialState);\n * ```\n *\n * @public\n */\n",
731
+ "excerptTokens": [
732
+ {
733
+ "kind": "Content",
734
+ "text": "export type StoreReturn<S extends "
735
+ },
736
+ {
737
+ "kind": "Reference",
738
+ "text": "SliceArray",
739
+ "canonicalReference": "@genesislcap/foundation-redux!SliceArray:type"
740
+ },
741
+ {
742
+ "kind": "Content",
743
+ "text": "> = "
744
+ },
745
+ {
746
+ "kind": "Content",
747
+ "text": "{\n store: "
748
+ },
749
+ {
750
+ "kind": "Reference",
751
+ "text": "RootStateFromSlices",
752
+ "canonicalReference": "@genesislcap/foundation-redux!RootStateFromSlices:type"
753
+ },
754
+ {
755
+ "kind": "Content",
756
+ "text": "<S>;\n actions: "
757
+ },
758
+ {
759
+ "kind": "Reference",
760
+ "text": "ActionsFromSlices",
761
+ "canonicalReference": "@genesislcap/foundation-redux!ActionsFromSlices:type"
762
+ },
763
+ {
764
+ "kind": "Content",
765
+ "text": "<S>;\n selectors: "
766
+ },
767
+ {
768
+ "kind": "Reference",
769
+ "text": "SelectorsFromSlices",
770
+ "canonicalReference": "@genesislcap/foundation-redux!SelectorsFromSlices:type"
771
+ },
772
+ {
773
+ "kind": "Content",
774
+ "text": "<S>;\n rootReducer: "
775
+ },
776
+ {
777
+ "kind": "Reference",
778
+ "text": "ReducersMapObject",
779
+ "canonicalReference": "redux!ReducersMapObject:type"
780
+ },
781
+ {
782
+ "kind": "Content",
783
+ "text": "<"
784
+ },
785
+ {
786
+ "kind": "Reference",
787
+ "text": "RootStateFromSlices",
788
+ "canonicalReference": "@genesislcap/foundation-redux!RootStateFromSlices:type"
789
+ },
790
+ {
791
+ "kind": "Content",
792
+ "text": "<S>>;\n subscribeKey: (checkerFn: (s: "
793
+ },
794
+ {
795
+ "kind": "Reference",
796
+ "text": "RootStateFromSlices",
797
+ "canonicalReference": "@genesislcap/foundation-redux!RootStateFromSlices:type"
798
+ },
799
+ {
800
+ "kind": "Content",
801
+ "text": "<S>) => string, callbackFn: (s: "
802
+ },
803
+ {
804
+ "kind": "Reference",
805
+ "text": "RootStateFromSlices",
806
+ "canonicalReference": "@genesislcap/foundation-redux!RootStateFromSlices:type"
807
+ },
808
+ {
809
+ "kind": "Content",
810
+ "text": "<S>) => void) => void;\n dispatch: (action: "
811
+ },
812
+ {
813
+ "kind": "Reference",
814
+ "text": "Action",
815
+ "canonicalReference": "redux!Action:type"
816
+ },
817
+ {
818
+ "kind": "Content",
819
+ "text": " | "
820
+ },
821
+ {
822
+ "kind": "Reference",
823
+ "text": "ThunkDispatch",
824
+ "canonicalReference": "@genesislcap/foundation-redux!ThunkDispatch:type"
825
+ },
826
+ {
827
+ "kind": "Content",
828
+ "text": "<S>) => void;\n notify: (sliceName: keyof "
829
+ },
830
+ {
831
+ "kind": "Reference",
832
+ "text": "RootStateFromSlices",
833
+ "canonicalReference": "@genesislcap/foundation-redux!RootStateFromSlices:type"
834
+ },
835
+ {
836
+ "kind": "Content",
837
+ "text": "<S>) => void;\n subscribe: (cb: (state: "
838
+ },
839
+ {
840
+ "kind": "Reference",
841
+ "text": "RootStateFromSlices",
842
+ "canonicalReference": "@genesislcap/foundation-redux!RootStateFromSlices:type"
843
+ },
844
+ {
845
+ "kind": "Content",
846
+ "text": "<S>) => void) => void;\n getState: () => "
847
+ },
848
+ {
849
+ "kind": "Reference",
850
+ "text": "RootStateFromSlices",
851
+ "canonicalReference": "@genesislcap/foundation-redux!RootStateFromSlices:type"
852
+ },
853
+ {
854
+ "kind": "Content",
855
+ "text": "<S>;\n}"
856
+ },
857
+ {
858
+ "kind": "Content",
859
+ "text": ";"
860
+ }
861
+ ],
862
+ "fileUrlPath": "src/types.ts",
863
+ "releaseTag": "Public",
864
+ "name": "StoreReturn",
865
+ "typeParameters": [
866
+ {
867
+ "typeParameterName": "S",
868
+ "constraintTokenRange": {
869
+ "startIndex": 1,
870
+ "endIndex": 2
871
+ },
872
+ "defaultTypeTokenRange": {
873
+ "startIndex": 0,
874
+ "endIndex": 0
875
+ }
876
+ }
877
+ ],
878
+ "typeTokenRange": {
879
+ "startIndex": 3,
880
+ "endIndex": 28
881
+ }
882
+ },
883
+ {
884
+ "kind": "TypeAlias",
885
+ "canonicalReference": "@genesislcap/foundation-redux!ThunkDispatch:type",
886
+ "docComment": "/**\n * Type for thunk actions that can be dispatched to the store.\n *\n * @remarks\n *\n * This type represents thunk actions that can access the store's dispatch and getState functions. Thunks are useful for handling asynchronous operations and complex logic.\n *\n * @example\n * ```typescript\n * const fetchUserThunk: ThunkDispatch<typeof slices> = (dispatch, getState) => {\n * fetch('/api/user').then(user => dispatch(actions.user.setUser(user)));\n * };\n * ```\n *\n * @public\n */\n",
887
+ "excerptTokens": [
888
+ {
889
+ "kind": "Content",
890
+ "text": "export type ThunkDispatch<S extends "
891
+ },
892
+ {
893
+ "kind": "Reference",
894
+ "text": "SliceArray",
895
+ "canonicalReference": "@genesislcap/foundation-redux!SliceArray:type"
896
+ },
897
+ {
898
+ "kind": "Content",
899
+ "text": "> = "
900
+ },
901
+ {
902
+ "kind": "Reference",
903
+ "text": "ThunkAction",
904
+ "canonicalReference": "redux-thunk!ThunkAction:type"
905
+ },
906
+ {
907
+ "kind": "Content",
908
+ "text": "<void, "
909
+ },
910
+ {
911
+ "kind": "Reference",
912
+ "text": "RootStateFromSlices",
913
+ "canonicalReference": "@genesislcap/foundation-redux!RootStateFromSlices:type"
914
+ },
915
+ {
916
+ "kind": "Content",
917
+ "text": "<S>, any, "
918
+ },
919
+ {
920
+ "kind": "Reference",
921
+ "text": "Action",
922
+ "canonicalReference": "redux!Action:type"
923
+ },
924
+ {
925
+ "kind": "Content",
926
+ "text": ">"
927
+ },
928
+ {
929
+ "kind": "Content",
930
+ "text": ";"
931
+ }
932
+ ],
933
+ "fileUrlPath": "src/types.ts",
934
+ "releaseTag": "Public",
935
+ "name": "ThunkDispatch",
936
+ "typeParameters": [
937
+ {
938
+ "typeParameterName": "S",
939
+ "constraintTokenRange": {
940
+ "startIndex": 1,
941
+ "endIndex": 2
942
+ },
943
+ "defaultTypeTokenRange": {
944
+ "startIndex": 0,
945
+ "endIndex": 0
946
+ }
947
+ }
948
+ ],
949
+ "typeTokenRange": {
950
+ "startIndex": 3,
951
+ "endIndex": 9
952
+ }
953
+ }
954
+ ]
955
+ }
956
+ ]
957
+ }