@ankhorage/runtime 3.0.59 → 4.0.3

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.
@@ -10,7 +10,7 @@ Source: `src/componentRegistry.ts:3:1`
10
10
 
11
11
  Kind: `function`
12
12
  Module: `src/RuntimeRendererConfig.tsx`
13
- Source: `src/RuntimeRendererConfig.tsx:95:1`
13
+ Source: `src/RuntimeRendererConfig.tsx:98:1`
14
14
 
15
15
  ### Signatures
16
16
 
@@ -23,7 +23,7 @@ Source: `src/RuntimeRendererConfig.tsx:95:1`
23
23
 
24
24
  Kind: `function`
25
25
  Module: `src/RuntimeRendererConfig.tsx`
26
- Source: `src/RuntimeRendererConfig.tsx:80:1`
26
+ Source: `src/RuntimeRendererConfig.tsx:83:1`
27
27
 
28
28
  ### Signatures
29
29
 
@@ -36,7 +36,7 @@ Source: `src/RuntimeRendererConfig.tsx:80:1`
36
36
 
37
37
  Kind: `function`
38
38
  Module: `src/runtimeActionRegistry.ts`
39
- Source: `src/runtimeActionRegistry.ts:223:1`
39
+ Source: `src/runtimeActionRegistry.ts:234:1`
40
40
 
41
41
  ### Signatures
42
42
 
@@ -96,7 +96,7 @@ Source: `src/runtimeScreenLoaders.ts:82:1`
96
96
 
97
97
  Kind: `function`
98
98
  Module: `src/runtimeActionRegistry.ts`
99
- Source: `src/runtimeActionRegistry.ts:71:1`
99
+ Source: `src/runtimeActionRegistry.ts:72:1`
100
100
 
101
101
  ### Signatures
102
102
 
@@ -181,7 +181,7 @@ Source: `src/runtimeScreenLoaders.ts:49:1`
181
181
 
182
182
  Kind: `function`
183
183
  Module: `src/runtimeActionRegistry.ts`
184
- Source: `src/runtimeActionRegistry.ts:109:1`
184
+ Source: `src/runtimeActionRegistry.ts:110:1`
185
185
 
186
186
  ### Signatures
187
187
 
@@ -253,7 +253,7 @@ Source: `src/ManifestContext.tsx:12:1`
253
253
 
254
254
  Kind: `function`
255
255
  Module: `src/RuntimeRendererConfig.tsx`
256
- Source: `src/RuntimeRendererConfig.tsx:113:1`
256
+ Source: `src/RuntimeRendererConfig.tsx:116:1`
257
257
 
258
258
  ### Signatures
259
259
 
@@ -292,7 +292,7 @@ Source: `src/runtimeDbPersist.ts:68:1`
292
292
 
293
293
  Kind: `function`
294
294
  Module: `src/runtimeActionRegistry.ts`
295
- Source: `src/runtimeActionRegistry.ts:237:1`
295
+ Source: `src/runtimeActionRegistry.ts:248:1`
296
296
 
297
297
  ### Signatures
298
298
 
@@ -305,7 +305,7 @@ Source: `src/runtimeActionRegistry.ts:237:1`
305
305
 
306
306
  Kind: `function`
307
307
  Module: `src/runtimeActionRegistry.ts`
308
- Source: `src/runtimeActionRegistry.ts:248:1`
308
+ Source: `src/runtimeActionRegistry.ts:259:1`
309
309
 
310
310
  ### Signatures
311
311
 
@@ -392,21 +392,28 @@ Source: `src/runtimeScreenLoaders.ts:43:1`
392
392
 
393
393
  ## RuntimeAction
394
394
 
395
- Kind: `unknown`
395
+ Kind: `type`
396
396
  Module: `src/RuntimeRendererConfig.tsx`
397
397
  Source: `src/RuntimeRendererConfig.tsx:46:1`
398
398
 
399
+ ### Members
400
+
401
+ | Name | Kind | Type | Required | Description |
402
+ | --- | --- | --- | --- | --- |
403
+ | payload | property | `object \| undefined` | no | |
404
+ | type | property | ``${string}.${string}`` | yes | |
405
+
399
406
  ## RuntimeActionDescriptor
400
407
 
401
408
  Kind: `type`
402
409
  Module: `src/runtimeManifest.ts`
403
- Source: `src/runtimeManifest.ts:24:1`
410
+ Source: `src/runtimeManifest.ts:17:1`
404
411
 
405
412
  ### Members
406
413
 
407
414
  | Name | Kind | Type | Required | Description |
408
415
  | --- | --- | --- | --- | --- |
409
- | capability | property | `"runtime.render" \| "runtime.actions" \| "runtime.bindings" \| "runtime.adapters" \| undefined` | no | |
416
+ | capability | property | ``${string}.${string}` \| undefined` | no | |
410
417
  | data | property | `Data \| undefined` | no | |
411
418
  | description | property | `string \| undefined` | no | |
412
419
  | id | property | `string` | yes | |
@@ -415,13 +422,13 @@ Source: `src/runtimeManifest.ts:24:1`
415
422
 
416
423
  Kind: `unknown`
417
424
  Module: `src/RuntimeRendererConfig.tsx`
418
- Source: `src/RuntimeRendererConfig.tsx:49:1`
425
+ Source: `src/RuntimeRendererConfig.tsx:52:1`
419
426
 
420
427
  ## RuntimeActionHandler
421
428
 
422
429
  Kind: `unknown`
423
430
  Module: `src/RuntimeRendererConfig.tsx`
424
- Source: `src/RuntimeRendererConfig.tsx:47:1`
431
+ Source: `src/RuntimeRendererConfig.tsx:50:1`
425
432
 
426
433
  ## RuntimeActionHandlerArgs
427
434
 
@@ -442,26 +449,26 @@ Source: `src/RuntimeRendererConfig.tsx:39:1`
442
449
 
443
450
  Kind: `unknown`
444
451
  Module: `src/RuntimeRendererConfig.tsx`
445
- Source: `src/RuntimeRendererConfig.tsx:48:1`
452
+ Source: `src/RuntimeRendererConfig.tsx:51:1`
446
453
 
447
454
  ## RuntimeActionRegistry
448
455
 
449
456
  Kind: `type`
450
457
  Module: `src/runtimeActionRegistry.ts`
451
- Source: `src/runtimeActionRegistry.ts:34:1`
458
+ Source: `src/runtimeActionRegistry.ts:35:1`
452
459
 
453
460
  ### Members
454
461
 
455
462
  | Name | Kind | Type | Required | Description |
456
463
  | --- | --- | --- | --- | --- |
457
464
  | dispatchComponentEvent | method | `(args: RuntimeComponentEventDispatchArgs) => Promise<void>` | yes | |
458
- | registerActionHandler | method | `(type: string, handler: RuntimeActionHandler) => () => void` | yes | |
465
+ | registerActionHandler | method | `(type: Capability["id"], handler: RuntimeActionHandler) => () => void` | yes | |
459
466
 
460
467
  ## RuntimeActionResolutionArgs
461
468
 
462
469
  Kind: `type`
463
470
  Module: `src/runtimeActionRegistry.ts`
464
- Source: `src/runtimeActionRegistry.ts:45:1`
471
+ Source: `src/runtimeActionRegistry.ts:46:1`
465
472
 
466
473
  ### Members
467
474
 
@@ -476,7 +483,7 @@ Source: `src/runtimeActionRegistry.ts:45:1`
476
483
 
477
484
  Kind: `type`
478
485
  Module: `src/runtimeActionRegistry.ts`
479
- Source: `src/runtimeActionRegistry.ts:39:1`
486
+ Source: `src/runtimeActionRegistry.ts:40:1`
480
487
 
481
488
  ### Members
482
489
 
@@ -490,7 +497,7 @@ Source: `src/runtimeActionRegistry.ts:39:1`
490
497
 
491
498
  Kind: `type`
492
499
  Module: `src/runtimeManifest.ts`
493
- Source: `src/runtimeManifest.ts:39:1`
500
+ Source: `src/runtimeManifest.ts:32:1`
494
501
 
495
502
  ### Members
496
503
 
@@ -530,7 +537,7 @@ Source: `src/runtimeApiSelection.ts:10:1`
530
537
 
531
538
  Kind: `type`
532
539
  Module: `src/runtimeManifest.ts`
533
- Source: `src/runtimeManifest.ts:31:1`
540
+ Source: `src/runtimeManifest.ts:24:1`
534
541
 
535
542
  ### Members
536
543
 
@@ -639,17 +646,11 @@ Source: `src/runtimeBindings.ts:71:1`
639
646
  | diagnostics | property | `readonly DataSourceDiagnostic[]` | yes | |
640
647
  | props | property | `Record<string, unknown>` | yes | |
641
648
 
642
- ## RuntimeCapability
643
-
644
- Kind: `unknown`
645
- Module: `src/runtimeManifest.ts`
646
- Source: `src/runtimeManifest.ts:10:1`
647
-
648
649
  ## RuntimeComponentEventDispatchArgs
649
650
 
650
651
  Kind: `type`
651
652
  Module: `src/runtimeActionRegistry.ts`
652
- Source: `src/runtimeActionRegistry.ts:49:1`
653
+ Source: `src/runtimeActionRegistry.ts:50:1`
653
654
 
654
655
  ### Members
655
656
 
@@ -704,7 +705,7 @@ Source: `src/runtimeDbPersist.ts:11:1`
704
705
 
705
706
  Kind: `type`
706
707
  Module: `src/runtimeManifest.ts`
707
- Source: `src/runtimeManifest.ts:12:1`
708
+ Source: `src/runtimeManifest.ts:5:1`
708
709
 
709
710
  ### Members
710
711
 
@@ -779,7 +780,7 @@ Source: `src/runtimeEventOperationLifecycle.ts:4:1`
779
780
 
780
781
  Kind: `type`
781
782
  Module: `src/runtimeActionRegistry.ts`
782
- Source: `src/runtimeActionRegistry.ts:61:1`
783
+ Source: `src/runtimeActionRegistry.ts:62:1`
783
784
 
784
785
  ### Members
785
786
 
@@ -798,7 +799,7 @@ Source: `src/runtimeActionRegistry.ts:61:1`
798
799
 
799
800
  Kind: `type`
800
801
  Module: `src/runtimeManifest.ts`
801
- Source: `src/runtimeManifest.ts:45:1`
802
+ Source: `src/runtimeManifest.ts:38:1`
802
803
 
803
804
  ### Members
804
805
 
@@ -816,7 +817,7 @@ Source: `src/runtimeManifest.ts:45:1`
816
817
 
817
818
  Kind: `type`
818
819
  Module: `src/runtimeManifest.ts`
819
- Source: `src/runtimeManifest.ts:18:1`
820
+ Source: `src/runtimeManifest.ts:11:1`
820
821
 
821
822
  ### Members
822
823
 
@@ -830,7 +831,7 @@ Source: `src/runtimeManifest.ts:18:1`
830
831
 
831
832
  Kind: `type`
832
833
  Module: `src/runtimeManifest.ts`
833
- Source: `src/runtimeManifest.ts:55:1`
834
+ Source: `src/runtimeManifest.ts:48:1`
834
835
 
835
836
  ### Members
836
837
 
@@ -894,13 +895,13 @@ Source: `src/RuntimeRenderer.tsx:81:1`
894
895
 
895
896
  Kind: `type`
896
897
  Module: `src/RuntimeRendererConfig.tsx`
897
- Source: `src/RuntimeRendererConfig.tsx:51:1`
898
+ Source: `src/RuntimeRendererConfig.tsx:54:1`
898
899
 
899
900
  ### Members
900
901
 
901
902
  | Name | Kind | Type | Required | Description |
902
903
  | --- | --- | --- | --- | --- |
903
- | actionHandlers | property | `RuntimeActionHandlers \| undefined` | no | |
904
+ | actionHandlers | property | `Partial<Record<`${string}.${string}`, RuntimeActionHandler>> \| undefined` | no | |
904
905
  | apis | property | `ApiDefinitionRegistry \| undefined` | no | |
905
906
  | bindingContext | property | `Record<string, unknown> \| undefined` | no | |
906
907
  | dataBindings | property | `ComponentDataBindingRegistry \| undefined` | no | |
@@ -925,7 +926,7 @@ Source: `src/RuntimeRendererConfig.tsx:51:1`
925
926
 
926
927
  Kind: `function`
927
928
  Module: `src/RuntimeRendererConfig.tsx`
928
- Source: `src/RuntimeRendererConfig.tsx:164:1`
929
+ Source: `src/RuntimeRendererConfig.tsx:167:1`
929
930
 
930
931
  ### Signatures
931
932
 
@@ -1099,7 +1100,7 @@ Source: `src/ManifestContext.tsx:38:1`
1099
1100
 
1100
1101
  Kind: `function`
1101
1102
  Module: `src/RuntimeRendererConfig.tsx`
1102
- Source: `src/RuntimeRendererConfig.tsx:177:1`
1103
+ Source: `src/RuntimeRendererConfig.tsx:180:1`
1103
1104
 
1104
1105
  ### Signatures
1105
1106
 
@@ -1135,7 +1136,7 @@ Source: `src/runtimeApiSelection.ts:15:1`
1135
1136
 
1136
1137
  Kind: `function`
1137
1138
  Module: `src/runtimeActionRegistry.ts`
1138
- Source: `src/runtimeActionRegistry.ts:186:1`
1139
+ Source: `src/runtimeActionRegistry.ts:197:1`
1139
1140
 
1140
1141
  ### Signatures
1141
1142