@ankhorage/runtime 2.3.1 → 3.0.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.
- package/CHANGELOG.md +6 -0
- package/README.md +2 -2
- package/dist/RuntimeRenderer.d.ts +2 -2
- package/dist/RuntimeRenderer.d.ts.map +1 -1
- package/dist/RuntimeRenderer.js.map +1 -1
- package/dist/RuntimeRendererConfig.d.ts +2 -2
- package/dist/RuntimeRendererConfig.d.ts.map +1 -1
- package/dist/RuntimeRendererConfig.js.map +1 -1
- package/dist/runtimeActionRegistry.d.ts +3 -3
- package/dist/runtimeActionRegistry.d.ts.map +1 -1
- package/dist/runtimeActionRegistry.js.map +1 -1
- package/dist/runtimeApiSelection.d.ts +3 -3
- package/dist/runtimeApiSelection.d.ts.map +1 -1
- package/dist/runtimeApiSelection.js +7 -5
- package/dist/runtimeApiSelection.js.map +1 -1
- package/dist/runtimeBindings.d.ts +2 -2
- package/dist/runtimeBindings.d.ts.map +1 -1
- package/dist/runtimeBindings.js.map +1 -1
- package/dist/runtimeNodeProps.d.ts +2 -2
- package/dist/runtimeNodeProps.d.ts.map +1 -1
- package/dist/runtimeNodeProps.js.map +1 -1
- package/package.json +2 -2
- package/paradox/badges/npm.svg +4 -4
- package/paradox/components.md +1 -1
- package/paradox/diagrams/sequences/validate-runtime-binding-operation-ref.mmd +7 -0
- package/paradox/exports.json +25 -25
- package/paradox/exports.md +125 -125
- package/paradox/index.html +121 -48
- package/paradox/paradox.json +116 -87
package/paradox/exports.md
CHANGED
|
@@ -100,8 +100,8 @@ Source: `src/runtimeActionRegistry.ts:71:1`
|
|
|
100
100
|
|
|
101
101
|
### Signatures
|
|
102
102
|
|
|
103
|
-
- `(options?: { actionHandlers?: RuntimeActionHandlers; apis?:
|
|
104
|
-
- options: `{ actionHandlers?: RuntimeActionHandlers; apis?:
|
|
103
|
+
- `(options?: { actionHandlers?: RuntimeActionHandlers; apis?: ApiDefinitionRegistry; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; eventOperationLifecycle?: RuntimeEventOperationLifecycle; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }) => RuntimeActionRegistry`
|
|
104
|
+
- options: `{ actionHandlers?: RuntimeActionHandlers; apis?: ApiDefinitionRegistry; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; eventOperationLifecycle?: RuntimeEventOperationLifecycle; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }` (optional)
|
|
105
105
|
- returns: `RuntimeActionRegistry`
|
|
106
106
|
|
|
107
107
|
## createRuntimeApiOperationExecutor
|
|
@@ -270,11 +270,11 @@ Source: `src/runtimeBindings.ts:131:1`
|
|
|
270
270
|
|
|
271
271
|
### Signatures
|
|
272
272
|
|
|
273
|
-
- `(input: Readonly<Record<string, BindingInputValue>> | undefined, context: RuntimeBindingResolutionContext, diagnostics?: DataSourceDiagnostic[]) => Promise<
|
|
273
|
+
- `(input: Readonly<Record<string, BindingInputValue>> | undefined, context: RuntimeBindingResolutionContext, diagnostics?: DataSourceDiagnostic[]) => Promise<import("@ankhorage/contracts").SerializableValue | undefined>`
|
|
274
274
|
- context: `RuntimeBindingResolutionContext`
|
|
275
275
|
- diagnostics: `DataSourceDiagnostic[]` (optional)
|
|
276
276
|
- input: `Readonly<Record<string, BindingInputValue>> | undefined`
|
|
277
|
-
- returns: `Promise<
|
|
277
|
+
- returns: `Promise<import("@ankhorage/contracts").SerializableValue | undefined>`
|
|
278
278
|
|
|
279
279
|
## resolveDbPersistInput
|
|
280
280
|
|
|
@@ -465,12 +465,12 @@ Source: `src/runtimeActionRegistry.ts:45:1`
|
|
|
465
465
|
|
|
466
466
|
### Members
|
|
467
467
|
|
|
468
|
-
| Name | Kind | Type
|
|
469
|
-
| ---------------- | -------- |
|
|
470
|
-
| context | property | `Record<string, unknown> \| undefined`
|
|
471
|
-
| event | property | `ComponentEventDto<string, object>`
|
|
472
|
-
| operationResults | property | `Readonly<Record<string,
|
|
473
|
-
| state | property | `Record<string, unknown> \| undefined`
|
|
468
|
+
| Name | Kind | Type | Required | Description |
|
|
469
|
+
| ---------------- | -------- | ------------------------------------------------------------------------------------------------------ | -------- | ----------- |
|
|
470
|
+
| context | property | `Record<string, unknown> \| undefined` | no | |
|
|
471
|
+
| event | property | `ComponentEventDto<string, object>` | yes | |
|
|
472
|
+
| operationResults | property | `Readonly<Record<string, import("@ankhorage/contracts").SerializableValue \| undefined>> \| undefined` | no | |
|
|
473
|
+
| state | property | `Record<string, unknown> \| undefined` | no | |
|
|
474
474
|
|
|
475
475
|
## RuntimeActionResolutionScope
|
|
476
476
|
|
|
@@ -480,11 +480,11 @@ Source: `src/runtimeActionRegistry.ts:39:1`
|
|
|
480
480
|
|
|
481
481
|
### Members
|
|
482
482
|
|
|
483
|
-
| Name | Kind | Type
|
|
484
|
-
| ---------------- | -------- |
|
|
485
|
-
| context | property | `Record<string, unknown> \| undefined`
|
|
486
|
-
| operationResults | property | `Readonly<Record<string,
|
|
487
|
-
| state | property | `Record<string, unknown> \| undefined`
|
|
483
|
+
| Name | Kind | Type | Required | Description |
|
|
484
|
+
| ---------------- | -------- | ------------------------------------------------------------------------------------------------------ | -------- | ----------- |
|
|
485
|
+
| context | property | `Record<string, unknown> \| undefined` | no | |
|
|
486
|
+
| operationResults | property | `Readonly<Record<string, import("@ankhorage/contracts").SerializableValue \| undefined>> \| undefined` | no | |
|
|
487
|
+
| state | property | `Record<string, unknown> \| undefined` | no | |
|
|
488
488
|
|
|
489
489
|
## RuntimeAdapterDescriptor
|
|
490
490
|
|
|
@@ -517,7 +517,7 @@ Source: `src/runtimeApiOperations.ts:7:1`
|
|
|
517
517
|
|
|
518
518
|
Kind: `type`
|
|
519
519
|
Module: `src/runtimeApiSelection.ts`
|
|
520
|
-
Source: `src/runtimeApiSelection.ts:
|
|
520
|
+
Source: `src/runtimeApiSelection.ts:10:1`
|
|
521
521
|
|
|
522
522
|
### Members
|
|
523
523
|
|
|
@@ -550,13 +550,13 @@ Source: `src/runtimeBindings.ts:24:1`
|
|
|
550
550
|
|
|
551
551
|
### Members
|
|
552
552
|
|
|
553
|
-
| Name | Kind | Type
|
|
554
|
-
| --------- | -------- |
|
|
555
|
-
| api | property | `ApiDefinition`
|
|
556
|
-
| endpoint | property | `DataEndpointConfig`
|
|
557
|
-
| input | property | `
|
|
558
|
-
| node | property | `UiNode \| undefined`
|
|
559
|
-
| operation | property | `BindingOperationRef`
|
|
553
|
+
| Name | Kind | Type | Required | Description |
|
|
554
|
+
| --------- | -------- | --------------------------------------------------------------- | -------- | ----------- |
|
|
555
|
+
| api | property | `ApiDefinition` | yes | |
|
|
556
|
+
| endpoint | property | `DataEndpointConfig` | yes | |
|
|
557
|
+
| input | property | `import("@ankhorage/contracts").SerializableValue \| undefined` | no | |
|
|
558
|
+
| node | property | `UiNode \| undefined` | no | |
|
|
559
|
+
| operation | property | `BindingOperationRef` | yes | |
|
|
560
560
|
|
|
561
561
|
## RuntimeBindingOperationExecutionResult
|
|
562
562
|
|
|
@@ -596,17 +596,17 @@ Source: `src/runtimeBindings.ts:66:1`
|
|
|
596
596
|
|
|
597
597
|
### Members
|
|
598
598
|
|
|
599
|
-
| Name | Kind | Type
|
|
600
|
-
| ---------------- | -------- |
|
|
601
|
-
| apis | property | `
|
|
602
|
-
| context | property | `Record<string, unknown> \| undefined`
|
|
603
|
-
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts").ComponentDataBinding>> \| undefined`
|
|
604
|
-
| event | property | `ComponentEventDto<string, object> \| undefined`
|
|
605
|
-
| executeOperation | property | `RuntimeBindingOperationExecutor \| undefined`
|
|
606
|
-
| node | property | `UiNode`
|
|
607
|
-
| operationResults | property | `Readonly<Record<string,
|
|
608
|
-
| props | property | `Record<string, unknown>`
|
|
609
|
-
| stateAdapter | property | `StateAdapter \| undefined`
|
|
599
|
+
| Name | Kind | Type | Required | Description |
|
|
600
|
+
| ---------------- | -------- | ------------------------------------------------------------------------------------------------------ | -------- | ----------- |
|
|
601
|
+
| apis | property | `Readonly<Record<string, ApiDefinition>> \| undefined` | no | |
|
|
602
|
+
| context | property | `Record<string, unknown> \| undefined` | no | |
|
|
603
|
+
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts").ComponentDataBinding>> \| undefined` | no | |
|
|
604
|
+
| event | property | `ComponentEventDto<string, object> \| undefined` | no | |
|
|
605
|
+
| executeOperation | property | `RuntimeBindingOperationExecutor \| undefined` | no | |
|
|
606
|
+
| node | property | `UiNode` | yes | |
|
|
607
|
+
| operationResults | property | `Readonly<Record<string, import("@ankhorage/contracts").SerializableValue \| undefined>> \| undefined` | no | |
|
|
608
|
+
| props | property | `Record<string, unknown>` | yes | |
|
|
609
|
+
| stateAdapter | property | `StateAdapter \| undefined` | no | |
|
|
610
610
|
|
|
611
611
|
## RuntimeBindingResolutionContext
|
|
612
612
|
|
|
@@ -616,15 +616,15 @@ Source: `src/runtimeBindings.ts:56:1`
|
|
|
616
616
|
|
|
617
617
|
### Members
|
|
618
618
|
|
|
619
|
-
| Name | Kind | Type
|
|
620
|
-
| ---------------- | -------- |
|
|
621
|
-
| apis | property | `
|
|
622
|
-
| context | property | `Record<string, unknown> \| undefined`
|
|
623
|
-
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts").ComponentDataBinding>> \| undefined`
|
|
624
|
-
| event | property | `ComponentEventDto<string, object> \| undefined`
|
|
625
|
-
| executeOperation | property | `RuntimeBindingOperationExecutor \| undefined`
|
|
626
|
-
| operationResults | property | `Readonly<Record<string,
|
|
627
|
-
| stateAdapter | property | `StateAdapter \| undefined`
|
|
619
|
+
| Name | Kind | Type | Required | Description |
|
|
620
|
+
| ---------------- | -------- | ------------------------------------------------------------------------------------------------------ | -------- | ----------- |
|
|
621
|
+
| apis | property | `Readonly<Record<string, ApiDefinition>> \| undefined` | no | |
|
|
622
|
+
| context | property | `Record<string, unknown> \| undefined` | no | |
|
|
623
|
+
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts").ComponentDataBinding>> \| undefined` | no | |
|
|
624
|
+
| event | property | `ComponentEventDto<string, object> \| undefined` | no | |
|
|
625
|
+
| executeOperation | property | `RuntimeBindingOperationExecutor \| undefined` | no | |
|
|
626
|
+
| operationResults | property | `Readonly<Record<string, import("@ankhorage/contracts").SerializableValue \| undefined>> \| undefined` | no | |
|
|
627
|
+
| stateAdapter | property | `StateAdapter \| undefined` | no | |
|
|
628
628
|
|
|
629
629
|
## RuntimeBindingResolutionResult
|
|
630
630
|
|
|
@@ -653,20 +653,20 @@ Source: `src/runtimeActionRegistry.ts:49:1`
|
|
|
653
653
|
|
|
654
654
|
### Members
|
|
655
655
|
|
|
656
|
-
| Name | Kind | Type
|
|
657
|
-
| ----------------------- | -------- |
|
|
658
|
-
| apis | property | `
|
|
659
|
-
| context | property | `Record<string, unknown> \| undefined`
|
|
660
|
-
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts").ComponentDataBinding>> \| undefined`
|
|
661
|
-
| event | property | `ComponentEventDto<string, object>`
|
|
662
|
-
| eventName | property | `string \| undefined`
|
|
663
|
-
| eventOperationLifecycle | property | `RuntimeEventOperationLifecycle \| undefined`
|
|
664
|
-
| executeAction | property | `RuntimeActionHandler \| undefined`
|
|
665
|
-
| executeOperation | property | `RuntimeBindingOperationExecutor \| undefined`
|
|
666
|
-
| node | property | `UiNode`
|
|
667
|
-
| operationResults | property | `Readonly<Record<string,
|
|
668
|
-
| state | property | `Record<string, unknown> \| undefined`
|
|
669
|
-
| writeOperationResult | property | `RuntimeBindingOperationResultWriter \| undefined`
|
|
656
|
+
| Name | Kind | Type | Required | Description |
|
|
657
|
+
| ----------------------- | -------- | ------------------------------------------------------------------------------------------------------ | -------- | ----------- |
|
|
658
|
+
| apis | property | `Readonly<Record<string, import("@ankhorage/contracts").ApiDefinition>> \| undefined` | no | |
|
|
659
|
+
| context | property | `Record<string, unknown> \| undefined` | no | |
|
|
660
|
+
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts").ComponentDataBinding>> \| undefined` | no | |
|
|
661
|
+
| event | property | `ComponentEventDto<string, object>` | yes | |
|
|
662
|
+
| eventName | property | `string \| undefined` | no | |
|
|
663
|
+
| eventOperationLifecycle | property | `RuntimeEventOperationLifecycle \| undefined` | no | |
|
|
664
|
+
| executeAction | property | `RuntimeActionHandler \| undefined` | no | |
|
|
665
|
+
| executeOperation | property | `RuntimeBindingOperationExecutor \| undefined` | no | |
|
|
666
|
+
| node | property | `UiNode` | yes | |
|
|
667
|
+
| operationResults | property | `Readonly<Record<string, import("@ankhorage/contracts").SerializableValue \| undefined>> \| undefined` | no | |
|
|
668
|
+
| state | property | `Record<string, unknown> \| undefined` | no | |
|
|
669
|
+
| writeOperationResult | property | `RuntimeBindingOperationResultWriter \| undefined` | no | |
|
|
670
670
|
|
|
671
671
|
## RuntimeDbPersistError
|
|
672
672
|
|
|
@@ -783,16 +783,16 @@ Source: `src/runtimeActionRegistry.ts:61:1`
|
|
|
783
783
|
|
|
784
784
|
### Members
|
|
785
785
|
|
|
786
|
-
| Name | Kind | Type
|
|
787
|
-
| ---------------------- | -------- |
|
|
788
|
-
| context | property | `Record<string, unknown> \| undefined`
|
|
789
|
-
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts").ComponentDataBinding>> \| undefined`
|
|
790
|
-
| disableActions | property | `boolean`
|
|
791
|
-
| dispatchComponentEvent | property | `(args: RuntimeComponentEventDispatchArgs) => Promise<void> \| void`
|
|
792
|
-
| node | property | `UiNode`
|
|
793
|
-
| operationResults | property | `Readonly<Record<string,
|
|
794
|
-
| props | property | `Record<string, unknown>`
|
|
795
|
-
| state | property | `Record<string, unknown> \| undefined`
|
|
786
|
+
| Name | Kind | Type | Required | Description |
|
|
787
|
+
| ---------------------- | -------- | ------------------------------------------------------------------------------------------------------ | -------- | ----------- |
|
|
788
|
+
| context | property | `Record<string, unknown> \| undefined` | no | |
|
|
789
|
+
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts").ComponentDataBinding>> \| undefined` | no | |
|
|
790
|
+
| disableActions | property | `boolean` | yes | |
|
|
791
|
+
| dispatchComponentEvent | property | `(args: RuntimeComponentEventDispatchArgs) => Promise<void> \| void` | yes | |
|
|
792
|
+
| node | property | `UiNode` | yes | |
|
|
793
|
+
| operationResults | property | `Readonly<Record<string, import("@ankhorage/contracts").SerializableValue \| undefined>> \| undefined` | no | |
|
|
794
|
+
| props | property | `Record<string, unknown>` | yes | |
|
|
795
|
+
| state | property | `Record<string, unknown> \| undefined` | no | |
|
|
796
796
|
|
|
797
797
|
## RuntimeManifest
|
|
798
798
|
|
|
@@ -868,9 +868,9 @@ Source: `src/runtimeStateAdapter.ts:14:1`
|
|
|
868
868
|
|
|
869
869
|
### Members
|
|
870
870
|
|
|
871
|
-
| Name | Kind | Type
|
|
872
|
-
| ------------ | -------- |
|
|
873
|
-
| initialState | property | `Readonly<Record<string,
|
|
871
|
+
| Name | Kind | Type | Required | Description |
|
|
872
|
+
| ------------ | -------- | ----------------------------------------------------------------------------------------- | -------- | ----------- |
|
|
873
|
+
| initialState | property | `Readonly<Record<string, import("@ankhorage/contracts").SerializableValue>> \| undefined` | no | |
|
|
874
874
|
|
|
875
875
|
## RuntimeNodePropsResolver
|
|
876
876
|
|
|
@@ -898,28 +898,28 @@ Source: `src/RuntimeRendererConfig.tsx:51:1`
|
|
|
898
898
|
|
|
899
899
|
### Members
|
|
900
900
|
|
|
901
|
-
| Name | Kind | Type
|
|
902
|
-
| ----------------------- | -------- |
|
|
903
|
-
| actionHandlers | property | `RuntimeActionHandlers \| undefined`
|
|
904
|
-
| apis | property | `
|
|
905
|
-
| bindingContext | property | `Record<string, unknown> \| undefined`
|
|
906
|
-
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts").ComponentDataBinding>> \| undefined`
|
|
907
|
-
| dbAdapter | property | `DbAdapter \| undefined`
|
|
908
|
-
| dbRealtimeAdapter | property | `DbRealtimeAdapter \| undefined`
|
|
909
|
-
| disableActions | property | `boolean \| undefined`
|
|
910
|
-
| eventOperationLifecycle | property | `RuntimeEventOperationLifecycle \| undefined`
|
|
911
|
-
| eventOperationState | property | `RuntimeEventOperationState \| undefined`
|
|
912
|
-
| executeAction | property | `RuntimeActionHandler \| undefined`
|
|
913
|
-
| executeOperation | property | `RuntimeBindingOperationExecutor \| undefined`
|
|
914
|
-
| mediaAssets | property | `Readonly<Record<string, import("@ankhorage/contracts").MediaAsset>> \| undefined`
|
|
915
|
-
| onDiagnostics | property | `((diagnostics: readonly DataSourceDiagnostic[]) => void) \| undefined`
|
|
916
|
-
| operationResults | property | `Readonly<Record<string, import("@ankhorage/contracts").
|
|
917
|
-
| registry | property | `Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> \| undefined`
|
|
918
|
-
| resolveMediaAsset | property | `RuntimeMediaAssetResolver \| undefined`
|
|
919
|
-
| resolveNodeProps | property | `RuntimeNodePropsResolver \| undefined`
|
|
920
|
-
| stateAdapter | property | `StateAdapter \| undefined`
|
|
921
|
-
| wrapNode | property | `((args: RuntimeRendererWrapArgs) => React.ReactNode) \| undefined`
|
|
922
|
-
| writeOperationResult | property | `RuntimeBindingOperationResultWriter \| undefined`
|
|
901
|
+
| Name | Kind | Type | Required | Description |
|
|
902
|
+
| ----------------------- | -------- | ------------------------------------------------------------------------------------------------------ | -------- | ----------- |
|
|
903
|
+
| actionHandlers | property | `RuntimeActionHandlers \| undefined` | no | |
|
|
904
|
+
| apis | property | `Readonly<Record<string, import("@ankhorage/contracts").ApiDefinition>> \| undefined` | no | |
|
|
905
|
+
| bindingContext | property | `Record<string, unknown> \| undefined` | no | |
|
|
906
|
+
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts").ComponentDataBinding>> \| undefined` | no | |
|
|
907
|
+
| dbAdapter | property | `DbAdapter \| undefined` | no | |
|
|
908
|
+
| dbRealtimeAdapter | property | `DbRealtimeAdapter \| undefined` | no | |
|
|
909
|
+
| disableActions | property | `boolean \| undefined` | no | |
|
|
910
|
+
| eventOperationLifecycle | property | `RuntimeEventOperationLifecycle \| undefined` | no | |
|
|
911
|
+
| eventOperationState | property | `RuntimeEventOperationState \| undefined` | no | |
|
|
912
|
+
| executeAction | property | `RuntimeActionHandler \| undefined` | no | |
|
|
913
|
+
| executeOperation | property | `RuntimeBindingOperationExecutor \| undefined` | no | |
|
|
914
|
+
| mediaAssets | property | `Readonly<Record<string, import("@ankhorage/contracts").MediaAsset>> \| undefined` | no | |
|
|
915
|
+
| onDiagnostics | property | `((diagnostics: readonly DataSourceDiagnostic[]) => void) \| undefined` | no | |
|
|
916
|
+
| operationResults | property | `Readonly<Record<string, import("@ankhorage/contracts").SerializableValue \| undefined>> \| undefined` | no | |
|
|
917
|
+
| registry | property | `Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> \| undefined` | no | |
|
|
918
|
+
| resolveMediaAsset | property | `RuntimeMediaAssetResolver \| undefined` | no | |
|
|
919
|
+
| resolveNodeProps | property | `RuntimeNodePropsResolver \| undefined` | no | |
|
|
920
|
+
| stateAdapter | property | `StateAdapter \| undefined` | no | |
|
|
921
|
+
| wrapNode | property | `((args: RuntimeRendererWrapArgs) => React.ReactNode) \| undefined` | no | |
|
|
922
|
+
| writeOperationResult | property | `RuntimeBindingOperationResultWriter \| undefined` | no | |
|
|
923
923
|
|
|
924
924
|
## RuntimeRendererConfigProvider
|
|
925
925
|
|
|
@@ -941,25 +941,25 @@ Source: `src/RuntimeRenderer.tsx:61:1`
|
|
|
941
941
|
|
|
942
942
|
### Members
|
|
943
943
|
|
|
944
|
-
| Name | Kind | Type
|
|
945
|
-
| ----------------- | -------- |
|
|
946
|
-
| apis | property | `
|
|
947
|
-
| bindingContext | property | `Record<string, unknown> \| undefined`
|
|
948
|
-
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts").ComponentDataBinding>> \| undefined`
|
|
949
|
-
| dbAdapter | property | `DbAdapter \| undefined`
|
|
950
|
-
| dbRealtimeAdapter | property | `DbRealtimeAdapter \| undefined`
|
|
951
|
-
| disableActions | property | `boolean \| undefined`
|
|
952
|
-
| executeAction | property | `import("./RuntimeRendererConfig").RuntimeActionHandler \| undefined`
|
|
953
|
-
| executeOperation | property | `RuntimeBindingOperationExecutor \| undefined`
|
|
954
|
-
| isRoot | property | `boolean \| undefined`
|
|
955
|
-
| mediaAssets | property | `Readonly<Record<string, import("@ankhorage/contracts").MediaAsset>> \| undefined`
|
|
956
|
-
| node | property | `UiNode`
|
|
957
|
-
| onDiagnostics | property | `((diagnostics: readonly DataSourceDiagnostic[]) => void) \| undefined`
|
|
958
|
-
| operationResults | property | `Readonly<Record<string,
|
|
959
|
-
| registry | property | `Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> \| undefined`
|
|
960
|
-
| resolveMediaAsset | property | `RuntimeMediaAssetResolver \| undefined`
|
|
961
|
-
| stateAdapter | property | `StateAdapter \| undefined`
|
|
962
|
-
| wrapNode | property | `((args: RuntimeRendererWrapArgs) => React.ReactNode) \| undefined`
|
|
944
|
+
| Name | Kind | Type | Required | Description |
|
|
945
|
+
| ----------------- | -------- | ------------------------------------------------------------------------------------------------------ | -------- | ----------- |
|
|
946
|
+
| apis | property | `Readonly<Record<string, import("@ankhorage/contracts").ApiDefinition>> \| undefined` | no | |
|
|
947
|
+
| bindingContext | property | `Record<string, unknown> \| undefined` | no | |
|
|
948
|
+
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts").ComponentDataBinding>> \| undefined` | no | |
|
|
949
|
+
| dbAdapter | property | `DbAdapter \| undefined` | no | |
|
|
950
|
+
| dbRealtimeAdapter | property | `DbRealtimeAdapter \| undefined` | no | |
|
|
951
|
+
| disableActions | property | `boolean \| undefined` | no | |
|
|
952
|
+
| executeAction | property | `import("./RuntimeRendererConfig").RuntimeActionHandler \| undefined` | no | |
|
|
953
|
+
| executeOperation | property | `RuntimeBindingOperationExecutor \| undefined` | no | |
|
|
954
|
+
| isRoot | property | `boolean \| undefined` | no | |
|
|
955
|
+
| mediaAssets | property | `Readonly<Record<string, import("@ankhorage/contracts").MediaAsset>> \| undefined` | no | |
|
|
956
|
+
| node | property | `UiNode` | yes | |
|
|
957
|
+
| onDiagnostics | property | `((diagnostics: readonly DataSourceDiagnostic[]) => void) \| undefined` | no | |
|
|
958
|
+
| operationResults | property | `Readonly<Record<string, import("@ankhorage/contracts").SerializableValue \| undefined>> \| undefined` | no | |
|
|
959
|
+
| registry | property | `Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> \| undefined` | no | |
|
|
960
|
+
| resolveMediaAsset | property | `RuntimeMediaAssetResolver \| undefined` | no | |
|
|
961
|
+
| stateAdapter | property | `StateAdapter \| undefined` | no | |
|
|
962
|
+
| wrapNode | property | `((args: RuntimeRendererWrapArgs) => React.ReactNode) \| undefined` | no | |
|
|
963
963
|
|
|
964
964
|
## RuntimeRendererWrapArgs
|
|
965
965
|
|
|
@@ -1014,11 +1014,11 @@ Source: `src/runtimeScreenLoaders.ts:25:1`
|
|
|
1014
1014
|
|
|
1015
1015
|
### Members
|
|
1016
1016
|
|
|
1017
|
-
| Name | Kind | Type
|
|
1018
|
-
| ---------------- | -------- |
|
|
1019
|
-
| dependencyKey | property | `string`
|
|
1020
|
-
| diagnostics | property | `readonly DataSourceDiagnostic[]`
|
|
1021
|
-
| operationResults | property | `Readonly<Record<string,
|
|
1017
|
+
| Name | Kind | Type | Required | Description |
|
|
1018
|
+
| ---------------- | -------- | ----------------------------------------------------------------------------------------- | -------- | ----------- |
|
|
1019
|
+
| dependencyKey | property | `string` | yes | |
|
|
1020
|
+
| diagnostics | property | `readonly DataSourceDiagnostic[]` | yes | |
|
|
1021
|
+
| operationResults | property | `Readonly<Record<string, import("@ankhorage/contracts").SerializableValue \| undefined>>` | yes | |
|
|
1022
1022
|
|
|
1023
1023
|
## RuntimeScreenOperationLoaderState
|
|
1024
1024
|
|
|
@@ -1028,12 +1028,12 @@ Source: `src/runtimeScreenLoaders.ts:18:1`
|
|
|
1028
1028
|
|
|
1029
1029
|
### Members
|
|
1030
1030
|
|
|
1031
|
-
| Name | Kind | Type
|
|
1032
|
-
| ---------------- | -------- |
|
|
1033
|
-
| dependencyKey | property | `string`
|
|
1034
|
-
| diagnostics | property | `readonly DataSourceDiagnostic[]`
|
|
1035
|
-
| operationResults | property | `Readonly<Record<string,
|
|
1036
|
-
| renderVersion | property | `number`
|
|
1031
|
+
| Name | Kind | Type | Required | Description |
|
|
1032
|
+
| ---------------- | -------- | ----------------------------------------------------------------------------------------- | -------- | ----------- |
|
|
1033
|
+
| dependencyKey | property | `string` | yes | |
|
|
1034
|
+
| diagnostics | property | `readonly DataSourceDiagnostic[]` | yes | |
|
|
1035
|
+
| operationResults | property | `Readonly<Record<string, import("@ankhorage/contracts").SerializableValue \| undefined>>` | yes | |
|
|
1036
|
+
| renderVersion | property | `number` | yes | |
|
|
1037
1037
|
|
|
1038
1038
|
## RuntimeScreenProps
|
|
1039
1039
|
|
|
@@ -1122,12 +1122,12 @@ Source: `src/runtimeScreenLoaders.ts:273:1`
|
|
|
1122
1122
|
|
|
1123
1123
|
Kind: `function`
|
|
1124
1124
|
Module: `src/runtimeApiSelection.ts`
|
|
1125
|
-
Source: `src/runtimeApiSelection.ts:
|
|
1125
|
+
Source: `src/runtimeApiSelection.ts:15:1`
|
|
1126
1126
|
|
|
1127
1127
|
### Signatures
|
|
1128
1128
|
|
|
1129
|
-
- `(operation: BindingOperationRef, apis:
|
|
1130
|
-
- apis: `
|
|
1129
|
+
- `(operation: BindingOperationRef, apis: Readonly<Record<string, ApiDefinition>> | undefined) => readonly DataSourceDiagnostic[]`
|
|
1130
|
+
- apis: `Readonly<Record<string, ApiDefinition>> | undefined`
|
|
1131
1131
|
- operation: `BindingOperationRef`
|
|
1132
1132
|
- returns: `readonly DataSourceDiagnostic[]`
|
|
1133
1133
|
|