@ankhorage/runtime 0.2.0 → 0.2.2

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @ankhorage/runtime
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - c1315d1: Update package command metadata.
8
+
9
+ ## 0.2.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 21fd6e9: Consume and re-export shared runtime callback contracts from `@ankhorage/contracts/runtime`.
14
+
3
15
  ## 0.2.0
4
16
 
5
17
  ### Minor Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # @ankhorage/runtime
5
5
 
6
- ![license: MIT](./paradox/badges/license.svg) ![npm: v0.1.1](./paradox/badges/npm.svg) ![runtime: bun](./paradox/badges/runtime.svg) ![typescript: strict](./paradox/badges/typescript.svg) ![eslint: checked](./paradox/badges/eslint.svg) ![prettier: checked](./paradox/badges/prettier.svg) ![build: checked](./paradox/badges/build.svg) ![tests: checked](./paradox/badges/tests.svg) ![docs: paradox](./paradox/badges/docs.svg)
6
+ ![license: MIT](./paradox/badges/license.svg) ![npm: v0.2.0](./paradox/badges/npm.svg) ![runtime: bun](./paradox/badges/runtime.svg) ![typescript: strict](./paradox/badges/typescript.svg) ![eslint: checked](./paradox/badges/eslint.svg) ![prettier: checked](./paradox/badges/prettier.svg) ![build: checked](./paradox/badges/build.svg) ![tests: checked](./paradox/badges/tests.svg) ![docs: paradox](./paradox/badges/docs.svg)
7
7
 
8
8
  Platform-neutral runtime contracts and helpers for Ankhorage generated apps.
9
9
 
@@ -1,17 +1,14 @@
1
1
  import type { Action, ComponentDataBindingRegistry, ComponentEventDto, DataSourceDiagnostic, DataSourceRegistry, DbAdapter, DbRealtimeAdapter, StateAdapter, UiNode } from '@ankhorage/contracts';
2
+ import type { RuntimeNodePropsResolver } from '@ankhorage/contracts/runtime';
2
3
  import React from 'react';
3
4
  import type { ComponentRegistry } from './registry';
4
5
  import type { RuntimeBindingOperationExecutor, RuntimeBindingOperationResultCache, RuntimeBindingOperationResultWriter } from './runtimeBindings';
6
+ export type { RuntimeNodePropsResolver, RuntimeResolveNodePropsArgs, } from '@ankhorage/contracts/runtime';
5
7
  export interface RuntimeRendererWrapArgs {
6
8
  node: UiNode;
7
9
  rendered: React.ReactNode;
8
10
  isRoot: boolean;
9
11
  }
10
- export interface RuntimeResolveNodePropsArgs {
11
- node: UiNode;
12
- props: Record<string, unknown>;
13
- }
14
- export type RuntimeNodePropsResolver = (args: RuntimeResolveNodePropsArgs) => Record<string, unknown>;
15
12
  export interface RuntimeActionHandlerArgs {
16
13
  action: RuntimeAction;
17
14
  event?: ComponentEventDto<string, object>;
@@ -1 +1 @@
1
- {"version":3,"file":"RuntimeRendererConfig.d.ts","sourceRoot":"","sources":["../src/RuntimeRendererConfig.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,4BAA4B,EAC5B,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,SAAS,EACT,iBAAiB,EACjB,YAAY,EACZ,MAAM,EACP,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAoC,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,EACV,+BAA+B,EAC/B,kCAAkC,EAClC,mCAAmC,EACpC,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC;AAED,MAAM,MAAM,wBAAwB,GAAG,CACrC,IAAI,EAA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Ae,CAAC,CAAC;IAExE,OAAO,CACL,CAAC,4BAA4B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CACzD;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,4BAA4B,CAAC,QAAQ,CAAC,CACzC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wBAAwB;IACtC,OAAO,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAClD,CAAC;AAED,SAAS,iBAAiB,CACxB,SAAuD,EACvD,KAAmD;IAEnD,IAAI,CAAC,SAAS,IAAI,CAAC,KAAK;QAAE,OAAO,SAAS,CAAC;IAE3C,OAAO;QACL,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC;QACpB,GAAG,CAAC,KAAK,IAAI,EAAE,CAAC;KACjB,CAAC;AACJ,CAAC","sourcesContent":["import type {\n Action,\n ComponentDataBindingRegistry,\n ComponentEventDto,\n DataSourceDiagnostic,\n DataSourceRegistry,\n DbAdapter,\n DbRealtimeAdapter,\n StateAdapter,\n UiNode,\n} from '@ankhorage/contracts';\nimport React, { createContext, useContext } from 'react';\n\nimport type { ComponentRegistry } from './registry';\nimport type {\n RuntimeBindingOperationExecutor,\n RuntimeBindingOperationResultCache,\n RuntimeBindingOperationResultWriter,\n} from './runtimeBindings';\n\nexport interface RuntimeRendererWrapArgs {\n node: UiNode;\n rendered: React.ReactNode;\n isRoot: boolean;\n}\n\nexport interface RuntimeResolveNodePropsArgs {\n node: UiNode;\n props: Record<string, unknown>;\n}\n\nexport type RuntimeNodePropsResolver = (\n args: RuntimeResolveNodePropsArgs,\n) => Record<string, unknown>;\n\nexport interface RuntimeActionHandlerArgs {\n action: RuntimeAction;\n event?: ComponentEventDto<string, object>;\n node?: UiNode;\n resolvedPayload?: object;\n}\n\nexport type RuntimeAction = Action | { readonly type: string; readonly payload?: object };\nexport type RuntimeActionHandler = (args: RuntimeActionHandlerArgs) => Promise<void> | void;\nexport type RuntimeActionHandlers = Record<string, RuntimeActionHandler>;\nexport type RuntimeActionExecutor = RuntimeActionHandler;\n\nexport interface RuntimeRendererConfig {\n disableActions?: boolean;\n registry?: ComponentRegistry;\n wrapNode?: (args: RuntimeRendererWrapArgs) => React.ReactNode;\n resolveNodeProps?: RuntimeNodePropsResolver;\n actionHandlers?: RuntimeActionHandlers;\n dbAdapter?: DbAdapter;\n dbRealtimeAdapter?: DbRealtimeAdapter;\n stateAdapter?: StateAdapter;\n bindingContext?: Record<string, unknown>;\n dataSources?: DataSourceRegistry;\n dataBindings?: ComponentDataBindingRegistry;\n operationResults?: RuntimeBindingOperationResultCache;\n writeOperationResult?: RuntimeBindingOperationResultWriter;\n executeAction?: RuntimeActionExecutor;\n executeOperation?: RuntimeBindingOperationExecutor;\n onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void;\n}\n\nconst EMPTY_RUNTIME_RENDERER_CONFIG: RuntimeRendererConfig = {};\n\nconst RuntimeRendererConfigContext = createContext<RuntimeRendererConfig>(\n EMPTY_RUNTIME_RENDERER_CONFIG,\n);\n\nexport function composeRuntimeRendererWrapNode(\n innerWrapNode?: RuntimeRendererConfig['wrapNode'],\n outerWrapNode?: RuntimeRendererConfig['wrapNode'],\n): RuntimeRendererConfig['wrapNode'] {\n if (!innerWrapNode) {\n return outerWrapNode;\n }\n\n if (!outerWrapNode) {\n return innerWrapNode;\n }\n\n return (args) => outerWrapNode({ ...args, rendered: innerWrapNode(args) });\n}\n\nexport function composeRuntimeNodePropsResolver(\n localResolver?: RuntimeRendererConfig['resolveNodeProps'],\n inheritedResolver?: RuntimeRendererConfig['resolveNodeProps'],\n): RuntimeRendererConfig['resolveNodeProps'] {\n if (!localResolver) {\n return inheritedResolver;\n }\n\n if (!inheritedResolver) {\n return localResolver;\n }\n\n return (args) => {\n const inheritedProps = inheritedResolver(args);\n return localResolver({ ...args, props: inheritedProps });\n };\n}\n\nexport function mergeRuntimeRendererConfig(\n localConfig: RuntimeRendererConfig | undefined,\n inheritedConfig: RuntimeRendererConfig | undefined,\n): RuntimeRendererConfig {\n if (!localConfig && !inheritedConfig) {\n return EMPTY_RUNTIME_RENDERER_CONFIG;\n }\n\n const actionHandlers = mergeRecordConfig(\n inheritedConfig?.actionHandlers,\n localConfig?.actionHandlers,\n );\n const bindingContext = mergeRecordConfig(\n inheritedConfig?.bindingContext,\n localConfig?.bindingContext,\n );\n const operationResults = mergeRecordConfig(\n inheritedConfig?.operationResults,\n localConfig?.operationResults,\n );\n\n return {\n disableActions:\n localConfig?.disableActions === true || inheritedConfig?.disableActions === true,\n registry: localConfig?.registry ?? inheritedConfig?.registry,\n wrapNode: composeRuntimeRendererWrapNode(localConfig?.wrapNode, inheritedConfig?.wrapNode),\n resolveNodeProps: composeRuntimeNodePropsResolver(\n localConfig?.resolveNodeProps,\n inheritedConfig?.resolveNodeProps,\n ),\n actionHandlers,\n dbAdapter: localConfig?.dbAdapter ?? inheritedConfig?.dbAdapter,\n dbRealtimeAdapter: localConfig?.dbRealtimeAdapter ?? inheritedConfig?.dbRealtimeAdapter,\n stateAdapter: localConfig?.stateAdapter ?? inheritedConfig?.stateAdapter,\n bindingContext,\n dataSources: localConfig?.dataSources ?? inheritedConfig?.dataSources,\n dataBindings: localConfig?.dataBindings ?? inheritedConfig?.dataBindings,\n operationResults,\n writeOperationResult:\n localConfig?.writeOperationResult ?? inheritedConfig?.writeOperationResult,\n executeAction: localConfig?.executeAction ?? inheritedConfig?.executeAction,\n executeOperation: localConfig?.executeOperation ?? inheritedConfig?.executeOperation,\n onDiagnostics: localConfig?.onDiagnostics ?? inheritedConfig?.onDiagnostics,\n };\n}\n\nexport function RuntimeRendererConfigProvider(props: {\n value: RuntimeRendererConfig;\n children: React.ReactNode;\n}) {\n const { value, children } = props;\n const inheritedConfig = useContext(RuntimeRendererConfigContext);\n const mergedConfig = mergeRuntimeRendererConfig(value, inheritedConfig);\n\n return (\n <RuntimeRendererConfigContext.Provider value={mergedConfig}>\n {children}\n </RuntimeRendererConfigContext.Provider>\n );\n}\n\nexport function useRuntimeRendererConfig(): RuntimeRendererConfig {\n return useContext(RuntimeRendererConfigContext);\n}\n\nfunction mergeRecordConfig<TValue>(\n inherited: Readonly<Record<string, TValue>> | undefined,\n local: Readonly<Record<string, TValue>> | undefined,\n): Record<string, TValue> | undefined {\n if (!inherited && !local) return undefined;\n\n return {\n ...(inherited ?? {}),\n ...(local ?? {}),\n };\n}\n"]}
1
+ {"version":3,"file":"RuntimeRendererConfig.js","sourceRoot":"","sources":["../src/RuntimeRendererConfig.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAmDzD,MAAM,6BAA6B,GAA0B,EAAE,CAAC;AAEhE,MAAM,4BAA4B,GAAG,aAAa,CAChD,6BAA6B,CAC9B,CAAC;AAEF,MAAM,UAAU,8BAA8B,CAC5C,aAAiD,EACjD,aAAiD;IAEjD,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,IAAI,EAAE,QAAQ,EAAE,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC7E,CAAC;AAED,MAAM,UAAU,+BAA+B,CAC7C,aAAyD,EACzD,iBAA6D;IAE7D,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,OAAO,iBAAiB,CAAC;IAC3B,CAAC;IAED,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACvB,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,OAAO,CAAC,IAAI,EAAE,EAAE;QACd,MAAM,cAAc,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;QAC/C,OAAO,aAAa,CAAC,EAAE,GAAG,IAAI,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC,CAAC;IAC3D,C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E,aAAa,IAAI,eAAe,EAAE,aAAa;QAC3E,gBAAgB,EAAE,WAAW,EAAE,gBAAgB,IAAI,eAAe,EAAE,gBAAgB;QACpF,aAAa,EAAE,WAAW,EAAE,aAAa,IAAI,eAAe,EAAE,aAAa;KAC5E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,KAG7C;IACC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAClC,MAAM,eAAe,GAAG,UAAU,CAAC,4BAA4B,CAAC,CAAC;IACjE,MAAM,YAAY,GAAG,0BAA0B,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC;IAExE,OAAO,CACL,CAAC,4BAA4B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CACzD;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,4BAA4B,CAAC,QAAQ,CAAC,CACzC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wBAAwB;IACtC,OAAO,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAClD,CAAC;AAED,SAAS,iBAAiB,CACxB,SAAuD,EACvD,KAAmD;IAEnD,IAAI,CAAC,SAAS,IAAI,CAAC,KAAK;QAAE,OAAO,SAAS,CAAC;IAE3C,OAAO;QACL,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC;QACpB,GAAG,CAAC,KAAK,IAAI,EAAE,CAAC;KACjB,CAAC;AACJ,CAAC","sourcesContent":["import type {\n Action,\n ComponentDataBindingRegistry,\n ComponentEventDto,\n DataSourceDiagnostic,\n DataSourceRegistry,\n DbAdapter,\n DbRealtimeAdapter,\n StateAdapter,\n UiNode,\n} from '@ankhorage/contracts';\nimport type {\n RuntimeNodePropsResolver,\n RuntimeResolveNodePropsArgs,\n} from '@ankhorage/contracts/runtime';\nimport React, { createContext, useContext } from 'react';\n\nimport type { ComponentRegistry } from './registry';\nimport type {\n RuntimeBindingOperationExecutor,\n RuntimeBindingOperationResultCache,\n RuntimeBindingOperationResultWriter,\n} from './runtimeBindings';\n\nexport type {\n RuntimeNodePropsResolver,\n RuntimeResolveNodePropsArgs,\n} from '@ankhorage/contracts/runtime';\n\nexport interface RuntimeRendererWrapArgs {\n node: UiNode;\n rendered: React.ReactNode;\n isRoot: boolean;\n}\n\nexport interface RuntimeActionHandlerArgs {\n action: RuntimeAction;\n event?: ComponentEventDto<string, object>;\n node?: UiNode;\n resolvedPayload?: object;\n}\n\nexport type RuntimeAction = Action | { readonly type: string; readonly payload?: object };\nexport type RuntimeActionHandler = (args: RuntimeActionHandlerArgs) => Promise<void> | void;\nexport type RuntimeActionHandlers = Record<string, RuntimeActionHandler>;\nexport type RuntimeActionExecutor = RuntimeActionHandler;\n\nexport interface RuntimeRendererConfig {\n disableActions?: boolean;\n registry?: ComponentRegistry;\n wrapNode?: (args: RuntimeRendererWrapArgs) => React.ReactNode;\n resolveNodeProps?: RuntimeNodePropsResolver;\n actionHandlers?: RuntimeActionHandlers;\n dbAdapter?: DbAdapter;\n dbRealtimeAdapter?: DbRealtimeAdapter;\n stateAdapter?: StateAdapter;\n bindingContext?: Record<string, unknown>;\n dataSources?: DataSourceRegistry;\n dataBindings?: ComponentDataBindingRegistry;\n operationResults?: RuntimeBindingOperationResultCache;\n writeOperationResult?: RuntimeBindingOperationResultWriter;\n executeAction?: RuntimeActionExecutor;\n executeOperation?: RuntimeBindingOperationExecutor;\n onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void;\n}\n\nconst EMPTY_RUNTIME_RENDERER_CONFIG: RuntimeRendererConfig = {};\n\nconst RuntimeRendererConfigContext = createContext<RuntimeRendererConfig>(\n EMPTY_RUNTIME_RENDERER_CONFIG,\n);\n\nexport function composeRuntimeRendererWrapNode(\n innerWrapNode?: RuntimeRendererConfig['wrapNode'],\n outerWrapNode?: RuntimeRendererConfig['wrapNode'],\n): RuntimeRendererConfig['wrapNode'] {\n if (!innerWrapNode) {\n return outerWrapNode;\n }\n\n if (!outerWrapNode) {\n return innerWrapNode;\n }\n\n return (args) => outerWrapNode({ ...args, rendered: innerWrapNode(args) });\n}\n\nexport function composeRuntimeNodePropsResolver(\n localResolver?: RuntimeRendererConfig['resolveNodeProps'],\n inheritedResolver?: RuntimeRendererConfig['resolveNodeProps'],\n): RuntimeRendererConfig['resolveNodeProps'] {\n if (!localResolver) {\n return inheritedResolver;\n }\n\n if (!inheritedResolver) {\n return localResolver;\n }\n\n return (args) => {\n const inheritedProps = inheritedResolver(args);\n return localResolver({ ...args, props: inheritedProps });\n };\n}\n\nexport function mergeRuntimeRendererConfig(\n localConfig: RuntimeRendererConfig | undefined,\n inheritedConfig: RuntimeRendererConfig | undefined,\n): RuntimeRendererConfig {\n if (!localConfig && !inheritedConfig) {\n return EMPTY_RUNTIME_RENDERER_CONFIG;\n }\n\n const actionHandlers = mergeRecordConfig(\n inheritedConfig?.actionHandlers,\n localConfig?.actionHandlers,\n );\n const bindingContext = mergeRecordConfig(\n inheritedConfig?.bindingContext,\n localConfig?.bindingContext,\n );\n const operationResults = mergeRecordConfig(\n inheritedConfig?.operationResults,\n localConfig?.operationResults,\n );\n\n return {\n disableActions:\n localConfig?.disableActions === true || inheritedConfig?.disableActions === true,\n registry: localConfig?.registry ?? inheritedConfig?.registry,\n wrapNode: composeRuntimeRendererWrapNode(localConfig?.wrapNode, inheritedConfig?.wrapNode),\n resolveNodeProps: composeRuntimeNodePropsResolver(\n localConfig?.resolveNodeProps,\n inheritedConfig?.resolveNodeProps,\n ),\n actionHandlers,\n dbAdapter: localConfig?.dbAdapter ?? inheritedConfig?.dbAdapter,\n dbRealtimeAdapter: localConfig?.dbRealtimeAdapter ?? inheritedConfig?.dbRealtimeAdapter,\n stateAdapter: localConfig?.stateAdapter ?? inheritedConfig?.stateAdapter,\n bindingContext,\n dataSources: localConfig?.dataSources ?? inheritedConfig?.dataSources,\n dataBindings: localConfig?.dataBindings ?? inheritedConfig?.dataBindings,\n operationResults,\n writeOperationResult:\n localConfig?.writeOperationResult ?? inheritedConfig?.writeOperationResult,\n executeAction: localConfig?.executeAction ?? inheritedConfig?.executeAction,\n executeOperation: localConfig?.executeOperation ?? inheritedConfig?.executeOperation,\n onDiagnostics: localConfig?.onDiagnostics ?? inheritedConfig?.onDiagnostics,\n };\n}\n\nexport function RuntimeRendererConfigProvider(props: {\n value: RuntimeRendererConfig;\n children: React.ReactNode;\n}) {\n const { value, children } = props;\n const inheritedConfig = useContext(RuntimeRendererConfigContext);\n const mergedConfig = mergeRuntimeRendererConfig(value, inheritedConfig);\n\n return (\n <RuntimeRendererConfigContext.Provider value={mergedConfig}>\n {children}\n </RuntimeRendererConfigContext.Provider>\n );\n}\n\nexport function useRuntimeRendererConfig(): RuntimeRendererConfig {\n return useContext(RuntimeRendererConfigContext);\n}\n\nfunction mergeRecordConfig<TValue>(\n inherited: Readonly<Record<string, TValue>> | undefined,\n local: Readonly<Record<string, TValue>> | undefined,\n): Record<string, TValue> | undefined {\n if (!inherited && !local) return undefined;\n\n return {\n ...(inherited ?? {}),\n ...(local ?? {}),\n };\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/runtime",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Platform-neutral runtime renderer, contracts, and helpers for Ankhorage generated apps.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -42,12 +42,7 @@
42
42
  "ankh": {
43
43
  "category": "runtime",
44
44
  "provider": null,
45
- "capabilities": [
46
- "runtime.render",
47
- "runtime.actions",
48
- "runtime.bindings",
49
- "runtime.adapters"
50
- ]
45
+ "capabilities": []
51
46
  },
52
47
  "scripts": {
53
48
  "build": "rm -rf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo && bun x tsc -p tsconfig.build.json",
@@ -64,7 +59,7 @@
64
59
  "version-packages": "changeset version"
65
60
  },
66
61
  "dependencies": {
67
- "@ankhorage/contracts": "^1.18.3",
62
+ "@ankhorage/contracts": "^1.19.2",
68
63
  "@ankhorage/data-sources": "^0.5.1",
69
64
  "@ankhorage/zora": "^2.8.1"
70
65
  },
@@ -1,7 +1,7 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="90" height="20" role="img" aria-label="npm: v0.1.1">
2
- <title>npm: v0.1.1</title>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="90" height="20" role="img" aria-label="npm: v0.2.0">
2
+ <title>npm: v0.2.0</title>
3
3
  <rect width="38" height="20" fill="#374151"/>
4
4
  <rect x="38" width="52" height="20" fill="#cb3837"/>
5
5
  <text x="19" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">npm</text>
6
- <text x="64" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">v0.1.1</text>
6
+ <text x="64" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">v0.2.0</text>
7
7
  </svg>
@@ -50,7 +50,7 @@ Export paths: `src/index.ts`
50
50
 
51
51
  ## RuntimeRendererConfigProvider
52
52
 
53
- Source: `src/RuntimeRendererConfig.tsx:152:1`
53
+ Source: `src/RuntimeRendererConfig.tsx:149:1`
54
54
 
55
55
  Export paths: `src/index.ts`
56
56
 
@@ -265,7 +265,7 @@ graph LR
265
265
  export_RuntimeMemoryStateAdapterOptions["RuntimeMemoryStateAdapterOptions"]
266
266
  module_src_runtimeStateAdapter_ts --> export_RuntimeMemoryStateAdapterOptions
267
267
  export_RuntimeNodePropsResolver["RuntimeNodePropsResolver"]
268
- module_src_RuntimeRendererConfig_tsx --> export_RuntimeNodePropsResolver
268
+ module_node_modules__ankhorage_contracts_dist_runtimeCallbacks_d_ts --> export_RuntimeNodePropsResolver
269
269
  export_RuntimeRenderer["RuntimeRenderer"]
270
270
  module_src_RuntimeRenderer_tsx --> export_RuntimeRenderer
271
271
  export_RuntimeRenderer -.-> export_RuntimeRendererProps
@@ -291,7 +291,7 @@ graph LR
291
291
  export_RuntimeRendererWrapArgs["RuntimeRendererWrapArgs"]
292
292
  module_src_RuntimeRendererConfig_tsx --> export_RuntimeRendererWrapArgs
293
293
  export_RuntimeResolveNodePropsArgs["RuntimeResolveNodePropsArgs"]
294
- module_src_RuntimeRendererConfig_tsx --> export_RuntimeResolveNodePropsArgs
294
+ module_node_modules__ankhorage_contracts_dist_runtimeCallbacks_d_ts --> export_RuntimeResolveNodePropsArgs
295
295
  export_RuntimeScreen["RuntimeScreen"]
296
296
  module_src_RuntimeScreen_tsx --> export_RuntimeScreen
297
297
  export_RuntimeScreen -.-> export_RuntimeScreenProps
@@ -44,7 +44,7 @@
44
44
  "modulePath": "src/RuntimeRendererConfig.tsx",
45
45
  "sourceLocation": {
46
46
  "filePath": "src/RuntimeRendererConfig.tsx",
47
- "line": 88,
47
+ "line": 85,
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": 73,
85
+ "line": 70,
86
86
  "column": 1
87
87
  },
88
88
  "exportPaths": ["src/index.ts"],
@@ -854,7 +854,7 @@
854
854
  "modulePath": "src/RuntimeRendererConfig.tsx",
855
855
  "sourceLocation": {
856
856
  "filePath": "src/RuntimeRendererConfig.tsx",
857
- "line": 106,
857
+ "line": 103,
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": 43,
1299
+ "line": 40,
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": 46,
1364
+ "line": 43,
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": 44,
1382
+ "line": 41,
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": 36,
1400
+ "line": 33,
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": 45,
1447
+ "line": 42,
1448
1448
  "column": 1
1449
1449
  },
1450
1450
  "exportPaths": ["src/index.ts"],
@@ -2725,10 +2725,10 @@
2725
2725
  "isReadme": false,
2726
2726
  "examples": [],
2727
2727
  "kind": "unknown",
2728
- "modulePath": "src/RuntimeRendererConfig.tsx",
2728
+ "modulePath": "node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts",
2729
2729
  "sourceLocation": {
2730
- "filePath": "src/RuntimeRendererConfig.tsx",
2731
- "line": 32,
2730
+ "filePath": "node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts",
2731
+ "line": 6,
2732
2732
  "column": 1
2733
2733
  },
2734
2734
  "exportPaths": ["src/index.ts"],
@@ -2778,7 +2778,7 @@
2778
2778
  "modulePath": "src/RuntimeRendererConfig.tsx",
2779
2779
  "sourceLocation": {
2780
2780
  "filePath": "src/RuntimeRendererConfig.tsx",
2781
- "line": 48,
2781
+ "line": 45,
2782
2782
  "column": 1
2783
2783
  },
2784
2784
  "exportPaths": ["src/index.ts"],
@@ -2917,7 +2917,7 @@
2917
2917
  "modulePath": "src/RuntimeRendererConfig.tsx",
2918
2918
  "sourceLocation": {
2919
2919
  "filePath": "src/RuntimeRendererConfig.tsx",
2920
- "line": 152,
2920
+ "line": 149,
2921
2921
  "column": 1
2922
2922
  },
2923
2923
  "exportPaths": ["src/index.ts"],
@@ -3079,7 +3079,7 @@
3079
3079
  "modulePath": "src/RuntimeRendererConfig.tsx",
3080
3080
  "sourceLocation": {
3081
3081
  "filePath": "src/RuntimeRendererConfig.tsx",
3082
- "line": 21,
3082
+ "line": 27,
3083
3083
  "column": 1
3084
3084
  },
3085
3085
  "exportPaths": ["src/index.ts"],
@@ -3116,10 +3116,10 @@
3116
3116
  "isReadme": false,
3117
3117
  "examples": [],
3118
3118
  "kind": "type",
3119
- "modulePath": "src/RuntimeRendererConfig.tsx",
3119
+ "modulePath": "node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts",
3120
3120
  "sourceLocation": {
3121
- "filePath": "src/RuntimeRendererConfig.tsx",
3122
- "line": 27,
3121
+ "filePath": "node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts",
3122
+ "line": 2,
3123
3123
  "column": 1
3124
3124
  },
3125
3125
  "exportPaths": ["src/index.ts"],
@@ -3475,7 +3475,7 @@
3475
3475
  "modulePath": "src/RuntimeRendererConfig.tsx",
3476
3476
  "sourceLocation": {
3477
3477
  "filePath": "src/RuntimeRendererConfig.tsx",
3478
- "line": 167,
3478
+ "line": 164,
3479
3479
  "column": 1
3480
3480
  },
3481
3481
  "exportPaths": ["src/index.ts"],
@@ -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:88:1`
19
+ Source: `src/RuntimeRendererConfig.tsx:85:1`
20
20
 
21
21
  ### Signatures
22
22
 
@@ -29,7 +29,7 @@ Source: `src/RuntimeRendererConfig.tsx:88:1`
29
29
 
30
30
  Kind: `function`
31
31
  Module: `src/RuntimeRendererConfig.tsx`
32
- Source: `src/RuntimeRendererConfig.tsx:73:1`
32
+ Source: `src/RuntimeRendererConfig.tsx:70:1`
33
33
 
34
34
  ### Signatures
35
35
 
@@ -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:106:1`
314
+ Source: `src/RuntimeRendererConfig.tsx:103: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:43:1`
467
+ Source: `src/RuntimeRendererConfig.tsx:40: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:46:1`
488
+ Source: `src/RuntimeRendererConfig.tsx:43:1`
489
489
 
490
490
  ## RuntimeActionHandler
491
491
 
492
492
  Kind: `unknown`
493
493
  Module: `src/RuntimeRendererConfig.tsx`
494
- Source: `src/RuntimeRendererConfig.tsx:44:1`
494
+ Source: `src/RuntimeRendererConfig.tsx:41:1`
495
495
 
496
496
  ## RuntimeActionHandlerArgs
497
497
 
498
498
  Kind: `type`
499
499
  Module: `src/RuntimeRendererConfig.tsx`
500
- Source: `src/RuntimeRendererConfig.tsx:36:1`
500
+ Source: `src/RuntimeRendererConfig.tsx:33:1`
501
501
 
502
502
  ### Members
503
503
 
@@ -512,7 +512,7 @@ Source: `src/RuntimeRendererConfig.tsx:36:1`
512
512
 
513
513
  Kind: `unknown`
514
514
  Module: `src/RuntimeRendererConfig.tsx`
515
- Source: `src/RuntimeRendererConfig.tsx:45:1`
515
+ Source: `src/RuntimeRendererConfig.tsx:42:1`
516
516
 
517
517
  ## RuntimeActionRegistry
518
518
 
@@ -917,8 +917,8 @@ Source: `src/runtimeStateAdapter.ts:14:1`
917
917
  ## RuntimeNodePropsResolver
918
918
 
919
919
  Kind: `unknown`
920
- Module: `src/RuntimeRendererConfig.tsx`
921
- Source: `src/RuntimeRendererConfig.tsx:32:1`
920
+ Module: `node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts`
921
+ Source: `node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts:6:1`
922
922
 
923
923
  ## RuntimeRenderer
924
924
 
@@ -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:48:1`
939
+ Source: `src/RuntimeRendererConfig.tsx:45:1`
940
940
 
941
941
  ### Members
942
942
 
@@ -963,7 +963,7 @@ Source: `src/RuntimeRendererConfig.tsx:48:1`
963
963
 
964
964
  Kind: `function`
965
965
  Module: `src/RuntimeRendererConfig.tsx`
966
- Source: `src/RuntimeRendererConfig.tsx:152:1`
966
+ Source: `src/RuntimeRendererConfig.tsx:149:1`
967
967
 
968
968
  ### Signatures
969
969
 
@@ -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:21:1`
1004
+ Source: `src/RuntimeRendererConfig.tsx:27:1`
1005
1005
 
1006
1006
  ### Members
1007
1007
 
@@ -1014,8 +1014,8 @@ Source: `src/RuntimeRendererConfig.tsx:21:1`
1014
1014
  ## RuntimeResolveNodePropsArgs
1015
1015
 
1016
1016
  Kind: `type`
1017
- Module: `src/RuntimeRendererConfig.tsx`
1018
- Source: `src/RuntimeRendererConfig.tsx:27:1`
1017
+ Module: `node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts`
1018
+ Source: `node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts:2:1`
1019
1019
 
1020
1020
  ### Members
1021
1021
 
@@ -1147,7 +1147,7 @@ Source: `src/runtimeApiLoaders.ts:125:1`
1147
1147
 
1148
1148
  Kind: `function`
1149
1149
  Module: `src/RuntimeRendererConfig.tsx`
1150
- Source: `src/RuntimeRendererConfig.tsx:167:1`
1150
+ Source: `src/RuntimeRendererConfig.tsx:164:1`
1151
1151
 
1152
1152
  ### Signatures
1153
1153
 
@@ -1032,6 +1032,65 @@
1032
1032
  <section class="panel">
1033
1033
  <h2>Public API</h2>
1034
1034
 
1035
+ <section>
1036
+ <h3>node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts</h3>
1037
+ <article
1038
+ class="item"
1039
+ id="symbol-runtimenodepropsresolver"
1040
+ data-search="RuntimeNodePropsResolver unknown node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts "
1041
+ >
1042
+ <h4>RuntimeNodePropsResolver</h4>
1043
+ <p class="muted">
1044
+ unknown •
1045
+ <code>node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts:6:1</code>
1046
+ </p>
1047
+
1048
+ <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
1049
+ <div><strong>Related symbols:</strong> <span class="empty">None</span></div>
1050
+ </article>
1051
+ <article
1052
+ class="item"
1053
+ id="symbol-runtimeresolvenodepropsargs"
1054
+ data-search="RuntimeResolveNodePropsArgs type node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts "
1055
+ >
1056
+ <h4>RuntimeResolveNodePropsArgs</h4>
1057
+ <p class="muted">
1058
+ type •
1059
+ <code>node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts:2:1</code>
1060
+ </p>
1061
+
1062
+ <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
1063
+ <div><strong>Related symbols:</strong> <span class="empty">None</span></div>
1064
+
1065
+ <table>
1066
+ <thead>
1067
+ <tr>
1068
+ <th>Member</th>
1069
+ <th>Kind</th>
1070
+ <th>Type</th>
1071
+ <th>Required</th>
1072
+ <th>Description</th>
1073
+ </tr>
1074
+ </thead>
1075
+ <tbody>
1076
+ <tr>
1077
+ <td><code>node</code></td>
1078
+ <td>property</td>
1079
+ <td><code>UiNode</code></td>
1080
+ <td>yes</td>
1081
+ <td></td>
1082
+ </tr>
1083
+ <tr>
1084
+ <td><code>props</code></td>
1085
+ <td>property</td>
1086
+ <td><code>Record&lt;string, unknown&gt;</code></td>
1087
+ <td>yes</td>
1088
+ <td></td>
1089
+ </tr>
1090
+ </tbody>
1091
+ </table>
1092
+ </article>
1093
+ </section>
1035
1094
  <section>
1036
1095
  <h3>src/appExtensionRegistry.ts</h3>
1037
1096
  <article
@@ -4214,7 +4273,7 @@
4214
4273
  data-search="composeRuntimeNodePropsResolver function src/RuntimeRendererConfig.tsx RuntimeNodePropsResolver (localResolver?: RuntimeNodePropsResolver | undefined, inheritedResolver?: RuntimeNodePropsResolver | undefined) =&gt; RuntimeNodePropsResolver | undefined"
4215
4274
  >
4216
4275
  <h4>composeRuntimeNodePropsResolver</h4>
4217
- <p class="muted">function • <code>src/RuntimeRendererConfig.tsx:88:1</code></p>
4276
+ <p class="muted">function • <code>src/RuntimeRendererConfig.tsx:85:1</code></p>
4218
4277
 
4219
4278
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4220
4279
  <div>
@@ -4260,7 +4319,7 @@
4260
4319
  data-search="composeRuntimeRendererWrapNode function src/RuntimeRendererConfig.tsx RuntimeRendererWrapArgs (innerWrapNode?: ((args: RuntimeRendererWrapArgs) =&gt; React.ReactNode) | undefined, outerWrapNode?: ((args: RuntimeRendererWrapArgs) =&gt; React.ReactNode) | undefined) =&gt; ((args: RuntimeRendererWrapArgs) =&gt; React.ReactNode) | undefined"
4261
4320
  >
4262
4321
  <h4>composeRuntimeRendererWrapNode</h4>
4263
- <p class="muted">function • <code>src/RuntimeRendererConfig.tsx:73:1</code></p>
4322
+ <p class="muted">function • <code>src/RuntimeRendererConfig.tsx:70:1</code></p>
4264
4323
 
4265
4324
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4266
4325
  <div>
@@ -4319,7 +4378,7 @@
4319
4378
  data-search="mergeRuntimeRendererConfig function src/RuntimeRendererConfig.tsx RuntimeRendererConfig (localConfig: RuntimeRendererConfig | undefined, inheritedConfig: RuntimeRendererConfig | undefined) =&gt; RuntimeRendererConfig"
4320
4379
  >
4321
4380
  <h4>mergeRuntimeRendererConfig</h4>
4322
- <p class="muted">function • <code>src/RuntimeRendererConfig.tsx:106:1</code></p>
4381
+ <p class="muted">function • <code>src/RuntimeRendererConfig.tsx:103:1</code></p>
4323
4382
 
4324
4383
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4325
4384
  <div>
@@ -4365,7 +4424,7 @@
4365
4424
  data-search="RuntimeAction unknown src/RuntimeRendererConfig.tsx "
4366
4425
  >
4367
4426
  <h4>RuntimeAction</h4>
4368
- <p class="muted">unknown • <code>src/RuntimeRendererConfig.tsx:43:1</code></p>
4427
+ <p class="muted">unknown • <code>src/RuntimeRendererConfig.tsx:40:1</code></p>
4369
4428
 
4370
4429
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4371
4430
  <div><strong>Related symbols:</strong> <span class="empty">None</span></div>
@@ -4376,7 +4435,7 @@
4376
4435
  data-search="RuntimeActionExecutor unknown src/RuntimeRendererConfig.tsx "
4377
4436
  >
4378
4437
  <h4>RuntimeActionExecutor</h4>
4379
- <p class="muted">unknown • <code>src/RuntimeRendererConfig.tsx:46:1</code></p>
4438
+ <p class="muted">unknown • <code>src/RuntimeRendererConfig.tsx:43:1</code></p>
4380
4439
 
4381
4440
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4382
4441
  <div><strong>Related symbols:</strong> <span class="empty">None</span></div>
@@ -4387,7 +4446,7 @@
4387
4446
  data-search="RuntimeActionHandler unknown src/RuntimeRendererConfig.tsx "
4388
4447
  >
4389
4448
  <h4>RuntimeActionHandler</h4>
4390
- <p class="muted">unknown • <code>src/RuntimeRendererConfig.tsx:44:1</code></p>
4449
+ <p class="muted">unknown • <code>src/RuntimeRendererConfig.tsx:41:1</code></p>
4391
4450
 
4392
4451
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4393
4452
  <div><strong>Related symbols:</strong> <span class="empty">None</span></div>
@@ -4398,7 +4457,7 @@
4398
4457
  data-search="RuntimeActionHandlerArgs type src/RuntimeRendererConfig.tsx RuntimeAction"
4399
4458
  >
4400
4459
  <h4>RuntimeActionHandlerArgs</h4>
4401
- <p class="muted">type • <code>src/RuntimeRendererConfig.tsx:36:1</code></p>
4460
+ <p class="muted">type • <code>src/RuntimeRendererConfig.tsx:33:1</code></p>
4402
4461
 
4403
4462
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4404
4463
  <div>
@@ -4456,18 +4515,7 @@
4456
4515
  data-search="RuntimeActionHandlers unknown src/RuntimeRendererConfig.tsx "
4457
4516
  >
4458
4517
  <h4>RuntimeActionHandlers</h4>
4459
- <p class="muted">unknown • <code>src/RuntimeRendererConfig.tsx:45:1</code></p>
4460
-
4461
- <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4462
- <div><strong>Related symbols:</strong> <span class="empty">None</span></div>
4463
- </article>
4464
- <article
4465
- class="item"
4466
- id="symbol-runtimenodepropsresolver"
4467
- data-search="RuntimeNodePropsResolver unknown src/RuntimeRendererConfig.tsx "
4468
- >
4469
- <h4>RuntimeNodePropsResolver</h4>
4470
- <p class="muted">unknown • <code>src/RuntimeRendererConfig.tsx:32:1</code></p>
4518
+ <p class="muted">unknown • <code>src/RuntimeRendererConfig.tsx:42:1</code></p>
4471
4519
 
4472
4520
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4473
4521
  <div><strong>Related symbols:</strong> <span class="empty">None</span></div>
@@ -4478,7 +4526,7 @@
4478
4526
  data-search="RuntimeRendererConfig type src/RuntimeRendererConfig.tsx ComponentRegistry RuntimeActionHandler RuntimeActionHandlers RuntimeBindingOperationExecutor RuntimeBindingOperationResultWriter RuntimeNodePropsResolver RuntimeRendererWrapArgs"
4479
4527
  >
4480
4528
  <h4>RuntimeRendererConfig</h4>
4481
- <p class="muted">type • <code>src/RuntimeRendererConfig.tsx:48:1</code></p>
4529
+ <p class="muted">type • <code>src/RuntimeRendererConfig.tsx:45:1</code></p>
4482
4530
 
4483
4531
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4484
4532
  <div>
@@ -4653,7 +4701,7 @@
4653
4701
  data-search="RuntimeRendererConfigProvider function src/RuntimeRendererConfig.tsx RuntimeRendererConfig (props: { value: RuntimeRendererConfig; children: React.ReactNode; }) =&gt; React.JSX.Element"
4654
4702
  >
4655
4703
  <h4>RuntimeRendererConfigProvider</h4>
4656
- <p class="muted">function • <code>src/RuntimeRendererConfig.tsx:152:1</code></p>
4704
+ <p class="muted">function • <code>src/RuntimeRendererConfig.tsx:149:1</code></p>
4657
4705
 
4658
4706
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4659
4707
  <div>
@@ -4695,7 +4743,7 @@
4695
4743
  data-search="RuntimeRendererWrapArgs type src/RuntimeRendererConfig.tsx "
4696
4744
  >
4697
4745
  <h4>RuntimeRendererWrapArgs</h4>
4698
- <p class="muted">type • <code>src/RuntimeRendererConfig.tsx:21:1</code></p>
4746
+ <p class="muted">type • <code>src/RuntimeRendererConfig.tsx:27:1</code></p>
4699
4747
 
4700
4748
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4701
4749
  <div><strong>Related symbols:</strong> <span class="empty">None</span></div>
@@ -4735,52 +4783,13 @@
4735
4783
  </tbody>
4736
4784
  </table>
4737
4785
  </article>
4738
- <article
4739
- class="item"
4740
- id="symbol-runtimeresolvenodepropsargs"
4741
- data-search="RuntimeResolveNodePropsArgs type src/RuntimeRendererConfig.tsx "
4742
- >
4743
- <h4>RuntimeResolveNodePropsArgs</h4>
4744
- <p class="muted">type • <code>src/RuntimeRendererConfig.tsx:27:1</code></p>
4745
-
4746
- <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4747
- <div><strong>Related symbols:</strong> <span class="empty">None</span></div>
4748
-
4749
- <table>
4750
- <thead>
4751
- <tr>
4752
- <th>Member</th>
4753
- <th>Kind</th>
4754
- <th>Type</th>
4755
- <th>Required</th>
4756
- <th>Description</th>
4757
- </tr>
4758
- </thead>
4759
- <tbody>
4760
- <tr>
4761
- <td><code>node</code></td>
4762
- <td>property</td>
4763
- <td><code>UiNode</code></td>
4764
- <td>yes</td>
4765
- <td></td>
4766
- </tr>
4767
- <tr>
4768
- <td><code>props</code></td>
4769
- <td>property</td>
4770
- <td><code>Record&lt;string, unknown&gt;</code></td>
4771
- <td>yes</td>
4772
- <td></td>
4773
- </tr>
4774
- </tbody>
4775
- </table>
4776
- </article>
4777
4786
  <article
4778
4787
  class="item"
4779
4788
  id="symbol-useruntimerendererconfig"
4780
4789
  data-search="useRuntimeRendererConfig function src/RuntimeRendererConfig.tsx RuntimeRendererConfig () =&gt; RuntimeRendererConfig"
4781
4790
  >
4782
4791
  <h4>useRuntimeRendererConfig</h4>
4783
- <p class="muted">function • <code>src/RuntimeRendererConfig.tsx:167:1</code></p>
4792
+ <p class="muted">function • <code>src/RuntimeRendererConfig.tsx:164:1</code></p>
4784
4793
 
4785
4794
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
4786
4795
  <div>
@@ -5603,7 +5612,7 @@
5603
5612
  data-search="RuntimeRendererConfigProvider src/RuntimeRendererConfig.tsx children React.ReactNode | undefined value RuntimeRendererConfig"
5604
5613
  >
5605
5614
  <h3>RuntimeRendererConfigProvider</h3>
5606
- <p class="muted"><code>src/RuntimeRendererConfig.tsx:152:1</code></p>
5615
+ <p class="muted"><code>src/RuntimeRendererConfig.tsx:149:1</code></p>
5607
5616
 
5608
5617
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
5609
5618
  <table>
@@ -6491,10 +6500,10 @@ graph LR
6491
6500
  export_RuntimeMemoryStateAdapterOptions[&quot;RuntimeMemoryStateAdapterOptions&quot;]
6492
6501
  module_src_runtimeStateAdapter_ts --&gt; export_RuntimeMemoryStateAdapterOptions
6493
6502
  export_RuntimeNodePropsResolver[&quot;RuntimeNodePropsResolver&quot;]
6494
- module_src_RuntimeRendererConfig_tsx --&gt; export_RuntimeNodePropsResolver
6495
- export_RuntimeRenderer[&quot;RuntimeRenderer&quot;] module_src_RuntimeRenderer_tsx
6496
- --&gt; export_RuntimeRenderer export_RuntimeRenderer -.-&gt;
6497
- export_RuntimeRendererProps
6503
+ module_node_modules__ankhorage_contracts_dist_runtimeCallbacks_d_ts --&gt;
6504
+ export_RuntimeNodePropsResolver export_RuntimeRenderer[&quot;RuntimeRenderer&quot;]
6505
+ module_src_RuntimeRenderer_tsx --&gt; export_RuntimeRenderer export_RuntimeRenderer
6506
+ -.-&gt; export_RuntimeRendererProps
6498
6507
  export_RuntimeRendererConfig[&quot;RuntimeRendererConfig&quot;]
6499
6508
  module_src_RuntimeRendererConfig_tsx --&gt; export_RuntimeRendererConfig
6500
6509
  export_RuntimeRendererConfig -.-&gt; export_ComponentRegistry
@@ -6517,9 +6526,10 @@ graph LR
6517
6526
  export_RuntimeRendererWrapArgs[&quot;RuntimeRendererWrapArgs&quot;]
6518
6527
  module_src_RuntimeRendererConfig_tsx --&gt; export_RuntimeRendererWrapArgs
6519
6528
  export_RuntimeResolveNodePropsArgs[&quot;RuntimeResolveNodePropsArgs&quot;]
6520
- module_src_RuntimeRendererConfig_tsx --&gt; export_RuntimeResolveNodePropsArgs
6521
- export_RuntimeScreen[&quot;RuntimeScreen&quot;] module_src_RuntimeScreen_tsx --&gt;
6522
- export_RuntimeScreen export_RuntimeScreen -.-&gt; export_RuntimeScreenProps
6529
+ module_node_modules__ankhorage_contracts_dist_runtimeCallbacks_d_ts --&gt;
6530
+ export_RuntimeResolveNodePropsArgs export_RuntimeScreen[&quot;RuntimeScreen&quot;]
6531
+ module_src_RuntimeScreen_tsx --&gt; export_RuntimeScreen export_RuntimeScreen
6532
+ -.-&gt; export_RuntimeScreenProps
6523
6533
  export_RuntimeScreenOperationLoaderExecutionResult[&quot;RuntimeScreenOperationLoaderExecutionResult&quot;]
6524
6534
  module_src_runtimeScreenLoaders_ts --&gt;
6525
6535
  export_RuntimeScreenOperationLoaderExecutionResult
@@ -6831,7 +6841,7 @@ graph LR
6831
6841
  export_RuntimeMemoryStateAdapterOptions[&quot;RuntimeMemoryStateAdapterOptions&quot;]
6832
6842
  module_src_runtimeStateAdapter_ts --&gt; export_RuntimeMemoryStateAdapterOptions
6833
6843
  export_RuntimeNodePropsResolver[&quot;RuntimeNodePropsResolver&quot;]
6834
- module_src_RuntimeRendererConfig_tsx --&gt; export_RuntimeNodePropsResolver
6844
+ module_node_modules__ankhorage_contracts_dist_runtimeCallbacks_d_ts --&gt; export_RuntimeNodePropsResolver
6835
6845
  export_RuntimeRenderer[&quot;RuntimeRenderer&quot;]
6836
6846
  module_src_RuntimeRenderer_tsx --&gt; export_RuntimeRenderer
6837
6847
  export_RuntimeRenderer -.-&gt; export_RuntimeRendererProps
@@ -6857,7 +6867,7 @@ graph LR
6857
6867
  export_RuntimeRendererWrapArgs[&quot;RuntimeRendererWrapArgs&quot;]
6858
6868
  module_src_RuntimeRendererConfig_tsx --&gt; export_RuntimeRendererWrapArgs
6859
6869
  export_RuntimeResolveNodePropsArgs[&quot;RuntimeResolveNodePropsArgs&quot;]
6860
- module_src_RuntimeRendererConfig_tsx --&gt; export_RuntimeResolveNodePropsArgs
6870
+ module_node_modules__ankhorage_contracts_dist_runtimeCallbacks_d_ts --&gt; export_RuntimeResolveNodePropsArgs
6861
6871
  export_RuntimeScreen[&quot;RuntimeScreen&quot;]
6862
6872
  module_src_RuntimeScreen_tsx --&gt; export_RuntimeScreen
6863
6873
  export_RuntimeScreen -.-&gt; export_RuntimeScreenProps
@@ -8425,7 +8435,7 @@ sequenceDiagram
8425
8435
  data-search="composeRuntimeRendererWrapNode src/RuntimeRendererConfig.tsx "
8426
8436
  >
8427
8437
  <h3>composeRuntimeRendererWrapNode</h3>
8428
- <p class="muted"><code>src/RuntimeRendererConfig.tsx:73:1</code></p>
8438
+ <p class="muted"><code>src/RuntimeRendererConfig.tsx:70:1</code></p>
8429
8439
  <p class="empty">No description available.</p>
8430
8440
  </article>
8431
8441
  <article
@@ -8433,7 +8443,7 @@ sequenceDiagram
8433
8443
  data-search="composeRuntimeNodePropsResolver src/RuntimeRendererConfig.tsx "
8434
8444
  >
8435
8445
  <h3>composeRuntimeNodePropsResolver</h3>
8436
- <p class="muted"><code>src/RuntimeRendererConfig.tsx:88:1</code></p>
8446
+ <p class="muted"><code>src/RuntimeRendererConfig.tsx:85:1</code></p>
8437
8447
  <p class="empty">No description available.</p>
8438
8448
  </article>
8439
8449
  <article
@@ -8441,7 +8451,7 @@ sequenceDiagram
8441
8451
  data-search="mergeRuntimeRendererConfig src/RuntimeRendererConfig.tsx "
8442
8452
  >
8443
8453
  <h3>mergeRuntimeRendererConfig</h3>
8444
- <p class="muted"><code>src/RuntimeRendererConfig.tsx:106:1</code></p>
8454
+ <p class="muted"><code>src/RuntimeRendererConfig.tsx:103:1</code></p>
8445
8455
  <p class="empty">No description available.</p>
8446
8456
  </article>
8447
8457
  <article
@@ -8449,7 +8459,7 @@ sequenceDiagram
8449
8459
  data-search="RuntimeRendererConfigProvider src/RuntimeRendererConfig.tsx "
8450
8460
  >
8451
8461
  <h3>RuntimeRendererConfigProvider</h3>
8452
- <p class="muted"><code>src/RuntimeRendererConfig.tsx:152:1</code></p>
8462
+ <p class="muted"><code>src/RuntimeRendererConfig.tsx:149:1</code></p>
8453
8463
  <p class="empty">No description available.</p>
8454
8464
  </article>
8455
8465
  <article
@@ -8457,12 +8467,12 @@ sequenceDiagram
8457
8467
  data-search="useRuntimeRendererConfig src/RuntimeRendererConfig.tsx "
8458
8468
  >
8459
8469
  <h3>useRuntimeRendererConfig</h3>
8460
- <p class="muted"><code>src/RuntimeRendererConfig.tsx:167:1</code></p>
8470
+ <p class="muted"><code>src/RuntimeRendererConfig.tsx:164:1</code></p>
8461
8471
  <p class="empty">No description available.</p>
8462
8472
  </article>
8463
8473
  <article class="item" data-search="mergeRecordConfig src/RuntimeRendererConfig.tsx ">
8464
8474
  <h3>mergeRecordConfig</h3>
8465
- <p class="muted"><code>src/RuntimeRendererConfig.tsx:171:1</code></p>
8475
+ <p class="muted"><code>src/RuntimeRendererConfig.tsx:168:1</code></p>
8466
8476
  <p class="empty">No description available.</p>
8467
8477
  </article>
8468
8478
  </section>
@@ -12,7 +12,7 @@
12
12
  {
13
13
  "id": "npm",
14
14
  "label": "npm",
15
- "value": "v0.1.1",
15
+ "value": "v0.2.0",
16
16
  "color": "cb3837"
17
17
  },
18
18
  {
@@ -612,7 +612,7 @@
612
612
  "modulePath": "src/RuntimeRendererConfig.tsx",
613
613
  "sourceLocation": {
614
614
  "filePath": "src/RuntimeRendererConfig.tsx",
615
- "line": 88,
615
+ "line": 85,
616
616
  "column": 1
617
617
  },
618
618
  "exportPaths": ["src/index.ts"],
@@ -650,7 +650,7 @@
650
650
  "modulePath": "src/RuntimeRendererConfig.tsx",
651
651
  "sourceLocation": {
652
652
  "filePath": "src/RuntimeRendererConfig.tsx",
653
- "line": 73,
653
+ "line": 70,
654
654
  "column": 1
655
655
  },
656
656
  "exportPaths": ["src/index.ts"],
@@ -1422,7 +1422,7 @@
1422
1422
  "modulePath": "src/RuntimeRendererConfig.tsx",
1423
1423
  "sourceLocation": {
1424
1424
  "filePath": "src/RuntimeRendererConfig.tsx",
1425
- "line": 106,
1425
+ "line": 103,
1426
1426
  "column": 1
1427
1427
  },
1428
1428
  "exportPaths": ["src/index.ts"],
@@ -1864,7 +1864,7 @@
1864
1864
  "modulePath": "src/RuntimeRendererConfig.tsx",
1865
1865
  "sourceLocation": {
1866
1866
  "filePath": "src/RuntimeRendererConfig.tsx",
1867
- "line": 43,
1867
+ "line": 40,
1868
1868
  "column": 1
1869
1869
  },
1870
1870
  "exportPaths": ["src/index.ts"],
@@ -1929,7 +1929,7 @@
1929
1929
  "modulePath": "src/RuntimeRendererConfig.tsx",
1930
1930
  "sourceLocation": {
1931
1931
  "filePath": "src/RuntimeRendererConfig.tsx",
1932
- "line": 46,
1932
+ "line": 43,
1933
1933
  "column": 1
1934
1934
  },
1935
1935
  "exportPaths": ["src/index.ts"],
@@ -1947,7 +1947,7 @@
1947
1947
  "modulePath": "src/RuntimeRendererConfig.tsx",
1948
1948
  "sourceLocation": {
1949
1949
  "filePath": "src/RuntimeRendererConfig.tsx",
1950
- "line": 44,
1950
+ "line": 41,
1951
1951
  "column": 1
1952
1952
  },
1953
1953
  "exportPaths": ["src/index.ts"],
@@ -1965,7 +1965,7 @@
1965
1965
  "modulePath": "src/RuntimeRendererConfig.tsx",
1966
1966
  "sourceLocation": {
1967
1967
  "filePath": "src/RuntimeRendererConfig.tsx",
1968
- "line": 36,
1968
+ "line": 33,
1969
1969
  "column": 1
1970
1970
  },
1971
1971
  "exportPaths": ["src/index.ts"],
@@ -2012,7 +2012,7 @@
2012
2012
  "modulePath": "src/RuntimeRendererConfig.tsx",
2013
2013
  "sourceLocation": {
2014
2014
  "filePath": "src/RuntimeRendererConfig.tsx",
2015
- "line": 45,
2015
+ "line": 42,
2016
2016
  "column": 1
2017
2017
  },
2018
2018
  "exportPaths": ["src/index.ts"],
@@ -3293,10 +3293,10 @@
3293
3293
  "isReadme": false,
3294
3294
  "examples": [],
3295
3295
  "kind": "unknown",
3296
- "modulePath": "src/RuntimeRendererConfig.tsx",
3296
+ "modulePath": "node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts",
3297
3297
  "sourceLocation": {
3298
- "filePath": "src/RuntimeRendererConfig.tsx",
3299
- "line": 32,
3298
+ "filePath": "node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts",
3299
+ "line": 6,
3300
3300
  "column": 1
3301
3301
  },
3302
3302
  "exportPaths": ["src/index.ts"],
@@ -3346,7 +3346,7 @@
3346
3346
  "modulePath": "src/RuntimeRendererConfig.tsx",
3347
3347
  "sourceLocation": {
3348
3348
  "filePath": "src/RuntimeRendererConfig.tsx",
3349
- "line": 48,
3349
+ "line": 45,
3350
3350
  "column": 1
3351
3351
  },
3352
3352
  "exportPaths": ["src/index.ts"],
@@ -3485,7 +3485,7 @@
3485
3485
  "modulePath": "src/RuntimeRendererConfig.tsx",
3486
3486
  "sourceLocation": {
3487
3487
  "filePath": "src/RuntimeRendererConfig.tsx",
3488
- "line": 152,
3488
+ "line": 149,
3489
3489
  "column": 1
3490
3490
  },
3491
3491
  "exportPaths": ["src/index.ts"],
@@ -3647,7 +3647,7 @@
3647
3647
  "modulePath": "src/RuntimeRendererConfig.tsx",
3648
3648
  "sourceLocation": {
3649
3649
  "filePath": "src/RuntimeRendererConfig.tsx",
3650
- "line": 21,
3650
+ "line": 27,
3651
3651
  "column": 1
3652
3652
  },
3653
3653
  "exportPaths": ["src/index.ts"],
@@ -3684,10 +3684,10 @@
3684
3684
  "isReadme": false,
3685
3685
  "examples": [],
3686
3686
  "kind": "type",
3687
- "modulePath": "src/RuntimeRendererConfig.tsx",
3687
+ "modulePath": "node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts",
3688
3688
  "sourceLocation": {
3689
- "filePath": "src/RuntimeRendererConfig.tsx",
3690
- "line": 27,
3689
+ "filePath": "node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts",
3690
+ "line": 2,
3691
3691
  "column": 1
3692
3692
  },
3693
3693
  "exportPaths": ["src/index.ts"],
@@ -4043,7 +4043,7 @@
4043
4043
  "modulePath": "src/RuntimeRendererConfig.tsx",
4044
4044
  "sourceLocation": {
4045
4045
  "filePath": "src/RuntimeRendererConfig.tsx",
4046
- "line": 167,
4046
+ "line": 164,
4047
4047
  "column": 1
4048
4048
  },
4049
4049
  "exportPaths": ["src/index.ts"],
@@ -4365,7 +4365,7 @@
4365
4365
  "modulePath": "src/RuntimeRendererConfig.tsx",
4366
4366
  "sourceLocation": {
4367
4367
  "filePath": "src/RuntimeRendererConfig.tsx",
4368
- "line": 152,
4368
+ "line": 149,
4369
4369
  "column": 1
4370
4370
  },
4371
4371
  "exportPaths": ["src/index.ts"],
@@ -5546,7 +5546,7 @@
5546
5546
  "description": null,
5547
5547
  "sourceLocation": {
5548
5548
  "filePath": "src/RuntimeRendererConfig.tsx",
5549
- "line": 73,
5549
+ "line": 70,
5550
5550
  "column": 1
5551
5551
  }
5552
5552
  },
@@ -5555,7 +5555,7 @@
5555
5555
  "description": null,
5556
5556
  "sourceLocation": {
5557
5557
  "filePath": "src/RuntimeRendererConfig.tsx",
5558
- "line": 88,
5558
+ "line": 85,
5559
5559
  "column": 1
5560
5560
  }
5561
5561
  },
@@ -5564,7 +5564,7 @@
5564
5564
  "description": null,
5565
5565
  "sourceLocation": {
5566
5566
  "filePath": "src/RuntimeRendererConfig.tsx",
5567
- "line": 106,
5567
+ "line": 103,
5568
5568
  "column": 1
5569
5569
  }
5570
5570
  },
@@ -5573,7 +5573,7 @@
5573
5573
  "description": null,
5574
5574
  "sourceLocation": {
5575
5575
  "filePath": "src/RuntimeRendererConfig.tsx",
5576
- "line": 152,
5576
+ "line": 149,
5577
5577
  "column": 1
5578
5578
  }
5579
5579
  },
@@ -5582,7 +5582,7 @@
5582
5582
  "description": null,
5583
5583
  "sourceLocation": {
5584
5584
  "filePath": "src/RuntimeRendererConfig.tsx",
5585
- "line": 167,
5585
+ "line": 164,
5586
5586
  "column": 1
5587
5587
  }
5588
5588
  },
@@ -5591,7 +5591,7 @@
5591
5591
  "description": null,
5592
5592
  "sourceLocation": {
5593
5593
  "filePath": "src/RuntimeRendererConfig.tsx",
5594
- "line": 171,
5594
+ "line": 168,
5595
5595
  "column": 1
5596
5596
  }
5597
5597
  },
@@ -10189,7 +10189,7 @@
10189
10189
  {
10190
10190
  "fromSymbol": "RuntimeResolveNodePropsArgs",
10191
10191
  "toType": "UiNode",
10192
- "sourcePath": "src/RuntimeRendererConfig.tsx"
10192
+ "sourcePath": "node_modules/@ankhorage/contracts/dist/runtimeCallbacks.d.ts"
10193
10193
  },
10194
10194
  {
10195
10195
  "fromSymbol": "useRuntimeRendererConfig",