@ankhorage/runtime 5.8.1 → 5.8.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.
@@ -18,7 +18,7 @@
18
18
  {
19
19
  "id": "npm",
20
20
  "label": "npm",
21
- "value": "v5.8.1",
21
+ "value": "v5.8.3",
22
22
  "color": "cb3837"
23
23
  },
24
24
  {
@@ -493,6 +493,7 @@
493
493
  "isEntrypoint": false,
494
494
  "dependencies": [
495
495
  "src/runtimeActionRegistry.ts",
496
+ "src/runtimeCapabilityExecutor.ts",
496
497
  "src/runtimeStateAdapter.ts"
497
498
  ],
498
499
  "exports": []
@@ -933,7 +934,8 @@
933
934
  "path": "src/runtimeScreenLoaders.test.ts",
934
935
  "isEntrypoint": false,
935
936
  "dependencies": [
936
- "src/runtimeScreenLoaders.ts"
937
+ "src/runtimeScreenLoaders.ts",
938
+ "src/runtimeStateAdapter.ts"
937
939
  ],
938
940
  "exports": []
939
941
  },
@@ -1472,7 +1474,7 @@
1472
1474
  "modulePath": "src/runtimeScreenLoaders.ts",
1473
1475
  "sourceLocation": {
1474
1476
  "filePath": "src/runtimeScreenLoaders.ts",
1475
- "line": 85,
1477
+ "line": 90,
1476
1478
  "column": 1
1477
1479
  },
1478
1480
  "exportPaths": [
@@ -1748,22 +1750,23 @@
1748
1750
  "modulePath": "src/runtimeScreenLoaders.ts",
1749
1751
  "sourceLocation": {
1750
1752
  "filePath": "src/runtimeScreenLoaders.ts",
1751
- "line": 65,
1753
+ "line": 66,
1752
1754
  "column": 1
1753
1755
  },
1754
1756
  "exportPaths": [
1755
1757
  "src/index.ts"
1756
1758
  ],
1757
1759
  "relatedSymbols": [
1760
+ "RuntimeBindingResolutionContext",
1758
1761
  "RuntimeBindingResultCache"
1759
1762
  ],
1760
1763
  "signatures": [
1761
1764
  {
1762
- "label": "(args: { readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly resultSlots?: RuntimeBindingResultCache; }) => string",
1765
+ "label": "(args: { readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly resultSlots?: RuntimeBindingResultCache; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }) => string",
1763
1766
  "parameters": [
1764
1767
  {
1765
1768
  "name": "args",
1766
- "type": "{ readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly resultSlots?: RuntimeBindingResultCache; }",
1769
+ "type": "{ readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly resultSlots?: RuntimeBindingResultCache; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }",
1767
1770
  "required": true,
1768
1771
  "description": null
1769
1772
  }
@@ -1786,7 +1789,7 @@
1786
1789
  "modulePath": "src/runtimeScreenLoaders.ts",
1787
1790
  "sourceLocation": {
1788
1791
  "filePath": "src/runtimeScreenLoaders.ts",
1789
- "line": 37,
1792
+ "line": 38,
1790
1793
  "column": 1
1791
1794
  },
1792
1795
  "exportPaths": [
@@ -1950,24 +1953,25 @@
1950
1953
  "modulePath": "src/runtimeScreenLoaders.ts",
1951
1954
  "sourceLocation": {
1952
1955
  "filePath": "src/runtimeScreenLoaders.ts",
1953
- "line": 98,
1956
+ "line": 103,
1954
1957
  "column": 1
1955
1958
  },
1956
1959
  "exportPaths": [
1957
1960
  "src/index.ts"
1958
1961
  ],
1959
1962
  "relatedSymbols": [
1963
+ "RuntimeBindingResolutionContext",
1960
1964
  "RuntimeBindingResultCache",
1961
1965
  "RuntimeCapabilityExecutor",
1962
1966
  "RuntimeScreenOperationLoaderExecutionResult"
1963
1967
  ],
1964
1968
  "signatures": [
1965
1969
  {
1966
- "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; }) => Promise<RuntimeScreenOperationLoaderExecutionResult>",
1970
+ "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }) => Promise<RuntimeScreenOperationLoaderExecutionResult>",
1967
1971
  "parameters": [
1968
1972
  {
1969
1973
  "name": "args",
1970
- "type": "{ readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; }",
1974
+ "type": "{ readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }",
1971
1975
  "required": true,
1972
1976
  "description": null
1973
1977
  }
@@ -2646,7 +2650,7 @@
2646
2650
  "modulePath": "src/runtimeScreenLoaders.ts",
2647
2651
  "sourceLocation": {
2648
2652
  "filePath": "src/runtimeScreenLoaders.ts",
2649
- "line": 58,
2653
+ "line": 59,
2650
2654
  "column": 1
2651
2655
  },
2652
2656
  "exportPaths": [
@@ -5182,7 +5186,7 @@
5182
5186
  "modulePath": "src/runtimeScreenLoaders.ts",
5183
5187
  "sourceLocation": {
5184
5188
  "filePath": "src/runtimeScreenLoaders.ts",
5185
- "line": 24,
5189
+ "line": 25,
5186
5190
  "column": 1
5187
5191
  },
5188
5192
  "exportPaths": [
@@ -5226,7 +5230,7 @@
5226
5230
  "modulePath": "src/runtimeScreenLoaders.ts",
5227
5231
  "sourceLocation": {
5228
5232
  "filePath": "src/runtimeScreenLoaders.ts",
5229
- "line": 17,
5233
+ "line": 18,
5230
5234
  "column": 1
5231
5235
  },
5232
5236
  "exportPaths": [
@@ -5513,24 +5517,25 @@
5513
5517
  "modulePath": "src/runtimeScreenLoaders.ts",
5514
5518
  "sourceLocation": {
5515
5519
  "filePath": "src/runtimeScreenLoaders.ts",
5516
- "line": 146,
5520
+ "line": 157,
5517
5521
  "column": 1
5518
5522
  },
5519
5523
  "exportPaths": [
5520
5524
  "src/index.ts"
5521
5525
  ],
5522
5526
  "relatedSymbols": [
5527
+ "RuntimeBindingResolutionContext",
5523
5528
  "RuntimeBindingResultCache",
5524
5529
  "RuntimeCapabilityExecutor",
5525
5530
  "RuntimeScreenOperationLoaderState"
5526
5531
  ],
5527
5532
  "signatures": [
5528
5533
  {
5529
- "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }) => RuntimeScreenOperationLoaderState",
5534
+ "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }) => RuntimeScreenOperationLoaderState",
5530
5535
  "parameters": [
5531
5536
  {
5532
5537
  "name": "args",
5533
- "type": "{ readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }",
5538
+ "type": "{ readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }",
5534
5539
  "required": true,
5535
5540
  "description": null
5536
5541
  }
@@ -6486,7 +6491,7 @@
6486
6491
  "security": [],
6487
6492
  "sourceLocation": {
6488
6493
  "filePath": "src/runtimeActionRegistry.test.ts",
6489
- "line": 61,
6494
+ "line": 62,
6490
6495
  "column": 9
6491
6496
  }
6492
6497
  },
@@ -6574,7 +6579,7 @@
6574
6579
  "security": [],
6575
6580
  "sourceLocation": {
6576
6581
  "filePath": "src/runtimeActionRegistry.ts",
6577
- "line": 238,
6582
+ "line": 239,
6578
6583
  "column": 1
6579
6584
  }
6580
6585
  },
@@ -6585,7 +6590,7 @@
6585
6590
  "security": [],
6586
6591
  "sourceLocation": {
6587
6592
  "filePath": "src/runtimeActionRegistry.ts",
6588
- "line": 242,
6593
+ "line": 243,
6589
6594
  "column": 1
6590
6595
  }
6591
6596
  },
@@ -6596,7 +6601,7 @@
6596
6601
  "security": [],
6597
6602
  "sourceLocation": {
6598
6603
  "filePath": "src/runtimeActionRegistry.ts",
6599
- "line": 246,
6604
+ "line": 247,
6600
6605
  "column": 1
6601
6606
  }
6602
6607
  },
@@ -6607,7 +6612,7 @@
6607
6612
  "security": [],
6608
6613
  "sourceLocation": {
6609
6614
  "filePath": "src/runtimeActionRegistry.ts",
6610
- "line": 250,
6615
+ "line": 251,
6611
6616
  "column": 1
6612
6617
  }
6613
6618
  },
@@ -8037,7 +8042,7 @@
8037
8042
  "security": [],
8038
8043
  "sourceLocation": {
8039
8044
  "filePath": "src/RuntimeScreen.test.tsx",
8040
- "line": 178,
8045
+ "line": 193,
8041
8046
  "column": 9
8042
8047
  }
8043
8048
  },
@@ -8059,7 +8064,7 @@
8059
8064
  "security": [],
8060
8065
  "sourceLocation": {
8061
8066
  "filePath": "src/runtimeScreenLoaders.ts",
8062
- "line": 37,
8067
+ "line": 38,
8063
8068
  "column": 1
8064
8069
  }
8065
8070
  },
@@ -8070,7 +8075,7 @@
8070
8075
  "security": [],
8071
8076
  "sourceLocation": {
8072
8077
  "filePath": "src/runtimeScreenLoaders.ts",
8073
- "line": 58,
8078
+ "line": 59,
8074
8079
  "column": 1
8075
8080
  }
8076
8081
  },
@@ -8081,7 +8086,7 @@
8081
8086
  "security": [],
8082
8087
  "sourceLocation": {
8083
8088
  "filePath": "src/runtimeScreenLoaders.ts",
8084
- "line": 65,
8089
+ "line": 66,
8085
8090
  "column": 1
8086
8091
  }
8087
8092
  },
@@ -8092,7 +8097,7 @@
8092
8097
  "security": [],
8093
8098
  "sourceLocation": {
8094
8099
  "filePath": "src/runtimeScreenLoaders.ts",
8095
- "line": 85,
8100
+ "line": 90,
8096
8101
  "column": 1
8097
8102
  }
8098
8103
  },
@@ -8103,7 +8108,7 @@
8103
8108
  "security": [],
8104
8109
  "sourceLocation": {
8105
8110
  "filePath": "src/runtimeScreenLoaders.ts",
8106
- "line": 98,
8111
+ "line": 103,
8107
8112
  "column": 1
8108
8113
  }
8109
8114
  },
@@ -8114,7 +8119,7 @@
8114
8119
  "security": [],
8115
8120
  "sourceLocation": {
8116
8121
  "filePath": "src/runtimeScreenLoaders.ts",
8117
- "line": 107,
8122
+ "line": 114,
8118
8123
  "column": 9
8119
8124
  }
8120
8125
  },
@@ -8125,7 +8130,7 @@
8125
8130
  "security": [],
8126
8131
  "sourceLocation": {
8127
8132
  "filePath": "src/runtimeScreenLoaders.ts",
8128
- "line": 146,
8133
+ "line": 157,
8129
8134
  "column": 1
8130
8135
  }
8131
8136
  },
@@ -8136,7 +8141,7 @@
8136
8141
  "security": [],
8137
8142
  "sourceLocation": {
8138
8143
  "filePath": "src/runtimeScreenLoaders.ts",
8139
- "line": 219,
8144
+ "line": 245,
8140
8145
  "column": 1
8141
8146
  }
8142
8147
  },
@@ -9165,6 +9170,11 @@
9165
9170
  "toPath": "src/runtimeActionRegistry.ts",
9166
9171
  "sourcePath": "src/runtimeActionRegistry.test.ts"
9167
9172
  },
9173
+ {
9174
+ "fromPath": "src/runtimeActionRegistry.test.ts",
9175
+ "toPath": "src/runtimeCapabilityExecutor.ts",
9176
+ "sourcePath": "src/runtimeActionRegistry.test.ts"
9177
+ },
9168
9178
  {
9169
9179
  "fromPath": "src/runtimeActionRegistry.test.ts",
9170
9180
  "toPath": "src/runtimeStateAdapter.ts",
@@ -9570,6 +9580,11 @@
9570
9580
  "toPath": "src/runtimeScreenLoaders.ts",
9571
9581
  "sourcePath": "src/runtimeScreenLoaders.test.ts"
9572
9582
  },
9583
+ {
9584
+ "fromPath": "src/runtimeScreenLoaders.test.ts",
9585
+ "toPath": "src/runtimeStateAdapter.ts",
9586
+ "sourcePath": "src/runtimeScreenLoaders.test.ts"
9587
+ },
9573
9588
  {
9574
9589
  "fromPath": "src/runtimeScreenLoaders.ts",
9575
9590
  "toPath": "src/runtimeBindings.ts",
@@ -10199,6 +10214,18 @@
10199
10214
  "callExpression": "dispatch",
10200
10215
  "sourcePath": "src/runtimeActionRegistry.test.ts"
10201
10216
  },
10217
+ {
10218
+ "fromSymbol": "src/runtimeActionRegistry.test.ts",
10219
+ "toSymbol": "composeRuntimeCapabilityExecutor",
10220
+ "callExpression": "composeRuntimeCapabilityExecutor",
10221
+ "sourcePath": "src/runtimeActionRegistry.test.ts"
10222
+ },
10223
+ {
10224
+ "fromSymbol": "src/runtimeActionRegistry.test.ts",
10225
+ "toSymbol": "dispatchRuntimeComponentEvent",
10226
+ "callExpression": "dispatchRuntimeComponentEvent",
10227
+ "sourcePath": "src/runtimeActionRegistry.test.ts"
10228
+ },
10202
10229
  {
10203
10230
  "fromSymbol": "dispatchComponentEvent",
10204
10231
  "toSymbol": "dispatchRuntimeComponentEvent",
@@ -12215,6 +12242,18 @@
12215
12242
  "callExpression": "lifecycle.invalidate",
12216
12243
  "sourcePath": "src/runtimeScreenLoaders.test.ts"
12217
12244
  },
12245
+ {
12246
+ "fromSymbol": "src/runtimeScreenLoaders.test.ts",
12247
+ "toSymbol": "createRuntimeMemoryStateAdapter",
12248
+ "callExpression": "createRuntimeMemoryStateAdapter",
12249
+ "sourcePath": "src/runtimeScreenLoaders.test.ts"
12250
+ },
12251
+ {
12252
+ "fromSymbol": "src/runtimeScreenLoaders.test.ts",
12253
+ "toSymbol": "createRuntimeScreenLoaderRequestKey",
12254
+ "callExpression": "createRuntimeScreenLoaderRequestKey",
12255
+ "sourcePath": "src/runtimeScreenLoaders.test.ts"
12256
+ },
12218
12257
  {
12219
12258
  "fromSymbol": "createRuntimeScreenLoaderRequestKey",
12220
12259
  "toSymbol": "stableSerialize",
@@ -14339,6 +14378,21 @@
14339
14378
  "toType": "RuntimeScreenOperationLoaderState",
14340
14379
  "sourcePath": "src/runtimeScreenLoaders.ts"
14341
14380
  },
14381
+ {
14382
+ "fromSymbol": "createRuntimeScreenLoaderRequestKey",
14383
+ "toType": "BindingValue",
14384
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14385
+ },
14386
+ {
14387
+ "fromSymbol": "createRuntimeScreenLoaderRequestKey",
14388
+ "toType": "Readonly",
14389
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14390
+ },
14391
+ {
14392
+ "fromSymbol": "createRuntimeScreenLoaderRequestKey",
14393
+ "toType": "RuntimeBindingResolutionContext",
14394
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14395
+ },
14342
14396
  {
14343
14397
  "fromSymbol": "createRuntimeScreenLoaderRequestKey",
14344
14398
  "toType": "RuntimeBindingResultCache",
@@ -14354,6 +14408,21 @@
14354
14408
  "toType": "RuntimeScreenOperationLoaderRequestLifecycle",
14355
14409
  "sourcePath": "src/runtimeScreenLoaders.ts"
14356
14410
  },
14411
+ {
14412
+ "fromSymbol": "executeRuntimeScreenOperationLoaders",
14413
+ "toType": "BindingValue",
14414
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14415
+ },
14416
+ {
14417
+ "fromSymbol": "executeRuntimeScreenOperationLoaders",
14418
+ "toType": "Readonly",
14419
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14420
+ },
14421
+ {
14422
+ "fromSymbol": "executeRuntimeScreenOperationLoaders",
14423
+ "toType": "RuntimeBindingResolutionContext",
14424
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14425
+ },
14357
14426
  {
14358
14427
  "fromSymbol": "executeRuntimeScreenOperationLoaders",
14359
14428
  "toType": "RuntimeBindingResultCache",
@@ -14389,11 +14458,26 @@
14389
14458
  "toType": "ScreenSpec",
14390
14459
  "sourcePath": "src/runtimeScreenLoaders.ts"
14391
14460
  },
14461
+ {
14462
+ "fromSymbol": "useRuntimeScreenOperationLoaders",
14463
+ "toType": "BindingValue",
14464
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14465
+ },
14392
14466
  {
14393
14467
  "fromSymbol": "useRuntimeScreenOperationLoaders",
14394
14468
  "toType": "DataSourceDiagnostic",
14395
14469
  "sourcePath": "src/runtimeScreenLoaders.ts"
14396
14470
  },
14471
+ {
14472
+ "fromSymbol": "useRuntimeScreenOperationLoaders",
14473
+ "toType": "Readonly",
14474
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14475
+ },
14476
+ {
14477
+ "fromSymbol": "useRuntimeScreenOperationLoaders",
14478
+ "toType": "RuntimeBindingResolutionContext",
14479
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14480
+ },
14397
14481
  {
14398
14482
  "fromSymbol": "useRuntimeScreenOperationLoaders",
14399
14483
  "toType": "RuntimeBindingResultCache",