@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.
Files changed (67) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/RuntimeRenderer.d.ts +2 -2
  4. package/dist/RuntimeRenderer.d.ts.map +1 -1
  5. package/dist/RuntimeRenderer.js +10 -10
  6. package/dist/RuntimeRenderer.js.map +1 -1
  7. package/dist/RuntimeRendererConfig.d.ts +2 -2
  8. package/dist/RuntimeRendererConfig.d.ts.map +1 -1
  9. package/dist/RuntimeRendererConfig.js +1 -1
  10. package/dist/RuntimeRendererConfig.js.map +1 -1
  11. package/dist/RuntimeScreen.d.ts.map +1 -1
  12. package/dist/RuntimeScreen.js +3 -2
  13. package/dist/RuntimeScreen.js.map +1 -1
  14. package/dist/bindings.d.ts +7 -0
  15. package/dist/bindings.d.ts.map +1 -0
  16. package/dist/bindings.js +4 -0
  17. package/dist/bindings.js.map +1 -0
  18. package/dist/index.d.ts +5 -3
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +3 -2
  21. package/dist/index.js.map +1 -1
  22. package/dist/runtimeActionRegistry.d.ts +3 -3
  23. package/dist/runtimeActionRegistry.d.ts.map +1 -1
  24. package/dist/runtimeActionRegistry.js +9 -24
  25. package/dist/runtimeActionRegistry.js.map +1 -1
  26. package/dist/runtimeApiOperations.d.ts +8 -0
  27. package/dist/runtimeApiOperations.d.ts.map +1 -0
  28. package/dist/runtimeApiOperations.js +38 -0
  29. package/dist/runtimeApiOperations.js.map +1 -0
  30. package/dist/runtimeApiSelection.d.ts +8 -0
  31. package/dist/runtimeApiSelection.d.ts.map +1 -0
  32. package/dist/runtimeApiSelection.js +50 -0
  33. package/dist/runtimeApiSelection.js.map +1 -0
  34. package/dist/runtimeBindings.d.ts +4 -9
  35. package/dist/runtimeBindings.d.ts.map +1 -1
  36. package/dist/runtimeBindings.js +13 -73
  37. package/dist/runtimeBindings.js.map +1 -1
  38. package/dist/runtimeNodeProps.d.ts +2 -2
  39. package/dist/runtimeNodeProps.d.ts.map +1 -1
  40. package/dist/runtimeNodeProps.js +1 -1
  41. package/dist/runtimeNodeProps.js.map +1 -1
  42. package/dist/runtimeRepeat.d.ts.map +1 -1
  43. package/dist/runtimeRepeat.js +9 -8
  44. package/dist/runtimeRepeat.js.map +1 -1
  45. package/dist/runtimeScreenLoaders.d.ts +2 -2
  46. package/dist/runtimeScreenLoaders.d.ts.map +1 -1
  47. package/dist/runtimeScreenLoaders.js +8 -7
  48. package/dist/runtimeScreenLoaders.js.map +1 -1
  49. package/package.json +10 -6
  50. package/paradox/badges/npm.svg +3 -3
  51. package/paradox/components.md +1 -1
  52. package/paradox/diagrams/architecture-overview.mmd +34 -18
  53. package/paradox/diagrams/export-graph.mmd +18 -12
  54. package/paradox/diagrams/module-relationships.mmd +25 -13
  55. package/paradox/diagrams/sequences/validate-runtime-binding-operation-ref.mmd +9 -6
  56. package/paradox/exports.json +155 -132
  57. package/paradox/exports.md +85 -73
  58. package/paradox/index.html +955 -904
  59. package/paradox/paradox.json +1149 -1357
  60. package/dist/runtimeDataSourceOperations.d.ts +0 -10
  61. package/dist/runtimeDataSourceOperations.d.ts.map +0 -1
  62. package/dist/runtimeDataSourceOperations.js +0 -63
  63. package/dist/runtimeDataSourceOperations.js.map +0 -1
  64. package/dist/runtimeDatabaseOperationExecutor.d.ts +0 -9
  65. package/dist/runtimeDatabaseOperationExecutor.d.ts.map +0 -1
  66. package/dist/runtimeDatabaseOperationExecutor.js +0 -228
  67. package/dist/runtimeDatabaseOperationExecutor.js.map +0 -1
@@ -102,7 +102,7 @@
102
102
  "modulePath": "src/runtimeActionRegistry.ts",
103
103
  "sourceLocation": {
104
104
  "filePath": "src/runtimeActionRegistry.ts",
105
- "line": 217,
105
+ "line": 216,
106
106
  "column": 1
107
107
  },
108
108
  "exportPaths": ["src/index.ts"],
@@ -262,7 +262,7 @@
262
262
  "modulePath": "src/runtimeActionRegistry.ts",
263
263
  "sourceLocation": {
264
264
  "filePath": "src/runtimeActionRegistry.ts",
265
- "line": 67,
265
+ "line": 66,
266
266
  "column": 1
267
267
  },
268
268
  "exportPaths": ["src/index.ts"],
@@ -276,11 +276,11 @@
276
276
  ],
277
277
  "signatures": [
278
278
  {
279
- "label": "(options?: { actionHandlers?: RuntimeActionHandlers; dataSources?: DataSourceRegistry; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }) => RuntimeActionRegistry",
279
+ "label": "(options?: { actionHandlers?: RuntimeActionHandlers; apis?: ApiDefinitionList; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }) => RuntimeActionRegistry",
280
280
  "parameters": [
281
281
  {
282
282
  "name": "options",
283
- "type": "{ actionHandlers?: RuntimeActionHandlers; dataSources?: DataSourceRegistry; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }",
283
+ "type": "{ actionHandlers?: RuntimeActionHandlers; apis?: ApiDefinitionList; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }",
284
284
  "required": false,
285
285
  "description": null
286
286
  }
@@ -293,31 +293,31 @@
293
293
  "structuredRows": []
294
294
  },
295
295
  {
296
- "name": "createRuntimeBindingOperationKey",
296
+ "name": "createRuntimeApiOperationExecutor",
297
297
  "description": null,
298
298
  "isReadme": false,
299
299
  "examples": [],
300
300
  "kind": "function",
301
- "modulePath": "src/runtimeBindings.ts",
301
+ "modulePath": "src/runtimeApiOperations.ts",
302
302
  "sourceLocation": {
303
- "filePath": "src/runtimeBindings.ts",
304
- "line": 163,
303
+ "filePath": "src/runtimeApiOperations.ts",
304
+ "line": 12,
305
305
  "column": 1
306
306
  },
307
307
  "exportPaths": ["src/index.ts"],
308
- "relatedSymbols": [],
308
+ "relatedSymbols": ["RuntimeApiOperationExecutorOptions", "RuntimeBindingOperationExecutor"],
309
309
  "signatures": [
310
310
  {
311
- "label": "(operation: BindingOperationRef) => string",
311
+ "label": "(options: RuntimeApiOperationExecutorOptions) => RuntimeBindingOperationExecutor",
312
312
  "parameters": [
313
313
  {
314
- "name": "operation",
315
- "type": "BindingOperationRef",
314
+ "name": "options",
315
+ "type": "RuntimeApiOperationExecutorOptions",
316
316
  "required": true,
317
317
  "description": null
318
318
  }
319
319
  ],
320
- "returnType": "string",
320
+ "returnType": "RuntimeBindingOperationExecutor",
321
321
  "returnDescription": null
322
322
  }
323
323
  ],
@@ -325,34 +325,31 @@
325
325
  "structuredRows": []
326
326
  },
327
327
  {
328
- "name": "createRuntimeDataSourceOperationExecutor",
328
+ "name": "createRuntimeBindingOperationKey",
329
329
  "description": null,
330
330
  "isReadme": false,
331
331
  "examples": [],
332
332
  "kind": "function",
333
- "modulePath": "src/runtimeDataSourceOperations.ts",
333
+ "modulePath": "src/runtimeBindings.ts",
334
334
  "sourceLocation": {
335
- "filePath": "src/runtimeDataSourceOperations.ts",
336
- "line": 14,
335
+ "filePath": "src/runtimeBindings.ts",
336
+ "line": 165,
337
337
  "column": 1
338
338
  },
339
339
  "exportPaths": ["src/index.ts"],
340
- "relatedSymbols": [
341
- "RuntimeBindingOperationExecutor",
342
- "RuntimeDataSourceOperationExecutorOptions"
343
- ],
340
+ "relatedSymbols": [],
344
341
  "signatures": [
345
342
  {
346
- "label": "(options: RuntimeDataSourceOperationExecutorOptions) => RuntimeBindingOperationExecutor",
343
+ "label": "(operation: BindingOperationRef) => string",
347
344
  "parameters": [
348
345
  {
349
- "name": "options",
350
- "type": "RuntimeDataSourceOperationExecutorOptions",
346
+ "name": "operation",
347
+ "type": "BindingOperationRef",
351
348
  "required": true,
352
349
  "description": null
353
350
  }
354
351
  ],
355
- "returnType": "RuntimeBindingOperationExecutor",
352
+ "returnType": "string",
356
353
  "returnDescription": null
357
354
  }
358
355
  ],
@@ -432,7 +429,7 @@
432
429
  "modulePath": "src/runtimeActionRegistry.ts",
433
430
  "sourceLocation": {
434
431
  "filePath": "src/runtimeActionRegistry.ts",
435
- "line": 103,
432
+ "line": 102,
436
433
  "column": 1
437
434
  },
438
435
  "exportPaths": ["src/index.ts"],
@@ -544,11 +541,11 @@
544
541
  ],
545
542
  "signatures": [
546
543
  {
547
- "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly dataSources?: RuntimeBindingResolutionContext[\"dataSources\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }) => Promise<RuntimeScreenOperationLoaderExecutionResult>",
544
+ "label": "(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>",
548
545
  "parameters": [
549
546
  {
550
547
  "name": "args",
551
- "type": "{ readonly bindingContext?: Record<string, unknown>; readonly dataSources?: RuntimeBindingResolutionContext[\"dataSources\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }",
548
+ "type": "{ readonly bindingContext?: Record<string, unknown>; readonly apis?: RuntimeBindingResolutionContext[\"apis\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }",
552
549
  "required": true,
553
550
  "description": null
554
551
  }
@@ -657,7 +654,7 @@
657
654
  "modulePath": "src/runtimeBindings.ts",
658
655
  "sourceLocation": {
659
656
  "filePath": "src/runtimeBindings.ts",
660
- "line": 129,
657
+ "line": 131,
661
658
  "column": 1
662
659
  },
663
660
  "exportPaths": ["src/index.ts"],
@@ -733,7 +730,7 @@
733
730
  "modulePath": "src/runtimeActionRegistry.ts",
734
731
  "sourceLocation": {
735
732
  "filePath": "src/runtimeActionRegistry.ts",
736
- "line": 231,
733
+ "line": 230,
737
734
  "column": 1
738
735
  },
739
736
  "exportPaths": ["src/index.ts"],
@@ -771,7 +768,7 @@
771
768
  "modulePath": "src/runtimeActionRegistry.ts",
772
769
  "sourceLocation": {
773
770
  "filePath": "src/runtimeActionRegistry.ts",
774
- "line": 242,
771
+ "line": 241,
775
772
  "column": 1
776
773
  },
777
774
  "exportPaths": ["src/index.ts"],
@@ -809,7 +806,7 @@
809
806
  "modulePath": "src/runtimeBindings.ts",
810
807
  "sourceLocation": {
811
808
  "filePath": "src/runtimeBindings.ts",
812
- "line": 89,
809
+ "line": 91,
813
810
  "column": 1
814
811
  },
815
812
  "exportPaths": ["src/index.ts"],
@@ -841,7 +838,7 @@
841
838
  "modulePath": "src/runtimeBindings.ts",
842
839
  "sourceLocation": {
843
840
  "filePath": "src/runtimeBindings.ts",
844
- "line": 74,
841
+ "line": 76,
845
842
  "column": 1
846
843
  },
847
844
  "exportPaths": ["src/index.ts"],
@@ -873,7 +870,7 @@
873
870
  "modulePath": "src/runtimeBindings.ts",
874
871
  "sourceLocation": {
875
872
  "filePath": "src/runtimeBindings.ts",
876
- "line": 103,
873
+ "line": 105,
877
874
  "column": 1
878
875
  },
879
876
  "exportPaths": ["src/index.ts"],
@@ -917,7 +914,7 @@
917
914
  "modulePath": "src/runtimeBindings.ts",
918
915
  "sourceLocation": {
919
916
  "filePath": "src/runtimeBindings.ts",
920
- "line": 116,
917
+ "line": 118,
921
918
  "column": 1
922
919
  },
923
920
  "exportPaths": ["src/index.ts"],
@@ -1159,7 +1156,7 @@
1159
1156
  "modulePath": "src/runtimeActionRegistry.ts",
1160
1157
  "sourceLocation": {
1161
1158
  "filePath": "src/runtimeActionRegistry.ts",
1162
- "line": 31,
1159
+ "line": 30,
1163
1160
  "column": 1
1164
1161
  },
1165
1162
  "exportPaths": ["src/index.ts"],
@@ -1192,7 +1189,7 @@
1192
1189
  "modulePath": "src/runtimeActionRegistry.ts",
1193
1190
  "sourceLocation": {
1194
1191
  "filePath": "src/runtimeActionRegistry.ts",
1195
- "line": 42,
1192
+ "line": 41,
1196
1193
  "column": 1
1197
1194
  },
1198
1195
  "exportPaths": ["src/index.ts"],
@@ -1239,7 +1236,7 @@
1239
1236
  "modulePath": "src/runtimeActionRegistry.ts",
1240
1237
  "sourceLocation": {
1241
1238
  "filePath": "src/runtimeActionRegistry.ts",
1242
- "line": 36,
1239
+ "line": 35,
1243
1240
  "column": 1
1244
1241
  },
1245
1242
  "exportPaths": ["src/index.ts"],
@@ -1310,6 +1307,72 @@
1310
1307
  ],
1311
1308
  "structuredRows": []
1312
1309
  },
1310
+ {
1311
+ "name": "RuntimeApiOperationExecutorOptions",
1312
+ "description": null,
1313
+ "isReadme": false,
1314
+ "examples": [],
1315
+ "kind": "type",
1316
+ "modulePath": "src/runtimeApiOperations.ts",
1317
+ "sourceLocation": {
1318
+ "filePath": "src/runtimeApiOperations.ts",
1319
+ "line": 7,
1320
+ "column": 1
1321
+ },
1322
+ "exportPaths": ["src/index.ts"],
1323
+ "relatedSymbols": [],
1324
+ "signatures": [],
1325
+ "members": [
1326
+ {
1327
+ "name": "credentialResolver",
1328
+ "kind": "property",
1329
+ "type": "EndpointTestCredentialResolver | undefined",
1330
+ "required": false,
1331
+ "description": null
1332
+ },
1333
+ {
1334
+ "name": "fetch",
1335
+ "kind": "property",
1336
+ "type": "EndpointTestFetch | undefined",
1337
+ "required": false,
1338
+ "description": null
1339
+ }
1340
+ ],
1341
+ "structuredRows": []
1342
+ },
1343
+ {
1344
+ "name": "RuntimeApiOperationSelection",
1345
+ "description": null,
1346
+ "isReadme": false,
1347
+ "examples": [],
1348
+ "kind": "type",
1349
+ "modulePath": "src/runtimeApiSelection.ts",
1350
+ "sourceLocation": {
1351
+ "filePath": "src/runtimeApiSelection.ts",
1352
+ "line": 9,
1353
+ "column": 1
1354
+ },
1355
+ "exportPaths": ["src/index.ts"],
1356
+ "relatedSymbols": [],
1357
+ "signatures": [],
1358
+ "members": [
1359
+ {
1360
+ "name": "api",
1361
+ "kind": "property",
1362
+ "type": "ApiDefinition",
1363
+ "required": true,
1364
+ "description": null
1365
+ },
1366
+ {
1367
+ "name": "endpoint",
1368
+ "kind": "property",
1369
+ "type": "DataEndpointConfig",
1370
+ "required": true,
1371
+ "description": null
1372
+ }
1373
+ ],
1374
+ "structuredRows": []
1375
+ },
1313
1376
  {
1314
1377
  "name": "RuntimeBindingDescriptor",
1315
1378
  "description": null,
@@ -1373,7 +1436,7 @@
1373
1436
  "modulePath": "src/runtimeBindings.ts",
1374
1437
  "sourceLocation": {
1375
1438
  "filePath": "src/runtimeBindings.ts",
1376
- "line": 22,
1439
+ "line": 24,
1377
1440
  "column": 1
1378
1441
  },
1379
1442
  "exportPaths": ["src/index.ts"],
@@ -1381,17 +1444,17 @@
1381
1444
  "signatures": [],
1382
1445
  "members": [
1383
1446
  {
1384
- "name": "dataSource",
1447
+ "name": "api",
1385
1448
  "kind": "property",
1386
- "type": "DataSourceConfig",
1449
+ "type": "ApiDefinition",
1387
1450
  "required": true,
1388
1451
  "description": null
1389
1452
  },
1390
1453
  {
1391
1454
  "name": "endpoint",
1392
1455
  "kind": "property",
1393
- "type": "DataEndpointConfig | undefined",
1394
- "required": false,
1456
+ "type": "DataEndpointConfig",
1457
+ "required": true,
1395
1458
  "description": null
1396
1459
  },
1397
1460
  {
@@ -1427,7 +1490,7 @@
1427
1490
  "modulePath": "src/runtimeBindings.ts",
1428
1491
  "sourceLocation": {
1429
1492
  "filePath": "src/runtimeBindings.ts",
1430
- "line": 30,
1493
+ "line": 32,
1431
1494
  "column": 1
1432
1495
  },
1433
1496
  "exportPaths": ["src/index.ts"],
@@ -1445,7 +1508,7 @@
1445
1508
  "modulePath": "src/runtimeBindings.ts",
1446
1509
  "sourceLocation": {
1447
1510
  "filePath": "src/runtimeBindings.ts",
1448
- "line": 41,
1511
+ "line": 43,
1449
1512
  "column": 1
1450
1513
  },
1451
1514
  "exportPaths": ["src/index.ts"],
@@ -1463,7 +1526,7 @@
1463
1526
  "modulePath": "src/runtimeBindings.ts",
1464
1527
  "sourceLocation": {
1465
1528
  "filePath": "src/runtimeBindings.ts",
1466
- "line": 20,
1529
+ "line": 22,
1467
1530
  "column": 1
1468
1531
  },
1469
1532
  "exportPaths": ["src/index.ts"],
@@ -1481,7 +1544,7 @@
1481
1544
  "modulePath": "src/runtimeBindings.ts",
1482
1545
  "sourceLocation": {
1483
1546
  "filePath": "src/runtimeBindings.ts",
1484
- "line": 45,
1547
+ "line": 47,
1485
1548
  "column": 1
1486
1549
  },
1487
1550
  "exportPaths": ["src/index.ts"],
@@ -1499,7 +1562,7 @@
1499
1562
  "modulePath": "src/runtimeBindings.ts",
1500
1563
  "sourceLocation": {
1501
1564
  "filePath": "src/runtimeBindings.ts",
1502
- "line": 49,
1565
+ "line": 51,
1503
1566
  "column": 1
1504
1567
  },
1505
1568
  "exportPaths": ["src/index.ts"],
@@ -1517,7 +1580,7 @@
1517
1580
  "modulePath": "src/runtimeBindings.ts",
1518
1581
  "sourceLocation": {
1519
1582
  "filePath": "src/runtimeBindings.ts",
1520
- "line": 64,
1583
+ "line": 66,
1521
1584
  "column": 1
1522
1585
  },
1523
1586
  "exportPaths": ["src/index.ts"],
@@ -1525,23 +1588,23 @@
1525
1588
  "signatures": [],
1526
1589
  "members": [
1527
1590
  {
1528
- "name": "context",
1591
+ "name": "apis",
1529
1592
  "kind": "property",
1530
- "type": "Record<string, unknown> | undefined",
1593
+ "type": "ApiDefinitionList | undefined",
1531
1594
  "required": false,
1532
1595
  "description": null
1533
1596
  },
1534
1597
  {
1535
- "name": "dataBindings",
1598
+ "name": "context",
1536
1599
  "kind": "property",
1537
- "type": "Readonly<Record<string, import(\"@ankhorage/contracts/dist/bindings\").ComponentDataBinding>> | undefined",
1600
+ "type": "Record<string, unknown> | undefined",
1538
1601
  "required": false,
1539
1602
  "description": null
1540
1603
  },
1541
1604
  {
1542
- "name": "dataSources",
1605
+ "name": "dataBindings",
1543
1606
  "kind": "property",
1544
- "type": "Readonly<Record<string, DataSourceConfig>> | undefined",
1607
+ "type": "Readonly<Record<string, import(\"@ankhorage/contracts/dist/bindings\").ComponentDataBinding>> | undefined",
1545
1608
  "required": false,
1546
1609
  "description": null
1547
1610
  },
@@ -1599,7 +1662,7 @@
1599
1662
  "modulePath": "src/runtimeBindings.ts",
1600
1663
  "sourceLocation": {
1601
1664
  "filePath": "src/runtimeBindings.ts",
1602
- "line": 54,
1665
+ "line": 56,
1603
1666
  "column": 1
1604
1667
  },
1605
1668
  "exportPaths": ["src/index.ts"],
@@ -1607,23 +1670,23 @@
1607
1670
  "signatures": [],
1608
1671
  "members": [
1609
1672
  {
1610
- "name": "context",
1673
+ "name": "apis",
1611
1674
  "kind": "property",
1612
- "type": "Record<string, unknown> | undefined",
1675
+ "type": "ApiDefinitionList | undefined",
1613
1676
  "required": false,
1614
1677
  "description": null
1615
1678
  },
1616
1679
  {
1617
- "name": "dataBindings",
1680
+ "name": "context",
1618
1681
  "kind": "property",
1619
- "type": "Readonly<Record<string, import(\"@ankhorage/contracts/dist/bindings\").ComponentDataBinding>> | undefined",
1682
+ "type": "Record<string, unknown> | undefined",
1620
1683
  "required": false,
1621
1684
  "description": null
1622
1685
  },
1623
1686
  {
1624
- "name": "dataSources",
1687
+ "name": "dataBindings",
1625
1688
  "kind": "property",
1626
- "type": "Readonly<Record<string, DataSourceConfig>> | undefined",
1689
+ "type": "Readonly<Record<string, import(\"@ankhorage/contracts/dist/bindings\").ComponentDataBinding>> | undefined",
1627
1690
  "required": false,
1628
1691
  "description": null
1629
1692
  },
@@ -1667,7 +1730,7 @@
1667
1730
  "modulePath": "src/runtimeBindings.ts",
1668
1731
  "sourceLocation": {
1669
1732
  "filePath": "src/runtimeBindings.ts",
1670
- "line": 69,
1733
+ "line": 71,
1671
1734
  "column": 1
1672
1735
  },
1673
1736
  "exportPaths": ["src/index.ts"],
@@ -1718,7 +1781,7 @@
1718
1781
  "modulePath": "src/runtimeActionRegistry.ts",
1719
1782
  "sourceLocation": {
1720
1783
  "filePath": "src/runtimeActionRegistry.ts",
1721
- "line": 46,
1784
+ "line": 45,
1722
1785
  "column": 1
1723
1786
  },
1724
1787
  "exportPaths": ["src/index.ts"],
@@ -1730,23 +1793,23 @@
1730
1793
  "signatures": [],
1731
1794
  "members": [
1732
1795
  {
1733
- "name": "context",
1796
+ "name": "apis",
1734
1797
  "kind": "property",
1735
- "type": "Record<string, unknown> | undefined",
1798
+ "type": "ApiDefinitionList | undefined",
1736
1799
  "required": false,
1737
1800
  "description": null
1738
1801
  },
1739
1802
  {
1740
- "name": "dataBindings",
1803
+ "name": "context",
1741
1804
  "kind": "property",
1742
- "type": "Readonly<Record<string, import(\"@ankhorage/contracts/dist/bindings\").ComponentDataBinding>> | undefined",
1805
+ "type": "Record<string, unknown> | undefined",
1743
1806
  "required": false,
1744
1807
  "description": null
1745
1808
  },
1746
1809
  {
1747
- "name": "dataSources",
1810
+ "name": "dataBindings",
1748
1811
  "kind": "property",
1749
- "type": "Readonly<Record<string, DataSourceConfig>> | undefined",
1812
+ "type": "Readonly<Record<string, import(\"@ankhorage/contracts/dist/bindings\").ComponentDataBinding>> | undefined",
1750
1813
  "required": false,
1751
1814
  "description": null
1752
1815
  },
@@ -1809,46 +1872,6 @@
1809
1872
  ],
1810
1873
  "structuredRows": []
1811
1874
  },
1812
- {
1813
- "name": "RuntimeDataSourceOperationExecutorOptions",
1814
- "description": null,
1815
- "isReadme": false,
1816
- "examples": [],
1817
- "kind": "type",
1818
- "modulePath": "src/runtimeDataSourceOperations.ts",
1819
- "sourceLocation": {
1820
- "filePath": "src/runtimeDataSourceOperations.ts",
1821
- "line": 8,
1822
- "column": 1
1823
- },
1824
- "exportPaths": ["src/index.ts"],
1825
- "relatedSymbols": [],
1826
- "signatures": [],
1827
- "members": [
1828
- {
1829
- "name": "credentialResolver",
1830
- "kind": "property",
1831
- "type": "EndpointTestCredentialResolver | undefined",
1832
- "required": false,
1833
- "description": null
1834
- },
1835
- {
1836
- "name": "databaseAdapters",
1837
- "kind": "property",
1838
- "type": "Readonly<Record<string, DbAdapter>> | undefined",
1839
- "required": false,
1840
- "description": null
1841
- },
1842
- {
1843
- "name": "fetch",
1844
- "kind": "property",
1845
- "type": "EndpointTestFetch | undefined",
1846
- "required": false,
1847
- "description": null
1848
- }
1849
- ],
1850
- "structuredRows": []
1851
- },
1852
1875
  {
1853
1876
  "name": "RuntimeDbPersistError",
1854
1877
  "description": null,
@@ -2015,7 +2038,7 @@
2015
2038
  "modulePath": "src/runtimeActionRegistry.ts",
2016
2039
  "sourceLocation": {
2017
2040
  "filePath": "src/runtimeActionRegistry.ts",
2018
- "line": 57,
2041
+ "line": 56,
2019
2042
  "column": 1
2020
2043
  },
2021
2044
  "exportPaths": ["src/index.ts"],
@@ -2407,23 +2430,23 @@
2407
2430
  "description": null
2408
2431
  },
2409
2432
  {
2410
- "name": "bindingContext",
2433
+ "name": "apis",
2411
2434
  "kind": "property",
2412
- "type": "Record<string, unknown> | undefined",
2435
+ "type": "ApiDefinitionList | undefined",
2413
2436
  "required": false,
2414
2437
  "description": null
2415
2438
  },
2416
2439
  {
2417
- "name": "dataBindings",
2440
+ "name": "bindingContext",
2418
2441
  "kind": "property",
2419
- "type": "Readonly<Record<string, import(\"@ankhorage/contracts/dist/bindings\").ComponentDataBinding>> | undefined",
2442
+ "type": "Record<string, unknown> | undefined",
2420
2443
  "required": false,
2421
2444
  "description": null
2422
2445
  },
2423
2446
  {
2424
- "name": "dataSources",
2447
+ "name": "dataBindings",
2425
2448
  "kind": "property",
2426
- "type": "Readonly<Record<string, import(\"@ankhorage/contracts/dist/index\").DataSourceConfig>> | undefined",
2449
+ "type": "Readonly<Record<string, import(\"@ankhorage/contracts/dist/bindings\").ComponentDataBinding>> | undefined",
2427
2450
  "required": false,
2428
2451
  "description": null
2429
2452
  },
@@ -2583,23 +2606,23 @@
2583
2606
  "signatures": [],
2584
2607
  "members": [
2585
2608
  {
2586
- "name": "bindingContext",
2609
+ "name": "apis",
2587
2610
  "kind": "property",
2588
- "type": "Record<string, unknown> | undefined",
2611
+ "type": "ApiDefinitionList | undefined",
2589
2612
  "required": false,
2590
2613
  "description": null
2591
2614
  },
2592
2615
  {
2593
- "name": "dataBindings",
2616
+ "name": "bindingContext",
2594
2617
  "kind": "property",
2595
- "type": "Readonly<Record<string, import(\"@ankhorage/contracts/dist/bindings\").ComponentDataBinding>> | undefined",
2618
+ "type": "Record<string, unknown> | undefined",
2596
2619
  "required": false,
2597
2620
  "description": null
2598
2621
  },
2599
2622
  {
2600
- "name": "dataSources",
2623
+ "name": "dataBindings",
2601
2624
  "kind": "property",
2602
- "type": "Readonly<Record<string, import(\"@ankhorage/contracts/dist/index\").DataSourceConfig>> | undefined",
2625
+ "type": "Readonly<Record<string, import(\"@ankhorage/contracts/dist/bindings\").ComponentDataBinding>> | undefined",
2603
2626
  "required": false,
2604
2627
  "description": null
2605
2628
  },
@@ -3114,11 +3137,11 @@
3114
3137
  ],
3115
3138
  "signatures": [
3116
3139
  {
3117
- "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly dataSources?: RuntimeBindingResolutionContext[\"dataSources\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }) => RuntimeScreenOperationLoaderState",
3140
+ "label": "(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",
3118
3141
  "parameters": [
3119
3142
  {
3120
3143
  "name": "args",
3121
- "type": "{ readonly bindingContext?: Record<string, unknown>; readonly dataSources?: RuntimeBindingResolutionContext[\"dataSources\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }",
3144
+ "type": "{ readonly bindingContext?: Record<string, unknown>; readonly apis?: RuntimeBindingResolutionContext[\"apis\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }",
3122
3145
  "required": true,
3123
3146
  "description": null
3124
3147
  }
@@ -3136,21 +3159,21 @@
3136
3159
  "isReadme": false,
3137
3160
  "examples": [],
3138
3161
  "kind": "function",
3139
- "modulePath": "src/runtimeBindings.ts",
3162
+ "modulePath": "src/runtimeApiSelection.ts",
3140
3163
  "sourceLocation": {
3141
- "filePath": "src/runtimeBindings.ts",
3142
- "line": 169,
3164
+ "filePath": "src/runtimeApiSelection.ts",
3165
+ "line": 14,
3143
3166
  "column": 1
3144
3167
  },
3145
3168
  "exportPaths": ["src/index.ts"],
3146
3169
  "relatedSymbols": [],
3147
3170
  "signatures": [
3148
3171
  {
3149
- "label": "(operation: BindingOperationRef, dataSources: Readonly<Record<string, DataSourceConfig>> | undefined) => readonly DataSourceDiagnostic[]",
3172
+ "label": "(operation: BindingOperationRef, apis: ApiDefinitionList | undefined) => readonly DataSourceDiagnostic[]",
3150
3173
  "parameters": [
3151
3174
  {
3152
- "name": "dataSources",
3153
- "type": "Readonly<Record<string, DataSourceConfig>> | undefined",
3175
+ "name": "apis",
3176
+ "type": "ApiDefinitionList | undefined",
3154
3177
  "required": true,
3155
3178
  "description": null
3156
3179
  },
@@ -3177,7 +3200,7 @@
3177
3200
  "modulePath": "src/runtimeActionRegistry.ts",
3178
3201
  "sourceLocation": {
3179
3202
  "filePath": "src/runtimeActionRegistry.ts",
3180
- "line": 180,
3203
+ "line": 179,
3181
3204
  "column": 1
3182
3205
  },
3183
3206
  "exportPaths": ["src/index.ts"],