@arrai-innovations/reactive-helpers 17.0.0 → 17.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.circleci/config.yml +4 -4
- package/docs/config/listCrud.md +9 -9
- package/docs/config/objectCrud.md +6 -6
- package/docs/use/list.md +3 -3
- package/docs/use/listCalculated.md +17 -17
- package/docs/use/listFilter.md +18 -18
- package/docs/use/listInstance.md +2 -2
- package/docs/use/listRelated.md +9 -9
- package/docs/use/listSearch.md +13 -13
- package/docs/use/listSort.md +19 -19
- package/docs/use/object.md +3 -3
- package/docs/use/objectCalculated.md +7 -7
- package/docs/use/objectInstance.md +5 -5
- package/docs/use/objectRelated.md +5 -5
- package/docs/use/objectSubscription.md +2 -2
- package/docs/use/search.md +2 -2
- package/docs/use/watchesRunning.md +2 -2
- package/docs/utils/assignReactiveObject.md +14 -0
- package/docs/utils/classes.md +2 -0
- package/docs/utils/flattenPaths.md +3 -3
- package/docs/utils/keyDiff.md +7 -3
- package/docs/utils/relatedCalculatedHelpers.md +4 -4
- package/docs/utils/watches.md +17 -15
- package/lint-staged.config.js +1 -1
- package/make_type_doc.js +59 -0
- package/package.json +11 -11
- package/tests/unit/use/listInstance.spec.js +20 -12
- package/use/listInstance.js +4 -0
- package/utils/classes.js +8 -0
package/.circleci/config.yml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
version: 2.1
|
|
2
2
|
orbs:
|
|
3
|
-
eslint: arrai/eslint@
|
|
4
|
-
prettier: arrai/prettier@5.
|
|
5
|
-
npm: arrai/npm@
|
|
6
|
-
github: arrai/github@
|
|
3
|
+
eslint: arrai/eslint@8.1.0
|
|
4
|
+
prettier: arrai/prettier@5.10.0
|
|
5
|
+
npm: arrai/npm@3.1.0
|
|
6
|
+
github: arrai/github@5.0.0
|
|
7
7
|
workflows:
|
|
8
8
|
test:
|
|
9
9
|
jobs:
|
package/docs/config/listCrud.md
CHANGED
|
@@ -343,31 +343,31 @@ Get the previously set list and subscribe functions for the default crud.
|
|
|
343
343
|
|
|
344
344
|
The reactive crud object, which will be mutated.
|
|
345
345
|
|
|
346
|
-
######
|
|
346
|
+
###### args
|
|
347
347
|
|
|
348
348
|
`any`
|
|
349
349
|
|
|
350
350
|
The default arguments for the crud functions.
|
|
351
351
|
|
|
352
|
-
######
|
|
352
|
+
###### bulkDelete
|
|
353
353
|
|
|
354
354
|
[`BulkDeleteFn`](listCrud.md#bulkdeletefn)
|
|
355
355
|
|
|
356
356
|
The delete function to bulk delete a list of items.
|
|
357
357
|
|
|
358
|
-
######
|
|
358
|
+
###### executeAction
|
|
359
359
|
|
|
360
360
|
[`ExecuteActionFn`](listCrud.md#executeactionfn)
|
|
361
361
|
|
|
362
362
|
The function to execute a certain action on a list of items.
|
|
363
363
|
|
|
364
|
-
######
|
|
364
|
+
###### list
|
|
365
365
|
|
|
366
366
|
[`ListFn`](listCrud.md#listfn)
|
|
367
367
|
|
|
368
368
|
The list function to get a list of items.
|
|
369
369
|
|
|
370
|
-
######
|
|
370
|
+
###### subscribe
|
|
371
371
|
|
|
372
372
|
[`SubscribeFn`](listCrud.md#subscribefn)
|
|
373
373
|
|
|
@@ -377,19 +377,19 @@ The subscribe function to get a subscription to a list of items.
|
|
|
377
377
|
|
|
378
378
|
The options for the default crud.
|
|
379
379
|
|
|
380
|
-
######
|
|
380
|
+
###### functions
|
|
381
381
|
|
|
382
382
|
[`ListCrudFunctions`](listCrud.md#listcrudfunctions) & [`ListCrudArgs`](listCrud.md#listcrudargs)
|
|
383
383
|
|
|
384
384
|
The functions to set for the crud.
|
|
385
385
|
|
|
386
|
-
######
|
|
386
|
+
###### props
|
|
387
387
|
|
|
388
|
-
`
|
|
388
|
+
\{ `crudArgs`: `any`; \}
|
|
389
389
|
|
|
390
390
|
The props to set for the crud.
|
|
391
391
|
|
|
392
|
-
######
|
|
392
|
+
###### props.crudArgs
|
|
393
393
|
|
|
394
394
|
`any`
|
|
395
395
|
|
|
@@ -372,23 +372,23 @@ The reactive object you want to add the resulting crud to.
|
|
|
372
372
|
|
|
373
373
|
The options for the reactive crud object.
|
|
374
374
|
|
|
375
|
-
######
|
|
375
|
+
###### functions
|
|
376
376
|
|
|
377
377
|
[`ObjectCrudFunctions`](objectCrud.md#objectcrudfunctions)
|
|
378
378
|
|
|
379
379
|
Any functions to override the default crud functions.
|
|
380
380
|
|
|
381
|
-
######
|
|
381
|
+
###### props
|
|
382
382
|
|
|
383
|
-
`
|
|
383
|
+
\{ `crudArgs`: \{ `args`: `any`; \}; \}
|
|
384
384
|
|
|
385
385
|
The props with any passed crudArgs.
|
|
386
386
|
|
|
387
|
-
######
|
|
387
|
+
###### props.crudArgs
|
|
388
388
|
|
|
389
|
-
`
|
|
389
|
+
\{ `args`: `any`; \}
|
|
390
390
|
|
|
391
|
-
######
|
|
391
|
+
###### props.crudArgs.args
|
|
392
392
|
|
|
393
393
|
`any`
|
|
394
394
|
|
package/docs/use/list.md
CHANGED
|
@@ -152,7 +152,7 @@ Function or rule to determine if an item should be included based on inclusion c
|
|
|
152
152
|
|
|
153
153
|
##### calculatedObjectsRules
|
|
154
154
|
|
|
155
|
-
> **calculatedObjectsRules**: `Ref
|
|
155
|
+
> **calculatedObjectsRules**: `Ref`\<\{\}, \{\}\>
|
|
156
156
|
|
|
157
157
|
Defines rules for dynamically calculating properties of list items.
|
|
158
158
|
|
|
@@ -218,7 +218,7 @@ Defines rules for associating related objects with list items.
|
|
|
218
218
|
|
|
219
219
|
###### Index Signature
|
|
220
220
|
|
|
221
|
-
|
|
221
|
+
\[`rule`: `string`\]: [`ListRelatedRule`](listRelated.md#listrelatedrule)
|
|
222
222
|
|
|
223
223
|
##### retrieveArgs
|
|
224
224
|
|
|
@@ -228,7 +228,7 @@ The arguments to pass to the registered list crud functions, related to the item
|
|
|
228
228
|
|
|
229
229
|
##### textSearchRules
|
|
230
230
|
|
|
231
|
-
> **textSearchRules**: [`TextSearchRules`](listSearch.md#textsearchrules-
|
|
231
|
+
> **textSearchRules**: [`TextSearchRules`](listSearch.md#textsearchrules-3)
|
|
232
232
|
|
|
233
233
|
Defines the properties and conditions used to filter the list via text search.
|
|
234
234
|
|
|
@@ -16,7 +16,7 @@ Options to configure the behavior of the list calculated properties.
|
|
|
16
16
|
|
|
17
17
|
##### calculatedObjectsRules
|
|
18
18
|
|
|
19
|
-
> **calculatedObjectsRules**: `Ref
|
|
19
|
+
> **calculatedObjectsRules**: `Ref`\<\{\}, \{\}\>
|
|
20
20
|
|
|
21
21
|
A reactive reference to rules used for dynamic calculations
|
|
22
22
|
within list objects. Proper setup of this reference ensures that updates are managed reactively, including deep
|
|
@@ -66,7 +66,7 @@ Maintains computed references to the foreign keys for each object pk and rule, c
|
|
|
66
66
|
|
|
67
67
|
###### Index Signature
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
\[`pk`: `string`\]: `object`
|
|
70
70
|
|
|
71
71
|
###### intendToList?
|
|
72
72
|
|
|
@@ -100,7 +100,7 @@ Maps each object pk and rule to a tuple consisting of the related object and its
|
|
|
100
100
|
|
|
101
101
|
###### Index Signature
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
\[`pk`: `string`\]: `object`
|
|
104
104
|
|
|
105
105
|
###### objects
|
|
106
106
|
|
|
@@ -134,7 +134,7 @@ Stores computed references to related objects, allowing for dynamic access based
|
|
|
134
134
|
|
|
135
135
|
###### Index Signature
|
|
136
136
|
|
|
137
|
-
|
|
137
|
+
\[`pk`: `string`\]: `object`
|
|
138
138
|
|
|
139
139
|
###### relatedObjectsParentStateObjectsWatchRunning?
|
|
140
140
|
|
|
@@ -150,7 +150,7 @@ Defines the rules for establishing relationships, such as foreign key links and
|
|
|
150
150
|
|
|
151
151
|
###### Index Signature
|
|
152
152
|
|
|
153
|
-
|
|
153
|
+
\[`rule`: `string`\]: [`ListRelatedRule`](listRelated.md#listrelatedrule)
|
|
154
154
|
|
|
155
155
|
###### relatedObjectsWatchRunning?
|
|
156
156
|
|
|
@@ -256,7 +256,7 @@ Maintains computed references to the foreign keys for each object pk and rule, c
|
|
|
256
256
|
|
|
257
257
|
###### Index Signature
|
|
258
258
|
|
|
259
|
-
|
|
259
|
+
\[`pk`: `string`\]: `object`
|
|
260
260
|
|
|
261
261
|
###### intendToList?
|
|
262
262
|
|
|
@@ -290,7 +290,7 @@ Maps each object pk and rule to a tuple consisting of the related object and its
|
|
|
290
290
|
|
|
291
291
|
###### Index Signature
|
|
292
292
|
|
|
293
|
-
|
|
293
|
+
\[`pk`: `string`\]: `object`
|
|
294
294
|
|
|
295
295
|
###### objects
|
|
296
296
|
|
|
@@ -324,7 +324,7 @@ Stores computed references to related objects, allowing for dynamic access based
|
|
|
324
324
|
|
|
325
325
|
###### Index Signature
|
|
326
326
|
|
|
327
|
-
|
|
327
|
+
\[`pk`: `string`\]: `object`
|
|
328
328
|
|
|
329
329
|
###### relatedObjectsParentStateObjectsWatchRunning?
|
|
330
330
|
|
|
@@ -340,7 +340,7 @@ Defines the rules for establishing relationships, such as foreign key links and
|
|
|
340
340
|
|
|
341
341
|
###### Index Signature
|
|
342
342
|
|
|
343
|
-
|
|
343
|
+
\[`rule`: `string`\]: [`ListRelatedRule`](listRelated.md#listrelatedrule)
|
|
344
344
|
|
|
345
345
|
###### relatedObjectsWatchRunning?
|
|
346
346
|
|
|
@@ -404,7 +404,7 @@ The calculated objects.
|
|
|
404
404
|
|
|
405
405
|
###### Index Signature
|
|
406
406
|
|
|
407
|
-
|
|
407
|
+
\[`pk`: `string`\]: `object`
|
|
408
408
|
|
|
409
409
|
###### calculatedObjectsParentStateObjectsWatchRunning
|
|
410
410
|
|
|
@@ -420,7 +420,7 @@ The rules for the calculated objects.
|
|
|
420
420
|
|
|
421
421
|
###### Index Signature
|
|
422
422
|
|
|
423
|
-
|
|
423
|
+
\[`rule`: `string`\]: (`object`, `relatedObject`, `calculatedObjects`) => `any`
|
|
424
424
|
|
|
425
425
|
###### calculatedObjectsWatchRunning
|
|
426
426
|
|
|
@@ -472,7 +472,7 @@ Maintains computed references to the foreign keys for each object pk and rule, c
|
|
|
472
472
|
|
|
473
473
|
###### Index Signature
|
|
474
474
|
|
|
475
|
-
|
|
475
|
+
\[`pk`: `string`\]: `object`
|
|
476
476
|
|
|
477
477
|
###### intendToList?
|
|
478
478
|
|
|
@@ -506,7 +506,7 @@ Maps each object pk and rule to a tuple consisting of the related object and its
|
|
|
506
506
|
|
|
507
507
|
###### Index Signature
|
|
508
508
|
|
|
509
|
-
|
|
509
|
+
\[`pk`: `string`\]: `object`
|
|
510
510
|
|
|
511
511
|
###### objects
|
|
512
512
|
|
|
@@ -540,7 +540,7 @@ Stores computed references to related objects, allowing for dynamic access based
|
|
|
540
540
|
|
|
541
541
|
###### Index Signature
|
|
542
542
|
|
|
543
|
-
|
|
543
|
+
\[`pk`: `string`\]: `object`
|
|
544
544
|
|
|
545
545
|
###### relatedObjectsParentStateObjectsWatchRunning?
|
|
546
546
|
|
|
@@ -556,7 +556,7 @@ Defines the rules for establishing relationships, such as foreign key links and
|
|
|
556
556
|
|
|
557
557
|
###### Index Signature
|
|
558
558
|
|
|
559
|
-
|
|
559
|
+
\[`rule`: `string`\]: [`ListRelatedRule`](listRelated.md#listrelatedrule)
|
|
560
560
|
|
|
561
561
|
###### relatedObjectsWatchRunning?
|
|
562
562
|
|
|
@@ -628,7 +628,7 @@ The calculated objects.
|
|
|
628
628
|
|
|
629
629
|
###### Index Signature
|
|
630
630
|
|
|
631
|
-
|
|
631
|
+
\[`pk`: `string`\]: `object`
|
|
632
632
|
|
|
633
633
|
##### calculatedObjectsParentStateObjectsWatchRunning
|
|
634
634
|
|
|
@@ -638,7 +638,7 @@ Whether the parent state objects watch is running.
|
|
|
638
638
|
|
|
639
639
|
##### calculatedObjectsRules
|
|
640
640
|
|
|
641
|
-
> **calculatedObjectsRules**: `Ref
|
|
641
|
+
> **calculatedObjectsRules**: `Ref`\<\{\}, \{\}\>
|
|
642
642
|
|
|
643
643
|
The rules for the calculated objects.
|
|
644
644
|
|
package/docs/use/listFilter.md
CHANGED
|
@@ -38,7 +38,7 @@ The calculated objects.
|
|
|
38
38
|
|
|
39
39
|
###### Index Signature
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
\[`pk`: `string`\]: `object`
|
|
42
42
|
|
|
43
43
|
###### calculatedObjectsParentStateObjectsWatchRunning?
|
|
44
44
|
|
|
@@ -54,7 +54,7 @@ The rules for the calculated objects.
|
|
|
54
54
|
|
|
55
55
|
###### Index Signature
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
\[`rule`: `string`\]: (`object`, `relatedObject`, `calculatedObjects`) => `any`
|
|
58
58
|
|
|
59
59
|
###### calculatedObjectsWatchRunning?
|
|
60
60
|
|
|
@@ -106,7 +106,7 @@ Maintains computed references to the foreign keys for each object pk and rule, c
|
|
|
106
106
|
|
|
107
107
|
###### Index Signature
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
\[`pk`: `string`\]: `object`
|
|
110
110
|
|
|
111
111
|
###### intendToList?
|
|
112
112
|
|
|
@@ -140,7 +140,7 @@ Maps each object pk and rule to a tuple consisting of the related object and its
|
|
|
140
140
|
|
|
141
141
|
###### Index Signature
|
|
142
142
|
|
|
143
|
-
|
|
143
|
+
\[`pk`: `string`\]: `object`
|
|
144
144
|
|
|
145
145
|
###### objects
|
|
146
146
|
|
|
@@ -174,7 +174,7 @@ Stores computed references to related objects, allowing for dynamic access based
|
|
|
174
174
|
|
|
175
175
|
###### Index Signature
|
|
176
176
|
|
|
177
|
-
|
|
177
|
+
\[`pk`: `string`\]: `object`
|
|
178
178
|
|
|
179
179
|
###### relatedObjectsParentStateObjectsWatchRunning?
|
|
180
180
|
|
|
@@ -190,7 +190,7 @@ Defines the rules for establishing relationships, such as foreign key links and
|
|
|
190
190
|
|
|
191
191
|
###### Index Signature
|
|
192
192
|
|
|
193
|
-
|
|
193
|
+
\[`rule`: `string`\]: [`ListRelatedRule`](listRelated.md#listrelatedrule)
|
|
194
194
|
|
|
195
195
|
###### relatedObjectsWatchRunning?
|
|
196
196
|
|
|
@@ -266,7 +266,7 @@ The calculated objects.
|
|
|
266
266
|
|
|
267
267
|
###### Index Signature
|
|
268
268
|
|
|
269
|
-
|
|
269
|
+
\[`pk`: `string`\]: `object`
|
|
270
270
|
|
|
271
271
|
###### calculatedObjectsParentStateObjectsWatchRunning?
|
|
272
272
|
|
|
@@ -282,7 +282,7 @@ The rules for the calculated objects.
|
|
|
282
282
|
|
|
283
283
|
###### Index Signature
|
|
284
284
|
|
|
285
|
-
|
|
285
|
+
\[`rule`: `string`\]: (`object`, `relatedObject`, `calculatedObjects`) => `any`
|
|
286
286
|
|
|
287
287
|
###### calculatedObjectsWatchRunning?
|
|
288
288
|
|
|
@@ -334,7 +334,7 @@ Maintains computed references to the foreign keys for each object pk and rule, c
|
|
|
334
334
|
|
|
335
335
|
###### Index Signature
|
|
336
336
|
|
|
337
|
-
|
|
337
|
+
\[`pk`: `string`\]: `object`
|
|
338
338
|
|
|
339
339
|
###### intendToList?
|
|
340
340
|
|
|
@@ -368,7 +368,7 @@ Maps each object pk and rule to a tuple consisting of the related object and its
|
|
|
368
368
|
|
|
369
369
|
###### Index Signature
|
|
370
370
|
|
|
371
|
-
|
|
371
|
+
\[`pk`: `string`\]: `object`
|
|
372
372
|
|
|
373
373
|
###### objects
|
|
374
374
|
|
|
@@ -402,7 +402,7 @@ Stores computed references to related objects, allowing for dynamic access based
|
|
|
402
402
|
|
|
403
403
|
###### Index Signature
|
|
404
404
|
|
|
405
|
-
|
|
405
|
+
\[`pk`: `string`\]: `object`
|
|
406
406
|
|
|
407
407
|
###### relatedObjectsParentStateObjectsWatchRunning?
|
|
408
408
|
|
|
@@ -418,7 +418,7 @@ Defines the rules for establishing relationships, such as foreign key links and
|
|
|
418
418
|
|
|
419
419
|
###### Index Signature
|
|
420
420
|
|
|
421
|
-
|
|
421
|
+
\[`rule`: `string`\]: [`ListRelatedRule`](listRelated.md#listrelatedrule)
|
|
422
422
|
|
|
423
423
|
###### relatedObjectsWatchRunning?
|
|
424
424
|
|
|
@@ -488,7 +488,7 @@ The calculated objects.
|
|
|
488
488
|
|
|
489
489
|
###### Index Signature
|
|
490
490
|
|
|
491
|
-
|
|
491
|
+
\[`pk`: `string`\]: `object`
|
|
492
492
|
|
|
493
493
|
###### calculatedObjectsParentStateObjectsWatchRunning?
|
|
494
494
|
|
|
@@ -504,7 +504,7 @@ The rules for the calculated objects.
|
|
|
504
504
|
|
|
505
505
|
###### Index Signature
|
|
506
506
|
|
|
507
|
-
|
|
507
|
+
\[`rule`: `string`\]: (`object`, `relatedObject`, `calculatedObjects`) => `any`
|
|
508
508
|
|
|
509
509
|
###### calculatedObjectsWatchRunning?
|
|
510
510
|
|
|
@@ -562,7 +562,7 @@ Maintains computed references to the foreign keys for each object pk and rule, c
|
|
|
562
562
|
|
|
563
563
|
###### Index Signature
|
|
564
564
|
|
|
565
|
-
|
|
565
|
+
\[`pk`: `string`\]: `object`
|
|
566
566
|
|
|
567
567
|
###### inResults
|
|
568
568
|
|
|
@@ -602,7 +602,7 @@ Maps each object pk and rule to a tuple consisting of the related object and its
|
|
|
602
602
|
|
|
603
603
|
###### Index Signature
|
|
604
604
|
|
|
605
|
-
|
|
605
|
+
\[`pk`: `string`\]: `object`
|
|
606
606
|
|
|
607
607
|
###### objects
|
|
608
608
|
|
|
@@ -648,7 +648,7 @@ Stores computed references to related objects, allowing for dynamic access based
|
|
|
648
648
|
|
|
649
649
|
###### Index Signature
|
|
650
650
|
|
|
651
|
-
|
|
651
|
+
\[`pk`: `string`\]: `object`
|
|
652
652
|
|
|
653
653
|
###### relatedObjectsParentStateObjectsWatchRunning?
|
|
654
654
|
|
|
@@ -664,7 +664,7 @@ Defines the rules for establishing relationships, such as foreign key links and
|
|
|
664
664
|
|
|
665
665
|
###### Index Signature
|
|
666
666
|
|
|
667
|
-
|
|
667
|
+
\[`rule`: `string`\]: [`ListRelatedRule`](listRelated.md#listrelatedrule)
|
|
668
668
|
|
|
669
669
|
###### relatedObjectsWatchRunning?
|
|
670
670
|
|
package/docs/use/listInstance.md
CHANGED
|
@@ -429,7 +429,7 @@ Indicates if there are ongoing reactive updates.
|
|
|
429
429
|
|
|
430
430
|
#### Index Signature
|
|
431
431
|
|
|
432
|
-
|
|
432
|
+
\[`key`: `string`\]: `any`
|
|
433
433
|
|
|
434
434
|
##### pk
|
|
435
435
|
|
|
@@ -453,7 +453,7 @@ Indicates if there are ongoing reactive updates.
|
|
|
453
453
|
|
|
454
454
|
#### Index Signature
|
|
455
455
|
|
|
456
|
-
|
|
456
|
+
\[`pk`: `string`\]: [`ListObject`](listInstance.md#listobject)
|
|
457
457
|
|
|
458
458
|
***
|
|
459
459
|
|
package/docs/use/listRelated.md
CHANGED
|
@@ -134,7 +134,7 @@ Whether the subscription is loading.
|
|
|
134
134
|
|
|
135
135
|
##### relatedObjectsRules
|
|
136
136
|
|
|
137
|
-
> **relatedObjectsRules**: `Ref
|
|
137
|
+
> **relatedObjectsRules**: `Ref`\<\{\}, \{\}\>
|
|
138
138
|
|
|
139
139
|
The rules for the related objects.
|
|
140
140
|
|
|
@@ -314,7 +314,7 @@ Maintains computed references to the foreign keys for each object pk and rule, c
|
|
|
314
314
|
|
|
315
315
|
###### Index Signature
|
|
316
316
|
|
|
317
|
-
|
|
317
|
+
\[`pk`: `string`\]: `object`
|
|
318
318
|
|
|
319
319
|
###### intendToList?
|
|
320
320
|
|
|
@@ -348,7 +348,7 @@ Maps each object pk and rule to a tuple consisting of the related object and its
|
|
|
348
348
|
|
|
349
349
|
###### Index Signature
|
|
350
350
|
|
|
351
|
-
|
|
351
|
+
\[`pk`: `string`\]: `object`
|
|
352
352
|
|
|
353
353
|
###### objects
|
|
354
354
|
|
|
@@ -382,7 +382,7 @@ Stores computed references to related objects, allowing for dynamic access based
|
|
|
382
382
|
|
|
383
383
|
###### Index Signature
|
|
384
384
|
|
|
385
|
-
|
|
385
|
+
\[`pk`: `string`\]: `object`
|
|
386
386
|
|
|
387
387
|
###### relatedObjectsParentStateObjectsWatchRunning
|
|
388
388
|
|
|
@@ -398,7 +398,7 @@ Defines the rules for establishing relationships, such as foreign key links and
|
|
|
398
398
|
|
|
399
399
|
###### Index Signature
|
|
400
400
|
|
|
401
|
-
|
|
401
|
+
\[`rule`: `string`\]: [`ListRelatedRule`](listRelated.md#listrelatedrule)
|
|
402
402
|
|
|
403
403
|
###### relatedObjectsWatchRunning
|
|
404
404
|
|
|
@@ -468,7 +468,7 @@ Maintains computed references to the foreign keys for each object pk and rule, c
|
|
|
468
468
|
|
|
469
469
|
###### Index Signature
|
|
470
470
|
|
|
471
|
-
|
|
471
|
+
\[`pk`: `string`\]: `object`
|
|
472
472
|
|
|
473
473
|
##### objAndKeyForPkAndRule
|
|
474
474
|
|
|
@@ -478,7 +478,7 @@ Maps each object pk and rule to a tuple consisting of the related object and its
|
|
|
478
478
|
|
|
479
479
|
###### Index Signature
|
|
480
480
|
|
|
481
|
-
|
|
481
|
+
\[`pk`: `string`\]: `object`
|
|
482
482
|
|
|
483
483
|
##### relatedObjects
|
|
484
484
|
|
|
@@ -488,7 +488,7 @@ Stores computed references to related objects, allowing for dynamic access based
|
|
|
488
488
|
|
|
489
489
|
###### Index Signature
|
|
490
490
|
|
|
491
|
-
|
|
491
|
+
\[`pk`: `string`\]: `object`
|
|
492
492
|
|
|
493
493
|
##### relatedObjectsParentStateObjectsWatchRunning
|
|
494
494
|
|
|
@@ -504,7 +504,7 @@ Defines the rules for establishing relationships, such as foreign key links and
|
|
|
504
504
|
|
|
505
505
|
###### Index Signature
|
|
506
506
|
|
|
507
|
-
|
|
507
|
+
\[`rule`: `string`\]: [`ListRelatedRule`](listRelated.md#listrelatedrule)
|
|
508
508
|
|
|
509
509
|
##### relatedObjectsWatchRunning
|
|
510
510
|
|
package/docs/use/listSearch.md
CHANGED
|
@@ -64,7 +64,7 @@ The calculated objects.
|
|
|
64
64
|
|
|
65
65
|
###### Index Signature
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
\[`pk`: `string`\]: `object`
|
|
68
68
|
|
|
69
69
|
###### calculatedObjectsParentStateObjectsWatchRunning?
|
|
70
70
|
|
|
@@ -80,7 +80,7 @@ The rules for the calculated objects.
|
|
|
80
80
|
|
|
81
81
|
###### Index Signature
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
\[`rule`: `string`\]: (`object`, `relatedObject`, `calculatedObjects`) => `any`
|
|
84
84
|
|
|
85
85
|
###### calculatedObjectsWatchRunning?
|
|
86
86
|
|
|
@@ -138,7 +138,7 @@ Maintains computed references to the foreign keys for each object pk and rule, c
|
|
|
138
138
|
|
|
139
139
|
###### Index Signature
|
|
140
140
|
|
|
141
|
-
|
|
141
|
+
\[`pk`: `string`\]: `object`
|
|
142
142
|
|
|
143
143
|
###### inResults?
|
|
144
144
|
|
|
@@ -178,7 +178,7 @@ Maps each object pk and rule to a tuple consisting of the related object and its
|
|
|
178
178
|
|
|
179
179
|
###### Index Signature
|
|
180
180
|
|
|
181
|
-
|
|
181
|
+
\[`pk`: `string`\]: `object`
|
|
182
182
|
|
|
183
183
|
###### objects
|
|
184
184
|
|
|
@@ -224,7 +224,7 @@ Stores computed references to related objects, allowing for dynamic access based
|
|
|
224
224
|
|
|
225
225
|
###### Index Signature
|
|
226
226
|
|
|
227
|
-
|
|
227
|
+
\[`pk`: `string`\]: `object`
|
|
228
228
|
|
|
229
229
|
###### relatedObjectsParentStateObjectsWatchRunning?
|
|
230
230
|
|
|
@@ -240,7 +240,7 @@ Defines the rules for establishing relationships, such as foreign key links and
|
|
|
240
240
|
|
|
241
241
|
###### Index Signature
|
|
242
242
|
|
|
243
|
-
|
|
243
|
+
\[`rule`: `string`\]: [`ListRelatedRule`](listRelated.md#listrelatedrule)
|
|
244
244
|
|
|
245
245
|
###### relatedObjectsWatchRunning?
|
|
246
246
|
|
|
@@ -376,7 +376,7 @@ The calculated objects.
|
|
|
376
376
|
|
|
377
377
|
###### Index Signature
|
|
378
378
|
|
|
379
|
-
|
|
379
|
+
\[`pk`: `string`\]: `object`
|
|
380
380
|
|
|
381
381
|
###### calculatedObjectsParentStateObjectsWatchRunning?
|
|
382
382
|
|
|
@@ -392,7 +392,7 @@ The rules for the calculated objects.
|
|
|
392
392
|
|
|
393
393
|
###### Index Signature
|
|
394
394
|
|
|
395
|
-
|
|
395
|
+
\[`rule`: `string`\]: (`object`, `relatedObject`, `calculatedObjects`) => `any`
|
|
396
396
|
|
|
397
397
|
###### calculatedObjectsWatchRunning?
|
|
398
398
|
|
|
@@ -462,7 +462,7 @@ Maintains computed references to the foreign keys for each object pk and rule, c
|
|
|
462
462
|
|
|
463
463
|
###### Index Signature
|
|
464
464
|
|
|
465
|
-
|
|
465
|
+
\[`pk`: `string`\]: `object`
|
|
466
466
|
|
|
467
467
|
###### inResults?
|
|
468
468
|
|
|
@@ -502,7 +502,7 @@ Maps each object pk and rule to a tuple consisting of the related object and its
|
|
|
502
502
|
|
|
503
503
|
###### Index Signature
|
|
504
504
|
|
|
505
|
-
|
|
505
|
+
\[`pk`: `string`\]: `object`
|
|
506
506
|
|
|
507
507
|
###### objectIndexes
|
|
508
508
|
|
|
@@ -554,7 +554,7 @@ Stores computed references to related objects, allowing for dynamic access based
|
|
|
554
554
|
|
|
555
555
|
###### Index Signature
|
|
556
556
|
|
|
557
|
-
|
|
557
|
+
\[`pk`: `string`\]: `object`
|
|
558
558
|
|
|
559
559
|
###### relatedObjectsParentStateObjectsWatchRunning?
|
|
560
560
|
|
|
@@ -570,7 +570,7 @@ Defines the rules for establishing relationships, such as foreign key links and
|
|
|
570
570
|
|
|
571
571
|
###### Index Signature
|
|
572
572
|
|
|
573
|
-
|
|
573
|
+
\[`rule`: `string`\]: [`ListRelatedRule`](listRelated.md#listrelatedrule)
|
|
574
574
|
|
|
575
575
|
###### relatedObjectsWatchRunning?
|
|
576
576
|
|
|
@@ -677,7 +677,7 @@ FlexSearch.Search options.
|
|
|
677
677
|
|
|
678
678
|
##### textSearchRules
|
|
679
679
|
|
|
680
|
-
> **textSearchRules**: [`TextSearchRules`](listSearch.md#textsearchrules-
|
|
680
|
+
> **textSearchRules**: [`TextSearchRules`](listSearch.md#textsearchrules-3)
|
|
681
681
|
|
|
682
682
|
Rules for what to search for. Keys are the keys to search for, values are functions that take the object and return The value to search for.
|
|
683
683
|
|