soma-core 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -19
- package/bin/codegen.cjs +191 -0
- package/bin/eject.cjs +25 -12
- package/bin/service-codegen.cjs +98 -0
- package/bin/soma-lsp.cjs +140 -23
- package/bin/soma-runtime.cjs +193 -0
- package/bin/soma-sync-runtime.cjs +130 -0
- package/bin/soma.cjs +200 -13
- package/bin/soma.ts +182 -0
- package/core/build/compiler/flat-page.ts +305 -0
- package/core/build/compiler/full-manifest-builder.ts +68 -27
- package/core/build/{blocks → compiler}/html-index.ts +64 -15
- package/core/build/compiler/page-assets.ts +30 -7
- package/core/build/compiler/page-base-resolver.ts +11 -0
- package/core/build/compiler/page-declaration-compiler.ts +265 -226
- package/core/build/compiler/rollup-plugin-soma.ts +7 -2
- package/core/build/compiler/soma-manifest-webpack-plugin.js +114 -229
- package/core/build/compiler/soma-precompile.js +3733 -1892
- package/core/build/compiler/soma-precompile.ts +15 -20
- package/core/build/compiler/soma-rspack-yaml-loader.js +4 -3
- package/core/build/compiler/soma-webpack-loader.js +8 -4
- package/core/build/compiler/vite-plugin-soma.ts +8 -8
- package/core/build/component/component-graph.ts +1 -1
- package/core/build/component-tree/artifact-codec.ts +9 -42
- package/core/build/component-tree/collection-binding-lowerer.ts +1 -1
- package/core/build/component-tree/definition-preparation.ts +4 -5
- package/core/build/component-tree/parser.ts +1 -1
- package/core/build/component-tree/registry-snapshot.ts +45 -10
- package/core/build/component-tree/source-preflight.ts +2 -90
- package/core/build/component-tree/structure-topology.ts +1 -1
- package/core/build/eject/plan-eject.ts +9 -11
- package/core/build/lsp/component-tree-service.ts +4 -1
- package/core/build/lsp/component-tree.cjs +1 -1
- package/core/build/lsp/cross-file-diagnostics.cjs +5 -21
- package/core/build/lsp/soma-declaration.cjs +50 -46
- package/core/build/lsp/std-completion.generated.json +26 -0
- package/core/build/lsp/ui-yaml-completion.cjs +25 -37
- package/core/client/a11y/a11y-config.ts +50 -0
- package/core/client/a11y/announcer.ts +140 -0
- package/core/client/a11y/dom-id.ts +31 -0
- package/core/client/a11y/index.ts +40 -0
- package/core/client/a11y/motion-hook.ts +48 -0
- package/core/client/a11y/motion.ts +95 -0
- package/core/client/base/SomaPageRootBase.ts +44 -2
- package/core/client/base/index.ts +10 -8
- package/core/client/behavior/adapter-collection.ts +65 -0
- package/core/client/behavior/adapter-popper.ts +60 -0
- package/core/client/behavior/aria-hide-outside.ts +144 -0
- package/core/client/behavior/css-escape.ts +51 -0
- package/core/client/behavior/focus-scope.ts +433 -0
- package/core/client/behavior/focus-traversal.ts +68 -0
- package/core/client/behavior/index.ts +109 -0
- package/core/client/behavior/layer-stack.ts +234 -0
- package/core/client/behavior/overlay-host/index.ts +192 -0
- package/core/client/behavior/overlay-host/port.ts +76 -0
- package/core/client/behavior/overlay-wiring.ts +186 -0
- package/core/client/behavior/port.ts +85 -0
- package/core/client/behavior/positioner.ts +32 -0
- package/core/client/behavior/presence.ts +197 -0
- package/core/client/behavior/zag/adapter-vanilla.ts +96 -0
- package/core/client/behavior/zag/layer-bridge.ts +51 -0
- package/core/client/behavior/zag/machine-host.ts +69 -0
- package/core/client/behavior/zag/machines.ts +52 -0
- package/core/client/compiler/manifest-compiler.ts +33 -70
- package/core/client/component/adapter/adapt.ts +79 -0
- package/core/client/component/adapter/index.ts +3 -0
- package/core/client/component/adapter/types.ts +37 -0
- package/core/client/component/adapter/web-component.ts +130 -0
- package/core/client/component/component-defaults.ts +1 -1
- package/core/client/component/component-definition.types.ts +27 -5
- package/core/client/component/component-expander.ts +24 -16
- package/core/client/component/component-manager.ts +245 -814
- package/core/client/component/component-pack.ts +58 -216
- package/core/client/component/component-registry.ts +53 -29
- package/core/client/component/projection-admission.ts +63 -0
- package/core/client/component/projection-registry.ts +653 -0
- package/core/client/component/projection.types.ts +48 -0
- package/core/client/component/region-unavailable.ts +37 -0
- package/core/client/component/scoped-adapter.ts +3 -3
- package/core/client/component/structure-adapter.ts +93 -8
- package/core/client/container/IContainerAdapter.ts +4 -3
- package/core/client/container/SomaContainerAdapter.ts +22 -123
- package/core/client/data/collection-payload.ts +2 -0
- package/core/client/data/data-object-resolver.ts +827 -330
- package/core/client/data/data-polling.ts +110 -0
- package/core/client/data/data-subscriptions.ts +98 -0
- package/core/client/data/data-write-actions.ts +118 -0
- package/core/client/data/envelope-failure.ts +48 -0
- package/core/client/data/format-config.ts +62 -0
- package/core/client/data/region-scope-port.ts +265 -0
- package/core/client/data/region-scope-views.ts +96 -0
- package/core/client/data/role-gate.ts +44 -0
- package/core/client/data/write-outcome-store.ts +101 -0
- package/core/client/data/write-outcome.ts +175 -0
- package/core/client/engine/asset-resolver.ts +12 -21
- package/core/client/engine/dom-renderer.ts +85 -460
- package/core/client/engine/event-engine.ts +348 -317
- package/core/client/engine/locale-text-binder.ts +168 -0
- package/core/client/engine/property-watcher.ts +18 -164
- package/core/client/engine/reactive-proxy.ts +23 -194
- package/core/client/engine/render-engine.ts +16 -118
- package/core/client/engine/row-range.ts +11 -0
- package/core/client/engine/runtime-builder.ts +10 -13
- package/core/client/engine/scope-resolver.ts +3 -3
- package/core/client/engine/soma-bootstrap.ts +1246 -323
- package/core/client/engine/step-runner.ts +90 -12
- package/core/client/engine/style-binder.ts +2 -162
- package/core/client/engine/timer-engine.ts +2 -1
- package/core/client/engines/chart/adapter-echarts.ts +144 -0
- package/core/client/engines/chart/echarts-subpaths.d.ts +3 -0
- package/core/client/engines/chart/index.ts +90 -0
- package/core/client/engines/chart/kind-modules.ts +74 -0
- package/core/client/engines/chart/port.ts +44 -0
- package/core/client/engines/diff/adapter-jsdiff.ts +35 -0
- package/core/client/engines/diff/index.ts +33 -0
- package/core/client/engines/diff/port.ts +26 -0
- package/core/client/engines/dnd/adapter-pragmatic.ts +159 -0
- package/core/client/engines/dnd/index.ts +67 -0
- package/core/client/engines/dnd/port.ts +45 -0
- package/core/client/engines/engine-adapters.ts +29 -0
- package/core/client/engines/load.ts +44 -0
- package/core/client/engines/qrcode/adapter-qrcode-generator.ts +52 -0
- package/core/client/engines/qrcode/index.ts +30 -0
- package/core/client/engines/qrcode/port.ts +27 -0
- package/core/client/engines/table/adapter-tanstack.ts +132 -0
- package/core/client/engines/table/index.ts +80 -0
- package/core/client/engines/table/port.ts +55 -0
- package/core/client/engines/temporal/adapter-polyfill.ts +158 -0
- package/core/client/engines/temporal/index.ts +84 -0
- package/core/client/engines/temporal/port.ts +53 -0
- package/core/client/engines/virtual/adapter-tanstack.ts +133 -0
- package/core/client/engines/virtual/index.ts +43 -0
- package/core/client/engines/virtual/port.ts +43 -0
- package/core/client/format/formatter.ts +32 -0
- package/core/client/format/index.ts +26 -0
- package/core/client/format/zoned.ts +10 -0
- package/core/client/host-bridge/index.ts +17 -0
- package/core/client/host-bridge/load-host-domain-class.ts +15 -4
- package/core/client/host-bridge/resolve-host-bootstrap.ts +63 -11
- package/core/client/host-bridge/soma-app-host.stub.ts +3 -0
- package/core/client/host-bridge/soma-bootstrap-from-app.ts +25 -0
- package/core/client/infra/auth/IAuthService.ts +18 -13
- package/core/client/infra/auth/TokenAuthService.ts +126 -112
- package/core/client/infra/config/SomaConfig.ts +16 -0
- package/core/client/infra/config/feature-flags.ts +28 -0
- package/core/client/infra/http/IHttpClient.ts +2 -0
- package/core/client/infra/http/SomaHttpService.ts +1 -0
- package/core/client/infra/i18n/II18n.ts +24 -6
- package/core/client/infra/i18n/builtin-locale.ts +31 -0
- package/core/client/infra/i18n/index.ts +4 -0
- package/core/client/infra/i18n/interpolate.ts +28 -0
- package/core/client/infra/i18n/locale-catalog.ts +230 -0
- package/core/client/infra/i18n/pack-locales.ts +117 -0
- package/core/client/infra/identity/identity-port.ts +178 -0
- package/core/client/infra/notify/DefaultNotifyService.ts +86 -31
- package/core/client/infra/notify/INotifyService.ts +2 -14
- package/core/client/infra/notify/notify-declaration.ts +37 -0
- package/core/client/infra/permission/SomaPermission.ts +58 -48
- package/core/client/infra/router/IRouter.ts +24 -19
- package/core/client/infra/router/SomaRouter.ts +78 -66
- package/core/client/keyboard/collection.ts +197 -0
- package/core/client/keyboard/compose-keys.ts +68 -0
- package/core/client/keyboard/cursor.ts +117 -0
- package/core/client/keyboard/delegate.ts +195 -0
- package/core/client/keyboard/ime.ts +8 -0
- package/core/client/keyboard/index.ts +74 -0
- package/core/client/keyboard/intents.ts +60 -0
- package/core/client/keyboard/matrix.ts +269 -0
- package/core/client/keyboard/submit.ts +30 -0
- package/core/client/keyboard/typeahead.ts +203 -0
- package/core/client/keyboard/wiring.ts +327 -0
- package/core/client/middleware/createPermissionMiddleware.ts +20 -11
- package/core/client/mount/domain-rule.ts +43 -0
- package/core/client/mount/index.ts +3 -0
- package/core/client/mount/mount-page.ts +163 -0
- package/core/client/mount/types.ts +93 -0
- package/core/client/observability/runtime-observer.ts +136 -0
- package/core/client/parser/annotation-extractor.ts +1 -1
- package/core/client/parser/confirm-spec.ts +139 -0
- package/core/client/parser/data-config-parser.ts +416 -217
- package/core/client/parser/duration.ts +2 -16
- package/core/client/parser/page-state-parser.ts +59 -64
- package/core/client/parser/pipeline-parser.ts +178 -236
- package/core/client/parser/style-config-parser.ts +15 -81
- package/core/client/parser/subscribe-parser.ts +83 -0
- package/core/client/parser/timer-parser.ts +1 -1
- package/core/client/parser/trigger-parser.ts +1 -1
- package/core/client/parser/ui-config-parser.ts +247 -243
- package/core/client/pipes/pipe-registry.ts +304 -76
- package/core/client/registry/declaration-renderer.ts +20 -8
- package/core/client/registry/page-lifecycle.ts +4 -4
- package/core/client/registry/remote-page.ts +4 -4
- package/core/client/render-ports/index.ts +18 -0
- package/core/client/render-ports/notify-renderer.ts +45 -0
- package/core/client/render-ports/region-fallback.ts +8 -0
- package/core/client/render-ports/scheduling/prompt-queue.ts +102 -0
- package/core/client/render-ports/scheduling/toast-scheduler.ts +253 -0
- package/core/client/runtime/SomaRuntimeServices.ts +180 -16
- package/core/client/runtime/SomaSnapshotStore.ts +100 -100
- package/core/client/runtime/nav-history.ts +147 -0
- package/core/client/runtime/nav-port.ts +68 -0
- package/core/client/runtime/shortcuts.ts +360 -0
- package/core/client/runtime/write-feedback.ts +71 -0
- package/core/client/runtime-entry.ts +29 -0
- package/core/client/scheduler/SomaScheduler.ts +13 -3
- package/core/client/{adaptive → scheduling}/flush-scheduler.ts +16 -12
- package/core/client/scheduling/index.ts +22 -0
- package/core/client/scheduling/observer-pool.ts +109 -0
- package/core/client/security/attribute-presence.ts +1 -3
- package/core/client/security/html-sanitizer.ts +23 -1
- package/core/client/security/url-guard.ts +0 -0
- package/core/client/styles/compiled-styles.ts +47 -0
- package/core/client/styles/index.ts +10 -0
- package/core/client/styles/pack-styles.ts +169 -0
- package/core/client/styles/sheet-mount.ts +48 -0
- package/core/client/{component → styles}/style-features.ts +3 -3
- package/core/client/time/clock.ts +36 -0
- package/core/client/time/instant.ts +2 -0
- package/core/client/url-state/index.ts +15 -0
- package/core/client/url-state/page-tabs-controller.ts +47 -0
- package/core/client/url-state/state-query-binding.ts +114 -0
- package/core/client/url-state/url-state.ts +149 -0
- package/core/client/validation/async-check-registry.ts +129 -0
- package/core/client/validation/async-rules.ts +259 -0
- package/core/client/validation/contract-validator.ts +44 -5
- package/core/client/validation/field-rules.ts +49 -0
- package/core/client/validation/index.ts +53 -0
- package/core/client/validation/object-rules.ts +72 -0
- package/core/index.ts +290 -264
- package/core/inspect/check-product.ts +542 -0
- package/core/inspect/check-runtime.ts +866 -0
- package/core/inspect/runtime.ts +98 -0
- package/core/page-target/index.ts +9 -0
- package/core/page-target/provenance.ts +119 -0
- package/core/page-target/slug.ts +7 -0
- package/core/page-target/testing/index.ts +329 -0
- package/core/page-target/types.ts +279 -0
- package/core/predicates-entry.ts +43 -0
- package/core/server/api/load-host-service.ts +3 -0
- package/core/server/compile-port.ts +18 -0
- package/core/server/diagnostic-gate-entry.ts +14 -0
- package/core/server/engines/style/candidate-guard.ts +59 -0
- package/core/server/engines/style/index.ts +57 -0
- package/core/server/engines/style/port.ts +34 -0
- package/core/server/engines/style/tailwind-adapter.ts +68 -0
- package/core/server/host/content-security-policy.ts +12 -5
- package/core/server/host/host-assembly-entry.ts +16 -0
- package/core/server/host/host-assembly.ts +249 -0
- package/core/server/host/invoke-host-request-hook.ts +5 -0
- package/core/server/host/locale-yaml.ts +51 -0
- package/core/server/host/page-markup-config.ts +13 -0
- package/core/server/host/published-page-artifact-cache.ts +355 -124
- package/core/server/host/published-page-assets.ts +90 -45
- package/core/server/host/resolve-host-request-hook.ts +8 -0
- package/core/server/host/resolve-host-tree-context.ts +15 -1
- package/core/server/host/server-page-assets.ts +178 -38
- package/core/server/host/soma-page-compile.ts +57 -16
- package/core/server/host/source-packages.cjs +185 -0
- package/core/server/host/source-packages.ts +18 -126
- package/core/server/host/virtual-pages.ts +255 -0
- package/core/server/index.ts +13 -42
- package/core/server/node.ts +53 -0
- package/core/server/page-assets.ts +91 -0
- package/core/server/page-declaration.ts +83 -7
- package/core/server/registry/api-registry-store.ts +38 -29
- package/core/server/registry/asset-store.ts +35 -19
- package/core/server/registry/batch-publish.ts +38 -0
- package/core/server/registry/batch-stage.ts +130 -0
- package/core/server/registry/component-supply.ts +31 -0
- package/core/server/registry/declaration-precompiler.ts +48 -34
- package/core/server/registry/index.ts +78 -1
- package/core/server/registry/page-registry-repository.ts +479 -60
- package/core/server/registry/page-registry-store.ts +627 -80
- package/core/server/registry/publish-asset-pin.ts +19 -16
- package/core/server/registry/registry-file-lock.ts +16 -3
- package/core/server/registry/registry-write-pipeline.ts +65 -1
- package/core/server/registry/request-body-limit.ts +3 -1
- package/core/server/registry/rollback-plan.ts +184 -0
- package/core/server/registry/services/index.ts +14 -1
- package/core/server/registry/services/pages/Get.ts +26 -4
- package/core/server/registry/services/pages/Register.ts +29 -7
- package/core/server/registry/services/pages/RegisterBatch.ts +68 -0
- package/core/server/registry/services/pages/Rollback.ts +14 -4
- package/core/server/registry/services/pages/Unregister.ts +2 -1
- package/core/server/registry/source/canonical.ts +57 -0
- package/core/server/registry/source/errors.ts +81 -0
- package/core/server/registry/source/index.ts +49 -0
- package/core/server/registry/source/ledger.ts +306 -0
- package/core/server/registry/source/snapshot.ts +29 -0
- package/core/server/registry/source/source-name.ts +48 -0
- package/core/server/registry/source/types.ts +106 -0
- package/core/server/registry/source/version-store.ts +371 -0
- package/core/server/registry/standard-product.ts +185 -0
- package/core/server/registry/validation/compile-gate.ts +39 -50
- package/core/server/registry/validation/cross-check.ts +18 -5
- package/core/server/registry/validation/declaration-safety-scan.ts +12 -10
- package/core/server/registry/validation/region-scopes.ts +50 -0
- package/core/server/runtime-space/access-gate.ts +206 -0
- package/core/server/runtime-space/advice-log.ts +67 -0
- package/core/server/runtime-space/artifact-evict.ts +15 -0
- package/core/server/runtime-space/bindings.ts +481 -0
- package/core/server/runtime-space/digest.ts +62 -0
- package/core/server/runtime-space/dynamic-pages.ts +379 -0
- package/core/server/runtime-space/errors.ts +96 -0
- package/core/server/runtime-space/gc.ts +117 -0
- package/core/server/runtime-space/index.ts +106 -0
- package/core/server/runtime-space/inject.ts +498 -0
- package/core/server/runtime-space/migrate-sources.ts +124 -0
- package/core/server/runtime-space/nav-catalog.ts +140 -0
- package/core/server/runtime-space/page-grants.ts +436 -0
- package/core/server/runtime-space/prewarm.ts +234 -0
- package/core/server/runtime-space/registry-cold-start.ts +69 -0
- package/core/server/runtime-space/resolve.ts +552 -0
- package/core/server/runtime-space/root.cjs +251 -0
- package/core/server/runtime-space/root.ts +46 -0
- package/core/server/runtime-space/static-source.ts +85 -0
- package/core/server/runtime-space/store.ts +253 -0
- package/core/server/runtime-space/submit-steps.ts +412 -0
- package/core/server/runtime-space/types.ts +325 -0
- package/core/shared/anchor-space.ts +48 -0
- package/core/shared/artifact-compatibility.ts +166 -0
- package/core/shared/behavior-machine-names.ts +8 -0
- package/core/shared/calc/coerce.ts +2 -29
- package/core/shared/calc/errors.ts +4 -7
- package/core/shared/calc/evaluator.ts +23 -11
- package/core/shared/calc/index.ts +3 -4
- package/core/shared/calc/lexer.ts +7 -12
- package/core/shared/calc/parser.ts +8 -19
- package/core/shared/calc/typer.ts +10 -23
- package/core/shared/component-tree-artifact.ts +85 -7
- package/core/shared/contract-a11y.ts +335 -0
- package/core/shared/contract-sections.ts +344 -0
- package/core/shared/core-diagnostic-codes.ts +210 -0
- package/core/shared/data-declaration-checks.ts +211 -0
- package/core/shared/date-parts.ts +2 -0
- package/core/shared/declaration-errors.ts +14 -0
- package/core/shared/declaration-keys.ts +36 -0
- package/core/shared/diagnostic-code-index-entry.ts +14 -0
- package/core/shared/diagnostic-gate.ts +139 -0
- package/core/shared/engines/engine-error.ts +33 -0
- package/core/shared/engines/style/style-engine.types.ts +28 -0
- package/core/shared/envelope-text-width.generated.d.mts +19 -0
- package/core/shared/envelope-text-width.generated.mjs +413 -0
- package/core/shared/fragments-section.ts +10 -0
- package/core/shared/generation-diagnostics.ts +58 -0
- package/core/shared/generation-error.ts +73 -0
- package/core/shared/hook-attributes.ts +159 -0
- package/core/shared/inert-data-element.ts +50 -0
- package/core/shared/nav-back.ts +120 -0
- package/core/shared/page-access-text.ts +7 -0
- package/core/shared/page-envelope-runtime.ts +88 -0
- package/core/shared/page-envelope.ts +618 -0
- package/core/shared/page-scopes.ts +83 -0
- package/core/shared/pipeline-error-codes-view.ts +31 -0
- package/core/shared/pipeline-limits-view.ts +27 -0
- package/core/shared/predicates/index.ts +85 -497
- package/core/shared/predicates/relative-window.ts +19 -0
- package/core/shared/published-page-route.ts +4 -8
- package/core/shared/region-scope-decl.ts +488 -0
- package/core/shared/registry-generated/compile-purposes.ts +53 -0
- package/core/shared/registry-generated/diagnostic-registry-index.ts +798 -0
- package/core/shared/registry-generated/diagnostic-registry.ts +5886 -0
- package/core/shared/registry-generated/error-codes.ts +137 -0
- package/core/shared/registry-generated/index.ts +13 -0
- package/core/shared/registry-generated/limits.ts +552 -0
- package/core/shared/registry-generated/platform-keys.ts +56 -0
- package/core/shared/registry-generated/region-scope.ts +823 -0
- package/core/shared/registry-generated/std-grammar-completion.ts +216 -0
- package/core/shared/registry-generated/std-grammar-views.ts +139 -0
- package/core/shared/registry-generated/std-grammar.ts +161 -0
- package/core/shared/rule-step.ts +2 -0
- package/core/shared/runtime-address.ts +244 -0
- package/core/shared/scope-decl.ts +77 -0
- package/core/shared/sha256.ts +108 -0
- package/core/shared/show-when.ts +77 -0
- package/core/shared/source-compat.ts +9 -0
- package/core/shared/std-auth-scan.ts +158 -0
- package/core/shared/types/choice-confirm.types.ts +2 -0
- package/core/shared/types/compile-diagnostic.types.ts +42 -0
- package/core/shared/types/compile-port.types.ts +41 -0
- package/core/shared/types/component-contract.types.ts +145 -156
- package/core/shared/types/component-tree-artifact.types.ts +31 -2
- package/core/shared/types/component-tree.types.ts +17 -6
- package/core/shared/types/data-config.types.ts +182 -222
- package/core/shared/types/domain.types.ts +20 -5
- package/core/shared/types/engine.types.ts +2 -0
- package/core/shared/types/event.types.ts +78 -8
- package/core/shared/types/generation-error.types.ts +83 -0
- package/core/shared/types/host-assembly.types.ts +97 -0
- package/core/shared/types/locale.types.ts +46 -0
- package/core/shared/types/manifest.types.ts +2 -7
- package/core/shared/types/nav-context.types.ts +46 -0
- package/core/shared/types/nav.types.ts +57 -0
- package/core/shared/types/notify.types.ts +45 -0
- package/core/shared/types/observation.types.ts +76 -0
- package/core/shared/types/page-envelope.types.ts +125 -0
- package/core/shared/types/page-state.types.ts +21 -42
- package/core/shared/types/region-scope.types.ts +177 -0
- package/core/shared/types/registry-batch.types.ts +45 -0
- package/core/shared/types/shortcuts.types.ts +61 -0
- package/core/shared/types/source.types.ts +10 -0
- package/core/shared/types/style-config.types.ts +61 -82
- package/core/shared/types/temporal.types.ts +3 -0
- package/core/shared/types/ui-config.types.ts +85 -152
- package/core/shared/types/write-outcome-view.types.ts +24 -0
- package/core/shared/types/write-runtime.types.ts +10 -0
- package/core/shared/types/write.types.ts +86 -0
- package/dist/browser/runtime-bundle.manifest.json +938 -0
- package/dist/browser/soma-runtime.js +120276 -0
- package/dist/cli/soma.js +131 -454
- package/dist/core/adaptive-pure.cjs +41 -0
- package/dist/core/index.cjs +119747 -22518
- package/dist/core/theme-pure.cjs +38 -0
- package/dist/diagnostics/telemetry.cjs +2 -1
- package/dist/lsp/component-tree.cjs +6412 -8261
- package/dist/preview-export.cjs +3401 -0
- package/dist/types/build/compiler/flat-page.d.ts +52 -0
- package/dist/types/build/compiler/full-manifest-builder.d.ts +26 -1
- package/dist/types/build/{blocks → compiler}/html-index.d.ts +19 -8
- package/dist/types/build/compiler/page-assets.d.ts +11 -3
- package/dist/types/build/compiler/page-base-resolver.d.ts +5 -0
- package/dist/types/build/compiler/page-declaration-compiler.d.ts +97 -56
- package/dist/types/build/compiler/soma-precompile.d.ts +3 -3
- package/dist/types/build/compiler/vite-plugin-soma.d.ts +2 -2
- package/dist/types/build/component/component-graph.d.ts +1 -1
- package/dist/types/build/component-tree/artifact-codec.d.ts +5 -8
- package/dist/types/build/component-tree/registry-snapshot.d.ts +18 -0
- package/dist/types/build/component-tree/source-preflight.d.ts +4 -14
- package/dist/types/build/component-tree/structure-topology.d.ts +1 -1
- package/dist/types/build/eject/plan-eject.d.ts +0 -1
- package/dist/types/build/lsp/component-tree-service.d.ts +2 -0
- package/dist/types/client/a11y/a11y-config.d.ts +15 -0
- package/dist/types/client/a11y/announcer.d.ts +45 -0
- package/dist/types/client/a11y/dom-id.d.ts +4 -0
- package/dist/types/client/a11y/index.d.ts +5 -0
- package/dist/types/client/a11y/motion-hook.d.ts +13 -0
- package/dist/types/client/a11y/motion.d.ts +24 -0
- package/dist/types/client/base/SomaPageRootBase.d.ts +17 -2
- package/dist/types/client/base/index.d.ts +8 -8
- package/dist/types/client/behavior/adapter-collection.d.ts +39 -0
- package/dist/types/client/behavior/adapter-popper.d.ts +2 -0
- package/dist/types/client/behavior/aria-hide-outside.d.ts +13 -0
- package/dist/types/client/behavior/css-escape.d.ts +11 -0
- package/dist/types/client/behavior/focus-scope.d.ts +69 -0
- package/dist/types/client/behavior/focus-traversal.d.ts +3 -0
- package/dist/types/client/behavior/index.d.ts +17 -0
- package/dist/types/client/behavior/layer-stack.d.ts +39 -0
- package/dist/types/client/behavior/overlay-host/index.d.ts +5 -0
- package/dist/types/client/behavior/overlay-host/port.d.ts +55 -0
- package/dist/types/client/behavior/overlay-wiring.d.ts +59 -0
- package/dist/types/client/behavior/port.d.ts +79 -0
- package/dist/types/client/behavior/positioner.d.ts +2 -0
- package/dist/types/client/behavior/presence.d.ts +27 -0
- package/dist/types/client/behavior/zag/adapter-vanilla.d.ts +2 -0
- package/dist/types/client/behavior/zag/layer-bridge.d.ts +15 -0
- package/dist/types/client/behavior/zag/machine-host.d.ts +22 -0
- package/dist/types/client/behavior/zag/machines.d.ts +23 -0
- package/dist/types/client/compiler/manifest-compiler.d.ts +4 -14
- package/dist/types/client/component/adapter/adapt.d.ts +9 -0
- package/dist/types/client/component/adapter/index.d.ts +3 -0
- package/dist/types/client/component/adapter/types.d.ts +33 -0
- package/dist/types/client/component/adapter/web-component.d.ts +9 -0
- package/dist/types/client/component/component-definition.types.d.ts +23 -5
- package/dist/types/client/component/component-expander.d.ts +1 -12
- package/dist/types/client/component/component-manager.d.ts +39 -89
- package/dist/types/client/component/component-pack.d.ts +21 -54
- package/dist/types/client/component/component-registry.d.ts +5 -0
- package/dist/types/client/component/projection-admission.d.ts +5 -0
- package/dist/types/client/component/projection-registry.d.ts +6 -0
- package/dist/types/client/component/projection.types.d.ts +44 -0
- package/dist/types/client/component/region-unavailable.d.ts +10 -0
- package/dist/types/client/component/scoped-adapter.d.ts +2 -3
- package/dist/types/client/container/IContainerAdapter.d.ts +8 -3
- package/dist/types/client/container/SomaContainerAdapter.d.ts +7 -10
- package/dist/types/client/data/collection-payload.d.ts +1 -0
- package/dist/types/client/data/data-object-resolver.d.ts +231 -110
- package/dist/types/client/data/data-polling.d.ts +28 -0
- package/dist/types/client/data/data-subscriptions.d.ts +20 -0
- package/dist/types/client/data/data-write-actions.d.ts +9 -0
- package/dist/types/client/data/envelope-failure.d.ts +17 -0
- package/dist/types/client/data/format-config.d.ts +13 -0
- package/dist/types/client/data/region-scope-port.d.ts +34 -0
- package/dist/types/client/data/region-scope-views.d.ts +15 -0
- package/dist/types/client/data/role-gate.d.ts +10 -0
- package/dist/types/client/data/write-outcome-store.d.ts +23 -0
- package/dist/types/client/data/write-outcome.d.ts +48 -0
- package/dist/types/client/engine/asset-resolver.d.ts +2 -7
- package/dist/types/client/engine/dom-renderer.d.ts +5 -111
- package/dist/types/client/engine/event-engine.d.ts +52 -61
- package/dist/types/client/engine/locale-text-binder.d.ts +28 -0
- package/dist/types/client/engine/property-watcher.d.ts +1 -41
- package/dist/types/client/engine/reactive-proxy.d.ts +2 -42
- package/dist/types/client/engine/render-engine.d.ts +3 -54
- package/dist/types/client/engine/row-range.d.ts +1 -0
- package/dist/types/client/engine/runtime-builder.d.ts +7 -3
- package/dist/types/client/engine/soma-bootstrap.d.ts +315 -91
- package/dist/types/client/engine/step-runner.d.ts +20 -2
- package/dist/types/client/engine/style-binder.d.ts +2 -16
- package/dist/types/client/engines/chart/adapter-echarts.d.ts +6 -0
- package/dist/types/client/engines/chart/index.d.ts +8 -0
- package/dist/types/client/engines/chart/kind-modules.d.ts +8 -0
- package/dist/types/client/engines/chart/port.d.ts +46 -0
- package/dist/types/client/engines/diff/adapter-jsdiff.d.ts +6 -0
- package/dist/types/client/engines/diff/index.d.ts +8 -0
- package/dist/types/client/engines/diff/port.d.ts +16 -0
- package/dist/types/client/engines/dnd/adapter-pragmatic.d.ts +9 -0
- package/dist/types/client/engines/dnd/index.d.ts +6 -0
- package/dist/types/client/engines/dnd/port.d.ts +33 -0
- package/dist/types/client/engines/engine-adapters.d.ts +23 -0
- package/dist/types/client/engines/load.d.ts +11 -0
- package/dist/types/client/engines/qrcode/adapter-qrcode-generator.d.ts +6 -0
- package/dist/types/client/engines/qrcode/index.d.ts +8 -0
- package/dist/types/client/engines/qrcode/port.d.ts +16 -0
- package/dist/types/client/engines/table/adapter-tanstack.d.ts +6 -0
- package/dist/types/client/engines/table/index.d.ts +8 -0
- package/dist/types/client/engines/table/port.d.ts +51 -0
- package/dist/types/client/engines/temporal/adapter-polyfill.d.ts +6 -0
- package/dist/types/client/engines/temporal/index.d.ts +8 -0
- package/dist/types/client/engines/temporal/port.d.ts +41 -0
- package/dist/types/client/engines/virtual/adapter-tanstack.d.ts +9 -0
- package/dist/types/client/engines/virtual/index.d.ts +8 -0
- package/dist/types/client/engines/virtual/port.d.ts +33 -0
- package/dist/types/client/format/formatter.d.ts +3 -0
- package/dist/types/client/format/index.d.ts +2 -0
- package/dist/types/client/format/zoned.d.ts +1 -0
- package/dist/types/client/host-bridge/index.d.ts +3 -0
- package/dist/types/client/host-bridge/resolve-host-bootstrap.d.ts +7 -1
- package/dist/types/client/host-bridge/soma-app-host.stub.d.ts +3 -0
- package/dist/types/client/host-bridge/soma-bootstrap-from-app.d.ts +9 -0
- package/dist/types/client/infra/auth/IAuthService.d.ts +5 -0
- package/dist/types/client/infra/auth/TokenAuthService.d.ts +1 -0
- package/dist/types/client/infra/config/SomaConfig.d.ts +4 -0
- package/dist/types/client/infra/config/feature-flags.d.ts +10 -0
- package/dist/types/client/infra/http/IHttpClient.d.ts +4 -0
- package/dist/types/client/infra/i18n/II18n.d.ts +18 -1
- package/dist/types/client/infra/i18n/builtin-locale.d.ts +11 -0
- package/dist/types/client/infra/i18n/index.d.ts +1 -0
- package/dist/types/client/infra/i18n/interpolate.d.ts +12 -0
- package/dist/types/client/infra/i18n/locale-catalog.d.ts +71 -0
- package/dist/types/client/infra/i18n/pack-locales.d.ts +29 -0
- package/dist/types/client/infra/identity/identity-port.d.ts +54 -0
- package/dist/types/client/infra/notify/DefaultNotifyService.d.ts +29 -7
- package/dist/types/client/infra/notify/INotifyService.d.ts +1 -12
- package/dist/types/client/infra/notify/notify-declaration.d.ts +10 -0
- package/dist/types/client/infra/permission/SomaPermission.d.ts +7 -0
- package/dist/types/client/infra/router/IRouter.d.ts +5 -1
- package/dist/types/client/infra/router/SomaRouter.d.ts +6 -2
- package/dist/types/client/keyboard/collection.d.ts +58 -0
- package/dist/types/client/keyboard/compose-keys.d.ts +24 -0
- package/dist/types/client/keyboard/cursor.d.ts +48 -0
- package/dist/types/client/keyboard/delegate.d.ts +48 -0
- package/dist/types/client/keyboard/ime.d.ts +2 -0
- package/dist/types/client/keyboard/index.d.ts +10 -0
- package/dist/types/client/keyboard/intents.d.ts +35 -0
- package/dist/types/client/keyboard/matrix.d.ts +29 -0
- package/dist/types/client/keyboard/submit.d.ts +7 -0
- package/dist/types/client/keyboard/typeahead.d.ts +28 -0
- package/dist/types/client/keyboard/wiring.d.ts +87 -0
- package/dist/types/client/middleware/createPermissionMiddleware.d.ts +5 -0
- package/dist/types/client/mount/domain-rule.d.ts +17 -0
- package/dist/types/client/mount/index.d.ts +3 -0
- package/dist/types/client/mount/mount-page.d.ts +11 -0
- package/dist/types/client/mount/types.d.ts +100 -0
- package/dist/types/client/observability/runtime-observer.d.ts +24 -0
- package/dist/types/client/parser/confirm-spec.d.ts +37 -0
- package/dist/types/client/parser/data-config-parser.d.ts +23 -17
- package/dist/types/client/parser/duration.d.ts +1 -1
- package/dist/types/client/parser/page-state-parser.d.ts +1 -6
- package/dist/types/client/parser/pipeline-parser.d.ts +7 -12
- package/dist/types/client/parser/style-config-parser.d.ts +2 -1
- package/dist/types/client/parser/subscribe-parser.d.ts +5 -0
- package/dist/types/client/parser/ui-config-parser.d.ts +26 -25
- package/dist/types/client/pipes/pipe-registry.d.ts +30 -40
- package/dist/types/client/registry/declaration-renderer.d.ts +11 -3
- package/dist/types/client/registry/page-lifecycle.d.ts +3 -3
- package/dist/types/client/registry/remote-page.d.ts +3 -3
- package/dist/types/client/render-ports/index.d.ts +15 -0
- package/dist/types/client/render-ports/notify-renderer.d.ts +55 -0
- package/dist/types/client/render-ports/region-fallback.d.ts +10 -0
- package/dist/types/client/render-ports/scheduling/prompt-queue.d.ts +19 -0
- package/dist/types/client/render-ports/scheduling/toast-scheduler.d.ts +60 -0
- package/dist/types/client/runtime/SomaRuntimeServices.d.ts +102 -5
- package/dist/types/client/runtime/nav-history.d.ts +31 -0
- package/dist/types/client/runtime/nav-port.d.ts +12 -0
- package/dist/types/client/runtime/shortcuts.d.ts +41 -0
- package/dist/types/client/runtime/write-feedback.d.ts +22 -0
- package/dist/types/client/runtime-entry.d.ts +13 -0
- package/dist/types/client/scheduler/SomaScheduler.d.ts +5 -0
- package/dist/types/client/{adaptive → scheduling}/flush-scheduler.d.ts +2 -2
- package/dist/types/client/scheduling/index.d.ts +4 -0
- package/dist/types/client/scheduling/observer-pool.d.ts +15 -0
- package/dist/types/client/security/url-guard.d.ts +18 -0
- package/dist/types/client/styles/compiled-styles.d.ts +10 -0
- package/dist/types/client/styles/index.d.ts +3 -0
- package/dist/types/client/styles/pack-styles.d.ts +51 -0
- package/dist/types/client/styles/sheet-mount.d.ts +7 -0
- package/dist/types/client/{component → styles}/style-features.d.ts +1 -1
- package/dist/types/client/time/clock.d.ts +10 -0
- package/dist/types/client/time/instant.d.ts +1 -0
- package/dist/types/client/url-state/index.d.ts +6 -0
- package/dist/types/client/url-state/page-tabs-controller.d.ts +22 -0
- package/dist/types/client/url-state/state-query-binding.d.ts +22 -0
- package/dist/types/client/url-state/url-state.d.ts +47 -0
- package/dist/types/client/validation/async-check-registry.d.ts +41 -0
- package/dist/types/client/validation/async-rules.d.ts +81 -0
- package/dist/types/client/validation/contract-validator.d.ts +10 -0
- package/dist/types/client/validation/field-rules.d.ts +6 -0
- package/dist/types/client/validation/index.d.ts +5 -0
- package/dist/types/client/validation/object-rules.d.ts +22 -0
- package/dist/types/index.d.ts +97 -61
- package/dist/types/inspect/check-product.d.ts +123 -0
- package/dist/types/inspect/check-runtime.d.ts +19 -0
- package/dist/types/inspect/runtime.d.ts +39 -0
- package/dist/types/page-target/index.d.ts +3 -0
- package/dist/types/page-target/provenance.d.ts +20 -0
- package/dist/types/page-target/slug.d.ts +7 -0
- package/dist/types/page-target/testing/index.d.ts +55 -0
- package/dist/types/page-target/types.d.ts +260 -0
- package/dist/types/predicates-entry.d.ts +3 -0
- package/dist/types/server/compile-port.d.ts +13 -0
- package/dist/types/server/diagnostic-gate-entry.d.ts +3 -0
- package/dist/types/server/engines/style/candidate-guard.d.ts +14 -0
- package/dist/types/server/engines/style/index.d.ts +10 -0
- package/dist/types/server/engines/style/port.d.ts +8 -0
- package/dist/types/server/engines/style/tailwind-adapter.d.ts +6 -0
- package/dist/types/server/host/content-security-policy.d.ts +5 -0
- package/dist/types/server/host/host-assembly-entry.d.ts +2 -0
- package/dist/types/server/host/host-assembly.d.ts +56 -0
- package/dist/types/server/host/host-config-paths.d.cts +7 -0
- package/dist/types/server/host/locale-yaml.d.ts +3 -0
- package/dist/types/server/host/page-markup-config.d.ts +6 -0
- package/dist/types/server/host/published-page-artifact-cache.d.ts +99 -22
- package/dist/types/server/host/published-page-assets.d.ts +74 -4
- package/dist/types/server/host/server-page-assets.d.ts +29 -1
- package/dist/types/server/host/soma-page-compile.d.ts +26 -4
- package/dist/types/server/host/source-packages.d.cts +23 -0
- package/dist/types/server/host/source-packages.d.ts +15 -2
- package/dist/types/server/host/virtual-pages.d.ts +43 -0
- package/dist/types/server/index.d.ts +8 -12
- package/dist/types/server/node.d.ts +16 -0
- package/dist/types/server/page-assets.d.ts +10 -0
- package/dist/types/server/page-declaration.d.ts +21 -6
- package/dist/types/server/registry/api-registry-store.d.ts +9 -7
- package/dist/types/server/registry/asset-store.d.ts +13 -7
- package/dist/types/server/registry/batch-publish.d.ts +12 -0
- package/dist/types/server/registry/batch-stage.d.ts +24 -0
- package/dist/types/server/registry/component-supply.d.ts +6 -0
- package/dist/types/server/registry/declaration-precompiler.d.ts +22 -8
- package/dist/types/server/registry/index.d.ts +12 -3
- package/dist/types/server/registry/page-registry-repository.d.ts +46 -0
- package/dist/types/server/registry/page-registry-store.d.ts +225 -23
- package/dist/types/server/registry/publish-asset-pin.d.ts +5 -4
- package/dist/types/server/registry/registry-file-lock.d.ts +5 -0
- package/dist/types/server/registry/registry-write-pipeline.d.ts +22 -0
- package/dist/types/server/registry/request-body-limit.d.ts +1 -1
- package/dist/types/server/registry/rollback-plan.d.ts +61 -0
- package/dist/types/server/registry/services/index.d.ts +5 -0
- package/dist/types/server/registry/services/pages/Register.d.ts +1 -1
- package/dist/types/server/registry/services/pages/RegisterBatch.d.ts +12 -0
- package/dist/types/server/registry/services/pages/Rollback.d.ts +4 -1
- package/dist/types/server/registry/source/canonical.d.ts +2 -0
- package/dist/types/server/registry/source/errors.d.ts +44 -0
- package/dist/types/server/registry/source/index.d.ts +7 -0
- package/dist/types/server/registry/source/ledger.d.ts +99 -0
- package/dist/types/server/registry/source/snapshot.d.ts +6 -0
- package/dist/types/server/registry/source/source-name.d.ts +20 -0
- package/dist/types/server/registry/source/types.d.ts +89 -0
- package/dist/types/server/registry/source/version-store.d.ts +66 -0
- package/dist/types/server/registry/standard-product.d.ts +78 -0
- package/dist/types/server/registry/validation/compile-gate.d.ts +12 -45
- package/dist/types/server/registry/validation/cross-check.d.ts +7 -0
- package/dist/types/server/registry/validation/declaration-safety-scan.d.ts +0 -1
- package/dist/types/server/registry/validation/region-scopes.d.ts +10 -0
- package/dist/types/server/runtime-space/access-gate.d.ts +41 -0
- package/dist/types/server/runtime-space/advice-log.d.ts +18 -0
- package/dist/types/server/runtime-space/artifact-evict.d.ts +4 -0
- package/dist/types/server/runtime-space/bindings.d.ts +115 -0
- package/dist/types/server/runtime-space/digest.d.ts +19 -0
- package/dist/types/server/runtime-space/dynamic-pages.d.ts +120 -0
- package/dist/types/server/runtime-space/errors.d.ts +37 -0
- package/dist/types/server/runtime-space/gc.d.ts +6 -0
- package/dist/types/server/runtime-space/index.d.ts +19 -0
- package/dist/types/server/runtime-space/inject.d.ts +55 -0
- package/dist/types/server/runtime-space/migrate-sources.d.ts +19 -0
- package/dist/types/server/runtime-space/nav-catalog.d.ts +33 -0
- package/dist/types/server/runtime-space/page-grants.d.ts +90 -0
- package/dist/types/server/runtime-space/prewarm.d.ts +60 -0
- package/dist/types/server/runtime-space/registry-cold-start.d.ts +4 -0
- package/dist/types/server/runtime-space/resolve.d.ts +38 -0
- package/dist/types/server/runtime-space/root.d.cts +88 -0
- package/dist/types/server/runtime-space/root.d.ts +21 -0
- package/dist/types/server/runtime-space/static-source.d.ts +8 -0
- package/dist/types/server/runtime-space/store.d.ts +63 -0
- package/dist/types/server/runtime-space/submit-steps.d.ts +116 -0
- package/dist/types/server/runtime-space/types.d.ts +264 -0
- package/dist/types/shared/anchor-space.d.ts +17 -0
- package/dist/types/shared/artifact-compatibility.d.ts +77 -0
- package/dist/types/shared/behavior-machine-names.d.ts +2 -0
- package/dist/types/shared/calc/coerce.d.ts +1 -4
- package/dist/types/shared/calc/lexer.d.ts +1 -2
- package/dist/types/shared/calc/parser.d.ts +1 -7
- package/dist/types/shared/calc/typer.d.ts +1 -6
- package/dist/types/shared/component-tree-artifact.d.ts +16 -2
- package/dist/types/shared/contract-a11y.d.ts +33 -0
- package/dist/types/shared/contract-sections.d.ts +50 -0
- package/dist/types/shared/core-diagnostic-codes.d.ts +28 -0
- package/dist/types/shared/data-declaration-checks.d.ts +71 -0
- package/dist/types/shared/date-parts.d.ts +1 -0
- package/dist/types/shared/declaration-errors.d.ts +12 -0
- package/dist/types/shared/declaration-keys.d.ts +9 -0
- package/dist/types/shared/diagnostic-code-index-entry.d.ts +5 -0
- package/dist/types/shared/diagnostic-gate.d.ts +60 -0
- package/dist/types/shared/engines/engine-error.d.ts +14 -0
- package/dist/types/shared/engines/style/style-engine.types.d.ts +22 -0
- package/dist/types/shared/fragments-section.d.ts +2 -0
- package/dist/types/shared/generation-diagnostics.d.ts +7 -0
- package/dist/types/shared/generation-error.d.ts +20 -0
- package/dist/types/shared/hook-attributes.d.ts +220 -0
- package/dist/types/shared/inert-data-element.d.ts +14 -0
- package/dist/types/shared/nav-back.d.ts +22 -0
- package/dist/types/shared/page-access-text.d.ts +4 -0
- package/dist/types/shared/page-envelope-runtime.d.ts +32 -0
- package/dist/types/shared/page-envelope.d.ts +61 -0
- package/dist/types/shared/page-scopes.d.ts +35 -0
- package/dist/types/shared/pipeline-error-codes-view.d.ts +11 -0
- package/dist/types/shared/pipeline-limits-view.d.ts +8 -0
- package/dist/types/shared/predicates/index.d.ts +24 -67
- package/dist/types/shared/predicates/relative-window.d.ts +1 -0
- package/dist/types/shared/published-page-route.d.ts +2 -2
- package/dist/types/shared/region-scope-decl.d.ts +121 -0
- package/dist/types/shared/registry-generated/compile-purposes.d.ts +37 -0
- package/dist/types/shared/registry-generated/diagnostic-registry-index.d.ts +2 -0
- package/dist/types/shared/registry-generated/diagnostic-registry.d.ts +5023 -0
- package/dist/types/shared/registry-generated/error-codes.d.ts +115 -0
- package/dist/types/shared/registry-generated/index.d.ts +10 -0
- package/dist/types/shared/registry-generated/limits.d.ts +461 -0
- package/dist/types/shared/registry-generated/platform-keys.d.ts +42 -0
- package/dist/types/shared/registry-generated/region-scope.d.ts +511 -0
- package/dist/types/shared/registry-generated/std-grammar-completion.d.ts +773 -0
- package/dist/types/shared/registry-generated/std-grammar-views.d.ts +203 -0
- package/dist/types/shared/registry-generated/std-grammar.d.ts +3515 -0
- package/dist/types/shared/rule-step.d.ts +1 -0
- package/dist/types/shared/runtime-address.d.ts +70 -0
- package/dist/types/shared/scope-decl.d.ts +15 -0
- package/dist/types/shared/sha256.d.ts +4 -0
- package/dist/types/shared/show-when.d.ts +21 -0
- package/dist/types/shared/source-compat.d.ts +2 -0
- package/dist/types/shared/std-auth-scan.d.ts +45 -0
- package/dist/types/shared/types/choice-confirm.types.d.ts +1 -0
- package/dist/types/shared/types/compile-diagnostic.types.d.ts +34 -0
- package/dist/types/shared/types/compile-port.types.d.ts +30 -0
- package/dist/types/shared/types/component-contract.types.d.ts +134 -129
- package/dist/types/shared/types/component-tree-artifact.types.d.ts +29 -2
- package/dist/types/shared/types/component-tree.types.d.ts +15 -6
- package/dist/types/shared/types/data-config.types.d.ts +175 -191
- package/dist/types/shared/types/domain.types.d.ts +20 -5
- package/dist/types/shared/types/engine.types.d.ts +2 -0
- package/dist/types/shared/types/event.types.d.ts +59 -9
- package/dist/types/shared/types/generation-error.types.d.ts +28 -0
- package/dist/types/shared/types/host-assembly.types.d.ts +95 -0
- package/dist/types/shared/types/locale.types.d.ts +17 -0
- package/dist/types/shared/types/manifest.types.d.ts +2 -7
- package/dist/types/shared/types/nav-context.types.d.ts +41 -0
- package/dist/types/shared/types/nav.types.d.ts +53 -0
- package/dist/types/shared/types/notify.types.d.ts +37 -0
- package/dist/types/shared/types/observation.types.d.ts +72 -0
- package/dist/types/shared/types/page-envelope.types.d.ts +98 -0
- package/dist/types/shared/types/page-state.types.d.ts +17 -33
- package/dist/types/shared/types/region-scope.types.d.ts +150 -0
- package/dist/types/shared/types/registry-batch.types.d.ts +48 -0
- package/dist/types/shared/types/shortcuts.types.d.ts +67 -0
- package/dist/types/shared/types/source.types.d.ts +10 -0
- package/dist/types/shared/types/style-config.types.d.ts +0 -19
- package/dist/types/shared/types/temporal.types.d.ts +1 -0
- package/dist/types/shared/types/ui-config.types.d.ts +82 -148
- package/dist/types/shared/types/write-outcome-view.types.d.ts +19 -0
- package/dist/types/shared/types/write-runtime.types.d.ts +1 -0
- package/dist/types/shared/types/write.types.d.ts +70 -0
- package/global.d.ts +2 -1
- package/package.json +216 -62
- package/tsconfig.json +2 -10
- package/app/SomaPageClient.tsx +0 -313
- package/app/[...path]/page.tsx +0 -22
- package/app/api/[...path]/route.ts +0 -86
- package/app/api/soma-registry/[...path]/route.ts +0 -67
- package/app/components/SomaHostPage.tsx +0 -128
- package/app/components/SomaHydrationShell.tsx +0 -20
- package/app/components/SomaPageClientBoundary.tsx +0 -13
- package/app/favicon.ico/route.ts +0 -13
- package/app/globals.css +0 -126
- package/app/layout.tsx +0 -27
- package/app/page.tsx +0 -9
- package/app/soma/[...path]/route.ts +0 -9
- package/app/soma/manifest/route.ts +0 -43
- package/app/soma/page/route.ts +0 -44
- package/app/soma/page-object/route.ts +0 -159
- package/app/soma/route.ts +0 -9
- package/bin/component.cjs +0 -240
- package/bin/migrate.cjs +0 -432
- package/bin/soma-db.cjs +0 -13
- package/bin/soma-mock.mjs +0 -38
- package/bin/soma-sync.cjs +0 -3
- package/core/build/blocks/block-compile.ts +0 -373
- package/core/build/blocks/block-container.ts +0 -207
- package/core/build/blocks/block-loader.ts +0 -33
- package/core/build/blocks/migrate-flat.ts +0 -463
- package/core/build/compiler/precompiled-manifest-loader.ts +0 -41
- package/core/build/component/pack-from-dir.ts +0 -58
- package/core/build/component/package-loader.ts +0 -358
- package/core/build/component-tree/binding-bridge.ts +0 -272
- package/core/build/component-tree/migration-files.ts +0 -214
- package/core/build/component-tree/migration.ts +0 -170
- package/core/build/component-tree/validator.ts +0 -318
- package/core/build/db/cli.ts +0 -10
- package/core/build/db/emit-entities.ts +0 -45
- package/core/build/db/emit-mappers.ts +0 -175
- package/core/build/db/emit-prisma-schema.ts +0 -92
- package/core/build/db/generate.ts +0 -166
- package/core/build/db/ir.ts +0 -75
- package/core/build/db/load-db-yaml.ts +0 -241
- package/core/build/eject/component-eject.ts +0 -480
- package/core/build/eject/component-upgrade.ts +0 -359
- package/core/build/layout/constraint-solver.ts +0 -350
- package/core/build/layout/css-emitter.ts +0 -135
- package/core/build/layout/page-layout.ts +0 -85
- package/core/build/ooui/artifact/artifact.types.ts +0 -275
- package/core/build/ooui/artifact/emit-artifact.ts +0 -269
- package/core/build/ooui/artifact/emit-html.ts +0 -204
- package/core/build/ooui/artifact/index.ts +0 -53
- package/core/build/ooui/artifact/spatial-tree.ts +0 -268
- package/core/build/ooui/artifact/utility-class.ts +0 -83
- package/core/build/ooui/composition/candidate.types.ts +0 -323
- package/core/build/ooui/composition/control-model.ts +0 -114
- package/core/build/ooui/composition/registry.ts +0 -520
- package/core/build/ooui/composition/select.ts +0 -232
- package/core/build/ooui/diagnostics/codes.ts +0 -230
- package/core/build/ooui/diagnostics/error.ts +0 -235
- package/core/build/ooui/diagnostics/format.ts +0 -106
- package/core/build/ooui/diagnostics/index.ts +0 -62
- package/core/build/ooui/diagnostics/issue.types.ts +0 -112
- package/core/build/ooui/engine-slot.ts +0 -184
- package/core/build/ooui/index.ts +0 -1427
- package/core/build/ooui/intent/derive-intent.ts +0 -450
- package/core/build/ooui/intent/field-rules.ts +0 -330
- package/core/build/ooui/intent/intent.types.ts +0 -476
- package/core/build/ooui/intent/verb-events.ts +0 -285
- package/core/build/ooui/page/budget.ts +0 -503
- package/core/build/ooui/page/compose-page.ts +0 -736
- package/core/build/ooui/page/index.ts +0 -66
- package/core/build/ooui/page/page.types.ts +0 -402
- package/core/build/ooui/page/region-row.ts +0 -241
- package/core/build/ooui/semantic/expand-page-surface.ts +0 -180
- package/core/build/ooui/semantic/kernel.types.ts +0 -187
- package/core/build/ooui/semantic/normalize.ts +0 -784
- package/core/build/ooui/semantic/origin.types.ts +0 -211
- package/core/build/ooui/semantic/role-alias.ts +0 -154
- package/core/build/ooui/semantic/shorthand.ts +0 -233
- package/core/build/ooui/semantic/surface.types.ts +0 -78
- package/core/build/ooui/semantic/validate-request.ts +0 -267
- package/core/build/ooui/spatial/emit-utility.ts +0 -480
- package/core/build/ooui/spatial/ir.types.ts +0 -443
- package/core/build/ooui/spatial/registry.ts +0 -565
- package/core/build/ooui/spatial/solve.ts +0 -769
- package/core/build/ooui/spatial/utility.types.ts +0 -242
- package/core/build/ooui/trace/index.ts +0 -40
- package/core/build/ooui/trace/render.ts +0 -190
- package/core/build/ooui/trace/source.types.ts +0 -69
- package/core/build/ooui/trace/trace.types.ts +0 -326
- package/core/build/pack/pack-init.ts +0 -270
- package/core/client/adaptive/hysteresis.ts +0 -56
- package/core/client/adaptive/index.ts +0 -23
- package/core/client/adaptive/observer-pool.ts +0 -204
- package/core/client/compiler/adaptive-compile.ts +0 -136
- package/core/client/component/ai-catalog.ts +0 -432
- package/core/client/component/catalog-examples.ts +0 -60
- package/core/client/component/contract-compat.ts +0 -161
- package/core/client/component/example-blocks.ts +0 -126
- package/core/client/component/keyboard-matrix.ts +0 -144
- package/core/client/component/pack-styles.ts +0 -152
- package/core/client/component/theme-component-tokens.ts +0 -80
- package/core/client/component/verify-pack.ts +0 -429
- package/core/client/container/MiniProgramContainerAdapter.ts +0 -204
- package/core/client/container/ReactNativeContainerAdapter.ts +0 -203
- package/core/client/data/reaction-engine.ts +0 -176
- package/core/client/data/window-engine.ts +0 -477
- package/core/client/infra/i18n/DefaultI18n.ts +0 -29
- package/core/client/infra/notify/DomNotifyService.ts +0 -99
- package/core/client/infra/notify/INotifyTheme.ts +0 -22
- package/core/client/parser/adaptive-parser.ts +0 -264
- package/core/client/parser/blocks/namespace.ts +0 -207
- package/core/client/parser/blocks/page-parser.ts +0 -466
- package/core/client/parser/blocks/use-parser.ts +0 -646
- package/core/client/parser/layout-parser.ts +0 -158
- package/core/client/parser/reaction-parser.ts +0 -458
- package/core/client/parser/reaction-sugar.ts +0 -47
- package/core/client/parser/window-parser.ts +0 -294
- package/core/client/quality/SomaQualityRegistry.ts +0 -71
- package/core/client/runtime/serialize-page-state.ts +0 -152
- package/core/client/theme/harmony.ts +0 -429
- package/core/client/theme/scene-tokens.ts +0 -155
- package/core/client/theme/theme-axes.ts +0 -323
- package/core/client/theme/theme-engine.ts +0 -2390
- package/core/client/theme/tone-solver.ts +0 -119
- package/core/client/typography/typography-base.ts +0 -34
- package/core/server/headless/soma-headless-page.ts +0 -103
- package/core/server/infra/db/errors.ts +0 -11
- package/core/server/infra/db/mapper/PrismaSomaMapper.ts +0 -313
- package/core/server/infra/db/mapper/SomaBaseMapper.ts +0 -23
- package/core/server/infra/db/mapper/SomaMapperHooks.ts +0 -13
- package/core/server/infra/db/query/SomaQuery.ts +0 -149
- package/core/server/infra/db/service/SomaDbService.ts +0 -64
- package/core/server/infra/db/soma-db.ts +0 -120
- package/core/server/infra/db/types.ts +0 -21
- package/core/server/mock/node/catch-all.mjs +0 -35
- package/core/server/mock/node/cli.d.mts +0 -58
- package/core/server/mock/node/cli.mjs +0 -244
- package/core/server/mock/node/context.mjs +0 -167
- package/core/server/mock/node/environment-policy.mjs +0 -52
- package/core/server/mock/node/plugin-loader.mjs +0 -212
- package/core/server/mock/node/preload.mjs +0 -91
- package/core/server/mock/node/process-lifecycle.mjs +0 -236
- package/core/server/mock/node/public.d.mts +0 -110
- package/core/server/mock/node/public.mjs +0 -4
- package/core/server/mock/node/registry.mjs +0 -336
- package/core/server/mock/node/schema-generator.mjs +0 -1309
- package/core/server/mock/testing/host-harness.d.mts +0 -66
- package/core/server/mock/testing/host-harness.mjs +0 -276
- package/core/server/mock/testing/host-runtime.mjs +0 -48
- package/core/server/ooui.ts +0 -34
- package/core/shared/block-errors.ts +0 -11
- package/core/shared/component/derive-sample.ts +0 -290
- package/core/shared/component/field-lines.ts +0 -563
- package/core/shared/container-breakpoints.ts +0 -46
- package/core/shared/object-semantics.ts +0 -240
- package/core/shared/ooui-declaration.ts +0 -235
- package/core/shared/path-algebra.ts +0 -169
- package/core/shared/types/adaptive.types.ts +0 -109
- package/core/shared/types/layout-constraint.types.ts +0 -89
- package/core/shared/types/reaction.types.ts +0 -144
- package/core/shared/types/window.types.ts +0 -177
- package/dist/types/build/blocks/block-compile.d.ts +0 -52
- package/dist/types/build/blocks/block-container.d.ts +0 -40
- package/dist/types/build/blocks/block-loader.d.ts +0 -9
- package/dist/types/build/blocks/migrate-flat.d.ts +0 -49
- package/dist/types/build/compiler/precompiled-manifest-loader.d.ts +0 -5
- package/dist/types/build/component/pack-from-dir.d.ts +0 -17
- package/dist/types/build/component/package-loader.d.ts +0 -50
- package/dist/types/build/component-tree/binding-bridge.d.ts +0 -19
- package/dist/types/build/component-tree/migration-files.d.ts +0 -35
- package/dist/types/build/component-tree/migration.d.ts +0 -28
- package/dist/types/build/component-tree/validator.d.ts +0 -9
- package/dist/types/build/db/cli.d.ts +0 -2
- package/dist/types/build/db/emit-entities.d.ts +0 -5
- package/dist/types/build/db/emit-mappers.d.ts +0 -15
- package/dist/types/build/db/emit-prisma-schema.d.ts +0 -2
- package/dist/types/build/db/generate.d.ts +0 -7
- package/dist/types/build/db/ir.d.ts +0 -58
- package/dist/types/build/db/load-db-yaml.d.ts +0 -14
- package/dist/types/build/eject/component-eject.d.ts +0 -121
- package/dist/types/build/eject/component-upgrade.d.ts +0 -43
- package/dist/types/build/layout/constraint-solver.d.ts +0 -78
- package/dist/types/build/layout/css-emitter.d.ts +0 -18
- package/dist/types/build/layout/page-layout.d.ts +0 -24
- package/dist/types/build/ooui/artifact/artifact.types.d.ts +0 -180
- package/dist/types/build/ooui/artifact/emit-artifact.d.ts +0 -58
- package/dist/types/build/ooui/artifact/emit-html.d.ts +0 -53
- package/dist/types/build/ooui/artifact/index.d.ts +0 -5
- package/dist/types/build/ooui/artifact/spatial-tree.d.ts +0 -48
- package/dist/types/build/ooui/artifact/utility-class.d.ts +0 -46
- package/dist/types/build/ooui/composition/candidate.types.d.ts +0 -206
- package/dist/types/build/ooui/composition/control-model.d.ts +0 -37
- package/dist/types/build/ooui/composition/registry.d.ts +0 -66
- package/dist/types/build/ooui/composition/select.d.ts +0 -63
- package/dist/types/build/ooui/diagnostics/codes.d.ts +0 -28
- package/dist/types/build/ooui/diagnostics/error.d.ts +0 -135
- package/dist/types/build/ooui/diagnostics/format.d.ts +0 -51
- package/dist/types/build/ooui/diagnostics/index.d.ts +0 -25
- package/dist/types/build/ooui/diagnostics/issue.types.d.ts +0 -56
- package/dist/types/build/ooui/engine-slot.d.ts +0 -41
- package/dist/types/build/ooui/index.d.ts +0 -286
- package/dist/types/build/ooui/intent/derive-intent.d.ts +0 -32
- package/dist/types/build/ooui/intent/field-rules.d.ts +0 -99
- package/dist/types/build/ooui/intent/intent.types.d.ts +0 -318
- package/dist/types/build/ooui/intent/verb-events.d.ts +0 -70
- package/dist/types/build/ooui/page/budget.d.ts +0 -28
- package/dist/types/build/ooui/page/compose-page.d.ts +0 -41
- package/dist/types/build/ooui/page/index.d.ts +0 -4
- package/dist/types/build/ooui/page/page.types.d.ts +0 -264
- package/dist/types/build/ooui/page/region-row.d.ts +0 -16
- package/dist/types/build/ooui/semantic/expand-page-surface.d.ts +0 -33
- package/dist/types/build/ooui/semantic/kernel.types.d.ts +0 -125
- package/dist/types/build/ooui/semantic/normalize.d.ts +0 -45
- package/dist/types/build/ooui/semantic/origin.types.d.ts +0 -95
- package/dist/types/build/ooui/semantic/role-alias.d.ts +0 -35
- package/dist/types/build/ooui/semantic/shorthand.d.ts +0 -60
- package/dist/types/build/ooui/semantic/surface.types.d.ts +0 -16
- package/dist/types/build/ooui/semantic/validate-request.d.ts +0 -19
- package/dist/types/build/ooui/spatial/emit-utility.d.ts +0 -43
- package/dist/types/build/ooui/spatial/ir.types.d.ts +0 -280
- package/dist/types/build/ooui/spatial/registry.d.ts +0 -110
- package/dist/types/build/ooui/spatial/solve.d.ts +0 -42
- package/dist/types/build/ooui/spatial/utility.types.d.ts +0 -191
- package/dist/types/build/ooui/trace/index.d.ts +0 -3
- package/dist/types/build/ooui/trace/render.d.ts +0 -42
- package/dist/types/build/ooui/trace/source.types.d.ts +0 -25
- package/dist/types/build/ooui/trace/trace.types.d.ts +0 -143
- package/dist/types/build/pack/pack-init.d.ts +0 -8
- package/dist/types/client/adaptive/hysteresis.d.ts +0 -16
- package/dist/types/client/adaptive/index.d.ts +0 -5
- package/dist/types/client/adaptive/observer-pool.d.ts +0 -22
- package/dist/types/client/compiler/adaptive-compile.d.ts +0 -26
- package/dist/types/client/component/ai-catalog.d.ts +0 -122
- package/dist/types/client/component/catalog-examples.d.ts +0 -18
- package/dist/types/client/component/contract-compat.d.ts +0 -16
- package/dist/types/client/component/example-blocks.d.ts +0 -7
- package/dist/types/client/component/keyboard-matrix.d.ts +0 -24
- package/dist/types/client/component/pack-styles.d.ts +0 -43
- package/dist/types/client/component/theme-component-tokens.d.ts +0 -17
- package/dist/types/client/component/verify-pack.d.ts +0 -24
- package/dist/types/client/container/MiniProgramContainerAdapter.d.ts +0 -52
- package/dist/types/client/container/ReactNativeContainerAdapter.d.ts +0 -47
- package/dist/types/client/data/reaction-engine.d.ts +0 -21
- package/dist/types/client/data/window-engine.d.ts +0 -27
- package/dist/types/client/infra/i18n/DefaultI18n.d.ts +0 -7
- package/dist/types/client/infra/notify/DomNotifyService.d.ts +0 -17
- package/dist/types/client/infra/notify/INotifyTheme.d.ts +0 -12
- package/dist/types/client/parser/adaptive-parser.d.ts +0 -28
- package/dist/types/client/parser/blocks/namespace.d.ts +0 -72
- package/dist/types/client/parser/blocks/page-parser.d.ts +0 -30
- package/dist/types/client/parser/blocks/use-parser.d.ts +0 -124
- package/dist/types/client/parser/layout-parser.d.ts +0 -9
- package/dist/types/client/parser/reaction-parser.d.ts +0 -16
- package/dist/types/client/parser/reaction-sugar.d.ts +0 -13
- package/dist/types/client/parser/window-parser.d.ts +0 -25
- package/dist/types/client/quality/SomaQualityRegistry.d.ts +0 -31
- package/dist/types/client/runtime/serialize-page-state.d.ts +0 -10
- package/dist/types/client/theme/harmony.d.ts +0 -119
- package/dist/types/client/theme/scene-tokens.d.ts +0 -41
- package/dist/types/client/theme/theme-axes.d.ts +0 -174
- package/dist/types/client/theme/theme-engine.d.ts +0 -119
- package/dist/types/client/theme/tone-solver.d.ts +0 -51
- package/dist/types/client/typography/typography-base.d.ts +0 -15
- package/dist/types/server/headless/soma-headless-page.d.ts +0 -12
- package/dist/types/server/infra/db/errors.d.ts +0 -5
- package/dist/types/server/infra/db/mapper/PrismaSomaMapper.d.ts +0 -77
- package/dist/types/server/infra/db/mapper/SomaBaseMapper.d.ts +0 -20
- package/dist/types/server/infra/db/mapper/SomaMapperHooks.d.ts +0 -12
- package/dist/types/server/infra/db/query/SomaQuery.d.ts +0 -42
- package/dist/types/server/infra/db/service/SomaDbService.d.ts +0 -24
- package/dist/types/server/infra/db/soma-db.d.ts +0 -45
- package/dist/types/server/infra/db/types.d.ts +0 -18
- package/dist/types/server/ooui.d.ts +0 -18
- package/dist/types/shared/block-errors.d.ts +0 -5
- package/dist/types/shared/component/derive-sample.d.ts +0 -37
- package/dist/types/shared/component/field-lines.d.ts +0 -19
- package/dist/types/shared/container-breakpoints.d.ts +0 -42
- package/dist/types/shared/object-semantics.d.ts +0 -42
- package/dist/types/shared/ooui-declaration.d.ts +0 -135
- package/dist/types/shared/path-algebra.d.ts +0 -56
- package/dist/types/shared/types/adaptive.types.d.ts +0 -88
- package/dist/types/shared/types/layout-constraint.types.d.ts +0 -53
- package/dist/types/shared/types/reaction.types.d.ts +0 -115
- package/dist/types/shared/types/window.types.d.ts +0 -171
- package/next.config.js +0 -387
- package/proxy.ts +0 -62
|
@@ -0,0 +1,3515 @@
|
|
|
1
|
+
export declare const SOMA_PIPELINE_STD_GRAMMAR: {
|
|
2
|
+
readonly id: "std-grammar";
|
|
3
|
+
readonly title: "SOMA 标准语法真源(core 原生四件套,管线真源):core 自己消费的键(数据来源 from / 写入地址 write / 字段 name type options default rules / 定时重取 poll / 页面信封)的键闭集 / 取值域 / 上下文 / 搬运方式 / 授权扫描 / 补全;数据策略段(对象 roles board states session 等)归 data-grammar.json";
|
|
4
|
+
readonly readBy: readonly [{
|
|
5
|
+
readonly module: "soma-core";
|
|
6
|
+
readonly file: "core/shared/std-auth-scan.ts";
|
|
7
|
+
readonly symbol: "SOMA_STD_AUTH_SCAN";
|
|
8
|
+
}];
|
|
9
|
+
readonly hosts: readonly [{
|
|
10
|
+
readonly id: "page-file";
|
|
11
|
+
readonly files: readonly ["ui/*_ui.yaml"];
|
|
12
|
+
readonly root: readonly [];
|
|
13
|
+
}, {
|
|
14
|
+
readonly id: "event-file";
|
|
15
|
+
readonly files: readonly ["event/*_event.yaml"];
|
|
16
|
+
readonly root: readonly [];
|
|
17
|
+
}, {
|
|
18
|
+
readonly id: "style-file";
|
|
19
|
+
readonly files: readonly ["style/*_style.yaml"];
|
|
20
|
+
readonly root: readonly [];
|
|
21
|
+
}];
|
|
22
|
+
readonly stages: readonly [{
|
|
23
|
+
readonly id: "surface";
|
|
24
|
+
readonly title: "作者书写的键";
|
|
25
|
+
readonly describes: "YAML(biz / ui / app 文件)与 AI 蓝图 JSON 里的键;本身没有类型,是每条路径的起点";
|
|
26
|
+
}, {
|
|
27
|
+
readonly id: "page-block";
|
|
28
|
+
readonly title: "平铺 _ui.yaml(页面声明)";
|
|
29
|
+
readonly describes: "平铺 _ui.yaml 的顶层键(bind / show / initProps 与保留键 envelope / data / state / scopes / session / fragments / domain / locale / watch);类型登记(UiConfig 容纳哪些上下文)由方言叠加";
|
|
30
|
+
}, {
|
|
31
|
+
readonly id: "core-config";
|
|
32
|
+
readonly title: "核心层对象配置(数据对象解析器的产物)";
|
|
33
|
+
readonly writers: readonly ["soma-core/core/client/parser/", "soma-core/core/server/registry/", "soma-ui/src/compiler/bdl/", "soma-ui/src/compiler/page/session-synthesis.ts", "soma-ui/src/compiler/need/build-need.ts", "soma-core/core/build/compiler/"];
|
|
34
|
+
readonly readers: readonly ["soma-core/core/client/data/", "soma-core/core/client/engine/", "soma-core/core/shared/", "soma-ui/src/compiler/need/", "soma-ui/src/compiler/compose/", "soma-ui/src/compiler/driver/", "soma-ui/src/compiler/certify/", "soma-ui/src/compiler/emit/", "soma-ui/src/compiler/behavior/", "soma-ui/src/compiler/forms/", "soma-ui/src/compiler/page/", "soma-ui/src/compiler/contract/", "soma-ui/src/compiler/styling/", "soma-ui/src/data-kit/"];
|
|
35
|
+
readonly relays: readonly ["soma-core/core/client/parser/", "soma-ui/src/compiler/bdl/", "soma-core/core/server/registry/"];
|
|
36
|
+
readonly relayToFacts: readonly ["soma-ui/src/compiler/need/object-facts.ts"];
|
|
37
|
+
readonly closure: {
|
|
38
|
+
readonly id: "bdl→object";
|
|
39
|
+
readonly title: "BDL 解析 → 对象描述(业务对象声明交给 M2 / 生成 / 运行期数据层)";
|
|
40
|
+
readonly produce: readonly [{
|
|
41
|
+
readonly file: "soma-ui/src/compiler/contract/biz-declaration.types.ts";
|
|
42
|
+
readonly type: "SomaBizDeclaration";
|
|
43
|
+
}];
|
|
44
|
+
readonly producers: readonly [{
|
|
45
|
+
readonly file: "soma-ui/src/compiler/bdl/object/parse.ts";
|
|
46
|
+
readonly symbol: "readBizDeclaration";
|
|
47
|
+
}, {
|
|
48
|
+
readonly file: "soma-ui/src/compiler/bdl/pins/biz-table.ts";
|
|
49
|
+
readonly symbol: "resolvePageBiz";
|
|
50
|
+
}];
|
|
51
|
+
readonly consumers: readonly ["soma-ui/src/compiler/need/", "soma-ui/src/compiler/compose/", "soma-ui/src/compiler/page/", "soma-ui/src/compiler/driver/", "soma-ui/src/compiler/behavior/", "soma-ui/src/compiler/styling/", "soma-ui/src/compiler/emit/", "soma-ui/src/compiler/certify/", "soma-ui/src/data-kit/", "soma-core/core/client/", "soma-core/core/server/"];
|
|
52
|
+
readonly exclude: readonly ["soma-ui/src/compiler/bdl/", "soma-core/core/client/parser/"];
|
|
53
|
+
};
|
|
54
|
+
readonly types: readonly [{
|
|
55
|
+
readonly file: "soma-core/core/shared/types/data-config.types.ts";
|
|
56
|
+
readonly type: "SomaDataObjectConfig";
|
|
57
|
+
readonly contexts: readonly ["object"];
|
|
58
|
+
readonly writes: "member";
|
|
59
|
+
readonly complete: true;
|
|
60
|
+
readonly closure: true;
|
|
61
|
+
readonly internal: readonly [{
|
|
62
|
+
readonly member: "name";
|
|
63
|
+
readonly why: "对象名取自声明映射的键,不是 BDL 的 name 键(那个落在 displayName)";
|
|
64
|
+
}, {
|
|
65
|
+
readonly member: "deps";
|
|
66
|
+
readonly why: "依赖对象名集合,由解析器从 from / 关系 / 选项来源推导,作者不写";
|
|
67
|
+
}];
|
|
68
|
+
}, {
|
|
69
|
+
readonly file: "soma-core/core/shared/types/data-config.types.ts";
|
|
70
|
+
readonly type: "SomaDataFieldConfig";
|
|
71
|
+
readonly contexts: readonly ["field"];
|
|
72
|
+
readonly writes: "structural";
|
|
73
|
+
readonly complete: true;
|
|
74
|
+
readonly closure: true;
|
|
75
|
+
}, {
|
|
76
|
+
readonly file: "soma-core/core/shared/types/data-config.types.ts";
|
|
77
|
+
readonly type: "SomaDataFieldOption";
|
|
78
|
+
readonly contexts: readonly ["field.option"];
|
|
79
|
+
readonly writes: "member";
|
|
80
|
+
readonly complete: true;
|
|
81
|
+
}, {
|
|
82
|
+
readonly file: "soma-core/core/shared/types/data-config.types.ts";
|
|
83
|
+
readonly type: "SomaDataFieldRule";
|
|
84
|
+
readonly contexts: readonly ["field.rule"];
|
|
85
|
+
readonly writes: "structural";
|
|
86
|
+
readonly complete: true;
|
|
87
|
+
}, {
|
|
88
|
+
readonly file: "soma-core/core/shared/types/data-config.types.ts";
|
|
89
|
+
readonly type: "SomaDataObjectRelation";
|
|
90
|
+
readonly contexts: readonly ["relation"];
|
|
91
|
+
readonly writes: "structural";
|
|
92
|
+
readonly complete: true;
|
|
93
|
+
readonly closure: true;
|
|
94
|
+
}, {
|
|
95
|
+
readonly file: "soma-core/core/shared/types/data-config.types.ts";
|
|
96
|
+
readonly type: "SomaDataActionConfig";
|
|
97
|
+
readonly contexts: readonly ["action"];
|
|
98
|
+
readonly writes: "structural";
|
|
99
|
+
readonly complete: true;
|
|
100
|
+
readonly closure: true;
|
|
101
|
+
readonly internal: readonly [{
|
|
102
|
+
readonly member: "icon";
|
|
103
|
+
readonly why: "图标仅由页面合成的会话动作与应用级管道动作带,BDL 动作条目没有 icon 键";
|
|
104
|
+
}];
|
|
105
|
+
}, {
|
|
106
|
+
readonly file: "soma-core/core/shared/types/data-config.types.ts";
|
|
107
|
+
readonly type: "SomaObjectPoll";
|
|
108
|
+
readonly contexts: readonly ["poll", "poll.while"];
|
|
109
|
+
readonly writes: "member";
|
|
110
|
+
readonly complete: true;
|
|
111
|
+
}, {
|
|
112
|
+
readonly file: "soma-core/core/shared/types/data-config.types.ts";
|
|
113
|
+
readonly type: "SomaObjectState";
|
|
114
|
+
readonly contexts: readonly ["state"];
|
|
115
|
+
readonly writes: "member";
|
|
116
|
+
readonly complete: true;
|
|
117
|
+
}, {
|
|
118
|
+
readonly file: "soma-core/core/shared/types/data-config.types.ts";
|
|
119
|
+
readonly type: "SomaObjectVariants";
|
|
120
|
+
readonly contexts: readonly ["variants"];
|
|
121
|
+
readonly writes: "member";
|
|
122
|
+
readonly complete: true;
|
|
123
|
+
}, {
|
|
124
|
+
readonly file: "soma-core/core/shared/types/session.types.ts";
|
|
125
|
+
readonly type: "SomaSessionConfig";
|
|
126
|
+
readonly contexts: readonly ["session", "session.budget"];
|
|
127
|
+
readonly writes: "structural";
|
|
128
|
+
readonly complete: true;
|
|
129
|
+
}, {
|
|
130
|
+
readonly file: "soma-core/core/shared/types/session.types.ts";
|
|
131
|
+
readonly type: "SomaSessionActionConfig";
|
|
132
|
+
readonly contexts: readonly ["session.action"];
|
|
133
|
+
readonly writes: "structural";
|
|
134
|
+
readonly complete: true;
|
|
135
|
+
}, {
|
|
136
|
+
readonly file: "soma-core/core/shared/types/session.types.ts";
|
|
137
|
+
readonly type: "SomaSessionChildConfig";
|
|
138
|
+
readonly contexts: readonly ["session.child", "session.budget"];
|
|
139
|
+
readonly writes: "structural";
|
|
140
|
+
readonly complete: true;
|
|
141
|
+
}, {
|
|
142
|
+
readonly file: "soma-core/core/shared/types/region-query.types.ts";
|
|
143
|
+
readonly type: "SomaSessionLimits";
|
|
144
|
+
readonly contexts: readonly ["session.limits"];
|
|
145
|
+
readonly writes: "structural";
|
|
146
|
+
readonly complete: true;
|
|
147
|
+
}, {
|
|
148
|
+
readonly file: "soma-core/core/shared/types/region-query.types.ts";
|
|
149
|
+
readonly type: "SomaSessionSearch";
|
|
150
|
+
readonly contexts: readonly ["session.search"];
|
|
151
|
+
readonly writes: "structural";
|
|
152
|
+
readonly complete: true;
|
|
153
|
+
}, {
|
|
154
|
+
readonly file: "soma-core/core/shared/types/data-config.types.ts";
|
|
155
|
+
readonly type: "SomaDataWriteConfig";
|
|
156
|
+
readonly contexts: readonly ["write"];
|
|
157
|
+
readonly writes: "structural";
|
|
158
|
+
readonly complete: true;
|
|
159
|
+
}, {
|
|
160
|
+
readonly file: "soma-core/core/shared/types/object-declaration.types.ts";
|
|
161
|
+
readonly type: "SomaObjectTheme";
|
|
162
|
+
readonly contexts: readonly ["object.theme"];
|
|
163
|
+
readonly writes: "structural";
|
|
164
|
+
readonly complete: true;
|
|
165
|
+
}, {
|
|
166
|
+
readonly file: "soma-core/core/shared/object-constraints.ts";
|
|
167
|
+
readonly type: "SomaObjectConstraint";
|
|
168
|
+
readonly contexts: readonly ["constraint"];
|
|
169
|
+
readonly writes: "structural";
|
|
170
|
+
}, {
|
|
171
|
+
readonly file: "soma-core/core/shared/object-constraints.ts";
|
|
172
|
+
readonly type: "SomaObjectConstraintWhen";
|
|
173
|
+
readonly contexts: readonly ["constraint.when"];
|
|
174
|
+
readonly writes: "structural";
|
|
175
|
+
}];
|
|
176
|
+
}, {
|
|
177
|
+
readonly id: "facts";
|
|
178
|
+
readonly title: "对象事实(需求推导的输入)";
|
|
179
|
+
readonly writers: readonly ["soma-ui/src/compiler/need/object-facts.ts"];
|
|
180
|
+
readonly readers: readonly ["soma-ui/src/compiler/need/", "soma-ui/src/compiler/compose/", "soma-ui/src/compiler/driver/", "soma-ui/src/compiler/certify/", "soma-ui/src/compiler/behavior/", "soma-ui/src/compiler/settle/", "soma-ui/src/compiler/styling/", "soma-ui/src/compiler/emit/"];
|
|
181
|
+
readonly relays: readonly ["soma-ui/src/compiler/need/object-facts.ts"];
|
|
182
|
+
readonly types: readonly [{
|
|
183
|
+
readonly file: "soma-ui/src/compiler/contract/need.types.ts";
|
|
184
|
+
readonly type: "SomaObjectFacts";
|
|
185
|
+
readonly contexts: readonly ["object"];
|
|
186
|
+
readonly writes: "member";
|
|
187
|
+
readonly closure: true;
|
|
188
|
+
}, {
|
|
189
|
+
readonly file: "soma-ui/src/compiler/contract/need.types.ts";
|
|
190
|
+
readonly type: "SomaFieldFact";
|
|
191
|
+
readonly contexts: readonly ["field"];
|
|
192
|
+
readonly writes: "member";
|
|
193
|
+
readonly closure: true;
|
|
194
|
+
}, {
|
|
195
|
+
readonly file: "soma-ui/src/compiler/contract/need.types.ts";
|
|
196
|
+
readonly type: "SomaRelationFact";
|
|
197
|
+
readonly contexts: readonly ["relation"];
|
|
198
|
+
readonly writes: "member";
|
|
199
|
+
readonly closure: true;
|
|
200
|
+
}];
|
|
201
|
+
readonly closure: {
|
|
202
|
+
readonly id: "object→m2";
|
|
203
|
+
readonly title: "对象描述 → M2 对象事实(字段 / 关系事实交给需求推导与生成)";
|
|
204
|
+
readonly producers: readonly [{
|
|
205
|
+
readonly file: "soma-ui/src/compiler/need/object-facts.ts";
|
|
206
|
+
readonly symbol: "buildObjectFacts";
|
|
207
|
+
}];
|
|
208
|
+
readonly consumers: readonly ["soma-ui/src/compiler/need/", "soma-ui/src/compiler/compose/", "soma-ui/src/compiler/settle/", "soma-ui/src/compiler/certify/", "soma-ui/src/compiler/driver/", "soma-ui/src/compiler/styling/", "soma-ui/src/compiler/emit/"];
|
|
209
|
+
readonly exclude: readonly ["soma-ui/src/compiler/need/object-facts.ts"];
|
|
210
|
+
};
|
|
211
|
+
}, {
|
|
212
|
+
readonly id: "linkage";
|
|
213
|
+
readonly title: "联动规格里的动作视图";
|
|
214
|
+
readonly writers: readonly ["soma-ui/src/compiler/need/object-facts.ts"];
|
|
215
|
+
readonly readers: readonly ["soma-ui/src/compiler/compose/", "soma-ui/src/compiler/driver/", "soma-ui/src/compiler/behavior/", "soma-ui/src/compiler/need/families/", "soma-ui/src/data-kit/"];
|
|
216
|
+
readonly relays: readonly ["soma-ui/src/compiler/need/object-facts.ts"];
|
|
217
|
+
readonly types: readonly [{
|
|
218
|
+
readonly file: "soma-ui/src/compiler/contract/need.types.ts";
|
|
219
|
+
readonly type: "SomaActionFact";
|
|
220
|
+
readonly contexts: readonly ["action"];
|
|
221
|
+
readonly writes: "member";
|
|
222
|
+
}];
|
|
223
|
+
}];
|
|
224
|
+
readonly pendingBaseline: {
|
|
225
|
+
readonly sample: readonly [];
|
|
226
|
+
};
|
|
227
|
+
readonly closure: {
|
|
228
|
+
readonly keyTransports: readonly [];
|
|
229
|
+
};
|
|
230
|
+
readonly contexts: readonly [{
|
|
231
|
+
readonly id: "object";
|
|
232
|
+
readonly title: "数据对象";
|
|
233
|
+
readonly where: "对象";
|
|
234
|
+
readonly carryMode: "per-key";
|
|
235
|
+
readonly surface: readonly ["standard"];
|
|
236
|
+
readonly unknownKeyCode: "ERR-BIZ-001";
|
|
237
|
+
readonly sampleFrame: {
|
|
238
|
+
readonly root: {
|
|
239
|
+
readonly from: readonly [{
|
|
240
|
+
readonly api: "/api/orders";
|
|
241
|
+
}];
|
|
242
|
+
};
|
|
243
|
+
readonly at: readonly [];
|
|
244
|
+
};
|
|
245
|
+
readonly scopes: readonly [{
|
|
246
|
+
readonly host: "page-file";
|
|
247
|
+
readonly path: readonly ["data", "*"];
|
|
248
|
+
}];
|
|
249
|
+
readonly pathPattern: "<obj>";
|
|
250
|
+
}, {
|
|
251
|
+
readonly id: "poll";
|
|
252
|
+
readonly title: "对象 poll";
|
|
253
|
+
readonly where: "对象 poll";
|
|
254
|
+
readonly carryMode: "by-container";
|
|
255
|
+
readonly surface: readonly ["standard"];
|
|
256
|
+
readonly sampleFrame: {
|
|
257
|
+
readonly root: {
|
|
258
|
+
readonly from: readonly [{
|
|
259
|
+
readonly api: "/api/orders";
|
|
260
|
+
}];
|
|
261
|
+
readonly fields: {
|
|
262
|
+
readonly status: {
|
|
263
|
+
readonly type: "enum";
|
|
264
|
+
readonly options: readonly [{
|
|
265
|
+
readonly key: "running";
|
|
266
|
+
readonly label: "运行中";
|
|
267
|
+
readonly class: "active";
|
|
268
|
+
}];
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
readonly roles: {
|
|
272
|
+
readonly status: "status";
|
|
273
|
+
};
|
|
274
|
+
readonly poll: {
|
|
275
|
+
readonly every: 5;
|
|
276
|
+
readonly while: {
|
|
277
|
+
readonly field: "status";
|
|
278
|
+
readonly in: readonly ["running"];
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
readonly at: readonly ["poll"];
|
|
283
|
+
};
|
|
284
|
+
readonly scopes: readonly [{
|
|
285
|
+
readonly host: "page-file";
|
|
286
|
+
readonly path: readonly ["data", "*", "poll"];
|
|
287
|
+
}];
|
|
288
|
+
readonly pathPattern: "<obj>.poll";
|
|
289
|
+
}, {
|
|
290
|
+
readonly id: "poll.while";
|
|
291
|
+
readonly title: "对象 poll.while";
|
|
292
|
+
readonly where: "对象 poll";
|
|
293
|
+
readonly carryMode: "by-container";
|
|
294
|
+
readonly surface: readonly ["standard"];
|
|
295
|
+
readonly sampleFrame: {
|
|
296
|
+
readonly root: {
|
|
297
|
+
readonly from: readonly [{
|
|
298
|
+
readonly api: "/api/orders";
|
|
299
|
+
}];
|
|
300
|
+
readonly fields: {
|
|
301
|
+
readonly status: {
|
|
302
|
+
readonly type: "enum";
|
|
303
|
+
readonly options: readonly [{
|
|
304
|
+
readonly key: "running";
|
|
305
|
+
readonly label: "运行中";
|
|
306
|
+
readonly class: "active";
|
|
307
|
+
}];
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
readonly roles: {
|
|
311
|
+
readonly status: "status";
|
|
312
|
+
};
|
|
313
|
+
readonly poll: {
|
|
314
|
+
readonly every: 5;
|
|
315
|
+
readonly while: {
|
|
316
|
+
readonly field: "status";
|
|
317
|
+
readonly in: readonly ["running"];
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
readonly at: readonly ["poll", "while"];
|
|
322
|
+
};
|
|
323
|
+
readonly scopes: readonly [{
|
|
324
|
+
readonly host: "page-file";
|
|
325
|
+
readonly path: readonly ["data", "*", "poll", "while"];
|
|
326
|
+
}];
|
|
327
|
+
readonly pathPattern: "<obj>.poll.while";
|
|
328
|
+
}, {
|
|
329
|
+
readonly id: "write";
|
|
330
|
+
readonly title: "写通道";
|
|
331
|
+
readonly where: "写通道";
|
|
332
|
+
readonly carryMode: "by-container";
|
|
333
|
+
readonly surface: readonly ["standard"];
|
|
334
|
+
readonly unknownKeyCode: "ERR-BIZ-001";
|
|
335
|
+
readonly sampleFrame: {
|
|
336
|
+
readonly root: {
|
|
337
|
+
readonly from: readonly [{
|
|
338
|
+
readonly api: "/api/orders";
|
|
339
|
+
}];
|
|
340
|
+
readonly write: {
|
|
341
|
+
readonly update: {
|
|
342
|
+
readonly api: "/api/o/{no}";
|
|
343
|
+
readonly method: "put";
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
readonly at: readonly ["write"];
|
|
348
|
+
};
|
|
349
|
+
readonly scopes: readonly [{
|
|
350
|
+
readonly host: "page-file";
|
|
351
|
+
readonly path: readonly ["data", "*", "write"];
|
|
352
|
+
}];
|
|
353
|
+
readonly pathPattern: "<obj>.write";
|
|
354
|
+
readonly note: "子键闭集 = 生成视图 SOMA_DATA_WRITE_KEYS(core 数据对象解析器 parseWrite 直接读它);端点 create / update / delete 至少一个,validate_on 只配有 create / update 的写通道(leave_guard 不在 core 标准格式里,归 soma-foundation/data 的离开提醒),readonly_* 只配有 update 的写通道(这些组合判据在解析器)";
|
|
355
|
+
}, {
|
|
356
|
+
readonly id: "field";
|
|
357
|
+
readonly title: "字段";
|
|
358
|
+
readonly where: "字段";
|
|
359
|
+
readonly carryMode: "per-key";
|
|
360
|
+
readonly surface: readonly ["standard"];
|
|
361
|
+
readonly unknownKeyCode: "ERR-BIZ-001";
|
|
362
|
+
readonly sampleFrame: {
|
|
363
|
+
readonly root: {
|
|
364
|
+
readonly from: readonly [{
|
|
365
|
+
readonly api: "/api/orders";
|
|
366
|
+
}];
|
|
367
|
+
readonly fields: {
|
|
368
|
+
readonly f: {
|
|
369
|
+
readonly type: "text";
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
readonly at: readonly ["fields", "f"];
|
|
374
|
+
};
|
|
375
|
+
readonly scopes: readonly [{
|
|
376
|
+
readonly host: "page-file";
|
|
377
|
+
readonly path: readonly ["data", "*", "fields", "*"];
|
|
378
|
+
}];
|
|
379
|
+
readonly pathPattern: "<obj>.fields.<f>";
|
|
380
|
+
}, {
|
|
381
|
+
readonly id: "field.option";
|
|
382
|
+
readonly title: "枚举候选项";
|
|
383
|
+
readonly where: "字段 options";
|
|
384
|
+
readonly carryMode: "by-container";
|
|
385
|
+
readonly surface: readonly ["standard"];
|
|
386
|
+
readonly unknownKeyCode: "ERR-BIZ-001";
|
|
387
|
+
readonly sampleFrame: {
|
|
388
|
+
readonly root: {
|
|
389
|
+
readonly from: readonly [{
|
|
390
|
+
readonly api: "/api/orders";
|
|
391
|
+
}];
|
|
392
|
+
readonly fields: {
|
|
393
|
+
readonly f: {
|
|
394
|
+
readonly type: "enum";
|
|
395
|
+
readonly options: readonly [{
|
|
396
|
+
readonly key: "a";
|
|
397
|
+
readonly label: "A";
|
|
398
|
+
}];
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
readonly at: readonly ["fields", "f", "options", 0];
|
|
403
|
+
};
|
|
404
|
+
readonly scopes: readonly [{
|
|
405
|
+
readonly host: "page-file";
|
|
406
|
+
readonly path: readonly ["data", "*", "fields", "*", "options", "#"];
|
|
407
|
+
}];
|
|
408
|
+
readonly pathPattern: "<obj>.fields.<f>.options[]";
|
|
409
|
+
}, {
|
|
410
|
+
readonly id: "field.rule";
|
|
411
|
+
readonly title: "字段校验规则条目";
|
|
412
|
+
readonly where: "字段 rules";
|
|
413
|
+
readonly carryMode: "by-container";
|
|
414
|
+
readonly surface: readonly ["standard"];
|
|
415
|
+
readonly unknownKeyCode: "ERR-BIZ-001";
|
|
416
|
+
readonly sampleFrame: {
|
|
417
|
+
readonly root: {
|
|
418
|
+
readonly from: readonly [{
|
|
419
|
+
readonly api: "/api/orders";
|
|
420
|
+
}];
|
|
421
|
+
readonly fields: {
|
|
422
|
+
readonly f: {
|
|
423
|
+
readonly type: "int";
|
|
424
|
+
readonly rules: readonly [{
|
|
425
|
+
readonly message: "提示";
|
|
426
|
+
}];
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
readonly at: readonly ["fields", "f", "rules", 0];
|
|
431
|
+
};
|
|
432
|
+
readonly scopes: readonly [{
|
|
433
|
+
readonly host: "page-file";
|
|
434
|
+
readonly path: readonly ["data", "*", "fields", "*", "rules", "#"];
|
|
435
|
+
}];
|
|
436
|
+
readonly pathPattern: "<obj>.fields.<f>.rules[]";
|
|
437
|
+
}, {
|
|
438
|
+
readonly id: "page.envelope";
|
|
439
|
+
readonly title: "页面信封 envelope";
|
|
440
|
+
readonly where: "页面";
|
|
441
|
+
readonly carryMode: "none";
|
|
442
|
+
readonly surface: readonly ["standard"];
|
|
443
|
+
readonly scopes: readonly [{
|
|
444
|
+
readonly host: "page-file";
|
|
445
|
+
readonly path: readonly ["envelope"];
|
|
446
|
+
}];
|
|
447
|
+
readonly pathPattern: "page.envelope";
|
|
448
|
+
}, {
|
|
449
|
+
readonly id: "page.envelope.params";
|
|
450
|
+
readonly title: "信封 params.<名>";
|
|
451
|
+
readonly where: "页面";
|
|
452
|
+
readonly carryMode: "none";
|
|
453
|
+
readonly surface: readonly ["standard"];
|
|
454
|
+
readonly scopes: readonly [{
|
|
455
|
+
readonly host: "page-file";
|
|
456
|
+
readonly path: readonly ["envelope", "params", "*"];
|
|
457
|
+
}];
|
|
458
|
+
readonly pathPattern: "envelope.params.<name>";
|
|
459
|
+
}, {
|
|
460
|
+
readonly id: "page.envelope.query";
|
|
461
|
+
readonly title: "信封 query.<名>";
|
|
462
|
+
readonly where: "页面";
|
|
463
|
+
readonly carryMode: "none";
|
|
464
|
+
readonly surface: readonly ["standard"];
|
|
465
|
+
readonly scopes: readonly [{
|
|
466
|
+
readonly host: "page-file";
|
|
467
|
+
readonly path: readonly ["envelope", "query", "*"];
|
|
468
|
+
}];
|
|
469
|
+
readonly pathPattern: "envelope.query.<name>";
|
|
470
|
+
}, {
|
|
471
|
+
readonly id: "page.envelope.nav";
|
|
472
|
+
readonly title: "信封 nav";
|
|
473
|
+
readonly where: "页面";
|
|
474
|
+
readonly carryMode: "none";
|
|
475
|
+
readonly surface: readonly ["standard"];
|
|
476
|
+
readonly scopes: readonly [{
|
|
477
|
+
readonly host: "page-file";
|
|
478
|
+
readonly path: readonly ["envelope", "nav"];
|
|
479
|
+
}];
|
|
480
|
+
readonly pathPattern: "envelope.nav";
|
|
481
|
+
}, {
|
|
482
|
+
readonly id: "page.envelope.access";
|
|
483
|
+
readonly title: "信封 access";
|
|
484
|
+
readonly where: "页面";
|
|
485
|
+
readonly carryMode: "none";
|
|
486
|
+
readonly surface: readonly ["standard"];
|
|
487
|
+
readonly scopes: readonly [{
|
|
488
|
+
readonly host: "page-file";
|
|
489
|
+
readonly path: readonly ["envelope", "access"];
|
|
490
|
+
}];
|
|
491
|
+
readonly pathPattern: "envelope.access";
|
|
492
|
+
}, {
|
|
493
|
+
readonly id: "page.envelope.meta";
|
|
494
|
+
readonly title: "信封 meta";
|
|
495
|
+
readonly where: "页面";
|
|
496
|
+
readonly carryMode: "none";
|
|
497
|
+
readonly surface: readonly ["standard"];
|
|
498
|
+
readonly scopes: readonly [{
|
|
499
|
+
readonly host: "page-file";
|
|
500
|
+
readonly path: readonly ["envelope", "meta"];
|
|
501
|
+
}];
|
|
502
|
+
readonly pathPattern: "envelope.meta";
|
|
503
|
+
}, {
|
|
504
|
+
readonly id: "page.envelope.source";
|
|
505
|
+
readonly title: "信封 source";
|
|
506
|
+
readonly where: "页面";
|
|
507
|
+
readonly carryMode: "none";
|
|
508
|
+
readonly surface: readonly ["standard"];
|
|
509
|
+
readonly scopes: readonly [{
|
|
510
|
+
readonly host: "page-file";
|
|
511
|
+
readonly path: readonly ["envelope", "source"];
|
|
512
|
+
}];
|
|
513
|
+
readonly pathPattern: "envelope.source";
|
|
514
|
+
}, {
|
|
515
|
+
readonly id: "page.envelope.lifecycle";
|
|
516
|
+
readonly title: "信封 lifecycle";
|
|
517
|
+
readonly where: "页面";
|
|
518
|
+
readonly carryMode: "none";
|
|
519
|
+
readonly surface: readonly ["standard"];
|
|
520
|
+
readonly scopes: readonly [{
|
|
521
|
+
readonly host: "page-file";
|
|
522
|
+
readonly path: readonly ["envelope", "lifecycle"];
|
|
523
|
+
}];
|
|
524
|
+
readonly pathPattern: "envelope.lifecycle";
|
|
525
|
+
}];
|
|
526
|
+
readonly domains: readonly [{
|
|
527
|
+
readonly id: "field-types";
|
|
528
|
+
readonly ref: "SOMA_DATA_FIELD_TYPES";
|
|
529
|
+
readonly values: readonly ["text", "int", "float", "money", "bool", "enum", "date", "datetime", "image", "url", "richtext", "percent", "progress", "tags", "file", "tree", "cascade", "embed", "code", "secret", "time_of_day", "timezone", "schedule", "exceptions", "window", "limits", "duration", "filesize", "colour", "path", "measure", "signature"];
|
|
530
|
+
readonly note: "不含别名(SOMA_DATA_FIELD_TYPE_ALIASES 的键另算);其中 time_of_day 起的六个是时间型(C10a K2:time_of_day / timezone 原子型,schedule / exceptions / window / limits 时段集四型),值形状见 data-standard#/temporal,时区取 timezones;末四个是 D7 增补(K21 / R16-N09):duration / filesize 值形状 { v, u }(单位表见 type-presentation#/duration、#/filesize),colour 是颜色值,path 是带有效性的路径;G-r17 再增 measure(C40 K51):量纲值 { v, u },v 为锚点单位下的数,u 恒等于锚点单位,量纲种类与单位表见 type-presentation#/measure,展示单位随单位制偏好;recurrence / delay 是 schedule 族的值形状,不另立类型(D7 裁决,见 data-standard#/temporal/recurrence、#/delay);G-r18 再增 signature(C53 K79):签名位图,来源 draw / type / upload,有效性判据(覆盖率、体积、文件头)见 data-selection#/platformKeys/signature,不可排序 / 汇总 / 分组,筛选只有 presence";
|
|
531
|
+
}, {
|
|
532
|
+
readonly id: "validation-severities";
|
|
533
|
+
readonly ref: "SOMA_VALIDATION_SEVERITIES";
|
|
534
|
+
readonly values: readonly ["hard", "soft-once", "hint", "discourage"];
|
|
535
|
+
readonly note: "校验强度四档(C18 K18;真源 type-presentation#/validation/severity)";
|
|
536
|
+
}, {
|
|
537
|
+
readonly id: "predicate-ops";
|
|
538
|
+
readonly ref: "SOMA_FIELD_PREDICATE_OPS";
|
|
539
|
+
readonly values: readonly ["eq", "ne", "in", "not_in", "empty", "not_empty", "gt", "gte", "lt", "lte", "between", "matches", "starts_with", "ends_with", "contains", "in_last", "in_next"];
|
|
540
|
+
readonly note: "in_last / in_next(D8 / C22)是相对日期算子,值形如 { n, unit },只属 date / datetime 的 dated 运算符族(data-selection#/fieldTypeCaps/opFamilies/dated),求值归 core 时间能力;不在文本 / 比较 / 列表子集内,只进规则子集 predicate-rule-ops";
|
|
541
|
+
}, {
|
|
542
|
+
readonly id: "command-methods";
|
|
543
|
+
readonly ref: "WRITE_METHODS";
|
|
544
|
+
readonly values: readonly ["POST", "PUT", "PATCH"];
|
|
545
|
+
readonly note: "写通道 create / update 的方法;大小写不敏感,解析后统一大写";
|
|
546
|
+
}, {
|
|
547
|
+
readonly id: "validate-triggers";
|
|
548
|
+
readonly ref: "SOMA_VALIDATE_TRIGGERS";
|
|
549
|
+
readonly values: readonly ["change", "blur", "submit"];
|
|
550
|
+
readonly note: "写通道 validate_on 的校验时机:非空无重复列表";
|
|
551
|
+
}, {
|
|
552
|
+
readonly id: "show-when-presence-ops";
|
|
553
|
+
readonly ref: "SOMA_SHOW_WHEN_PRESENCE_OPS";
|
|
554
|
+
readonly values: readonly ["present", "blank"];
|
|
555
|
+
readonly note: "Show when 对象形 { field, op, value? } 在谓词算子(predicate-ops)之外多出的有无值算子,不带 value:present = 非 null / undefined / 空白串 / 空数组(0 与 false 算有值,与动作 available_when.requires 同口径);blank = 相反。谓词里的 empty / not_empty 把 false 当空,口径不同";
|
|
556
|
+
}, {
|
|
557
|
+
readonly id: "url-schemes";
|
|
558
|
+
readonly ref: "SOMA_URL_FIELD_SCHEMES";
|
|
559
|
+
readonly values: readonly ["http", "https", "mailto", "tel", "sms", "ftp"];
|
|
560
|
+
readonly note: "url / image 字段 schemes 的协议闭集(S8);缺省只放行 http / https";
|
|
561
|
+
}, {
|
|
562
|
+
readonly id: "envelope-param-types";
|
|
563
|
+
readonly ref: "SOMA_ENVELOPE_PARAM_TYPES";
|
|
564
|
+
readonly values: readonly ["int", "string", "slug", "uuid", "enum"];
|
|
565
|
+
readonly note: "信封 params.<名>.type";
|
|
566
|
+
}, {
|
|
567
|
+
readonly id: "envelope-query-types";
|
|
568
|
+
readonly ref: "SOMA_ENVELOPE_QUERY_TYPES";
|
|
569
|
+
readonly values: readonly ["string", "int", "bool", "enum", "slug"];
|
|
570
|
+
readonly note: "信封 query.<名>.type";
|
|
571
|
+
}, {
|
|
572
|
+
readonly id: "envelope-persist-levels";
|
|
573
|
+
readonly ref: "SOMA_ENVELOPE_PERSIST_LEVELS";
|
|
574
|
+
readonly values: readonly ["memory", "runtime", "registry"];
|
|
575
|
+
readonly note: "信封 lifecycle.persist,由弱到强(只能收紧)";
|
|
576
|
+
}];
|
|
577
|
+
readonly subsets: readonly [{
|
|
578
|
+
readonly id: "predicate-text-ops";
|
|
579
|
+
readonly domain: "predicate-ops";
|
|
580
|
+
readonly values: readonly ["contains", "starts_with", "ends_with", "matches"];
|
|
581
|
+
readonly note: "文本算子(浏览条件的文本框)";
|
|
582
|
+
}, {
|
|
583
|
+
readonly id: "predicate-compare-ops";
|
|
584
|
+
readonly domain: "predicate-ops";
|
|
585
|
+
readonly values: readonly ["gt", "gte", "lt", "lte"];
|
|
586
|
+
readonly note: "单端比较算子(范围输入的一端)";
|
|
587
|
+
}, {
|
|
588
|
+
readonly id: "predicate-list-ops";
|
|
589
|
+
readonly domain: "predicate-ops";
|
|
590
|
+
readonly values: readonly ["in", "not_in"];
|
|
591
|
+
readonly note: "取值列表算子";
|
|
592
|
+
}, {
|
|
593
|
+
readonly id: "predicate-value-ops";
|
|
594
|
+
readonly domain: "predicate-ops";
|
|
595
|
+
readonly values: readonly ["eq", "ne"];
|
|
596
|
+
readonly note: "单值相等算子";
|
|
597
|
+
}, {
|
|
598
|
+
readonly id: "predicate-presence-ops";
|
|
599
|
+
readonly domain: "predicate-ops";
|
|
600
|
+
readonly values: readonly ["empty", "not_empty"];
|
|
601
|
+
readonly note: "有无值算子(不带值)";
|
|
602
|
+
}, {
|
|
603
|
+
readonly id: "predicate-rule-ops";
|
|
604
|
+
readonly domain: "predicate-ops";
|
|
605
|
+
readonly values: readonly ["eq", "ne", "gt", "gte", "lt", "lte", "contains", "starts_with", "ends_with", "matches", "empty", "not_empty", "between", "in", "not_in", "in_last", "in_next"];
|
|
606
|
+
readonly note: "规则编辑表达得了的算子(AD-83):单值、无值、区间(between,值是两端 [lo, hi])、多值(in / not_in,值是列表);业界规则构建器都有区间与多值。in_last / in_next 的值是单个 { n, unit } 窗口(O17 需求,只对 dated 族字段出现)";
|
|
607
|
+
}];
|
|
608
|
+
readonly keys: readonly [{
|
|
609
|
+
readonly id: "object.from";
|
|
610
|
+
readonly context: "object";
|
|
611
|
+
readonly key: "from";
|
|
612
|
+
readonly order: 1;
|
|
613
|
+
readonly origin: "base";
|
|
614
|
+
readonly surface: readonly ["standard"];
|
|
615
|
+
readonly value: {
|
|
616
|
+
readonly kind: "list";
|
|
617
|
+
readonly of: "shape";
|
|
618
|
+
};
|
|
619
|
+
readonly default: null;
|
|
620
|
+
readonly sample: {
|
|
621
|
+
readonly value: readonly [{
|
|
622
|
+
readonly api: "/api/orders";
|
|
623
|
+
}];
|
|
624
|
+
readonly with: {
|
|
625
|
+
readonly mock: {
|
|
626
|
+
readonly items: readonly [{
|
|
627
|
+
readonly no: "A1";
|
|
628
|
+
}];
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
readonly carry: {
|
|
633
|
+
readonly transform: "ObjectFrom";
|
|
634
|
+
};
|
|
635
|
+
readonly prop: "from";
|
|
636
|
+
readonly authScan: readonly [{
|
|
637
|
+
readonly path: readonly ["api"];
|
|
638
|
+
readonly each: true;
|
|
639
|
+
readonly bareString: true;
|
|
640
|
+
readonly rank: 1;
|
|
641
|
+
}];
|
|
642
|
+
readonly carriesTo: readonly [{
|
|
643
|
+
readonly path: readonly [{
|
|
644
|
+
readonly stage: "core-config";
|
|
645
|
+
readonly prop: "SomaDataObjectConfig.from";
|
|
646
|
+
}];
|
|
647
|
+
readonly terminal: {
|
|
648
|
+
readonly kind: "consumed";
|
|
649
|
+
readonly readers: readonly ["soma-core/core/client/data/"];
|
|
650
|
+
};
|
|
651
|
+
}, {
|
|
652
|
+
readonly path: readonly [{
|
|
653
|
+
readonly stage: "core-config";
|
|
654
|
+
readonly prop: "SomaDataObjectConfig.from";
|
|
655
|
+
}, {
|
|
656
|
+
readonly stage: "facts";
|
|
657
|
+
readonly prop: "SomaObjectFacts.hasSource";
|
|
658
|
+
}];
|
|
659
|
+
readonly terminal: {
|
|
660
|
+
readonly kind: "consumed";
|
|
661
|
+
readonly readers: readonly ["soma-ui/src/compiler/need/families/", "soma-ui/src/compiler/need/verb-resolver.ts"];
|
|
662
|
+
};
|
|
663
|
+
}];
|
|
664
|
+
readonly effect: {
|
|
665
|
+
readonly changes: readonly ["fact"];
|
|
666
|
+
};
|
|
667
|
+
readonly docSummary: "集合读取";
|
|
668
|
+
readonly violations: readonly [{
|
|
669
|
+
readonly kind: "api-unregistered";
|
|
670
|
+
readonly code: "ERR-BIZ-002";
|
|
671
|
+
}];
|
|
672
|
+
readonly status: "implemented";
|
|
673
|
+
readonly note: "from[] 项键:api / params / into / require。require 是必填参数名数组(非空、无重复、都必须出现在同一项 params 里,违者 CORE-DATA-REQUIRE):任一必填参数解析后为 null / undefined / 空串时跳过这次请求,该来源不并入对象(写了 into 的子键落空数组),对象读状态为 idle(数据端口 getObjectStatus),不是错误;每次解析 / 重取重新判定。写入型对象:没有 from 但声明了 write 的 create / update / delete 至少一个端点是合法的(建单表单、登录、导入、联动目标):取数跳过、落空对象 {}、读状态 idle,data.submit 照常,write.reload 点名它时跳过重取;既无 from 也无写端点报「缺少 from 取数来源」(判定 data-config-parser.ts parseObject,测试 data-config-parser.test.ts 含负样本)";
|
|
674
|
+
}, {
|
|
675
|
+
readonly id: "poll.every";
|
|
676
|
+
readonly context: "poll";
|
|
677
|
+
readonly key: "every";
|
|
678
|
+
readonly order: 1;
|
|
679
|
+
readonly surface: readonly ["standard"];
|
|
680
|
+
readonly value: {
|
|
681
|
+
readonly kind: "int";
|
|
682
|
+
readonly min: 2;
|
|
683
|
+
readonly max: 300;
|
|
684
|
+
readonly unit: "秒";
|
|
685
|
+
};
|
|
686
|
+
readonly default: null;
|
|
687
|
+
readonly sample: {
|
|
688
|
+
readonly value: 5;
|
|
689
|
+
};
|
|
690
|
+
readonly status: "implemented";
|
|
691
|
+
readonly carriesTo: readonly [{
|
|
692
|
+
readonly path: readonly [{
|
|
693
|
+
readonly stage: "core-config";
|
|
694
|
+
readonly prop: "SomaObjectPoll.every";
|
|
695
|
+
}];
|
|
696
|
+
readonly terminal: {
|
|
697
|
+
readonly kind: "consumed";
|
|
698
|
+
readonly readers: readonly ["soma-ui/src/compiler/driver/data-facts.ts"];
|
|
699
|
+
};
|
|
700
|
+
}];
|
|
701
|
+
readonly effect: {
|
|
702
|
+
readonly changes: readonly ["artifact"];
|
|
703
|
+
};
|
|
704
|
+
readonly docSummary: "轮询间隔(2..300 的整数秒)";
|
|
705
|
+
}, {
|
|
706
|
+
readonly id: "poll.while.field";
|
|
707
|
+
readonly context: "poll.while";
|
|
708
|
+
readonly key: "field";
|
|
709
|
+
readonly order: 1;
|
|
710
|
+
readonly surface: readonly ["standard"];
|
|
711
|
+
readonly value: {
|
|
712
|
+
readonly kind: "string";
|
|
713
|
+
};
|
|
714
|
+
readonly default: null;
|
|
715
|
+
readonly sample: {
|
|
716
|
+
readonly value: "status";
|
|
717
|
+
};
|
|
718
|
+
readonly status: "implemented";
|
|
719
|
+
readonly carriesTo: readonly [{
|
|
720
|
+
readonly path: readonly [{
|
|
721
|
+
readonly stage: "core-config";
|
|
722
|
+
readonly carrier: "SomaObjectPoll.while";
|
|
723
|
+
readonly name: "field";
|
|
724
|
+
}];
|
|
725
|
+
readonly terminal: {
|
|
726
|
+
readonly kind: "consumed";
|
|
727
|
+
readonly readers: readonly ["soma-ui/src/compiler/driver/data-facts.ts", "soma-ui/src/data-kit/poll.ts"];
|
|
728
|
+
};
|
|
729
|
+
}];
|
|
730
|
+
readonly effect: {
|
|
731
|
+
readonly changes: readonly ["artifact"];
|
|
732
|
+
};
|
|
733
|
+
readonly docSummary: "看哪个字段(roles.status 字段或枚举字段)";
|
|
734
|
+
}, {
|
|
735
|
+
readonly id: "write.create";
|
|
736
|
+
readonly context: "write";
|
|
737
|
+
readonly key: "create";
|
|
738
|
+
readonly order: 1;
|
|
739
|
+
readonly surface: readonly ["standard"];
|
|
740
|
+
readonly value: {
|
|
741
|
+
readonly kind: "shape";
|
|
742
|
+
readonly shape: "write-endpoint";
|
|
743
|
+
};
|
|
744
|
+
readonly default: null;
|
|
745
|
+
readonly sample: {
|
|
746
|
+
readonly value: {
|
|
747
|
+
readonly api: "/api/o";
|
|
748
|
+
readonly method: "post";
|
|
749
|
+
};
|
|
750
|
+
};
|
|
751
|
+
readonly status: "implemented";
|
|
752
|
+
readonly carriesTo: readonly [{
|
|
753
|
+
readonly path: readonly [{
|
|
754
|
+
readonly stage: "core-config";
|
|
755
|
+
readonly prop: "SomaDataWriteConfig.create";
|
|
756
|
+
}];
|
|
757
|
+
readonly terminal: {
|
|
758
|
+
readonly kind: "consumed";
|
|
759
|
+
readonly readers: readonly ["soma-core/core/client/data/", "soma-ui/src/compiler/compose/families/"];
|
|
760
|
+
};
|
|
761
|
+
}];
|
|
762
|
+
readonly effect: {
|
|
763
|
+
readonly changes: readonly ["artifact", "runtime"];
|
|
764
|
+
};
|
|
765
|
+
readonly docSummary: "写通道";
|
|
766
|
+
readonly lsp: {
|
|
767
|
+
readonly detail: "新建端点 { api, method: POST | PUT | PATCH }";
|
|
768
|
+
};
|
|
769
|
+
}, {
|
|
770
|
+
readonly id: "field.name";
|
|
771
|
+
readonly context: "field";
|
|
772
|
+
readonly key: "name";
|
|
773
|
+
readonly order: 1;
|
|
774
|
+
readonly origin: "base";
|
|
775
|
+
readonly surface: readonly ["standard"];
|
|
776
|
+
readonly value: {
|
|
777
|
+
readonly kind: "string";
|
|
778
|
+
};
|
|
779
|
+
readonly default: null;
|
|
780
|
+
readonly sample: {
|
|
781
|
+
readonly value: "客户";
|
|
782
|
+
};
|
|
783
|
+
readonly carry: "passthrough";
|
|
784
|
+
readonly prop: "name";
|
|
785
|
+
readonly carriesTo: readonly [{
|
|
786
|
+
readonly path: readonly [{
|
|
787
|
+
readonly stage: "core-config";
|
|
788
|
+
readonly prop: "SomaDataFieldConfig.name";
|
|
789
|
+
}];
|
|
790
|
+
readonly terminal: {
|
|
791
|
+
readonly kind: "consumed";
|
|
792
|
+
readonly readers: readonly ["soma-ui/src/data-kit/"];
|
|
793
|
+
};
|
|
794
|
+
}, {
|
|
795
|
+
readonly path: readonly [{
|
|
796
|
+
readonly stage: "core-config";
|
|
797
|
+
readonly prop: "SomaDataFieldConfig.name";
|
|
798
|
+
}, {
|
|
799
|
+
readonly stage: "facts";
|
|
800
|
+
readonly prop: "SomaFieldFact.name";
|
|
801
|
+
}];
|
|
802
|
+
readonly terminal: {
|
|
803
|
+
readonly kind: "consumed";
|
|
804
|
+
readonly readers: readonly ["soma-ui/src/compiler/driver/", "soma-ui/src/compiler/compose/families/", "soma-ui/src/compiler/need/region-env.ts"];
|
|
805
|
+
};
|
|
806
|
+
}];
|
|
807
|
+
readonly effect: {
|
|
808
|
+
readonly changes: readonly ["artifact"];
|
|
809
|
+
};
|
|
810
|
+
readonly docSummary: "字段显示名";
|
|
811
|
+
readonly status: "implemented";
|
|
812
|
+
}, {
|
|
813
|
+
readonly id: "field.option.key";
|
|
814
|
+
readonly context: "field.option";
|
|
815
|
+
readonly key: "key";
|
|
816
|
+
readonly order: 1;
|
|
817
|
+
readonly origin: "base";
|
|
818
|
+
readonly surface: readonly ["standard"];
|
|
819
|
+
readonly value: {
|
|
820
|
+
readonly kind: "string";
|
|
821
|
+
};
|
|
822
|
+
readonly default: null;
|
|
823
|
+
readonly sample: {
|
|
824
|
+
readonly value: "open";
|
|
825
|
+
};
|
|
826
|
+
readonly carriesTo: readonly [{
|
|
827
|
+
readonly path: readonly [{
|
|
828
|
+
readonly stage: "core-config";
|
|
829
|
+
readonly prop: "SomaDataFieldOption.key";
|
|
830
|
+
}];
|
|
831
|
+
readonly terminal: {
|
|
832
|
+
readonly kind: "consumed";
|
|
833
|
+
readonly readers: readonly ["soma-ui/src/data-kit/"];
|
|
834
|
+
};
|
|
835
|
+
}];
|
|
836
|
+
readonly effect: {
|
|
837
|
+
readonly changes: readonly ["artifact"];
|
|
838
|
+
};
|
|
839
|
+
readonly docSummary: "候选键";
|
|
840
|
+
readonly status: "implemented";
|
|
841
|
+
}, {
|
|
842
|
+
readonly id: "field.rule.required";
|
|
843
|
+
readonly context: "field.rule";
|
|
844
|
+
readonly key: "required";
|
|
845
|
+
readonly order: 1;
|
|
846
|
+
readonly origin: "base";
|
|
847
|
+
readonly surface: readonly ["standard"];
|
|
848
|
+
readonly value: {
|
|
849
|
+
readonly kind: "bool";
|
|
850
|
+
};
|
|
851
|
+
readonly default: null;
|
|
852
|
+
readonly sample: {
|
|
853
|
+
readonly value: true;
|
|
854
|
+
};
|
|
855
|
+
readonly carriesTo: readonly [{
|
|
856
|
+
readonly path: readonly [{
|
|
857
|
+
readonly stage: "core-config";
|
|
858
|
+
readonly prop: "SomaDataFieldRule.required";
|
|
859
|
+
}];
|
|
860
|
+
readonly terminal: {
|
|
861
|
+
readonly kind: "consumed";
|
|
862
|
+
readonly readers: readonly ["soma-ui/src/runtime/console-kit.ts", "soma-ui/src/data-kit/"];
|
|
863
|
+
};
|
|
864
|
+
}];
|
|
865
|
+
readonly effect: {
|
|
866
|
+
readonly changes: readonly ["artifact"];
|
|
867
|
+
};
|
|
868
|
+
readonly docSummary: "必填";
|
|
869
|
+
readonly status: "implemented";
|
|
870
|
+
}, {
|
|
871
|
+
readonly id: "page.envelope.url";
|
|
872
|
+
readonly context: "page.envelope";
|
|
873
|
+
readonly key: "url";
|
|
874
|
+
readonly order: 1;
|
|
875
|
+
readonly surface: readonly ["standard"];
|
|
876
|
+
readonly value: {
|
|
877
|
+
readonly kind: "string";
|
|
878
|
+
};
|
|
879
|
+
readonly default: null;
|
|
880
|
+
readonly status: "implemented";
|
|
881
|
+
readonly carriesTo: readonly [{
|
|
882
|
+
readonly path: readonly [{
|
|
883
|
+
readonly stage: "page-block";
|
|
884
|
+
readonly name: "envelope.url";
|
|
885
|
+
}];
|
|
886
|
+
readonly terminal: {
|
|
887
|
+
readonly kind: "validate-only";
|
|
888
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
889
|
+
readonly check: {
|
|
890
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
891
|
+
readonly contains: "checkEnvelopeUrl";
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
}];
|
|
895
|
+
readonly docSummary: "页面地址(精确 / 模式 :参数 / 前缀 /*)";
|
|
896
|
+
}, {
|
|
897
|
+
readonly id: "page.envelope.params.type";
|
|
898
|
+
readonly context: "page.envelope.params";
|
|
899
|
+
readonly key: "type";
|
|
900
|
+
readonly order: 1;
|
|
901
|
+
readonly surface: readonly ["standard"];
|
|
902
|
+
readonly value: {
|
|
903
|
+
readonly kind: "enum";
|
|
904
|
+
readonly domain: "envelope-param-types";
|
|
905
|
+
};
|
|
906
|
+
readonly default: null;
|
|
907
|
+
readonly status: "implemented";
|
|
908
|
+
readonly carriesTo: readonly [{
|
|
909
|
+
readonly path: readonly [{
|
|
910
|
+
readonly stage: "page-block";
|
|
911
|
+
readonly name: "envelope.params.type";
|
|
912
|
+
}];
|
|
913
|
+
readonly terminal: {
|
|
914
|
+
readonly kind: "validate-only";
|
|
915
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
916
|
+
readonly check: {
|
|
917
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
918
|
+
readonly contains: "checkParamSpec";
|
|
919
|
+
};
|
|
920
|
+
};
|
|
921
|
+
}];
|
|
922
|
+
readonly docSummary: "参数类型(int / string / slug / uuid / enum)";
|
|
923
|
+
}, {
|
|
924
|
+
readonly id: "page.envelope.query.type";
|
|
925
|
+
readonly context: "page.envelope.query";
|
|
926
|
+
readonly key: "type";
|
|
927
|
+
readonly order: 1;
|
|
928
|
+
readonly surface: readonly ["standard"];
|
|
929
|
+
readonly value: {
|
|
930
|
+
readonly kind: "enum";
|
|
931
|
+
readonly domain: "envelope-query-types";
|
|
932
|
+
};
|
|
933
|
+
readonly default: null;
|
|
934
|
+
readonly status: "implemented";
|
|
935
|
+
readonly carriesTo: readonly [{
|
|
936
|
+
readonly path: readonly [{
|
|
937
|
+
readonly stage: "page-block";
|
|
938
|
+
readonly name: "envelope.query.type";
|
|
939
|
+
}];
|
|
940
|
+
readonly terminal: {
|
|
941
|
+
readonly kind: "validate-only";
|
|
942
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
943
|
+
readonly check: {
|
|
944
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
945
|
+
readonly contains: "checkQuerySpec";
|
|
946
|
+
};
|
|
947
|
+
};
|
|
948
|
+
}];
|
|
949
|
+
readonly docSummary: "查询类型(string / int / bool / enum / slug)";
|
|
950
|
+
}, {
|
|
951
|
+
readonly id: "page.envelope.nav.group";
|
|
952
|
+
readonly context: "page.envelope.nav";
|
|
953
|
+
readonly key: "group";
|
|
954
|
+
readonly order: 1;
|
|
955
|
+
readonly surface: readonly ["standard"];
|
|
956
|
+
readonly value: {
|
|
957
|
+
readonly kind: "string";
|
|
958
|
+
};
|
|
959
|
+
readonly default: null;
|
|
960
|
+
readonly status: "implemented";
|
|
961
|
+
readonly carriesTo: readonly [{
|
|
962
|
+
readonly path: readonly [{
|
|
963
|
+
readonly stage: "page-block";
|
|
964
|
+
readonly name: "envelope.nav.group";
|
|
965
|
+
}];
|
|
966
|
+
readonly terminal: {
|
|
967
|
+
readonly kind: "validate-only";
|
|
968
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
969
|
+
readonly check: {
|
|
970
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
971
|
+
readonly contains: "checkEnvelopeNav";
|
|
972
|
+
};
|
|
973
|
+
};
|
|
974
|
+
}];
|
|
975
|
+
readonly docSummary: "导航分组名";
|
|
976
|
+
}, {
|
|
977
|
+
readonly id: "page.envelope.access.roles";
|
|
978
|
+
readonly context: "page.envelope.access";
|
|
979
|
+
readonly key: "roles";
|
|
980
|
+
readonly order: 1;
|
|
981
|
+
readonly surface: readonly ["standard"];
|
|
982
|
+
readonly value: {
|
|
983
|
+
readonly kind: "list";
|
|
984
|
+
readonly of: "string";
|
|
985
|
+
};
|
|
986
|
+
readonly default: null;
|
|
987
|
+
readonly status: "implemented";
|
|
988
|
+
readonly carriesTo: readonly [{
|
|
989
|
+
readonly path: readonly [{
|
|
990
|
+
readonly stage: "page-block";
|
|
991
|
+
readonly name: "envelope.access.roles";
|
|
992
|
+
}];
|
|
993
|
+
readonly terminal: {
|
|
994
|
+
readonly kind: "validate-only";
|
|
995
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
996
|
+
readonly check: {
|
|
997
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
998
|
+
readonly contains: "checkEnvelopeAccess";
|
|
999
|
+
};
|
|
1000
|
+
};
|
|
1001
|
+
}];
|
|
1002
|
+
readonly docSummary: "需要的角色(任一,≤16 个)";
|
|
1003
|
+
}, {
|
|
1004
|
+
readonly id: "page.envelope.meta.description";
|
|
1005
|
+
readonly context: "page.envelope.meta";
|
|
1006
|
+
readonly key: "description";
|
|
1007
|
+
readonly order: 1;
|
|
1008
|
+
readonly surface: readonly ["standard"];
|
|
1009
|
+
readonly value: {
|
|
1010
|
+
readonly kind: "string";
|
|
1011
|
+
readonly maxCodepoints: 160;
|
|
1012
|
+
};
|
|
1013
|
+
readonly default: null;
|
|
1014
|
+
readonly status: "implemented";
|
|
1015
|
+
readonly carriesTo: readonly [{
|
|
1016
|
+
readonly path: readonly [{
|
|
1017
|
+
readonly stage: "page-block";
|
|
1018
|
+
readonly name: "envelope.meta.description";
|
|
1019
|
+
}];
|
|
1020
|
+
readonly terminal: {
|
|
1021
|
+
readonly kind: "validate-only";
|
|
1022
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1023
|
+
readonly check: {
|
|
1024
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1025
|
+
readonly contains: "checkEnvelopeMeta";
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
}];
|
|
1029
|
+
readonly docSummary: "页面描述(字面量)";
|
|
1030
|
+
}, {
|
|
1031
|
+
readonly id: "page.envelope.source.format";
|
|
1032
|
+
readonly context: "page.envelope.source";
|
|
1033
|
+
readonly key: "format";
|
|
1034
|
+
readonly order: 1;
|
|
1035
|
+
readonly surface: readonly ["standard"];
|
|
1036
|
+
readonly value: {
|
|
1037
|
+
readonly kind: "string";
|
|
1038
|
+
};
|
|
1039
|
+
readonly default: null;
|
|
1040
|
+
readonly status: "implemented";
|
|
1041
|
+
readonly carriesTo: readonly [{
|
|
1042
|
+
readonly path: readonly [{
|
|
1043
|
+
readonly stage: "page-block";
|
|
1044
|
+
readonly name: "envelope.source.format";
|
|
1045
|
+
}];
|
|
1046
|
+
readonly terminal: {
|
|
1047
|
+
readonly kind: "validate-only";
|
|
1048
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1049
|
+
readonly check: {
|
|
1050
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1051
|
+
readonly contains: "checkEnvelopeSource";
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
|
+
}];
|
|
1055
|
+
readonly docSummary: "来源格式标签";
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly id: "page.envelope.lifecycle.persist";
|
|
1058
|
+
readonly context: "page.envelope.lifecycle";
|
|
1059
|
+
readonly key: "persist";
|
|
1060
|
+
readonly order: 1;
|
|
1061
|
+
readonly surface: readonly ["standard"];
|
|
1062
|
+
readonly value: {
|
|
1063
|
+
readonly kind: "enum";
|
|
1064
|
+
readonly domain: "envelope-persist-levels";
|
|
1065
|
+
};
|
|
1066
|
+
readonly default: null;
|
|
1067
|
+
readonly status: "implemented";
|
|
1068
|
+
readonly carriesTo: readonly [{
|
|
1069
|
+
readonly path: readonly [{
|
|
1070
|
+
readonly stage: "page-block";
|
|
1071
|
+
readonly name: "envelope.lifecycle.persist";
|
|
1072
|
+
}];
|
|
1073
|
+
readonly terminal: {
|
|
1074
|
+
readonly kind: "validate-only";
|
|
1075
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1076
|
+
readonly check: {
|
|
1077
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1078
|
+
readonly contains: "checkEnvelopeLifecycle";
|
|
1079
|
+
};
|
|
1080
|
+
};
|
|
1081
|
+
}];
|
|
1082
|
+
readonly docSummary: "持久度(memory / runtime / registry)";
|
|
1083
|
+
}, {
|
|
1084
|
+
readonly id: "object.transform";
|
|
1085
|
+
readonly context: "object";
|
|
1086
|
+
readonly key: "transform";
|
|
1087
|
+
readonly order: 2;
|
|
1088
|
+
readonly origin: "base";
|
|
1089
|
+
readonly surface: readonly ["standard"];
|
|
1090
|
+
readonly value: {
|
|
1091
|
+
readonly kind: "map";
|
|
1092
|
+
readonly of: "string";
|
|
1093
|
+
};
|
|
1094
|
+
readonly default: null;
|
|
1095
|
+
readonly sample: {
|
|
1096
|
+
readonly value: {
|
|
1097
|
+
readonly total_text: "total | money";
|
|
1098
|
+
};
|
|
1099
|
+
};
|
|
1100
|
+
readonly carry: {
|
|
1101
|
+
readonly transform: "ObjectTransform";
|
|
1102
|
+
};
|
|
1103
|
+
readonly prop: "transform";
|
|
1104
|
+
readonly carriesTo: readonly [{
|
|
1105
|
+
readonly path: readonly [{
|
|
1106
|
+
readonly stage: "core-config";
|
|
1107
|
+
readonly prop: "SomaDataObjectConfig.transform";
|
|
1108
|
+
}];
|
|
1109
|
+
readonly terminal: {
|
|
1110
|
+
readonly kind: "consumed";
|
|
1111
|
+
readonly readers: readonly ["soma-core/core/client/data/data-object-resolver.ts"];
|
|
1112
|
+
};
|
|
1113
|
+
}, {
|
|
1114
|
+
readonly path: readonly [{
|
|
1115
|
+
readonly stage: "core-config";
|
|
1116
|
+
readonly prop: "SomaDataObjectConfig.transform";
|
|
1117
|
+
}, {
|
|
1118
|
+
readonly stage: "facts";
|
|
1119
|
+
readonly prop: "SomaFieldFact.derived";
|
|
1120
|
+
}];
|
|
1121
|
+
readonly terminal: {
|
|
1122
|
+
readonly kind: "consumed";
|
|
1123
|
+
readonly readers: readonly ["soma-ui/src/compiler/need/object-facts.ts", "soma-ui/src/compiler/settle/style.ts"];
|
|
1124
|
+
};
|
|
1125
|
+
}];
|
|
1126
|
+
readonly effect: {
|
|
1127
|
+
readonly changes: readonly ["artifact"];
|
|
1128
|
+
};
|
|
1129
|
+
readonly docSummary: "取数后派生";
|
|
1130
|
+
readonly status: "implemented";
|
|
1131
|
+
}, {
|
|
1132
|
+
readonly id: "poll.while";
|
|
1133
|
+
readonly context: "poll";
|
|
1134
|
+
readonly key: "while";
|
|
1135
|
+
readonly order: 2;
|
|
1136
|
+
readonly surface: readonly ["standard"];
|
|
1137
|
+
readonly value: {
|
|
1138
|
+
readonly kind: "shape";
|
|
1139
|
+
readonly contains: "poll.while";
|
|
1140
|
+
};
|
|
1141
|
+
readonly default: null;
|
|
1142
|
+
readonly sample: {
|
|
1143
|
+
readonly value: {
|
|
1144
|
+
readonly field: "status";
|
|
1145
|
+
readonly in: readonly ["running"];
|
|
1146
|
+
};
|
|
1147
|
+
};
|
|
1148
|
+
readonly status: "implemented";
|
|
1149
|
+
readonly carriesTo: readonly [{
|
|
1150
|
+
readonly path: readonly [{
|
|
1151
|
+
readonly stage: "core-config";
|
|
1152
|
+
readonly prop: "SomaObjectPoll.while";
|
|
1153
|
+
}];
|
|
1154
|
+
readonly terminal: {
|
|
1155
|
+
readonly kind: "consumed";
|
|
1156
|
+
readonly readers: readonly ["soma-ui/src/compiler/driver/data-facts.ts"];
|
|
1157
|
+
};
|
|
1158
|
+
}];
|
|
1159
|
+
readonly effect: {
|
|
1160
|
+
readonly changes: readonly ["artifact"];
|
|
1161
|
+
};
|
|
1162
|
+
readonly docSummary: "继续轮询的条件";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly id: "poll.while.in";
|
|
1165
|
+
readonly context: "poll.while";
|
|
1166
|
+
readonly key: "in";
|
|
1167
|
+
readonly order: 2;
|
|
1168
|
+
readonly surface: readonly ["standard"];
|
|
1169
|
+
readonly value: {
|
|
1170
|
+
readonly kind: "list";
|
|
1171
|
+
readonly of: "string";
|
|
1172
|
+
};
|
|
1173
|
+
readonly default: null;
|
|
1174
|
+
readonly sample: {
|
|
1175
|
+
readonly value: readonly ["running"];
|
|
1176
|
+
};
|
|
1177
|
+
readonly status: "implemented";
|
|
1178
|
+
readonly carriesTo: readonly [{
|
|
1179
|
+
readonly path: readonly [{
|
|
1180
|
+
readonly stage: "core-config";
|
|
1181
|
+
readonly carrier: "SomaObjectPoll.while";
|
|
1182
|
+
readonly name: "in";
|
|
1183
|
+
}];
|
|
1184
|
+
readonly terminal: {
|
|
1185
|
+
readonly kind: "consumed";
|
|
1186
|
+
readonly readers: readonly ["soma-ui/src/compiler/driver/data-facts.ts", "soma-ui/src/data-kit/poll.ts"];
|
|
1187
|
+
};
|
|
1188
|
+
}];
|
|
1189
|
+
readonly effect: {
|
|
1190
|
+
readonly changes: readonly ["artifact"];
|
|
1191
|
+
};
|
|
1192
|
+
readonly docSummary: "字段取这些候选键时继续轮询";
|
|
1193
|
+
}, {
|
|
1194
|
+
readonly id: "write.update";
|
|
1195
|
+
readonly context: "write";
|
|
1196
|
+
readonly key: "update";
|
|
1197
|
+
readonly order: 2;
|
|
1198
|
+
readonly surface: readonly ["standard"];
|
|
1199
|
+
readonly value: {
|
|
1200
|
+
readonly kind: "shape";
|
|
1201
|
+
readonly shape: "write-endpoint";
|
|
1202
|
+
};
|
|
1203
|
+
readonly default: null;
|
|
1204
|
+
readonly sample: {
|
|
1205
|
+
readonly value: {
|
|
1206
|
+
readonly api: "/api/o/{no}";
|
|
1207
|
+
readonly method: "put";
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
readonly status: "implemented";
|
|
1211
|
+
readonly carriesTo: readonly [{
|
|
1212
|
+
readonly path: readonly [{
|
|
1213
|
+
readonly stage: "core-config";
|
|
1214
|
+
readonly prop: "SomaDataWriteConfig.update";
|
|
1215
|
+
}];
|
|
1216
|
+
readonly terminal: {
|
|
1217
|
+
readonly kind: "consumed";
|
|
1218
|
+
readonly readers: readonly ["soma-core/core/client/data/", "soma-ui/src/compiler/compose/families/"];
|
|
1219
|
+
};
|
|
1220
|
+
}];
|
|
1221
|
+
readonly effect: {
|
|
1222
|
+
readonly changes: readonly ["artifact", "runtime"];
|
|
1223
|
+
};
|
|
1224
|
+
readonly docSummary: "写通道";
|
|
1225
|
+
readonly lsp: {
|
|
1226
|
+
readonly detail: "更新端点 { api, method: POST | PUT | PATCH }";
|
|
1227
|
+
};
|
|
1228
|
+
}, {
|
|
1229
|
+
readonly id: "field.type";
|
|
1230
|
+
readonly context: "field";
|
|
1231
|
+
readonly key: "type";
|
|
1232
|
+
readonly order: 2;
|
|
1233
|
+
readonly origin: "base";
|
|
1234
|
+
readonly surface: readonly ["standard"];
|
|
1235
|
+
readonly value: {
|
|
1236
|
+
readonly kind: "enum";
|
|
1237
|
+
readonly domain: "field-types";
|
|
1238
|
+
};
|
|
1239
|
+
readonly default: null;
|
|
1240
|
+
readonly sample: {
|
|
1241
|
+
readonly value: "money";
|
|
1242
|
+
};
|
|
1243
|
+
readonly carry: {
|
|
1244
|
+
readonly transform: "FieldType";
|
|
1245
|
+
};
|
|
1246
|
+
readonly prop: "type";
|
|
1247
|
+
readonly carriesTo: readonly [{
|
|
1248
|
+
readonly path: readonly [{
|
|
1249
|
+
readonly stage: "core-config";
|
|
1250
|
+
readonly prop: "SomaDataFieldConfig.type";
|
|
1251
|
+
}];
|
|
1252
|
+
readonly terminal: {
|
|
1253
|
+
readonly kind: "consumed";
|
|
1254
|
+
readonly readers: readonly ["soma-core/core/client/data/", "soma-ui/src/compiler/page/", "soma-ui/src/data-kit/"];
|
|
1255
|
+
};
|
|
1256
|
+
}, {
|
|
1257
|
+
readonly path: readonly [{
|
|
1258
|
+
readonly stage: "core-config";
|
|
1259
|
+
readonly prop: "SomaDataFieldConfig.type";
|
|
1260
|
+
}, {
|
|
1261
|
+
readonly stage: "facts";
|
|
1262
|
+
readonly prop: "SomaFieldFact.type";
|
|
1263
|
+
}];
|
|
1264
|
+
readonly terminal: {
|
|
1265
|
+
readonly kind: "consumed";
|
|
1266
|
+
readonly readers: readonly ["soma-ui/src/compiler/driver/", "soma-ui/src/compiler/compose/families/", "soma-ui/src/compiler/settle/type-select.ts", "soma-ui/src/compiler/need/", "soma-ui/src/compiler/need/families/", "soma-ui/src/compiler/styling/state-variants.ts"];
|
|
1267
|
+
};
|
|
1268
|
+
}];
|
|
1269
|
+
readonly effect: {
|
|
1270
|
+
readonly changes: readonly ["artifact"];
|
|
1271
|
+
};
|
|
1272
|
+
readonly docSummary: "类型(二十六种)";
|
|
1273
|
+
readonly status: "implemented";
|
|
1274
|
+
}, {
|
|
1275
|
+
readonly id: "field.option.label";
|
|
1276
|
+
readonly context: "field.option";
|
|
1277
|
+
readonly key: "label";
|
|
1278
|
+
readonly order: 2;
|
|
1279
|
+
readonly origin: "base";
|
|
1280
|
+
readonly surface: readonly ["standard"];
|
|
1281
|
+
readonly value: {
|
|
1282
|
+
readonly kind: "string";
|
|
1283
|
+
};
|
|
1284
|
+
readonly default: null;
|
|
1285
|
+
readonly sample: {
|
|
1286
|
+
readonly value: "待处理";
|
|
1287
|
+
};
|
|
1288
|
+
readonly carriesTo: readonly [{
|
|
1289
|
+
readonly path: readonly [{
|
|
1290
|
+
readonly stage: "core-config";
|
|
1291
|
+
readonly prop: "SomaDataFieldOption.label";
|
|
1292
|
+
}];
|
|
1293
|
+
readonly terminal: {
|
|
1294
|
+
readonly kind: "consumed";
|
|
1295
|
+
readonly readers: readonly ["soma-ui/src/data-kit/"];
|
|
1296
|
+
};
|
|
1297
|
+
}];
|
|
1298
|
+
readonly effect: {
|
|
1299
|
+
readonly changes: readonly ["artifact"];
|
|
1300
|
+
};
|
|
1301
|
+
readonly docSummary: "候选显示名";
|
|
1302
|
+
readonly status: "implemented";
|
|
1303
|
+
}, {
|
|
1304
|
+
readonly id: "field.rule.max_len";
|
|
1305
|
+
readonly context: "field.rule";
|
|
1306
|
+
readonly key: "max_len";
|
|
1307
|
+
readonly order: 2;
|
|
1308
|
+
readonly origin: "base";
|
|
1309
|
+
readonly surface: readonly ["standard"];
|
|
1310
|
+
readonly value: {
|
|
1311
|
+
readonly kind: "int";
|
|
1312
|
+
};
|
|
1313
|
+
readonly default: null;
|
|
1314
|
+
readonly sample: {
|
|
1315
|
+
readonly value: 20;
|
|
1316
|
+
};
|
|
1317
|
+
readonly carriesTo: readonly [{
|
|
1318
|
+
readonly path: readonly [{
|
|
1319
|
+
readonly stage: "core-config";
|
|
1320
|
+
readonly prop: "SomaDataFieldRule.max_len";
|
|
1321
|
+
}];
|
|
1322
|
+
readonly terminal: {
|
|
1323
|
+
readonly kind: "consumed";
|
|
1324
|
+
readonly readers: readonly ["soma-ui/src/runtime/console-kit.ts", "soma-ui/src/compiler/need/region-env.ts"];
|
|
1325
|
+
};
|
|
1326
|
+
}];
|
|
1327
|
+
readonly effect: {
|
|
1328
|
+
readonly changes: readonly ["artifact"];
|
|
1329
|
+
};
|
|
1330
|
+
readonly docSummary: "最大长度";
|
|
1331
|
+
readonly status: "implemented";
|
|
1332
|
+
}, {
|
|
1333
|
+
readonly id: "page.envelope.params";
|
|
1334
|
+
readonly context: "page.envelope";
|
|
1335
|
+
readonly key: "params";
|
|
1336
|
+
readonly order: 2;
|
|
1337
|
+
readonly surface: readonly ["standard"];
|
|
1338
|
+
readonly value: {
|
|
1339
|
+
readonly kind: "map";
|
|
1340
|
+
readonly contains: "page.envelope.params";
|
|
1341
|
+
};
|
|
1342
|
+
readonly default: null;
|
|
1343
|
+
readonly status: "implemented";
|
|
1344
|
+
readonly carriesTo: readonly [{
|
|
1345
|
+
readonly path: readonly [{
|
|
1346
|
+
readonly stage: "page-block";
|
|
1347
|
+
readonly name: "envelope.params";
|
|
1348
|
+
}];
|
|
1349
|
+
readonly terminal: {
|
|
1350
|
+
readonly kind: "validate-only";
|
|
1351
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1352
|
+
readonly check: {
|
|
1353
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1354
|
+
readonly contains: "checkEnvelopeParams";
|
|
1355
|
+
};
|
|
1356
|
+
};
|
|
1357
|
+
}];
|
|
1358
|
+
readonly docSummary: "地址参数规格(名与 url 的 :名 对应)";
|
|
1359
|
+
}, {
|
|
1360
|
+
readonly id: "page.envelope.params.required";
|
|
1361
|
+
readonly context: "page.envelope.params";
|
|
1362
|
+
readonly key: "required";
|
|
1363
|
+
readonly order: 2;
|
|
1364
|
+
readonly surface: readonly ["standard"];
|
|
1365
|
+
readonly value: {
|
|
1366
|
+
readonly kind: "bool";
|
|
1367
|
+
};
|
|
1368
|
+
readonly default: null;
|
|
1369
|
+
readonly status: "implemented";
|
|
1370
|
+
readonly carriesTo: readonly [{
|
|
1371
|
+
readonly path: readonly [{
|
|
1372
|
+
readonly stage: "page-block";
|
|
1373
|
+
readonly name: "envelope.params.required";
|
|
1374
|
+
}];
|
|
1375
|
+
readonly terminal: {
|
|
1376
|
+
readonly kind: "validate-only";
|
|
1377
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1378
|
+
readonly check: {
|
|
1379
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1380
|
+
readonly contains: "checkParamSpec";
|
|
1381
|
+
};
|
|
1382
|
+
};
|
|
1383
|
+
}];
|
|
1384
|
+
readonly docSummary: "是否必填(模式参数恒必填,仅前缀 rest 可 false)";
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly id: "page.envelope.query.default";
|
|
1387
|
+
readonly context: "page.envelope.query";
|
|
1388
|
+
readonly key: "default";
|
|
1389
|
+
readonly order: 2;
|
|
1390
|
+
readonly surface: readonly ["standard"];
|
|
1391
|
+
readonly value: {
|
|
1392
|
+
readonly kind: "any";
|
|
1393
|
+
};
|
|
1394
|
+
readonly default: null;
|
|
1395
|
+
readonly status: "implemented";
|
|
1396
|
+
readonly carriesTo: readonly [{
|
|
1397
|
+
readonly path: readonly [{
|
|
1398
|
+
readonly stage: "page-block";
|
|
1399
|
+
readonly name: "envelope.query.default";
|
|
1400
|
+
}];
|
|
1401
|
+
readonly terminal: {
|
|
1402
|
+
readonly kind: "validate-only";
|
|
1403
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1404
|
+
readonly check: {
|
|
1405
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1406
|
+
readonly contains: "checkQuerySpec";
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
}];
|
|
1410
|
+
readonly docSummary: "缺省值(与 type 相符的标量)";
|
|
1411
|
+
}, {
|
|
1412
|
+
readonly id: "page.envelope.nav.order";
|
|
1413
|
+
readonly context: "page.envelope.nav";
|
|
1414
|
+
readonly key: "order";
|
|
1415
|
+
readonly order: 2;
|
|
1416
|
+
readonly surface: readonly ["standard"];
|
|
1417
|
+
readonly value: {
|
|
1418
|
+
readonly kind: "int";
|
|
1419
|
+
readonly min: 0;
|
|
1420
|
+
readonly max: 999;
|
|
1421
|
+
};
|
|
1422
|
+
readonly default: null;
|
|
1423
|
+
readonly status: "implemented";
|
|
1424
|
+
readonly carriesTo: readonly [{
|
|
1425
|
+
readonly path: readonly [{
|
|
1426
|
+
readonly stage: "page-block";
|
|
1427
|
+
readonly name: "envelope.nav.order";
|
|
1428
|
+
}];
|
|
1429
|
+
readonly terminal: {
|
|
1430
|
+
readonly kind: "validate-only";
|
|
1431
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1432
|
+
readonly check: {
|
|
1433
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1434
|
+
readonly contains: "checkEnvelopeNav";
|
|
1435
|
+
};
|
|
1436
|
+
};
|
|
1437
|
+
}];
|
|
1438
|
+
readonly docSummary: "同组排序(0–999)";
|
|
1439
|
+
}, {
|
|
1440
|
+
readonly id: "page.envelope.access.signed_in";
|
|
1441
|
+
readonly context: "page.envelope.access";
|
|
1442
|
+
readonly key: "signed_in";
|
|
1443
|
+
readonly order: 2;
|
|
1444
|
+
readonly surface: readonly ["standard"];
|
|
1445
|
+
readonly value: {
|
|
1446
|
+
readonly kind: "bool";
|
|
1447
|
+
};
|
|
1448
|
+
readonly default: null;
|
|
1449
|
+
readonly status: "implemented";
|
|
1450
|
+
readonly carriesTo: readonly [{
|
|
1451
|
+
readonly path: readonly [{
|
|
1452
|
+
readonly stage: "page-block";
|
|
1453
|
+
readonly name: "envelope.access.signed_in";
|
|
1454
|
+
}];
|
|
1455
|
+
readonly terminal: {
|
|
1456
|
+
readonly kind: "validate-only";
|
|
1457
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1458
|
+
readonly check: {
|
|
1459
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1460
|
+
readonly contains: "checkEnvelopeAccess";
|
|
1461
|
+
};
|
|
1462
|
+
};
|
|
1463
|
+
}];
|
|
1464
|
+
readonly docSummary: "是否要求已登录";
|
|
1465
|
+
}, {
|
|
1466
|
+
readonly id: "page.envelope.meta.tags";
|
|
1467
|
+
readonly context: "page.envelope.meta";
|
|
1468
|
+
readonly key: "tags";
|
|
1469
|
+
readonly order: 2;
|
|
1470
|
+
readonly surface: readonly ["standard"];
|
|
1471
|
+
readonly value: {
|
|
1472
|
+
readonly kind: "list";
|
|
1473
|
+
readonly of: "string";
|
|
1474
|
+
};
|
|
1475
|
+
readonly default: null;
|
|
1476
|
+
readonly status: "implemented";
|
|
1477
|
+
readonly carriesTo: readonly [{
|
|
1478
|
+
readonly path: readonly [{
|
|
1479
|
+
readonly stage: "page-block";
|
|
1480
|
+
readonly name: "envelope.meta.tags";
|
|
1481
|
+
}];
|
|
1482
|
+
readonly terminal: {
|
|
1483
|
+
readonly kind: "validate-only";
|
|
1484
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1485
|
+
readonly check: {
|
|
1486
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1487
|
+
readonly contains: "checkEnvelopeMeta";
|
|
1488
|
+
};
|
|
1489
|
+
};
|
|
1490
|
+
}];
|
|
1491
|
+
readonly docSummary: "标签(≤8 个)";
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly id: "page.envelope.source.author";
|
|
1494
|
+
readonly context: "page.envelope.source";
|
|
1495
|
+
readonly key: "author";
|
|
1496
|
+
readonly order: 2;
|
|
1497
|
+
readonly surface: readonly ["standard"];
|
|
1498
|
+
readonly value: {
|
|
1499
|
+
readonly kind: "string";
|
|
1500
|
+
};
|
|
1501
|
+
readonly default: null;
|
|
1502
|
+
readonly status: "implemented";
|
|
1503
|
+
readonly carriesTo: readonly [{
|
|
1504
|
+
readonly path: readonly [{
|
|
1505
|
+
readonly stage: "page-block";
|
|
1506
|
+
readonly name: "envelope.source.author";
|
|
1507
|
+
}];
|
|
1508
|
+
readonly terminal: {
|
|
1509
|
+
readonly kind: "validate-only";
|
|
1510
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1511
|
+
readonly check: {
|
|
1512
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1513
|
+
readonly contains: "checkEnvelopeSource";
|
|
1514
|
+
};
|
|
1515
|
+
};
|
|
1516
|
+
}];
|
|
1517
|
+
readonly docSummary: "来源作者标签";
|
|
1518
|
+
}, {
|
|
1519
|
+
readonly id: "page.envelope.lifecycle.expires";
|
|
1520
|
+
readonly context: "page.envelope.lifecycle";
|
|
1521
|
+
readonly key: "expires";
|
|
1522
|
+
readonly order: 2;
|
|
1523
|
+
readonly surface: readonly ["standard"];
|
|
1524
|
+
readonly value: {
|
|
1525
|
+
readonly kind: "string";
|
|
1526
|
+
};
|
|
1527
|
+
readonly default: null;
|
|
1528
|
+
readonly status: "implemented";
|
|
1529
|
+
readonly carriesTo: readonly [{
|
|
1530
|
+
readonly path: readonly [{
|
|
1531
|
+
readonly stage: "page-block";
|
|
1532
|
+
readonly name: "envelope.lifecycle.expires";
|
|
1533
|
+
}];
|
|
1534
|
+
readonly terminal: {
|
|
1535
|
+
readonly kind: "validate-only";
|
|
1536
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1537
|
+
readonly check: {
|
|
1538
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1539
|
+
readonly contains: "checkEnvelopeLifecycle";
|
|
1540
|
+
};
|
|
1541
|
+
};
|
|
1542
|
+
}];
|
|
1543
|
+
readonly docSummary: "有效期(<n>m|h|d,≤30d)";
|
|
1544
|
+
}, {
|
|
1545
|
+
readonly id: "object.fields";
|
|
1546
|
+
readonly context: "object";
|
|
1547
|
+
readonly key: "fields";
|
|
1548
|
+
readonly order: 3;
|
|
1549
|
+
readonly origin: "base";
|
|
1550
|
+
readonly surface: readonly ["standard"];
|
|
1551
|
+
readonly value: {
|
|
1552
|
+
readonly kind: "map";
|
|
1553
|
+
readonly of: "shape";
|
|
1554
|
+
readonly contains: "field";
|
|
1555
|
+
};
|
|
1556
|
+
readonly default: null;
|
|
1557
|
+
readonly sample: {
|
|
1558
|
+
readonly value: {
|
|
1559
|
+
readonly no: {
|
|
1560
|
+
readonly type: "text";
|
|
1561
|
+
};
|
|
1562
|
+
};
|
|
1563
|
+
};
|
|
1564
|
+
readonly carry: {
|
|
1565
|
+
readonly transform: "ObjectFields";
|
|
1566
|
+
};
|
|
1567
|
+
readonly prop: "fields";
|
|
1568
|
+
readonly carriesTo: readonly [{
|
|
1569
|
+
readonly path: readonly [{
|
|
1570
|
+
readonly stage: "core-config";
|
|
1571
|
+
readonly prop: "SomaDataObjectConfig.fields";
|
|
1572
|
+
}];
|
|
1573
|
+
readonly terminal: {
|
|
1574
|
+
readonly kind: "consumed";
|
|
1575
|
+
readonly readers: readonly ["soma-core/core/client/data/", "soma-ui/src/compiler/certify/invariants/", "soma-ui/src/compiler/driver/data-facts.ts", "soma-ui/src/compiler/compose/families/", "soma-ui/src/compiler/need/", "soma-ui/src/compiler/need/families/", "soma-ui/src/compiler/page/"];
|
|
1576
|
+
};
|
|
1577
|
+
}, {
|
|
1578
|
+
readonly path: readonly [{
|
|
1579
|
+
readonly stage: "core-config";
|
|
1580
|
+
readonly prop: "SomaDataObjectConfig.fields";
|
|
1581
|
+
}, {
|
|
1582
|
+
readonly stage: "facts";
|
|
1583
|
+
readonly prop: "SomaObjectFacts.fields";
|
|
1584
|
+
}];
|
|
1585
|
+
readonly terminal: {
|
|
1586
|
+
readonly kind: "consumed";
|
|
1587
|
+
readonly readers: readonly ["soma-ui/src/compiler/driver/", "soma-ui/src/compiler/settle/type-select.ts", "soma-ui/src/compiler/settle/subtree.ts", "soma-ui/src/compiler/need/families/", "soma-ui/src/compiler/need/region-env.ts", "soma-ui/src/compiler/styling/state-variants.ts"];
|
|
1588
|
+
};
|
|
1589
|
+
}];
|
|
1590
|
+
readonly effect: {
|
|
1591
|
+
readonly changes: readonly ["artifact"];
|
|
1592
|
+
};
|
|
1593
|
+
readonly docSummary: "字段字典";
|
|
1594
|
+
readonly status: "implemented";
|
|
1595
|
+
readonly note: "字段字典:每个字段的键见 field 上下文";
|
|
1596
|
+
}, {
|
|
1597
|
+
readonly id: "write.reload";
|
|
1598
|
+
readonly context: "write";
|
|
1599
|
+
readonly key: "reload";
|
|
1600
|
+
readonly order: 6;
|
|
1601
|
+
readonly surface: readonly ["standard"];
|
|
1602
|
+
readonly value: {
|
|
1603
|
+
readonly kind: "list";
|
|
1604
|
+
readonly of: "string";
|
|
1605
|
+
readonly also: readonly ["self", "all"];
|
|
1606
|
+
};
|
|
1607
|
+
readonly default: null;
|
|
1608
|
+
readonly sample: {
|
|
1609
|
+
readonly value: "self";
|
|
1610
|
+
};
|
|
1611
|
+
readonly status: "implemented";
|
|
1612
|
+
readonly carriesTo: readonly [{
|
|
1613
|
+
readonly path: readonly [{
|
|
1614
|
+
readonly stage: "core-config";
|
|
1615
|
+
readonly prop: "SomaDataWriteConfig.reload";
|
|
1616
|
+
}];
|
|
1617
|
+
readonly terminal: {
|
|
1618
|
+
readonly kind: "consumed";
|
|
1619
|
+
readonly readers: readonly ["soma-core/core/client/data/"];
|
|
1620
|
+
};
|
|
1621
|
+
}];
|
|
1622
|
+
readonly effect: {
|
|
1623
|
+
readonly changes: readonly ["runtime"];
|
|
1624
|
+
};
|
|
1625
|
+
readonly docSummary: "提交后重取";
|
|
1626
|
+
readonly lsp: {
|
|
1627
|
+
readonly detail: "提交成功后重取:self / all / 本页数据对象名列表";
|
|
1628
|
+
};
|
|
1629
|
+
}, {
|
|
1630
|
+
readonly id: "write.version";
|
|
1631
|
+
readonly context: "write";
|
|
1632
|
+
readonly key: "version";
|
|
1633
|
+
readonly order: 3;
|
|
1634
|
+
readonly surface: readonly ["standard"];
|
|
1635
|
+
readonly value: {
|
|
1636
|
+
readonly kind: "string";
|
|
1637
|
+
};
|
|
1638
|
+
readonly default: null;
|
|
1639
|
+
readonly sample: {
|
|
1640
|
+
readonly value: "rev";
|
|
1641
|
+
readonly root: {
|
|
1642
|
+
readonly from: readonly [{
|
|
1643
|
+
readonly api: "/api/orders";
|
|
1644
|
+
}];
|
|
1645
|
+
readonly fields: {
|
|
1646
|
+
readonly rev: {
|
|
1647
|
+
readonly type: "int";
|
|
1648
|
+
};
|
|
1649
|
+
};
|
|
1650
|
+
readonly write: {
|
|
1651
|
+
readonly update: {
|
|
1652
|
+
readonly api: "/api/o/{no}";
|
|
1653
|
+
readonly method: "put";
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
};
|
|
1658
|
+
readonly status: "implemented";
|
|
1659
|
+
readonly carriesTo: readonly [{
|
|
1660
|
+
readonly path: readonly [{
|
|
1661
|
+
readonly stage: "core-config";
|
|
1662
|
+
readonly prop: "SomaDataWriteConfig.version";
|
|
1663
|
+
}];
|
|
1664
|
+
readonly terminal: {
|
|
1665
|
+
readonly kind: "consumed";
|
|
1666
|
+
readonly readers: readonly ["soma-core/core/client/data/"];
|
|
1667
|
+
};
|
|
1668
|
+
}];
|
|
1669
|
+
readonly effect: {
|
|
1670
|
+
readonly changes: readonly ["runtime"];
|
|
1671
|
+
};
|
|
1672
|
+
readonly docSummary: "乐观锁 / 白名单 / 改名";
|
|
1673
|
+
readonly lsp: {
|
|
1674
|
+
readonly detail: "乐观锁字段(必须在字典里,随请求体上行)";
|
|
1675
|
+
};
|
|
1676
|
+
}, {
|
|
1677
|
+
readonly id: "field.rule.min_len";
|
|
1678
|
+
readonly context: "field.rule";
|
|
1679
|
+
readonly key: "min_len";
|
|
1680
|
+
readonly order: 3;
|
|
1681
|
+
readonly origin: "base";
|
|
1682
|
+
readonly surface: readonly ["standard"];
|
|
1683
|
+
readonly value: {
|
|
1684
|
+
readonly kind: "int";
|
|
1685
|
+
};
|
|
1686
|
+
readonly default: null;
|
|
1687
|
+
readonly sample: {
|
|
1688
|
+
readonly value: 2;
|
|
1689
|
+
};
|
|
1690
|
+
readonly carriesTo: readonly [{
|
|
1691
|
+
readonly path: readonly [{
|
|
1692
|
+
readonly stage: "core-config";
|
|
1693
|
+
readonly prop: "SomaDataFieldRule.min_len";
|
|
1694
|
+
}];
|
|
1695
|
+
readonly terminal: {
|
|
1696
|
+
readonly kind: "consumed";
|
|
1697
|
+
readonly readers: readonly ["soma-ui/src/runtime/console-kit.ts"];
|
|
1698
|
+
};
|
|
1699
|
+
}];
|
|
1700
|
+
readonly effect: {
|
|
1701
|
+
readonly changes: readonly ["artifact"];
|
|
1702
|
+
};
|
|
1703
|
+
readonly docSummary: "最小长度";
|
|
1704
|
+
readonly status: "implemented";
|
|
1705
|
+
}, {
|
|
1706
|
+
readonly id: "page.envelope.query";
|
|
1707
|
+
readonly context: "page.envelope";
|
|
1708
|
+
readonly key: "query";
|
|
1709
|
+
readonly order: 3;
|
|
1710
|
+
readonly surface: readonly ["standard"];
|
|
1711
|
+
readonly value: {
|
|
1712
|
+
readonly kind: "map";
|
|
1713
|
+
readonly contains: "page.envelope.query";
|
|
1714
|
+
};
|
|
1715
|
+
readonly default: null;
|
|
1716
|
+
readonly status: "implemented";
|
|
1717
|
+
readonly carriesTo: readonly [{
|
|
1718
|
+
readonly path: readonly [{
|
|
1719
|
+
readonly stage: "page-block";
|
|
1720
|
+
readonly name: "envelope.query";
|
|
1721
|
+
}];
|
|
1722
|
+
readonly terminal: {
|
|
1723
|
+
readonly kind: "validate-only";
|
|
1724
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1725
|
+
readonly check: {
|
|
1726
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1727
|
+
readonly contains: "checkEnvelopeQuery";
|
|
1728
|
+
};
|
|
1729
|
+
};
|
|
1730
|
+
}];
|
|
1731
|
+
readonly docSummary: "对外接受的查询参数契约";
|
|
1732
|
+
}, {
|
|
1733
|
+
readonly id: "page.envelope.params.min";
|
|
1734
|
+
readonly context: "page.envelope.params";
|
|
1735
|
+
readonly key: "min";
|
|
1736
|
+
readonly order: 3;
|
|
1737
|
+
readonly surface: readonly ["standard"];
|
|
1738
|
+
readonly value: {
|
|
1739
|
+
readonly kind: "int";
|
|
1740
|
+
};
|
|
1741
|
+
readonly default: null;
|
|
1742
|
+
readonly status: "implemented";
|
|
1743
|
+
readonly carriesTo: readonly [{
|
|
1744
|
+
readonly path: readonly [{
|
|
1745
|
+
readonly stage: "page-block";
|
|
1746
|
+
readonly name: "envelope.params.min";
|
|
1747
|
+
}];
|
|
1748
|
+
readonly terminal: {
|
|
1749
|
+
readonly kind: "validate-only";
|
|
1750
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1751
|
+
readonly check: {
|
|
1752
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1753
|
+
readonly contains: "checkParamSpec";
|
|
1754
|
+
};
|
|
1755
|
+
};
|
|
1756
|
+
}];
|
|
1757
|
+
readonly docSummary: "int 下界";
|
|
1758
|
+
}, {
|
|
1759
|
+
readonly id: "page.envelope.query.mode";
|
|
1760
|
+
readonly context: "page.envelope.query";
|
|
1761
|
+
readonly key: "mode";
|
|
1762
|
+
readonly order: 3;
|
|
1763
|
+
readonly surface: readonly ["standard"];
|
|
1764
|
+
readonly value: {
|
|
1765
|
+
readonly kind: "string";
|
|
1766
|
+
};
|
|
1767
|
+
readonly default: null;
|
|
1768
|
+
readonly status: "implemented";
|
|
1769
|
+
readonly carriesTo: readonly [{
|
|
1770
|
+
readonly path: readonly [{
|
|
1771
|
+
readonly stage: "page-block";
|
|
1772
|
+
readonly name: "envelope.query.mode";
|
|
1773
|
+
}];
|
|
1774
|
+
readonly terminal: {
|
|
1775
|
+
readonly kind: "validate-only";
|
|
1776
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1777
|
+
readonly check: {
|
|
1778
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1779
|
+
readonly contains: "checkQuerySpec";
|
|
1780
|
+
};
|
|
1781
|
+
};
|
|
1782
|
+
}];
|
|
1783
|
+
readonly docSummary: "写回地址栏方式(replace / push)";
|
|
1784
|
+
}, {
|
|
1785
|
+
readonly id: "page.envelope.nav.icon";
|
|
1786
|
+
readonly context: "page.envelope.nav";
|
|
1787
|
+
readonly key: "icon";
|
|
1788
|
+
readonly order: 3;
|
|
1789
|
+
readonly surface: readonly ["standard"];
|
|
1790
|
+
readonly value: {
|
|
1791
|
+
readonly kind: "string";
|
|
1792
|
+
};
|
|
1793
|
+
readonly default: null;
|
|
1794
|
+
readonly status: "implemented";
|
|
1795
|
+
readonly carriesTo: readonly [{
|
|
1796
|
+
readonly path: readonly [{
|
|
1797
|
+
readonly stage: "page-block";
|
|
1798
|
+
readonly name: "envelope.nav.icon";
|
|
1799
|
+
}];
|
|
1800
|
+
readonly terminal: {
|
|
1801
|
+
readonly kind: "validate-only";
|
|
1802
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1803
|
+
readonly check: {
|
|
1804
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1805
|
+
readonly contains: "checkEnvelopeNav";
|
|
1806
|
+
};
|
|
1807
|
+
};
|
|
1808
|
+
}];
|
|
1809
|
+
readonly docSummary: "导航图标名";
|
|
1810
|
+
}, {
|
|
1811
|
+
readonly id: "page.envelope.lifecycle.warm";
|
|
1812
|
+
readonly context: "page.envelope.lifecycle";
|
|
1813
|
+
readonly key: "warm";
|
|
1814
|
+
readonly order: 3;
|
|
1815
|
+
readonly surface: readonly ["standard"];
|
|
1816
|
+
readonly value: {
|
|
1817
|
+
readonly kind: "bool";
|
|
1818
|
+
};
|
|
1819
|
+
readonly default: null;
|
|
1820
|
+
readonly status: "implemented";
|
|
1821
|
+
readonly carriesTo: readonly [{
|
|
1822
|
+
readonly path: readonly [{
|
|
1823
|
+
readonly stage: "page-block";
|
|
1824
|
+
readonly name: "envelope.lifecycle.warm";
|
|
1825
|
+
}];
|
|
1826
|
+
readonly terminal: {
|
|
1827
|
+
readonly kind: "validate-only";
|
|
1828
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
1829
|
+
readonly check: {
|
|
1830
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
1831
|
+
readonly contains: "checkEnvelopeLifecycle";
|
|
1832
|
+
};
|
|
1833
|
+
};
|
|
1834
|
+
}];
|
|
1835
|
+
readonly docSummary: "是否注入后立即预热";
|
|
1836
|
+
}, {
|
|
1837
|
+
readonly id: "write.map";
|
|
1838
|
+
readonly context: "write";
|
|
1839
|
+
readonly key: "map";
|
|
1840
|
+
readonly order: 4;
|
|
1841
|
+
readonly surface: readonly ["standard"];
|
|
1842
|
+
readonly value: {
|
|
1843
|
+
readonly kind: "map";
|
|
1844
|
+
};
|
|
1845
|
+
readonly default: null;
|
|
1846
|
+
readonly sample: {
|
|
1847
|
+
readonly value: {
|
|
1848
|
+
readonly title: "name";
|
|
1849
|
+
};
|
|
1850
|
+
readonly root: {
|
|
1851
|
+
readonly from: readonly [{
|
|
1852
|
+
readonly api: "/api/orders";
|
|
1853
|
+
}];
|
|
1854
|
+
readonly fields: {
|
|
1855
|
+
readonly title: {
|
|
1856
|
+
readonly type: "text";
|
|
1857
|
+
readonly permission: "w";
|
|
1858
|
+
};
|
|
1859
|
+
};
|
|
1860
|
+
readonly write: {
|
|
1861
|
+
readonly update: {
|
|
1862
|
+
readonly api: "/api/o/{no}";
|
|
1863
|
+
readonly method: "put";
|
|
1864
|
+
};
|
|
1865
|
+
};
|
|
1866
|
+
};
|
|
1867
|
+
};
|
|
1868
|
+
readonly status: "implemented";
|
|
1869
|
+
readonly carriesTo: readonly [{
|
|
1870
|
+
readonly path: readonly [{
|
|
1871
|
+
readonly stage: "core-config";
|
|
1872
|
+
readonly prop: "SomaDataWriteConfig.map";
|
|
1873
|
+
}];
|
|
1874
|
+
readonly terminal: {
|
|
1875
|
+
readonly kind: "consumed";
|
|
1876
|
+
readonly readers: readonly ["soma-core/core/client/data/"];
|
|
1877
|
+
};
|
|
1878
|
+
}];
|
|
1879
|
+
readonly effect: {
|
|
1880
|
+
readonly changes: readonly ["runtime"];
|
|
1881
|
+
};
|
|
1882
|
+
readonly docSummary: "乐观锁 / 白名单 / 改名";
|
|
1883
|
+
readonly lsp: {
|
|
1884
|
+
readonly detail: "表单键 → 请求体键的改名(键是可写的字典字段)";
|
|
1885
|
+
};
|
|
1886
|
+
}, {
|
|
1887
|
+
readonly id: "field.rules";
|
|
1888
|
+
readonly context: "field";
|
|
1889
|
+
readonly key: "rules";
|
|
1890
|
+
readonly order: 4;
|
|
1891
|
+
readonly origin: "base";
|
|
1892
|
+
readonly surface: readonly ["standard"];
|
|
1893
|
+
readonly value: {
|
|
1894
|
+
readonly kind: "list";
|
|
1895
|
+
readonly of: "shape";
|
|
1896
|
+
readonly contains: "field.rule";
|
|
1897
|
+
};
|
|
1898
|
+
readonly default: null;
|
|
1899
|
+
readonly sample: {
|
|
1900
|
+
readonly value: readonly [{
|
|
1901
|
+
readonly required: true;
|
|
1902
|
+
readonly message: "必填";
|
|
1903
|
+
}];
|
|
1904
|
+
};
|
|
1905
|
+
readonly carry: {
|
|
1906
|
+
readonly transform: "FieldRules";
|
|
1907
|
+
};
|
|
1908
|
+
readonly prop: "rules";
|
|
1909
|
+
readonly carriesTo: readonly [{
|
|
1910
|
+
readonly path: readonly [{
|
|
1911
|
+
readonly stage: "core-config";
|
|
1912
|
+
readonly prop: "SomaDataFieldConfig.rules";
|
|
1913
|
+
}];
|
|
1914
|
+
readonly terminal: {
|
|
1915
|
+
readonly kind: "consumed";
|
|
1916
|
+
readonly readers: readonly ["soma-ui/src/compiler/need/families/edit.ts", "soma-ui/src/compiler/need/region-env.ts", "soma-ui/src/data-kit/"];
|
|
1917
|
+
};
|
|
1918
|
+
}];
|
|
1919
|
+
readonly effect: {
|
|
1920
|
+
readonly changes: readonly ["artifact"];
|
|
1921
|
+
};
|
|
1922
|
+
readonly docSummary: "校验";
|
|
1923
|
+
readonly status: "implemented";
|
|
1924
|
+
}, {
|
|
1925
|
+
readonly id: "field.option.children";
|
|
1926
|
+
readonly context: "field.option";
|
|
1927
|
+
readonly key: "children";
|
|
1928
|
+
readonly order: 4;
|
|
1929
|
+
readonly origin: "extra";
|
|
1930
|
+
readonly surface: readonly ["standard"];
|
|
1931
|
+
readonly value: {
|
|
1932
|
+
readonly kind: "list";
|
|
1933
|
+
readonly of: "shape";
|
|
1934
|
+
readonly contains: "field.option";
|
|
1935
|
+
readonly maxDepth: 6;
|
|
1936
|
+
};
|
|
1937
|
+
readonly default: null;
|
|
1938
|
+
readonly sample: {
|
|
1939
|
+
readonly value: readonly [{
|
|
1940
|
+
readonly key: "sz";
|
|
1941
|
+
readonly label: "深圳";
|
|
1942
|
+
}];
|
|
1943
|
+
readonly root: {
|
|
1944
|
+
readonly from: readonly [{
|
|
1945
|
+
readonly api: "/api/orders";
|
|
1946
|
+
}];
|
|
1947
|
+
readonly fields: {
|
|
1948
|
+
readonly f: {
|
|
1949
|
+
readonly type: "cascade";
|
|
1950
|
+
readonly options: readonly [{
|
|
1951
|
+
readonly key: "gd";
|
|
1952
|
+
readonly label: "广东";
|
|
1953
|
+
}];
|
|
1954
|
+
};
|
|
1955
|
+
};
|
|
1956
|
+
};
|
|
1957
|
+
};
|
|
1958
|
+
readonly carriesTo: readonly [{
|
|
1959
|
+
readonly path: readonly [{
|
|
1960
|
+
readonly stage: "core-config";
|
|
1961
|
+
readonly prop: "SomaDataFieldOption.children";
|
|
1962
|
+
}];
|
|
1963
|
+
readonly terminal: {
|
|
1964
|
+
readonly kind: "consumed";
|
|
1965
|
+
readonly readers: readonly ["soma-ui/src/compiler/need/object-facts.ts"];
|
|
1966
|
+
};
|
|
1967
|
+
}, {
|
|
1968
|
+
readonly path: readonly [{
|
|
1969
|
+
readonly stage: "core-config";
|
|
1970
|
+
readonly prop: "SomaDataFieldOption.children";
|
|
1971
|
+
}, {
|
|
1972
|
+
readonly stage: "facts";
|
|
1973
|
+
readonly prop: "SomaFieldFact.options";
|
|
1974
|
+
}];
|
|
1975
|
+
readonly terminal: {
|
|
1976
|
+
readonly kind: "consumed";
|
|
1977
|
+
readonly readers: readonly ["soma-ui/src/compiler/compose/families/edit-parts.ts"];
|
|
1978
|
+
};
|
|
1979
|
+
}];
|
|
1980
|
+
readonly effect: {
|
|
1981
|
+
readonly changes: readonly ["artifact"];
|
|
1982
|
+
};
|
|
1983
|
+
readonly docSummary: "下一级候选(tree / cascade)";
|
|
1984
|
+
readonly violations: readonly [{
|
|
1985
|
+
readonly kind: "children-on-flat-type";
|
|
1986
|
+
readonly code: "ERR-BIZ-015";
|
|
1987
|
+
}];
|
|
1988
|
+
readonly status: "implemented";
|
|
1989
|
+
}, {
|
|
1990
|
+
readonly id: "field.rule.pattern";
|
|
1991
|
+
readonly context: "field.rule";
|
|
1992
|
+
readonly key: "pattern";
|
|
1993
|
+
readonly order: 4;
|
|
1994
|
+
readonly origin: "base";
|
|
1995
|
+
readonly surface: readonly ["standard"];
|
|
1996
|
+
readonly value: {
|
|
1997
|
+
readonly kind: "string";
|
|
1998
|
+
};
|
|
1999
|
+
readonly default: null;
|
|
2000
|
+
readonly sample: {
|
|
2001
|
+
readonly value: "^[A-Z]+$";
|
|
2002
|
+
};
|
|
2003
|
+
readonly carriesTo: readonly [{
|
|
2004
|
+
readonly path: readonly [{
|
|
2005
|
+
readonly stage: "core-config";
|
|
2006
|
+
readonly prop: "SomaDataFieldRule.pattern";
|
|
2007
|
+
}];
|
|
2008
|
+
readonly terminal: {
|
|
2009
|
+
readonly kind: "consumed";
|
|
2010
|
+
readonly readers: readonly ["soma-ui/src/runtime/console-kit.ts"];
|
|
2011
|
+
};
|
|
2012
|
+
}];
|
|
2013
|
+
readonly effect: {
|
|
2014
|
+
readonly changes: readonly ["artifact"];
|
|
2015
|
+
};
|
|
2016
|
+
readonly docSummary: "正则";
|
|
2017
|
+
readonly status: "implemented";
|
|
2018
|
+
}, {
|
|
2019
|
+
readonly id: "page.envelope.title";
|
|
2020
|
+
readonly context: "page.envelope";
|
|
2021
|
+
readonly key: "title";
|
|
2022
|
+
readonly order: 4;
|
|
2023
|
+
readonly surface: readonly ["standard"];
|
|
2024
|
+
readonly value: {
|
|
2025
|
+
readonly kind: "any";
|
|
2026
|
+
};
|
|
2027
|
+
readonly default: null;
|
|
2028
|
+
readonly status: "implemented";
|
|
2029
|
+
readonly carriesTo: readonly [{
|
|
2030
|
+
readonly path: readonly [{
|
|
2031
|
+
readonly stage: "page-block";
|
|
2032
|
+
readonly name: "envelope.title";
|
|
2033
|
+
}];
|
|
2034
|
+
readonly terminal: {
|
|
2035
|
+
readonly kind: "validate-only";
|
|
2036
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
2037
|
+
readonly check: {
|
|
2038
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2039
|
+
readonly contains: "checkEnvelopeText";
|
|
2040
|
+
};
|
|
2041
|
+
};
|
|
2042
|
+
}];
|
|
2043
|
+
readonly docSummary: "页面标题(字面量或 { t: 词条键 })";
|
|
2044
|
+
}, {
|
|
2045
|
+
readonly id: "page.envelope.params.max";
|
|
2046
|
+
readonly context: "page.envelope.params";
|
|
2047
|
+
readonly key: "max";
|
|
2048
|
+
readonly order: 4;
|
|
2049
|
+
readonly surface: readonly ["standard"];
|
|
2050
|
+
readonly value: {
|
|
2051
|
+
readonly kind: "int";
|
|
2052
|
+
};
|
|
2053
|
+
readonly default: null;
|
|
2054
|
+
readonly status: "implemented";
|
|
2055
|
+
readonly carriesTo: readonly [{
|
|
2056
|
+
readonly path: readonly [{
|
|
2057
|
+
readonly stage: "page-block";
|
|
2058
|
+
readonly name: "envelope.params.max";
|
|
2059
|
+
}];
|
|
2060
|
+
readonly terminal: {
|
|
2061
|
+
readonly kind: "validate-only";
|
|
2062
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
2063
|
+
readonly check: {
|
|
2064
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2065
|
+
readonly contains: "checkParamSpec";
|
|
2066
|
+
};
|
|
2067
|
+
};
|
|
2068
|
+
}];
|
|
2069
|
+
readonly docSummary: "int 上界";
|
|
2070
|
+
}, {
|
|
2071
|
+
readonly id: "page.envelope.query.values";
|
|
2072
|
+
readonly context: "page.envelope.query";
|
|
2073
|
+
readonly key: "values";
|
|
2074
|
+
readonly order: 4;
|
|
2075
|
+
readonly surface: readonly ["standard"];
|
|
2076
|
+
readonly value: {
|
|
2077
|
+
readonly kind: "list";
|
|
2078
|
+
readonly of: "string";
|
|
2079
|
+
};
|
|
2080
|
+
readonly default: null;
|
|
2081
|
+
readonly status: "implemented";
|
|
2082
|
+
readonly carriesTo: readonly [{
|
|
2083
|
+
readonly path: readonly [{
|
|
2084
|
+
readonly stage: "page-block";
|
|
2085
|
+
readonly name: "envelope.query.values";
|
|
2086
|
+
}];
|
|
2087
|
+
readonly terminal: {
|
|
2088
|
+
readonly kind: "validate-only";
|
|
2089
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
2090
|
+
readonly check: {
|
|
2091
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2092
|
+
readonly contains: "checkQuerySpec";
|
|
2093
|
+
};
|
|
2094
|
+
};
|
|
2095
|
+
}];
|
|
2096
|
+
readonly docSummary: "enum 候选(1–32 个)";
|
|
2097
|
+
}, {
|
|
2098
|
+
readonly id: "page.envelope.nav.parent";
|
|
2099
|
+
readonly context: "page.envelope.nav";
|
|
2100
|
+
readonly key: "parent";
|
|
2101
|
+
readonly order: 4;
|
|
2102
|
+
readonly surface: readonly ["standard"];
|
|
2103
|
+
readonly value: {
|
|
2104
|
+
readonly kind: "string";
|
|
2105
|
+
};
|
|
2106
|
+
readonly default: null;
|
|
2107
|
+
readonly status: "implemented";
|
|
2108
|
+
readonly carriesTo: readonly [{
|
|
2109
|
+
readonly path: readonly [{
|
|
2110
|
+
readonly stage: "page-block";
|
|
2111
|
+
readonly name: "envelope.nav.parent";
|
|
2112
|
+
}];
|
|
2113
|
+
readonly terminal: {
|
|
2114
|
+
readonly kind: "validate-only";
|
|
2115
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
2116
|
+
readonly check: {
|
|
2117
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2118
|
+
readonly contains: "checkEnvelopeNav";
|
|
2119
|
+
};
|
|
2120
|
+
};
|
|
2121
|
+
}];
|
|
2122
|
+
readonly docSummary: "导航高亮的父页精确地址";
|
|
2123
|
+
}, {
|
|
2124
|
+
readonly id: "object.write";
|
|
2125
|
+
readonly context: "object";
|
|
2126
|
+
readonly key: "write";
|
|
2127
|
+
readonly order: 5;
|
|
2128
|
+
readonly origin: "base";
|
|
2129
|
+
readonly surface: readonly ["standard"];
|
|
2130
|
+
readonly value: {
|
|
2131
|
+
readonly kind: "shape";
|
|
2132
|
+
readonly contains: "write";
|
|
2133
|
+
};
|
|
2134
|
+
readonly default: null;
|
|
2135
|
+
readonly sample: {
|
|
2136
|
+
readonly value: {
|
|
2137
|
+
readonly update: {
|
|
2138
|
+
readonly api: "/api/o/{no}";
|
|
2139
|
+
readonly method: "put";
|
|
2140
|
+
};
|
|
2141
|
+
};
|
|
2142
|
+
};
|
|
2143
|
+
readonly carry: {
|
|
2144
|
+
readonly transform: "ObjectWrite";
|
|
2145
|
+
};
|
|
2146
|
+
readonly prop: "write";
|
|
2147
|
+
readonly authScan: readonly [{
|
|
2148
|
+
readonly path: readonly ["create", "api"];
|
|
2149
|
+
readonly rank: 3;
|
|
2150
|
+
}, {
|
|
2151
|
+
readonly path: readonly ["update", "api"];
|
|
2152
|
+
readonly rank: 4;
|
|
2153
|
+
}, {
|
|
2154
|
+
readonly path: readonly ["delete", "api"];
|
|
2155
|
+
readonly rank: 5;
|
|
2156
|
+
}];
|
|
2157
|
+
readonly carriesTo: readonly [{
|
|
2158
|
+
readonly path: readonly [{
|
|
2159
|
+
readonly stage: "core-config";
|
|
2160
|
+
readonly prop: "SomaDataObjectConfig.write";
|
|
2161
|
+
}];
|
|
2162
|
+
readonly terminal: {
|
|
2163
|
+
readonly kind: "consumed";
|
|
2164
|
+
readonly readers: readonly ["soma-core/core/client/data/", "soma-ui/src/compiler/forms/verb-events.ts", "soma-ui/src/compiler/compose/families/", "soma-ui/src/compiler/page/region-scope.ts"];
|
|
2165
|
+
};
|
|
2166
|
+
}, {
|
|
2167
|
+
readonly path: readonly [{
|
|
2168
|
+
readonly stage: "core-config";
|
|
2169
|
+
readonly prop: "SomaDataObjectConfig.write";
|
|
2170
|
+
}, {
|
|
2171
|
+
readonly stage: "facts";
|
|
2172
|
+
readonly prop: "SomaObjectFacts.canCreate";
|
|
2173
|
+
}];
|
|
2174
|
+
readonly terminal: {
|
|
2175
|
+
readonly kind: "consumed";
|
|
2176
|
+
readonly readers: readonly ["soma-ui/src/compiler/compose/families/", "soma-ui/src/compiler/need/", "soma-ui/src/compiler/need/families/edit.ts"];
|
|
2177
|
+
};
|
|
2178
|
+
}, {
|
|
2179
|
+
readonly path: readonly [{
|
|
2180
|
+
readonly stage: "core-config";
|
|
2181
|
+
readonly prop: "SomaDataObjectConfig.write";
|
|
2182
|
+
}, {
|
|
2183
|
+
readonly stage: "facts";
|
|
2184
|
+
readonly prop: "SomaObjectFacts.canUpdate";
|
|
2185
|
+
}];
|
|
2186
|
+
readonly terminal: {
|
|
2187
|
+
readonly kind: "consumed";
|
|
2188
|
+
readonly readers: readonly ["soma-ui/src/compiler/compose/families/edit.ts", "soma-ui/src/compiler/need/", "soma-ui/src/compiler/need/families/edit.ts"];
|
|
2189
|
+
};
|
|
2190
|
+
}];
|
|
2191
|
+
readonly effect: {
|
|
2192
|
+
readonly changes: readonly ["artifact"];
|
|
2193
|
+
};
|
|
2194
|
+
readonly docSummary: "写通道";
|
|
2195
|
+
readonly violations: readonly [{
|
|
2196
|
+
readonly kind: "api-unregistered";
|
|
2197
|
+
readonly code: "ERR-BIZ-002";
|
|
2198
|
+
}];
|
|
2199
|
+
readonly status: "implemented";
|
|
2200
|
+
}, {
|
|
2201
|
+
readonly id: "write.only";
|
|
2202
|
+
readonly context: "write";
|
|
2203
|
+
readonly key: "only";
|
|
2204
|
+
readonly order: 5;
|
|
2205
|
+
readonly surface: readonly ["standard"];
|
|
2206
|
+
readonly value: {
|
|
2207
|
+
readonly kind: "list";
|
|
2208
|
+
readonly of: "string";
|
|
2209
|
+
};
|
|
2210
|
+
readonly default: null;
|
|
2211
|
+
readonly sample: {
|
|
2212
|
+
readonly value: readonly ["title"];
|
|
2213
|
+
readonly root: {
|
|
2214
|
+
readonly from: readonly [{
|
|
2215
|
+
readonly api: "/api/orders";
|
|
2216
|
+
}];
|
|
2217
|
+
readonly fields: {
|
|
2218
|
+
readonly title: {
|
|
2219
|
+
readonly type: "text";
|
|
2220
|
+
readonly permission: "w";
|
|
2221
|
+
};
|
|
2222
|
+
};
|
|
2223
|
+
readonly write: {
|
|
2224
|
+
readonly update: {
|
|
2225
|
+
readonly api: "/api/o/{no}";
|
|
2226
|
+
readonly method: "put";
|
|
2227
|
+
};
|
|
2228
|
+
};
|
|
2229
|
+
};
|
|
2230
|
+
};
|
|
2231
|
+
readonly status: "implemented";
|
|
2232
|
+
readonly carriesTo: readonly [{
|
|
2233
|
+
readonly path: readonly [{
|
|
2234
|
+
readonly stage: "core-config";
|
|
2235
|
+
readonly prop: "SomaDataWriteConfig.only";
|
|
2236
|
+
}];
|
|
2237
|
+
readonly terminal: {
|
|
2238
|
+
readonly kind: "consumed";
|
|
2239
|
+
readonly readers: readonly ["soma-core/core/client/data/"];
|
|
2240
|
+
};
|
|
2241
|
+
}];
|
|
2242
|
+
readonly effect: {
|
|
2243
|
+
readonly changes: readonly ["runtime"];
|
|
2244
|
+
};
|
|
2245
|
+
readonly docSummary: "乐观锁 / 白名单 / 改名";
|
|
2246
|
+
readonly lsp: {
|
|
2247
|
+
readonly detail: "请求体字段白名单(非空字段名列表)";
|
|
2248
|
+
};
|
|
2249
|
+
}, {
|
|
2250
|
+
readonly id: "field.options";
|
|
2251
|
+
readonly context: "field";
|
|
2252
|
+
readonly key: "options";
|
|
2253
|
+
readonly order: 5;
|
|
2254
|
+
readonly origin: "base";
|
|
2255
|
+
readonly surface: readonly ["standard"];
|
|
2256
|
+
readonly value: {
|
|
2257
|
+
readonly kind: "list";
|
|
2258
|
+
readonly of: "shape";
|
|
2259
|
+
readonly contains: "field.option";
|
|
2260
|
+
};
|
|
2261
|
+
readonly default: null;
|
|
2262
|
+
readonly sample: {
|
|
2263
|
+
readonly value: readonly [{
|
|
2264
|
+
readonly key: "open";
|
|
2265
|
+
readonly label: "待处理";
|
|
2266
|
+
readonly class: "waiting";
|
|
2267
|
+
}];
|
|
2268
|
+
readonly with: {
|
|
2269
|
+
readonly type: "enum";
|
|
2270
|
+
};
|
|
2271
|
+
};
|
|
2272
|
+
readonly carry: {
|
|
2273
|
+
readonly transform: "FieldOptions";
|
|
2274
|
+
};
|
|
2275
|
+
readonly prop: "options";
|
|
2276
|
+
readonly carriesTo: readonly [{
|
|
2277
|
+
readonly path: readonly [{
|
|
2278
|
+
readonly stage: "core-config";
|
|
2279
|
+
readonly prop: "SomaDataFieldConfig.options";
|
|
2280
|
+
}];
|
|
2281
|
+
readonly terminal: {
|
|
2282
|
+
readonly kind: "consumed";
|
|
2283
|
+
readonly readers: readonly ["soma-ui/src/data-kit/"];
|
|
2284
|
+
};
|
|
2285
|
+
}, {
|
|
2286
|
+
readonly path: readonly [{
|
|
2287
|
+
readonly stage: "core-config";
|
|
2288
|
+
readonly prop: "SomaDataFieldConfig.options";
|
|
2289
|
+
}, {
|
|
2290
|
+
readonly stage: "facts";
|
|
2291
|
+
readonly prop: "SomaFieldFact.options";
|
|
2292
|
+
}];
|
|
2293
|
+
readonly terminal: {
|
|
2294
|
+
readonly kind: "consumed";
|
|
2295
|
+
readonly readers: readonly ["soma-ui/src/compiler/settle/control-form.ts", "soma-ui/src/compiler/compose/families/", "soma-ui/src/compiler/need/", "soma-ui/src/compiler/need/families/", "soma-ui/src/compiler/styling/state-variants.ts"];
|
|
2296
|
+
};
|
|
2297
|
+
}, {
|
|
2298
|
+
readonly path: readonly [{
|
|
2299
|
+
readonly stage: "core-config";
|
|
2300
|
+
readonly prop: "SomaDataFieldConfig.options";
|
|
2301
|
+
}, {
|
|
2302
|
+
readonly stage: "facts";
|
|
2303
|
+
readonly prop: "SomaFieldFact.optionCount";
|
|
2304
|
+
}];
|
|
2305
|
+
readonly terminal: {
|
|
2306
|
+
readonly kind: "consumed";
|
|
2307
|
+
readonly readers: readonly ["soma-ui/src/compiler/settle/control-form.ts"];
|
|
2308
|
+
};
|
|
2309
|
+
}];
|
|
2310
|
+
readonly effect: {
|
|
2311
|
+
readonly changes: readonly ["artifact"];
|
|
2312
|
+
};
|
|
2313
|
+
readonly docSummary: "枚举候选";
|
|
2314
|
+
readonly status: "implemented";
|
|
2315
|
+
}, {
|
|
2316
|
+
readonly id: "field.rule.min";
|
|
2317
|
+
readonly context: "field.rule";
|
|
2318
|
+
readonly key: "min";
|
|
2319
|
+
readonly order: 5;
|
|
2320
|
+
readonly origin: "base";
|
|
2321
|
+
readonly surface: readonly ["standard"];
|
|
2322
|
+
readonly value: {
|
|
2323
|
+
readonly kind: "number";
|
|
2324
|
+
};
|
|
2325
|
+
readonly default: null;
|
|
2326
|
+
readonly sample: {
|
|
2327
|
+
readonly value: 0;
|
|
2328
|
+
};
|
|
2329
|
+
readonly carriesTo: readonly [{
|
|
2330
|
+
readonly path: readonly [{
|
|
2331
|
+
readonly stage: "core-config";
|
|
2332
|
+
readonly prop: "SomaDataFieldRule.min";
|
|
2333
|
+
}];
|
|
2334
|
+
readonly terminal: {
|
|
2335
|
+
readonly kind: "consumed";
|
|
2336
|
+
readonly readers: readonly ["soma-ui/src/runtime/console-kit.ts", "soma-ui/src/shared/field-components.ts"];
|
|
2337
|
+
};
|
|
2338
|
+
}];
|
|
2339
|
+
readonly effect: {
|
|
2340
|
+
readonly changes: readonly ["artifact"];
|
|
2341
|
+
};
|
|
2342
|
+
readonly docSummary: "最小值";
|
|
2343
|
+
readonly status: "implemented";
|
|
2344
|
+
}, {
|
|
2345
|
+
readonly id: "page.envelope.subtitle";
|
|
2346
|
+
readonly context: "page.envelope";
|
|
2347
|
+
readonly key: "subtitle";
|
|
2348
|
+
readonly order: 5;
|
|
2349
|
+
readonly surface: readonly ["standard"];
|
|
2350
|
+
readonly value: {
|
|
2351
|
+
readonly kind: "any";
|
|
2352
|
+
};
|
|
2353
|
+
readonly default: null;
|
|
2354
|
+
readonly status: "implemented";
|
|
2355
|
+
readonly carriesTo: readonly [{
|
|
2356
|
+
readonly path: readonly [{
|
|
2357
|
+
readonly stage: "page-block";
|
|
2358
|
+
readonly name: "envelope.subtitle";
|
|
2359
|
+
}];
|
|
2360
|
+
readonly terminal: {
|
|
2361
|
+
readonly kind: "validate-only";
|
|
2362
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
2363
|
+
readonly check: {
|
|
2364
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2365
|
+
readonly contains: "checkEnvelopeText";
|
|
2366
|
+
};
|
|
2367
|
+
};
|
|
2368
|
+
}];
|
|
2369
|
+
readonly docSummary: "页面副标题(同 title)";
|
|
2370
|
+
}, {
|
|
2371
|
+
readonly id: "page.envelope.params.max_len";
|
|
2372
|
+
readonly context: "page.envelope.params";
|
|
2373
|
+
readonly key: "max_len";
|
|
2374
|
+
readonly order: 5;
|
|
2375
|
+
readonly surface: readonly ["standard"];
|
|
2376
|
+
readonly value: {
|
|
2377
|
+
readonly kind: "int";
|
|
2378
|
+
readonly min: 1;
|
|
2379
|
+
readonly max: 200;
|
|
2380
|
+
};
|
|
2381
|
+
readonly default: null;
|
|
2382
|
+
readonly status: "implemented";
|
|
2383
|
+
readonly carriesTo: readonly [{
|
|
2384
|
+
readonly path: readonly [{
|
|
2385
|
+
readonly stage: "page-block";
|
|
2386
|
+
readonly name: "envelope.params.max_len";
|
|
2387
|
+
}];
|
|
2388
|
+
readonly terminal: {
|
|
2389
|
+
readonly kind: "validate-only";
|
|
2390
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
2391
|
+
readonly check: {
|
|
2392
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2393
|
+
readonly contains: "checkParamSpec";
|
|
2394
|
+
};
|
|
2395
|
+
};
|
|
2396
|
+
}];
|
|
2397
|
+
readonly docSummary: "string / slug 最大长度";
|
|
2398
|
+
}, {
|
|
2399
|
+
readonly id: "page.envelope.query.max_len";
|
|
2400
|
+
readonly context: "page.envelope.query";
|
|
2401
|
+
readonly key: "max_len";
|
|
2402
|
+
readonly order: 5;
|
|
2403
|
+
readonly surface: readonly ["standard"];
|
|
2404
|
+
readonly value: {
|
|
2405
|
+
readonly kind: "int";
|
|
2406
|
+
readonly min: 1;
|
|
2407
|
+
readonly max: 200;
|
|
2408
|
+
};
|
|
2409
|
+
readonly default: null;
|
|
2410
|
+
readonly status: "implemented";
|
|
2411
|
+
readonly carriesTo: readonly [{
|
|
2412
|
+
readonly path: readonly [{
|
|
2413
|
+
readonly stage: "page-block";
|
|
2414
|
+
readonly name: "envelope.query.max_len";
|
|
2415
|
+
}];
|
|
2416
|
+
readonly terminal: {
|
|
2417
|
+
readonly kind: "validate-only";
|
|
2418
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
2419
|
+
readonly check: {
|
|
2420
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2421
|
+
readonly contains: "checkQuerySpec";
|
|
2422
|
+
};
|
|
2423
|
+
};
|
|
2424
|
+
}];
|
|
2425
|
+
readonly docSummary: "string / slug 最大长度";
|
|
2426
|
+
}, {
|
|
2427
|
+
readonly id: "page.envelope.nav.items";
|
|
2428
|
+
readonly context: "page.envelope.nav";
|
|
2429
|
+
readonly key: "items";
|
|
2430
|
+
readonly order: 5;
|
|
2431
|
+
readonly surface: readonly ["standard"];
|
|
2432
|
+
readonly value: {
|
|
2433
|
+
readonly kind: "list";
|
|
2434
|
+
readonly of: "shape";
|
|
2435
|
+
};
|
|
2436
|
+
readonly default: null;
|
|
2437
|
+
readonly status: "implemented";
|
|
2438
|
+
readonly carriesTo: readonly [{
|
|
2439
|
+
readonly path: readonly [{
|
|
2440
|
+
readonly stage: "page-block";
|
|
2441
|
+
readonly name: "envelope.nav.items";
|
|
2442
|
+
}];
|
|
2443
|
+
readonly terminal: {
|
|
2444
|
+
readonly kind: "validate-only";
|
|
2445
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,导航项形状判据 navItemsProblem(core/shared/region-query.ts)";
|
|
2446
|
+
readonly check: {
|
|
2447
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2448
|
+
readonly contains: "checkEnvelopeNav";
|
|
2449
|
+
};
|
|
2450
|
+
};
|
|
2451
|
+
}];
|
|
2452
|
+
readonly docSummary: "导航项描述器 [{ key, text, href, active, forceIntoMore, children, divider, actions, priority, parent, access, available, requires, on_unavailable, route_to, requires_secrets, unavailable_reason }](C54:不可用分流 hide / grey,requires_secrets 点名外部密钥,route_to / unavailable_reason 只在 grey 时有意义)";
|
|
2453
|
+
}, {
|
|
2454
|
+
readonly id: "object.predicates";
|
|
2455
|
+
readonly context: "object";
|
|
2456
|
+
readonly key: "predicates";
|
|
2457
|
+
readonly order: 6;
|
|
2458
|
+
readonly origin: "base";
|
|
2459
|
+
readonly surface: readonly ["standard"];
|
|
2460
|
+
readonly value: {
|
|
2461
|
+
readonly kind: "map";
|
|
2462
|
+
readonly of: "shape";
|
|
2463
|
+
};
|
|
2464
|
+
readonly default: null;
|
|
2465
|
+
readonly sample: {
|
|
2466
|
+
readonly value: {
|
|
2467
|
+
readonly vip: {
|
|
2468
|
+
readonly field: "level";
|
|
2469
|
+
readonly op: "eq";
|
|
2470
|
+
readonly value: "vip";
|
|
2471
|
+
};
|
|
2472
|
+
};
|
|
2473
|
+
readonly root: {
|
|
2474
|
+
readonly from: readonly [{
|
|
2475
|
+
readonly api: "/api/orders";
|
|
2476
|
+
}];
|
|
2477
|
+
readonly fields: {
|
|
2478
|
+
readonly level: {
|
|
2479
|
+
readonly type: "text";
|
|
2480
|
+
};
|
|
2481
|
+
};
|
|
2482
|
+
};
|
|
2483
|
+
};
|
|
2484
|
+
readonly carry: {
|
|
2485
|
+
readonly transform: "ObjectPredicates";
|
|
2486
|
+
};
|
|
2487
|
+
readonly prop: "predicates";
|
|
2488
|
+
readonly carriesTo: readonly [{
|
|
2489
|
+
readonly path: readonly [{
|
|
2490
|
+
readonly stage: "core-config";
|
|
2491
|
+
readonly prop: "SomaDataObjectConfig.predicates";
|
|
2492
|
+
}];
|
|
2493
|
+
readonly terminal: {
|
|
2494
|
+
readonly kind: "consumed";
|
|
2495
|
+
readonly readers: readonly ["soma-core/core/client/data/data-object-resolver.ts"];
|
|
2496
|
+
};
|
|
2497
|
+
}];
|
|
2498
|
+
readonly effect: {
|
|
2499
|
+
readonly changes: readonly ["runtime"];
|
|
2500
|
+
};
|
|
2501
|
+
readonly docSummary: "具名条件";
|
|
2502
|
+
readonly status: "implemented";
|
|
2503
|
+
readonly note: "页内 objects: 不收(编译产物形态)";
|
|
2504
|
+
}, {
|
|
2505
|
+
readonly id: "field.rule.max";
|
|
2506
|
+
readonly context: "field.rule";
|
|
2507
|
+
readonly key: "max";
|
|
2508
|
+
readonly order: 6;
|
|
2509
|
+
readonly origin: "base";
|
|
2510
|
+
readonly surface: readonly ["standard"];
|
|
2511
|
+
readonly value: {
|
|
2512
|
+
readonly kind: "number";
|
|
2513
|
+
};
|
|
2514
|
+
readonly default: null;
|
|
2515
|
+
readonly sample: {
|
|
2516
|
+
readonly value: 100;
|
|
2517
|
+
};
|
|
2518
|
+
readonly carriesTo: readonly [{
|
|
2519
|
+
readonly path: readonly [{
|
|
2520
|
+
readonly stage: "core-config";
|
|
2521
|
+
readonly prop: "SomaDataFieldRule.max";
|
|
2522
|
+
}];
|
|
2523
|
+
readonly terminal: {
|
|
2524
|
+
readonly kind: "consumed";
|
|
2525
|
+
readonly readers: readonly ["soma-ui/src/runtime/console-kit.ts", "soma-ui/src/shared/field-components.ts"];
|
|
2526
|
+
};
|
|
2527
|
+
}];
|
|
2528
|
+
readonly effect: {
|
|
2529
|
+
readonly changes: readonly ["artifact"];
|
|
2530
|
+
};
|
|
2531
|
+
readonly docSummary: "最大值";
|
|
2532
|
+
readonly status: "implemented";
|
|
2533
|
+
}, {
|
|
2534
|
+
readonly id: "page.envelope.nav";
|
|
2535
|
+
readonly context: "page.envelope";
|
|
2536
|
+
readonly key: "nav";
|
|
2537
|
+
readonly order: 6;
|
|
2538
|
+
readonly surface: readonly ["standard"];
|
|
2539
|
+
readonly value: {
|
|
2540
|
+
readonly kind: "shape";
|
|
2541
|
+
readonly contains: "page.envelope.nav";
|
|
2542
|
+
readonly also: readonly ["false"];
|
|
2543
|
+
};
|
|
2544
|
+
readonly default: null;
|
|
2545
|
+
readonly status: "implemented";
|
|
2546
|
+
readonly carriesTo: readonly [{
|
|
2547
|
+
readonly path: readonly [{
|
|
2548
|
+
readonly stage: "page-block";
|
|
2549
|
+
readonly name: "envelope.nav";
|
|
2550
|
+
}];
|
|
2551
|
+
readonly terminal: {
|
|
2552
|
+
readonly kind: "validate-only";
|
|
2553
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
2554
|
+
readonly check: {
|
|
2555
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2556
|
+
readonly contains: "checkEnvelopeNav";
|
|
2557
|
+
};
|
|
2558
|
+
};
|
|
2559
|
+
}];
|
|
2560
|
+
readonly docSummary: "导航(false,或 group / order / icon / parent)";
|
|
2561
|
+
}, {
|
|
2562
|
+
readonly id: "page.envelope.params.values";
|
|
2563
|
+
readonly context: "page.envelope.params";
|
|
2564
|
+
readonly key: "values";
|
|
2565
|
+
readonly order: 6;
|
|
2566
|
+
readonly surface: readonly ["standard"];
|
|
2567
|
+
readonly value: {
|
|
2568
|
+
readonly kind: "list";
|
|
2569
|
+
readonly of: "string";
|
|
2570
|
+
};
|
|
2571
|
+
readonly default: null;
|
|
2572
|
+
readonly status: "implemented";
|
|
2573
|
+
readonly carriesTo: readonly [{
|
|
2574
|
+
readonly path: readonly [{
|
|
2575
|
+
readonly stage: "page-block";
|
|
2576
|
+
readonly name: "envelope.params.values";
|
|
2577
|
+
}];
|
|
2578
|
+
readonly terminal: {
|
|
2579
|
+
readonly kind: "validate-only";
|
|
2580
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
2581
|
+
readonly check: {
|
|
2582
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2583
|
+
readonly contains: "checkParamSpec";
|
|
2584
|
+
};
|
|
2585
|
+
};
|
|
2586
|
+
}];
|
|
2587
|
+
readonly docSummary: "enum 候选(1–32 个)";
|
|
2588
|
+
}, {
|
|
2589
|
+
readonly id: "page.envelope.nav.back";
|
|
2590
|
+
readonly context: "page.envelope.nav";
|
|
2591
|
+
readonly key: "back";
|
|
2592
|
+
readonly order: 6;
|
|
2593
|
+
readonly surface: readonly ["standard"];
|
|
2594
|
+
readonly value: {
|
|
2595
|
+
readonly kind: "any";
|
|
2596
|
+
};
|
|
2597
|
+
readonly default: null;
|
|
2598
|
+
readonly status: "implemented";
|
|
2599
|
+
readonly carriesTo: readonly [{
|
|
2600
|
+
readonly path: readonly [{
|
|
2601
|
+
readonly stage: "page-block";
|
|
2602
|
+
readonly name: "envelope.nav.back";
|
|
2603
|
+
}];
|
|
2604
|
+
readonly terminal: {
|
|
2605
|
+
readonly kind: "validate-only";
|
|
2606
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);形状判据 navBackDiagnostics(core/shared/nav-back.ts),运行期选址见 createNavHistory";
|
|
2607
|
+
readonly check: {
|
|
2608
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2609
|
+
readonly contains: "checkEnvelopeNav";
|
|
2610
|
+
};
|
|
2611
|
+
};
|
|
2612
|
+
}];
|
|
2613
|
+
readonly docSummary: "返回声明(fallback / exclude / previousCount)";
|
|
2614
|
+
}, {
|
|
2615
|
+
readonly id: "field.rule.step";
|
|
2616
|
+
readonly context: "field.rule";
|
|
2617
|
+
readonly key: "step";
|
|
2618
|
+
readonly order: 7;
|
|
2619
|
+
readonly origin: "extra";
|
|
2620
|
+
readonly surface: readonly ["standard"];
|
|
2621
|
+
readonly value: {
|
|
2622
|
+
readonly kind: "number";
|
|
2623
|
+
readonly exclusiveMin: 0;
|
|
2624
|
+
};
|
|
2625
|
+
readonly default: null;
|
|
2626
|
+
readonly sample: {
|
|
2627
|
+
readonly value: 5;
|
|
2628
|
+
};
|
|
2629
|
+
readonly carriesTo: readonly [{
|
|
2630
|
+
readonly path: readonly [{
|
|
2631
|
+
readonly stage: "core-config";
|
|
2632
|
+
readonly prop: "SomaDataFieldRule.step";
|
|
2633
|
+
}];
|
|
2634
|
+
readonly terminal: {
|
|
2635
|
+
readonly kind: "consumed";
|
|
2636
|
+
readonly readers: readonly ["soma-ui/src/runtime/console-kit.ts", "soma-ui/src/compiler/need/families/edit-dims.ts"];
|
|
2637
|
+
};
|
|
2638
|
+
}];
|
|
2639
|
+
readonly effect: {
|
|
2640
|
+
readonly changes: readonly ["artifact"];
|
|
2641
|
+
};
|
|
2642
|
+
readonly docSummary: "步长(取值格点)";
|
|
2643
|
+
readonly violations: readonly [{
|
|
2644
|
+
readonly kind: "step-on-non-numeric";
|
|
2645
|
+
readonly code: "ERR-BIZ-015";
|
|
2646
|
+
}];
|
|
2647
|
+
readonly status: "implemented";
|
|
2648
|
+
}, {
|
|
2649
|
+
readonly id: "page.envelope.access";
|
|
2650
|
+
readonly context: "page.envelope";
|
|
2651
|
+
readonly key: "access";
|
|
2652
|
+
readonly order: 7;
|
|
2653
|
+
readonly surface: readonly ["standard"];
|
|
2654
|
+
readonly value: {
|
|
2655
|
+
readonly kind: "shape";
|
|
2656
|
+
readonly contains: "page.envelope.access";
|
|
2657
|
+
};
|
|
2658
|
+
readonly default: null;
|
|
2659
|
+
readonly status: "implemented";
|
|
2660
|
+
readonly carriesTo: readonly [{
|
|
2661
|
+
readonly path: readonly [{
|
|
2662
|
+
readonly stage: "page-block";
|
|
2663
|
+
readonly name: "envelope.access";
|
|
2664
|
+
}];
|
|
2665
|
+
readonly terminal: {
|
|
2666
|
+
readonly kind: "validate-only";
|
|
2667
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
2668
|
+
readonly check: {
|
|
2669
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2670
|
+
readonly contains: "checkEnvelopeAccess";
|
|
2671
|
+
};
|
|
2672
|
+
};
|
|
2673
|
+
}];
|
|
2674
|
+
readonly docSummary: "访问要求(roles / signed_in)";
|
|
2675
|
+
}, {
|
|
2676
|
+
readonly id: "page.envelope.nav.list";
|
|
2677
|
+
readonly context: "page.envelope.nav";
|
|
2678
|
+
readonly key: "list";
|
|
2679
|
+
readonly order: 7;
|
|
2680
|
+
readonly surface: readonly ["standard"];
|
|
2681
|
+
readonly value: {
|
|
2682
|
+
readonly kind: "any";
|
|
2683
|
+
};
|
|
2684
|
+
readonly default: null;
|
|
2685
|
+
readonly status: "implemented";
|
|
2686
|
+
readonly carriesTo: readonly [{
|
|
2687
|
+
readonly path: readonly [{
|
|
2688
|
+
readonly stage: "page-block";
|
|
2689
|
+
readonly name: "envelope.nav.list";
|
|
2690
|
+
}];
|
|
2691
|
+
readonly terminal: {
|
|
2692
|
+
readonly kind: "validate-only";
|
|
2693
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);形状判据 listUrlDiagnostics(core/shared/list-origin.ts),来源还原见 parseListUrl";
|
|
2694
|
+
readonly check: {
|
|
2695
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2696
|
+
readonly contains: "checkEnvelopeNav";
|
|
2697
|
+
};
|
|
2698
|
+
};
|
|
2699
|
+
}];
|
|
2700
|
+
readonly docSummary: "来源列表声明(list.url: prefix / keys / staticFilters)";
|
|
2701
|
+
}, {
|
|
2702
|
+
readonly id: "field.rule.message";
|
|
2703
|
+
readonly context: "field.rule";
|
|
2704
|
+
readonly key: "message";
|
|
2705
|
+
readonly order: 8;
|
|
2706
|
+
readonly origin: "base";
|
|
2707
|
+
readonly surface: readonly ["standard"];
|
|
2708
|
+
readonly value: {
|
|
2709
|
+
readonly kind: "string";
|
|
2710
|
+
};
|
|
2711
|
+
readonly default: null;
|
|
2712
|
+
readonly sample: {
|
|
2713
|
+
readonly value: "提示";
|
|
2714
|
+
readonly with: {
|
|
2715
|
+
readonly max_len: 20;
|
|
2716
|
+
};
|
|
2717
|
+
};
|
|
2718
|
+
readonly carriesTo: readonly [{
|
|
2719
|
+
readonly path: readonly [{
|
|
2720
|
+
readonly stage: "core-config";
|
|
2721
|
+
readonly prop: "SomaDataFieldRule.message";
|
|
2722
|
+
}];
|
|
2723
|
+
readonly terminal: {
|
|
2724
|
+
readonly kind: "consumed";
|
|
2725
|
+
readonly readers: readonly ["soma-ui/src/runtime/console-kit.ts"];
|
|
2726
|
+
};
|
|
2727
|
+
}];
|
|
2728
|
+
readonly effect: {
|
|
2729
|
+
readonly changes: readonly ["artifact"];
|
|
2730
|
+
};
|
|
2731
|
+
readonly docSummary: "校验失败提示";
|
|
2732
|
+
readonly status: "implemented";
|
|
2733
|
+
}, {
|
|
2734
|
+
readonly id: "page.envelope.frame";
|
|
2735
|
+
readonly context: "page.envelope";
|
|
2736
|
+
readonly key: "frame";
|
|
2737
|
+
readonly order: 8;
|
|
2738
|
+
readonly surface: readonly ["standard"];
|
|
2739
|
+
readonly value: {
|
|
2740
|
+
readonly kind: "string";
|
|
2741
|
+
};
|
|
2742
|
+
readonly default: null;
|
|
2743
|
+
readonly status: "implemented";
|
|
2744
|
+
readonly carriesTo: readonly [{
|
|
2745
|
+
readonly path: readonly [{
|
|
2746
|
+
readonly stage: "page-block";
|
|
2747
|
+
readonly name: "envelope.frame";
|
|
2748
|
+
}];
|
|
2749
|
+
readonly terminal: {
|
|
2750
|
+
readonly kind: "validate-only";
|
|
2751
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
2752
|
+
readonly check: {
|
|
2753
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2754
|
+
readonly contains: "checkEnvelopeFrame";
|
|
2755
|
+
};
|
|
2756
|
+
};
|
|
2757
|
+
}];
|
|
2758
|
+
readonly docSummary: "逻辑外壳名(或 none)";
|
|
2759
|
+
}, {
|
|
2760
|
+
readonly id: "write.delete";
|
|
2761
|
+
readonly context: "write";
|
|
2762
|
+
readonly key: "delete";
|
|
2763
|
+
readonly order: 9;
|
|
2764
|
+
readonly surface: readonly ["standard"];
|
|
2765
|
+
readonly value: {
|
|
2766
|
+
readonly kind: "shape";
|
|
2767
|
+
readonly shape: "delete-endpoint";
|
|
2768
|
+
};
|
|
2769
|
+
readonly default: null;
|
|
2770
|
+
readonly sample: {
|
|
2771
|
+
readonly value: {
|
|
2772
|
+
readonly api: "/api/o/{no}";
|
|
2773
|
+
};
|
|
2774
|
+
};
|
|
2775
|
+
readonly status: "implemented";
|
|
2776
|
+
readonly carriesTo: readonly [{
|
|
2777
|
+
readonly path: readonly [{
|
|
2778
|
+
readonly stage: "core-config";
|
|
2779
|
+
readonly prop: "SomaDataWriteConfig.delete";
|
|
2780
|
+
}];
|
|
2781
|
+
readonly terminal: {
|
|
2782
|
+
readonly kind: "consumed";
|
|
2783
|
+
readonly readers: readonly ["soma-core/core/client/data/"];
|
|
2784
|
+
};
|
|
2785
|
+
}];
|
|
2786
|
+
readonly effect: {
|
|
2787
|
+
readonly changes: readonly ["runtime"];
|
|
2788
|
+
};
|
|
2789
|
+
readonly docSummary: "删除端点(DELETE,不带请求体)";
|
|
2790
|
+
readonly lsp: {
|
|
2791
|
+
readonly detail: "删除端点 { api, method?: DELETE },不带请求体";
|
|
2792
|
+
};
|
|
2793
|
+
}, {
|
|
2794
|
+
readonly id: "field.rule.when";
|
|
2795
|
+
readonly context: "field.rule";
|
|
2796
|
+
readonly key: "when";
|
|
2797
|
+
readonly order: 9;
|
|
2798
|
+
readonly origin: "extra";
|
|
2799
|
+
readonly surface: readonly ["standard"];
|
|
2800
|
+
readonly value: {
|
|
2801
|
+
readonly kind: "shape";
|
|
2802
|
+
readonly shape: "predicate";
|
|
2803
|
+
};
|
|
2804
|
+
readonly default: null;
|
|
2805
|
+
readonly sample: {
|
|
2806
|
+
readonly value: {
|
|
2807
|
+
readonly field: "g";
|
|
2808
|
+
readonly op: "eq";
|
|
2809
|
+
readonly value: true;
|
|
2810
|
+
};
|
|
2811
|
+
readonly with: {
|
|
2812
|
+
readonly required: true;
|
|
2813
|
+
};
|
|
2814
|
+
readonly root: {
|
|
2815
|
+
readonly from: readonly [{
|
|
2816
|
+
readonly api: "/api/orders";
|
|
2817
|
+
}];
|
|
2818
|
+
readonly fields: {
|
|
2819
|
+
readonly g: {
|
|
2820
|
+
readonly type: "bool";
|
|
2821
|
+
};
|
|
2822
|
+
readonly f: {
|
|
2823
|
+
readonly type: "int";
|
|
2824
|
+
readonly rules: readonly [{
|
|
2825
|
+
readonly message: "提示";
|
|
2826
|
+
}];
|
|
2827
|
+
};
|
|
2828
|
+
};
|
|
2829
|
+
};
|
|
2830
|
+
};
|
|
2831
|
+
readonly carriesTo: readonly [{
|
|
2832
|
+
readonly path: readonly [{
|
|
2833
|
+
readonly stage: "core-config";
|
|
2834
|
+
readonly prop: "SomaDataFieldRule.when";
|
|
2835
|
+
}];
|
|
2836
|
+
readonly terminal: {
|
|
2837
|
+
readonly kind: "consumed";
|
|
2838
|
+
readonly readers: readonly ["soma-core/core/client/validation/field-rules.ts", "soma-core/core/client/parser/data-config-parser.ts"];
|
|
2839
|
+
};
|
|
2840
|
+
}];
|
|
2841
|
+
readonly effect: {
|
|
2842
|
+
readonly changes: readonly ["runtime"];
|
|
2843
|
+
};
|
|
2844
|
+
readonly docSummary: "条件规则(谓词成立才参与)";
|
|
2845
|
+
readonly status: "implemented";
|
|
2846
|
+
}, {
|
|
2847
|
+
readonly id: "page.envelope.locale";
|
|
2848
|
+
readonly context: "page.envelope";
|
|
2849
|
+
readonly key: "locale";
|
|
2850
|
+
readonly order: 9;
|
|
2851
|
+
readonly surface: readonly ["standard"];
|
|
2852
|
+
readonly value: {
|
|
2853
|
+
readonly kind: "string";
|
|
2854
|
+
};
|
|
2855
|
+
readonly default: null;
|
|
2856
|
+
readonly status: "implemented";
|
|
2857
|
+
readonly carriesTo: readonly [{
|
|
2858
|
+
readonly path: readonly [{
|
|
2859
|
+
readonly stage: "page-block";
|
|
2860
|
+
readonly name: "envelope.locale";
|
|
2861
|
+
}];
|
|
2862
|
+
readonly terminal: {
|
|
2863
|
+
readonly kind: "validate-only";
|
|
2864
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
2865
|
+
readonly check: {
|
|
2866
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
2867
|
+
readonly contains: "checkEnvelopeLocale";
|
|
2868
|
+
};
|
|
2869
|
+
};
|
|
2870
|
+
}];
|
|
2871
|
+
readonly docSummary: "本页字面量所用语言(BCP 47)";
|
|
2872
|
+
}, {
|
|
2873
|
+
readonly id: "write.validate_on";
|
|
2874
|
+
readonly context: "write";
|
|
2875
|
+
readonly key: "validate_on";
|
|
2876
|
+
readonly order: 10;
|
|
2877
|
+
readonly surface: readonly ["standard"];
|
|
2878
|
+
readonly value: {
|
|
2879
|
+
readonly kind: "list";
|
|
2880
|
+
readonly of: "string";
|
|
2881
|
+
readonly domain: "validate-triggers";
|
|
2882
|
+
};
|
|
2883
|
+
readonly default: null;
|
|
2884
|
+
readonly sample: {
|
|
2885
|
+
readonly value: readonly ["blur", "submit"];
|
|
2886
|
+
};
|
|
2887
|
+
readonly status: "implemented";
|
|
2888
|
+
readonly carriesTo: readonly [{
|
|
2889
|
+
readonly path: readonly [{
|
|
2890
|
+
readonly stage: "core-config";
|
|
2891
|
+
readonly prop: "SomaDataWriteConfig.validate_on";
|
|
2892
|
+
}];
|
|
2893
|
+
readonly terminal: {
|
|
2894
|
+
readonly kind: "consumed";
|
|
2895
|
+
readonly readers: readonly ["soma-core/core/client/data/"];
|
|
2896
|
+
};
|
|
2897
|
+
}];
|
|
2898
|
+
readonly effect: {
|
|
2899
|
+
readonly changes: readonly ["runtime"];
|
|
2900
|
+
};
|
|
2901
|
+
readonly docSummary: "校验时机 / 离开守卫";
|
|
2902
|
+
readonly lsp: {
|
|
2903
|
+
readonly detail: "校验时机:change / blur / submit 的非空无重复列表";
|
|
2904
|
+
};
|
|
2905
|
+
}, {
|
|
2906
|
+
readonly id: "write.failWhen";
|
|
2907
|
+
readonly context: "write";
|
|
2908
|
+
readonly key: "failWhen";
|
|
2909
|
+
readonly order: 19;
|
|
2910
|
+
readonly surface: readonly ["standard"];
|
|
2911
|
+
readonly value: {
|
|
2912
|
+
readonly kind: "map";
|
|
2913
|
+
};
|
|
2914
|
+
readonly default: null;
|
|
2915
|
+
readonly sample: {
|
|
2916
|
+
readonly value: {
|
|
2917
|
+
readonly field: "success";
|
|
2918
|
+
readonly op: "eq";
|
|
2919
|
+
readonly value: false;
|
|
2920
|
+
};
|
|
2921
|
+
readonly root: {
|
|
2922
|
+
readonly from: readonly [{
|
|
2923
|
+
readonly api: "/api/orders";
|
|
2924
|
+
}];
|
|
2925
|
+
readonly fields: {
|
|
2926
|
+
readonly title: {
|
|
2927
|
+
readonly type: "text";
|
|
2928
|
+
readonly permission: "w";
|
|
2929
|
+
};
|
|
2930
|
+
};
|
|
2931
|
+
readonly write: {
|
|
2932
|
+
readonly update: {
|
|
2933
|
+
readonly api: "/api/o/{no}";
|
|
2934
|
+
readonly method: "put";
|
|
2935
|
+
};
|
|
2936
|
+
};
|
|
2937
|
+
};
|
|
2938
|
+
};
|
|
2939
|
+
readonly status: "implemented";
|
|
2940
|
+
readonly carriesTo: readonly [{
|
|
2941
|
+
readonly path: readonly [{
|
|
2942
|
+
readonly stage: "core-config";
|
|
2943
|
+
readonly prop: "SomaDataWriteConfig.failWhen";
|
|
2944
|
+
}];
|
|
2945
|
+
readonly terminal: {
|
|
2946
|
+
readonly kind: "consumed";
|
|
2947
|
+
readonly readers: readonly ["soma-core/core/client/data/"];
|
|
2948
|
+
};
|
|
2949
|
+
}];
|
|
2950
|
+
readonly effect: {
|
|
2951
|
+
readonly changes: readonly ["runtime"];
|
|
2952
|
+
};
|
|
2953
|
+
readonly docSummary: "响应信封失败判定";
|
|
2954
|
+
readonly lsp: {
|
|
2955
|
+
readonly detail: "HTTP 成功但响应体命中此闭集谓词即按失败落账(字段是响应体顶层键,深取用 path);core 不预设后端字段约定";
|
|
2956
|
+
};
|
|
2957
|
+
}, {
|
|
2958
|
+
readonly id: "write.messagePath";
|
|
2959
|
+
readonly context: "write";
|
|
2960
|
+
readonly key: "messagePath";
|
|
2961
|
+
readonly order: 20;
|
|
2962
|
+
readonly surface: readonly ["standard"];
|
|
2963
|
+
readonly value: {
|
|
2964
|
+
readonly kind: "string";
|
|
2965
|
+
};
|
|
2966
|
+
readonly default: null;
|
|
2967
|
+
readonly sample: {
|
|
2968
|
+
readonly value: "message";
|
|
2969
|
+
readonly root: {
|
|
2970
|
+
readonly from: readonly [{
|
|
2971
|
+
readonly api: "/api/orders";
|
|
2972
|
+
}];
|
|
2973
|
+
readonly fields: {
|
|
2974
|
+
readonly title: {
|
|
2975
|
+
readonly type: "text";
|
|
2976
|
+
readonly permission: "w";
|
|
2977
|
+
};
|
|
2978
|
+
};
|
|
2979
|
+
readonly write: {
|
|
2980
|
+
readonly update: {
|
|
2981
|
+
readonly api: "/api/o/{no}";
|
|
2982
|
+
readonly method: "put";
|
|
2983
|
+
};
|
|
2984
|
+
readonly failWhen: {
|
|
2985
|
+
readonly field: "success";
|
|
2986
|
+
readonly op: "eq";
|
|
2987
|
+
readonly value: false;
|
|
2988
|
+
};
|
|
2989
|
+
};
|
|
2990
|
+
};
|
|
2991
|
+
};
|
|
2992
|
+
readonly status: "implemented";
|
|
2993
|
+
readonly carriesTo: readonly [{
|
|
2994
|
+
readonly path: readonly [{
|
|
2995
|
+
readonly stage: "core-config";
|
|
2996
|
+
readonly prop: "SomaDataWriteConfig.messagePath";
|
|
2997
|
+
}];
|
|
2998
|
+
readonly terminal: {
|
|
2999
|
+
readonly kind: "consumed";
|
|
3000
|
+
readonly readers: readonly ["soma-core/core/client/data/"];
|
|
3001
|
+
};
|
|
3002
|
+
}];
|
|
3003
|
+
readonly effect: {
|
|
3004
|
+
readonly changes: readonly ["runtime"];
|
|
3005
|
+
};
|
|
3006
|
+
readonly docSummary: "响应信封失败信息路径";
|
|
3007
|
+
readonly lsp: {
|
|
3008
|
+
readonly detail: "命中 failWhen 时业务错误信息在响应体里的点路径";
|
|
3009
|
+
};
|
|
3010
|
+
}, {
|
|
3011
|
+
readonly id: "write.timeoutMs";
|
|
3012
|
+
readonly context: "write";
|
|
3013
|
+
readonly key: "timeoutMs";
|
|
3014
|
+
readonly order: 21;
|
|
3015
|
+
readonly surface: readonly ["standard"];
|
|
3016
|
+
readonly value: {
|
|
3017
|
+
readonly kind: "int";
|
|
3018
|
+
readonly min: 1000;
|
|
3019
|
+
readonly max: 600000;
|
|
3020
|
+
readonly unit: "毫秒";
|
|
3021
|
+
};
|
|
3022
|
+
readonly default: null;
|
|
3023
|
+
readonly sample: {
|
|
3024
|
+
readonly value: 120000;
|
|
3025
|
+
readonly root: {
|
|
3026
|
+
readonly from: readonly [{
|
|
3027
|
+
readonly api: "/api/orders";
|
|
3028
|
+
}];
|
|
3029
|
+
readonly fields: {
|
|
3030
|
+
readonly title: {
|
|
3031
|
+
readonly type: "text";
|
|
3032
|
+
readonly permission: "w";
|
|
3033
|
+
};
|
|
3034
|
+
};
|
|
3035
|
+
readonly write: {
|
|
3036
|
+
readonly update: {
|
|
3037
|
+
readonly api: "/api/o/{no}";
|
|
3038
|
+
readonly method: "put";
|
|
3039
|
+
};
|
|
3040
|
+
};
|
|
3041
|
+
};
|
|
3042
|
+
};
|
|
3043
|
+
readonly status: "implemented";
|
|
3044
|
+
readonly carriesTo: readonly [{
|
|
3045
|
+
readonly path: readonly [{
|
|
3046
|
+
readonly stage: "core-config";
|
|
3047
|
+
readonly prop: "SomaDataWriteConfig.timeoutMs";
|
|
3048
|
+
}];
|
|
3049
|
+
readonly terminal: {
|
|
3050
|
+
readonly kind: "consumed";
|
|
3051
|
+
readonly readers: readonly ["soma-core/core/client/data/"];
|
|
3052
|
+
};
|
|
3053
|
+
}];
|
|
3054
|
+
readonly effect: {
|
|
3055
|
+
readonly changes: readonly ["runtime"];
|
|
3056
|
+
};
|
|
3057
|
+
readonly docSummary: "写请求超时(毫秒)";
|
|
3058
|
+
readonly lsp: {
|
|
3059
|
+
readonly detail: "本写通道各端点(create / update / delete)单次请求的超时毫秒数,1000..600000 的整数;不写 = 沿用 Host http 服务的缺省超时。用于耗时长的后端调用,超时按网络失败落账";
|
|
3060
|
+
};
|
|
3061
|
+
}, {
|
|
3062
|
+
readonly id: "field.rule.async";
|
|
3063
|
+
readonly context: "field.rule";
|
|
3064
|
+
readonly key: "async";
|
|
3065
|
+
readonly order: 10;
|
|
3066
|
+
readonly origin: "extra";
|
|
3067
|
+
readonly surface: readonly ["standard"];
|
|
3068
|
+
readonly value: {
|
|
3069
|
+
readonly kind: "any";
|
|
3070
|
+
};
|
|
3071
|
+
readonly default: null;
|
|
3072
|
+
readonly sample: {
|
|
3073
|
+
readonly value: {
|
|
3074
|
+
readonly check: "order_no_free";
|
|
3075
|
+
readonly on_error: "pass";
|
|
3076
|
+
};
|
|
3077
|
+
};
|
|
3078
|
+
readonly carriesTo: readonly [{
|
|
3079
|
+
readonly path: readonly [{
|
|
3080
|
+
readonly stage: "core-config";
|
|
3081
|
+
readonly prop: "SomaDataFieldRule.async";
|
|
3082
|
+
}];
|
|
3083
|
+
readonly terminal: {
|
|
3084
|
+
readonly kind: "validate-only";
|
|
3085
|
+
readonly why: "async 规则由 parseAsyncRule 核形状(检查器名 / { check, on_error? },闭集外键拒收)并携带;合并规则与防抖在 client/validation/async-rules.ts,检查器由应用注册(R-22 / R-23)";
|
|
3086
|
+
readonly check: {
|
|
3087
|
+
readonly file: "soma-core/core/client/parser/data-config-parser.ts";
|
|
3088
|
+
readonly contains: "function parseAsyncRule";
|
|
3089
|
+
};
|
|
3090
|
+
};
|
|
3091
|
+
}];
|
|
3092
|
+
readonly status: "implemented";
|
|
3093
|
+
readonly docSummary: "异步校验位(向服务端查重)";
|
|
3094
|
+
readonly lsp: {
|
|
3095
|
+
readonly detail: "异步校验 检查器名 | { check, on_error: pass | block }";
|
|
3096
|
+
};
|
|
3097
|
+
}, {
|
|
3098
|
+
readonly id: "page.envelope.meta";
|
|
3099
|
+
readonly context: "page.envelope";
|
|
3100
|
+
readonly key: "meta";
|
|
3101
|
+
readonly order: 10;
|
|
3102
|
+
readonly surface: readonly ["standard"];
|
|
3103
|
+
readonly value: {
|
|
3104
|
+
readonly kind: "shape";
|
|
3105
|
+
readonly contains: "page.envelope.meta";
|
|
3106
|
+
};
|
|
3107
|
+
readonly default: null;
|
|
3108
|
+
readonly status: "implemented";
|
|
3109
|
+
readonly carriesTo: readonly [{
|
|
3110
|
+
readonly path: readonly [{
|
|
3111
|
+
readonly stage: "page-block";
|
|
3112
|
+
readonly name: "envelope.meta";
|
|
3113
|
+
}];
|
|
3114
|
+
readonly terminal: {
|
|
3115
|
+
readonly kind: "validate-only";
|
|
3116
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
3117
|
+
readonly check: {
|
|
3118
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
3119
|
+
readonly contains: "checkEnvelopeMeta";
|
|
3120
|
+
};
|
|
3121
|
+
};
|
|
3122
|
+
}];
|
|
3123
|
+
readonly docSummary: "页面元信息(description / tags)";
|
|
3124
|
+
}, {
|
|
3125
|
+
readonly id: "field.rule.severity";
|
|
3126
|
+
readonly context: "field.rule";
|
|
3127
|
+
readonly key: "severity";
|
|
3128
|
+
readonly order: 11;
|
|
3129
|
+
readonly origin: "base";
|
|
3130
|
+
readonly surface: readonly ["standard"];
|
|
3131
|
+
readonly value: {
|
|
3132
|
+
readonly kind: "enum";
|
|
3133
|
+
readonly domain: "validation-severities";
|
|
3134
|
+
};
|
|
3135
|
+
readonly default: null;
|
|
3136
|
+
readonly sample: {
|
|
3137
|
+
readonly value: "hint";
|
|
3138
|
+
readonly with: {
|
|
3139
|
+
readonly required: true;
|
|
3140
|
+
};
|
|
3141
|
+
};
|
|
3142
|
+
readonly carriesTo: readonly [{
|
|
3143
|
+
readonly path: readonly [{
|
|
3144
|
+
readonly stage: "core-config";
|
|
3145
|
+
readonly prop: "SomaDataFieldRule.severity";
|
|
3146
|
+
}];
|
|
3147
|
+
readonly terminal: {
|
|
3148
|
+
readonly kind: "consumed";
|
|
3149
|
+
readonly readers: readonly ["soma-core/core/client/validation/field-rules.ts", "soma-core/core/client/validation/soft-once.ts"];
|
|
3150
|
+
};
|
|
3151
|
+
}];
|
|
3152
|
+
readonly effect: {
|
|
3153
|
+
readonly changes: readonly ["runtime"];
|
|
3154
|
+
};
|
|
3155
|
+
readonly docSummary: "校验强度(hard / soft-once / hint / discourage)";
|
|
3156
|
+
readonly violations: readonly [{
|
|
3157
|
+
readonly kind: "severity-declaration";
|
|
3158
|
+
readonly code: "CORE-OBJ-DECLARATION-INVALID";
|
|
3159
|
+
}];
|
|
3160
|
+
readonly status: "implemented";
|
|
3161
|
+
}, {
|
|
3162
|
+
readonly id: "page.envelope.version";
|
|
3163
|
+
readonly context: "page.envelope";
|
|
3164
|
+
readonly key: "version";
|
|
3165
|
+
readonly order: 11;
|
|
3166
|
+
readonly surface: readonly ["standard"];
|
|
3167
|
+
readonly value: {
|
|
3168
|
+
readonly kind: "string";
|
|
3169
|
+
};
|
|
3170
|
+
readonly default: null;
|
|
3171
|
+
readonly status: "implemented";
|
|
3172
|
+
readonly carriesTo: readonly [{
|
|
3173
|
+
readonly path: readonly [{
|
|
3174
|
+
readonly stage: "page-block";
|
|
3175
|
+
readonly name: "envelope.version";
|
|
3176
|
+
}];
|
|
3177
|
+
readonly terminal: {
|
|
3178
|
+
readonly kind: "validate-only";
|
|
3179
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
3180
|
+
readonly check: {
|
|
3181
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
3182
|
+
readonly contains: "checkEnvelopeVersion";
|
|
3183
|
+
};
|
|
3184
|
+
};
|
|
3185
|
+
}];
|
|
3186
|
+
readonly docSummary: "作者修订标签";
|
|
3187
|
+
}, {
|
|
3188
|
+
readonly id: "page.envelope.source";
|
|
3189
|
+
readonly context: "page.envelope";
|
|
3190
|
+
readonly key: "source";
|
|
3191
|
+
readonly order: 12;
|
|
3192
|
+
readonly surface: readonly ["standard"];
|
|
3193
|
+
readonly value: {
|
|
3194
|
+
readonly kind: "shape";
|
|
3195
|
+
readonly contains: "page.envelope.source";
|
|
3196
|
+
};
|
|
3197
|
+
readonly default: null;
|
|
3198
|
+
readonly status: "implemented";
|
|
3199
|
+
readonly carriesTo: readonly [{
|
|
3200
|
+
readonly path: readonly [{
|
|
3201
|
+
readonly stage: "page-block";
|
|
3202
|
+
readonly name: "envelope.source";
|
|
3203
|
+
}];
|
|
3204
|
+
readonly terminal: {
|
|
3205
|
+
readonly kind: "validate-only";
|
|
3206
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
3207
|
+
readonly check: {
|
|
3208
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
3209
|
+
readonly contains: "checkEnvelopeSource";
|
|
3210
|
+
};
|
|
3211
|
+
};
|
|
3212
|
+
}];
|
|
3213
|
+
readonly docSummary: "来源盖章(format / author)";
|
|
3214
|
+
}, {
|
|
3215
|
+
readonly id: "object.name";
|
|
3216
|
+
readonly context: "object";
|
|
3217
|
+
readonly key: "name";
|
|
3218
|
+
readonly order: 13;
|
|
3219
|
+
readonly origin: "extra";
|
|
3220
|
+
readonly surface: readonly ["standard"];
|
|
3221
|
+
readonly value: {
|
|
3222
|
+
readonly kind: "string";
|
|
3223
|
+
};
|
|
3224
|
+
readonly default: null;
|
|
3225
|
+
readonly sample: {
|
|
3226
|
+
readonly value: "订单";
|
|
3227
|
+
};
|
|
3228
|
+
readonly carry: {
|
|
3229
|
+
readonly transform: "ObjectName";
|
|
3230
|
+
};
|
|
3231
|
+
readonly prop: "displayName";
|
|
3232
|
+
readonly carriesTo: readonly [{
|
|
3233
|
+
readonly path: readonly [{
|
|
3234
|
+
readonly stage: "core-config";
|
|
3235
|
+
readonly prop: "SomaDataObjectConfig.displayName";
|
|
3236
|
+
}];
|
|
3237
|
+
readonly terminal: {
|
|
3238
|
+
readonly kind: "consumed";
|
|
3239
|
+
readonly readers: readonly ["soma-ui/src/compiler/compose/families/inspect.ts"];
|
|
3240
|
+
};
|
|
3241
|
+
}, {
|
|
3242
|
+
readonly path: readonly [{
|
|
3243
|
+
readonly stage: "core-config";
|
|
3244
|
+
readonly prop: "SomaDataObjectConfig.displayName";
|
|
3245
|
+
}, {
|
|
3246
|
+
readonly stage: "facts";
|
|
3247
|
+
readonly prop: "SomaObjectFacts.displayName";
|
|
3248
|
+
}];
|
|
3249
|
+
readonly terminal: {
|
|
3250
|
+
readonly kind: "consumed";
|
|
3251
|
+
readonly readers: readonly ["soma-ui/src/compiler/need/families/browse.ts"];
|
|
3252
|
+
};
|
|
3253
|
+
}];
|
|
3254
|
+
readonly effect: {
|
|
3255
|
+
readonly changes: readonly ["artifact"];
|
|
3256
|
+
};
|
|
3257
|
+
readonly docSummary: "显示名";
|
|
3258
|
+
readonly status: "implemented";
|
|
3259
|
+
readonly note: "解析产物里叫 displayName:config.name 是对象键名";
|
|
3260
|
+
}, {
|
|
3261
|
+
readonly id: "page.envelope.lifecycle";
|
|
3262
|
+
readonly context: "page.envelope";
|
|
3263
|
+
readonly key: "lifecycle";
|
|
3264
|
+
readonly order: 13;
|
|
3265
|
+
readonly surface: readonly ["standard"];
|
|
3266
|
+
readonly value: {
|
|
3267
|
+
readonly kind: "shape";
|
|
3268
|
+
readonly contains: "page.envelope.lifecycle";
|
|
3269
|
+
};
|
|
3270
|
+
readonly default: null;
|
|
3271
|
+
readonly status: "implemented";
|
|
3272
|
+
readonly carriesTo: readonly [{
|
|
3273
|
+
readonly path: readonly [{
|
|
3274
|
+
readonly stage: "page-block";
|
|
3275
|
+
readonly name: "envelope.lifecycle";
|
|
3276
|
+
}];
|
|
3277
|
+
readonly terminal: {
|
|
3278
|
+
readonly kind: "validate-only";
|
|
3279
|
+
readonly why: "信封由 core/shared/page-envelope.ts 判定(闭集、取值、写面);进入标准格式后原样携带,运行期消费见地址绑定与访问门(E2–E4)";
|
|
3280
|
+
readonly check: {
|
|
3281
|
+
readonly file: "soma-core/core/shared/page-envelope.ts";
|
|
3282
|
+
readonly contains: "checkEnvelopeLifecycle";
|
|
3283
|
+
};
|
|
3284
|
+
};
|
|
3285
|
+
}];
|
|
3286
|
+
readonly docSummary: "生命周期(persist / expires / warm)";
|
|
3287
|
+
}, {
|
|
3288
|
+
readonly id: "object.poll";
|
|
3289
|
+
readonly context: "object";
|
|
3290
|
+
readonly key: "poll";
|
|
3291
|
+
readonly order: 20;
|
|
3292
|
+
readonly origin: "extra";
|
|
3293
|
+
readonly surface: readonly ["standard"];
|
|
3294
|
+
readonly value: {
|
|
3295
|
+
readonly kind: "shape";
|
|
3296
|
+
readonly contains: "poll";
|
|
3297
|
+
};
|
|
3298
|
+
readonly default: null;
|
|
3299
|
+
readonly sample: {
|
|
3300
|
+
readonly value: {
|
|
3301
|
+
readonly every: 5;
|
|
3302
|
+
readonly while: {
|
|
3303
|
+
readonly field: "status";
|
|
3304
|
+
readonly in: readonly ["running"];
|
|
3305
|
+
};
|
|
3306
|
+
};
|
|
3307
|
+
readonly root: {
|
|
3308
|
+
readonly from: readonly [{
|
|
3309
|
+
readonly api: "/api/orders";
|
|
3310
|
+
}];
|
|
3311
|
+
readonly fields: {
|
|
3312
|
+
readonly status: {
|
|
3313
|
+
readonly type: "enum";
|
|
3314
|
+
readonly options: readonly [{
|
|
3315
|
+
readonly key: "running";
|
|
3316
|
+
readonly label: "运行中";
|
|
3317
|
+
readonly class: "active";
|
|
3318
|
+
}];
|
|
3319
|
+
};
|
|
3320
|
+
};
|
|
3321
|
+
readonly roles: {
|
|
3322
|
+
readonly status: "status";
|
|
3323
|
+
};
|
|
3324
|
+
};
|
|
3325
|
+
};
|
|
3326
|
+
readonly carry: {
|
|
3327
|
+
readonly transform: "ObjectPoll";
|
|
3328
|
+
};
|
|
3329
|
+
readonly prop: "poll";
|
|
3330
|
+
readonly carriesTo: readonly [{
|
|
3331
|
+
readonly path: readonly [{
|
|
3332
|
+
readonly stage: "core-config";
|
|
3333
|
+
readonly prop: "SomaDataObjectConfig.poll";
|
|
3334
|
+
}];
|
|
3335
|
+
readonly terminal: {
|
|
3336
|
+
readonly kind: "consumed";
|
|
3337
|
+
readonly readers: readonly ["soma-core/core/client/parser/data-config-parser.ts", "soma-ui/src/compiler/driver/data-facts.ts"];
|
|
3338
|
+
};
|
|
3339
|
+
}];
|
|
3340
|
+
readonly effect: {
|
|
3341
|
+
readonly changes: readonly ["artifact"];
|
|
3342
|
+
};
|
|
3343
|
+
readonly docSummary: "自动重取";
|
|
3344
|
+
readonly status: "implemented";
|
|
3345
|
+
}, {
|
|
3346
|
+
readonly id: "field.calc";
|
|
3347
|
+
readonly context: "field";
|
|
3348
|
+
readonly key: "calc";
|
|
3349
|
+
readonly order: 6;
|
|
3350
|
+
readonly origin: "base";
|
|
3351
|
+
readonly surface: readonly ["standard"];
|
|
3352
|
+
readonly value: {
|
|
3353
|
+
readonly kind: "string";
|
|
3354
|
+
};
|
|
3355
|
+
readonly default: null;
|
|
3356
|
+
readonly sample: {
|
|
3357
|
+
readonly value: "[revenue] - [cost]";
|
|
3358
|
+
readonly root: {
|
|
3359
|
+
readonly from: readonly [{
|
|
3360
|
+
readonly api: "/api/orders";
|
|
3361
|
+
}];
|
|
3362
|
+
readonly fields: {
|
|
3363
|
+
readonly revenue: {
|
|
3364
|
+
readonly type: "money";
|
|
3365
|
+
};
|
|
3366
|
+
readonly cost: {
|
|
3367
|
+
readonly type: "money";
|
|
3368
|
+
};
|
|
3369
|
+
readonly f: {
|
|
3370
|
+
readonly type: "money";
|
|
3371
|
+
};
|
|
3372
|
+
};
|
|
3373
|
+
};
|
|
3374
|
+
};
|
|
3375
|
+
readonly carry: "passthrough";
|
|
3376
|
+
readonly prop: "calc";
|
|
3377
|
+
readonly carriesTo: readonly [{
|
|
3378
|
+
readonly path: readonly [{
|
|
3379
|
+
readonly stage: "core-config";
|
|
3380
|
+
readonly prop: "SomaDataFieldConfig.calc";
|
|
3381
|
+
}];
|
|
3382
|
+
readonly terminal: {
|
|
3383
|
+
readonly kind: "consumed";
|
|
3384
|
+
readonly readers: readonly ["soma-core/core/client/data/", "soma-ui/src/compiler/certify/invariants/edit.ts", "soma-ui/src/compiler/page/region-scope.ts", "soma-ui/src/data-kit/"];
|
|
3385
|
+
};
|
|
3386
|
+
}, {
|
|
3387
|
+
readonly path: readonly [{
|
|
3388
|
+
readonly stage: "core-config";
|
|
3389
|
+
readonly prop: "SomaDataFieldConfig.calc";
|
|
3390
|
+
}, {
|
|
3391
|
+
readonly stage: "facts";
|
|
3392
|
+
readonly prop: "SomaFieldFact.derived";
|
|
3393
|
+
}];
|
|
3394
|
+
readonly terminal: {
|
|
3395
|
+
readonly kind: "consumed";
|
|
3396
|
+
readonly readers: readonly ["soma-ui/src/compiler/need/object-facts.ts", "soma-ui/src/compiler/settle/style.ts"];
|
|
3397
|
+
};
|
|
3398
|
+
}];
|
|
3399
|
+
readonly effect: {
|
|
3400
|
+
readonly changes: readonly ["artifact"];
|
|
3401
|
+
};
|
|
3402
|
+
readonly docSummary: "派生";
|
|
3403
|
+
readonly status: "implemented";
|
|
3404
|
+
}, {
|
|
3405
|
+
readonly id: "field.default";
|
|
3406
|
+
readonly context: "field";
|
|
3407
|
+
readonly key: "default";
|
|
3408
|
+
readonly order: 29;
|
|
3409
|
+
readonly origin: "extra";
|
|
3410
|
+
readonly surface: readonly ["standard"];
|
|
3411
|
+
readonly value: {
|
|
3412
|
+
readonly kind: "any";
|
|
3413
|
+
};
|
|
3414
|
+
readonly default: null;
|
|
3415
|
+
readonly sample: {
|
|
3416
|
+
readonly value: "open";
|
|
3417
|
+
readonly with: {
|
|
3418
|
+
readonly type: "text";
|
|
3419
|
+
readonly permission: "w";
|
|
3420
|
+
};
|
|
3421
|
+
};
|
|
3422
|
+
readonly carry: {
|
|
3423
|
+
readonly transform: "FieldDefault";
|
|
3424
|
+
};
|
|
3425
|
+
readonly prop: "default";
|
|
3426
|
+
readonly carriesTo: readonly [{
|
|
3427
|
+
readonly path: readonly [{
|
|
3428
|
+
readonly stage: "core-config";
|
|
3429
|
+
readonly prop: "SomaDataFieldConfig.default";
|
|
3430
|
+
}];
|
|
3431
|
+
readonly terminal: {
|
|
3432
|
+
readonly kind: "consumed";
|
|
3433
|
+
readonly readers: readonly ["soma-core/core/client/validation/form-draft.ts", "soma-core/core/client/data/data-object-resolver.ts"];
|
|
3434
|
+
};
|
|
3435
|
+
}];
|
|
3436
|
+
readonly effect: {
|
|
3437
|
+
readonly changes: readonly ["artifact"];
|
|
3438
|
+
};
|
|
3439
|
+
readonly docSummary: "新建初值";
|
|
3440
|
+
readonly status: "implemented";
|
|
3441
|
+
}];
|
|
3442
|
+
readonly views: readonly [{
|
|
3443
|
+
readonly name: "SOMA_DATA_OBJECT_KEYS";
|
|
3444
|
+
readonly kind: "keys";
|
|
3445
|
+
readonly context: "object";
|
|
3446
|
+
readonly type: "strings";
|
|
3447
|
+
readonly reconcilesWith: "soma-core/core/client/parser/data-config-parser.ts#SOMA_DATA_OBJECT_KEYS";
|
|
3448
|
+
}, {
|
|
3449
|
+
readonly name: "SOMA_DATA_FIELD_KEYS";
|
|
3450
|
+
readonly kind: "keys";
|
|
3451
|
+
readonly context: "field";
|
|
3452
|
+
readonly type: "strings";
|
|
3453
|
+
readonly reconcilesWith: "soma-core/core/client/parser/data-config-parser.ts#SOMA_DATA_FIELD_KEYS";
|
|
3454
|
+
}, {
|
|
3455
|
+
readonly name: "SOMA_DATA_RULE_KEYS";
|
|
3456
|
+
readonly kind: "keys";
|
|
3457
|
+
readonly context: "field.rule";
|
|
3458
|
+
readonly type: "tuple";
|
|
3459
|
+
readonly reconcilesWith: "soma-core/core/client/parser/data-config-parser.ts#SOMA_DATA_RULE_KEYS";
|
|
3460
|
+
}, {
|
|
3461
|
+
readonly name: "SOMA_DATA_WRITE_KEYS";
|
|
3462
|
+
readonly kind: "keys";
|
|
3463
|
+
readonly context: "write";
|
|
3464
|
+
readonly type: "tuple";
|
|
3465
|
+
readonly reconcilesWith: "soma-core/core/client/parser/data-config-parser.ts#SOMA_DATA_WRITE_KEYS";
|
|
3466
|
+
}, {
|
|
3467
|
+
readonly name: "SOMA_PAGE_ENVELOPE_KEYS";
|
|
3468
|
+
readonly kind: "keys";
|
|
3469
|
+
readonly context: "page.envelope";
|
|
3470
|
+
readonly type: "tuple";
|
|
3471
|
+
readonly reconcilesWith: "soma-core/core/shared/page-envelope.ts#SOMA_PAGE_ENVELOPE_KEYS";
|
|
3472
|
+
}, {
|
|
3473
|
+
readonly name: "SOMA_PAGE_ENVELOPE_PARAM_KEYS";
|
|
3474
|
+
readonly kind: "keys";
|
|
3475
|
+
readonly context: "page.envelope.params";
|
|
3476
|
+
readonly type: "tuple";
|
|
3477
|
+
readonly reconcilesWith: "soma-core/core/shared/page-envelope.ts#SOMA_PAGE_ENVELOPE_PARAM_KEYS";
|
|
3478
|
+
}, {
|
|
3479
|
+
readonly name: "SOMA_PAGE_ENVELOPE_QUERY_KEYS";
|
|
3480
|
+
readonly kind: "keys";
|
|
3481
|
+
readonly context: "page.envelope.query";
|
|
3482
|
+
readonly type: "tuple";
|
|
3483
|
+
readonly reconcilesWith: "soma-core/core/shared/page-envelope.ts#SOMA_PAGE_ENVELOPE_QUERY_KEYS";
|
|
3484
|
+
}, {
|
|
3485
|
+
readonly name: "SOMA_PAGE_ENVELOPE_NAV_KEYS";
|
|
3486
|
+
readonly kind: "keys";
|
|
3487
|
+
readonly context: "page.envelope.nav";
|
|
3488
|
+
readonly type: "tuple";
|
|
3489
|
+
readonly reconcilesWith: "soma-core/core/shared/page-envelope.ts#SOMA_PAGE_ENVELOPE_NAV_KEYS";
|
|
3490
|
+
}, {
|
|
3491
|
+
readonly name: "SOMA_PAGE_ENVELOPE_ACCESS_KEYS";
|
|
3492
|
+
readonly kind: "keys";
|
|
3493
|
+
readonly context: "page.envelope.access";
|
|
3494
|
+
readonly type: "tuple";
|
|
3495
|
+
readonly reconcilesWith: "soma-core/core/shared/page-envelope.ts#SOMA_PAGE_ENVELOPE_ACCESS_KEYS";
|
|
3496
|
+
}, {
|
|
3497
|
+
readonly name: "SOMA_PAGE_ENVELOPE_META_KEYS";
|
|
3498
|
+
readonly kind: "keys";
|
|
3499
|
+
readonly context: "page.envelope.meta";
|
|
3500
|
+
readonly type: "tuple";
|
|
3501
|
+
readonly reconcilesWith: "soma-core/core/shared/page-envelope.ts#SOMA_PAGE_ENVELOPE_META_KEYS";
|
|
3502
|
+
}, {
|
|
3503
|
+
readonly name: "SOMA_PAGE_ENVELOPE_SOURCE_KEYS";
|
|
3504
|
+
readonly kind: "keys";
|
|
3505
|
+
readonly context: "page.envelope.source";
|
|
3506
|
+
readonly type: "tuple";
|
|
3507
|
+
readonly reconcilesWith: "soma-core/core/shared/page-envelope.ts#SOMA_PAGE_ENVELOPE_SOURCE_KEYS";
|
|
3508
|
+
}, {
|
|
3509
|
+
readonly name: "SOMA_PAGE_ENVELOPE_LIFECYCLE_KEYS";
|
|
3510
|
+
readonly kind: "keys";
|
|
3511
|
+
readonly context: "page.envelope.lifecycle";
|
|
3512
|
+
readonly type: "tuple";
|
|
3513
|
+
readonly reconcilesWith: "soma-core/core/shared/page-envelope.ts#SOMA_PAGE_ENVELOPE_LIFECYCLE_KEYS";
|
|
3514
|
+
}];
|
|
3515
|
+
};
|