@ankhorage/runtime 0.2.2 → 0.2.4

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.
@@ -44,7 +44,7 @@
44
44
  "modulePath": "src/RuntimeRendererConfig.tsx",
45
45
  "sourceLocation": {
46
46
  "filePath": "src/RuntimeRendererConfig.tsx",
47
- "line": 85,
47
+ "line": 88,
48
48
  "column": 1
49
49
  },
50
50
  "exportPaths": ["src/index.ts"],
@@ -82,7 +82,7 @@
82
82
  "modulePath": "src/RuntimeRendererConfig.tsx",
83
83
  "sourceLocation": {
84
84
  "filePath": "src/RuntimeRendererConfig.tsx",
85
- "line": 70,
85
+ "line": 73,
86
86
  "column": 1
87
87
  },
88
88
  "exportPaths": ["src/index.ts"],
@@ -156,19 +156,19 @@
156
156
  "column": 1
157
157
  },
158
158
  "exportPaths": ["src/index.ts"],
159
- "relatedSymbols": ["ComponentRegistry"],
159
+ "relatedSymbols": [],
160
160
  "signatures": [
161
161
  {
162
- "label": "(registries?: readonly ComponentRegistry[]) => ComponentRegistry",
162
+ "label": "(registries?: readonly Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>[]) => Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>",
163
163
  "parameters": [
164
164
  {
165
165
  "name": "registries",
166
- "type": "readonly ComponentRegistry[]",
166
+ "type": "readonly Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>[]",
167
167
  "required": false,
168
168
  "description": null
169
169
  }
170
170
  ],
171
- "returnType": "ComponentRegistry",
171
+ "returnType": "Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>",
172
172
  "returnDescription": null
173
173
  }
174
174
  ],
@@ -854,7 +854,7 @@
854
854
  "modulePath": "src/RuntimeRendererConfig.tsx",
855
855
  "sourceLocation": {
856
856
  "filePath": "src/RuntimeRendererConfig.tsx",
857
- "line": 103,
857
+ "line": 106,
858
858
  "column": 1
859
859
  },
860
860
  "exportPaths": ["src/index.ts"],
@@ -1296,7 +1296,7 @@
1296
1296
  "modulePath": "src/RuntimeRendererConfig.tsx",
1297
1297
  "sourceLocation": {
1298
1298
  "filePath": "src/RuntimeRendererConfig.tsx",
1299
- "line": 40,
1299
+ "line": 43,
1300
1300
  "column": 1
1301
1301
  },
1302
1302
  "exportPaths": ["src/index.ts"],
@@ -1361,7 +1361,7 @@
1361
1361
  "modulePath": "src/RuntimeRendererConfig.tsx",
1362
1362
  "sourceLocation": {
1363
1363
  "filePath": "src/RuntimeRendererConfig.tsx",
1364
- "line": 43,
1364
+ "line": 46,
1365
1365
  "column": 1
1366
1366
  },
1367
1367
  "exportPaths": ["src/index.ts"],
@@ -1379,7 +1379,7 @@
1379
1379
  "modulePath": "src/RuntimeRendererConfig.tsx",
1380
1380
  "sourceLocation": {
1381
1381
  "filePath": "src/RuntimeRendererConfig.tsx",
1382
- "line": 41,
1382
+ "line": 44,
1383
1383
  "column": 1
1384
1384
  },
1385
1385
  "exportPaths": ["src/index.ts"],
@@ -1397,7 +1397,7 @@
1397
1397
  "modulePath": "src/RuntimeRendererConfig.tsx",
1398
1398
  "sourceLocation": {
1399
1399
  "filePath": "src/RuntimeRendererConfig.tsx",
1400
- "line": 33,
1400
+ "line": 36,
1401
1401
  "column": 1
1402
1402
  },
1403
1403
  "exportPaths": ["src/index.ts"],
@@ -1444,7 +1444,7 @@
1444
1444
  "modulePath": "src/RuntimeRendererConfig.tsx",
1445
1445
  "sourceLocation": {
1446
1446
  "filePath": "src/RuntimeRendererConfig.tsx",
1447
- "line": 42,
1447
+ "line": 45,
1448
1448
  "column": 1
1449
1449
  },
1450
1450
  "exportPaths": ["src/index.ts"],
@@ -2746,7 +2746,7 @@
2746
2746
  "modulePath": "src/RuntimeRenderer.tsx",
2747
2747
  "sourceLocation": {
2748
2748
  "filePath": "src/RuntimeRenderer.tsx",
2749
- "line": 68,
2749
+ "line": 67,
2750
2750
  "column": 1
2751
2751
  },
2752
2752
  "exportPaths": ["src/index.ts"],
@@ -2778,12 +2778,11 @@
2778
2778
  "modulePath": "src/RuntimeRendererConfig.tsx",
2779
2779
  "sourceLocation": {
2780
2780
  "filePath": "src/RuntimeRendererConfig.tsx",
2781
- "line": 45,
2781
+ "line": 48,
2782
2782
  "column": 1
2783
2783
  },
2784
2784
  "exportPaths": ["src/index.ts"],
2785
2785
  "relatedSymbols": [
2786
- "ComponentRegistry",
2787
2786
  "RuntimeActionHandler",
2788
2787
  "RuntimeActionHandlers",
2789
2788
  "RuntimeBindingOperationExecutor",
@@ -2873,7 +2872,7 @@
2873
2872
  {
2874
2873
  "name": "registry",
2875
2874
  "kind": "property",
2876
- "type": "ComponentRegistry | undefined",
2875
+ "type": "Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> | undefined",
2877
2876
  "required": false,
2878
2877
  "description": null
2879
2878
  },
@@ -2917,7 +2916,7 @@
2917
2916
  "modulePath": "src/RuntimeRendererConfig.tsx",
2918
2917
  "sourceLocation": {
2919
2918
  "filePath": "src/RuntimeRendererConfig.tsx",
2920
- "line": 149,
2919
+ "line": 152,
2921
2920
  "column": 1
2922
2921
  },
2923
2922
  "exportPaths": ["src/index.ts"],
@@ -2949,12 +2948,11 @@
2949
2948
  "modulePath": "src/RuntimeRenderer.tsx",
2950
2949
  "sourceLocation": {
2951
2950
  "filePath": "src/RuntimeRenderer.tsx",
2952
- "line": 50,
2951
+ "line": 49,
2953
2952
  "column": 1
2954
2953
  },
2955
2954
  "exportPaths": ["src/index.ts"],
2956
2955
  "relatedSymbols": [
2957
- "ComponentRegistry",
2958
2956
  "RuntimeActionHandler",
2959
2957
  "RuntimeBindingOperationExecutor",
2960
2958
  "RuntimeRendererConfig",
@@ -3049,7 +3047,7 @@
3049
3047
  {
3050
3048
  "name": "registry",
3051
3049
  "kind": "property",
3052
- "type": "ComponentRegistry | undefined",
3050
+ "type": "Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> | undefined",
3053
3051
  "required": false,
3054
3052
  "description": null
3055
3053
  },
@@ -3079,7 +3077,7 @@
3079
3077
  "modulePath": "src/RuntimeRendererConfig.tsx",
3080
3078
  "sourceLocation": {
3081
3079
  "filePath": "src/RuntimeRendererConfig.tsx",
3082
- "line": 27,
3080
+ "line": 30,
3083
3081
  "column": 1
3084
3082
  },
3085
3083
  "exportPaths": ["src/index.ts"],
@@ -3275,7 +3273,7 @@
3275
3273
  "column": 1
3276
3274
  },
3277
3275
  "exportPaths": ["src/index.ts"],
3278
- "relatedSymbols": ["ComponentRegistry"],
3276
+ "relatedSymbols": [],
3279
3277
  "signatures": [],
3280
3278
  "members": [
3281
3279
  {
@@ -3288,7 +3286,7 @@
3288
3286
  {
3289
3287
  "name": "registry",
3290
3288
  "kind": "property",
3291
- "type": "ComponentRegistry | undefined",
3289
+ "type": "Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> | undefined",
3292
3290
  "required": false,
3293
3291
  "description": null
3294
3292
  },
@@ -3341,24 +3339,6 @@
3341
3339
  "members": [],
3342
3340
  "structuredRows": []
3343
3341
  },
3344
- {
3345
- "name": "SURFACE_COMPONENT_REGISTRY",
3346
- "description": null,
3347
- "isReadme": false,
3348
- "examples": [],
3349
- "kind": "value",
3350
- "modulePath": "src/registry.tsx",
3351
- "sourceLocation": {
3352
- "filePath": "src/registry.tsx",
3353
- "line": 51,
3354
- "column": 14
3355
- },
3356
- "exportPaths": ["src/index.ts"],
3357
- "relatedSymbols": [],
3358
- "signatures": [],
3359
- "members": [],
3360
- "structuredRows": []
3361
- },
3362
3342
  {
3363
3343
  "name": "useManifest",
3364
3344
  "description": null,
@@ -3475,7 +3455,7 @@
3475
3455
  "modulePath": "src/RuntimeRendererConfig.tsx",
3476
3456
  "sourceLocation": {
3477
3457
  "filePath": "src/RuntimeRendererConfig.tsx",
3478
- "line": 164,
3458
+ "line": 167,
3479
3459
  "column": 1
3480
3460
  },
3481
3461
  "exportPaths": ["src/index.ts"],
@@ -3597,23 +3577,5 @@
3597
3577
  ],
3598
3578
  "members": [],
3599
3579
  "structuredRows": []
3600
- },
3601
- {
3602
- "name": "ZORA_COMPONENT_REGISTRY",
3603
- "description": null,
3604
- "isReadme": false,
3605
- "examples": [],
3606
- "kind": "value",
3607
- "modulePath": "src/registry.tsx",
3608
- "sourceLocation": {
3609
- "filePath": "src/registry.tsx",
3610
- "line": 95,
3611
- "column": 14
3612
- },
3613
- "exportPaths": ["src/index.ts"],
3614
- "relatedSymbols": [],
3615
- "signatures": [],
3616
- "members": [],
3617
- "structuredRows": []
3618
3580
  }
3619
3581
  ]
@@ -16,7 +16,7 @@ Source: `src/componentRegistry.ts:3:1`
16
16
 
17
17
  Kind: `function`
18
18
  Module: `src/RuntimeRendererConfig.tsx`
19
- Source: `src/RuntimeRendererConfig.tsx:85:1`
19
+ Source: `src/RuntimeRendererConfig.tsx:88:1`
20
20
 
21
21
  ### Signatures
22
22
 
@@ -29,7 +29,7 @@ Source: `src/RuntimeRendererConfig.tsx:85:1`
29
29
 
30
30
  Kind: `function`
31
31
  Module: `src/RuntimeRendererConfig.tsx`
32
- Source: `src/RuntimeRendererConfig.tsx:70:1`
32
+ Source: `src/RuntimeRendererConfig.tsx:73:1`
33
33
 
34
34
  ### Signatures
35
35
 
@@ -58,9 +58,9 @@ Source: `src/componentRegistry.ts:5:1`
58
58
 
59
59
  ### Signatures
60
60
 
61
- - `(registries?: readonly ComponentRegistry[]) => ComponentRegistry`
62
- - registries: `readonly ComponentRegistry[]` (optional)
63
- - returns: `ComponentRegistry`
61
+ - `(registries?: readonly Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>[]) => Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>`
62
+ - registries: `readonly Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>[]` (optional)
63
+ - returns: `Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>`
64
64
 
65
65
  ## createDbPersistActionHandler
66
66
 
@@ -311,7 +311,7 @@ Source: `src/runtimeApiLoaders.ts:40:1`
311
311
 
312
312
  Kind: `function`
313
313
  Module: `src/RuntimeRendererConfig.tsx`
314
- Source: `src/RuntimeRendererConfig.tsx:103:1`
314
+ Source: `src/RuntimeRendererConfig.tsx:106:1`
315
315
 
316
316
  ### Signatures
317
317
 
@@ -464,7 +464,7 @@ Source: `src/runtimeManifest.ts:8:14`
464
464
 
465
465
  Kind: `unknown`
466
466
  Module: `src/RuntimeRendererConfig.tsx`
467
- Source: `src/RuntimeRendererConfig.tsx:40:1`
467
+ Source: `src/RuntimeRendererConfig.tsx:43:1`
468
468
 
469
469
  ## RuntimeActionDescriptor
470
470
 
@@ -485,19 +485,19 @@ Source: `src/runtimeManifest.ts:24:1`
485
485
 
486
486
  Kind: `unknown`
487
487
  Module: `src/RuntimeRendererConfig.tsx`
488
- Source: `src/RuntimeRendererConfig.tsx:43:1`
488
+ Source: `src/RuntimeRendererConfig.tsx:46:1`
489
489
 
490
490
  ## RuntimeActionHandler
491
491
 
492
492
  Kind: `unknown`
493
493
  Module: `src/RuntimeRendererConfig.tsx`
494
- Source: `src/RuntimeRendererConfig.tsx:41:1`
494
+ Source: `src/RuntimeRendererConfig.tsx:44:1`
495
495
 
496
496
  ## RuntimeActionHandlerArgs
497
497
 
498
498
  Kind: `type`
499
499
  Module: `src/RuntimeRendererConfig.tsx`
500
- Source: `src/RuntimeRendererConfig.tsx:33:1`
500
+ Source: `src/RuntimeRendererConfig.tsx:36:1`
501
501
 
502
502
  ### Members
503
503
 
@@ -512,7 +512,7 @@ Source: `src/RuntimeRendererConfig.tsx:33:1`
512
512
 
513
513
  Kind: `unknown`
514
514
  Module: `src/RuntimeRendererConfig.tsx`
515
- Source: `src/RuntimeRendererConfig.tsx:42:1`
515
+ Source: `src/RuntimeRendererConfig.tsx:45:1`
516
516
 
517
517
  ## RuntimeActionRegistry
518
518
 
@@ -924,7 +924,7 @@ Source: `node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts:6:1`
924
924
 
925
925
  Kind: `function`
926
926
  Module: `src/RuntimeRenderer.tsx`
927
- Source: `src/RuntimeRenderer.tsx:68:1`
927
+ Source: `src/RuntimeRenderer.tsx:67:1`
928
928
 
929
929
  ### Signatures
930
930
 
@@ -936,7 +936,7 @@ Source: `src/RuntimeRenderer.tsx:68:1`
936
936
 
937
937
  Kind: `type`
938
938
  Module: `src/RuntimeRendererConfig.tsx`
939
- Source: `src/RuntimeRendererConfig.tsx:45:1`
939
+ Source: `src/RuntimeRendererConfig.tsx:48:1`
940
940
 
941
941
  ### Members
942
942
 
@@ -953,7 +953,7 @@ Source: `src/RuntimeRendererConfig.tsx:45:1`
953
953
  | executeOperation | property | `RuntimeBindingOperationExecutor \| undefined` | no | |
954
954
  | onDiagnostics | property | `((diagnostics: readonly DataSourceDiagnostic[]) => void) \| undefined` | no | |
955
955
  | operationResults | property | `Readonly<Record<string, import("/Users/a_rtiphishl_e/git/runtime/node_modules/@ankhorage/contracts/dist/bindings").BindingValue \| undefined>> \| undefined` | no | |
956
- | registry | property | `ComponentRegistry \| undefined` | no | |
956
+ | registry | property | `Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> \| undefined` | no | |
957
957
  | resolveNodeProps | property | `RuntimeNodePropsResolver \| undefined` | no | |
958
958
  | stateAdapter | property | `StateAdapter \| undefined` | no | |
959
959
  | wrapNode | property | `((args: RuntimeRendererWrapArgs) => React.ReactNode) \| undefined` | no | |
@@ -963,7 +963,7 @@ Source: `src/RuntimeRendererConfig.tsx:45:1`
963
963
 
964
964
  Kind: `function`
965
965
  Module: `src/RuntimeRendererConfig.tsx`
966
- Source: `src/RuntimeRendererConfig.tsx:149:1`
966
+ Source: `src/RuntimeRendererConfig.tsx:152:1`
967
967
 
968
968
  ### Signatures
969
969
 
@@ -975,7 +975,7 @@ Source: `src/RuntimeRendererConfig.tsx:149:1`
975
975
 
976
976
  Kind: `type`
977
977
  Module: `src/RuntimeRenderer.tsx`
978
- Source: `src/RuntimeRenderer.tsx:50:1`
978
+ Source: `src/RuntimeRenderer.tsx:49:1`
979
979
 
980
980
  ### Members
981
981
 
@@ -993,7 +993,7 @@ Source: `src/RuntimeRenderer.tsx:50:1`
993
993
  | node | property | `UiNode` | yes | |
994
994
  | onDiagnostics | property | `((diagnostics: readonly DataSourceDiagnostic[]) => void) \| undefined` | no | |
995
995
  | operationResults | property | `Readonly<Record<string, BindingValue \| undefined>> \| undefined` | no | |
996
- | registry | property | `ComponentRegistry \| undefined` | no | |
996
+ | registry | property | `Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> \| undefined` | no | |
997
997
  | stateAdapter | property | `StateAdapter \| undefined` | no | |
998
998
  | wrapNode | property | `((args: RuntimeRendererWrapArgs) => React.ReactNode) \| undefined` | no | |
999
999
 
@@ -1001,7 +1001,7 @@ Source: `src/RuntimeRenderer.tsx:50:1`
1001
1001
 
1002
1002
  Kind: `type`
1003
1003
  Module: `src/RuntimeRendererConfig.tsx`
1004
- Source: `src/RuntimeRendererConfig.tsx:27:1`
1004
+ Source: `src/RuntimeRendererConfig.tsx:30:1`
1005
1005
 
1006
1006
  ### Members
1007
1007
 
@@ -1073,12 +1073,12 @@ Source: `src/RuntimeScreen.tsx:17:1`
1073
1073
 
1074
1074
  ### Members
1075
1075
 
1076
- | Name | Kind | Type | Required | Description |
1077
- | ------------ | -------- | -------------------------------- | -------- | ----------- |
1078
- | manifest | property | `AppManifest` | yes | |
1079
- | registry | property | `ComponentRegistry \| undefined` | no | |
1080
- | screen | property | `ScreenSpec` | yes | |
1081
- | stateAdapter | property | `StateAdapter \| undefined` | no | |
1076
+ | Name | Kind | Type | Required | Description |
1077
+ | ------------ | -------- | -------------------------------------------------------------------------------------------------- | -------- | ----------- |
1078
+ | manifest | property | `AppManifest` | yes | |
1079
+ | registry | property | `Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> \| undefined` | no | |
1080
+ | screen | property | `ScreenSpec` | yes | |
1081
+ | stateAdapter | property | `StateAdapter \| undefined` | no | |
1082
1082
 
1083
1083
  ## shouldRenderRuntimeRepeatEmptyState
1084
1084
 
@@ -1092,12 +1092,6 @@ Source: `src/runtimeRepeatEmptyState.ts:3:1`
1092
1092
  - args: `{ readonly diagnostics?: readonly DataSourceDiagnostic[]; readonly items?: readonly BindingValue[]; readonly status?: "pending" | "ready"; }`
1093
1093
  - returns: `boolean`
1094
1094
 
1095
- ## SURFACE_COMPONENT_REGISTRY
1096
-
1097
- Kind: `value`
1098
- Module: `src/registry.tsx`
1099
- Source: `src/registry.tsx:51:14`
1100
-
1101
1095
  ## useManifest
1102
1096
 
1103
1097
  Kind: `function`
@@ -1147,7 +1141,7 @@ Source: `src/runtimeApiLoaders.ts:125:1`
1147
1141
 
1148
1142
  Kind: `function`
1149
1143
  Module: `src/RuntimeRendererConfig.tsx`
1150
- Source: `src/RuntimeRendererConfig.tsx:164:1`
1144
+ Source: `src/RuntimeRendererConfig.tsx:167:1`
1151
1145
 
1152
1146
  ### Signatures
1153
1147
 
@@ -1190,9 +1184,3 @@ Source: `src/runtimeActionRegistry.ts:180:1`
1190
1184
  - `(args: RuntimeEventPropWrapArgs) => Record<string, unknown>`
1191
1185
  - args: `RuntimeEventPropWrapArgs`
1192
1186
  - returns: `Record<string, unknown>`
1193
-
1194
- ## ZORA_COMPONENT_REGISTRY
1195
-
1196
- Kind: `value`
1197
- Module: `src/registry.tsx`
1198
- Source: `src/registry.tsx:95:14`