diff --git a/.changeset/canonical-runtime-api-bindings.md b/.changeset/canonical-runtime-api-bindings.md new file mode 100644 index 0000000..c16f2ce --- /dev/null +++ b/.changeset/canonical-runtime-api-bindings.md @@ -0,0 +1,5 @@ +--- +'@ankhorage/runtime': major +--- + +Resolve operation bindings through canonical `infra.apis[]` API identities, delegate API execution to `@ankhorage/data-sources`, and remove the API-to-database operation shortcut while preserving explicit database actions separately. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a16025d..4d02da3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - name: Setup Bun uses: oven-sh/setup-bun@v2 with: - bun-version: '1.3.13' + bun-version: '1.3.14' - name: Install dependencies run: bun install --frozen-lockfile diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b69f00b..364b5b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: - name: Setup Bun uses: oven-sh/setup-bun@v2 with: - bun-version: '1.3.13' + bun-version: '1.3.14' - name: Setup Node for npm publishing uses: actions/setup-node@v4 diff --git a/README.md b/README.md index 4960c0e..e1ffac7 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ # @ankhorage/runtime -![license: MIT](./paradox/badges/license.svg) ![npm: v1.0.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) +![license: MIT](./paradox/badges/license.svg) ![npm: v1.1.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) Platform-neutral runtime contracts and helpers for Ankhorage generated apps. diff --git a/bun.lock b/bun.lock index 8a05da8..5c7a6ed 100644 --- a/bun.lock +++ b/bun.lock @@ -5,14 +5,14 @@ "": { "name": "@ankhorage/runtime", "dependencies": { - "@ankhorage/contracts": "^7.4.0", - "@ankhorage/data-sources": "^1.0.0", + "@ankhorage/contracts": "^8.0.0", + "@ankhorage/data-sources": "^2.0.0", }, "devDependencies": { - "@ankhorage/devtools": "^1.0.6", + "@ankhorage/devtools": "^1.2.1", "@ankhorage/paradox": "^0.1.21", "@changesets/cli": "^2.31.0", - "@types/bun": "^1.3.13", + "@types/bun": "^1.3.14", "@types/node": "^25.6.0", "@types/react": "^19.2.14", "react": "19.1.0", @@ -28,11 +28,11 @@ "packages": { "@ankhorage/color-theory": ["@ankhorage/color-theory@0.0.8", "", { "dependencies": { "culori": "^4.0.2" } }, "sha512-+JRLkvBUiPxFrRANyewRZxLv1sU5cKFOc3VBYB+b/eFngLFDIAqXf/a4e0A6gQE+lk6e3wb3FcGQYIyYB1Dqzg=="], - "@ankhorage/contracts": ["@ankhorage/contracts@7.5.0", "", { "dependencies": { "@ankhorage/color-theory": "^0.0.8" } }, "sha512-Rzastd2rCS37q3ywVDQd1ktFlfGy5Q2puaqwSaiNLLsdMB3t4rRnS1+1XBDFbfBgWu8tk6SFuAj3gF0VkSYbFQ=="], + "@ankhorage/contracts": ["@ankhorage/contracts@8.0.0", "", { "dependencies": { "@ankhorage/color-theory": "^0.0.8" } }, "sha512-dypyNIFVp56b9Nxpitixzd164s+HcCv4Za6cV0PUwOWbvV+UHBKhCcKK96FxC1EOExqJ+jLuCA3/8ZPD4VM47w=="], - "@ankhorage/data-sources": ["@ankhorage/data-sources@1.0.0", "", { "dependencies": { "@ankhorage/contracts": "^4.0.2" } }, "sha512-Kk+GwYkI4UILuijPuHnBr1yXS2pEl+IiUmWRnSvNMeoHPG11HjiS6XYfEJPE7xuiTolmCtHeR0/xiHb1PFl9wA=="], + "@ankhorage/data-sources": ["@ankhorage/data-sources@2.0.0", "", { "dependencies": { "@ankhorage/contracts": "^8.0.0" } }, "sha512-Fh6bUc2GlGkQqPw+rfUx8t7pPGlBux2Jg8ipSvh8ZhzZXhuLqNWgs1Lh8KOx2v4+p2iJp9ni6Ff+esAQWGFKgQ=="], - "@ankhorage/devtools": ["@ankhorage/devtools@1.1.0", "", { "dependencies": { "@eslint/js": "^10.0.1", "eslint": "^10.2.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-import": "^2.32.0", "eslint-plugin-prettier": "^5.5.5", "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-unused-imports": "^4.4.1", "knip": "^6.12.2", "prettier": "^3.8.1", "typescript-eslint": "^8.24.0" }, "bin": { "ankhorage-eslint": "dist/eslint-cli.js", "ankhorage-knip": "dist/knip-cli.js", "ankhorage-prettier": "dist/prettier-cli.js" } }, "sha512-RKI53N+oMHFhpCpHyksozMybaXSudbwAV5InHwSPw49sa+PxTE4l6UOnpfIUOJ8l8qbWuaKYRBF56sPpYbhUgg=="], + "@ankhorage/devtools": ["@ankhorage/devtools@1.2.1", "", { "dependencies": { "@eslint/js": "^10.0.1", "eslint": "^10.2.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-import": "^2.32.0", "eslint-plugin-prettier": "^5.5.5", "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-unused-imports": "^4.4.1", "knip": "^6.12.2", "prettier": "^3.8.1", "typescript-eslint": "^8.24.0" }, "bin": { "ankhorage-knip": "dist/cli/bin/knip.js", "ankhorage-eslint": "dist/cli/bin/eslint.js", "ankhorage-prettier": "dist/cli/bin/prettier.js" } }, "sha512-ub8jve1q+7kQyftz0WcbBurbq1R6BURqXkziDj3NG4sQ+80vDWYFzE4hwjm3DbPJNycHdIZZZCKq+yoFyiwOPQ=="], "@ankhorage/paradox": ["@ankhorage/paradox@0.1.21", "", { "dependencies": { "ts-morph": "^24.0.0" }, "bin": { "paradox": "dist/cli/standalone.js" } }, "sha512-0M77MTVwAvJrpwcGoeRY+Ab8MhovZG5NGwSNFqYARkp8Qb1y35arrQ67AiwEoxN60cSYpskTrHV9D2x+0Q+JGA=="], @@ -226,7 +226,7 @@ "@eslint/config-array": ["@eslint/config-array@0.23.5", "", { "dependencies": { "@eslint/object-schema": "^3.0.5", "debug": "^4.3.1", "minimatch": "^10.2.4" } }, "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA=="], - "@eslint/config-helpers": ["@eslint/config-helpers@0.6.0", "", { "dependencies": { "@eslint/core": "^1.2.1" } }, "sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA=="], + "@eslint/config-helpers": ["@eslint/config-helpers@0.7.0", "", { "dependencies": { "@eslint/core": "^1.2.1" } }, "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw=="], "@eslint/core": ["@eslint/core@1.2.1", "", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ=="], @@ -656,7 +656,7 @@ "escape-string-regexp": ["escape-string-regexp@4.0.0", "", {}, "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="], - "eslint": ["eslint@10.6.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.2", "@eslint/config-array": "^0.23.5", "@eslint/config-helpers": "^0.6.0", "@eslint/core": "^1.2.1", "@eslint/plugin-kit": "^0.7.2", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "ajv": "^6.14.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^9.1.2", "eslint-visitor-keys": "^5.0.1", "espree": "^11.2.0", "esquery": "^1.7.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "minimatch": "^10.2.4", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "optionalPeers": ["jiti"], "bin": { "eslint": "bin/eslint.js" } }, "sha512-6lVbcqSodALYo+4ELD0heG6lFiFxnLMuLkiMi2qV8LMp54N8tE8FT1GMH+ev4Ti00nFjNze2+Su6DsV5OQW3Dg=="], + "eslint": ["eslint@10.8.1", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.2", "@eslint/config-array": "^0.23.5", "@eslint/config-helpers": "^0.7.0", "@eslint/core": "^1.2.1", "@eslint/plugin-kit": "^0.7.2", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "ajv": "^6.14.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^9.1.2", "eslint-visitor-keys": "^5.0.1", "espree": "^11.2.0", "esquery": "^1.7.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "minimatch": "^10.2.5", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "optionalPeers": ["jiti"], "bin": { "eslint": "bin/eslint.js" } }, "sha512-wqA7W2jbsC/BnV9Iv1UZpKVFkO1AdNoSmYW8NWG4HNOBbkAMvIqDZ27pI2f07dqn583NcIC44ckjAcOXDL1QbQ=="], "eslint-config-prettier": ["eslint-config-prettier@10.1.8", "", { "peerDependencies": { "eslint": ">=7.0.0" }, "bin": { "eslint-config-prettier": "bin/cli.js" } }, "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w=="], @@ -1338,8 +1338,6 @@ "zod": ["zod@4.4.3", "", {}, "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ=="], - "@ankhorage/data-sources/@ankhorage/contracts": ["@ankhorage/contracts@4.0.2", "", { "dependencies": { "@ankhorage/color-theory": "^0.0.8" } }, "sha512-mxWLgJ4DYcSe5PRZBmbeqsyJXjBT5mlBkSoYqigNFw750OjiCjs9DfAxK3npapEASuy4uJWsIWdqLlld3KT/ww=="], - "@babel/core/json5": ["json5@2.2.3", "", { "bin": { "json5": "lib/cli.js" } }, "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="], "@babel/core/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], @@ -1410,6 +1408,8 @@ "eslint-plugin-import/debug": ["debug@3.2.7", "", { "dependencies": { "ms": "^2.1.1" } }, "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ=="], + "eslint-plugin-import/eslint": ["eslint@10.6.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.2", "@eslint/config-array": "^0.23.5", "@eslint/config-helpers": "^0.6.0", "@eslint/core": "^1.2.1", "@eslint/plugin-kit": "^0.7.2", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "ajv": "^6.14.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^9.1.2", "eslint-visitor-keys": "^5.0.1", "espree": "^11.2.0", "esquery": "^1.7.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "minimatch": "^10.2.4", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "optionalPeers": ["jiti"], "bin": { "eslint": "bin/eslint.js" } }, "sha512-6lVbcqSodALYo+4ELD0heG6lFiFxnLMuLkiMi2qV8LMp54N8tE8FT1GMH+ev4Ti00nFjNze2+Su6DsV5OQW3Dg=="], + "eslint-plugin-import/minimatch": ["minimatch@3.1.5", "", { "dependencies": { "brace-expansion": "^1.1.7" } }, "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w=="], "eslint-plugin-import/semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], @@ -1488,6 +1488,12 @@ "connect/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="], + "eslint-plugin-import/eslint/@eslint/config-helpers": ["@eslint/config-helpers@0.6.0", "", { "dependencies": { "@eslint/core": "^1.2.1" } }, "sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA=="], + + "eslint-plugin-import/eslint/debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], + + "eslint-plugin-import/eslint/minimatch": ["minimatch@10.2.5", "", { "dependencies": { "brace-expansion": "^5.0.5" } }, "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg=="], + "eslint-plugin-import/minimatch/brace-expansion": ["brace-expansion@1.1.15", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg=="], "finalhandler/debug/ms": ["ms@2.0.0", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="], diff --git a/package.json b/package.json index 91addf0..c8a6919 100644 --- a/package.json +++ b/package.json @@ -60,18 +60,18 @@ "version-packages": "changeset version" }, "dependencies": { - "@ankhorage/contracts": "^7.4.0", - "@ankhorage/data-sources": "^1.0.0" + "@ankhorage/contracts": "^8.0.0", + "@ankhorage/data-sources": "^2.0.0" }, "peerDependencies": { "react": "19.1.0", "react-native": "0.81.5" }, "devDependencies": { - "@ankhorage/devtools": "^1.0.6", + "@ankhorage/devtools": "^1.2.1", "@ankhorage/paradox": "^0.1.21", "@changesets/cli": "^2.31.0", - "@types/bun": "^1.3.13", + "@types/bun": "^1.3.14", "@types/node": "^25.6.0", "@types/react": "^19.2.14", "react": "19.1.0", @@ -79,5 +79,5 @@ "typescript": "^5.9.3" }, "sideEffects": false, - "packageManager": "bun@1.3.13" + "packageManager": "bun@1.3.14" } diff --git a/paradox/badges/npm.svg b/paradox/badges/npm.svg index 18b7b93..5cbe7f9 100644 --- a/paradox/badges/npm.svg +++ b/paradox/badges/npm.svg @@ -1,7 +1,7 @@ - -npm: v1.0.0 + +npm: v1.1.0 npm -v1.0.0 +v1.1.0 diff --git a/paradox/components.md b/paradox/components.md index 0fa8663..f91de78 100644 --- a/paradox/components.md +++ b/paradox/components.md @@ -32,9 +32,9 @@ Export paths: `src/index.ts` | Prop | Type | Required | Default | Description | | ----------------- | --------------------------------------------------------------------- | -------- | ------- | ----------- | +| apis | `ApiDefinitionList \| undefined` | no | — | | | bindingContext | `Record \| undefined` | no | — | | | dataBindings | `ComponentDataBindingRegistry \| undefined` | no | — | | -| dataSources | `DataSourceRegistry \| undefined` | no | — | | | dbAdapter | `DbAdapter \| undefined` | no | — | | | dbRealtimeAdapter | `DbRealtimeAdapter \| undefined` | no | — | | | disableActions | `boolean \| undefined` | no | — | | diff --git a/paradox/diagrams/architecture-overview.mmd b/paradox/diagrams/architecture-overview.mmd index dd8ad53..7d85bf4 100644 --- a/paradox/diagrams/architecture-overview.mmd +++ b/paradox/diagrams/architecture-overview.mmd @@ -21,30 +21,40 @@ graph TD module_src_rendering_ts["src/rendering.ts"] package__ankhorage_runtime -.-> module_src_rendering_ts module_src_rendering_ts --> module_src_registry_tsx - module_src_runtimeActionRegistry_test_ts["src/runtimeActionRegistry.test.ts"] - package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_test_ts - module_src_runtimeActionRegistry_test_ts --> module_src_runtimeActionRegistry_ts - module_src_runtimeActionRegistry_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeActionRegistry_actions_test_ts["src/runtimeActionRegistry.actions.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_actions_test_ts + module_src_runtimeActionRegistry_actions_test_ts --> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_chains_test_ts["src/runtimeActionRegistry.chains.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_chains_test_ts + module_src_runtimeActionRegistry_chains_test_ts --> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_operations_test_ts["src/runtimeActionRegistry.operations.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_operations_test_ts + module_src_runtimeActionRegistry_operations_test_ts --> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_operations_test_ts --> module_src_runtimeBindings_ts module_src_runtimeActionRegistry_ts["src/runtimeActionRegistry.ts"] package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_ts --> module_src_runtimeApiSelection_ts module_src_runtimeActionRegistry_ts --> module_src_runtimeBindings_ts module_src_runtimeActionRegistry_ts --> module_src_RuntimeRendererConfig_tsx + module_src_runtimeApiOperations_test_ts["src/runtimeApiOperations.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeApiOperations_test_ts + module_src_runtimeApiOperations_test_ts --> module_src_runtimeApiOperations_ts + module_src_runtimeApiOperations_ts["src/runtimeApiOperations.ts"] + package__ankhorage_runtime -.-> module_src_runtimeApiOperations_ts + module_src_runtimeApiOperations_ts --> module_src_runtimeBindings_ts + module_src_runtimeApiSelection_test_ts["src/runtimeApiSelection.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeApiSelection_test_ts + module_src_runtimeApiSelection_test_ts --> module_src_runtimeApiSelection_ts + module_src_runtimeApiSelection_ts["src/runtimeApiSelection.ts"] + package__ankhorage_runtime -.-> module_src_runtimeApiSelection_ts module_src_runtimeBindings_test_ts["src/runtimeBindings.test.ts"] package__ankhorage_runtime -.-> module_src_runtimeBindings_test_ts + module_src_runtimeBindings_test_ts --> module_src_runtimeApiSelection_ts module_src_runtimeBindings_test_ts --> module_src_runtimeBindings_ts module_src_runtimeBindings_test_ts --> module_src_runtimeNodeProps_ts module_src_runtimeBindings_ts["src/runtimeBindings.ts"] package__ankhorage_runtime -.-> module_src_runtimeBindings_ts - module_src_runtimeDatabaseOperationExecutor_ts["src/runtimeDatabaseOperationExecutor.ts"] - package__ankhorage_runtime -.-> module_src_runtimeDatabaseOperationExecutor_ts - module_src_runtimeDatabaseOperationExecutor_ts --> module_src_runtimeBindings_ts - module_src_runtimeDataSourceOperations_test_ts["src/runtimeDataSourceOperations.test.ts"] - package__ankhorage_runtime -.-> module_src_runtimeDataSourceOperations_test_ts - module_src_runtimeDataSourceOperations_test_ts --> module_src_runtimeDataSourceOperations_ts - module_src_runtimeDataSourceOperations_ts["src/runtimeDataSourceOperations.ts"] - package__ankhorage_runtime -.-> module_src_runtimeDataSourceOperations_ts - module_src_runtimeDataSourceOperations_ts --> module_src_runtimeBindings_ts - module_src_runtimeDataSourceOperations_ts --> module_src_runtimeDatabaseOperationExecutor_ts + module_src_runtimeBindings_ts --> module_src_runtimeApiSelection_ts module_src_runtimeDbPersist_test_ts["src/runtimeDbPersist.test.ts"] package__ankhorage_runtime -.-> module_src_runtimeDbPersist_test_ts module_src_runtimeDbPersist_test_ts --> module_src_runtimeActionRegistry_ts @@ -115,6 +125,7 @@ graph TD module_src_runtimeRepeat_test_ts --> module_src_runtimeRepeat_ts module_src_runtimeRepeat_ts["src/runtimeRepeat.ts"] package__ankhorage_runtime -.-> module_src_runtimeRepeat_ts + module_src_runtimeRepeat_ts --> module_src_runtimeApiSelection_ts module_src_runtimeRepeat_ts --> module_src_runtimeBindings_ts module_src_runtimeRepeatDiagnostics_ts["src/runtimeRepeatDiagnostics.ts"] package__ankhorage_runtime -.-> module_src_runtimeRepeatDiagnostics_ts @@ -131,12 +142,17 @@ graph TD package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_arrayPath_test_ts module_src_runtimeScreenLoaders_arrayPath_test_ts --> module_src_runtimeBindings_ts module_src_runtimeScreenLoaders_arrayPath_test_ts --> module_src_runtimeScreenLoaders_ts - module_src_runtimeScreenLoaders_test_ts["src/runtimeScreenLoaders.test.ts"] - package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_test_ts - module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeBindings_ts - module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_execution_test_ts["src/runtimeScreenLoaders.execution.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_execution_test_ts + module_src_runtimeScreenLoaders_execution_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeScreenLoaders_execution_test_ts --> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_lifecycle_test_ts["src/runtimeScreenLoaders.lifecycle.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_lifecycle_test_ts + module_src_runtimeScreenLoaders_lifecycle_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeScreenLoaders_lifecycle_test_ts --> module_src_runtimeScreenLoaders_ts module_src_runtimeScreenLoaders_ts["src/runtimeScreenLoaders.ts"] package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_ts --> module_src_runtimeApiSelection_ts module_src_runtimeScreenLoaders_ts --> module_src_runtimeBindings_ts module_src_runtimeStateAdapter_ts["src/runtimeStateAdapter.ts"] package__ankhorage_runtime -.-> module_src_runtimeStateAdapter_ts diff --git a/paradox/diagrams/export-graph.mmd b/paradox/diagrams/export-graph.mmd index b5e5ff6..1448241 100644 --- a/paradox/diagrams/export-graph.mmd +++ b/paradox/diagrams/export-graph.mmd @@ -7,13 +7,16 @@ graph LR module_src_registry_tsx["src/registry.tsx"] module_src_rendering_test_ts["src/rendering.test.ts"] module_src_rendering_ts["src/rendering.ts"] - module_src_runtimeActionRegistry_test_ts["src/runtimeActionRegistry.test.ts"] + module_src_runtimeActionRegistry_actions_test_ts["src/runtimeActionRegistry.actions.test.ts"] + module_src_runtimeActionRegistry_chains_test_ts["src/runtimeActionRegistry.chains.test.ts"] + module_src_runtimeActionRegistry_operations_test_ts["src/runtimeActionRegistry.operations.test.ts"] module_src_runtimeActionRegistry_ts["src/runtimeActionRegistry.ts"] + module_src_runtimeApiOperations_test_ts["src/runtimeApiOperations.test.ts"] + module_src_runtimeApiOperations_ts["src/runtimeApiOperations.ts"] + module_src_runtimeApiSelection_test_ts["src/runtimeApiSelection.test.ts"] + module_src_runtimeApiSelection_ts["src/runtimeApiSelection.ts"] module_src_runtimeBindings_test_ts["src/runtimeBindings.test.ts"] module_src_runtimeBindings_ts["src/runtimeBindings.ts"] - module_src_runtimeDatabaseOperationExecutor_ts["src/runtimeDatabaseOperationExecutor.ts"] - module_src_runtimeDataSourceOperations_test_ts["src/runtimeDataSourceOperations.test.ts"] - module_src_runtimeDataSourceOperations_ts["src/runtimeDataSourceOperations.ts"] module_src_runtimeDbPersist_test_ts["src/runtimeDbPersist.test.ts"] module_src_runtimeDbPersist_ts["src/runtimeDbPersist.ts"] module_src_runtimeEventExecution_test_ts["src/runtimeEventExecution.test.ts"] @@ -36,7 +39,8 @@ graph LR module_src_runtimeRepeatEmptyState_ts["src/runtimeRepeatEmptyState.ts"] module_src_RuntimeScreen_tsx["src/RuntimeScreen.tsx"] module_src_runtimeScreenLoaders_arrayPath_test_ts["src/runtimeScreenLoaders.arrayPath.test.ts"] - module_src_runtimeScreenLoaders_test_ts["src/runtimeScreenLoaders.test.ts"] + module_src_runtimeScreenLoaders_execution_test_ts["src/runtimeScreenLoaders.execution.test.ts"] + module_src_runtimeScreenLoaders_lifecycle_test_ts["src/runtimeScreenLoaders.lifecycle.test.ts"] module_src_runtimeScreenLoaders_ts["src/runtimeScreenLoaders.ts"] module_src_runtimeStateAdapter_ts["src/runtimeStateAdapter.ts"] module_src_runtimeStateAdapterConfig_test_ts["src/runtimeStateAdapterConfig.test.ts"] @@ -72,12 +76,12 @@ graph LR export_createRuntimeActionRegistry -.-> export_RuntimeBindingOperationExecutor export_createRuntimeActionRegistry -.-> export_RuntimeBindingOperationResultCache export_createRuntimeActionRegistry -.-> export_RuntimeBindingOperationResultWriter + export_createRuntimeApiOperationExecutor["createRuntimeApiOperationExecutor"] + module_src_runtimeApiOperations_ts --> export_createRuntimeApiOperationExecutor + export_createRuntimeApiOperationExecutor -.-> export_RuntimeApiOperationExecutorOptions + export_createRuntimeApiOperationExecutor -.-> export_RuntimeBindingOperationExecutor export_createRuntimeBindingOperationKey["createRuntimeBindingOperationKey"] module_src_runtimeBindings_ts --> export_createRuntimeBindingOperationKey - export_createRuntimeDataSourceOperationExecutor["createRuntimeDataSourceOperationExecutor"] - module_src_runtimeDataSourceOperations_ts --> export_createRuntimeDataSourceOperationExecutor - export_createRuntimeDataSourceOperationExecutor -.-> export_RuntimeBindingOperationExecutor - export_createRuntimeDataSourceOperationExecutor -.-> export_RuntimeDataSourceOperationExecutorOptions export_createRuntimeMemoryStateAdapter["createRuntimeMemoryStateAdapter"] module_src_runtimeStateAdapter_ts --> export_createRuntimeMemoryStateAdapter export_createRuntimeMemoryStateAdapter -.-> export_RuntimeMemoryStateAdapterOptions @@ -161,6 +165,10 @@ graph LR module_src_runtimeActionRegistry_ts --> export_RuntimeActionResolutionScope export_RuntimeAdapterDescriptor["RuntimeAdapterDescriptor"] module_src_runtimeManifest_ts --> export_RuntimeAdapterDescriptor + export_RuntimeApiOperationExecutorOptions["RuntimeApiOperationExecutorOptions"] + module_src_runtimeApiOperations_ts --> export_RuntimeApiOperationExecutorOptions + export_RuntimeApiOperationSelection["RuntimeApiOperationSelection"] + module_src_runtimeApiSelection_ts --> export_RuntimeApiOperationSelection export_RuntimeBindingDescriptor["RuntimeBindingDescriptor"] module_src_runtimeManifest_ts --> export_RuntimeBindingDescriptor export_RuntimeBindingOperationExecutionArgs["RuntimeBindingOperationExecutionArgs"] @@ -190,8 +198,6 @@ graph LR export_RuntimeComponentEventDispatchArgs -.-> export_RuntimeActionHandler export_RuntimeComponentEventDispatchArgs -.-> export_RuntimeBindingOperationExecutor export_RuntimeComponentEventDispatchArgs -.-> export_RuntimeBindingOperationResultWriter - export_RuntimeDataSourceOperationExecutorOptions["RuntimeDataSourceOperationExecutorOptions"] - module_src_runtimeDataSourceOperations_ts --> export_RuntimeDataSourceOperationExecutorOptions export_RuntimeDbPersistError["RuntimeDbPersistError"] module_src_runtimeDbPersist_ts --> export_RuntimeDbPersistError export_RuntimeDbPersistExecutionResult["RuntimeDbPersistExecutionResult"] @@ -284,7 +290,7 @@ graph LR export_useRuntimeScreenOperationLoaders -.-> export_RuntimeBindingResolutionContext export_useRuntimeScreenOperationLoaders -.-> export_RuntimeScreenOperationLoaderState export_validateRuntimeBindingOperationRef["validateRuntimeBindingOperationRef"] - module_src_runtimeBindings_ts --> export_validateRuntimeBindingOperationRef + module_src_runtimeApiSelection_ts --> export_validateRuntimeBindingOperationRef export_wrapRuntimeEventProps["wrapRuntimeEventProps"] module_src_runtimeActionRegistry_ts --> export_wrapRuntimeEventProps export_wrapRuntimeEventProps -.-> export_RuntimeEventPropWrapArgs diff --git a/paradox/diagrams/module-relationships.mmd b/paradox/diagrams/module-relationships.mmd index d5d383d..90abffa 100644 --- a/paradox/diagrams/module-relationships.mmd +++ b/paradox/diagrams/module-relationships.mmd @@ -7,13 +7,16 @@ graph LR module_src_registry_tsx["src/registry.tsx"] module_src_rendering_test_ts["src/rendering.test.ts"] module_src_rendering_ts["src/rendering.ts"] - module_src_runtimeActionRegistry_test_ts["src/runtimeActionRegistry.test.ts"] + module_src_runtimeActionRegistry_actions_test_ts["src/runtimeActionRegistry.actions.test.ts"] + module_src_runtimeActionRegistry_chains_test_ts["src/runtimeActionRegistry.chains.test.ts"] + module_src_runtimeActionRegistry_operations_test_ts["src/runtimeActionRegistry.operations.test.ts"] module_src_runtimeActionRegistry_ts["src/runtimeActionRegistry.ts"] + module_src_runtimeApiOperations_test_ts["src/runtimeApiOperations.test.ts"] + module_src_runtimeApiOperations_ts["src/runtimeApiOperations.ts"] + module_src_runtimeApiSelection_test_ts["src/runtimeApiSelection.test.ts"] + module_src_runtimeApiSelection_ts["src/runtimeApiSelection.ts"] module_src_runtimeBindings_test_ts["src/runtimeBindings.test.ts"] module_src_runtimeBindings_ts["src/runtimeBindings.ts"] - module_src_runtimeDatabaseOperationExecutor_ts["src/runtimeDatabaseOperationExecutor.ts"] - module_src_runtimeDataSourceOperations_test_ts["src/runtimeDataSourceOperations.test.ts"] - module_src_runtimeDataSourceOperations_ts["src/runtimeDataSourceOperations.ts"] module_src_runtimeDbPersist_test_ts["src/runtimeDbPersist.test.ts"] module_src_runtimeDbPersist_ts["src/runtimeDbPersist.ts"] module_src_runtimeEventExecution_test_ts["src/runtimeEventExecution.test.ts"] @@ -36,7 +39,8 @@ graph LR module_src_runtimeRepeatEmptyState_ts["src/runtimeRepeatEmptyState.ts"] module_src_RuntimeScreen_tsx["src/RuntimeScreen.tsx"] module_src_runtimeScreenLoaders_arrayPath_test_ts["src/runtimeScreenLoaders.arrayPath.test.ts"] - module_src_runtimeScreenLoaders_test_ts["src/runtimeScreenLoaders.test.ts"] + module_src_runtimeScreenLoaders_execution_test_ts["src/runtimeScreenLoaders.execution.test.ts"] + module_src_runtimeScreenLoaders_lifecycle_test_ts["src/runtimeScreenLoaders.lifecycle.test.ts"] module_src_runtimeScreenLoaders_ts["src/runtimeScreenLoaders.ts"] module_src_runtimeStateAdapter_ts["src/runtimeStateAdapter.ts"] module_src_runtimeStateAdapterConfig_test_ts["src/runtimeStateAdapterConfig.test.ts"] @@ -46,16 +50,20 @@ graph LR module_src_rendering_test_ts --> module_src_registry_tsx module_src_rendering_test_ts --> module_src_rendering_ts module_src_rendering_ts --> module_src_registry_tsx - module_src_runtimeActionRegistry_test_ts --> module_src_runtimeActionRegistry_ts - module_src_runtimeActionRegistry_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeActionRegistry_actions_test_ts --> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_chains_test_ts --> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_operations_test_ts --> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_operations_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeActionRegistry_ts --> module_src_runtimeApiSelection_ts module_src_runtimeActionRegistry_ts --> module_src_runtimeBindings_ts module_src_runtimeActionRegistry_ts --> module_src_RuntimeRendererConfig_tsx + module_src_runtimeApiOperations_test_ts --> module_src_runtimeApiOperations_ts + module_src_runtimeApiOperations_ts --> module_src_runtimeBindings_ts + module_src_runtimeApiSelection_test_ts --> module_src_runtimeApiSelection_ts + module_src_runtimeBindings_test_ts --> module_src_runtimeApiSelection_ts module_src_runtimeBindings_test_ts --> module_src_runtimeBindings_ts module_src_runtimeBindings_test_ts --> module_src_runtimeNodeProps_ts - module_src_runtimeDatabaseOperationExecutor_ts --> module_src_runtimeBindings_ts - module_src_runtimeDataSourceOperations_test_ts --> module_src_runtimeDataSourceOperations_ts - module_src_runtimeDataSourceOperations_ts --> module_src_runtimeBindings_ts - module_src_runtimeDataSourceOperations_ts --> module_src_runtimeDatabaseOperationExecutor_ts + module_src_runtimeBindings_ts --> module_src_runtimeApiSelection_ts module_src_runtimeDbPersist_test_ts --> module_src_runtimeActionRegistry_ts module_src_runtimeDbPersist_test_ts --> module_src_runtimeDbPersist_ts module_src_runtimeDbPersist_ts --> module_src_RuntimeRendererConfig_tsx @@ -90,6 +98,7 @@ graph LR module_src_runtimeRepeat_test_ts --> module_src_runtimeActionRegistry_ts module_src_runtimeRepeat_test_ts --> module_src_runtimeBindings_ts module_src_runtimeRepeat_test_ts --> module_src_runtimeRepeat_ts + module_src_runtimeRepeat_ts --> module_src_runtimeApiSelection_ts module_src_runtimeRepeat_ts --> module_src_runtimeBindings_ts module_src_RuntimeScreen_tsx --> module_src_registry_tsx module_src_RuntimeScreen_tsx --> module_src_RuntimeRenderer_tsx @@ -98,8 +107,11 @@ graph LR module_src_RuntimeScreen_tsx --> module_src_runtimeStateAdapter_ts module_src_runtimeScreenLoaders_arrayPath_test_ts --> module_src_runtimeBindings_ts module_src_runtimeScreenLoaders_arrayPath_test_ts --> module_src_runtimeScreenLoaders_ts - module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeBindings_ts - module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_execution_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeScreenLoaders_execution_test_ts --> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_lifecycle_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeScreenLoaders_lifecycle_test_ts --> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_ts --> module_src_runtimeApiSelection_ts module_src_runtimeScreenLoaders_ts --> module_src_runtimeBindings_ts module_src_runtimeStateAdapterConfig_test_ts --> module_src_runtimeBindings_ts module_src_runtimeStateAdapterConfig_test_ts --> module_src_runtimeNodeProps_ts diff --git a/paradox/diagrams/sequences/validate-runtime-binding-operation-ref.mmd b/paradox/diagrams/sequences/validate-runtime-binding-operation-ref.mmd index 69c4073..eae87eb 100644 --- a/paradox/diagrams/sequences/validate-runtime-binding-operation-ref.mmd +++ b/paradox/diagrams/sequences/validate-runtime-binding-operation-ref.mmd @@ -1,8 +1,11 @@ sequenceDiagram - participant participant_createRuntimeBindingDiagnostic as createRuntimeBindingDiagnostic - participant participant_resolveRuntimeBindingEndpoint as resolveRuntimeBindingEndpoint + participant participant_createApiDiagnostic as createApiDiagnostic + participant participant_findRuntimeApi as findRuntimeApi + participant participant_resolveRuntimeApiEndpoint as resolveRuntimeApiEndpoint participant participant_validateRuntimeBindingOperationRef as validateRuntimeBindingOperationRef - participant_validateRuntimeBindingOperationRef->>participant_createRuntimeBindingDiagnostic: createRuntimeBindingDiagnostic() - participant_createRuntimeBindingDiagnostic-->>participant_validateRuntimeBindingOperationRef: return - participant_validateRuntimeBindingOperationRef->>participant_resolveRuntimeBindingEndpoint: resolveRuntimeBindingEndpoint() - participant_resolveRuntimeBindingEndpoint-->>participant_validateRuntimeBindingOperationRef: return + participant_validateRuntimeBindingOperationRef->>participant_findRuntimeApi: findRuntimeApi() + participant_findRuntimeApi-->>participant_validateRuntimeBindingOperationRef: return + participant_validateRuntimeBindingOperationRef->>participant_createApiDiagnostic: createApiDiagnostic() + participant_createApiDiagnostic-->>participant_validateRuntimeBindingOperationRef: return + participant_validateRuntimeBindingOperationRef->>participant_resolveRuntimeApiEndpoint: resolveRuntimeApiEndpoint() + participant_resolveRuntimeApiEndpoint-->>participant_validateRuntimeBindingOperationRef: return diff --git a/paradox/exports.json b/paradox/exports.json index ba22ac8..1331bc3 100644 --- a/paradox/exports.json +++ b/paradox/exports.json @@ -102,7 +102,7 @@ "modulePath": "src/runtimeActionRegistry.ts", "sourceLocation": { "filePath": "src/runtimeActionRegistry.ts", - "line": 217, + "line": 216, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -262,7 +262,7 @@ "modulePath": "src/runtimeActionRegistry.ts", "sourceLocation": { "filePath": "src/runtimeActionRegistry.ts", - "line": 67, + "line": 66, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -276,11 +276,11 @@ ], "signatures": [ { - "label": "(options?: { actionHandlers?: RuntimeActionHandlers; dataSources?: DataSourceRegistry; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }) => RuntimeActionRegistry", + "label": "(options?: { actionHandlers?: RuntimeActionHandlers; apis?: ApiDefinitionList; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }) => RuntimeActionRegistry", "parameters": [ { "name": "options", - "type": "{ actionHandlers?: RuntimeActionHandlers; dataSources?: DataSourceRegistry; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }", + "type": "{ actionHandlers?: RuntimeActionHandlers; apis?: ApiDefinitionList; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }", "required": false, "description": null } @@ -293,31 +293,31 @@ "structuredRows": [] }, { - "name": "createRuntimeBindingOperationKey", + "name": "createRuntimeApiOperationExecutor", "description": null, "isReadme": false, "examples": [], "kind": "function", - "modulePath": "src/runtimeBindings.ts", + "modulePath": "src/runtimeApiOperations.ts", "sourceLocation": { - "filePath": "src/runtimeBindings.ts", - "line": 163, + "filePath": "src/runtimeApiOperations.ts", + "line": 12, "column": 1 }, "exportPaths": ["src/index.ts"], - "relatedSymbols": [], + "relatedSymbols": ["RuntimeApiOperationExecutorOptions", "RuntimeBindingOperationExecutor"], "signatures": [ { - "label": "(operation: BindingOperationRef) => string", + "label": "(options: RuntimeApiOperationExecutorOptions) => RuntimeBindingOperationExecutor", "parameters": [ { - "name": "operation", - "type": "BindingOperationRef", + "name": "options", + "type": "RuntimeApiOperationExecutorOptions", "required": true, "description": null } ], - "returnType": "string", + "returnType": "RuntimeBindingOperationExecutor", "returnDescription": null } ], @@ -325,34 +325,31 @@ "structuredRows": [] }, { - "name": "createRuntimeDataSourceOperationExecutor", + "name": "createRuntimeBindingOperationKey", "description": null, "isReadme": false, "examples": [], "kind": "function", - "modulePath": "src/runtimeDataSourceOperations.ts", + "modulePath": "src/runtimeBindings.ts", "sourceLocation": { - "filePath": "src/runtimeDataSourceOperations.ts", - "line": 14, + "filePath": "src/runtimeBindings.ts", + "line": 165, "column": 1 }, "exportPaths": ["src/index.ts"], - "relatedSymbols": [ - "RuntimeBindingOperationExecutor", - "RuntimeDataSourceOperationExecutorOptions" - ], + "relatedSymbols": [], "signatures": [ { - "label": "(options: RuntimeDataSourceOperationExecutorOptions) => RuntimeBindingOperationExecutor", + "label": "(operation: BindingOperationRef) => string", "parameters": [ { - "name": "options", - "type": "RuntimeDataSourceOperationExecutorOptions", + "name": "operation", + "type": "BindingOperationRef", "required": true, "description": null } ], - "returnType": "RuntimeBindingOperationExecutor", + "returnType": "string", "returnDescription": null } ], @@ -432,7 +429,7 @@ "modulePath": "src/runtimeActionRegistry.ts", "sourceLocation": { "filePath": "src/runtimeActionRegistry.ts", - "line": 103, + "line": 102, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -544,11 +541,11 @@ ], "signatures": [ { - "label": "(args: { readonly bindingContext?: Record; readonly dataSources?: RuntimeBindingResolutionContext[\"dataSources\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }) => Promise", + "label": "(args: { readonly bindingContext?: Record; readonly apis?: RuntimeBindingResolutionContext[\"apis\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }) => Promise", "parameters": [ { "name": "args", - "type": "{ readonly bindingContext?: Record; readonly dataSources?: RuntimeBindingResolutionContext[\"dataSources\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }", + "type": "{ readonly bindingContext?: Record; readonly apis?: RuntimeBindingResolutionContext[\"apis\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }", "required": true, "description": null } @@ -657,7 +654,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 129, + "line": 131, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -733,7 +730,7 @@ "modulePath": "src/runtimeActionRegistry.ts", "sourceLocation": { "filePath": "src/runtimeActionRegistry.ts", - "line": 231, + "line": 230, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -771,7 +768,7 @@ "modulePath": "src/runtimeActionRegistry.ts", "sourceLocation": { "filePath": "src/runtimeActionRegistry.ts", - "line": 242, + "line": 241, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -809,7 +806,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 89, + "line": 91, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -841,7 +838,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 74, + "line": 76, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -873,7 +870,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 103, + "line": 105, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -917,7 +914,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 116, + "line": 118, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1159,7 +1156,7 @@ "modulePath": "src/runtimeActionRegistry.ts", "sourceLocation": { "filePath": "src/runtimeActionRegistry.ts", - "line": 31, + "line": 30, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1192,7 +1189,7 @@ "modulePath": "src/runtimeActionRegistry.ts", "sourceLocation": { "filePath": "src/runtimeActionRegistry.ts", - "line": 42, + "line": 41, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1239,7 +1236,7 @@ "modulePath": "src/runtimeActionRegistry.ts", "sourceLocation": { "filePath": "src/runtimeActionRegistry.ts", - "line": 36, + "line": 35, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1310,6 +1307,72 @@ ], "structuredRows": [] }, + { + "name": "RuntimeApiOperationExecutorOptions", + "description": null, + "isReadme": false, + "examples": [], + "kind": "type", + "modulePath": "src/runtimeApiOperations.ts", + "sourceLocation": { + "filePath": "src/runtimeApiOperations.ts", + "line": 7, + "column": 1 + }, + "exportPaths": ["src/index.ts"], + "relatedSymbols": [], + "signatures": [], + "members": [ + { + "name": "credentialResolver", + "kind": "property", + "type": "EndpointTestCredentialResolver | undefined", + "required": false, + "description": null + }, + { + "name": "fetch", + "kind": "property", + "type": "EndpointTestFetch | undefined", + "required": false, + "description": null + } + ], + "structuredRows": [] + }, + { + "name": "RuntimeApiOperationSelection", + "description": null, + "isReadme": false, + "examples": [], + "kind": "type", + "modulePath": "src/runtimeApiSelection.ts", + "sourceLocation": { + "filePath": "src/runtimeApiSelection.ts", + "line": 9, + "column": 1 + }, + "exportPaths": ["src/index.ts"], + "relatedSymbols": [], + "signatures": [], + "members": [ + { + "name": "api", + "kind": "property", + "type": "ApiDefinition", + "required": true, + "description": null + }, + { + "name": "endpoint", + "kind": "property", + "type": "DataEndpointConfig", + "required": true, + "description": null + } + ], + "structuredRows": [] + }, { "name": "RuntimeBindingDescriptor", "description": null, @@ -1373,7 +1436,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 22, + "line": 24, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1381,17 +1444,17 @@ "signatures": [], "members": [ { - "name": "dataSource", + "name": "api", "kind": "property", - "type": "DataSourceConfig", + "type": "ApiDefinition", "required": true, "description": null }, { "name": "endpoint", "kind": "property", - "type": "DataEndpointConfig | undefined", - "required": false, + "type": "DataEndpointConfig", + "required": true, "description": null }, { @@ -1427,7 +1490,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 30, + "line": 32, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1445,7 +1508,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 41, + "line": 43, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1463,7 +1526,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 20, + "line": 22, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1481,7 +1544,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 45, + "line": 47, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1499,7 +1562,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 49, + "line": 51, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1517,7 +1580,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 64, + "line": 66, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1525,23 +1588,23 @@ "signatures": [], "members": [ { - "name": "context", + "name": "apis", "kind": "property", - "type": "Record | undefined", + "type": "ApiDefinitionList | undefined", "required": false, "description": null }, { - "name": "dataBindings", + "name": "context", "kind": "property", - "type": "Readonly> | undefined", + "type": "Record | undefined", "required": false, "description": null }, { - "name": "dataSources", + "name": "dataBindings", "kind": "property", - "type": "Readonly> | undefined", + "type": "Readonly> | undefined", "required": false, "description": null }, @@ -1599,7 +1662,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 54, + "line": 56, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1607,23 +1670,23 @@ "signatures": [], "members": [ { - "name": "context", + "name": "apis", "kind": "property", - "type": "Record | undefined", + "type": "ApiDefinitionList | undefined", "required": false, "description": null }, { - "name": "dataBindings", + "name": "context", "kind": "property", - "type": "Readonly> | undefined", + "type": "Record | undefined", "required": false, "description": null }, { - "name": "dataSources", + "name": "dataBindings", "kind": "property", - "type": "Readonly> | undefined", + "type": "Readonly> | undefined", "required": false, "description": null }, @@ -1667,7 +1730,7 @@ "modulePath": "src/runtimeBindings.ts", "sourceLocation": { "filePath": "src/runtimeBindings.ts", - "line": 69, + "line": 71, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1718,7 +1781,7 @@ "modulePath": "src/runtimeActionRegistry.ts", "sourceLocation": { "filePath": "src/runtimeActionRegistry.ts", - "line": 46, + "line": 45, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -1730,23 +1793,23 @@ "signatures": [], "members": [ { - "name": "context", + "name": "apis", "kind": "property", - "type": "Record | undefined", + "type": "ApiDefinitionList | undefined", "required": false, "description": null }, { - "name": "dataBindings", + "name": "context", "kind": "property", - "type": "Readonly> | undefined", + "type": "Record | undefined", "required": false, "description": null }, { - "name": "dataSources", + "name": "dataBindings", "kind": "property", - "type": "Readonly> | undefined", + "type": "Readonly> | undefined", "required": false, "description": null }, @@ -1809,46 +1872,6 @@ ], "structuredRows": [] }, - { - "name": "RuntimeDataSourceOperationExecutorOptions", - "description": null, - "isReadme": false, - "examples": [], - "kind": "type", - "modulePath": "src/runtimeDataSourceOperations.ts", - "sourceLocation": { - "filePath": "src/runtimeDataSourceOperations.ts", - "line": 8, - "column": 1 - }, - "exportPaths": ["src/index.ts"], - "relatedSymbols": [], - "signatures": [], - "members": [ - { - "name": "credentialResolver", - "kind": "property", - "type": "EndpointTestCredentialResolver | undefined", - "required": false, - "description": null - }, - { - "name": "databaseAdapters", - "kind": "property", - "type": "Readonly> | undefined", - "required": false, - "description": null - }, - { - "name": "fetch", - "kind": "property", - "type": "EndpointTestFetch | undefined", - "required": false, - "description": null - } - ], - "structuredRows": [] - }, { "name": "RuntimeDbPersistError", "description": null, @@ -2015,7 +2038,7 @@ "modulePath": "src/runtimeActionRegistry.ts", "sourceLocation": { "filePath": "src/runtimeActionRegistry.ts", - "line": 57, + "line": 56, "column": 1 }, "exportPaths": ["src/index.ts"], @@ -2407,23 +2430,23 @@ "description": null }, { - "name": "bindingContext", + "name": "apis", "kind": "property", - "type": "Record | undefined", + "type": "ApiDefinitionList | undefined", "required": false, "description": null }, { - "name": "dataBindings", + "name": "bindingContext", "kind": "property", - "type": "Readonly> | undefined", + "type": "Record | undefined", "required": false, "description": null }, { - "name": "dataSources", + "name": "dataBindings", "kind": "property", - "type": "Readonly> | undefined", + "type": "Readonly> | undefined", "required": false, "description": null }, @@ -2583,23 +2606,23 @@ "signatures": [], "members": [ { - "name": "bindingContext", + "name": "apis", "kind": "property", - "type": "Record | undefined", + "type": "ApiDefinitionList | undefined", "required": false, "description": null }, { - "name": "dataBindings", + "name": "bindingContext", "kind": "property", - "type": "Readonly> | undefined", + "type": "Record | undefined", "required": false, "description": null }, { - "name": "dataSources", + "name": "dataBindings", "kind": "property", - "type": "Readonly> | undefined", + "type": "Readonly> | undefined", "required": false, "description": null }, @@ -3114,11 +3137,11 @@ ], "signatures": [ { - "label": "(args: { readonly bindingContext?: Record; readonly dataSources?: RuntimeBindingResolutionContext[\"dataSources\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }) => RuntimeScreenOperationLoaderState", + "label": "(args: { readonly bindingContext?: Record; readonly apis?: RuntimeBindingResolutionContext[\"apis\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }) => RuntimeScreenOperationLoaderState", "parameters": [ { "name": "args", - "type": "{ readonly bindingContext?: Record; readonly dataSources?: RuntimeBindingResolutionContext[\"dataSources\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }", + "type": "{ readonly bindingContext?: Record; readonly apis?: RuntimeBindingResolutionContext[\"apis\"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }", "required": true, "description": null } @@ -3136,21 +3159,21 @@ "isReadme": false, "examples": [], "kind": "function", - "modulePath": "src/runtimeBindings.ts", + "modulePath": "src/runtimeApiSelection.ts", "sourceLocation": { - "filePath": "src/runtimeBindings.ts", - "line": 169, + "filePath": "src/runtimeApiSelection.ts", + "line": 14, "column": 1 }, "exportPaths": ["src/index.ts"], "relatedSymbols": [], "signatures": [ { - "label": "(operation: BindingOperationRef, dataSources: Readonly> | undefined) => readonly DataSourceDiagnostic[]", + "label": "(operation: BindingOperationRef, apis: ApiDefinitionList | undefined) => readonly DataSourceDiagnostic[]", "parameters": [ { - "name": "dataSources", - "type": "Readonly> | undefined", + "name": "apis", + "type": "ApiDefinitionList | undefined", "required": true, "description": null }, @@ -3177,7 +3200,7 @@ "modulePath": "src/runtimeActionRegistry.ts", "sourceLocation": { "filePath": "src/runtimeActionRegistry.ts", - "line": 180, + "line": 179, "column": 1 }, "exportPaths": ["src/index.ts"], diff --git a/paradox/exports.md b/paradox/exports.md index bb462cb..e317bcf 100644 --- a/paradox/exports.md +++ b/paradox/exports.md @@ -36,7 +36,7 @@ Source: `src/RuntimeRendererConfig.tsx:77:1` Kind: `function` Module: `src/runtimeActionRegistry.ts` -Source: `src/runtimeActionRegistry.ts:217:1` +Source: `src/runtimeActionRegistry.ts:216:1` ### Signatures @@ -96,37 +96,37 @@ Source: `src/runtimeScreenLoaders.ts:82:1` Kind: `function` Module: `src/runtimeActionRegistry.ts` -Source: `src/runtimeActionRegistry.ts:67:1` +Source: `src/runtimeActionRegistry.ts:66:1` ### Signatures -- `(options?: { actionHandlers?: RuntimeActionHandlers; dataSources?: DataSourceRegistry; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }) => RuntimeActionRegistry` - - options: `{ actionHandlers?: RuntimeActionHandlers; dataSources?: DataSourceRegistry; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }` (optional) +- `(options?: { actionHandlers?: RuntimeActionHandlers; apis?: ApiDefinitionList; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }) => RuntimeActionRegistry` + - options: `{ actionHandlers?: RuntimeActionHandlers; apis?: ApiDefinitionList; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }` (optional) - returns: `RuntimeActionRegistry` -## createRuntimeBindingOperationKey +## createRuntimeApiOperationExecutor Kind: `function` -Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:163:1` +Module: `src/runtimeApiOperations.ts` +Source: `src/runtimeApiOperations.ts:12:1` ### Signatures -- `(operation: BindingOperationRef) => string` - - operation: `BindingOperationRef` - - returns: `string` +- `(options: RuntimeApiOperationExecutorOptions) => RuntimeBindingOperationExecutor` + - options: `RuntimeApiOperationExecutorOptions` + - returns: `RuntimeBindingOperationExecutor` -## createRuntimeDataSourceOperationExecutor +## createRuntimeBindingOperationKey Kind: `function` -Module: `src/runtimeDataSourceOperations.ts` -Source: `src/runtimeDataSourceOperations.ts:14:1` +Module: `src/runtimeBindings.ts` +Source: `src/runtimeBindings.ts:165:1` ### Signatures -- `(options: RuntimeDataSourceOperationExecutorOptions) => RuntimeBindingOperationExecutor` - - options: `RuntimeDataSourceOperationExecutorOptions` - - returns: `RuntimeBindingOperationExecutor` +- `(operation: BindingOperationRef) => string` + - operation: `BindingOperationRef` + - returns: `string` ## createRuntimeMemoryStateAdapter @@ -156,7 +156,7 @@ Source: `src/runtimeScreenLoaders.ts:49:1` Kind: `function` Module: `src/runtimeActionRegistry.ts` -Source: `src/runtimeActionRegistry.ts:103:1` +Source: `src/runtimeActionRegistry.ts:102:1` ### Signatures @@ -196,8 +196,8 @@ Source: `src/runtimeScreenLoaders.ts:178:1` ### Signatures -- `(args: { readonly bindingContext?: Record; readonly dataSources?: RuntimeBindingResolutionContext["dataSources"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }) => Promise` - - args: `{ readonly bindingContext?: Record; readonly dataSources?: RuntimeBindingResolutionContext["dataSources"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }` +- `(args: { readonly bindingContext?: Record; readonly apis?: RuntimeBindingResolutionContext["apis"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }) => Promise` + - args: `{ readonly bindingContext?: Record; readonly apis?: RuntimeBindingResolutionContext["apis"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }` - returns: `Promise` ## ManifestContext @@ -235,7 +235,7 @@ Source: `src/RuntimeRendererConfig.tsx:110:1` Kind: `function` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:129:1` +Source: `src/runtimeBindings.ts:131:1` ### Signatures @@ -261,7 +261,7 @@ Source: `src/runtimeDbPersist.ts:68:1` Kind: `function` Module: `src/runtimeActionRegistry.ts` -Source: `src/runtimeActionRegistry.ts:231:1` +Source: `src/runtimeActionRegistry.ts:230:1` ### Signatures @@ -274,7 +274,7 @@ Source: `src/runtimeActionRegistry.ts:231:1` Kind: `function` Module: `src/runtimeActionRegistry.ts` -Source: `src/runtimeActionRegistry.ts:242:1` +Source: `src/runtimeActionRegistry.ts:241:1` ### Signatures @@ -287,7 +287,7 @@ Source: `src/runtimeActionRegistry.ts:242:1` Kind: `function` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:89:1` +Source: `src/runtimeBindings.ts:91:1` ### Signatures @@ -299,7 +299,7 @@ Source: `src/runtimeBindings.ts:89:1` Kind: `function` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:74:1` +Source: `src/runtimeBindings.ts:76:1` ### Signatures @@ -311,7 +311,7 @@ Source: `src/runtimeBindings.ts:74:1` Kind: `function` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:103:1` +Source: `src/runtimeBindings.ts:105:1` ### Signatures @@ -325,7 +325,7 @@ Source: `src/runtimeBindings.ts:103:1` Kind: `function` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:116:1` +Source: `src/runtimeBindings.ts:118:1` ### Signatures @@ -405,7 +405,7 @@ Source: `src/RuntimeRendererConfig.tsx:47:1` Kind: `type` Module: `src/runtimeActionRegistry.ts` -Source: `src/runtimeActionRegistry.ts:31:1` +Source: `src/runtimeActionRegistry.ts:30:1` ### Members @@ -418,7 +418,7 @@ Source: `src/runtimeActionRegistry.ts:31:1` Kind: `type` Module: `src/runtimeActionRegistry.ts` -Source: `src/runtimeActionRegistry.ts:42:1` +Source: `src/runtimeActionRegistry.ts:41:1` ### Members @@ -433,7 +433,7 @@ Source: `src/runtimeActionRegistry.ts:42:1` Kind: `type` Module: `src/runtimeActionRegistry.ts` -Source: `src/runtimeActionRegistry.ts:36:1` +Source: `src/runtimeActionRegistry.ts:35:1` ### Members @@ -457,6 +457,32 @@ Source: `src/runtimeManifest.ts:39:1` | kind | property | `string` | yes | | | options | property | `Options \| undefined` | no | | +## RuntimeApiOperationExecutorOptions + +Kind: `type` +Module: `src/runtimeApiOperations.ts` +Source: `src/runtimeApiOperations.ts:7:1` + +### Members + +| Name | Kind | Type | Required | Description | +| ------------------ | -------- | --------------------------------------------- | -------- | ----------- | +| credentialResolver | property | `EndpointTestCredentialResolver \| undefined` | no | | +| fetch | property | `EndpointTestFetch \| undefined` | no | | + +## RuntimeApiOperationSelection + +Kind: `type` +Module: `src/runtimeApiSelection.ts` +Source: `src/runtimeApiSelection.ts:9:1` + +### Members + +| Name | Kind | Type | Required | Description | +| -------- | -------- | -------------------- | -------- | ----------- | +| api | property | `ApiDefinition` | yes | | +| endpoint | property | `DataEndpointConfig` | yes | | + ## RuntimeBindingDescriptor Kind: `type` @@ -477,61 +503,61 @@ Source: `src/runtimeManifest.ts:31:1` Kind: `type` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:22:1` +Source: `src/runtimeBindings.ts:24:1` ### Members -| Name | Kind | Type | Required | Description | -| ---------- | -------- | --------------------------------- | -------- | ----------- | -| dataSource | property | `DataSourceConfig` | yes | | -| endpoint | property | `DataEndpointConfig \| undefined` | no | | -| input | property | `BindingValue \| undefined` | no | | -| node | property | `UiNode \| undefined` | no | | -| operation | property | `BindingOperationRef` | yes | | +| Name | Kind | Type | Required | Description | +| --------- | -------- | --------------------------- | -------- | ----------- | +| api | property | `ApiDefinition` | yes | | +| endpoint | property | `DataEndpointConfig` | yes | | +| input | property | `BindingValue \| undefined` | no | | +| node | property | `UiNode \| undefined` | no | | +| operation | property | `BindingOperationRef` | yes | | ## RuntimeBindingOperationExecutionResult Kind: `unknown` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:30:1` +Source: `src/runtimeBindings.ts:32:1` ## RuntimeBindingOperationExecutor Kind: `unknown` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:41:1` +Source: `src/runtimeBindings.ts:43:1` ## RuntimeBindingOperationKey Kind: `unknown` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:20:1` +Source: `src/runtimeBindings.ts:22:1` ## RuntimeBindingOperationResultCache Kind: `unknown` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:45:1` +Source: `src/runtimeBindings.ts:47:1` ## RuntimeBindingOperationResultWriter Kind: `unknown` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:49:1` +Source: `src/runtimeBindings.ts:51:1` ## RuntimeBindingResolutionArgs Kind: `type` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:64:1` +Source: `src/runtimeBindings.ts:66:1` ### Members | Name | Kind | Type | Required | Description | | ---------------- | -------- | ---------------------------------------------------------------------------------------------------------- | -------- | ----------- | +| apis | property | `ApiDefinitionList \| undefined` | no | | | context | property | `Record \| undefined` | no | | | dataBindings | property | `Readonly> \| undefined` | no | | -| dataSources | property | `Readonly> \| undefined` | no | | | event | property | `ComponentEventDto \| undefined` | no | | | executeOperation | property | `RuntimeBindingOperationExecutor \| undefined` | no | | | node | property | `UiNode` | yes | | @@ -543,15 +569,15 @@ Source: `src/runtimeBindings.ts:64:1` Kind: `type` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:54:1` +Source: `src/runtimeBindings.ts:56:1` ### Members | Name | Kind | Type | Required | Description | | ---------------- | -------- | ---------------------------------------------------------------------------------------------------------- | -------- | ----------- | +| apis | property | `ApiDefinitionList \| undefined` | no | | | context | property | `Record \| undefined` | no | | | dataBindings | property | `Readonly> \| undefined` | no | | -| dataSources | property | `Readonly> \| undefined` | no | | | event | property | `ComponentEventDto \| undefined` | no | | | executeOperation | property | `RuntimeBindingOperationExecutor \| undefined` | no | | | operationResults | property | `Readonly> \| undefined` | no | | @@ -561,7 +587,7 @@ Source: `src/runtimeBindings.ts:54:1` Kind: `type` Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:69:1` +Source: `src/runtimeBindings.ts:71:1` ### Members @@ -580,15 +606,15 @@ Source: `src/runtimeManifest.ts:10:1` Kind: `type` Module: `src/runtimeActionRegistry.ts` -Source: `src/runtimeActionRegistry.ts:46:1` +Source: `src/runtimeActionRegistry.ts:45:1` ### Members | Name | Kind | Type | Required | Description | | -------------------- | -------- | ---------------------------------------------------------------------------------------------------------- | -------- | ----------- | +| apis | property | `ApiDefinitionList \| undefined` | no | | | context | property | `Record \| undefined` | no | | | dataBindings | property | `Readonly> \| undefined` | no | | -| dataSources | property | `Readonly> \| undefined` | no | | | event | property | `ComponentEventDto` | yes | | | eventName | property | `string \| undefined` | no | | | executeAction | property | `RuntimeActionHandler \| undefined` | no | | @@ -598,20 +624,6 @@ Source: `src/runtimeActionRegistry.ts:46:1` | state | property | `Record \| undefined` | no | | | writeOperationResult | property | `RuntimeBindingOperationResultWriter \| undefined` | no | | -## RuntimeDataSourceOperationExecutorOptions - -Kind: `type` -Module: `src/runtimeDataSourceOperations.ts` -Source: `src/runtimeDataSourceOperations.ts:8:1` - -### Members - -| Name | Kind | Type | Required | Description | -| ------------------ | -------- | -------------------------------------------------- | -------- | ----------- | -| credentialResolver | property | `EndpointTestCredentialResolver \| undefined` | no | | -| databaseAdapters | property | `Readonly> \| undefined` | no | | -| fetch | property | `EndpointTestFetch \| undefined` | no | | - ## RuntimeDbPersistError Kind: `type` @@ -675,7 +687,7 @@ Source: `src/runtimeEventExecution.ts:9:1` Kind: `type` Module: `src/runtimeActionRegistry.ts` -Source: `src/runtimeActionRegistry.ts:57:1` +Source: `src/runtimeActionRegistry.ts:56:1` ### Members @@ -797,9 +809,9 @@ Source: `src/RuntimeRendererConfig.tsx:50:1` | Name | Kind | Type | Required | Description | | -------------------- | -------- | --------------------------------------------------------------------------------------------------------------- | -------- | ----------- | | actionHandlers | property | `RuntimeActionHandlers \| undefined` | no | | +| apis | property | `ApiDefinitionList \| undefined` | no | | | bindingContext | property | `Record \| undefined` | no | | | dataBindings | property | `Readonly> \| undefined` | no | | -| dataSources | property | `Readonly> \| undefined` | no | | | dbAdapter | property | `DbAdapter \| undefined` | no | | | dbRealtimeAdapter | property | `DbRealtimeAdapter \| undefined` | no | | | disableActions | property | `boolean \| undefined` | no | | @@ -837,9 +849,9 @@ Source: `src/RuntimeRenderer.tsx:56:1` | Name | Kind | Type | Required | Description | | ----------------- | -------- | ---------------------------------------------------------------------------------------------------------- | -------- | ----------- | +| apis | property | `ApiDefinitionList \| undefined` | no | | | bindingContext | property | `Record \| undefined` | no | | | dataBindings | property | `Readonly> \| undefined` | no | | -| dataSources | property | `Readonly> \| undefined` | no | | | dbAdapter | property | `DbAdapter \| undefined` | no | | | dbRealtimeAdapter | property | `DbRealtimeAdapter \| undefined` | no | | | disableActions | property | `boolean \| undefined` | no | | @@ -1008,20 +1020,20 @@ Source: `src/runtimeScreenLoaders.ts:273:1` ### Signatures -- `(args: { readonly bindingContext?: Record; readonly dataSources?: RuntimeBindingResolutionContext["dataSources"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }) => RuntimeScreenOperationLoaderState` - - args: `{ readonly bindingContext?: Record; readonly dataSources?: RuntimeBindingResolutionContext["dataSources"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }` +- `(args: { readonly bindingContext?: Record; readonly apis?: RuntimeBindingResolutionContext["apis"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }) => RuntimeScreenOperationLoaderState` + - args: `{ readonly bindingContext?: Record; readonly apis?: RuntimeBindingResolutionContext["apis"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }` - returns: `RuntimeScreenOperationLoaderState` ## validateRuntimeBindingOperationRef Kind: `function` -Module: `src/runtimeBindings.ts` -Source: `src/runtimeBindings.ts:169:1` +Module: `src/runtimeApiSelection.ts` +Source: `src/runtimeApiSelection.ts:14:1` ### Signatures -- `(operation: BindingOperationRef, dataSources: Readonly> | undefined) => readonly DataSourceDiagnostic[]` - - dataSources: `Readonly> | undefined` +- `(operation: BindingOperationRef, apis: ApiDefinitionList | undefined) => readonly DataSourceDiagnostic[]` + - apis: `ApiDefinitionList | undefined` - operation: `BindingOperationRef` - returns: `readonly DataSourceDiagnostic[]` @@ -1029,7 +1041,7 @@ Source: `src/runtimeBindings.ts:169:1` Kind: `function` Module: `src/runtimeActionRegistry.ts` -Source: `src/runtimeActionRegistry.ts:180:1` +Source: `src/runtimeActionRegistry.ts:179:1` ### Signatures diff --git a/paradox/index.html b/paradox/index.html index 4059c0b..6957844 100644 --- a/paradox/index.html +++ b/paradox/index.html @@ -229,58 +229,80 @@

@ankhorage/runtime

  • -
  • -
  • -
  • -
  • +
  • +
  • + +
  • +
  • + +
  • +
  • +
  • @@ -423,10 +445,20 @@

    @ankhorage/runtime

    +
  • +
  • +
  • @@ -465,9 +497,9 @@

    @ankhorage/runtime

    Package overview

    -
    84public exports
    +
    85public exports
    5components
    -
    43modules
    +
    47modules
    1entrypoints

    Entrypoints

    @@ -498,7 +530,7 @@

    src/componentRegistry.ts

    src/index.ts

    Configured entrypoint

    @@ -512,8 +544,8 @@

    src/index.ts

    createDbPersistAdapterError, createPendingRuntimeScreenOperationLoaderState, createRuntimeActionRegistry, + createRuntimeApiOperationExecutor, createRuntimeBindingOperationKey, - createRuntimeDataSourceOperationExecutor, createRuntimeMemoryStateAdapter, createRuntimeScreenLoaderRequestKey, dispatchRuntimeComponentEvent, @@ -531,7 +563,9 @@

    src/index.ts

    RuntimeActionHandler, RuntimeActionHandlerArgs, RuntimeActionHandlers, RuntimeActionRegistry, RuntimeActionResolutionArgs, RuntimeActionResolutionScope, - RuntimeAdapterDescriptor, RuntimeBindingDescriptor, + RuntimeAdapterDescriptor, + RuntimeApiOperationExecutorOptions, + RuntimeApiOperationSelection, RuntimeBindingDescriptor, RuntimeBindingOperationExecutionArgs, RuntimeBindingOperationExecutionResult, RuntimeBindingOperationExecutor, @@ -541,14 +575,12 @@

    src/index.ts

    RuntimeBindingResolutionArgs, RuntimeBindingResolutionContext, RuntimeBindingResolutionResult, RuntimeCapability, - RuntimeComponentEventDispatchArgs, - RuntimeDataSourceOperationExecutorOptions, - RuntimeDbPersistError, RuntimeDbPersistExecutionResult, - RuntimeDbPersistResult, RuntimeDiagnostic, - RuntimeEventDiagnosticsReporter, RuntimeEventPropWrapArgs, - RuntimeManifest, RuntimeManifestConfig, - RuntimeManifestInput, RuntimeMediaAssetResolver, - RuntimeMediaAssetResolverArgs, + RuntimeComponentEventDispatchArgs, RuntimeDbPersistError, + RuntimeDbPersistExecutionResult, RuntimeDbPersistResult, + RuntimeDiagnostic, RuntimeEventDiagnosticsReporter, + RuntimeEventPropWrapArgs, RuntimeManifest, + RuntimeManifestConfig, RuntimeManifestInput, + RuntimeMediaAssetResolver, RuntimeMediaAssetResolverArgs, RuntimeMemoryStateAdapterOptions, RuntimeNodePropsResolver, RuntimeRenderer, RuntimeRendererConfig, RuntimeRendererConfigProvider, @@ -621,9 +653,27 @@

    src/rendering.ts

    +

    src/runtimeActionRegistry.actions.test.ts

    +

    Referenced module

    +

    Dependencies: src/runtimeActionRegistry.ts

    +

    Exports: None

    +
    +
    +

    src/runtimeActionRegistry.chains.test.ts

    +

    Referenced module

    +

    Dependencies: src/runtimeActionRegistry.ts

    +

    Exports: None

    +
    +
    -

    src/runtimeActionRegistry.test.ts

    +

    src/runtimeActionRegistry.operations.test.ts

    Referenced module

    Dependencies: src/runtimeActionRegistry.ts, @@ -633,13 +683,13 @@

    src/runtimeActionRegistry.test.ts

    src/runtimeActionRegistry.ts

    Referenced module

    - Dependencies: src/runtimeBindings.ts, - src/RuntimeRendererConfig.tsx + Dependencies: src/runtimeApiSelection.ts, + src/runtimeBindings.ts, src/RuntimeRendererConfig.tsx

    Exports: createComponentEventFromHandlerArgs, @@ -654,75 +704,82 @@

    src/runtimeActionRegistry.ts

    -

    src/runtimeBindings.test.ts

    +

    src/runtimeApiOperations.test.ts

    Referenced module

    -

    - Dependencies: src/runtimeBindings.ts, - src/runtimeNodeProps.ts -

    +

    Dependencies: src/runtimeApiOperations.ts

    Exports: None

    -

    src/runtimeBindings.ts

    +

    src/runtimeApiOperations.ts

    Referenced module

    -

    Dependencies: None

    +

    Dependencies: src/runtimeBindings.ts

    - Exports: applyRuntimeBindingDataPath, - createRuntimeBindingOperationKey, resolveBindingInputMap, - resolveBindingInputMapSync, - resolveRuntimeBindingOperationSelection, - resolveRuntimeBindings, resolveRuntimeBindingsAsync, - resolveRuntimeBindingValue, - resolveRuntimeBindingValueSourceSync, - resolveRuntimeBindingValueSync, - RuntimeBindingOperationExecutionArgs, - RuntimeBindingOperationExecutionResult, - RuntimeBindingOperationExecutor, - RuntimeBindingOperationKey, - RuntimeBindingOperationResultCache, - RuntimeBindingOperationResultWriter, - RuntimeBindingResolutionArgs, - RuntimeBindingResolutionContext, - RuntimeBindingResolutionResult, - validateRuntimeBindingOperationRef + Exports: createRuntimeApiOperationExecutor, + RuntimeApiOperationExecutorOptions

    -

    src/runtimeDatabaseOperationExecutor.ts

    +

    src/runtimeApiSelection.test.ts

    Referenced module

    -

    Dependencies: src/runtimeBindings.ts

    -

    Exports: executeRuntimeDatabaseOperation

    +

    Dependencies: src/runtimeApiSelection.ts

    +

    Exports: None

    -

    src/runtimeDataSourceOperations.test.ts

    +

    src/runtimeApiSelection.ts

    Referenced module

    -

    Dependencies: src/runtimeDataSourceOperations.ts

    -

    Exports: None

    +

    Dependencies: None

    +

    + Exports: resolveRuntimeBindingOperationSelection, + RuntimeApiOperationSelection, + validateRuntimeBindingOperationRef +

    -

    src/runtimeDataSourceOperations.ts

    +

    src/runtimeBindings.test.ts

    Referenced module

    - Dependencies: src/runtimeBindings.ts, - src/runtimeDatabaseOperationExecutor.ts + Dependencies: src/runtimeApiSelection.ts, + src/runtimeBindings.ts, src/runtimeNodeProps.ts

    +

    Exports: None

    +
    +
    +

    src/runtimeBindings.ts

    +

    Referenced module

    +

    Dependencies: src/runtimeApiSelection.ts

    - Exports: createRuntimeDataSourceOperationExecutor, - RuntimeDataSourceOperationExecutorOptions + Exports: applyRuntimeBindingDataPath, + createRuntimeBindingOperationKey, resolveBindingInputMap, + resolveBindingInputMapSync, resolveRuntimeBindings, + resolveRuntimeBindingsAsync, resolveRuntimeBindingValue, + resolveRuntimeBindingValueSourceSync, + resolveRuntimeBindingValueSync, + RuntimeBindingOperationExecutionArgs, + RuntimeBindingOperationExecutionResult, + RuntimeBindingOperationExecutor, + RuntimeBindingOperationKey, + RuntimeBindingOperationResultCache, + RuntimeBindingOperationResultWriter, + RuntimeBindingResolutionArgs, + RuntimeBindingResolutionContext, + RuntimeBindingResolutionResult

    src/runtimeRepeat.test.ts

    src/runtimeRepeat.ts

    Referenced module

    -

    Dependencies: src/runtimeBindings.ts

    +

    + Dependencies: src/runtimeApiSelection.ts, + src/runtimeBindings.ts +

    Exports: createRuntimeRepeatBindingContext, resolveRuntimeRepeatItemKey, @@ -1003,9 +1063,21 @@

    src/runtimeScreenLoaders.arrayPath.test.ts

    +

    src/runtimeScreenLoaders.execution.test.ts

    +

    Referenced module

    +

    + Dependencies: src/runtimeBindings.ts, + src/runtimeScreenLoaders.ts +

    +

    Exports: None

    +
    +
    -

    src/runtimeScreenLoaders.test.ts

    +

    src/runtimeScreenLoaders.lifecycle.test.ts

    Referenced module

    Dependencies: src/runtimeBindings.ts, @@ -1015,11 +1087,14 @@

    src/runtimeScreenLoaders.test.ts

    src/runtimeScreenLoaders.ts

    Referenced module

    -

    Dependencies: src/runtimeBindings.ts

    +

    + Dependencies: src/runtimeApiSelection.ts, + src/runtimeBindings.ts +

    Exports: beginRuntimeScreenOperationLoaderRequest, completeRuntimeScreenOperationLoaderRequest, @@ -1307,7 +1382,7 @@

    src/runtimeActionRegistry.ts

    data-search="createComponentEventFromHandlerArgs function src/runtimeActionRegistry.ts (args: { readonly node: UiNode; readonly eventName: string; readonly handlerArgs: readonly unknown[]; }) => ComponentEventDto<string, RuntimeEventPayload>" >

    createComponentEventFromHandlerArgs

    -

    function • src/runtimeActionRegistry.ts:217:1

    +

    function • src/runtimeActionRegistry.ts:216:1

    Export paths: src/index.ts

    Related symbols: None
    @@ -1347,10 +1422,10 @@
    Signature

    createRuntimeActionRegistry

    -

    function • src/runtimeActionRegistry.ts:67:1

    +

    function • src/runtimeActionRegistry.ts:66:1

    Export paths: src/index.ts

    @@ -1367,7 +1442,7 @@

    createRuntimeActionRegistry

    Signature
    -(options?: { actionHandlers?: RuntimeActionHandlers; dataSources?: DataSourceRegistry; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }) => RuntimeActionRegistry
    +(options?: { actionHandlers?: RuntimeActionHandlers; apis?: ApiDefinitionList; dataBindings?: ComponentDataBindingRegistry; executeAction?: RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }) => RuntimeActionRegistry @@ -1382,9 +1457,9 @@
    Signature
    + + + + + + + @@ -1750,17 +1832,6 @@

    RuntimeComponentEventDispatchArgs

    - - - - - - - @@ -1831,7 +1902,7 @@

    RuntimeComponentEventDispatchArgs

    data-search="RuntimeEventPropWrapArgs type src/runtimeActionRegistry.ts RuntimeComponentEventDispatchArgs" >

    RuntimeEventPropWrapArgs

    -

    type • src/runtimeActionRegistry.ts:57:1

    +

    type • src/runtimeActionRegistry.ts:56:1

    Export paths: src/index.ts

    @@ -1933,7 +2004,7 @@

    RuntimeEventPropWrapArgs

    data-search="wrapRuntimeEventProps function src/runtimeActionRegistry.ts RuntimeEventPropWrapArgs (args: RuntimeEventPropWrapArgs) => Record<string, unknown>" >

    wrapRuntimeEventProps

    -

    function • src/runtimeActionRegistry.ts:180:1

    +

    function • src/runtimeActionRegistry.ts:179:1

    Export paths: src/index.ts

    @@ -1968,20 +2039,27 @@
    Signature
    -

    src/runtimeBindings.ts

    +

    src/runtimeApiOperations.ts

    -

    createRuntimeBindingOperationKey

    -

    function • src/runtimeBindings.ts:163:1

    +

    createRuntimeApiOperationExecutor

    +

    function • src/runtimeApiOperations.ts:12:1

    Export paths: src/index.ts

    -
    Related symbols: None
    +
    + Related symbols: +
      +
    • RuntimeApiOperationExecutorOptions
    • +
    • RuntimeBindingOperationExecutor
    • +
    +
    Signature
    -
    (operation: BindingOperationRef) => string
    +
    +(options: RuntimeApiOperationExecutorOptions) => RuntimeBindingOperationExecutor
    options { actionHandlers?: RuntimeActionHandlers; dataSources?: - DataSourceRegistry; dataBindings?: ComponentDataBindingRegistry; - executeAction?: RuntimeActionHandler; executeOperation?: + >{ actionHandlers?: RuntimeActionHandlers; apis?: ApiDefinitionList; + dataBindings?: ComponentDataBindingRegistry; executeAction?: + RuntimeActionHandler; executeOperation?: RuntimeBindingOperationExecutor; operationResults?: RuntimeBindingOperationResultCache; writeOperationResult?: RuntimeBindingOperationResultWriter; }Signature data-search="dispatchRuntimeComponentEvent function src/runtimeActionRegistry.ts RuntimeActionHandlers RuntimeComponentEventDispatchArgs (args: RuntimeComponentEventDispatchArgs & { readonly actionHandlers?: RuntimeActionHandlers; }) => Promise<readonly DataSourceDiagnostic[]>" >

    dispatchRuntimeComponentEvent

    -

    function • src/runtimeActionRegistry.ts:103:1

    +

    function • src/runtimeActionRegistry.ts:102:1

    Export paths: src/index.ts

    @@ -1453,7 +1528,7 @@
    Signature
    data-search="resolveRuntimeActionPayload function src/runtimeActionRegistry.ts RuntimeActionResolutionArgs (payload: object | undefined, args: RuntimeActionResolutionArgs) => object | undefined" >

    resolveRuntimeActionPayload

    -

    function • src/runtimeActionRegistry.ts:231:1

    +

    function • src/runtimeActionRegistry.ts:230:1

    Export paths: src/index.ts

    @@ -1499,7 +1574,7 @@
    Signature
    data-search="resolveRuntimeActionValue function src/runtimeActionRegistry.ts RuntimeActionResolutionArgs (value: unknown, args: RuntimeActionResolutionArgs) => object | undefined" >

    resolveRuntimeActionValue

    -

    function • src/runtimeActionRegistry.ts:242:1

    +

    function • src/runtimeActionRegistry.ts:241:1

    Export paths: src/index.ts

    @@ -1545,7 +1620,7 @@
    Signature
    data-search="RuntimeActionRegistry type src/runtimeActionRegistry.ts RuntimeActionHandler RuntimeComponentEventDispatchArgs" >

    RuntimeActionRegistry

    -

    type • src/runtimeActionRegistry.ts:31:1

    +

    type • src/runtimeActionRegistry.ts:30:1

    Export paths: src/index.ts

    @@ -1598,7 +1673,7 @@

    RuntimeActionRegistry

    data-search="RuntimeActionResolutionArgs type src/runtimeActionRegistry.ts " >

    RuntimeActionResolutionArgs

    -

    type • src/runtimeActionRegistry.ts:42:1

    +

    type • src/runtimeActionRegistry.ts:41:1

    Export paths: src/index.ts

    Related symbols: None
    @@ -1656,7 +1731,7 @@

    RuntimeActionResolutionArgs

    data-search="RuntimeActionResolutionScope type src/runtimeActionRegistry.ts " >

    RuntimeActionResolutionScope

    -

    type • src/runtimeActionRegistry.ts:36:1

    +

    type • src/runtimeActionRegistry.ts:35:1

    Export paths: src/index.ts

    Related symbols: None
    @@ -1707,7 +1782,7 @@

    RuntimeActionResolutionScope

    data-search="RuntimeComponentEventDispatchArgs type src/runtimeActionRegistry.ts RuntimeActionHandler RuntimeBindingOperationExecutor RuntimeBindingOperationResultWriter" >

    RuntimeComponentEventDispatchArgs

    -

    type • src/runtimeActionRegistry.ts:46:1

    +

    type • src/runtimeActionRegistry.ts:45:1

    Export paths: src/index.ts

    @@ -1730,6 +1805,13 @@

    RuntimeComponentEventDispatchArgs

    apispropertyApiDefinitionList | undefinedno
    context property no
    dataSourcesproperty - Readonly<Record<string, DataSourceConfig>> | undefined - no
    event property
    @@ -1993,35 +2071,111 @@
    Signature
    - - + +
    operationBindingOperationRefoptionsRuntimeApiOperationExecutorOptions yes
    -

    Returns: string

    +

    Returns: RuntimeBindingOperationExecutor

    -

    resolveBindingInputMap

    -

    function • src/runtimeBindings.ts:129:1

    +

    RuntimeApiOperationExecutorOptions

    +

    type • src/runtimeApiOperations.ts:7:1

    Export paths: src/index.ts

    -
    - Related symbols: -
      -
    • RuntimeBindingResolutionContext
    • -
    -
    +
    Related symbols: None
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    MemberKindTypeRequiredDescription
    credentialResolverpropertyEndpointTestCredentialResolver | undefinedno
    fetchpropertyEndpointTestFetch | undefinedno
    +
    +
    +
    +

    src/runtimeApiSelection.ts

    +
    +

    RuntimeApiOperationSelection

    +

    type • src/runtimeApiSelection.ts:9:1

    + +

    Export paths: src/index.ts

    +
    Related symbols: None
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    MemberKindTypeRequiredDescription
    apipropertyApiDefinitionyes
    endpointpropertyDataEndpointConfigyes
    +
    +
    +

    validateRuntimeBindingOperationRef

    +

    function • src/runtimeApiSelection.ts:14:1

    + +

    Export paths: src/index.ts

    +
    Related symbols: None
    Signature
    -(input: Readonly<Record<string, BindingInputValue>> | undefined, context: RuntimeBindingResolutionContext, diagnostics?: DataSourceDiagnostic[]) => Promise<BindingValue | undefined>
    +(operation: BindingOperationRef, apis: ApiDefinitionList | undefined) => readonly DataSourceDiagnostic[] @@ -2033,15 +2187,98 @@
    Signature
    - - + + - - - + + + + + + +
    contextRuntimeBindingResolutionContextapisApiDefinitionList | undefined yes
    diagnosticsDataSourceDiagnostic[]nooperationBindingOperationRefyes
    +

    Returns: readonly DataSourceDiagnostic[]

    +
    +
    +
    +
    +

    src/runtimeBindings.ts

    +
    +

    createRuntimeBindingOperationKey

    +

    function • src/runtimeBindings.ts:165:1

    + +

    Export paths: src/index.ts

    +
    Related symbols: None
    +
    +
    Signature
    +
    (operation: BindingOperationRef) => string
    + + + + + + + + + + + + + + + + + +
    ParameterTypeRequiredDescription
    operationBindingOperationRefyes
    +

    Returns: string

    +
    +
    +
    +

    resolveBindingInputMap

    +

    function • src/runtimeBindings.ts:131:1

    + +

    Export paths: src/index.ts

    +
    + Related symbols: +
      +
    • RuntimeBindingResolutionContext
    • +
    +
    +
    +
    Signature
    +
    +(input: Readonly<Record<string, BindingInputValue>> | undefined, context: RuntimeBindingResolutionContext, diagnostics?: DataSourceDiagnostic[]) => Promise<BindingValue | undefined>
    + + + + + + + + + + + + + + + + + + + + @@ -2068,7 +2305,7 @@
    Signature
    data-search="resolveRuntimeBindings function src/runtimeBindings.ts RuntimeBindingResolutionArgs RuntimeBindingResolutionResult (args: RuntimeBindingResolutionArgs) => RuntimeBindingResolutionResult" >

    resolveRuntimeBindings

    -

    function • src/runtimeBindings.ts:89:1

    +

    function • src/runtimeBindings.ts:91:1

    Export paths: src/index.ts

    @@ -2109,7 +2346,7 @@
    Signature
    data-search="resolveRuntimeBindingsAsync function src/runtimeBindings.ts RuntimeBindingResolutionArgs RuntimeBindingResolutionResult (args: RuntimeBindingResolutionArgs) => Promise<RuntimeBindingResolutionResult>" >

    resolveRuntimeBindingsAsync

    -

    function • src/runtimeBindings.ts:74:1

    +

    function • src/runtimeBindings.ts:76:1

    Export paths: src/index.ts

    @@ -2153,7 +2390,7 @@
    Signature
    data-search="resolveRuntimeBindingValue function src/runtimeBindings.ts RuntimeBindingResolutionContext (binding: PropBinding, context: RuntimeBindingResolutionContext, diagnostics?: DataSourceDiagnostic[]) => Promise<unknown>" >

    resolveRuntimeBindingValue

    -

    function • src/runtimeBindings.ts:103:1

    +

    function • src/runtimeBindings.ts:105:1

    Export paths: src/index.ts

    @@ -2205,7 +2442,7 @@
    Signature
    data-search="resolveRuntimeBindingValueSync function src/runtimeBindings.ts RuntimeBindingResolutionContext (binding: PropBinding, context: RuntimeBindingResolutionContext, diagnostics?: DataSourceDiagnostic[]) => unknown" >

    resolveRuntimeBindingValueSync

    -

    function • src/runtimeBindings.ts:116:1

    +

    function • src/runtimeBindings.ts:118:1

    Export paths: src/index.ts

    @@ -2257,7 +2494,7 @@
    Signature
    data-search="RuntimeBindingOperationExecutionArgs type src/runtimeBindings.ts " >

    RuntimeBindingOperationExecutionArgs

    -

    type • src/runtimeBindings.ts:22:1

    +

    type • src/runtimeBindings.ts:24:1

    Export paths: src/index.ts

    Related symbols: None
    @@ -2274,17 +2511,17 @@

    RuntimeBindingOperationExecutionArgs

    - + - + - - + + @@ -2317,7 +2554,7 @@

    RuntimeBindingOperationExecutionArgs

    data-search="RuntimeBindingOperationExecutionResult unknown src/runtimeBindings.ts " >

    RuntimeBindingOperationExecutionResult

    -

    unknown • src/runtimeBindings.ts:30:1

    +

    unknown • src/runtimeBindings.ts:32:1

    Export paths: src/index.ts

    Related symbols: None
    @@ -2328,7 +2565,7 @@

    RuntimeBindingOperationExecutionResult

    data-search="RuntimeBindingOperationExecutor unknown src/runtimeBindings.ts " >

    RuntimeBindingOperationExecutor

    -

    unknown • src/runtimeBindings.ts:41:1

    +

    unknown • src/runtimeBindings.ts:43:1

    Export paths: src/index.ts

    Related symbols: None
    @@ -2339,7 +2576,7 @@

    RuntimeBindingOperationExecutor

    data-search="RuntimeBindingOperationKey unknown src/runtimeBindings.ts " >

    RuntimeBindingOperationKey

    -

    unknown • src/runtimeBindings.ts:20:1

    +

    unknown • src/runtimeBindings.ts:22:1

    Export paths: src/index.ts

    Related symbols: None
    @@ -2350,7 +2587,7 @@

    RuntimeBindingOperationKey

    data-search="RuntimeBindingOperationResultCache unknown src/runtimeBindings.ts " >

    RuntimeBindingOperationResultCache

    -

    unknown • src/runtimeBindings.ts:45:1

    +

    unknown • src/runtimeBindings.ts:47:1

    Export paths: src/index.ts

    Related symbols: None
    @@ -2361,7 +2598,7 @@

    RuntimeBindingOperationResultCache

    data-search="RuntimeBindingOperationResultWriter unknown src/runtimeBindings.ts " >

    RuntimeBindingOperationResultWriter

    -

    unknown • src/runtimeBindings.ts:49:1

    +

    unknown • src/runtimeBindings.ts:51:1

    Export paths: src/index.ts

    Related symbols: None
    @@ -2372,7 +2609,7 @@

    RuntimeBindingOperationResultWriter

    data-search="RuntimeBindingResolutionArgs type src/runtimeBindings.ts RuntimeBindingOperationExecutor" >

    RuntimeBindingResolutionArgs

    -

    type • src/runtimeBindings.ts:64:1

    +

    type • src/runtimeBindings.ts:66:1

    Export paths: src/index.ts

    @@ -2393,6 +2630,13 @@

    RuntimeBindingResolutionArgs

    + + + + + + + @@ -2413,17 +2657,6 @@

    RuntimeBindingResolutionArgs

    - - - - - - - @@ -2480,7 +2713,7 @@

    RuntimeBindingResolutionArgs

    data-search="RuntimeBindingResolutionContext type src/runtimeBindings.ts RuntimeBindingOperationExecutor" >

    RuntimeBindingResolutionContext

    -

    type • src/runtimeBindings.ts:54:1

    +

    type • src/runtimeBindings.ts:56:1

    Export paths: src/index.ts

    @@ -2501,6 +2734,13 @@

    RuntimeBindingResolutionContext

    + + + + + + + @@ -2521,17 +2761,6 @@

    RuntimeBindingResolutionContext

    - - - - - - - @@ -2574,7 +2803,7 @@

    RuntimeBindingResolutionContext

    data-search="RuntimeBindingResolutionResult type src/runtimeBindings.ts " >

    RuntimeBindingResolutionResult

    -

    type • src/runtimeBindings.ts:69:1

    +

    type • src/runtimeBindings.ts:71:1

    Export paths: src/index.ts

    Related symbols: None
    @@ -2607,144 +2836,6 @@

    RuntimeBindingResolutionResult

    ParameterTypeRequiredDescription
    contextRuntimeBindingResolutionContextyes
    diagnosticsDataSourceDiagnostic[]no
    dataSourceapi propertyDataSourceConfigApiDefinition yes
    endpoint propertyDataEndpointConfig | undefinednoDataEndpointConfigyes
    apispropertyApiDefinitionList | undefinedno
    context property no
    dataSourcesproperty - Readonly<Record<string, DataSourceConfig>> | undefined - no
    event property
    apispropertyApiDefinitionList | undefinedno
    context property no
    dataSourcesproperty - Readonly<Record<string, DataSourceConfig>> | undefined - no
    event property
    -
    -

    validateRuntimeBindingOperationRef

    -

    function • src/runtimeBindings.ts:169:1

    - -

    Export paths: src/index.ts

    -
    Related symbols: None
    -
    -
    Signature
    -
    -(operation: BindingOperationRef, dataSources: Readonly<Record<string, DataSourceConfig>> | undefined) => readonly DataSourceDiagnostic[]
    - - - - - - - - - - - - - - - - - - - - - - - -
    ParameterTypeRequiredDescription
    dataSources - Readonly<Record<string, DataSourceConfig>> | - undefined - yes
    operationBindingOperationRefyes
    -

    Returns: readonly DataSourceDiagnostic[]

    -
    -
    -
    -
    -

    src/runtimeDataSourceOperations.ts

    -
    -

    createRuntimeDataSourceOperationExecutor

    -

    function • src/runtimeDataSourceOperations.ts:14:1

    - -

    Export paths: src/index.ts

    -
    - Related symbols: -
      -
    • RuntimeBindingOperationExecutor
    • -
    • RuntimeDataSourceOperationExecutorOptions
    • -
    -
    -
    -
    Signature
    -
    -(options: RuntimeDataSourceOperationExecutorOptions) => RuntimeBindingOperationExecutor
    - - - - - - - - - - - - - - - - - -
    ParameterTypeRequiredDescription
    optionsRuntimeDataSourceOperationExecutorOptionsyes
    -

    Returns: RuntimeBindingOperationExecutor

    -
    -
    -
    -

    RuntimeDataSourceOperationExecutorOptions

    -

    type • src/runtimeDataSourceOperations.ts:8:1

    - -

    Export paths: src/index.ts

    -
    Related symbols: None
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    MemberKindTypeRequiredDescription
    credentialResolverpropertyEndpointTestCredentialResolver | undefinedno
    databaseAdaptersproperty - Readonly<Record<string, DbAdapter>> | undefined - no
    fetchpropertyEndpointTestFetch | undefinedno
    -

    src/runtimeDbPersist.ts

    @@ -3683,32 +3774,26 @@

    RuntimeRendererProps

    - bindingContext + apis property - Record<string, unknown> | undefined + ApiDefinitionList | undefined no - dataBindings + bindingContext property - - Readonly<Record<string, - import("@ankhorage/contracts/dist/bindings").ComponentDataBinding>> - | undefined - + Record<string, unknown> | undefined no - dataSources + dataBindings property Readonly<Record<string, - import("@ankhorage/contracts/dist/index").DataSourceConfig>> + import("@ankhorage/contracts/dist/bindings").ComponentDataBinding>> | undefined @@ -4142,6 +4227,13 @@

    RuntimeRendererConfig

    no + + apis + property + ApiDefinitionList | undefined + no + + bindingContext property @@ -4163,20 +4255,7 @@

    RuntimeRendererConfig

    - dataSources - property - - Readonly<Record<string, - import("@ankhorage/contracts/dist/index").DataSourceConfig>> - | undefined - - no - - - - dbAdapter + dbAdapter property DbAdapter | undefined no @@ -4654,7 +4733,7 @@
    Signature

    executeRuntimeScreenOperationLoaders

    function • src/runtimeScreenLoaders.ts:178:1

    @@ -4672,7 +4751,7 @@

    executeRuntimeScreenOperationLoaders

    Signature
    -(args: { readonly bindingContext?: Record<string, unknown>; readonly dataSources?: RuntimeBindingResolutionContext["dataSources"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }) => Promise<RuntimeScreenOperationLoaderExecutionResult>
    +(args: { readonly bindingContext?: Record<string, unknown>; readonly apis?: RuntimeBindingResolutionContext["apis"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }) => Promise<RuntimeScreenOperationLoaderExecutionResult> @@ -4688,8 +4767,8 @@
    Signature
    { readonly bindingContext?: Record<string, unknown>; readonly - dataSources?: RuntimeBindingResolutionContext["dataSources"]; - readonly executeOperation?: RuntimeBindingOperationExecutor; readonly + apis?: RuntimeBindingResolutionContext["apis"]; readonly + executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly screen: ScreenSpec; readonly loaders: readonly OperationScreenDataLoaderDefinition[]; }RuntimeScreenOperationLoaderState

    useRuntimeScreenOperationLoaders

    function • src/runtimeScreenLoaders.ts:273:1

    @@ -4868,7 +4947,7 @@

    useRuntimeScreenOperationLoaders

    Signature
    -(args: { readonly bindingContext?: Record<string, unknown>; readonly dataSources?: RuntimeBindingResolutionContext["dataSources"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }) => RuntimeScreenOperationLoaderState
    +(args: { readonly bindingContext?: Record<string, unknown>; readonly apis?: RuntimeBindingResolutionContext["apis"]; readonly executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }) => RuntimeScreenOperationLoaderState @@ -4884,8 +4963,8 @@
    Signature
    - - + + - - + + - - + + @@ -5300,32 +5379,45 @@

    Architecture overview

    module_src_rendering_ts["src/rendering.ts"] package__ankhorage_runtime -.-> module_src_rendering_ts module_src_rendering_ts --> module_src_registry_tsx - module_src_runtimeActionRegistry_test_ts["src/runtimeActionRegistry.test.ts"] - package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_test_ts - module_src_runtimeActionRegistry_test_ts --> module_src_runtimeActionRegistry_ts - module_src_runtimeActionRegistry_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeActionRegistry_actions_test_ts["src/runtimeActionRegistry.actions.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_actions_test_ts + module_src_runtimeActionRegistry_actions_test_ts --> + module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_chains_test_ts["src/runtimeActionRegistry.chains.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_chains_test_ts + module_src_runtimeActionRegistry_chains_test_ts --> + module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_operations_test_ts["src/runtimeActionRegistry.operations.test.ts"] + package__ankhorage_runtime -.-> + module_src_runtimeActionRegistry_operations_test_ts + module_src_runtimeActionRegistry_operations_test_ts --> + module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_operations_test_ts --> + module_src_runtimeBindings_ts module_src_runtimeActionRegistry_ts["src/runtimeActionRegistry.ts"] package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_ts --> module_src_runtimeApiSelection_ts module_src_runtimeActionRegistry_ts --> module_src_runtimeBindings_ts module_src_runtimeActionRegistry_ts --> module_src_RuntimeRendererConfig_tsx + module_src_runtimeApiOperations_test_ts["src/runtimeApiOperations.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeApiOperations_test_ts + module_src_runtimeApiOperations_test_ts --> module_src_runtimeApiOperations_ts + module_src_runtimeApiOperations_ts["src/runtimeApiOperations.ts"] + package__ankhorage_runtime -.-> module_src_runtimeApiOperations_ts + module_src_runtimeApiOperations_ts --> module_src_runtimeBindings_ts + module_src_runtimeApiSelection_test_ts["src/runtimeApiSelection.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeApiSelection_test_ts + module_src_runtimeApiSelection_test_ts --> module_src_runtimeApiSelection_ts + module_src_runtimeApiSelection_ts["src/runtimeApiSelection.ts"] + package__ankhorage_runtime -.-> module_src_runtimeApiSelection_ts module_src_runtimeBindings_test_ts["src/runtimeBindings.test.ts"] package__ankhorage_runtime -.-> module_src_runtimeBindings_test_ts + module_src_runtimeBindings_test_ts --> module_src_runtimeApiSelection_ts module_src_runtimeBindings_test_ts --> module_src_runtimeBindings_ts module_src_runtimeBindings_test_ts --> module_src_runtimeNodeProps_ts module_src_runtimeBindings_ts["src/runtimeBindings.ts"] package__ankhorage_runtime -.-> module_src_runtimeBindings_ts - module_src_runtimeDatabaseOperationExecutor_ts["src/runtimeDatabaseOperationExecutor.ts"] - package__ankhorage_runtime -.-> module_src_runtimeDatabaseOperationExecutor_ts - module_src_runtimeDatabaseOperationExecutor_ts --> module_src_runtimeBindings_ts - module_src_runtimeDataSourceOperations_test_ts["src/runtimeDataSourceOperations.test.ts"] - package__ankhorage_runtime -.-> module_src_runtimeDataSourceOperations_test_ts - module_src_runtimeDataSourceOperations_test_ts --> - module_src_runtimeDataSourceOperations_ts - module_src_runtimeDataSourceOperations_ts["src/runtimeDataSourceOperations.ts"] - package__ankhorage_runtime -.-> module_src_runtimeDataSourceOperations_ts - module_src_runtimeDataSourceOperations_ts --> module_src_runtimeBindings_ts - module_src_runtimeDataSourceOperations_ts --> - module_src_runtimeDatabaseOperationExecutor_ts + module_src_runtimeBindings_ts --> module_src_runtimeApiSelection_ts module_src_runtimeDbPersist_test_ts["src/runtimeDbPersist.test.ts"] package__ankhorage_runtime -.-> module_src_runtimeDbPersist_test_ts module_src_runtimeDbPersist_test_ts --> module_src_runtimeActionRegistry_ts @@ -5397,6 +5489,7 @@

    Architecture overview

    module_src_runtimeRepeat_test_ts --> module_src_runtimeRepeat_ts module_src_runtimeRepeat_ts["src/runtimeRepeat.ts"] package__ankhorage_runtime -.-> module_src_runtimeRepeat_ts + module_src_runtimeRepeat_ts --> module_src_runtimeApiSelection_ts module_src_runtimeRepeat_ts --> module_src_runtimeBindings_ts module_src_runtimeRepeatDiagnostics_ts["src/runtimeRepeatDiagnostics.ts"] package__ankhorage_runtime -.-> module_src_runtimeRepeatDiagnostics_ts @@ -5414,12 +5507,19 @@

    Architecture overview

    module_src_runtimeScreenLoaders_arrayPath_test_ts --> module_src_runtimeBindings_ts module_src_runtimeScreenLoaders_arrayPath_test_ts --> module_src_runtimeScreenLoaders_ts - module_src_runtimeScreenLoaders_test_ts["src/runtimeScreenLoaders.test.ts"] - package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_test_ts - module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeBindings_ts - module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_execution_test_ts["src/runtimeScreenLoaders.execution.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_execution_test_ts + module_src_runtimeScreenLoaders_execution_test_ts --> + module_src_runtimeBindings_ts module_src_runtimeScreenLoaders_execution_test_ts + --> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_lifecycle_test_ts["src/runtimeScreenLoaders.lifecycle.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_lifecycle_test_ts + module_src_runtimeScreenLoaders_lifecycle_test_ts --> + module_src_runtimeBindings_ts module_src_runtimeScreenLoaders_lifecycle_test_ts + --> module_src_runtimeScreenLoaders_ts module_src_runtimeScreenLoaders_ts["src/runtimeScreenLoaders.ts"] package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_ts --> module_src_runtimeApiSelection_ts module_src_runtimeScreenLoaders_ts --> module_src_runtimeBindings_ts module_src_runtimeStateAdapter_ts["src/runtimeStateAdapter.ts"] package__ankhorage_runtime -.-> module_src_runtimeStateAdapter_ts @@ -5462,30 +5562,40 @@

    Architecture overview

    module_src_rendering_ts["src/rendering.ts"] package__ankhorage_runtime -.-> module_src_rendering_ts module_src_rendering_ts --> module_src_registry_tsx - module_src_runtimeActionRegistry_test_ts["src/runtimeActionRegistry.test.ts"] - package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_test_ts - module_src_runtimeActionRegistry_test_ts --> module_src_runtimeActionRegistry_ts - module_src_runtimeActionRegistry_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeActionRegistry_actions_test_ts["src/runtimeActionRegistry.actions.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_actions_test_ts + module_src_runtimeActionRegistry_actions_test_ts --> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_chains_test_ts["src/runtimeActionRegistry.chains.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_chains_test_ts + module_src_runtimeActionRegistry_chains_test_ts --> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_operations_test_ts["src/runtimeActionRegistry.operations.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_operations_test_ts + module_src_runtimeActionRegistry_operations_test_ts --> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_operations_test_ts --> module_src_runtimeBindings_ts module_src_runtimeActionRegistry_ts["src/runtimeActionRegistry.ts"] package__ankhorage_runtime -.-> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_ts --> module_src_runtimeApiSelection_ts module_src_runtimeActionRegistry_ts --> module_src_runtimeBindings_ts module_src_runtimeActionRegistry_ts --> module_src_RuntimeRendererConfig_tsx + module_src_runtimeApiOperations_test_ts["src/runtimeApiOperations.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeApiOperations_test_ts + module_src_runtimeApiOperations_test_ts --> module_src_runtimeApiOperations_ts + module_src_runtimeApiOperations_ts["src/runtimeApiOperations.ts"] + package__ankhorage_runtime -.-> module_src_runtimeApiOperations_ts + module_src_runtimeApiOperations_ts --> module_src_runtimeBindings_ts + module_src_runtimeApiSelection_test_ts["src/runtimeApiSelection.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeApiSelection_test_ts + module_src_runtimeApiSelection_test_ts --> module_src_runtimeApiSelection_ts + module_src_runtimeApiSelection_ts["src/runtimeApiSelection.ts"] + package__ankhorage_runtime -.-> module_src_runtimeApiSelection_ts module_src_runtimeBindings_test_ts["src/runtimeBindings.test.ts"] package__ankhorage_runtime -.-> module_src_runtimeBindings_test_ts + module_src_runtimeBindings_test_ts --> module_src_runtimeApiSelection_ts module_src_runtimeBindings_test_ts --> module_src_runtimeBindings_ts module_src_runtimeBindings_test_ts --> module_src_runtimeNodeProps_ts module_src_runtimeBindings_ts["src/runtimeBindings.ts"] package__ankhorage_runtime -.-> module_src_runtimeBindings_ts - module_src_runtimeDatabaseOperationExecutor_ts["src/runtimeDatabaseOperationExecutor.ts"] - package__ankhorage_runtime -.-> module_src_runtimeDatabaseOperationExecutor_ts - module_src_runtimeDatabaseOperationExecutor_ts --> module_src_runtimeBindings_ts - module_src_runtimeDataSourceOperations_test_ts["src/runtimeDataSourceOperations.test.ts"] - package__ankhorage_runtime -.-> module_src_runtimeDataSourceOperations_test_ts - module_src_runtimeDataSourceOperations_test_ts --> module_src_runtimeDataSourceOperations_ts - module_src_runtimeDataSourceOperations_ts["src/runtimeDataSourceOperations.ts"] - package__ankhorage_runtime -.-> module_src_runtimeDataSourceOperations_ts - module_src_runtimeDataSourceOperations_ts --> module_src_runtimeBindings_ts - module_src_runtimeDataSourceOperations_ts --> module_src_runtimeDatabaseOperationExecutor_ts + module_src_runtimeBindings_ts --> module_src_runtimeApiSelection_ts module_src_runtimeDbPersist_test_ts["src/runtimeDbPersist.test.ts"] package__ankhorage_runtime -.-> module_src_runtimeDbPersist_test_ts module_src_runtimeDbPersist_test_ts --> module_src_runtimeActionRegistry_ts @@ -5556,6 +5666,7 @@

    Architecture overview

    module_src_runtimeRepeat_test_ts --> module_src_runtimeRepeat_ts module_src_runtimeRepeat_ts["src/runtimeRepeat.ts"] package__ankhorage_runtime -.-> module_src_runtimeRepeat_ts + module_src_runtimeRepeat_ts --> module_src_runtimeApiSelection_ts module_src_runtimeRepeat_ts --> module_src_runtimeBindings_ts module_src_runtimeRepeatDiagnostics_ts["src/runtimeRepeatDiagnostics.ts"] package__ankhorage_runtime -.-> module_src_runtimeRepeatDiagnostics_ts @@ -5572,12 +5683,17 @@

    Architecture overview

    package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_arrayPath_test_ts module_src_runtimeScreenLoaders_arrayPath_test_ts --> module_src_runtimeBindings_ts module_src_runtimeScreenLoaders_arrayPath_test_ts --> module_src_runtimeScreenLoaders_ts - module_src_runtimeScreenLoaders_test_ts["src/runtimeScreenLoaders.test.ts"] - package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_test_ts - module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeBindings_ts - module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_execution_test_ts["src/runtimeScreenLoaders.execution.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_execution_test_ts + module_src_runtimeScreenLoaders_execution_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeScreenLoaders_execution_test_ts --> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_lifecycle_test_ts["src/runtimeScreenLoaders.lifecycle.test.ts"] + package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_lifecycle_test_ts + module_src_runtimeScreenLoaders_lifecycle_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeScreenLoaders_lifecycle_test_ts --> module_src_runtimeScreenLoaders_ts module_src_runtimeScreenLoaders_ts["src/runtimeScreenLoaders.ts"] package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_ts --> module_src_runtimeApiSelection_ts module_src_runtimeScreenLoaders_ts --> module_src_runtimeBindings_ts module_src_runtimeStateAdapter_ts["src/runtimeStateAdapter.ts"] package__ankhorage_runtime -.-> module_src_runtimeStateAdapter_ts @@ -5610,13 +5726,16 @@

    Module relationships

    module_src_registry_tsx["src/registry.tsx"] module_src_rendering_test_ts["src/rendering.test.ts"] module_src_rendering_ts["src/rendering.ts"] - module_src_runtimeActionRegistry_test_ts["src/runtimeActionRegistry.test.ts"] + module_src_runtimeActionRegistry_actions_test_ts["src/runtimeActionRegistry.actions.test.ts"] + module_src_runtimeActionRegistry_chains_test_ts["src/runtimeActionRegistry.chains.test.ts"] + module_src_runtimeActionRegistry_operations_test_ts["src/runtimeActionRegistry.operations.test.ts"] module_src_runtimeActionRegistry_ts["src/runtimeActionRegistry.ts"] + module_src_runtimeApiOperations_test_ts["src/runtimeApiOperations.test.ts"] + module_src_runtimeApiOperations_ts["src/runtimeApiOperations.ts"] + module_src_runtimeApiSelection_test_ts["src/runtimeApiSelection.test.ts"] + module_src_runtimeApiSelection_ts["src/runtimeApiSelection.ts"] module_src_runtimeBindings_test_ts["src/runtimeBindings.test.ts"] module_src_runtimeBindings_ts["src/runtimeBindings.ts"] - module_src_runtimeDatabaseOperationExecutor_ts["src/runtimeDatabaseOperationExecutor.ts"] - module_src_runtimeDataSourceOperations_test_ts["src/runtimeDataSourceOperations.test.ts"] - module_src_runtimeDataSourceOperations_ts["src/runtimeDataSourceOperations.ts"] module_src_runtimeDbPersist_test_ts["src/runtimeDbPersist.test.ts"] module_src_runtimeDbPersist_ts["src/runtimeDbPersist.ts"] module_src_runtimeEventExecution_test_ts["src/runtimeEventExecution.test.ts"] @@ -5639,7 +5758,8 @@

    Module relationships

    module_src_runtimeRepeatEmptyState_ts["src/runtimeRepeatEmptyState.ts"] module_src_RuntimeScreen_tsx["src/RuntimeScreen.tsx"] module_src_runtimeScreenLoaders_arrayPath_test_ts["src/runtimeScreenLoaders.arrayPath.test.ts"] - module_src_runtimeScreenLoaders_test_ts["src/runtimeScreenLoaders.test.ts"] + module_src_runtimeScreenLoaders_execution_test_ts["src/runtimeScreenLoaders.execution.test.ts"] + module_src_runtimeScreenLoaders_lifecycle_test_ts["src/runtimeScreenLoaders.lifecycle.test.ts"] module_src_runtimeScreenLoaders_ts["src/runtimeScreenLoaders.ts"] module_src_runtimeStateAdapter_ts["src/runtimeStateAdapter.ts"] module_src_runtimeStateAdapterConfig_test_ts["src/runtimeStateAdapterConfig.test.ts"] @@ -5648,45 +5768,51 @@

    Module relationships

    module_src_registry_test_ts --> module_src_registry_tsx module_src_rendering_test_ts --> module_src_registry_tsx module_src_rendering_test_ts --> module_src_rendering_ts module_src_rendering_ts - --> module_src_registry_tsx module_src_runtimeActionRegistry_test_ts --> - module_src_runtimeActionRegistry_ts module_src_runtimeActionRegistry_test_ts --> + --> module_src_registry_tsx module_src_runtimeActionRegistry_actions_test_ts + --> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_chains_test_ts --> + module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_operations_test_ts --> + module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_operations_test_ts --> module_src_runtimeBindings_ts module_src_runtimeActionRegistry_ts --> + module_src_runtimeApiSelection_ts module_src_runtimeActionRegistry_ts --> module_src_runtimeBindings_ts module_src_runtimeActionRegistry_ts --> - module_src_RuntimeRendererConfig_tsx module_src_runtimeBindings_test_ts --> + module_src_RuntimeRendererConfig_tsx module_src_runtimeApiOperations_test_ts --> + module_src_runtimeApiOperations_ts module_src_runtimeApiOperations_ts --> + module_src_runtimeBindings_ts module_src_runtimeApiSelection_test_ts --> + module_src_runtimeApiSelection_ts module_src_runtimeBindings_test_ts --> + module_src_runtimeApiSelection_ts module_src_runtimeBindings_test_ts --> module_src_runtimeBindings_ts module_src_runtimeBindings_test_ts --> - module_src_runtimeNodeProps_ts module_src_runtimeDatabaseOperationExecutor_ts --> - module_src_runtimeBindings_ts module_src_runtimeDataSourceOperations_test_ts --> - module_src_runtimeDataSourceOperations_ts module_src_runtimeDataSourceOperations_ts - --> module_src_runtimeBindings_ts module_src_runtimeDataSourceOperations_ts - --> module_src_runtimeDatabaseOperationExecutor_ts - module_src_runtimeDbPersist_test_ts --> module_src_runtimeActionRegistry_ts - module_src_runtimeDbPersist_test_ts --> module_src_runtimeDbPersist_ts - module_src_runtimeDbPersist_ts --> module_src_RuntimeRendererConfig_tsx - module_src_runtimeEventExecution_test_ts --> module_src_runtimeEventExecution_ts - module_src_runtimeEventExecution_ts --> module_src_runtimeActionRegistry_ts - module_src_runtimeEventExecution_ts --> module_src_RuntimeRendererConfig_tsx - module_src_runtimeMedia_test_ts --> module_src_runtimeMedia_ts - module_src_runtimeMediaCache_tsx --> module_src_runtimeMedia_ts - module_src_runtimeMediaConfig_test_ts --> module_src_RuntimeRendererConfig_tsx - module_src_runtimeNodeProps_test_ts --> module_src_runtimeNodeProps_ts - module_src_runtimeNodeProps_ts --> module_src_runtimeBindings_ts - module_src_runtimeNodeProps_ts --> module_src_RuntimeRendererConfig_tsx - module_src_RuntimeRenderer_test_ts --> module_src_runtimeRepeatEmptyState_ts - module_src_RuntimeRenderer_tsx --> module_src_registry_tsx - module_src_RuntimeRenderer_tsx --> module_src_rendering_ts - module_src_RuntimeRenderer_tsx --> module_src_runtimeActionRegistry_ts - module_src_RuntimeRenderer_tsx --> module_src_runtimeBindings_ts - module_src_RuntimeRenderer_tsx --> module_src_runtimeDbPersist_ts - module_src_RuntimeRenderer_tsx --> module_src_runtimeEventExecution_ts - module_src_RuntimeRenderer_tsx --> module_src_runtimeMedia_ts - module_src_RuntimeRenderer_tsx --> module_src_runtimeMediaCache_tsx - module_src_RuntimeRenderer_tsx --> module_src_runtimeNodeProps_ts - module_src_RuntimeRenderer_tsx --> module_src_RuntimeRendererConfig_tsx - module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeat_ts - module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatDiagnostics_ts - module_src_RuntimeRenderer_tsx --> module_src_runtimeRepeatEmptyState_ts - module_src_RuntimeRenderer_tsx --> module_src_useRuntimeMediaProps_ts - module_src_RuntimeRendererConfig_test_tsx --> + module_src_runtimeNodeProps_ts module_src_runtimeBindings_ts --> + module_src_runtimeApiSelection_ts module_src_runtimeDbPersist_test_ts --> + module_src_runtimeActionRegistry_ts module_src_runtimeDbPersist_test_ts --> + module_src_runtimeDbPersist_ts module_src_runtimeDbPersist_ts --> + module_src_RuntimeRendererConfig_tsx module_src_runtimeEventExecution_test_ts --> + module_src_runtimeEventExecution_ts module_src_runtimeEventExecution_ts --> + module_src_runtimeActionRegistry_ts module_src_runtimeEventExecution_ts --> + module_src_RuntimeRendererConfig_tsx module_src_runtimeMedia_test_ts --> + module_src_runtimeMedia_ts module_src_runtimeMediaCache_tsx --> + module_src_runtimeMedia_ts module_src_runtimeMediaConfig_test_ts --> + module_src_RuntimeRendererConfig_tsx module_src_runtimeNodeProps_test_ts --> + module_src_runtimeNodeProps_ts module_src_runtimeNodeProps_ts --> + module_src_runtimeBindings_ts module_src_runtimeNodeProps_ts --> + module_src_RuntimeRendererConfig_tsx module_src_RuntimeRenderer_test_ts --> + module_src_runtimeRepeatEmptyState_ts module_src_RuntimeRenderer_tsx --> + module_src_registry_tsx module_src_RuntimeRenderer_tsx --> + module_src_rendering_ts module_src_RuntimeRenderer_tsx --> + module_src_runtimeActionRegistry_ts module_src_RuntimeRenderer_tsx --> + module_src_runtimeBindings_ts module_src_RuntimeRenderer_tsx --> + module_src_runtimeDbPersist_ts module_src_RuntimeRenderer_tsx --> + module_src_runtimeEventExecution_ts module_src_RuntimeRenderer_tsx --> + module_src_runtimeMedia_ts module_src_RuntimeRenderer_tsx --> + module_src_runtimeMediaCache_tsx module_src_RuntimeRenderer_tsx --> + module_src_runtimeNodeProps_ts module_src_RuntimeRenderer_tsx --> + module_src_RuntimeRendererConfig_tsx module_src_RuntimeRenderer_tsx --> + module_src_runtimeRepeat_ts module_src_RuntimeRenderer_tsx --> + module_src_runtimeRepeatDiagnostics_ts module_src_RuntimeRenderer_tsx --> + module_src_runtimeRepeatEmptyState_ts module_src_RuntimeRenderer_tsx --> + module_src_useRuntimeMediaProps_ts module_src_RuntimeRendererConfig_test_tsx --> module_src_RuntimeRendererConfig_tsx module_src_RuntimeRendererConfig_tsx --> module_src_registry_tsx module_src_RuntimeRendererConfig_tsx --> module_src_runtimeBindings_ts module_src_RuntimeRendererConfig_tsx --> @@ -5694,6 +5820,7 @@

    Module relationships

    module_src_runtimeActionRegistry_ts module_src_runtimeRepeat_test_ts --> module_src_runtimeBindings_ts module_src_runtimeRepeat_test_ts --> module_src_runtimeRepeat_ts module_src_runtimeRepeat_ts --> + module_src_runtimeApiSelection_ts module_src_runtimeRepeat_ts --> module_src_runtimeBindings_ts module_src_RuntimeScreen_tsx --> module_src_registry_tsx module_src_RuntimeScreen_tsx --> module_src_RuntimeRenderer_tsx module_src_RuntimeScreen_tsx --> @@ -5702,9 +5829,14 @@

    Module relationships

    module_src_runtimeStateAdapter_ts module_src_runtimeScreenLoaders_arrayPath_test_ts --> module_src_runtimeBindings_ts module_src_runtimeScreenLoaders_arrayPath_test_ts --> - module_src_runtimeScreenLoaders_ts module_src_runtimeScreenLoaders_test_ts --> - module_src_runtimeBindings_ts module_src_runtimeScreenLoaders_test_ts --> + module_src_runtimeScreenLoaders_ts module_src_runtimeScreenLoaders_execution_test_ts + --> module_src_runtimeBindings_ts + module_src_runtimeScreenLoaders_execution_test_ts --> + module_src_runtimeScreenLoaders_ts module_src_runtimeScreenLoaders_lifecycle_test_ts + --> module_src_runtimeBindings_ts + module_src_runtimeScreenLoaders_lifecycle_test_ts --> module_src_runtimeScreenLoaders_ts module_src_runtimeScreenLoaders_ts --> + module_src_runtimeApiSelection_ts module_src_runtimeScreenLoaders_ts --> module_src_runtimeBindings_ts module_src_runtimeStateAdapterConfig_test_ts --> module_src_runtimeBindings_ts module_src_runtimeStateAdapterConfig_test_ts --> module_src_runtimeNodeProps_ts module_src_runtimeStateAdapterConfig_test_ts --> @@ -5724,13 +5856,16 @@

    Module relationships

    module_src_registry_tsx["src/registry.tsx"] module_src_rendering_test_ts["src/rendering.test.ts"] module_src_rendering_ts["src/rendering.ts"] - module_src_runtimeActionRegistry_test_ts["src/runtimeActionRegistry.test.ts"] + module_src_runtimeActionRegistry_actions_test_ts["src/runtimeActionRegistry.actions.test.ts"] + module_src_runtimeActionRegistry_chains_test_ts["src/runtimeActionRegistry.chains.test.ts"] + module_src_runtimeActionRegistry_operations_test_ts["src/runtimeActionRegistry.operations.test.ts"] module_src_runtimeActionRegistry_ts["src/runtimeActionRegistry.ts"] + module_src_runtimeApiOperations_test_ts["src/runtimeApiOperations.test.ts"] + module_src_runtimeApiOperations_ts["src/runtimeApiOperations.ts"] + module_src_runtimeApiSelection_test_ts["src/runtimeApiSelection.test.ts"] + module_src_runtimeApiSelection_ts["src/runtimeApiSelection.ts"] module_src_runtimeBindings_test_ts["src/runtimeBindings.test.ts"] module_src_runtimeBindings_ts["src/runtimeBindings.ts"] - module_src_runtimeDatabaseOperationExecutor_ts["src/runtimeDatabaseOperationExecutor.ts"] - module_src_runtimeDataSourceOperations_test_ts["src/runtimeDataSourceOperations.test.ts"] - module_src_runtimeDataSourceOperations_ts["src/runtimeDataSourceOperations.ts"] module_src_runtimeDbPersist_test_ts["src/runtimeDbPersist.test.ts"] module_src_runtimeDbPersist_ts["src/runtimeDbPersist.ts"] module_src_runtimeEventExecution_test_ts["src/runtimeEventExecution.test.ts"] @@ -5753,7 +5888,8 @@

    Module relationships

    module_src_runtimeRepeatEmptyState_ts["src/runtimeRepeatEmptyState.ts"] module_src_RuntimeScreen_tsx["src/RuntimeScreen.tsx"] module_src_runtimeScreenLoaders_arrayPath_test_ts["src/runtimeScreenLoaders.arrayPath.test.ts"] - module_src_runtimeScreenLoaders_test_ts["src/runtimeScreenLoaders.test.ts"] + module_src_runtimeScreenLoaders_execution_test_ts["src/runtimeScreenLoaders.execution.test.ts"] + module_src_runtimeScreenLoaders_lifecycle_test_ts["src/runtimeScreenLoaders.lifecycle.test.ts"] module_src_runtimeScreenLoaders_ts["src/runtimeScreenLoaders.ts"] module_src_runtimeStateAdapter_ts["src/runtimeStateAdapter.ts"] module_src_runtimeStateAdapterConfig_test_ts["src/runtimeStateAdapterConfig.test.ts"] @@ -5763,16 +5899,20 @@

    Module relationships

    module_src_rendering_test_ts --> module_src_registry_tsx module_src_rendering_test_ts --> module_src_rendering_ts module_src_rendering_ts --> module_src_registry_tsx - module_src_runtimeActionRegistry_test_ts --> module_src_runtimeActionRegistry_ts - module_src_runtimeActionRegistry_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeActionRegistry_actions_test_ts --> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_chains_test_ts --> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_operations_test_ts --> module_src_runtimeActionRegistry_ts + module_src_runtimeActionRegistry_operations_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeActionRegistry_ts --> module_src_runtimeApiSelection_ts module_src_runtimeActionRegistry_ts --> module_src_runtimeBindings_ts module_src_runtimeActionRegistry_ts --> module_src_RuntimeRendererConfig_tsx + module_src_runtimeApiOperations_test_ts --> module_src_runtimeApiOperations_ts + module_src_runtimeApiOperations_ts --> module_src_runtimeBindings_ts + module_src_runtimeApiSelection_test_ts --> module_src_runtimeApiSelection_ts + module_src_runtimeBindings_test_ts --> module_src_runtimeApiSelection_ts module_src_runtimeBindings_test_ts --> module_src_runtimeBindings_ts module_src_runtimeBindings_test_ts --> module_src_runtimeNodeProps_ts - module_src_runtimeDatabaseOperationExecutor_ts --> module_src_runtimeBindings_ts - module_src_runtimeDataSourceOperations_test_ts --> module_src_runtimeDataSourceOperations_ts - module_src_runtimeDataSourceOperations_ts --> module_src_runtimeBindings_ts - module_src_runtimeDataSourceOperations_ts --> module_src_runtimeDatabaseOperationExecutor_ts + module_src_runtimeBindings_ts --> module_src_runtimeApiSelection_ts module_src_runtimeDbPersist_test_ts --> module_src_runtimeActionRegistry_ts module_src_runtimeDbPersist_test_ts --> module_src_runtimeDbPersist_ts module_src_runtimeDbPersist_ts --> module_src_RuntimeRendererConfig_tsx @@ -5807,6 +5947,7 @@

    Module relationships

    module_src_runtimeRepeat_test_ts --> module_src_runtimeActionRegistry_ts module_src_runtimeRepeat_test_ts --> module_src_runtimeBindings_ts module_src_runtimeRepeat_test_ts --> module_src_runtimeRepeat_ts + module_src_runtimeRepeat_ts --> module_src_runtimeApiSelection_ts module_src_runtimeRepeat_ts --> module_src_runtimeBindings_ts module_src_RuntimeScreen_tsx --> module_src_registry_tsx module_src_RuntimeScreen_tsx --> module_src_RuntimeRenderer_tsx @@ -5815,8 +5956,11 @@

    Module relationships

    module_src_RuntimeScreen_tsx --> module_src_runtimeStateAdapter_ts module_src_runtimeScreenLoaders_arrayPath_test_ts --> module_src_runtimeBindings_ts module_src_runtimeScreenLoaders_arrayPath_test_ts --> module_src_runtimeScreenLoaders_ts - module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeBindings_ts - module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_execution_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeScreenLoaders_execution_test_ts --> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_lifecycle_test_ts --> module_src_runtimeBindings_ts + module_src_runtimeScreenLoaders_lifecycle_test_ts --> module_src_runtimeScreenLoaders_ts + module_src_runtimeScreenLoaders_ts --> module_src_runtimeApiSelection_ts module_src_runtimeScreenLoaders_ts --> module_src_runtimeBindings_ts module_src_runtimeStateAdapterConfig_test_ts --> module_src_runtimeBindings_ts module_src_runtimeStateAdapterConfig_test_ts --> module_src_runtimeNodeProps_ts @@ -5838,13 +5982,16 @@

    Export graph

    module_src_registry_tsx["src/registry.tsx"] module_src_rendering_test_ts["src/rendering.test.ts"] module_src_rendering_ts["src/rendering.ts"] - module_src_runtimeActionRegistry_test_ts["src/runtimeActionRegistry.test.ts"] + module_src_runtimeActionRegistry_actions_test_ts["src/runtimeActionRegistry.actions.test.ts"] + module_src_runtimeActionRegistry_chains_test_ts["src/runtimeActionRegistry.chains.test.ts"] + module_src_runtimeActionRegistry_operations_test_ts["src/runtimeActionRegistry.operations.test.ts"] module_src_runtimeActionRegistry_ts["src/runtimeActionRegistry.ts"] + module_src_runtimeApiOperations_test_ts["src/runtimeApiOperations.test.ts"] + module_src_runtimeApiOperations_ts["src/runtimeApiOperations.ts"] + module_src_runtimeApiSelection_test_ts["src/runtimeApiSelection.test.ts"] + module_src_runtimeApiSelection_ts["src/runtimeApiSelection.ts"] module_src_runtimeBindings_test_ts["src/runtimeBindings.test.ts"] module_src_runtimeBindings_ts["src/runtimeBindings.ts"] - module_src_runtimeDatabaseOperationExecutor_ts["src/runtimeDatabaseOperationExecutor.ts"] - module_src_runtimeDataSourceOperations_test_ts["src/runtimeDataSourceOperations.test.ts"] - module_src_runtimeDataSourceOperations_ts["src/runtimeDataSourceOperations.ts"] module_src_runtimeDbPersist_test_ts["src/runtimeDbPersist.test.ts"] module_src_runtimeDbPersist_ts["src/runtimeDbPersist.ts"] module_src_runtimeEventExecution_test_ts["src/runtimeEventExecution.test.ts"] @@ -5867,7 +6014,8 @@

    Export graph

    module_src_runtimeRepeatEmptyState_ts["src/runtimeRepeatEmptyState.ts"] module_src_RuntimeScreen_tsx["src/RuntimeScreen.tsx"] module_src_runtimeScreenLoaders_arrayPath_test_ts["src/runtimeScreenLoaders.arrayPath.test.ts"] - module_src_runtimeScreenLoaders_test_ts["src/runtimeScreenLoaders.test.ts"] + module_src_runtimeScreenLoaders_execution_test_ts["src/runtimeScreenLoaders.execution.test.ts"] + module_src_runtimeScreenLoaders_lifecycle_test_ts["src/runtimeScreenLoaders.lifecycle.test.ts"] module_src_runtimeScreenLoaders_ts["src/runtimeScreenLoaders.ts"] module_src_runtimeStateAdapter_ts["src/runtimeStateAdapter.ts"] module_src_runtimeStateAdapterConfig_test_ts["src/runtimeStateAdapterConfig.test.ts"] @@ -5907,15 +6055,13 @@

    Export graph

    export_createRuntimeActionRegistry -.-> export_RuntimeBindingOperationResultCache export_createRuntimeActionRegistry -.-> export_RuntimeBindingOperationResultWriter + export_createRuntimeApiOperationExecutor["createRuntimeApiOperationExecutor"] + module_src_runtimeApiOperations_ts --> export_createRuntimeApiOperationExecutor + export_createRuntimeApiOperationExecutor -.-> + export_RuntimeApiOperationExecutorOptions export_createRuntimeApiOperationExecutor + -.-> export_RuntimeBindingOperationExecutor export_createRuntimeBindingOperationKey["createRuntimeBindingOperationKey"] module_src_runtimeBindings_ts --> export_createRuntimeBindingOperationKey - export_createRuntimeDataSourceOperationExecutor["createRuntimeDataSourceOperationExecutor"] - module_src_runtimeDataSourceOperations_ts --> - export_createRuntimeDataSourceOperationExecutor - export_createRuntimeDataSourceOperationExecutor -.-> - export_RuntimeBindingOperationExecutor - export_createRuntimeDataSourceOperationExecutor -.-> - export_RuntimeDataSourceOperationExecutorOptions export_createRuntimeMemoryStateAdapter["createRuntimeMemoryStateAdapter"] module_src_runtimeStateAdapter_ts --> export_createRuntimeMemoryStateAdapter export_createRuntimeMemoryStateAdapter -.-> @@ -6007,6 +6153,10 @@

    Export graph

    module_src_runtimeActionRegistry_ts --> export_RuntimeActionResolutionScope export_RuntimeAdapterDescriptor["RuntimeAdapterDescriptor"] module_src_runtimeManifest_ts --> export_RuntimeAdapterDescriptor + export_RuntimeApiOperationExecutorOptions["RuntimeApiOperationExecutorOptions"] + module_src_runtimeApiOperations_ts --> export_RuntimeApiOperationExecutorOptions + export_RuntimeApiOperationSelection["RuntimeApiOperationSelection"] + module_src_runtimeApiSelection_ts --> export_RuntimeApiOperationSelection export_RuntimeBindingDescriptor["RuntimeBindingDescriptor"] module_src_runtimeManifest_ts --> export_RuntimeBindingDescriptor export_RuntimeBindingOperationExecutionArgs["RuntimeBindingOperationExecutionArgs"] @@ -6038,9 +6188,6 @@

    Export graph

    export_RuntimeComponentEventDispatchArgs -.-> export_RuntimeBindingOperationExecutor export_RuntimeComponentEventDispatchArgs -.-> export_RuntimeBindingOperationResultWriter - export_RuntimeDataSourceOperationExecutorOptions["RuntimeDataSourceOperationExecutorOptions"] - module_src_runtimeDataSourceOperations_ts --> - export_RuntimeDataSourceOperationExecutorOptions export_RuntimeDbPersistError["RuntimeDbPersistError"] module_src_runtimeDbPersist_ts --> export_RuntimeDbPersistError export_RuntimeDbPersistExecutionResult["RuntimeDbPersistExecutionResult"] @@ -6135,7 +6282,7 @@

    Export graph

    export_RuntimeBindingResolutionContext export_useRuntimeScreenOperationLoaders -.-> export_RuntimeScreenOperationLoaderState export_validateRuntimeBindingOperationRef["validateRuntimeBindingOperationRef"] - module_src_runtimeBindings_ts --> export_validateRuntimeBindingOperationRef + module_src_runtimeApiSelection_ts --> export_validateRuntimeBindingOperationRef export_wrapRuntimeEventProps["wrapRuntimeEventProps"] module_src_runtimeActionRegistry_ts --> export_wrapRuntimeEventProps export_wrapRuntimeEventProps -.-> export_RuntimeEventPropWrapArgs @@ -6152,13 +6299,16 @@

    Export graph

    module_src_registry_tsx["src/registry.tsx"] module_src_rendering_test_ts["src/rendering.test.ts"] module_src_rendering_ts["src/rendering.ts"] - module_src_runtimeActionRegistry_test_ts["src/runtimeActionRegistry.test.ts"] + module_src_runtimeActionRegistry_actions_test_ts["src/runtimeActionRegistry.actions.test.ts"] + module_src_runtimeActionRegistry_chains_test_ts["src/runtimeActionRegistry.chains.test.ts"] + module_src_runtimeActionRegistry_operations_test_ts["src/runtimeActionRegistry.operations.test.ts"] module_src_runtimeActionRegistry_ts["src/runtimeActionRegistry.ts"] + module_src_runtimeApiOperations_test_ts["src/runtimeApiOperations.test.ts"] + module_src_runtimeApiOperations_ts["src/runtimeApiOperations.ts"] + module_src_runtimeApiSelection_test_ts["src/runtimeApiSelection.test.ts"] + module_src_runtimeApiSelection_ts["src/runtimeApiSelection.ts"] module_src_runtimeBindings_test_ts["src/runtimeBindings.test.ts"] module_src_runtimeBindings_ts["src/runtimeBindings.ts"] - module_src_runtimeDatabaseOperationExecutor_ts["src/runtimeDatabaseOperationExecutor.ts"] - module_src_runtimeDataSourceOperations_test_ts["src/runtimeDataSourceOperations.test.ts"] - module_src_runtimeDataSourceOperations_ts["src/runtimeDataSourceOperations.ts"] module_src_runtimeDbPersist_test_ts["src/runtimeDbPersist.test.ts"] module_src_runtimeDbPersist_ts["src/runtimeDbPersist.ts"] module_src_runtimeEventExecution_test_ts["src/runtimeEventExecution.test.ts"] @@ -6181,7 +6331,8 @@

    Export graph

    module_src_runtimeRepeatEmptyState_ts["src/runtimeRepeatEmptyState.ts"] module_src_RuntimeScreen_tsx["src/RuntimeScreen.tsx"] module_src_runtimeScreenLoaders_arrayPath_test_ts["src/runtimeScreenLoaders.arrayPath.test.ts"] - module_src_runtimeScreenLoaders_test_ts["src/runtimeScreenLoaders.test.ts"] + module_src_runtimeScreenLoaders_execution_test_ts["src/runtimeScreenLoaders.execution.test.ts"] + module_src_runtimeScreenLoaders_lifecycle_test_ts["src/runtimeScreenLoaders.lifecycle.test.ts"] module_src_runtimeScreenLoaders_ts["src/runtimeScreenLoaders.ts"] module_src_runtimeStateAdapter_ts["src/runtimeStateAdapter.ts"] module_src_runtimeStateAdapterConfig_test_ts["src/runtimeStateAdapterConfig.test.ts"] @@ -6217,12 +6368,12 @@

    Export graph

    export_createRuntimeActionRegistry -.-> export_RuntimeBindingOperationExecutor export_createRuntimeActionRegistry -.-> export_RuntimeBindingOperationResultCache export_createRuntimeActionRegistry -.-> export_RuntimeBindingOperationResultWriter + export_createRuntimeApiOperationExecutor["createRuntimeApiOperationExecutor"] + module_src_runtimeApiOperations_ts --> export_createRuntimeApiOperationExecutor + export_createRuntimeApiOperationExecutor -.-> export_RuntimeApiOperationExecutorOptions + export_createRuntimeApiOperationExecutor -.-> export_RuntimeBindingOperationExecutor export_createRuntimeBindingOperationKey["createRuntimeBindingOperationKey"] module_src_runtimeBindings_ts --> export_createRuntimeBindingOperationKey - export_createRuntimeDataSourceOperationExecutor["createRuntimeDataSourceOperationExecutor"] - module_src_runtimeDataSourceOperations_ts --> export_createRuntimeDataSourceOperationExecutor - export_createRuntimeDataSourceOperationExecutor -.-> export_RuntimeBindingOperationExecutor - export_createRuntimeDataSourceOperationExecutor -.-> export_RuntimeDataSourceOperationExecutorOptions export_createRuntimeMemoryStateAdapter["createRuntimeMemoryStateAdapter"] module_src_runtimeStateAdapter_ts --> export_createRuntimeMemoryStateAdapter export_createRuntimeMemoryStateAdapter -.-> export_RuntimeMemoryStateAdapterOptions @@ -6306,6 +6457,10 @@

    Export graph

    module_src_runtimeActionRegistry_ts --> export_RuntimeActionResolutionScope export_RuntimeAdapterDescriptor["RuntimeAdapterDescriptor"] module_src_runtimeManifest_ts --> export_RuntimeAdapterDescriptor + export_RuntimeApiOperationExecutorOptions["RuntimeApiOperationExecutorOptions"] + module_src_runtimeApiOperations_ts --> export_RuntimeApiOperationExecutorOptions + export_RuntimeApiOperationSelection["RuntimeApiOperationSelection"] + module_src_runtimeApiSelection_ts --> export_RuntimeApiOperationSelection export_RuntimeBindingDescriptor["RuntimeBindingDescriptor"] module_src_runtimeManifest_ts --> export_RuntimeBindingDescriptor export_RuntimeBindingOperationExecutionArgs["RuntimeBindingOperationExecutionArgs"] @@ -6335,8 +6490,6 @@

    Export graph

    export_RuntimeComponentEventDispatchArgs -.-> export_RuntimeActionHandler export_RuntimeComponentEventDispatchArgs -.-> export_RuntimeBindingOperationExecutor export_RuntimeComponentEventDispatchArgs -.-> export_RuntimeBindingOperationResultWriter - export_RuntimeDataSourceOperationExecutorOptions["RuntimeDataSourceOperationExecutorOptions"] - module_src_runtimeDataSourceOperations_ts --> export_RuntimeDataSourceOperationExecutorOptions export_RuntimeDbPersistError["RuntimeDbPersistError"] module_src_runtimeDbPersist_ts --> export_RuntimeDbPersistError export_RuntimeDbPersistExecutionResult["RuntimeDbPersistExecutionResult"] @@ -6429,7 +6582,7 @@

    Export graph

    export_useRuntimeScreenOperationLoaders -.-> export_RuntimeBindingResolutionContext export_useRuntimeScreenOperationLoaders -.-> export_RuntimeScreenOperationLoaderState export_validateRuntimeBindingOperationRef["validateRuntimeBindingOperationRef"] - module_src_runtimeBindings_ts --> export_validateRuntimeBindingOperationRef + module_src_runtimeApiSelection_ts --> export_validateRuntimeBindingOperationRef export_wrapRuntimeEventProps["wrapRuntimeEventProps"] module_src_runtimeActionRegistry_ts --> export_wrapRuntimeEventProps export_wrapRuntimeEventProps -.-> export_RuntimeEventPropWrapArgs @@ -6920,30 +7073,37 @@

    validateRuntimeBindingOperationRef sequence

    diagrams/sequences/validate-runtime-binding-operation-ref.mmd

    - sequenceDiagram participant participant_createRuntimeBindingDiagnostic as - createRuntimeBindingDiagnostic participant participant_resolveRuntimeBindingEndpoint - as resolveRuntimeBindingEndpoint participant + sequenceDiagram participant participant_createApiDiagnostic as createApiDiagnostic + participant participant_findRuntimeApi as findRuntimeApi participant + participant_resolveRuntimeApiEndpoint as resolveRuntimeApiEndpoint participant participant_validateRuntimeBindingOperationRef as validateRuntimeBindingOperationRef - participant_validateRuntimeBindingOperationRef->>participant_createRuntimeBindingDiagnostic: - createRuntimeBindingDiagnostic() - participant_createRuntimeBindingDiagnostic-->>participant_validateRuntimeBindingOperationRef: + participant_validateRuntimeBindingOperationRef->>participant_findRuntimeApi: + findRuntimeApi() + participant_findRuntimeApi-->>participant_validateRuntimeBindingOperationRef: + return + participant_validateRuntimeBindingOperationRef->>participant_createApiDiagnostic: + createApiDiagnostic() + participant_createApiDiagnostic-->>participant_validateRuntimeBindingOperationRef: return - participant_validateRuntimeBindingOperationRef->>participant_resolveRuntimeBindingEndpoint: - resolveRuntimeBindingEndpoint() - participant_resolveRuntimeBindingEndpoint-->>participant_validateRuntimeBindingOperationRef: + participant_validateRuntimeBindingOperationRef->>participant_resolveRuntimeApiEndpoint: + resolveRuntimeApiEndpoint() + participant_resolveRuntimeApiEndpoint-->>participant_validateRuntimeBindingOperationRef: return
    View Mermaid source
     sequenceDiagram
    -  participant participant_createRuntimeBindingDiagnostic as createRuntimeBindingDiagnostic
    -  participant participant_resolveRuntimeBindingEndpoint as resolveRuntimeBindingEndpoint
    +  participant participant_createApiDiagnostic as createApiDiagnostic
    +  participant participant_findRuntimeApi as findRuntimeApi
    +  participant participant_resolveRuntimeApiEndpoint as resolveRuntimeApiEndpoint
       participant participant_validateRuntimeBindingOperationRef as validateRuntimeBindingOperationRef
    -  participant_validateRuntimeBindingOperationRef->>participant_createRuntimeBindingDiagnostic: createRuntimeBindingDiagnostic()
    -  participant_createRuntimeBindingDiagnostic-->>participant_validateRuntimeBindingOperationRef: return
    -  participant_validateRuntimeBindingOperationRef->>participant_resolveRuntimeBindingEndpoint: resolveRuntimeBindingEndpoint()
    -  participant_resolveRuntimeBindingEndpoint-->>participant_validateRuntimeBindingOperationRef: return
    +  participant_validateRuntimeBindingOperationRef->>participant_findRuntimeApi: findRuntimeApi()
    +  participant_findRuntimeApi-->>participant_validateRuntimeBindingOperationRef: return
    +  participant_validateRuntimeBindingOperationRef->>participant_createApiDiagnostic: createApiDiagnostic()
    +  participant_createApiDiagnostic-->>participant_validateRuntimeBindingOperationRef: return
    +  participant_validateRuntimeBindingOperationRef->>participant_resolveRuntimeApiEndpoint: resolveRuntimeApiEndpoint()
    +  participant_resolveRuntimeApiEndpoint-->>participant_validateRuntimeBindingOperationRef: return
     
    @@ -7091,24 +7251,95 @@

    getUnknownComponentDiagnostic

    + + + + + + + - - - - @@ -8396,64 +8442,69 @@

    createOperationResults

    +
    { readonly bindingContext?: Record<string, unknown>; readonly - dataSources?: RuntimeBindingResolutionContext["dataSources"]; - readonly executeOperation?: RuntimeBindingOperationExecutor; readonly + apis?: RuntimeBindingResolutionContext["apis"]; readonly + executeOperation?: RuntimeBindingOperationExecutor; readonly operationResults?: RuntimeBindingOperationResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }ManifestProvider

    RuntimeRenderer

    src/RuntimeRenderer.tsx:76:1

    @@ -5079,20 +5158,20 @@

    RuntimeRenderer

    bindingContextRecord<string, unknown> | undefinedapisApiDefinitionList | undefined no
    dataBindingsComponentDataBindingRegistry | undefinedbindingContextRecord<string, unknown> | undefined no
    dataSourcesDataSourceRegistry | undefineddataBindingsComponentDataBindingRegistry | undefined no