@ankhorage/runtime 1.1.0 → 2.1.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 +12 -0
- package/README.md +1 -1
- package/dist/RuntimeRenderer.d.ts +2 -2
- package/dist/RuntimeRenderer.d.ts.map +1 -1
- package/dist/RuntimeRenderer.js +10 -10
- 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 +1 -1
- package/dist/RuntimeRendererConfig.js.map +1 -1
- package/dist/RuntimeScreen.d.ts.map +1 -1
- package/dist/RuntimeScreen.js +3 -2
- package/dist/RuntimeScreen.js.map +1 -1
- package/dist/bindings.d.ts +7 -0
- package/dist/bindings.d.ts.map +1 -0
- package/dist/bindings.js +4 -0
- package/dist/bindings.js.map +1 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/runtimeActionRegistry.d.ts +3 -3
- package/dist/runtimeActionRegistry.d.ts.map +1 -1
- package/dist/runtimeActionRegistry.js +9 -24
- package/dist/runtimeActionRegistry.js.map +1 -1
- package/dist/runtimeApiOperations.d.ts +8 -0
- package/dist/runtimeApiOperations.d.ts.map +1 -0
- package/dist/runtimeApiOperations.js +38 -0
- package/dist/runtimeApiOperations.js.map +1 -0
- package/dist/runtimeApiSelection.d.ts +8 -0
- package/dist/runtimeApiSelection.d.ts.map +1 -0
- package/dist/runtimeApiSelection.js +50 -0
- package/dist/runtimeApiSelection.js.map +1 -0
- package/dist/runtimeBindings.d.ts +4 -9
- package/dist/runtimeBindings.d.ts.map +1 -1
- package/dist/runtimeBindings.js +13 -73
- 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 +1 -1
- package/dist/runtimeNodeProps.js.map +1 -1
- package/dist/runtimeRepeat.d.ts.map +1 -1
- package/dist/runtimeRepeat.js +9 -8
- package/dist/runtimeRepeat.js.map +1 -1
- package/dist/runtimeScreenLoaders.d.ts +2 -2
- package/dist/runtimeScreenLoaders.d.ts.map +1 -1
- package/dist/runtimeScreenLoaders.js +8 -7
- package/dist/runtimeScreenLoaders.js.map +1 -1
- package/package.json +10 -6
- package/paradox/badges/npm.svg +3 -3
- package/paradox/components.md +1 -1
- package/paradox/diagrams/architecture-overview.mmd +34 -18
- package/paradox/diagrams/export-graph.mmd +18 -12
- package/paradox/diagrams/module-relationships.mmd +25 -13
- package/paradox/diagrams/sequences/validate-runtime-binding-operation-ref.mmd +9 -6
- package/paradox/exports.json +155 -132
- package/paradox/exports.md +85 -73
- package/paradox/index.html +955 -904
- package/paradox/paradox.json +1149 -1357
- package/dist/runtimeDataSourceOperations.d.ts +0 -10
- package/dist/runtimeDataSourceOperations.d.ts.map +0 -1
- package/dist/runtimeDataSourceOperations.js +0 -63
- package/dist/runtimeDataSourceOperations.js.map +0 -1
- package/dist/runtimeDatabaseOperationExecutor.d.ts +0 -9
- package/dist/runtimeDatabaseOperationExecutor.d.ts.map +0 -1
- package/dist/runtimeDatabaseOperationExecutor.js +0 -228
- package/dist/runtimeDatabaseOperationExecutor.js.map +0 -1
package/paradox/exports.md
CHANGED
|
@@ -36,7 +36,7 @@ Source: `src/RuntimeRendererConfig.tsx:77:1`
|
|
|
36
36
|
|
|
37
37
|
Kind: `function`
|
|
38
38
|
Module: `src/runtimeActionRegistry.ts`
|
|
39
|
-
Source: `src/runtimeActionRegistry.ts:
|
|
39
|
+
Source: `src/runtimeActionRegistry.ts:216:1`
|
|
40
40
|
|
|
41
41
|
### Signatures
|
|
42
42
|
|
|
@@ -96,37 +96,37 @@ Source: `src/runtimeScreenLoaders.ts:82:1`
|
|
|
96
96
|
|
|
97
97
|
Kind: `function`
|
|
98
98
|
Module: `src/runtimeActionRegistry.ts`
|
|
99
|
-
Source: `src/runtimeActionRegistry.ts:
|
|
99
|
+
Source: `src/runtimeActionRegistry.ts:66:1`
|
|
100
100
|
|
|
101
101
|
### Signatures
|
|
102
102
|
|
|
103
|
-
- `(options?: { actionHandlers?: RuntimeActionHandlers;
|
|
104
|
-
- options: `{ actionHandlers?: RuntimeActionHandlers;
|
|
103
|
+
- `(options?: { actionHandlers?: RuntimeActionHandlers; apis?: ApiDefinitionList; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }) => RuntimeActionRegistry`
|
|
104
|
+
- options: `{ actionHandlers?: RuntimeActionHandlers; apis?: ApiDefinitionList; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }` (optional)
|
|
105
105
|
- returns: `RuntimeActionRegistry`
|
|
106
106
|
|
|
107
|
-
##
|
|
107
|
+
## createRuntimeApiOperationExecutor
|
|
108
108
|
|
|
109
109
|
Kind: `function`
|
|
110
|
-
Module: `src/
|
|
111
|
-
Source: `src/
|
|
110
|
+
Module: `src/runtimeApiOperations.ts`
|
|
111
|
+
Source: `src/runtimeApiOperations.ts:12:1`
|
|
112
112
|
|
|
113
113
|
### Signatures
|
|
114
114
|
|
|
115
|
-
- `(
|
|
116
|
-
-
|
|
117
|
-
- returns: `
|
|
115
|
+
- `(options: RuntimeApiOperationExecutorOptions) => RuntimeBindingOperationExecutor`
|
|
116
|
+
- options: `RuntimeApiOperationExecutorOptions`
|
|
117
|
+
- returns: `RuntimeBindingOperationExecutor`
|
|
118
118
|
|
|
119
|
-
##
|
|
119
|
+
## createRuntimeBindingOperationKey
|
|
120
120
|
|
|
121
121
|
Kind: `function`
|
|
122
|
-
Module: `src/
|
|
123
|
-
Source: `src/
|
|
122
|
+
Module: `src/runtimeBindings.ts`
|
|
123
|
+
Source: `src/runtimeBindings.ts:165:1`
|
|
124
124
|
|
|
125
125
|
### Signatures
|
|
126
126
|
|
|
127
|
-
- `(
|
|
128
|
-
-
|
|
129
|
-
- returns: `
|
|
127
|
+
- `(operation: BindingOperationRef) => string`
|
|
128
|
+
- operation: `BindingOperationRef`
|
|
129
|
+
- returns: `string`
|
|
130
130
|
|
|
131
131
|
## createRuntimeMemoryStateAdapter
|
|
132
132
|
|
|
@@ -156,7 +156,7 @@ Source: `src/runtimeScreenLoaders.ts:49:1`
|
|
|
156
156
|
|
|
157
157
|
Kind: `function`
|
|
158
158
|
Module: `src/runtimeActionRegistry.ts`
|
|
159
|
-
Source: `src/runtimeActionRegistry.ts:
|
|
159
|
+
Source: `src/runtimeActionRegistry.ts:102:1`
|
|
160
160
|
|
|
161
161
|
### Signatures
|
|
162
162
|
|
|
@@ -196,8 +196,8 @@ Source: `src/runtimeScreenLoaders.ts:178:1`
|
|
|
196
196
|
|
|
197
197
|
### Signatures
|
|
198
198
|
|
|
199
|
-
- `(args: { readonly bindingContext?: Record<string, unknown>; readonly
|
|
200
|
-
- args: `{ readonly bindingContext?: Record<string, unknown>; readonly
|
|
199
|
+
- `(args: { readonly bindingContext?: Record<string, unknown>; readonly apis?: RuntimeBindingResolutionContext["apis"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }) => Promise<RuntimeScreenOperationLoaderExecutionResult>`
|
|
200
|
+
- args: `{ readonly bindingContext?: Record<string, unknown>; readonly apis?: RuntimeBindingResolutionContext["apis"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }`
|
|
201
201
|
- returns: `Promise<RuntimeScreenOperationLoaderExecutionResult>`
|
|
202
202
|
|
|
203
203
|
## ManifestContext
|
|
@@ -235,7 +235,7 @@ Source: `src/RuntimeRendererConfig.tsx:110:1`
|
|
|
235
235
|
|
|
236
236
|
Kind: `function`
|
|
237
237
|
Module: `src/runtimeBindings.ts`
|
|
238
|
-
Source: `src/runtimeBindings.ts:
|
|
238
|
+
Source: `src/runtimeBindings.ts:131:1`
|
|
239
239
|
|
|
240
240
|
### Signatures
|
|
241
241
|
|
|
@@ -261,7 +261,7 @@ Source: `src/runtimeDbPersist.ts:68:1`
|
|
|
261
261
|
|
|
262
262
|
Kind: `function`
|
|
263
263
|
Module: `src/runtimeActionRegistry.ts`
|
|
264
|
-
Source: `src/runtimeActionRegistry.ts:
|
|
264
|
+
Source: `src/runtimeActionRegistry.ts:230:1`
|
|
265
265
|
|
|
266
266
|
### Signatures
|
|
267
267
|
|
|
@@ -274,7 +274,7 @@ Source: `src/runtimeActionRegistry.ts:231:1`
|
|
|
274
274
|
|
|
275
275
|
Kind: `function`
|
|
276
276
|
Module: `src/runtimeActionRegistry.ts`
|
|
277
|
-
Source: `src/runtimeActionRegistry.ts:
|
|
277
|
+
Source: `src/runtimeActionRegistry.ts:241:1`
|
|
278
278
|
|
|
279
279
|
### Signatures
|
|
280
280
|
|
|
@@ -287,7 +287,7 @@ Source: `src/runtimeActionRegistry.ts:242:1`
|
|
|
287
287
|
|
|
288
288
|
Kind: `function`
|
|
289
289
|
Module: `src/runtimeBindings.ts`
|
|
290
|
-
Source: `src/runtimeBindings.ts:
|
|
290
|
+
Source: `src/runtimeBindings.ts:91:1`
|
|
291
291
|
|
|
292
292
|
### Signatures
|
|
293
293
|
|
|
@@ -299,7 +299,7 @@ Source: `src/runtimeBindings.ts:89:1`
|
|
|
299
299
|
|
|
300
300
|
Kind: `function`
|
|
301
301
|
Module: `src/runtimeBindings.ts`
|
|
302
|
-
Source: `src/runtimeBindings.ts:
|
|
302
|
+
Source: `src/runtimeBindings.ts:76:1`
|
|
303
303
|
|
|
304
304
|
### Signatures
|
|
305
305
|
|
|
@@ -311,7 +311,7 @@ Source: `src/runtimeBindings.ts:74:1`
|
|
|
311
311
|
|
|
312
312
|
Kind: `function`
|
|
313
313
|
Module: `src/runtimeBindings.ts`
|
|
314
|
-
Source: `src/runtimeBindings.ts:
|
|
314
|
+
Source: `src/runtimeBindings.ts:105:1`
|
|
315
315
|
|
|
316
316
|
### Signatures
|
|
317
317
|
|
|
@@ -325,7 +325,7 @@ Source: `src/runtimeBindings.ts:103:1`
|
|
|
325
325
|
|
|
326
326
|
Kind: `function`
|
|
327
327
|
Module: `src/runtimeBindings.ts`
|
|
328
|
-
Source: `src/runtimeBindings.ts:
|
|
328
|
+
Source: `src/runtimeBindings.ts:118:1`
|
|
329
329
|
|
|
330
330
|
### Signatures
|
|
331
331
|
|
|
@@ -405,7 +405,7 @@ Source: `src/RuntimeRendererConfig.tsx:47:1`
|
|
|
405
405
|
|
|
406
406
|
Kind: `type`
|
|
407
407
|
Module: `src/runtimeActionRegistry.ts`
|
|
408
|
-
Source: `src/runtimeActionRegistry.ts:
|
|
408
|
+
Source: `src/runtimeActionRegistry.ts:30:1`
|
|
409
409
|
|
|
410
410
|
### Members
|
|
411
411
|
|
|
@@ -418,7 +418,7 @@ Source: `src/runtimeActionRegistry.ts:31:1`
|
|
|
418
418
|
|
|
419
419
|
Kind: `type`
|
|
420
420
|
Module: `src/runtimeActionRegistry.ts`
|
|
421
|
-
Source: `src/runtimeActionRegistry.ts:
|
|
421
|
+
Source: `src/runtimeActionRegistry.ts:41:1`
|
|
422
422
|
|
|
423
423
|
### Members
|
|
424
424
|
|
|
@@ -433,7 +433,7 @@ Source: `src/runtimeActionRegistry.ts:42:1`
|
|
|
433
433
|
|
|
434
434
|
Kind: `type`
|
|
435
435
|
Module: `src/runtimeActionRegistry.ts`
|
|
436
|
-
Source: `src/runtimeActionRegistry.ts:
|
|
436
|
+
Source: `src/runtimeActionRegistry.ts:35:1`
|
|
437
437
|
|
|
438
438
|
### Members
|
|
439
439
|
|
|
@@ -457,6 +457,32 @@ Source: `src/runtimeManifest.ts:39:1`
|
|
|
457
457
|
| kind | property | `string` | yes | |
|
|
458
458
|
| options | property | `Options \| undefined` | no | |
|
|
459
459
|
|
|
460
|
+
## RuntimeApiOperationExecutorOptions
|
|
461
|
+
|
|
462
|
+
Kind: `type`
|
|
463
|
+
Module: `src/runtimeApiOperations.ts`
|
|
464
|
+
Source: `src/runtimeApiOperations.ts:7:1`
|
|
465
|
+
|
|
466
|
+
### Members
|
|
467
|
+
|
|
468
|
+
| Name | Kind | Type | Required | Description |
|
|
469
|
+
| ------------------ | -------- | --------------------------------------------- | -------- | ----------- |
|
|
470
|
+
| credentialResolver | property | `EndpointTestCredentialResolver \| undefined` | no | |
|
|
471
|
+
| fetch | property | `EndpointTestFetch \| undefined` | no | |
|
|
472
|
+
|
|
473
|
+
## RuntimeApiOperationSelection
|
|
474
|
+
|
|
475
|
+
Kind: `type`
|
|
476
|
+
Module: `src/runtimeApiSelection.ts`
|
|
477
|
+
Source: `src/runtimeApiSelection.ts:9:1`
|
|
478
|
+
|
|
479
|
+
### Members
|
|
480
|
+
|
|
481
|
+
| Name | Kind | Type | Required | Description |
|
|
482
|
+
| -------- | -------- | -------------------- | -------- | ----------- |
|
|
483
|
+
| api | property | `ApiDefinition` | yes | |
|
|
484
|
+
| endpoint | property | `DataEndpointConfig` | yes | |
|
|
485
|
+
|
|
460
486
|
## RuntimeBindingDescriptor
|
|
461
487
|
|
|
462
488
|
Kind: `type`
|
|
@@ -477,61 +503,61 @@ Source: `src/runtimeManifest.ts:31:1`
|
|
|
477
503
|
|
|
478
504
|
Kind: `type`
|
|
479
505
|
Module: `src/runtimeBindings.ts`
|
|
480
|
-
Source: `src/runtimeBindings.ts:
|
|
506
|
+
Source: `src/runtimeBindings.ts:24:1`
|
|
481
507
|
|
|
482
508
|
### Members
|
|
483
509
|
|
|
484
|
-
| Name
|
|
485
|
-
|
|
|
486
|
-
|
|
|
487
|
-
| endpoint
|
|
488
|
-
| input
|
|
489
|
-
| node
|
|
490
|
-
| operation
|
|
510
|
+
| Name | Kind | Type | Required | Description |
|
|
511
|
+
| --------- | -------- | --------------------------- | -------- | ----------- |
|
|
512
|
+
| api | property | `ApiDefinition` | yes | |
|
|
513
|
+
| endpoint | property | `DataEndpointConfig` | yes | |
|
|
514
|
+
| input | property | `BindingValue \| undefined` | no | |
|
|
515
|
+
| node | property | `UiNode \| undefined` | no | |
|
|
516
|
+
| operation | property | `BindingOperationRef` | yes | |
|
|
491
517
|
|
|
492
518
|
## RuntimeBindingOperationExecutionResult
|
|
493
519
|
|
|
494
520
|
Kind: `unknown`
|
|
495
521
|
Module: `src/runtimeBindings.ts`
|
|
496
|
-
Source: `src/runtimeBindings.ts:
|
|
522
|
+
Source: `src/runtimeBindings.ts:32:1`
|
|
497
523
|
|
|
498
524
|
## RuntimeBindingOperationExecutor
|
|
499
525
|
|
|
500
526
|
Kind: `unknown`
|
|
501
527
|
Module: `src/runtimeBindings.ts`
|
|
502
|
-
Source: `src/runtimeBindings.ts:
|
|
528
|
+
Source: `src/runtimeBindings.ts:43:1`
|
|
503
529
|
|
|
504
530
|
## RuntimeBindingOperationKey
|
|
505
531
|
|
|
506
532
|
Kind: `unknown`
|
|
507
533
|
Module: `src/runtimeBindings.ts`
|
|
508
|
-
Source: `src/runtimeBindings.ts:
|
|
534
|
+
Source: `src/runtimeBindings.ts:22:1`
|
|
509
535
|
|
|
510
536
|
## RuntimeBindingOperationResultCache
|
|
511
537
|
|
|
512
538
|
Kind: `unknown`
|
|
513
539
|
Module: `src/runtimeBindings.ts`
|
|
514
|
-
Source: `src/runtimeBindings.ts:
|
|
540
|
+
Source: `src/runtimeBindings.ts:47:1`
|
|
515
541
|
|
|
516
542
|
## RuntimeBindingOperationResultWriter
|
|
517
543
|
|
|
518
544
|
Kind: `unknown`
|
|
519
545
|
Module: `src/runtimeBindings.ts`
|
|
520
|
-
Source: `src/runtimeBindings.ts:
|
|
546
|
+
Source: `src/runtimeBindings.ts:51:1`
|
|
521
547
|
|
|
522
548
|
## RuntimeBindingResolutionArgs
|
|
523
549
|
|
|
524
550
|
Kind: `type`
|
|
525
551
|
Module: `src/runtimeBindings.ts`
|
|
526
|
-
Source: `src/runtimeBindings.ts:
|
|
552
|
+
Source: `src/runtimeBindings.ts:66:1`
|
|
527
553
|
|
|
528
554
|
### Members
|
|
529
555
|
|
|
530
556
|
| Name | Kind | Type | Required | Description |
|
|
531
557
|
| ---------------- | -------- | ---------------------------------------------------------------------------------------------------------- | -------- | ----------- |
|
|
558
|
+
| apis | property | `ApiDefinitionList \| undefined` | no | |
|
|
532
559
|
| context | property | `Record<string, unknown> \| undefined` | no | |
|
|
533
560
|
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts/dist/bindings").ComponentDataBinding>> \| undefined` | no | |
|
|
534
|
-
| dataSources | property | `Readonly<Record<string, DataSourceConfig>> \| undefined` | no | |
|
|
535
561
|
| event | property | `ComponentEventDto<string, object> \| undefined` | no | |
|
|
536
562
|
| executeOperation | property | `RuntimeBindingOperationExecutor \| undefined` | no | |
|
|
537
563
|
| node | property | `UiNode` | yes | |
|
|
@@ -543,15 +569,15 @@ Source: `src/runtimeBindings.ts:64:1`
|
|
|
543
569
|
|
|
544
570
|
Kind: `type`
|
|
545
571
|
Module: `src/runtimeBindings.ts`
|
|
546
|
-
Source: `src/runtimeBindings.ts:
|
|
572
|
+
Source: `src/runtimeBindings.ts:56:1`
|
|
547
573
|
|
|
548
574
|
### Members
|
|
549
575
|
|
|
550
576
|
| Name | Kind | Type | Required | Description |
|
|
551
577
|
| ---------------- | -------- | ---------------------------------------------------------------------------------------------------------- | -------- | ----------- |
|
|
578
|
+
| apis | property | `ApiDefinitionList \| undefined` | no | |
|
|
552
579
|
| context | property | `Record<string, unknown> \| undefined` | no | |
|
|
553
580
|
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts/dist/bindings").ComponentDataBinding>> \| undefined` | no | |
|
|
554
|
-
| dataSources | property | `Readonly<Record<string, DataSourceConfig>> \| undefined` | no | |
|
|
555
581
|
| event | property | `ComponentEventDto<string, object> \| undefined` | no | |
|
|
556
582
|
| executeOperation | property | `RuntimeBindingOperationExecutor \| undefined` | no | |
|
|
557
583
|
| operationResults | property | `Readonly<Record<string, BindingValue \| undefined>> \| undefined` | no | |
|
|
@@ -561,7 +587,7 @@ Source: `src/runtimeBindings.ts:54:1`
|
|
|
561
587
|
|
|
562
588
|
Kind: `type`
|
|
563
589
|
Module: `src/runtimeBindings.ts`
|
|
564
|
-
Source: `src/runtimeBindings.ts:
|
|
590
|
+
Source: `src/runtimeBindings.ts:71:1`
|
|
565
591
|
|
|
566
592
|
### Members
|
|
567
593
|
|
|
@@ -580,15 +606,15 @@ Source: `src/runtimeManifest.ts:10:1`
|
|
|
580
606
|
|
|
581
607
|
Kind: `type`
|
|
582
608
|
Module: `src/runtimeActionRegistry.ts`
|
|
583
|
-
Source: `src/runtimeActionRegistry.ts:
|
|
609
|
+
Source: `src/runtimeActionRegistry.ts:45:1`
|
|
584
610
|
|
|
585
611
|
### Members
|
|
586
612
|
|
|
587
613
|
| Name | Kind | Type | Required | Description |
|
|
588
614
|
| -------------------- | -------- | ---------------------------------------------------------------------------------------------------------- | -------- | ----------- |
|
|
615
|
+
| apis | property | `ApiDefinitionList \| undefined` | no | |
|
|
589
616
|
| context | property | `Record<string, unknown> \| undefined` | no | |
|
|
590
617
|
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts/dist/bindings").ComponentDataBinding>> \| undefined` | no | |
|
|
591
|
-
| dataSources | property | `Readonly<Record<string, DataSourceConfig>> \| undefined` | no | |
|
|
592
618
|
| event | property | `ComponentEventDto<string, object>` | yes | |
|
|
593
619
|
| eventName | property | `string \| undefined` | no | |
|
|
594
620
|
| executeAction | property | `RuntimeActionHandler \| undefined` | no | |
|
|
@@ -598,20 +624,6 @@ Source: `src/runtimeActionRegistry.ts:46:1`
|
|
|
598
624
|
| state | property | `Record<string, unknown> \| undefined` | no | |
|
|
599
625
|
| writeOperationResult | property | `RuntimeBindingOperationResultWriter \| undefined` | no | |
|
|
600
626
|
|
|
601
|
-
## RuntimeDataSourceOperationExecutorOptions
|
|
602
|
-
|
|
603
|
-
Kind: `type`
|
|
604
|
-
Module: `src/runtimeDataSourceOperations.ts`
|
|
605
|
-
Source: `src/runtimeDataSourceOperations.ts:8:1`
|
|
606
|
-
|
|
607
|
-
### Members
|
|
608
|
-
|
|
609
|
-
| Name | Kind | Type | Required | Description |
|
|
610
|
-
| ------------------ | -------- | -------------------------------------------------- | -------- | ----------- |
|
|
611
|
-
| credentialResolver | property | `EndpointTestCredentialResolver \| undefined` | no | |
|
|
612
|
-
| databaseAdapters | property | `Readonly<Record<string, DbAdapter>> \| undefined` | no | |
|
|
613
|
-
| fetch | property | `EndpointTestFetch \| undefined` | no | |
|
|
614
|
-
|
|
615
627
|
## RuntimeDbPersistError
|
|
616
628
|
|
|
617
629
|
Kind: `type`
|
|
@@ -675,7 +687,7 @@ Source: `src/runtimeEventExecution.ts:9:1`
|
|
|
675
687
|
|
|
676
688
|
Kind: `type`
|
|
677
689
|
Module: `src/runtimeActionRegistry.ts`
|
|
678
|
-
Source: `src/runtimeActionRegistry.ts:
|
|
690
|
+
Source: `src/runtimeActionRegistry.ts:56:1`
|
|
679
691
|
|
|
680
692
|
### Members
|
|
681
693
|
|
|
@@ -797,9 +809,9 @@ Source: `src/RuntimeRendererConfig.tsx:50:1`
|
|
|
797
809
|
| Name | Kind | Type | Required | Description |
|
|
798
810
|
| -------------------- | -------- | --------------------------------------------------------------------------------------------------------------- | -------- | ----------- |
|
|
799
811
|
| actionHandlers | property | `RuntimeActionHandlers \| undefined` | no | |
|
|
812
|
+
| apis | property | `ApiDefinitionList \| undefined` | no | |
|
|
800
813
|
| bindingContext | property | `Record<string, unknown> \| undefined` | no | |
|
|
801
814
|
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts/dist/bindings").ComponentDataBinding>> \| undefined` | no | |
|
|
802
|
-
| dataSources | property | `Readonly<Record<string, import("@ankhorage/contracts/dist/index").DataSourceConfig>> \| undefined` | no | |
|
|
803
815
|
| dbAdapter | property | `DbAdapter \| undefined` | no | |
|
|
804
816
|
| dbRealtimeAdapter | property | `DbRealtimeAdapter \| undefined` | no | |
|
|
805
817
|
| disableActions | property | `boolean \| undefined` | no | |
|
|
@@ -837,9 +849,9 @@ Source: `src/RuntimeRenderer.tsx:56:1`
|
|
|
837
849
|
|
|
838
850
|
| Name | Kind | Type | Required | Description |
|
|
839
851
|
| ----------------- | -------- | ---------------------------------------------------------------------------------------------------------- | -------- | ----------- |
|
|
852
|
+
| apis | property | `ApiDefinitionList \| undefined` | no | |
|
|
840
853
|
| bindingContext | property | `Record<string, unknown> \| undefined` | no | |
|
|
841
854
|
| dataBindings | property | `Readonly<Record<string, import("@ankhorage/contracts/dist/bindings").ComponentDataBinding>> \| undefined` | no | |
|
|
842
|
-
| dataSources | property | `Readonly<Record<string, import("@ankhorage/contracts/dist/index").DataSourceConfig>> \| undefined` | no | |
|
|
843
855
|
| dbAdapter | property | `DbAdapter \| undefined` | no | |
|
|
844
856
|
| dbRealtimeAdapter | property | `DbRealtimeAdapter \| undefined` | no | |
|
|
845
857
|
| disableActions | property | `boolean \| undefined` | no | |
|
|
@@ -1008,20 +1020,20 @@ Source: `src/runtimeScreenLoaders.ts:273:1`
|
|
|
1008
1020
|
|
|
1009
1021
|
### Signatures
|
|
1010
1022
|
|
|
1011
|
-
- `(args: { readonly bindingContext?: Record<string, unknown>; readonly
|
|
1012
|
-
- args: `{ readonly bindingContext?: Record<string, unknown>; readonly
|
|
1023
|
+
- `(args: { readonly bindingContext?: Record<string, unknown>; readonly apis?: RuntimeBindingResolutionContext["apis"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }) => RuntimeScreenOperationLoaderState`
|
|
1024
|
+
- args: `{ readonly bindingContext?: Record<string, unknown>; readonly apis?: RuntimeBindingResolutionContext["apis"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }`
|
|
1013
1025
|
- returns: `RuntimeScreenOperationLoaderState`
|
|
1014
1026
|
|
|
1015
1027
|
## validateRuntimeBindingOperationRef
|
|
1016
1028
|
|
|
1017
1029
|
Kind: `function`
|
|
1018
|
-
Module: `src/
|
|
1019
|
-
Source: `src/
|
|
1030
|
+
Module: `src/runtimeApiSelection.ts`
|
|
1031
|
+
Source: `src/runtimeApiSelection.ts:14:1`
|
|
1020
1032
|
|
|
1021
1033
|
### Signatures
|
|
1022
1034
|
|
|
1023
|
-
- `(operation: BindingOperationRef,
|
|
1024
|
-
-
|
|
1035
|
+
- `(operation: BindingOperationRef, apis: ApiDefinitionList | undefined) => readonly DataSourceDiagnostic[]`
|
|
1036
|
+
- apis: `ApiDefinitionList | undefined`
|
|
1025
1037
|
- operation: `BindingOperationRef`
|
|
1026
1038
|
- returns: `readonly DataSourceDiagnostic[]`
|
|
1027
1039
|
|
|
@@ -1029,7 +1041,7 @@ Source: `src/runtimeBindings.ts:169:1`
|
|
|
1029
1041
|
|
|
1030
1042
|
Kind: `function`
|
|
1031
1043
|
Module: `src/runtimeActionRegistry.ts`
|
|
1032
|
-
Source: `src/runtimeActionRegistry.ts:
|
|
1044
|
+
Source: `src/runtimeActionRegistry.ts:179:1`
|
|
1033
1045
|
|
|
1034
1046
|
### Signatures
|
|
1035
1047
|
|