@ankhorage/runtime 0.2.3 → 0.3.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.map +1 -1
- package/dist/RuntimeRenderer.js +0 -2
- package/dist/RuntimeRenderer.js.map +1 -1
- package/dist/componentRegistry.d.ts +1 -1
- package/dist/componentRegistry.d.ts.map +1 -1
- package/dist/componentRegistry.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/registry.d.ts +0 -4
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +0 -47
- package/dist/registry.js.map +1 -1
- package/dist/rendering.d.ts +0 -1
- package/dist/rendering.d.ts.map +1 -1
- package/dist/rendering.js +4 -3
- package/dist/rendering.js.map +1 -1
- package/package.json +2 -8
- package/paradox/badges/npm.svg +3 -3
- package/paradox/components.md +1 -1
- package/paradox/diagrams/architecture-overview.mmd +1 -6
- package/paradox/diagrams/export-graph.mmd +0 -11
- package/paradox/diagrams/module-relationships.mmd +1 -5
- package/paradox/exports.json +10 -66
- package/paradox/exports.md +13 -31
- package/paradox/index.html +69 -173
- package/paradox/paradox.json +78 -168
- package/dist/appExtensionRegistry.d.ts +0 -3
- package/dist/appExtensionRegistry.d.ts.map +0 -1
- package/dist/appExtensionRegistry.js +0 -2
- package/dist/appExtensionRegistry.js.map +0 -1
package/paradox/exports.json
CHANGED
|
@@ -1,22 +1,4 @@
|
|
|
1
1
|
[
|
|
2
|
-
{
|
|
3
|
-
"name": "APP_EXTENSION_COMPONENT_REGISTRY",
|
|
4
|
-
"description": null,
|
|
5
|
-
"isReadme": false,
|
|
6
|
-
"examples": [],
|
|
7
|
-
"kind": "value",
|
|
8
|
-
"modulePath": "src/appExtensionRegistry.ts",
|
|
9
|
-
"sourceLocation": {
|
|
10
|
-
"filePath": "src/appExtensionRegistry.ts",
|
|
11
|
-
"line": 3,
|
|
12
|
-
"column": 14
|
|
13
|
-
},
|
|
14
|
-
"exportPaths": ["src/index.ts"],
|
|
15
|
-
"relatedSymbols": [],
|
|
16
|
-
"signatures": [],
|
|
17
|
-
"members": [],
|
|
18
|
-
"structuredRows": []
|
|
19
|
-
},
|
|
20
2
|
{
|
|
21
3
|
"name": "ComponentRegistry",
|
|
22
4
|
"description": null,
|
|
@@ -156,19 +138,19 @@
|
|
|
156
138
|
"column": 1
|
|
157
139
|
},
|
|
158
140
|
"exportPaths": ["src/index.ts"],
|
|
159
|
-
"relatedSymbols": [
|
|
141
|
+
"relatedSymbols": [],
|
|
160
142
|
"signatures": [
|
|
161
143
|
{
|
|
162
|
-
"label": "(registries?: readonly
|
|
144
|
+
"label": "(registries?: readonly Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>[]) => Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>",
|
|
163
145
|
"parameters": [
|
|
164
146
|
{
|
|
165
147
|
"name": "registries",
|
|
166
|
-
"type": "readonly
|
|
148
|
+
"type": "readonly Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>[]",
|
|
167
149
|
"required": false,
|
|
168
150
|
"description": null
|
|
169
151
|
}
|
|
170
152
|
],
|
|
171
|
-
"returnType": "
|
|
153
|
+
"returnType": "Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>",
|
|
172
154
|
"returnDescription": null
|
|
173
155
|
}
|
|
174
156
|
],
|
|
@@ -2746,7 +2728,7 @@
|
|
|
2746
2728
|
"modulePath": "src/RuntimeRenderer.tsx",
|
|
2747
2729
|
"sourceLocation": {
|
|
2748
2730
|
"filePath": "src/RuntimeRenderer.tsx",
|
|
2749
|
-
"line":
|
|
2731
|
+
"line": 67,
|
|
2750
2732
|
"column": 1
|
|
2751
2733
|
},
|
|
2752
2734
|
"exportPaths": ["src/index.ts"],
|
|
@@ -2783,7 +2765,6 @@
|
|
|
2783
2765
|
},
|
|
2784
2766
|
"exportPaths": ["src/index.ts"],
|
|
2785
2767
|
"relatedSymbols": [
|
|
2786
|
-
"ComponentRegistry",
|
|
2787
2768
|
"RuntimeActionHandler",
|
|
2788
2769
|
"RuntimeActionHandlers",
|
|
2789
2770
|
"RuntimeBindingOperationExecutor",
|
|
@@ -2873,7 +2854,7 @@
|
|
|
2873
2854
|
{
|
|
2874
2855
|
"name": "registry",
|
|
2875
2856
|
"kind": "property",
|
|
2876
|
-
"type": "
|
|
2857
|
+
"type": "Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> | undefined",
|
|
2877
2858
|
"required": false,
|
|
2878
2859
|
"description": null
|
|
2879
2860
|
},
|
|
@@ -2949,12 +2930,11 @@
|
|
|
2949
2930
|
"modulePath": "src/RuntimeRenderer.tsx",
|
|
2950
2931
|
"sourceLocation": {
|
|
2951
2932
|
"filePath": "src/RuntimeRenderer.tsx",
|
|
2952
|
-
"line":
|
|
2933
|
+
"line": 49,
|
|
2953
2934
|
"column": 1
|
|
2954
2935
|
},
|
|
2955
2936
|
"exportPaths": ["src/index.ts"],
|
|
2956
2937
|
"relatedSymbols": [
|
|
2957
|
-
"ComponentRegistry",
|
|
2958
2938
|
"RuntimeActionHandler",
|
|
2959
2939
|
"RuntimeBindingOperationExecutor",
|
|
2960
2940
|
"RuntimeRendererConfig",
|
|
@@ -3049,7 +3029,7 @@
|
|
|
3049
3029
|
{
|
|
3050
3030
|
"name": "registry",
|
|
3051
3031
|
"kind": "property",
|
|
3052
|
-
"type": "
|
|
3032
|
+
"type": "Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> | undefined",
|
|
3053
3033
|
"required": false,
|
|
3054
3034
|
"description": null
|
|
3055
3035
|
},
|
|
@@ -3275,7 +3255,7 @@
|
|
|
3275
3255
|
"column": 1
|
|
3276
3256
|
},
|
|
3277
3257
|
"exportPaths": ["src/index.ts"],
|
|
3278
|
-
"relatedSymbols": [
|
|
3258
|
+
"relatedSymbols": [],
|
|
3279
3259
|
"signatures": [],
|
|
3280
3260
|
"members": [
|
|
3281
3261
|
{
|
|
@@ -3288,7 +3268,7 @@
|
|
|
3288
3268
|
{
|
|
3289
3269
|
"name": "registry",
|
|
3290
3270
|
"kind": "property",
|
|
3291
|
-
"type": "
|
|
3271
|
+
"type": "Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> | undefined",
|
|
3292
3272
|
"required": false,
|
|
3293
3273
|
"description": null
|
|
3294
3274
|
},
|
|
@@ -3341,24 +3321,6 @@
|
|
|
3341
3321
|
"members": [],
|
|
3342
3322
|
"structuredRows": []
|
|
3343
3323
|
},
|
|
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
3324
|
{
|
|
3363
3325
|
"name": "useManifest",
|
|
3364
3326
|
"description": null,
|
|
@@ -3597,23 +3559,5 @@
|
|
|
3597
3559
|
],
|
|
3598
3560
|
"members": [],
|
|
3599
3561
|
"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
3562
|
}
|
|
3619
3563
|
]
|
package/paradox/exports.md
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
# Public API
|
|
2
2
|
|
|
3
|
-
## APP_EXTENSION_COMPONENT_REGISTRY
|
|
4
|
-
|
|
5
|
-
Kind: `value`
|
|
6
|
-
Module: `src/appExtensionRegistry.ts`
|
|
7
|
-
Source: `src/appExtensionRegistry.ts:3:14`
|
|
8
|
-
|
|
9
3
|
## ComponentRegistry
|
|
10
4
|
|
|
11
5
|
Kind: `unknown`
|
|
@@ -58,9 +52,9 @@ Source: `src/componentRegistry.ts:5:1`
|
|
|
58
52
|
|
|
59
53
|
### Signatures
|
|
60
54
|
|
|
61
|
-
- `(registries?: readonly
|
|
62
|
-
- registries: `readonly
|
|
63
|
-
- returns: `
|
|
55
|
+
- `(registries?: readonly Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>[]) => Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>`
|
|
56
|
+
- registries: `readonly Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>[]` (optional)
|
|
57
|
+
- returns: `Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>>`
|
|
64
58
|
|
|
65
59
|
## createDbPersistActionHandler
|
|
66
60
|
|
|
@@ -924,7 +918,7 @@ Source: `node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts:6:1`
|
|
|
924
918
|
|
|
925
919
|
Kind: `function`
|
|
926
920
|
Module: `src/RuntimeRenderer.tsx`
|
|
927
|
-
Source: `src/RuntimeRenderer.tsx:
|
|
921
|
+
Source: `src/RuntimeRenderer.tsx:67:1`
|
|
928
922
|
|
|
929
923
|
### Signatures
|
|
930
924
|
|
|
@@ -953,7 +947,7 @@ Source: `src/RuntimeRendererConfig.tsx:48:1`
|
|
|
953
947
|
| executeOperation | property | `RuntimeBindingOperationExecutor \| undefined` | no | |
|
|
954
948
|
| onDiagnostics | property | `((diagnostics: readonly DataSourceDiagnostic[]) => void) \| undefined` | no | |
|
|
955
949
|
| 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 | `
|
|
950
|
+
| registry | property | `Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> \| undefined` | no | |
|
|
957
951
|
| resolveNodeProps | property | `RuntimeNodePropsResolver \| undefined` | no | |
|
|
958
952
|
| stateAdapter | property | `StateAdapter \| undefined` | no | |
|
|
959
953
|
| wrapNode | property | `((args: RuntimeRendererWrapArgs) => React.ReactNode) \| undefined` | no | |
|
|
@@ -975,7 +969,7 @@ Source: `src/RuntimeRendererConfig.tsx:152:1`
|
|
|
975
969
|
|
|
976
970
|
Kind: `type`
|
|
977
971
|
Module: `src/RuntimeRenderer.tsx`
|
|
978
|
-
Source: `src/RuntimeRenderer.tsx:
|
|
972
|
+
Source: `src/RuntimeRenderer.tsx:49:1`
|
|
979
973
|
|
|
980
974
|
### Members
|
|
981
975
|
|
|
@@ -993,7 +987,7 @@ Source: `src/RuntimeRenderer.tsx:50:1`
|
|
|
993
987
|
| node | property | `UiNode` | yes | |
|
|
994
988
|
| onDiagnostics | property | `((diagnostics: readonly DataSourceDiagnostic[]) => void) \| undefined` | no | |
|
|
995
989
|
| operationResults | property | `Readonly<Record<string, BindingValue \| undefined>> \| undefined` | no | |
|
|
996
|
-
| registry | property | `
|
|
990
|
+
| registry | property | `Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> \| undefined` | no | |
|
|
997
991
|
| stateAdapter | property | `StateAdapter \| undefined` | no | |
|
|
998
992
|
| wrapNode | property | `((args: RuntimeRendererWrapArgs) => React.ReactNode) \| undefined` | no | |
|
|
999
993
|
|
|
@@ -1073,12 +1067,12 @@ Source: `src/RuntimeScreen.tsx:17:1`
|
|
|
1073
1067
|
|
|
1074
1068
|
### Members
|
|
1075
1069
|
|
|
1076
|
-
| Name | Kind | Type
|
|
1077
|
-
| ------------ | -------- |
|
|
1078
|
-
| manifest | property | `AppManifest`
|
|
1079
|
-
| registry | property | `
|
|
1080
|
-
| screen | property | `ScreenSpec`
|
|
1081
|
-
| stateAdapter | property | `StateAdapter \| undefined`
|
|
1070
|
+
| Name | Kind | Type | Required | Description |
|
|
1071
|
+
| ------------ | -------- | -------------------------------------------------------------------------------------------------- | -------- | ----------- |
|
|
1072
|
+
| manifest | property | `AppManifest` | yes | |
|
|
1073
|
+
| registry | property | `Readonly<Record<string, React.ElementType<any, keyof React.JSX.IntrinsicElements>>> \| undefined` | no | |
|
|
1074
|
+
| screen | property | `ScreenSpec` | yes | |
|
|
1075
|
+
| stateAdapter | property | `StateAdapter \| undefined` | no | |
|
|
1082
1076
|
|
|
1083
1077
|
## shouldRenderRuntimeRepeatEmptyState
|
|
1084
1078
|
|
|
@@ -1092,12 +1086,6 @@ Source: `src/runtimeRepeatEmptyState.ts:3:1`
|
|
|
1092
1086
|
- args: `{ readonly diagnostics?: readonly DataSourceDiagnostic[]; readonly items?: readonly BindingValue[]; readonly status?: "pending" | "ready"; }`
|
|
1093
1087
|
- returns: `boolean`
|
|
1094
1088
|
|
|
1095
|
-
## SURFACE_COMPONENT_REGISTRY
|
|
1096
|
-
|
|
1097
|
-
Kind: `value`
|
|
1098
|
-
Module: `src/registry.tsx`
|
|
1099
|
-
Source: `src/registry.tsx:51:14`
|
|
1100
|
-
|
|
1101
1089
|
## useManifest
|
|
1102
1090
|
|
|
1103
1091
|
Kind: `function`
|
|
@@ -1190,9 +1178,3 @@ Source: `src/runtimeActionRegistry.ts:180:1`
|
|
|
1190
1178
|
- `(args: RuntimeEventPropWrapArgs) => Record<string, unknown>`
|
|
1191
1179
|
- args: `RuntimeEventPropWrapArgs`
|
|
1192
1180
|
- 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`
|