From a670aea26387ea6e35ebc22385bda6da0269ad82 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 6 Aug 2026 15:59:02 +0000 Subject: [PATCH 1/3] =?UTF-8?q?feat(spec):=20ADR-0122=20phase=201=20?= =?UTF-8?q?=E2=80=94=20name=20the=20parsed=20state=20`XParsed`=20(#5551)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `packages/spec` named a schema's two types (`z.input` = author state, `z.infer` = parsed state) two different ways, with nothing recorded about which was which. Measured on origin/main: 1384 bare aliases mean the parsed state, 86 mean the author state, and three first-hand sources each called the 8-file minority "the house convention". No ADR recorded either. ADR-0122 settles it — bare name = author state, `XParsed` = parsed state — and lands additively. Phase 1 declares `XParsed` for the 660 aliases whose schema genuinely has two shapes, so the major-window flip has a migration target everywhere it changes meaning. Nothing renamed, nothing removed, every `XInput` left in place. - ADR-0122, with both measurement rounds as its appendix - 660 `XParsed` aliases across 152 `*.zod.ts` files - 717 isomorphic schemas pinned with compile-time assertions, so the D3 exemption cannot rot silently when one later gains a `.default()` - `check:spec-parsed-alias` backflow gate (lint.yml), reading the pin file as its exemption registry - SYNC_ARCHITECTURE.md: correct the sentence that called the minority spelling the house convention Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_011M7UwH25Unfi73UHim7ajY --- .../spec-type-alias-parsed-convention.md | 54 + .github/workflows/lint.yml | 18 + ...122-schema-type-alias-naming-convention.md | 273 ++++ package.json | 1 + packages/spec/docs/SYNC_ARCHITECTURE.md | 20 +- packages/spec/src/ai/agent.zod.ts | 4 + packages/spec/src/ai/conversation.zod.ts | 14 + packages/spec/src/ai/mcp.zod.ts | 4 + packages/spec/src/ai/model-registry.zod.ts | 16 + packages/spec/src/ai/skill.zod.ts | 2 + .../spec/src/ai/solution-blueprint.zod.ts | 8 + packages/spec/src/api/analytics.zod.ts | 4 + packages/spec/src/api/auth-endpoints.zod.ts | 8 + packages/spec/src/api/auth.zod.ts | 8 + packages/spec/src/api/automation-api.zod.ts | 24 + packages/spec/src/api/batch.zod.ts | 10 + packages/spec/src/api/contract.zod.ts | 24 + packages/spec/src/api/dispatcher.zod.ts | 4 + packages/spec/src/api/documentation.zod.ts | 14 + packages/spec/src/api/endpoint.zod.ts | 2 + packages/spec/src/api/errors.zod.ts | 4 + packages/spec/src/api/export.zod.ts | 34 + packages/spec/src/api/http-cache.zod.ts | 6 + packages/spec/src/api/metadata.zod.ts | 38 + packages/spec/src/api/odata.zod.ts | 4 + packages/spec/src/api/package-api.zod.ts | 28 + packages/spec/src/api/plugin-rest-api.zod.ts | 14 + packages/spec/src/api/protocol.zod.ts | 34 + packages/spec/src/api/query-adapter.zod.ts | 6 + packages/spec/src/api/realtime.zod.ts | 2 + packages/spec/src/api/rest-server.zod.ts | 12 + packages/spec/src/api/router.zod.ts | 4 + packages/spec/src/api/storage.zod.ts | 20 + packages/spec/src/api/versioning.zod.ts | 2 + packages/spec/src/api/websocket.zod.ts | 4 + packages/spec/src/automation/approval.zod.ts | 4 + .../spec/src/automation/bpmn-interop.zod.ts | 8 + .../spec/src/automation/flow-function.zod.ts | 4 + .../spec/src/automation/node-executor.zod.ts | 6 + packages/spec/src/automation/webhook.zod.ts | 2 + packages/spec/src/cloud/app-store.zod.ts | 16 + .../spec/src/cloud/developer-portal.zod.ts | 10 + .../spec/src/cloud/environment-package.zod.ts | 8 + packages/spec/src/cloud/environment.zod.ts | 12 + .../spec/src/cloud/marketplace-admin.zod.ts | 10 + packages/spec/src/cloud/marketplace.zod.ts | 14 + .../spec/src/cloud/package-version.zod.ts | 6 + packages/spec/src/cloud/package.zod.ts | 2 + packages/spec/src/cloud/tenant.zod.ts | 10 + packages/spec/src/data/analytics.zod.ts | 4 + packages/spec/src/data/data-engine.zod.ts | 8 + packages/spec/src/data/datasource.zod.ts | 4 + packages/spec/src/data/document.zod.ts | 8 + packages/spec/src/data/driver-nosql.zod.ts | 10 + packages/spec/src/data/driver-sql.zod.ts | 4 + packages/spec/src/data/driver.zod.ts | 6 + packages/spec/src/data/driver/memory.zod.ts | 6 + packages/spec/src/data/driver/mongo.zod.ts | 2 + packages/spec/src/data/driver/mysql.zod.ts | 2 + packages/spec/src/data/driver/postgres.zod.ts | 2 + packages/spec/src/data/driver/sqlite.zod.ts | 4 + .../spec/src/data/external-catalog.zod.ts | 6 + packages/spec/src/data/external-lookup.zod.ts | 4 + packages/spec/src/data/field.zod.ts | 6 + packages/spec/src/data/hook-body.zod.ts | 4 + packages/spec/src/data/mapping.zod.ts | 4 + packages/spec/src/data/object.zod.ts | 16 + packages/spec/src/data/query.zod.ts | 4 + packages/spec/src/data/seed-loader.zod.ts | 14 + packages/spec/src/data/seed.zod.ts | 2 + packages/spec/src/data/validation.zod.ts | 14 +- packages/spec/src/identity/eval-user.zod.ts | 2 + packages/spec/src/identity/identity.zod.ts | 4 + .../spec/src/identity/organization.zod.ts | 2 + packages/spec/src/identity/position.zod.ts | 2 + packages/spec/src/identity/scim.zod.ts | 20 + .../spec/src/integration/connector.zod.ts | 20 + packages/spec/src/kernel/cluster.zod.ts | 6 + packages/spec/src/kernel/context.zod.ts | 6 + packages/spec/src/kernel/events/bus.zod.ts | 2 + packages/spec/src/kernel/events/core.zod.ts | 4 + packages/spec/src/kernel/events/dlq.zod.ts | 4 + .../spec/src/kernel/events/handlers.zod.ts | 4 + .../src/kernel/events/integrations.zod.ts | 6 + packages/spec/src/kernel/events/queue.zod.ts | 6 + .../spec/src/kernel/execution-context.zod.ts | 2 + packages/spec/src/kernel/manifest.zod.ts | 2 + .../src/kernel/metadata-customization.zod.ts | 6 + .../spec/src/kernel/metadata-plugin.zod.ts | 2 + .../spec/src/kernel/package-artifact.zod.ts | 6 + .../spec/src/kernel/package-registry.zod.ts | 14 + .../spec/src/kernel/package-upgrade.zod.ts | 12 + .../spec/src/kernel/plugin-capability.zod.ts | 12 + .../kernel/plugin-lifecycle-advanced.zod.ts | 14 + .../spec/src/kernel/plugin-loading.zod.ts | 22 + .../spec/src/kernel/plugin-registry.zod.ts | 8 + .../kernel/plugin-security-advanced.zod.ts | 16 + .../spec/src/kernel/plugin-security.zod.ts | 22 + .../spec/src/kernel/plugin-versioning.zod.ts | 14 + .../spec/src/kernel/service-registry.zod.ts | 6 + .../src/kernel/startup-orchestrator.zod.ts | 2 + packages/spec/src/security/explain.zod.ts | 8 + packages/spec/src/security/permission.zod.ts | 8 + packages/spec/src/security/rls.zod.ts | 2 + packages/spec/src/security/sharing.zod.ts | 4 + packages/spec/src/shared/branded-types.zod.ts | 12 + .../spec/src/shared/connector-auth.zod.ts | 2 + packages/spec/src/shared/http.zod.ts | 6 + packages/spec/src/shared/mapping.zod.ts | 4 + packages/spec/src/stack.zod.ts | 2 + packages/spec/src/studio/flow-builder.zod.ts | 8 + .../spec/src/studio/object-designer.zod.ts | 24 + packages/spec/src/studio/plugin.zod.ts | 12 + packages/spec/src/system/app-install.zod.ts | 8 + packages/spec/src/system/auth-config.zod.ts | 10 + packages/spec/src/system/cache.zod.ts | 10 + .../spec/src/system/change-management.zod.ts | 2 + packages/spec/src/system/collaboration.zod.ts | 16 + packages/spec/src/system/deploy-bundle.zod.ts | 12 + .../spec/src/system/disaster-recovery.zod.ts | 12 + packages/spec/src/system/email-config.zod.ts | 2 + .../spec/src/system/email-template.zod.ts | 4 + packages/spec/src/system/encryption.zod.ts | 6 + .../src/system/environment-artifact.zod.ts | 2 + packages/spec/src/system/http-server.zod.ts | 6 + .../spec/src/system/incident-response.zod.ts | 6 + packages/spec/src/system/job.zod.ts | 6 + packages/spec/src/system/license.zod.ts | 4 + packages/spec/src/system/logging.zod.ts | 14 + packages/spec/src/system/message-queue.zod.ts | 8 + .../src/system/metadata-persistence.zod.ts | 8 + packages/spec/src/system/metrics.zod.ts | 12 + packages/spec/src/system/migration.zod.ts | 4 + .../spec/src/system/object-storage.zod.ts | 14 + .../spec/src/system/registry-config.zod.ts | 4 + packages/spec/src/system/search-engine.zod.ts | 6 + .../spec/src/system/security-context.zod.ts | 12 + .../spec/src/system/settings-manifest.zod.ts | 8 + packages/spec/src/system/stack-server.zod.ts | 6 + .../spec/src/system/supplier-security.zod.ts | 6 + packages/spec/src/system/tenant.zod.ts | 12 + packages/spec/src/system/tracing.zod.ts | 14 + packages/spec/src/system/training.zod.ts | 4 + packages/spec/src/system/worker.zod.ts | 12 + .../src/type-alias-convention.pin.test.ts | 1385 +++++++++++++++++ packages/spec/src/ui/action.zod.ts | 8 + packages/spec/src/ui/app.zod.ts | 22 + packages/spec/src/ui/bulk-action.zod.ts | 2 + packages/spec/src/ui/chart.zod.ts | 10 + packages/spec/src/ui/dashboard.zod.ts | 8 + packages/spec/src/ui/i18n.zod.ts | 4 + packages/spec/src/ui/page.zod.ts | 10 + packages/spec/src/ui/report.zod.ts | 6 + packages/spec/src/ui/sharing.zod.ts | 2 + packages/spec/src/ui/theme.zod.ts | 2 + packages/spec/src/ui/view.zod.ts | 44 + packages/spec/src/ui/widget.zod.ts | 10 + scripts/adr-anchors.json | 14 + scripts/check-spec-parsed-alias.mjs | 350 +++++ 159 files changed, 3431 insertions(+), 6 deletions(-) create mode 100644 .changeset/spec-type-alias-parsed-convention.md create mode 100644 docs/adr/0122-schema-type-alias-naming-convention.md create mode 100644 packages/spec/src/type-alias-convention.pin.test.ts create mode 100644 scripts/check-spec-parsed-alias.mjs diff --git a/.changeset/spec-type-alias-parsed-convention.md b/.changeset/spec-type-alias-parsed-convention.md new file mode 100644 index 0000000000..108211e02d --- /dev/null +++ b/.changeset/spec-type-alias-parsed-convention.md @@ -0,0 +1,54 @@ +--- +"@objectstack/spec": minor +--- + +feat(spec): name the parsed state `XParsed` on every schema that has one (ADR-0122, #5551) + +A Zod schema denotes two types — `z.input` (what an author writes: defaulted keys +optional, pre-transform) and `z.infer` (what `.parse()` returns) — and `packages/spec` +has been naming them two different ways with nothing written down about which is which. +Measurement on `origin/main`: **1384** bare aliases mean the parsed state, **86** mean +the author state, and three separate first-hand sources each described the 8-file +minority as "the house convention". No ADR recorded either spelling. + +**[ADR-0122](https://github.com/objectstack-ai/objectstack/blob/main/docs/adr/0122-schema-type-alias-naming-convention.md) +settles it: the bare name `X` is the AUTHOR state, `XParsed` is the PARSED state.** The +deciding argument is the keystroke every author writes first — `const c: Connector = { … }` +— which should be correct by default in every domain, without knowing which file you are in. + +**This release is phase 1, and it is purely additive. Nothing is renamed or removed; +no existing annotation stops compiling.** It declares `XParsed` for the **660** aliases +whose schema genuinely has two distinct shapes, so that every consumer whose meaning +phase 2 will change already has a name to move to: + +```ts +// before — one name, meaning the parsed state +export type Connector = z.infer< typeof ConnectorSchema >; +export type ConnectorInput = z.input< typeof ConnectorSchema >; + +// after — the parsed state also has a name that will keep meaning it +export type Connector = z.infer< typeof ConnectorSchema >; +export type ConnectorParsed = z.infer< typeof ConnectorSchema >; // new +export type ConnectorInput = z.input< typeof ConnectorSchema >; // unchanged +``` + +Schemas whose `z.input` and `z.infer` are the *same* type (enums, plain unions, objects +with no defaults or transforms anywhere in their tree) deliberately get **no** `XParsed` +— a permanent synonym is a name you can only pick wrongly. All 717 of them are pinned +with compile-time assertions so the exemption cannot rot silently when one later gains +a `.default()`. + +**What to do now (optional, and cheap).** If you hold the result of a `.parse()` — or of +a `defineX()` factory, which returns it — move that annotation to `XParsed`: + +```ts +-const c: Connector = ConnectorSchema.parse(raw); ++const c: ConnectorParsed = ConnectorSchema.parse(raw); +``` + +Annotations on values you *write* need no change now and will be correct after phase 2. +Doing nothing is also fine until then. + +**What comes next.** Phase 2 flips the bare names to `z.input` and ships in a major, with +its own changeset and migration notes. `XInput` aliases are untouched by this release and +their fate is decided then. diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e9cc49b8f1..4656397bb7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -399,6 +399,24 @@ jobs: - name: Resume-authority declaration gate run: pnpm check:resume-authority-declared + # ADR-0122 type-alias convention gate (#5551). `packages/spec` spelled the + # same idea two ways for its whole life — 1384 bare aliases meaning the + # PARSED state, 86 meaning the AUTHOR state — and three first-hand sources + # each called the 8-file minority "the house convention". ADR-0122 settles + # it (bare = author state, `XParsed` = parsed state) and lands phase 1 + # additively: an `XParsed` wherever the parsed state is a distinct type, so + # the major-window flip of the bare names has a migration target everywhere + # it changes meaning. This gate is what stops that coverage from decaying — + # a new bare `z.infer` alias must either declare its `XParsed` or be pinned + # isomorphic in `packages/spec/src/type-alias-convention.pin.test.ts`, where + # tsc proves the exemption rather than a comment asserting it. Static text + # scan, no build needed, so it belongs in this job. Runs its own + # --self-test first: the detector can be broken while every alias is fine, + # and a scan that stops matching would report OK while reading nothing + # (#4868's family). + - name: Spec type-alias convention gate (ADR-0122) + run: pnpm check:spec-parsed-alias + typecheck: name: TypeScript Type Check runs-on: ubuntu-latest diff --git a/docs/adr/0122-schema-type-alias-naming-convention.md b/docs/adr/0122-schema-type-alias-naming-convention.md new file mode 100644 index 0000000000..bfd822bccd --- /dev/null +++ b/docs/adr/0122-schema-type-alias-naming-convention.md @@ -0,0 +1,273 @@ +# ADR-0122: One naming family for schema type aliases — bare name is the author state, `XParsed` is the parsed state + +**Status**: Accepted (2026-08-06) — ruled by the maintainer on 2026-08-06 on the #5551 decision brief ("裁 C,分期倾向 C2"). **Phase 1 (additive `XParsed` + backflow gate) implemented in #5551.** Phase 2 (flipping the bare names, and deciding `XInput`'s fate) is deferred to the next `@objectstack/spec` major and is **not** authorized by this record beyond the direction it fixes. +**Deciders**: ObjectStack Protocol Architects +**Builds on**: [ADR-0089](./0089-unify-visibility-predicate-naming.md) (canonical name + alias + lint + phased major — the template this reuses, and the reason the phasing looks familiar), [ADR-0087](./0087-metadata-protocol-upgrade-contract.md) (the upgrade contract this change deliberately does *not* need, because phase 1 removes nothing), [ADR-0033](./0033-ai-assisted-metadata-authoring.md) (the AI-authoring population whose default keystroke this decision is chosen to make correct) +**Consumers**: `@objectstack/spec` (every `src/**/*.zod.ts`), every package and example app that annotates a value with a spec type, `@objectstack/qa`'s downstream-contract fixtures, and every AI author of `*.object.ts` / `*.view.ts` / connector and flow definitions +**Surfaced by**: #5551, which was filed to move `integration/connector.zod.ts` onto what its author believed was the established house convention — and which measurement disproved. There was no house convention; there were two undocumented dialects, and the one three separate sources called "the house convention" was the 8-file minority. + +--- + +## TL;DR + +A Zod schema denotes **two** types, and `packages/spec` has been spelling them two +different ways with nothing written down about which is which: + +| | what it is | who holds it | +|:---|:---|:---| +| `z.input` | the **author state** — defaulted keys optional, pre-transform | anyone writing metadata by hand or by LLM | +| `z.infer` | the **parsed state** — defaults applied, transforms run | anyone holding the result of `XSchema.parse(...)` | + +**Decision: the bare name `X` denotes the AUTHOR state; `XParsed` denotes the PARSED +state.** The deciding argument is the one keystroke every author writes first — +`const c: Connector = { ... }` — which must be correct by default, everywhere, without +the author knowing which domain they are in. + +Flipping 1384 aliases is a major-window change. So this lands in two phases, and +**phase 1 breaks nothing**: it *adds* `XParsed` wherever the parsed state is a +genuinely distinct type, so that every consumer whose meaning phase 2 will change +already has a name to move to. A gate keeps that coverage from decaying in between. + +## Context + +### There was no house convention — there were two dialects and a misreading + +#5551 opened with a table asserting that `shared/retry-policy.zod.ts` "and the great +majority of its siblings" put the author shape on the bare name, making +`integration/connector.zod.ts` a third, deviant spelling. A full census of +`packages/spec/src/**/*.zod.ts` (208 files, 1612 alias declarations) says the opposite: + +| bare alias reads | count | +|:---|---:| +| `z.infer` — the parsed state (connector's spelling) | **1384** | +| `z.input` — the author state (retry-policy's spelling) | **86** | + +Grouped by which name carries the author state: + +| family | shape | files | note | +|:---|:---|---:|:---| +| **A** | bare = `z.input`, parsed = `XParsed` | **8** | `automation/` (7) + `shared/retry-policy.zod.ts` | +| **B** | bare = `z.infer`, author state on `XInput` where it is named at all | **189** | every domain | + +Three first-hand sources describe family A as the house convention, and **all three +scope it to `automation/`**: `retry-policy.zod.ts`'s own JSDoc says "the house `X` / +`XParsed` convention used by **the sibling control-flow configs**"; #4963 called `etl` +"the last file **in `automation/`** that had not caught up"; #5507's title is "two more +places **in `automation/`** that have not honoured `X` / `XParsed`". A full sweep of +`docs/adr/` found **no ADR recording either dialect**. So the sentence everyone was +reasoning from — "connector deviates from the house convention" — was describing a +local practice as a global one, and no record existed to correct it. + +That is the actual defect this ADR fixes. Not connector: the **absence of a written +decision**, which let a local habit be cited as a global rule and nearly bought a +breaking rename that would have moved one file from the 189-file majority into the +8-file minority, lowering repo-wide consistency at the cost of a public API break. + +### Why not simply bless the majority + +Family B is the majority, and "the majority wins" is the cheapest migration. It is +also the option that leaves the default keystroke wrong forever. + +Under B, `const c: Connector = { ... }` does not compile — `enabled`, `status`, +`connectionTimeoutMs`, all of `syncConfig`'s defaulted keys are required in the parsed +state, and `syncConfig.schedule` demands the `{ dialect, source }` envelope instead of +the cron string an author writes. The author's recourse is to know that this domain +spells the author state `ConnectorInput`. That is a fact about a file, and an LLM +generating metadata has no reliable way to know it — which is exactly how #5515's +fourth diagnostic (a bare cron string that would not compile) was produced, and it was +closed by editing the *example's annotation* rather than the cause. + +Family A makes the first keystroke right. Every author, human or model, who writes +`const c: Connector = { ... }` and lists only what they mean is correct, in every +domain, with nothing memorized. That is the ADR-0033 axis, and it decides this. + +## Decision + +**D1 — The bare alias name denotes the AUTHOR state.** For a schema `XSchema`, +`export type X = z.input`. This is the name documentation, examples, +skills and AI authoring surfaces use for the thing an author writes. + +**D2 — `XParsed` denotes the PARSED state.** `export type XParsed = z.infer` — the shape `XSchema.parse(...)` returns, with defaults applied and +transforms run. `XParsed` is the *only* sanctioned name for it: not `XOutput`, not +`XResolved`, not `XParsedType`. + +**D3 — A schema with only one shape gets only the bare name.** When `z.input` and +`z.infer` of a schema are the *same type* (enums, plain unions, objects with no +`.default()` / `.transform()` / `.catch()` / `.pipe()` anywhere in their tree), the +parsed state is not a distinct thing and **must not** be given a second name. A +permanent synonym is a name an author can only pick wrongly, and 721 of them would be +721 coin flips added to the public surface for no gain. This is the startup-focus +principle applied to vocabulary: a name earns its place from a use it actually serves. + +**D4 — Phase 1 is additive and ships as a minor.** It declares `XParsed` for every bare +`z.infer` alias covered by D5, changes no existing declaration, removes no export +(including every `XInput`), and alters no schema semantics. Nothing an author or +consumer writes today stops compiling. + +**D5 — The phase-1 coverage criterion: an alias is covered iff its schema's two shapes +differ.** Concretely: `export type X = z.infer` receives a sibling +`export type XParsed = z.infer` if and only if +`z.input` is not the same type as `z.infer`. + +The criterion follows from what phase 1 is *for*. Phase 2 changes what the bare name +means. It changes it observably **exactly** where the two shapes differ; where they +coincide the flip is a no-op and there is nothing to migrate. So the set that needs a +migration target now is precisely the set whose meaning will move — no smaller (or +phase 2 breaks consumers with nowhere to go), and no larger (or the surface gains +synonyms that violate D3). + +Two alternatives were measured and rejected: + +- **"Cover the schemas that already declare an `XInput`"** (102 aliases, 52 files) — + the reading the dispatch inherited from the first measurement summary. It is the + wrong set: of the 663 aliases whose meaning phase 2 changes, only 91 carry an + `XInput` today. It would leave **571 at-risk aliases with no migration target**, + chosen by the historical accident of who once bothered to name an author shape. +- **"Cover every bare `z.infer` alias"** (1384) — uniform and trivially checkable, but + it mints 717 permanent synonyms in direct violation of D3, and asks every author to + choose between `SyncStrategy` and `SyncStrategyParsed` at 717 sites where the choice + is meaningless. + +**D6 — The complement is PINNED, not merely documented.** D5's exemption is a claim +about types, and isomorphism rots: add a `.default()` three levels down and an alias +silently joins the covered set with no signal. So every exempt schema carries a +compile-time assertion that `z.input` and `z.infer` really are the same type, in +`packages/spec/src/type-alias-convention.pin.test.ts`. tsc proves the exemption on the +same run that type-checks the package, and the file goes red — naming the alias — the +day one stops being true. An exemption nobody can state falsely is the only kind worth +having; this is the same instinct as `check:durability-log-level`'s empty baseline. + +**D7 — The backflow gate.** `pnpm check:spec-parsed-alias` +(`scripts/check-spec-parsed-alias.mjs`, in lint.yml's `lint` job) requires every bare +`z.infer` alias in `packages/spec/src/**/*.zod.ts` to be either paired with its +`XParsed` or pinned under D6, and reports a pin that no alias relies on any more. It +reads the pin file as its registry: **one artifact, two jobs** — the gate gets a +machine-readable exemption list and tsc keeps every entry on it honest. + +The gate is **not** in `packages/lint`. That package's contract is an in-memory, +schema-parsed *metadata graph* — its module header states "no I/O, no runtime, no +filesystem" — and a rule about the shape of our own TypeScript source cannot live there +without being the only rule in the package that opens a file. Source-shape guards +belong with the source-shape guards (`check:error-code-casing`, `check:route-envelope`, +`check:engine-double-contract`). + +**D8 — Phase 2, deferred to the next major.** Flip the covered bare names to +`z.input`, and decide `XInput`'s fate then — retire it in favour of the bare name, or +keep it one release as a deprecated alias. That decision needs its own record, because +`XInput` is load-bearing in at least one place phase 2 must not break: the +`@objectstack/qa` downstream-contract fixtures import eleven domains' `XInput` by name +and their header says "DO NOT migrate these". Phase 1 deliberately leaves every +`XInput` in place, so those fixtures are untouched by this change. + +## Consequences + +- `@objectstack/spec` gains **660 exported type aliases**, all type-only: no runtime + code, no bundle size, no JSON Schema, no authorable surface. `api-surface.json` grows + by the same 660 names; `json-schema/` and `authorable-surface.json` do not move, which + was verified rather than assumed. +- Consumers holding a parsed value can migrate to `XParsed` **now**, incrementally, + under a minor — which is the point. A consumer that does nothing is equally fine + until the major. +- The 717 pinned schemas will occasionally graduate: one gains a `.default()`, the pin + goes red, and the fix is one alias plus one deleted pin line. That is the intended + maintenance, and it is loud. +- #5507 (two `automation/` files that have not honoured `X` / `XParsed`) is re-scoped + by this record rather than closed by it: those files are already in family A, so what + remains there is phase-2 work. +- `packages/spec/docs/SYNC_ARCHITECTURE.md` said connector "has not been moved onto that + house convention yet". Corrected in this change: there was no house convention to be + behind, and the target convention is now this ADR. + +## Appendix: the measurements + +Two independent rounds agree. Round one is the 2026-08-06 03:24Z census recorded on +#5551; round two is this change's re-measurement against `origin/main@739f496`, run +because several `*.zod.ts` files had landed in between (#5976 and others). + +### A. Alias census (round two; round one in brackets where it differed) + +| | value | +|:---|---:| +| `*.zod.ts` files scanned | 208 | +| type-alias declarations matched | 1612 | +| bare alias = `z.infer` | **1384** [1384] | +| bare alias = `z.input` | **86** [86] | +| pre-existing `XParsed` aliases | 36 | +| pre-existing `XInput` aliases | 106 | +| family A files (declare an `XParsed`) | 8 | +| files with at least one bare `z.infer` alias | 189 | +| bare `z.infer` aliases with an `XInput` partner | 102 [108] | +| files containing such a pair | 52 [55] | + +The top-line 1384 / 86 split reproduced exactly. The "B family" figure quoted downstream +as *108 aliases across 55 files* is the `XInput`-partnered subset and has since drifted +to 102 / 52; more importantly, it was never the at-risk set — see C. + +### B. Shape-difference probe + +Every bare `z.infer` alias was compiled against a type-level identity assertion +(`z.input === z.infer`); a failure means the two shapes genuinely differ. 1383 aliases +were probed through their module; `ServiceObject` was probed separately because +`ObjectSchemaBase` is not exported, and it differs. + +| | count | +|:---|---:| +| shape **differs** (covered by D5) | **663** | +| shapes **coincide** (exempt under D3, pinned under D6) | **721** | +| files containing at least one differing alias | 152 | + +Per domain, differing aliases: `api` 155, `system` 125, `kernel` 99, `data` 66, `ui` 64, +`cloud` 44, `ai` 24, `studio` 22, `automation` 15, `identity` 15, `shared` 12, +`security` 11, `integration` 10, root 1. + +### C. Why the `XInput`-partnered set is the wrong criterion + +Of the **663** aliases whose meaning phase 2 changes, only **91** carry an `XInput` +today; **572** have no author-state name at all. Conversely **10** isomorphic aliases +*do* carry an `XInput` that names nothing distinct. Presence of an `XInput` is a fact +about repo history, not about the schema. + +### D. `integration/connector.zod.ts`, the file that surfaced this + +The probe independently reproduced round one's connector table exactly: + +- **shape differs (10)**: `ConnectorFieldMapping`, `DataSyncConfig`, `WebhookConfig`, + `RetryConfig`, `ErrorMappingConfig`, `HealthCheckConfig`, `CircuitBreakerConfig`, + `ConnectorHealth`, `Connector`, `DeclarativeConnectorEntry` +- **isomorphic (9)**: `SyncStrategy`, `ConnectorConflictResolution`, `WebhookEvent`, + `WebhookSignatureAlgorithm`, `ConnectorRetryStrategy`, `ConnectorErrorCategory`, + `ConnectorType`, `ConnectorStatus`, `ErrorMappingRule` + +The twentieth alias, `ConnectorInput`, is already `z.input`. (#5551's body said "20 +`z.infer` bare aliases"; it is 19 plus that one.) + +### E. Three-repo importer survey (round one, unchanged by this phase) + +Recorded for phase 2, which is when it starts to matter. No unexpected live dependency +was found. + +- **objectstack** — bare `Connector` appears in two roles: *parse input* (`registerConnector` + / `registerDegradedConnector`, four connector plugins' registry surface, + `createXConnector()` literals, `ConnectorMaterialization.def`), which keeps the bare + name at phase 2; and *parse result* (`RegisteredConnector.def`, showcase's + `allConnectors`), which moves to `ConnectorParsed`. The other 18 aliases have zero + type-position importers outside `packages/spec`. +- **objectui** — 0. All nine textual hits are English UI copy (`connector: 'Connector'`). +- **cloud** — 2, both *parse input* role, in `plugins/connector-stripe`. + +### F. What phase 1 actually changed + +| | count | +|:---|---:| +| `XParsed` aliases added | **660** | +| `*.zod.ts` files touched | **152** | +| existing declarations modified, renamed or removed | **0** | +| schemas pinned isomorphic | **717** | +| final: bare `z.infer` aliases paired with an `XParsed` | 667 | +| final: bare `z.infer` aliases pinned isomorphic | 717 | + +667 + 717 = 1384, the whole population, which is the gate's own arithmetic on every run. +The 667 is 663 covered by D5 plus 4 isomorphic aliases in `automation/execution.zod.ts` +that already carried an `XParsed` from a half-finished earlier pass; those are left +alone (D4 removes nothing) and simply do not need a pin. diff --git a/package.json b/package.json index d91efdde45..131c444045 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,7 @@ "check:driver-conformance": "node scripts/check-driver-conformance.mjs --self-test && node scripts/check-driver-conformance.mjs", "check:engine-double-contract": "node scripts/check-engine-double-contract.mjs --self-test && node scripts/check-engine-double-contract.mjs", "check:resume-authority-declared": "node scripts/check-resume-authority-declared.mjs --self-test && node scripts/check-resume-authority-declared.mjs", + "check:spec-parsed-alias": "node scripts/check-spec-parsed-alias.mjs --self-test && node scripts/check-spec-parsed-alias.mjs", "check:stall-guard": "node scripts/run-with-stall-guard.mjs --self-test" }, "keywords": [ diff --git a/packages/spec/docs/SYNC_ARCHITECTURE.md b/packages/spec/docs/SYNC_ARCHITECTURE.md index 81899408cb..50862738da 100644 --- a/packages/spec/docs/SYNC_ARCHITECTURE.md +++ b/packages/spec/docs/SYNC_ARCHITECTURE.md @@ -218,12 +218,22 @@ Complete, production-grade integration with external systems. Includes authentic > `method` / `timeoutMs` / `isActive` / `signatureAlgorithm` — is optional when > you write a connector, and `syncConfig.schedule` takes the bare cron string > the schema wraps for you. Annotate the **result** of -> `ConnectorSchema.parse(…)` with the bare **`Connector`**, which is `z.infer`: +> `ConnectorSchema.parse(…)` with **`ConnectorParsed`**, which is `z.infer`: > there those keys are all present and `schedule` is already the -> `{ dialect: 'cron', source }` envelope. Note the asymmetry with L2 above, -> where the bare `ETLPipeline` *is* the author shape and the parse result is -> `ETLPipelineParsed` — `integration/connector.zod.ts` has not been moved onto -> that house convention yet (#5551). The example below states the defaulted +> `{ dialect: 'cron', source }` envelope. (The bare **`Connector`** still means +> that same parsed shape today, and both names are live — but `ConnectorParsed` +> is the one that keeps meaning it.) Note the asymmetry with L2 above, where the +> bare `ETLPipeline` *is* the author shape and the parse result is +> `ETLPipelineParsed`. That asymmetry is real and is being removed, in the +> direction L2 already points: **[ADR-0122](../../../docs/adr/0122-schema-type-alias-naming-convention.md) +> makes the bare name the author state and `XParsed` the parsed state** +> repo-wide. Earlier revisions of this note called L2's spelling "the house +> convention" and said connector had not caught up; #5551 measured the corpus and +> that was backwards — connector's spelling was the 1384-alias majority and L2's +> the 8-file minority, with neither recorded anywhere. ADR-0122 is that record. +> Its phase 1 (additive, no break) has already given every schema with two +> distinct shapes its `XParsed` name, `Connector` included; phase 2 flips the +> bare names in a major. The example below states the defaulted > keys anyway, because it is a tour of the surface; the Migration Guide's > sketches omit them, because that is what ordinary authoring looks like. > To have the literal validated as you write it, prefer `defineConnector(…)`, diff --git a/packages/spec/src/ai/agent.zod.ts b/packages/spec/src/ai/agent.zod.ts index 6db24b2d51..7e5342d2fa 100644 --- a/packages/spec/src/ai/agent.zod.ts +++ b/packages/spec/src/ai/agent.zod.ts @@ -113,6 +113,8 @@ export const StructuredOutputConfigSchema = lazySchema(() => strictObject({ export type StructuredOutputFormat = z.infer; export type TransformPipelineStep = z.infer; export type StructuredOutputConfig = z.infer; +/** Post-parse shape of {@link StructuredOutputConfig} — defaults applied, transforms run (ADR-0122). */ +export type StructuredOutputConfigParsed = z.infer; /** * AI Agent Schema @@ -392,3 +394,5 @@ export function defineAgent(config: z.input): Agent { } export type Agent = z.infer; +/** Post-parse shape of {@link Agent} — defaults applied, transforms run (ADR-0122). */ +export type AgentParsed = z.infer; diff --git a/packages/spec/src/ai/conversation.zod.ts b/packages/spec/src/ai/conversation.zod.ts index 2bdcd1e188..fa6676afc0 100644 --- a/packages/spec/src/ai/conversation.zod.ts +++ b/packages/spec/src/ai/conversation.zod.ts @@ -313,14 +313,28 @@ export const ConversationAnalyticsSchema = lazySchema(() => z.object({ export type MessageRole = z.infer; export type MessageContentType = z.infer; export type MessageContent = z.infer; +/** Post-parse shape of {@link MessageContent} — defaults applied, transforms run (ADR-0122). */ +export type MessageContentParsed = z.infer; export type FunctionCall = z.infer; export type ToolCall = z.infer; +/** Post-parse shape of {@link ToolCall} — defaults applied, transforms run (ADR-0122). */ +export type ToolCallParsed = z.infer; export type ConversationMessage = z.infer; +/** Post-parse shape of {@link ConversationMessage} — defaults applied, transforms run (ADR-0122). */ +export type ConversationMessageParsed = z.infer; export type TokenBudgetStrategy = z.infer; export type TokenBudgetConfig = z.infer; +/** Post-parse shape of {@link TokenBudgetConfig} — defaults applied, transforms run (ADR-0122). */ +export type TokenBudgetConfigParsed = z.infer; export type TokenUsageStats = z.infer; +/** Post-parse shape of {@link TokenUsageStats} — defaults applied, transforms run (ADR-0122). */ +export type TokenUsageStatsParsed = z.infer; export type ConversationContext = z.infer; export type ConversationSession = z.infer; +/** Post-parse shape of {@link ConversationSession} — defaults applied, transforms run (ADR-0122). */ +export type ConversationSessionParsed = z.infer; export type ConversationSummary = z.infer; export type MessagePruningEvent = z.infer; export type ConversationAnalytics = z.infer; +/** Post-parse shape of {@link ConversationAnalytics} — defaults applied, transforms run (ADR-0122). */ +export type ConversationAnalyticsParsed = z.infer; diff --git a/packages/spec/src/ai/mcp.zod.ts b/packages/spec/src/ai/mcp.zod.ts index b5b07aba4b..dab1686679 100644 --- a/packages/spec/src/ai/mcp.zod.ts +++ b/packages/spec/src/ai/mcp.zod.ts @@ -98,8 +98,12 @@ export const MCPToolBindingSchema = lazySchema(() => z.object({ export type MCPTransport = z.infer; export type MCPServerRef = z.infer; +/** Post-parse shape of {@link MCPServerRef} — defaults applied, transforms run (ADR-0122). */ +export type MCPServerRefParsed = z.infer; export type MCPApprovalPolicy = z.infer; export type MCPToolBinding = z.infer; +/** Post-parse shape of {@link MCPToolBinding} — defaults applied, transforms run (ADR-0122). */ +export type MCPToolBindingParsed = z.infer; /** * OAuth 2.1 scopes for the platform's OWN MCP endpoint (`/api/v1/mcp`). diff --git a/packages/spec/src/ai/model-registry.zod.ts b/packages/spec/src/ai/model-registry.zod.ts index 0ac5a7312d..c7bafdc446 100644 --- a/packages/spec/src/ai/model-registry.zod.ts +++ b/packages/spec/src/ai/model-registry.zod.ts @@ -187,11 +187,27 @@ export const ModelSelectionCriteriaSchema = lazySchema(() => z.object({ // Type exports export type ModelProvider = z.infer; export type ModelCapability = z.infer; +/** Post-parse shape of {@link ModelCapability} — defaults applied, transforms run (ADR-0122). */ +export type ModelCapabilityParsed = z.infer; export type ModelLimits = z.infer; export type ModelPricing = z.infer; +/** Post-parse shape of {@link ModelPricing} — defaults applied, transforms run (ADR-0122). */ +export type ModelPricingParsed = z.infer; export type ModelConfig = z.infer; +/** Post-parse shape of {@link ModelConfig} — defaults applied, transforms run (ADR-0122). */ +export type ModelConfigParsed = z.infer; export type PromptVariable = z.infer; +/** Post-parse shape of {@link PromptVariable} — defaults applied, transforms run (ADR-0122). */ +export type PromptVariableParsed = z.infer; export type PromptTemplate = z.infer; +/** Post-parse shape of {@link PromptTemplate} — defaults applied, transforms run (ADR-0122). */ +export type PromptTemplateParsed = z.infer; export type ModelRegistryEntry = z.infer; +/** Post-parse shape of {@link ModelRegistryEntry} — defaults applied, transforms run (ADR-0122). */ +export type ModelRegistryEntryParsed = z.infer; export type ModelRegistry = z.infer; +/** Post-parse shape of {@link ModelRegistry} — defaults applied, transforms run (ADR-0122). */ +export type ModelRegistryParsed = z.infer; export type ModelSelectionCriteria = z.infer; +/** Post-parse shape of {@link ModelSelectionCriteria} — defaults applied, transforms run (ADR-0122). */ +export type ModelSelectionCriteriaParsed = z.infer; diff --git a/packages/spec/src/ai/skill.zod.ts b/packages/spec/src/ai/skill.zod.ts index ae8497e2d2..29494b3c46 100644 --- a/packages/spec/src/ai/skill.zod.ts +++ b/packages/spec/src/ai/skill.zod.ts @@ -187,6 +187,8 @@ export const SkillSchema = lazySchema(() => strictObject({ })); export type Skill = z.infer; +/** Post-parse shape of {@link Skill} — defaults applied, transforms run (ADR-0122). */ +export type SkillParsed = z.infer; // ========================================== // Factory diff --git a/packages/spec/src/ai/solution-blueprint.zod.ts b/packages/spec/src/ai/solution-blueprint.zod.ts index 6dd90c7b3f..9982ca881c 100644 --- a/packages/spec/src/ai/solution-blueprint.zod.ts +++ b/packages/spec/src/ai/solution-blueprint.zod.ts @@ -119,6 +119,8 @@ export const BlueprintViewSchema = lazySchema(() => z.object({ .describe('REQUIRED for kanban views: the select/status field whose options become the board columns (e.g. "stage", "status"). Without it a kanban renders as a plain list. Optional for gantt (groups leaf tasks into summary rows).'), })); export type BlueprintView = z.infer; +/** Post-parse shape of {@link BlueprintView} — defaults applied, transforms run (ADR-0122). */ +export type BlueprintViewParsed = z.infer; /** * A single comparison that scopes WHICH records a dashboard widget @@ -164,6 +166,8 @@ export const BlueprintNavItemSchema = lazySchema(() => z.object({ icon: z.string().optional().describe('Lucide icon name for the nav entry'), })); export type BlueprintNavItem = z.infer; +/** Post-parse shape of {@link BlueprintNavItem} — defaults applied, transforms run (ADR-0122). */ +export type BlueprintNavItemParsed = z.infer; /** * The navigation shell (the thing end users open in the App Launcher) that @@ -178,6 +182,8 @@ export const BlueprintAppSchema = lazySchema(() => z.object({ .describe('Navigation entries; omit to auto-surface every created object and dashboard'), })); export type BlueprintApp = z.infer; +/** Post-parse shape of {@link BlueprintApp} — defaults applied, transforms run (ADR-0122). */ +export type BlueprintAppParsed = z.infer; /** * Seed data the agent suggests. Mirrors {@link SeedSchema.records}. NOTE: @@ -218,6 +224,8 @@ export const SolutionBlueprintSchema = lazySchema(() => z.object({ .describe('Suggested seed data (reported, not auto-applied in Phase C)'), })); export type SolutionBlueprint = z.infer; +/** Post-parse shape of {@link SolutionBlueprint} — defaults applied, transforms run (ADR-0122). */ +export type SolutionBlueprintParsed = z.infer; /** * Factory mirroring `defineAgent` / `defineTool` / `defineSkill`: validates a diff --git a/packages/spec/src/api/analytics.zod.ts b/packages/spec/src/api/analytics.zod.ts index f4e64a97e9..d2a92813f3 100644 --- a/packages/spec/src/api/analytics.zod.ts +++ b/packages/spec/src/api/analytics.zod.ts @@ -111,4 +111,8 @@ export const AnalyticsSqlResponseSchema = lazySchema(() => BaseResponseSchema.ex export type AnalyticsEndpoint = z.infer; export type AnalyticsQueryRequest = z.infer; export type AnalyticsMetadataResponse = z.infer; +/** Post-parse shape of {@link AnalyticsMetadataResponse} — defaults applied, transforms run (ADR-0122). */ +export type AnalyticsMetadataResponseParsed = z.infer; export type AnalyticsSqlResponse = z.infer; +/** Post-parse shape of {@link AnalyticsSqlResponse} — defaults applied, transforms run (ADR-0122). */ +export type AnalyticsSqlResponseParsed = z.infer; diff --git a/packages/spec/src/api/auth-endpoints.zod.ts b/packages/spec/src/api/auth-endpoints.zod.ts index d7256f6365..b4a2e3286b 100644 --- a/packages/spec/src/api/auth-endpoints.zod.ts +++ b/packages/spec/src/api/auth-endpoints.zod.ts @@ -230,9 +230,15 @@ export type AuthEndpointPath = typeof AuthEndpointPaths[keyof typeof AuthEndpoin export type AuthEndpointAlias = keyof typeof AuthEndpointAliases; export type EndpointMappingKey = keyof typeof EndpointMapping; export type AuthProviderInfo = z.infer; +/** Post-parse shape of {@link AuthProviderInfo} — defaults applied, transforms run (ADR-0122). */ +export type AuthProviderInfoParsed = z.infer; export type EmailPasswordConfigPublic = z.infer; export type AuthFeaturesConfig = z.infer; +/** Post-parse shape of {@link AuthFeaturesConfig} — defaults applied, transforms run (ADR-0122). */ +export type AuthFeaturesConfigParsed = z.infer; export type GetAuthConfigResponse = z.infer; +/** Post-parse shape of {@link GetAuthConfigResponse} — defaults applied, transforms run (ADR-0122). */ +export type GetAuthConfigResponseParsed = z.infer; // ========================================== // Device Flow (CLI Browser-Based Login) @@ -272,4 +278,6 @@ export const DeviceTokenResponseSchema = lazySchema(() => z.discriminatedUnion(' ])); export type DeviceRequestResponse = z.infer; +/** Post-parse shape of {@link DeviceRequestResponse} — defaults applied, transforms run (ADR-0122). */ +export type DeviceRequestResponseParsed = z.infer; export type DeviceTokenResponse = z.infer; diff --git a/packages/spec/src/api/auth.zod.ts b/packages/spec/src/api/auth.zod.ts index 5483442702..70f7d4cdd6 100644 --- a/packages/spec/src/api/auth.zod.ts +++ b/packages/spec/src/api/auth.zod.ts @@ -92,12 +92,20 @@ export const UserProfileResponseSchema = lazySchema(() => BaseResponseSchema.ext export type AuthProvider = z.infer; export type SessionUser = z.infer; +/** Post-parse shape of {@link SessionUser} — defaults applied, transforms run (ADR-0122). */ +export type SessionUserParsed = z.infer; export type SessionUserInput = z.input; export type Session = z.infer; export type LoginType = z.infer; export type LoginRequest = z.infer; +/** Post-parse shape of {@link LoginRequest} — defaults applied, transforms run (ADR-0122). */ +export type LoginRequestParsed = z.infer; export type LoginRequestInput = z.input; export type RegisterRequest = z.infer; export type RefreshTokenRequest = z.infer; export type SessionResponse = z.infer; +/** Post-parse shape of {@link SessionResponse} — defaults applied, transforms run (ADR-0122). */ +export type SessionResponseParsed = z.infer; export type UserProfileResponse = z.infer; +/** Post-parse shape of {@link UserProfileResponse} — defaults applied, transforms run (ADR-0122). */ +export type UserProfileResponseParsed = z.infer; diff --git a/packages/spec/src/api/automation-api.zod.ts b/packages/spec/src/api/automation-api.zod.ts index 21076313b5..25e5916b0c 100644 --- a/packages/spec/src/api/automation-api.zod.ts +++ b/packages/spec/src/api/automation-api.zod.ts @@ -66,6 +66,8 @@ export const ListFlowsRequestSchema = lazySchema(() => z.object({ .describe('Cursor for pagination'), })); export type ListFlowsRequest = z.infer; +/** Post-parse shape of {@link ListFlowsRequest} — defaults applied, transforms run (ADR-0122). */ +export type ListFlowsRequestParsed = z.infer; /** * Summary information for a flow in list results. @@ -94,6 +96,8 @@ export const ListFlowsResponseSchema = lazySchema(() => BaseResponseSchema.exten }), })); export type ListFlowsResponse = z.infer; +/** Post-parse shape of {@link ListFlowsResponse} — defaults applied, transforms run (ADR-0122). */ +export type ListFlowsResponseParsed = z.infer; // ========================================== // 3. Get Flow (GET /api/automation/:name) @@ -112,6 +116,8 @@ export const GetFlowResponseSchema = lazySchema(() => BaseResponseSchema.extend( data: FlowSchema.describe('Full flow definition'), })); export type GetFlowResponse = z.infer; +/** Post-parse shape of {@link GetFlowResponse} — defaults applied, transforms run (ADR-0122). */ +export type GetFlowResponseParsed = z.infer; // ========================================== // 4. Create Flow (POST /api/automation) @@ -133,6 +139,8 @@ export const CreateFlowResponseSchema = lazySchema(() => BaseResponseSchema.exte data: FlowSchema.describe('The created flow definition'), })); export type CreateFlowResponse = z.infer; +/** Post-parse shape of {@link CreateFlowResponse} — defaults applied, transforms run (ADR-0122). */ +export type CreateFlowResponseParsed = z.infer; // ========================================== // 5. Update Flow (PUT /api/automation/:name) @@ -148,6 +156,8 @@ export const UpdateFlowRequestSchema = lazySchema(() => AutomationFlowPathParams definition: FlowSchema.partial().describe('Partial flow definition to update'), })); export type UpdateFlowRequest = z.infer; +/** Post-parse shape of {@link UpdateFlowRequest} — defaults applied, transforms run (ADR-0122). */ +export type UpdateFlowRequestParsed = z.infer; /** * Response after updating a flow. @@ -156,6 +166,8 @@ export const UpdateFlowResponseSchema = lazySchema(() => BaseResponseSchema.exte data: FlowSchema.describe('The updated flow definition'), })); export type UpdateFlowResponse = z.infer; +/** Post-parse shape of {@link UpdateFlowResponse} — defaults applied, transforms run (ADR-0122). */ +export type UpdateFlowResponseParsed = z.infer; // ========================================== // 6. Delete Flow (DELETE /api/automation/:name) @@ -177,6 +189,8 @@ export const DeleteFlowResponseSchema = lazySchema(() => BaseResponseSchema.exte }), })); export type DeleteFlowResponse = z.infer; +/** Post-parse shape of {@link DeleteFlowResponse} — defaults applied, transforms run (ADR-0122). */ +export type DeleteFlowResponseParsed = z.infer; // ========================================== // 7. Trigger Flow (POST /api/automation/:name/trigger) @@ -214,6 +228,8 @@ export const TriggerFlowResponseSchema = lazySchema(() => BaseResponseSchema.ext }), })); export type TriggerFlowResponse = z.infer; +/** Post-parse shape of {@link TriggerFlowResponse} — defaults applied, transforms run (ADR-0122). */ +export type TriggerFlowResponseParsed = z.infer; // ========================================== // 8. Toggle Flow (POST /api/automation/:name/toggle) @@ -240,6 +256,8 @@ export const ToggleFlowResponseSchema = lazySchema(() => BaseResponseSchema.exte }), })); export type ToggleFlowResponse = z.infer; +/** Post-parse shape of {@link ToggleFlowResponse} — defaults applied, transforms run (ADR-0122). */ +export type ToggleFlowResponseParsed = z.infer; // ========================================== // 9. List Runs (GET /api/automation/:name/runs) @@ -259,6 +277,8 @@ export const ListRunsRequestSchema = lazySchema(() => AutomationFlowPathParamsSc .describe('Cursor for pagination'), })); export type ListRunsRequest = z.infer; +/** Post-parse shape of {@link ListRunsRequest} — defaults applied, transforms run (ADR-0122). */ +export type ListRunsRequestParsed = z.infer; /** * Response for the list runs endpoint. @@ -272,6 +292,8 @@ export const ListRunsResponseSchema = lazySchema(() => BaseResponseSchema.extend }), })); export type ListRunsResponse = z.infer; +/** Post-parse shape of {@link ListRunsResponse} — defaults applied, transforms run (ADR-0122). */ +export type ListRunsResponseParsed = z.infer; // ========================================== // 10. Get Run (GET /api/automation/:name/runs/:runId) @@ -290,6 +312,8 @@ export const GetRunResponseSchema = lazySchema(() => BaseResponseSchema.extend({ data: ExecutionLogSchema.describe('Full execution log with step details'), })); export type GetRunResponse = z.infer; +/** Post-parse shape of {@link GetRunResponse} — defaults applied, transforms run (ADR-0122). */ +export type GetRunResponseParsed = z.infer; // ========================================== // 11. Automation API Error Codes diff --git a/packages/spec/src/api/batch.zod.ts b/packages/spec/src/api/batch.zod.ts index 0b105aa4f4..00c13d2b95 100644 --- a/packages/spec/src/api/batch.zod.ts +++ b/packages/spec/src/api/batch.zod.ts @@ -98,6 +98,8 @@ export const BatchOptionsSchema = lazySchema(() => z.object({ })); export type BatchOptions = z.infer; +/** Post-parse shape of {@link BatchOptions} — defaults applied, transforms run (ADR-0122). */ +export type BatchOptionsParsed = z.infer; /** * Batch Update Request Schema @@ -203,6 +205,8 @@ export const BatchOperationResultSchema = lazySchema(() => z.object({ })); export type BatchOperationResult = z.infer; +/** Post-parse shape of {@link BatchOperationResult} — defaults applied, transforms run (ADR-0122). */ +export type BatchOperationResultParsed = z.infer; /** * Batch Update Response Schema @@ -254,6 +258,8 @@ export const BatchUpdateResponseSchema = lazySchema(() => BaseResponseSchema.ext })); export type BatchUpdateResponse = z.infer; +/** Post-parse shape of {@link BatchUpdateResponse} — defaults applied, transforms run (ADR-0122). */ +export type BatchUpdateResponseParsed = z.infer; // ========================================== // Batch Delete Schemas @@ -280,6 +286,8 @@ export const DeleteManyRequestSchema = lazySchema(() => z.object({ })); export type DeleteManyRequest = z.infer; +/** Post-parse shape of {@link DeleteManyRequest} — defaults applied, transforms run (ADR-0122). */ +export type DeleteManyRequestParsed = z.infer; // ========================================== // API Contract Exports @@ -321,6 +329,8 @@ export const BatchConfigSchema = lazySchema(() => z.object({ }).passthrough()); // Allow additional properties export type BatchConfig = z.infer; +/** Post-parse shape of {@link BatchConfig} — defaults applied, transforms run (ADR-0122). */ +export type BatchConfigParsed = z.infer; // ========================================== // Cross-Object Transactional Batch (issue #1604) diff --git a/packages/spec/src/api/contract.zod.ts b/packages/spec/src/api/contract.zod.ts index 1779a18ff1..946cfd4914 100644 --- a/packages/spec/src/api/contract.zod.ts +++ b/packages/spec/src/api/contract.zod.ts @@ -317,18 +317,42 @@ export const QueryOptimizationConfigSchema = lazySchema(() => z.object({ })); export type ApiError = z.infer; +/** Post-parse shape of {@link ApiError} — defaults applied, transforms run (ADR-0122). */ +export type ApiErrorParsed = z.infer; export type BaseResponse = z.infer; +/** Post-parse shape of {@link BaseResponse} — defaults applied, transforms run (ADR-0122). */ +export type BaseResponseParsed = z.infer; export type RecordData = z.infer; export type CreateRequest = z.infer; export type UpdateRequest = z.infer; export type BulkRequest = z.infer; +/** Post-parse shape of {@link BulkRequest} — defaults applied, transforms run (ADR-0122). */ +export type BulkRequestParsed = z.infer; export type ExportRequest = z.infer; +/** Post-parse shape of {@link ExportRequest} — defaults applied, transforms run (ADR-0122). */ +export type ExportRequestParsed = z.infer; export type SingleRecordResponse = z.infer; +/** Post-parse shape of {@link SingleRecordResponse} — defaults applied, transforms run (ADR-0122). */ +export type SingleRecordResponseParsed = z.infer; export type ListRecordResponse = z.infer; +/** Post-parse shape of {@link ListRecordResponse} — defaults applied, transforms run (ADR-0122). */ +export type ListRecordResponseParsed = z.infer; export type IdRequest = z.infer; export type ModificationResult = z.infer; +/** Post-parse shape of {@link ModificationResult} — defaults applied, transforms run (ADR-0122). */ +export type ModificationResultParsed = z.infer; export type BulkResponse = z.infer; +/** Post-parse shape of {@link BulkResponse} — defaults applied, transforms run (ADR-0122). */ +export type BulkResponseParsed = z.infer; export type DeleteResponse = z.infer; +/** Post-parse shape of {@link DeleteResponse} — defaults applied, transforms run (ADR-0122). */ +export type DeleteResponseParsed = z.infer; export type DataLoaderConfig = z.infer; +/** Post-parse shape of {@link DataLoaderConfig} — defaults applied, transforms run (ADR-0122). */ +export type DataLoaderConfigParsed = z.infer; export type BatchLoadingStrategy = z.infer; +/** Post-parse shape of {@link BatchLoadingStrategy} — defaults applied, transforms run (ADR-0122). */ +export type BatchLoadingStrategyParsed = z.infer; export type QueryOptimizationConfig = z.infer; +/** Post-parse shape of {@link QueryOptimizationConfig} — defaults applied, transforms run (ADR-0122). */ +export type QueryOptimizationConfigParsed = z.infer; diff --git a/packages/spec/src/api/dispatcher.zod.ts b/packages/spec/src/api/dispatcher.zod.ts index 259e6ed0ea..1f59808f01 100644 --- a/packages/spec/src/api/dispatcher.zod.ts +++ b/packages/spec/src/api/dispatcher.zod.ts @@ -78,6 +78,8 @@ export const DispatcherRouteSchema = z.object({ }); export type DispatcherRoute = z.infer; +/** Post-parse shape of {@link DispatcherRoute} — defaults applied, transforms run (ADR-0122). */ +export type DispatcherRouteParsed = z.infer; export type DispatcherRouteInput = z.input; // ============================================================================ @@ -125,6 +127,8 @@ export const DispatcherConfigSchema = z.object({ }); export type DispatcherConfig = z.infer; +/** Post-parse shape of {@link DispatcherConfig} — defaults applied, transforms run (ADR-0122). */ +export type DispatcherConfigParsed = z.infer; export type DispatcherConfigInput = z.input; // ============================================================================ diff --git a/packages/spec/src/api/documentation.zod.ts b/packages/spec/src/api/documentation.zod.ts index 04af7423f5..9d0c609d9c 100644 --- a/packages/spec/src/api/documentation.zod.ts +++ b/packages/spec/src/api/documentation.zod.ts @@ -187,6 +187,8 @@ export const OpenApiSpecSchema = lazySchema(() => z.object({ })); export type OpenApiSpec = z.infer; +/** Post-parse shape of {@link OpenApiSpec} — defaults applied, transforms run (ADR-0122). */ +export type OpenApiSpecParsed = z.infer; // ========================================== // API Testing Playground @@ -277,6 +279,8 @@ export const ApiTestingUiConfigSchema = lazySchema(() => z.object({ })); export type ApiTestingUiConfig = z.infer; +/** Post-parse shape of {@link ApiTestingUiConfig} — defaults applied, transforms run (ADR-0122). */ +export type ApiTestingUiConfigParsed = z.infer; /** * API Test Request Schema @@ -336,6 +340,8 @@ export const ApiTestRequestSchema = lazySchema(() => z.object({ })); export type ApiTestRequest = z.infer; +/** Post-parse shape of {@link ApiTestRequest} — defaults applied, transforms run (ADR-0122). */ +export type ApiTestRequestParsed = z.infer; /** * API Test Collection Schema @@ -378,6 +384,8 @@ export const ApiTestCollectionSchema = lazySchema(() => z.object({ })); export type ApiTestCollection = z.infer; +/** Post-parse shape of {@link ApiTestCollection} — defaults applied, transforms run (ADR-0122). */ +export type ApiTestCollectionParsed = z.infer; // ========================================== // API Documentation Configuration @@ -410,6 +418,8 @@ export const ApiChangelogEntrySchema = lazySchema(() => z.object({ })); export type ApiChangelogEntry = z.infer; +/** Post-parse shape of {@link ApiChangelogEntry} — defaults applied, transforms run (ADR-0122). */ +export type ApiChangelogEntryParsed = z.infer; /** * Code Generation Template Schema @@ -534,6 +544,8 @@ export const ApiDocumentationConfigSchema = lazySchema(() => z.object({ })); export type ApiDocumentationConfig = z.infer; +/** Post-parse shape of {@link ApiDocumentationConfig} — defaults applied, transforms run (ADR-0122). */ +export type ApiDocumentationConfigParsed = z.infer; // ========================================== // API Documentation Generation @@ -566,6 +578,8 @@ export const GeneratedApiDocumentationSchema = lazySchema(() => z.object({ })); export type GeneratedApiDocumentation = z.infer; +/** Post-parse shape of {@link GeneratedApiDocumentation} — defaults applied, transforms run (ADR-0122). */ +export type GeneratedApiDocumentationParsed = z.infer; // ========================================== // Helper Functions diff --git a/packages/spec/src/api/endpoint.zod.ts b/packages/spec/src/api/endpoint.zod.ts index 92efd7e09e..935035159a 100644 --- a/packages/spec/src/api/endpoint.zod.ts +++ b/packages/spec/src/api/endpoint.zod.ts @@ -121,4 +121,6 @@ export const ApiEndpoint = Object.assign(ApiEndpointSchema, { }); export type ApiEndpoint = z.infer; +/** Post-parse shape of {@link ApiEndpoint} — defaults applied, transforms run (ADR-0122). */ +export type ApiEndpointParsed = z.infer; export type ApiEndpointInput = z.input; diff --git a/packages/spec/src/api/errors.zod.ts b/packages/spec/src/api/errors.zod.ts index cf42131848..4209a6688f 100644 --- a/packages/spec/src/api/errors.zod.ts +++ b/packages/spec/src/api/errors.zod.ts @@ -398,6 +398,8 @@ export const EnhancedApiErrorSchema = lazySchema(() => z.object({ })); export type EnhancedApiError = z.infer; +/** Post-parse shape of {@link EnhancedApiError} — defaults applied, transforms run (ADR-0122). */ +export type EnhancedApiErrorParsed = z.infer; // ========================================== // Error Response Schema @@ -430,3 +432,5 @@ export const ErrorResponseSchema = lazySchema(() => z.object({ })); export type ErrorResponse = z.infer; +/** Post-parse shape of {@link ErrorResponse} — defaults applied, transforms run (ADR-0122). */ +export type ErrorResponseParsed = z.infer; diff --git a/packages/spec/src/api/export.zod.ts b/packages/spec/src/api/export.zod.ts index 7d6d4e2673..29b637febb 100644 --- a/packages/spec/src/api/export.zod.ts +++ b/packages/spec/src/api/export.zod.ts @@ -79,6 +79,8 @@ export const CreateExportJobRequestSchema = lazySchema(() => z.object({ .describe('Export template ID for predefined field mappings'), })); export type CreateExportJobRequest = z.infer; +/** Post-parse shape of {@link CreateExportJobRequest} — defaults applied, transforms run (ADR-0122). */ +export type CreateExportJobRequestParsed = z.infer; /** * Export Job Response @@ -93,6 +95,8 @@ export const CreateExportJobResponseSchema = lazySchema(() => BaseResponseSchema }), })); export type CreateExportJobResponse = z.infer; +/** Post-parse shape of {@link CreateExportJobResponse} — defaults applied, transforms run (ADR-0122). */ +export type CreateExportJobResponseParsed = z.infer; /** * Export Job Progress @@ -122,6 +126,8 @@ export const ExportJobProgressSchema = lazySchema(() => BaseResponseSchema.exten }), })); export type ExportJobProgress = z.infer; +/** Post-parse shape of {@link ExportJobProgress} — defaults applied, transforms run (ADR-0122). */ +export type ExportJobProgressParsed = z.infer; // ========================================== // 3. Import Validation & Deduplication @@ -180,6 +186,8 @@ export const ImportValidationConfigSchema = lazySchema(() => z.object({ .describe('Strings to treat as null (e.g., ["", "N/A", "null"])'), })); export type ImportValidationConfig = z.infer; +/** Post-parse shape of {@link ImportValidationConfig} — defaults applied, transforms run (ADR-0122). */ +export type ImportValidationConfigParsed = z.infer; /** * Import Validation Result Schema @@ -202,6 +210,8 @@ export const ImportValidationResultSchema = lazySchema(() => BaseResponseSchema. }), })); export type ImportValidationResult = z.infer; +/** Post-parse shape of {@link ImportValidationResult} — defaults applied, transforms run (ADR-0122). */ +export type ImportValidationResultParsed = z.infer; // ========================================== // 4. Export/Import Template @@ -224,6 +234,8 @@ export const FieldMappingEntrySchema = lazySchema(() => z.object({ .describe('Whether this field is required (import validation)'), })); export type FieldMappingEntry = z.infer; +/** Post-parse shape of {@link FieldMappingEntry} — defaults applied, transforms run (ADR-0122). */ +export type FieldMappingEntryParsed = z.infer; /** * Export/Import Template Schema @@ -257,6 +269,8 @@ export const ExportImportTemplateSchema = lazySchema(() => z.object({ createdBy: z.string().optional().describe('User who created the template'), })); export type ExportImportTemplate = z.infer; +/** Post-parse shape of {@link ExportImportTemplate} — defaults applied, transforms run (ADR-0122). */ +export type ExportImportTemplateParsed = z.infer; // ========================================== // 4b. Import Request / Result (POST /data/:object/import) @@ -283,6 +297,8 @@ export const ImportMappingSchema = lazySchema(() => z.union([ z.array(FieldMappingEntrySchema), ])); export type ImportMapping = z.infer; +/** Post-parse shape of {@link ImportMapping} — defaults applied, transforms run (ADR-0122). */ +export type ImportMappingParsed = z.infer; /** * Import Request Schema @@ -331,6 +347,8 @@ export const ImportRequestSchema = lazySchema(() => z.object({ .describe('Skip rows whose matchFields are blank (default: upsert creates them, update skips them)'), })); export type ImportRequest = z.infer; +/** Post-parse shape of {@link ImportRequest} — defaults applied, transforms run (ADR-0122). */ +export type ImportRequestParsed = z.infer; /** * Import Row Result @@ -399,6 +417,8 @@ export type ImportJobStatus = z.infer; */ export const CreateImportJobRequestSchema = ImportRequestSchema; export type CreateImportJobRequest = z.infer; +/** Post-parse shape of {@link CreateImportJobRequest} — defaults applied, transforms run (ADR-0122). */ +export type CreateImportJobRequestParsed = z.infer; /** * Create Import Job Response — the freshly-created job's id + initial status. @@ -457,6 +477,8 @@ export const ListImportJobsRequestSchema = lazySchema(() => z.object({ offset: z.number().int().min(0).default(0).describe('Pagination offset'), })); export type ListImportJobsRequest = z.infer; +/** Post-parse shape of {@link ListImportJobsRequest} — defaults applied, transforms run (ADR-0122). */ +export type ListImportJobsRequestParsed = z.infer; /** One row in the import-job history list. */ export const ImportJobSummarySchema = lazySchema(() => z.object({ @@ -543,6 +565,8 @@ export const ScheduledExportSchema = lazySchema(() => z.object({ createdBy: z.string().optional().describe('User who created the schedule'), })); export type ScheduledExport = z.infer; +/** Post-parse shape of {@link ScheduledExport} — defaults applied, transforms run (ADR-0122). */ +export type ScheduledExportParsed = z.infer; // ========================================== // 6. Get Export Job Download @@ -575,6 +599,8 @@ export const GetExportJobDownloadResponseSchema = lazySchema(() => BaseResponseS }), })); export type GetExportJobDownloadResponse = z.infer; +/** Post-parse shape of {@link GetExportJobDownloadResponse} — defaults applied, transforms run (ADR-0122). */ +export type GetExportJobDownloadResponseParsed = z.infer; // ========================================== // 7. List Export Jobs @@ -595,6 +621,8 @@ export const ListExportJobsRequestSchema = lazySchema(() => z.object({ .describe('Pagination cursor from a previous response'), })); export type ListExportJobsRequest = z.infer; +/** Post-parse shape of {@link ListExportJobsRequest} — defaults applied, transforms run (ADR-0122). */ +export type ListExportJobsRequestParsed = z.infer; /** * Export Job Summary @@ -625,6 +653,8 @@ export const ListExportJobsResponseSchema = lazySchema(() => BaseResponseSchema. }), })); export type ListExportJobsResponse = z.infer; +/** Post-parse shape of {@link ListExportJobsResponse} — defaults applied, transforms run (ADR-0122). */ +export type ListExportJobsResponseParsed = z.infer; // ========================================== // 8. Schedule Export Request/Response @@ -660,6 +690,8 @@ export const ScheduleExportRequestSchema = lazySchema(() => z.object({ }).describe('Export delivery configuration'), })); export type ScheduleExportRequest = z.infer; +/** Post-parse shape of {@link ScheduleExportRequest} — defaults applied, transforms run (ADR-0122). */ +export type ScheduleExportRequestParsed = z.infer; /** * Schedule Export Response @@ -675,6 +707,8 @@ export const ScheduleExportResponseSchema = lazySchema(() => BaseResponseSchema. }), })); export type ScheduleExportResponse = z.infer; +/** Post-parse shape of {@link ScheduleExportResponse} — defaults applied, transforms run (ADR-0122). */ +export type ScheduleExportResponseParsed = z.infer; // ========================================== // 9. Export API Contracts diff --git a/packages/spec/src/api/http-cache.zod.ts b/packages/spec/src/api/http-cache.zod.ts index 6afbe3a673..10c7295f09 100644 --- a/packages/spec/src/api/http-cache.zod.ts +++ b/packages/spec/src/api/http-cache.zod.ts @@ -93,6 +93,8 @@ export const ETagSchema = lazySchema(() => z.object({ })); export type ETag = z.infer; +/** Post-parse shape of {@link ETag} — defaults applied, transforms run (ADR-0122). */ +export type ETagParsed = z.infer; // ========================================== // Metadata Cache Request @@ -156,6 +158,8 @@ export const MetadataCacheResponseSchema = lazySchema(() => z.object({ })); export type MetadataCacheResponse = z.infer; +/** Post-parse shape of {@link MetadataCacheResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataCacheResponseParsed = z.infer; // ========================================== // Metadata Cache Invalidation @@ -196,6 +200,8 @@ export const CacheInvalidationRequestSchema = lazySchema(() => z.object({ })); export type CacheInvalidationRequest = z.infer; +/** Post-parse shape of {@link CacheInvalidationRequest} — defaults applied, transforms run (ADR-0122). */ +export type CacheInvalidationRequestParsed = z.infer; /** * Cache Invalidation Response Schema diff --git a/packages/spec/src/api/metadata.zod.ts b/packages/spec/src/api/metadata.zod.ts index d02bc390fc..24f4cd3685 100644 --- a/packages/spec/src/api/metadata.zod.ts +++ b/packages/spec/src/api/metadata.zod.ts @@ -344,15 +344,33 @@ export const MetadataDependentsResponseSchema = lazySchema(() => BaseResponseSch // ========================================== export type ObjectDefinitionResponse = z.infer; +/** Post-parse shape of {@link ObjectDefinitionResponse} — defaults applied, transforms run (ADR-0122). */ +export type ObjectDefinitionResponseParsed = z.infer; export type AppDefinitionResponse = z.infer; +/** Post-parse shape of {@link AppDefinitionResponse} — defaults applied, transforms run (ADR-0122). */ +export type AppDefinitionResponseParsed = z.infer; export type ConceptListResponse = z.infer; +/** Post-parse shape of {@link ConceptListResponse} — defaults applied, transforms run (ADR-0122). */ +export type ConceptListResponseParsed = z.infer; export type MetadataRegisterRequest = z.infer; export type MetadataItemResponse = z.infer; +/** Post-parse shape of {@link MetadataItemResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataItemResponseParsed = z.infer; export type MetadataListResponse = z.infer; +/** Post-parse shape of {@link MetadataListResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataListResponseParsed = z.infer; export type MetadataNamesResponse = z.infer; +/** Post-parse shape of {@link MetadataNamesResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataNamesResponseParsed = z.infer; export type MetadataExistsResponse = z.infer; +/** Post-parse shape of {@link MetadataExistsResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataExistsResponseParsed = z.infer; export type MetadataDeleteResponse = z.infer; +/** Post-parse shape of {@link MetadataDeleteResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataDeleteResponseParsed = z.infer; export type MetadataQueryResponse = z.infer; +/** Post-parse shape of {@link MetadataQueryResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataQueryResponseParsed = z.infer; /** * Authoring-side shape of the bulk register request (`continueOnError` / * `validate` stay optional — they carry defaults). @@ -364,12 +382,32 @@ export type MetadataQueryResponse = z.infer; */ export type MetadataBulkRegisterRequest = z.input; export type MetadataBulkResponse = z.infer; +/** Post-parse shape of {@link MetadataBulkResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataBulkResponseParsed = z.infer; export type MetadataOverlayResponse = z.infer; +/** Post-parse shape of {@link MetadataOverlayResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataOverlayResponseParsed = z.infer; export type MetadataEffectiveResponse = z.infer; +/** Post-parse shape of {@link MetadataEffectiveResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataEffectiveResponseParsed = z.infer; export type MetadataExportResponse = z.infer; +/** Post-parse shape of {@link MetadataExportResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataExportResponseParsed = z.infer; export type MetadataImportResponse = z.infer; +/** Post-parse shape of {@link MetadataImportResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataImportResponseParsed = z.infer; export type MetadataValidateResponse = z.infer; +/** Post-parse shape of {@link MetadataValidateResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataValidateResponseParsed = z.infer; export type MetadataTypesResponse = z.infer; +/** Post-parse shape of {@link MetadataTypesResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataTypesResponseParsed = z.infer; export type MetadataTypeInfoResponse = z.infer; +/** Post-parse shape of {@link MetadataTypeInfoResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataTypeInfoResponseParsed = z.infer; export type MetadataDependenciesResponse = z.infer; +/** Post-parse shape of {@link MetadataDependenciesResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataDependenciesResponseParsed = z.infer; export type MetadataDependentsResponse = z.infer; +/** Post-parse shape of {@link MetadataDependentsResponse} — defaults applied, transforms run (ADR-0122). */ +export type MetadataDependentsResponseParsed = z.infer; diff --git a/packages/spec/src/api/odata.zod.ts b/packages/spec/src/api/odata.zod.ts index 510d50149f..0f216de23d 100644 --- a/packages/spec/src/api/odata.zod.ts +++ b/packages/spec/src/api/odata.zod.ts @@ -378,6 +378,8 @@ export const ODataMetadataSchema = lazySchema(() => z.object({ })); export type ODataMetadata = z.infer; +/** Post-parse shape of {@link ODataMetadata} — defaults applied, transforms run (ADR-0122). */ +export type ODataMetadataParsed = z.infer; /** * Helper functions for OData operations @@ -457,3 +459,5 @@ export const ODataConfigSchema = lazySchema(() => z.object({ }).passthrough()); // Allow additional properties for flexibility export type ODataConfig = z.infer; +/** Post-parse shape of {@link ODataConfig} — defaults applied, transforms run (ADR-0122). */ +export type ODataConfigParsed = z.infer; diff --git a/packages/spec/src/api/package-api.zod.ts b/packages/spec/src/api/package-api.zod.ts index dd31d52029..37d2389a79 100644 --- a/packages/spec/src/api/package-api.zod.ts +++ b/packages/spec/src/api/package-api.zod.ts @@ -62,6 +62,8 @@ export const ListInstalledPackagesRequestSchema = lazySchema(() => z.object({ .describe('Cursor for pagination'), }).describe('List installed packages request')); export type ListInstalledPackagesRequest = z.infer; +/** Post-parse shape of {@link ListInstalledPackagesRequest} — defaults applied, transforms run (ADR-0122). */ +export type ListInstalledPackagesRequestParsed = z.infer; /** * Response for listing installed packages. @@ -75,6 +77,8 @@ export const ListInstalledPackagesResponseSchema = lazySchema(() => BaseResponse }), }).describe('List installed packages response')); export type ListInstalledPackagesResponse = z.infer; +/** Post-parse shape of {@link ListInstalledPackagesResponse} — defaults applied, transforms run (ADR-0122). */ +export type ListInstalledPackagesResponseParsed = z.infer; // ========================================== // 3. Get Package (GET /api/v1/packages/:packageId) @@ -93,6 +97,8 @@ export const GetInstalledPackageResponseSchema = lazySchema(() => BaseResponseSc data: InstalledPackageSchema.describe('Installed package details'), }).describe('Get installed package response')); export type GetInstalledPackageResponse = z.infer; +/** Post-parse shape of {@link GetInstalledPackageResponse} — defaults applied, transforms run (ADR-0122). */ +export type GetInstalledPackageResponseParsed = z.infer; // ========================================== // 4. Install Package (POST /api/v1/packages/install) @@ -125,6 +131,8 @@ export const PackageInstallRequestSchema = lazySchema(() => z.object({ .describe('Artifact reference for marketplace installation'), }).describe('Install package request')); export type PackageInstallRequest = z.infer; +/** Post-parse shape of {@link PackageInstallRequest} — defaults applied, transforms run (ADR-0122). */ +export type PackageInstallRequestParsed = z.infer; /** * Response after installing a package. @@ -145,6 +153,8 @@ export const PackageInstallResponseSchema = lazySchema(() => BaseResponseSchema. }), }).describe('Install package response')); export type PackageInstallResponse = z.infer; +/** Post-parse shape of {@link PackageInstallResponse} — defaults applied, transforms run (ADR-0122). */ +export type PackageInstallResponseParsed = z.infer; // ========================================== // 5. Upgrade Package (POST /api/v1/packages/upgrade) @@ -186,6 +196,8 @@ export const PackageUpgradeRequestSchema = lazySchema(() => z.object({ .describe('Skip pre-upgrade compatibility checks'), }).describe('Upgrade package request')); export type PackageUpgradeRequest = z.infer; +/** Post-parse shape of {@link PackageUpgradeRequest} — defaults applied, transforms run (ADR-0122). */ +export type PackageUpgradeRequestParsed = z.infer; /** * Response after upgrading a package. @@ -207,6 +219,8 @@ export const PackageUpgradeResponseSchema = lazySchema(() => BaseResponseSchema. }), }).describe('Upgrade package response')); export type PackageUpgradeResponse = z.infer; +/** Post-parse shape of {@link PackageUpgradeResponse} — defaults applied, transforms run (ADR-0122). */ +export type PackageUpgradeResponseParsed = z.infer; // ========================================== // 6. Resolve Dependencies (POST /api/v1/packages/resolve-dependencies) @@ -227,6 +241,8 @@ export const ResolveDependenciesRequestSchema = lazySchema(() => z.object({ .describe('Current platform version for compatibility filtering'), }).describe('Resolve dependencies request')); export type ResolveDependenciesRequest = z.infer; +/** Post-parse shape of {@link ResolveDependenciesRequest} — defaults applied, transforms run (ADR-0122). */ +export type ResolveDependenciesRequestParsed = z.infer; /** * Response with dependency resolution results. @@ -235,6 +251,8 @@ export const ResolveDependenciesResponseSchema = lazySchema(() => BaseResponseSc data: DependencyResolutionResultSchema.describe('Dependency resolution result with topological sort'), }).describe('Resolve dependencies response')); export type ResolveDependenciesResponse = z.infer; +/** Post-parse shape of {@link ResolveDependenciesResponse} — defaults applied, transforms run (ADR-0122). */ +export type ResolveDependenciesResponseParsed = z.infer; // ========================================== // 7. Upload Artifact (POST /api/v1/packages/upload) @@ -264,6 +282,8 @@ export const UploadArtifactRequestSchema = lazySchema(() => z.object({ .describe('Release notes for this version'), }).describe('Upload artifact request')); export type UploadArtifactRequest = z.infer; +/** Post-parse shape of {@link UploadArtifactRequest} — defaults applied, transforms run (ADR-0122). */ +export type UploadArtifactRequestParsed = z.infer; /** * Response after uploading a package artifact. @@ -283,6 +303,8 @@ export const UploadArtifactResponseSchema = lazySchema(() => BaseResponseSchema. }), }).describe('Upload artifact response')); export type UploadArtifactResponse = z.infer; +/** Post-parse shape of {@link UploadArtifactResponse} — defaults applied, transforms run (ADR-0122). */ +export type UploadArtifactResponseParsed = z.infer; // ========================================== // 8. Rollback Package (POST /api/v1/packages/:packageId/rollback) @@ -300,6 +322,8 @@ export const PackageRollbackRequestSchema = lazySchema(() => PackagePathParamsSc .describe('Whether to restore pre-upgrade customizations'), }).describe('Rollback package request')); export type PackageRollbackRequest = z.infer; +/** Post-parse shape of {@link PackageRollbackRequest} — defaults applied, transforms run (ADR-0122). */ +export type PackageRollbackRequestParsed = z.infer; /** * Response after rolling back a package. @@ -312,6 +336,8 @@ export const PackageRollbackResponseSchema = lazySchema(() => BaseResponseSchema }), }).describe('Rollback package response')); export type PackageRollbackResponse = z.infer; +/** Post-parse shape of {@link PackageRollbackResponse} — defaults applied, transforms run (ADR-0122). */ +export type PackageRollbackResponseParsed = z.infer; // ========================================== // 9. Uninstall Package (DELETE /api/v1/packages/:packageId) @@ -334,6 +360,8 @@ export const UninstallPackageApiResponseSchema = lazySchema(() => BaseResponseSc }), }).describe('Uninstall package response')); export type UninstallPackageApiResponse = z.infer; +/** Post-parse shape of {@link UninstallPackageApiResponse} — defaults applied, transforms run (ADR-0122). */ +export type UninstallPackageApiResponseParsed = z.infer; // ========================================== // 10. Package API Error Codes diff --git a/packages/spec/src/api/plugin-rest-api.zod.ts b/packages/spec/src/api/plugin-rest-api.zod.ts index d0e0073421..0aff08ee18 100644 --- a/packages/spec/src/api/plugin-rest-api.zod.ts +++ b/packages/spec/src/api/plugin-rest-api.zod.ts @@ -189,6 +189,8 @@ export const RestApiEndpointSchema = lazySchema(() => z.object({ })); export type RestApiEndpoint = z.infer; +/** Post-parse shape of {@link RestApiEndpoint} — defaults applied, transforms run (ADR-0122). */ +export type RestApiEndpointParsed = z.infer; /** * REST API Route Registration Schema @@ -260,6 +262,8 @@ export const RestApiRouteRegistrationSchema = z.object({ }); export type RestApiRouteRegistration = z.infer; +/** Post-parse shape of {@link RestApiRouteRegistration} — defaults applied, transforms run (ADR-0122). */ +export type RestApiRouteRegistrationParsed = z.infer; // ========================================== // Request Validation Configuration @@ -339,6 +343,8 @@ export const RequestValidationConfigSchema = z.object({ }); export type RequestValidationConfig = z.infer; +/** Post-parse shape of {@link RequestValidationConfig} — defaults applied, transforms run (ADR-0122). */ +export type RequestValidationConfigParsed = z.infer; export type RequestValidationConfigInput = z.input; // ========================================== @@ -401,6 +407,8 @@ export const ResponseEnvelopeConfigSchema = z.object({ }); export type ResponseEnvelopeConfig = z.infer; +/** Post-parse shape of {@link ResponseEnvelopeConfig} — defaults applied, transforms run (ADR-0122). */ +export type ResponseEnvelopeConfigParsed = z.infer; export type ResponseEnvelopeConfigInput = z.input; // ========================================== @@ -476,6 +484,8 @@ export const ErrorHandlingConfigSchema = z.object({ }); export type ErrorHandlingConfig = z.infer; +/** Post-parse shape of {@link ErrorHandlingConfig} — defaults applied, transforms run (ADR-0122). */ +export type ErrorHandlingConfigParsed = z.infer; export type ErrorHandlingConfigInput = z.input; // ========================================== @@ -592,6 +602,8 @@ export const OpenApiGenerationConfigSchema = z.object({ }); export type OpenApiGenerationConfig = z.infer; +/** Post-parse shape of {@link OpenApiGenerationConfig} — defaults applied, transforms run (ADR-0122). */ +export type OpenApiGenerationConfigParsed = z.infer; export type OpenApiGenerationConfigInput = z.input; // ========================================== @@ -682,6 +694,8 @@ export const RestApiPluginConfigSchema = z.object({ }); export type RestApiPluginConfig = z.infer; +/** Post-parse shape of {@link RestApiPluginConfig} — defaults applied, transforms run (ADR-0122). */ +export type RestApiPluginConfigParsed = z.infer; export type RestApiPluginConfigInput = z.input; // ========================================== diff --git a/packages/spec/src/api/protocol.zod.ts b/packages/spec/src/api/protocol.zod.ts index bd3f13a764..17c923d5a9 100644 --- a/packages/spec/src/api/protocol.zod.ts +++ b/packages/spec/src/api/protocol.zod.ts @@ -1304,8 +1304,12 @@ export type DeleteMetaItemRequest = z.infer; export type DeleteMetaItemResponse = z.infer; export type GetMetaItemCachedRequest = z.infer; export type GetMetaItemCachedResponse = z.infer; +/** Post-parse shape of {@link GetMetaItemCachedResponse} — defaults applied, transforms run (ADR-0122). */ +export type GetMetaItemCachedResponseParsed = z.infer; export type GetUiViewRequest = z.infer; export type GetUiViewResponse = z.infer; +/** Post-parse shape of {@link GetUiViewResponse} — defaults applied, transforms run (ADR-0122). */ +export type GetUiViewResponseParsed = z.infer; type AnalyticsQueryRequest = z.infer; type AnalyticsResultResponse = z.infer; @@ -1315,6 +1319,8 @@ type GetAnalyticsMetaResponse = z.infer; export type AutomationTriggerRequest = z.infer; export type AutomationTriggerResponse = z.infer; export type AutomationActionsResponse = z.infer; +/** Post-parse shape of {@link AutomationActionsResponse} — defaults applied, transforms run (ADR-0122). */ +export type AutomationActionsResponseParsed = z.infer; export type FindDataRequest = z.input; export type FindDataResponse = z.infer; @@ -1329,22 +1335,36 @@ export type DeleteDataResponse = z.infer; export type BatchDataRequest = z.input; export type BatchDataResponse = z.infer; +/** Post-parse shape of {@link BatchDataResponse} — defaults applied, transforms run (ADR-0122). */ +export type BatchDataResponseParsed = z.infer; export type CreateManyDataRequest = z.input; export type CreateManyDataResponse = z.infer; export type UpdateManyDataRequest = z.input; export type UpdateManyDataResponse = z.infer; +/** Post-parse shape of {@link UpdateManyDataResponse} — defaults applied, transforms run (ADR-0122). */ +export type UpdateManyDataResponseParsed = z.infer; export type DeleteManyDataRequest = z.input; export type DeleteManyDataResponse = z.infer; +/** Post-parse shape of {@link DeleteManyDataResponse} — defaults applied, transforms run (ADR-0122). */ +export type DeleteManyDataResponseParsed = z.infer; // View Management Types export type ListViewsRequest = z.input; export type ListViewsResponse = z.infer; +/** Post-parse shape of {@link ListViewsResponse} — defaults applied, transforms run (ADR-0122). */ +export type ListViewsResponseParsed = z.infer; export type GetViewRequest = z.input; export type GetViewResponse = z.infer; +/** Post-parse shape of {@link GetViewResponse} — defaults applied, transforms run (ADR-0122). */ +export type GetViewResponseParsed = z.infer; export type CreateViewRequest = z.input; export type CreateViewResponse = z.infer; +/** Post-parse shape of {@link CreateViewResponse} — defaults applied, transforms run (ADR-0122). */ +export type CreateViewResponseParsed = z.infer; export type UpdateViewRequest = z.input; export type UpdateViewResponse = z.infer; +/** Post-parse shape of {@link UpdateViewResponse} — defaults applied, transforms run (ADR-0122). */ +export type UpdateViewResponseParsed = z.infer; export type DeleteViewRequest = z.input; export type DeleteViewResponse = z.infer; @@ -1353,6 +1373,8 @@ export type CheckPermissionRequest = z.input; export type GetObjectPermissionsRequest = z.input; export type GetObjectPermissionsResponse = z.infer; +/** Post-parse shape of {@link GetObjectPermissionsResponse} — defaults applied, transforms run (ADR-0122). */ +export type GetObjectPermissionsResponseParsed = z.infer; export type GetEffectivePermissionsRequest = z.input; export type GetEffectivePermissionsResponse = z.infer; @@ -1379,15 +1401,25 @@ export type RegisterDeviceResponse = z.infer; export type UnregisterDeviceResponse = z.infer; export type NotificationPreferences = z.infer; +/** Post-parse shape of {@link NotificationPreferences} — defaults applied, transforms run (ADR-0122). */ +export type NotificationPreferencesParsed = z.infer; export type NotificationPreferencesInput = z.input; export type GetNotificationPreferencesRequest = z.input; export type GetNotificationPreferencesResponse = z.infer; +/** Post-parse shape of {@link GetNotificationPreferencesResponse} — defaults applied, transforms run (ADR-0122). */ +export type GetNotificationPreferencesResponseParsed = z.infer; export type UpdateNotificationPreferencesRequest = z.input; export type UpdateNotificationPreferencesResponse = z.infer; +/** Post-parse shape of {@link UpdateNotificationPreferencesResponse} — defaults applied, transforms run (ADR-0122). */ +export type UpdateNotificationPreferencesResponseParsed = z.infer; export type Notification = z.infer; +/** Post-parse shape of {@link Notification} — defaults applied, transforms run (ADR-0122). */ +export type NotificationParsed = z.infer; export type NotificationInput = z.input; export type ListNotificationsRequest = z.input; export type ListNotificationsResponse = z.infer; +/** Post-parse shape of {@link ListNotificationsResponse} — defaults applied, transforms run (ADR-0122). */ +export type ListNotificationsResponseParsed = z.infer; export type MarkNotificationsReadRequest = z.input; export type MarkNotificationsReadResponse = z.infer; export type MarkAllNotificationsReadRequest = z.input; @@ -1419,6 +1451,8 @@ export type RejectAiPendingActionResponse = z.infer; export type GetLocalesResponse = z.infer; +/** Post-parse shape of {@link GetLocalesResponse} — defaults applied, transforms run (ADR-0122). */ +export type GetLocalesResponseParsed = z.infer; export type GetTranslationsRequest = z.input; export type GetTranslationsResponse = z.infer; export type GetFieldLabelsRequest = z.input; diff --git a/packages/spec/src/api/query-adapter.zod.ts b/packages/spec/src/api/query-adapter.zod.ts index 58f1ec8439..54470b8607 100644 --- a/packages/spec/src/api/query-adapter.zod.ts +++ b/packages/spec/src/api/query-adapter.zod.ts @@ -106,6 +106,8 @@ export const RestQueryAdapterSchema = lazySchema(() => z.object({ })); export type RestQueryAdapter = z.infer; +/** Post-parse shape of {@link RestQueryAdapter} — defaults applied, transforms run (ADR-0122). */ +export type RestQueryAdapterParsed = z.infer; export type RestQueryAdapterInput = z.input; // ========================================== @@ -149,6 +151,8 @@ export const ODataQueryAdapterSchema = lazySchema(() => z.object({ })); export type ODataQueryAdapter = z.infer; +/** Post-parse shape of {@link ODataQueryAdapter} — defaults applied, transforms run (ADR-0122). */ +export type ODataQueryAdapterParsed = z.infer; export type ODataQueryAdapterInput = z.input; // ========================================== @@ -174,4 +178,6 @@ export const QueryAdapterConfigSchema = lazySchema(() => z.object({ })); export type QueryAdapterConfig = z.infer; +/** Post-parse shape of {@link QueryAdapterConfig} — defaults applied, transforms run (ADR-0122). */ +export type QueryAdapterConfigParsed = z.infer; export type QueryAdapterConfigInput = z.input; diff --git a/packages/spec/src/api/realtime.zod.ts b/packages/spec/src/api/realtime.zod.ts index 28ae8071d3..8981fdbc22 100644 --- a/packages/spec/src/api/realtime.zod.ts +++ b/packages/spec/src/api/realtime.zod.ts @@ -105,3 +105,5 @@ export const RealtimeConfigSchema = lazySchema(() => z.object({ }).passthrough()); // Allow additional properties export type RealtimeConfig = z.infer; +/** Post-parse shape of {@link RealtimeConfig} — defaults applied, transforms run (ADR-0122). */ +export type RealtimeConfigParsed = z.infer; diff --git a/packages/spec/src/api/rest-server.zod.ts b/packages/spec/src/api/rest-server.zod.ts index ac3c882787..c236102080 100644 --- a/packages/spec/src/api/rest-server.zod.ts +++ b/packages/spec/src/api/rest-server.zod.ts @@ -161,6 +161,8 @@ export const RestApiConfigSchema = lazySchema(() => z.object({ })); export type RestApiConfig = z.infer; +/** Post-parse shape of {@link RestApiConfig} — defaults applied, transforms run (ADR-0122). */ +export type RestApiConfigParsed = z.infer; export type RestApiConfigInput = z.input; // ========================================== @@ -252,6 +254,8 @@ export const CrudEndpointsConfigSchema = lazySchema(() => z.object({ })); export type CrudEndpointsConfig = z.infer; +/** Post-parse shape of {@link CrudEndpointsConfig} — defaults applied, transforms run (ADR-0122). */ +export type CrudEndpointsConfigParsed = z.infer; export type CrudEndpointsConfigInput = z.input; // ========================================== @@ -301,6 +305,8 @@ export const MetadataEndpointsConfigSchema = lazySchema(() => z.object({ })); export type MetadataEndpointsConfig = z.infer; +/** Post-parse shape of {@link MetadataEndpointsConfig} — defaults applied, transforms run (ADR-0122). */ +export type MetadataEndpointsConfigParsed = z.infer; export type MetadataEndpointsConfigInput = z.input; // ========================================== @@ -351,6 +357,8 @@ export const BatchEndpointsConfigSchema = lazySchema(() => z.object({ })); export type BatchEndpointsConfig = z.infer; +/** Post-parse shape of {@link BatchEndpointsConfig} — defaults applied, transforms run (ADR-0122). */ +export type BatchEndpointsConfigParsed = z.infer; export type BatchEndpointsConfigInput = z.input; // ========================================== @@ -392,6 +400,8 @@ export const RouteGenerationConfigSchema = lazySchema(() => z.object({ })); export type RouteGenerationConfig = z.infer; +/** Post-parse shape of {@link RouteGenerationConfig} — defaults applied, transforms run (ADR-0122). */ +export type RouteGenerationConfigParsed = z.infer; export type RouteGenerationConfigInput = z.input; // ========================================== @@ -496,6 +506,8 @@ export const RestServerConfigSchema = lazySchema(() => z.object({ })); export type RestServerConfig = z.infer; +/** Post-parse shape of {@link RestServerConfig} — defaults applied, transforms run (ADR-0122). */ +export type RestServerConfigParsed = z.infer; export type RestServerConfigInput = z.input; // ========================================== diff --git a/packages/spec/src/api/router.zod.ts b/packages/spec/src/api/router.zod.ts index e5a565fc65..25547ccb59 100644 --- a/packages/spec/src/api/router.zod.ts +++ b/packages/spec/src/api/router.zod.ts @@ -100,6 +100,8 @@ export const RouteDefinitionSchema = lazySchema(() => z.object({ })); export type RouteDefinition = z.infer; +/** Post-parse shape of {@link RouteDefinition} — defaults applied, transforms run (ADR-0122). */ +export type RouteDefinitionParsed = z.infer; /** * Router Configuration Schema @@ -156,3 +158,5 @@ export const RouterConfigSchema = lazySchema(() => z.object({ })); export type RouterConfig = z.infer; +/** Post-parse shape of {@link RouterConfig} — defaults applied, transforms run (ADR-0122). */ +export type RouterConfigParsed = z.infer; diff --git a/packages/spec/src/api/storage.zod.ts b/packages/spec/src/api/storage.zod.ts index 84c02f74f7..e15392b412 100644 --- a/packages/spec/src/api/storage.zod.ts +++ b/packages/spec/src/api/storage.zod.ts @@ -87,11 +87,21 @@ export const RawUploadResponseSchema = lazySchema(() => BaseResponseSchema.exten })); export type GetPresignedUrlRequest = z.infer; +/** Post-parse shape of {@link GetPresignedUrlRequest} — defaults applied, transforms run (ADR-0122). */ +export type GetPresignedUrlRequestParsed = z.infer; export type CompleteUploadRequest = z.infer; export type PresignedUrlResponse = z.infer; +/** Post-parse shape of {@link PresignedUrlResponse} — defaults applied, transforms run (ADR-0122). */ +export type PresignedUrlResponseParsed = z.infer; export type FileUploadResponse = z.infer; +/** Post-parse shape of {@link FileUploadResponse} — defaults applied, transforms run (ADR-0122). */ +export type FileUploadResponseParsed = z.infer; export type FileDownloadUrlResponse = z.infer; +/** Post-parse shape of {@link FileDownloadUrlResponse} — defaults applied, transforms run (ADR-0122). */ +export type FileDownloadUrlResponseParsed = z.infer; export type RawUploadResponse = z.infer; +/** Post-parse shape of {@link RawUploadResponse} — defaults applied, transforms run (ADR-0122). */ +export type RawUploadResponseParsed = z.infer; // ========================================== // Chunked / Resumable Upload Protocol @@ -136,6 +146,8 @@ export const InitiateChunkedUploadRequestSchema = lazySchema(() => z.object({ metadata: z.record(z.string(), z.string()).optional().describe('Custom metadata key-value pairs'), })); export type InitiateChunkedUploadRequest = z.infer; +/** Post-parse shape of {@link InitiateChunkedUploadRequest} — defaults applied, transforms run (ADR-0122). */ +export type InitiateChunkedUploadRequestParsed = z.infer; /** * Initiate Chunked Upload Response @@ -152,6 +164,8 @@ export const InitiateChunkedUploadResponseSchema = lazySchema(() => BaseResponse }), })); export type InitiateChunkedUploadResponse = z.infer; +/** Post-parse shape of {@link InitiateChunkedUploadResponse} — defaults applied, transforms run (ADR-0122). */ +export type InitiateChunkedUploadResponseParsed = z.infer; /** * Upload Chunk Request @@ -178,6 +192,8 @@ export const UploadChunkResponseSchema = lazySchema(() => BaseResponseSchema.ext }), })); export type UploadChunkResponse = z.infer; +/** Post-parse shape of {@link UploadChunkResponse} — defaults applied, transforms run (ADR-0122). */ +export type UploadChunkResponseParsed = z.infer; /** * Complete Chunked Upload Request @@ -209,6 +225,8 @@ export const CompleteChunkedUploadResponseSchema = lazySchema(() => BaseResponse }), })); export type CompleteChunkedUploadResponse = z.infer; +/** Post-parse shape of {@link CompleteChunkedUploadResponse} — defaults applied, transforms run (ADR-0122). */ +export type CompleteChunkedUploadResponseParsed = z.infer; /** * Upload Progress Schema @@ -233,6 +251,8 @@ export const UploadProgressSchema = lazySchema(() => BaseResponseSchema.extend({ }), })); export type UploadProgress = z.infer; +/** Post-parse shape of {@link UploadProgress} — defaults applied, transforms run (ADR-0122). */ +export type UploadProgressParsed = z.infer; // ========================================== // Storage API Contract Registry diff --git a/packages/spec/src/api/versioning.zod.ts b/packages/spec/src/api/versioning.zod.ts index d0861b2344..97a31c728c 100644 --- a/packages/spec/src/api/versioning.zod.ts +++ b/packages/spec/src/api/versioning.zod.ts @@ -203,6 +203,8 @@ export const VersioningConfigSchema = lazySchema(() => z.object({ })); export type VersioningConfig = z.infer; +/** Post-parse shape of {@link VersioningConfig} — defaults applied, transforms run (ADR-0122). */ +export type VersioningConfigParsed = z.infer; export type VersioningConfigInput = z.input; // ========================================== diff --git a/packages/spec/src/api/websocket.zod.ts b/packages/spec/src/api/websocket.zod.ts index eeda723da7..e0be040533 100644 --- a/packages/spec/src/api/websocket.zod.ts +++ b/packages/spec/src/api/websocket.zod.ts @@ -423,6 +423,8 @@ export const WebSocketConfigSchema = lazySchema(() => z.object({ })); export type WebSocketConfig = z.infer; +/** Post-parse shape of {@link WebSocketConfig} — defaults applied, transforms run (ADR-0122). */ +export type WebSocketConfigParsed = z.infer; // ========================================== // Simplified Collaboration API @@ -561,3 +563,5 @@ export const WebSocketServerConfigSchema = lazySchema(() => z.object({ })); export type WebSocketServerConfig = z.infer; +/** Post-parse shape of {@link WebSocketServerConfig} — defaults applied, transforms run (ADR-0122). */ +export type WebSocketServerConfigParsed = z.infer; diff --git a/packages/spec/src/automation/approval.zod.ts b/packages/spec/src/automation/approval.zod.ts index f2197162e3..76bad3db34 100644 --- a/packages/spec/src/automation/approval.zod.ts +++ b/packages/spec/src/automation/approval.zod.ts @@ -618,6 +618,8 @@ export const ApprovalEscalationSchema = lazySchema(() => z.object({ notifySubmitter: z.boolean().default(true).describe('Notify the original submitter on escalation'), }, { error: approvalEscalationUnknownKeyError }).strict()); export type ApprovalEscalation = z.infer; +/** Post-parse shape of {@link ApprovalEscalation} — defaults applied, transforms run (ADR-0122). */ +export type ApprovalEscalationParsed = z.infer; /** * Config for an **Approval node** (`type: 'approval'`) on a flow — the ADR-0019 @@ -780,6 +782,8 @@ export const ApprovalNodeConfigSchema = lazySchema(() => z.object({ .describe('Max send-backs for revision before auto-reject (0 = send-back disabled)'), }, { error: approvalNodeConfigUnknownKeyError }).strict()); export type ApprovalNodeConfig = z.infer; +/** Post-parse shape of {@link ApprovalNodeConfig} — defaults applied, transforms run (ADR-0122). */ +export type ApprovalNodeConfigParsed = z.infer; /** * JSON Schema for {@link ApprovalNodeConfigSchema}, memoized. diff --git a/packages/spec/src/automation/bpmn-interop.zod.ts b/packages/spec/src/automation/bpmn-interop.zod.ts index 2e2617c211..c56b613e17 100644 --- a/packages/spec/src/automation/bpmn-interop.zod.ts +++ b/packages/spec/src/automation/bpmn-interop.zod.ts @@ -36,6 +36,8 @@ export const BpmnElementMappingSchema = lazySchema(() => z.object({ }).describe('Mapping between BPMN XML element and ObjectStack FlowNodeAction')); export type BpmnElementMapping = z.infer; +/** Post-parse shape of {@link BpmnElementMapping} — defaults applied, transforms run (ADR-0122). */ +export type BpmnElementMappingParsed = z.infer; // ─── BPMN Import Options ───────────────────────────────────────────── @@ -81,6 +83,8 @@ export const BpmnImportOptionsSchema = lazySchema(() => z.object({ }).describe('Options for importing BPMN 2.0 XML into an ObjectStack flow')); export type BpmnImportOptions = z.infer; +/** Post-parse shape of {@link BpmnImportOptions} — defaults applied, transforms run (ADR-0122). */ +export type BpmnImportOptionsParsed = z.infer; // ─── BPMN Export Options ───────────────────────────────────────────── @@ -124,6 +128,8 @@ export const BpmnExportOptionsSchema = lazySchema(() => z.object({ }).describe('Options for exporting an ObjectStack flow as BPMN 2.0 XML')); export type BpmnExportOptions = z.infer; +/** Post-parse shape of {@link BpmnExportOptions} — defaults applied, transforms run (ADR-0122). */ +export type BpmnExportOptionsParsed = z.infer; // ─── BPMN Import/Export Result ─────────────────────────────────────── @@ -167,6 +173,8 @@ export const BpmnInteropResultSchema = lazySchema(() => z.object({ }).describe('Result of a BPMN import/export operation')); export type BpmnInteropResult = z.infer; +/** Post-parse shape of {@link BpmnInteropResult} — defaults applied, transforms run (ADR-0122). */ +export type BpmnInteropResultParsed = z.infer; // ─── Built-in Element Mappings ─────────────────────────────────────── diff --git a/packages/spec/src/automation/flow-function.zod.ts b/packages/spec/src/automation/flow-function.zod.ts index dacbc0558c..5fabee30f6 100644 --- a/packages/spec/src/automation/flow-function.zod.ts +++ b/packages/spec/src/automation/flow-function.zod.ts @@ -160,6 +160,8 @@ export const FlowFunctionDeclarationSchema = lazySchema(() => strictObject({ }).describe('A named handler function plus its declared effect (#4396)')); export type FlowFunctionDeclaration = z.infer; +/** Post-parse shape of {@link FlowFunctionDeclaration} — defaults applied, transforms run (ADR-0122). */ +export type FlowFunctionDeclarationParsed = z.infer; export type FlowFunctionDeclarationInput = z.input; /** @@ -192,6 +194,8 @@ export const FlowFunctionEntrySchema = lazySchema(() => z.union([ ]).describe('A named handler function, a declaration record stating its effect, or a lowered handler ref')); export type FlowFunctionEntry = z.infer; +/** Post-parse shape of {@link FlowFunctionEntry} — defaults applied, transforms run (ADR-0122). */ +export type FlowFunctionEntryParsed = z.infer; /** Any callable registerable under a name (a hook body, a flow function). */ export type FlowFunctionCallable = (...args: never[]) => unknown; diff --git a/packages/spec/src/automation/node-executor.zod.ts b/packages/spec/src/automation/node-executor.zod.ts index 7b667ddb6b..2b61d112ca 100644 --- a/packages/spec/src/automation/node-executor.zod.ts +++ b/packages/spec/src/automation/node-executor.zod.ts @@ -121,6 +121,8 @@ export const WaitExecutorConfigSchema = lazySchema(() => z.object({ }).describe('Wait node executor plugin configuration')); export type WaitExecutorConfig = z.infer; +/** Post-parse shape of {@link WaitExecutorConfig} — defaults applied, transforms run (ADR-0122). */ +export type WaitExecutorConfigParsed = z.infer; // ─── Node Executor Descriptor ──────────────────────────────────────── @@ -164,6 +166,8 @@ export const NodeExecutorDescriptorSchema = lazySchema(() => z.object({ }).describe('Node executor plugin descriptor')); export type NodeExecutorDescriptor = z.infer; +/** Post-parse shape of {@link NodeExecutorDescriptor} — defaults applied, transforms run (ADR-0122). */ +export type NodeExecutorDescriptorParsed = z.infer; // ─── Action Descriptor (ADR-0018, canonical) ───────────────────────── @@ -403,6 +407,8 @@ export const ActionDescriptorSchema = lazySchema(() => z.object({ }).describe('Canonical cross-paradigm action/node descriptor (ADR-0018)')); export type ActionDescriptor = z.infer; +/** Post-parse shape of {@link ActionDescriptor} — defaults applied, transforms run (ADR-0122). */ +export type ActionDescriptorParsed = z.infer; export type ActionDescriptorInput = z.input; /** diff --git a/packages/spec/src/automation/webhook.zod.ts b/packages/spec/src/automation/webhook.zod.ts index 15c08f7dc9..eea2fc47c9 100644 --- a/packages/spec/src/automation/webhook.zod.ts +++ b/packages/spec/src/automation/webhook.zod.ts @@ -229,6 +229,8 @@ export const WebhookSchema = lazySchema(() => strictObject({ })); export type Webhook = z.infer; +/** Post-parse shape of {@link Webhook} — defaults applied, transforms run (ADR-0122). */ +export type WebhookParsed = z.infer; /** Authoring input for {@link Webhook} — defaulted fields are optional. */ export type WebhookInput = z.input; diff --git a/packages/spec/src/cloud/app-store.zod.ts b/packages/spec/src/cloud/app-store.zod.ts index 49132b278b..ba6182507f 100644 --- a/packages/spec/src/cloud/app-store.zod.ts +++ b/packages/spec/src/cloud/app-store.zod.ts @@ -383,15 +383,31 @@ export const ListInstalledAppsResponseSchema = lazySchema(() => z.object({ export type ReviewModerationStatus = z.infer; export type UserReview = z.infer; +/** Post-parse shape of {@link UserReview} — defaults applied, transforms run (ADR-0122). */ +export type UserReviewParsed = z.infer; export type SubmitReviewRequest = z.infer; export type ListReviewsRequest = z.infer; +/** Post-parse shape of {@link ListReviewsRequest} — defaults applied, transforms run (ADR-0122). */ +export type ListReviewsRequestParsed = z.infer; export type ListReviewsResponse = z.infer; +/** Post-parse shape of {@link ListReviewsResponse} — defaults applied, transforms run (ADR-0122). */ +export type ListReviewsResponseParsed = z.infer; export type RecommendationReason = z.infer; export type RecommendedApp = z.infer; export type AppDiscoveryRequest = z.infer; +/** Post-parse shape of {@link AppDiscoveryRequest} — defaults applied, transforms run (ADR-0122). */ +export type AppDiscoveryRequestParsed = z.infer; export type AppDiscoveryResponse = z.infer; export type SubscriptionStatus = z.infer; export type AppSubscription = z.infer; +/** Post-parse shape of {@link AppSubscription} — defaults applied, transforms run (ADR-0122). */ +export type AppSubscriptionParsed = z.infer; export type InstalledAppSummary = z.infer; +/** Post-parse shape of {@link InstalledAppSummary} — defaults applied, transforms run (ADR-0122). */ +export type InstalledAppSummaryParsed = z.infer; export type ListInstalledAppsRequest = z.infer; +/** Post-parse shape of {@link ListInstalledAppsRequest} — defaults applied, transforms run (ADR-0122). */ +export type ListInstalledAppsRequestParsed = z.infer; export type ListInstalledAppsResponse = z.infer; +/** Post-parse shape of {@link ListInstalledAppsResponse} — defaults applied, transforms run (ADR-0122). */ +export type ListInstalledAppsResponseParsed = z.infer; diff --git a/packages/spec/src/cloud/developer-portal.zod.ts b/packages/spec/src/cloud/developer-portal.zod.ts index d7ae92a02b..d56a200fd4 100644 --- a/packages/spec/src/cloud/developer-portal.zod.ts +++ b/packages/spec/src/cloud/developer-portal.zod.ts @@ -311,12 +311,22 @@ export const PublishingAnalyticsResponseSchema = lazySchema(() => z.object({ // ========================================== export type PublisherProfile = z.infer; +/** Post-parse shape of {@link PublisherProfile} — defaults applied, transforms run (ADR-0122). */ +export type PublisherProfileParsed = z.infer; export type ReleaseChannel = z.infer; export type VersionRelease = z.infer; +/** Post-parse shape of {@link VersionRelease} — defaults applied, transforms run (ADR-0122). */ +export type VersionReleaseParsed = z.infer; export type CreateListingRequest = z.infer; +/** Post-parse shape of {@link CreateListingRequest} — defaults applied, transforms run (ADR-0122). */ +export type CreateListingRequestParsed = z.infer; export type UpdateListingRequest = z.infer; export type ListingActionRequest = z.infer; export type AnalyticsTimeRange = z.infer; export type PublishingAnalyticsRequest = z.infer; +/** Post-parse shape of {@link PublishingAnalyticsRequest} — defaults applied, transforms run (ADR-0122). */ +export type PublishingAnalyticsRequestParsed = z.infer; export type TimeSeriesPoint = z.infer; export type PublishingAnalyticsResponse = z.infer; +/** Post-parse shape of {@link PublishingAnalyticsResponse} — defaults applied, transforms run (ADR-0122). */ +export type PublishingAnalyticsResponseParsed = z.infer; diff --git a/packages/spec/src/cloud/environment-package.zod.ts b/packages/spec/src/cloud/environment-package.zod.ts index 0ab2d1fa7a..0d7096198b 100644 --- a/packages/spec/src/cloud/environment-package.zod.ts +++ b/packages/spec/src/cloud/environment-package.zod.ts @@ -111,6 +111,8 @@ export const EnvironmentPackageInstallationSchema = lazySchema(() => z.object({ }).describe('Package installation record in an environment (sys_package_installation)')); export type EnvironmentPackageInstallation = z.infer; +/** Post-parse shape of {@link EnvironmentPackageInstallation} — defaults applied, transforms run (ADR-0122). */ +export type EnvironmentPackageInstallationParsed = z.infer; // --------------------------------------------------------------------------- // Install / Upgrade / Rollback requests @@ -142,6 +144,8 @@ export const InstallPackageToEnvironmentRequestSchema = lazySchema(() => z.objec )); export type InstallPackageToEnvironmentRequest = z.infer; +/** Post-parse shape of {@link InstallPackageToEnvironmentRequest} — defaults applied, transforms run (ADR-0122). */ +export type InstallPackageToEnvironmentRequestParsed = z.infer; /** * Request body for upgrading a package installation. @@ -157,6 +161,8 @@ export const UpgradeEnvironmentPackageRequestSchema = lazySchema(() => z.object( }).describe('Upgrade a package installation to a newer version')); export type UpgradeEnvironmentPackageRequest = z.infer; +/** Post-parse shape of {@link UpgradeEnvironmentPackageRequest} — defaults applied, transforms run (ADR-0122). */ +export type UpgradeEnvironmentPackageRequestParsed = z.infer; /** * Request body for rolling back a package installation. @@ -183,3 +189,5 @@ export const ListEnvironmentPackagesResponseSchema = lazySchema(() => z.object({ }).describe('List of packages installed in an environment')); export type ListEnvironmentPackagesResponse = z.infer; +/** Post-parse shape of {@link ListEnvironmentPackagesResponse} — defaults applied, transforms run (ADR-0122). */ +export type ListEnvironmentPackagesResponseParsed = z.infer; diff --git a/packages/spec/src/cloud/environment.zod.ts b/packages/spec/src/cloud/environment.zod.ts index 994593b755..c1308ee5d0 100644 --- a/packages/spec/src/cloud/environment.zod.ts +++ b/packages/spec/src/cloud/environment.zod.ts @@ -179,6 +179,8 @@ export const EnvironmentSchema = lazySchema(() => z.object({ })); export type Environment = z.infer; +/** Post-parse shape of {@link Environment} — defaults applied, transforms run (ADR-0122). */ +export type EnvironmentParsed = z.infer; // --------------------------------------------------------------------------- // Credential (rotatable) @@ -233,6 +235,8 @@ export const EnvironmentCredentialSchema = lazySchema(() => z.object({ })); export type EnvironmentCredential = z.infer; +/** Post-parse shape of {@link EnvironmentCredential} — defaults applied, transforms run (ADR-0122). */ +export type EnvironmentCredentialParsed = z.infer; // --------------------------------------------------------------------------- // Environment-scoped RBAC @@ -308,6 +312,8 @@ export const ProvisionEnvironmentRequestSchema = lazySchema(() => z.object({ })); export type ProvisionEnvironmentRequest = z.infer; +/** Post-parse shape of {@link ProvisionEnvironmentRequest} — defaults applied, transforms run (ADR-0122). */ +export type ProvisionEnvironmentRequestParsed = z.infer; /** * Response of a successful environment provisioning call. @@ -320,6 +326,8 @@ export const ProvisionEnvironmentResponseSchema = lazySchema(() => z.object({ })); export type ProvisionEnvironmentResponse = z.infer; +/** Post-parse shape of {@link ProvisionEnvironmentResponse} — defaults applied, transforms run (ADR-0122). */ +export type ProvisionEnvironmentResponseParsed = z.infer; /** * Request to bootstrap a brand-new organization — allocates the default @@ -340,6 +348,8 @@ export const ProvisionOrganizationRequestSchema = lazySchema(() => z.object({ })); export type ProvisionOrganizationRequest = z.infer; +/** Post-parse shape of {@link ProvisionOrganizationRequest} — defaults applied, transforms run (ADR-0122). */ +export type ProvisionOrganizationRequestParsed = z.infer; /** * Response of a successful organization bootstrap. @@ -351,3 +361,5 @@ export const ProvisionOrganizationResponseSchema = lazySchema(() => z.object({ })); export type ProvisionOrganizationResponse = z.infer; +/** Post-parse shape of {@link ProvisionOrganizationResponse} — defaults applied, transforms run (ADR-0122). */ +export type ProvisionOrganizationResponseParsed = z.infer; diff --git a/packages/spec/src/cloud/marketplace-admin.zod.ts b/packages/spec/src/cloud/marketplace-admin.zod.ts index ef94662050..550880504e 100644 --- a/packages/spec/src/cloud/marketplace-admin.zod.ts +++ b/packages/spec/src/cloud/marketplace-admin.zod.ts @@ -301,12 +301,22 @@ export const TrendingListingSchema = lazySchema(() => z.object({ // ========================================== export type ReviewCriterion = z.infer; +/** Post-parse shape of {@link ReviewCriterion} — defaults applied, transforms run (ADR-0122). */ +export type ReviewCriterionParsed = z.infer; export type ReviewDecision = z.infer; export type RejectionReason = z.infer; export type SubmissionReview = z.infer; +/** Post-parse shape of {@link SubmissionReview} — defaults applied, transforms run (ADR-0122). */ +export type SubmissionReviewParsed = z.infer; export type FeaturedListing = z.infer; +/** Post-parse shape of {@link FeaturedListing} — defaults applied, transforms run (ADR-0122). */ +export type FeaturedListingParsed = z.infer; export type CuratedCollection = z.infer; +/** Post-parse shape of {@link CuratedCollection} — defaults applied, transforms run (ADR-0122). */ +export type CuratedCollectionParsed = z.infer; export type PolicyViolationType = z.infer; export type PolicyAction = z.infer; +/** Post-parse shape of {@link PolicyAction} — defaults applied, transforms run (ADR-0122). */ +export type PolicyActionParsed = z.infer; export type MarketplaceHealthMetrics = z.infer; export type TrendingListing = z.infer; diff --git a/packages/spec/src/cloud/marketplace.zod.ts b/packages/spec/src/cloud/marketplace.zod.ts index 1b396c24c7..8ba9e84e20 100644 --- a/packages/spec/src/cloud/marketplace.zod.ts +++ b/packages/spec/src/cloud/marketplace.zod.ts @@ -119,6 +119,8 @@ export const ArtifactReferenceSchema = lazySchema(() => z.object({ }).describe('Reference to a downloadable package artifact')); export type ArtifactReference = z.infer; +/** Post-parse shape of {@link ArtifactReference} — defaults applied, transforms run (ADR-0122). */ +export type ArtifactReferenceParsed = z.infer; /** * Artifact Download Response Schema @@ -523,12 +525,24 @@ export const MarketplaceInstallResponseSchema = lazySchema(() => z.object({ export type PublisherVerification = z.infer; export type Publisher = z.infer; +/** Post-parse shape of {@link Publisher} — defaults applied, transforms run (ADR-0122). */ +export type PublisherParsed = z.infer; export type MarketplaceCategory = z.infer; export type ListingStatus = z.infer; export type PricingModel = z.infer; export type MarketplaceListing = z.infer; +/** Post-parse shape of {@link MarketplaceListing} — defaults applied, transforms run (ADR-0122). */ +export type MarketplaceListingParsed = z.infer; export type PackageSubmission = z.infer; +/** Post-parse shape of {@link PackageSubmission} — defaults applied, transforms run (ADR-0122). */ +export type PackageSubmissionParsed = z.infer; export type MarketplaceSearchRequest = z.infer; +/** Post-parse shape of {@link MarketplaceSearchRequest} — defaults applied, transforms run (ADR-0122). */ +export type MarketplaceSearchRequestParsed = z.infer; export type MarketplaceSearchResponse = z.infer; +/** Post-parse shape of {@link MarketplaceSearchResponse} — defaults applied, transforms run (ADR-0122). */ +export type MarketplaceSearchResponseParsed = z.infer; export type MarketplaceInstallRequest = z.infer; +/** Post-parse shape of {@link MarketplaceInstallRequest} — defaults applied, transforms run (ADR-0122). */ +export type MarketplaceInstallRequestParsed = z.infer; export type MarketplaceInstallResponse = z.infer; diff --git a/packages/spec/src/cloud/package-version.zod.ts b/packages/spec/src/cloud/package-version.zod.ts index 32854243a8..9672b99442 100644 --- a/packages/spec/src/cloud/package-version.zod.ts +++ b/packages/spec/src/cloud/package-version.zod.ts @@ -62,6 +62,8 @@ export const PackageDependencySchema = lazySchema(() => z.object({ }).describe('Package dependency declaration')); export type PackageDependency = z.infer; +/** Post-parse shape of {@link PackageDependency} — defaults applied, transforms run (ADR-0122). */ +export type PackageDependencyParsed = z.infer; /** * Lightweight manifest embedded in `sys_package_version.manifest_json`. @@ -118,6 +120,8 @@ export const PackageManifestSchema = lazySchema(() => z.object({ }).describe('Package manifest snapshot embedded in a package version')); export type PackageManifest = z.infer; +/** Post-parse shape of {@link PackageManifest} — defaults applied, transforms run (ADR-0122). */ +export type PackageManifestParsed = z.infer; // --------------------------------------------------------------------------- // sys_package_version — Immutable release snapshot @@ -185,6 +189,8 @@ export const PackageVersionSchema = lazySchema(() => z.object({ })); export type PackageVersion = z.infer; +/** Post-parse shape of {@link PackageVersion} — defaults applied, transforms run (ADR-0122). */ +export type PackageVersionParsed = z.infer; // --------------------------------------------------------------------------- // Request / Response diff --git a/packages/spec/src/cloud/package.zod.ts b/packages/spec/src/cloud/package.zod.ts index 18bac6628b..14fe2bf169 100644 --- a/packages/spec/src/cloud/package.zod.ts +++ b/packages/spec/src/cloud/package.zod.ts @@ -239,6 +239,8 @@ export const PackageSchema = lazySchema(() => z.object({ })); export type Package = z.infer; +/** Post-parse shape of {@link Package} — defaults applied, transforms run (ADR-0122). */ +export type PackageParsed = z.infer; // --------------------------------------------------------------------------- // Request / Response diff --git a/packages/spec/src/cloud/tenant.zod.ts b/packages/spec/src/cloud/tenant.zod.ts index 70d5c97c76..8542a2cf63 100644 --- a/packages/spec/src/cloud/tenant.zod.ts +++ b/packages/spec/src/cloud/tenant.zod.ts @@ -127,6 +127,8 @@ export const TenantDatabaseSchema = lazySchema(() => z.object({ })); export type TenantDatabase = z.infer; +/** Post-parse shape of {@link TenantDatabase} — defaults applied, transforms run (ADR-0122). */ +export type TenantDatabaseParsed = z.infer; /** * Package Installation Status @@ -196,6 +198,8 @@ export const PackageInstallationSchema = lazySchema(() => z.object({ })); export type PackageInstallation = z.infer; +/** Post-parse shape of {@link PackageInstallation} — defaults applied, transforms run (ADR-0122). */ +export type PackageInstallationParsed = z.infer; /** * Tenant Context @@ -303,6 +307,8 @@ export const TenantRoutingConfigSchema = lazySchema(() => z.object({ })); export type TenantRoutingConfig = z.infer; +/** Post-parse shape of {@link TenantRoutingConfig} — defaults applied, transforms run (ADR-0122). */ +export type TenantRoutingConfigParsed = z.infer; /** * Tenant Provisioning Request @@ -337,6 +343,8 @@ export const ProvisionTenantRequestSchema = lazySchema(() => z.object({ })); export type ProvisionTenantRequest = z.infer; +/** Post-parse shape of {@link ProvisionTenantRequest} — defaults applied, transforms run (ADR-0122). */ +export type ProvisionTenantRequestParsed = z.infer; /** * Tenant Provisioning Response @@ -361,3 +369,5 @@ export const ProvisionTenantResponseSchema = lazySchema(() => z.object({ })); export type ProvisionTenantResponse = z.infer; +/** Post-parse shape of {@link ProvisionTenantResponse} — defaults applied, transforms run (ADR-0122). */ +export type ProvisionTenantResponseParsed = z.infer; diff --git a/packages/spec/src/data/analytics.zod.ts b/packages/spec/src/data/analytics.zod.ts index 914f52a749..8811ab567d 100644 --- a/packages/spec/src/data/analytics.zod.ts +++ b/packages/spec/src/data/analytics.zod.ts @@ -183,7 +183,11 @@ export const AnalyticsQuerySchema = lazySchema(() => z.object({ export type Metric = z.infer; export type Dimension = z.infer; export type CubeJoin = z.infer; +/** Post-parse shape of {@link CubeJoin} — defaults applied, transforms run (ADR-0122). */ +export type CubeJoinParsed = z.infer; export type Cube = z.infer; +/** Post-parse shape of {@link Cube} — defaults applied, transforms run (ADR-0122). */ +export type CubeParsed = z.infer; /** Authoring input for {@link Cube} — defaulted fields are optional. */ export type CubeInput = z.input; diff --git a/packages/spec/src/data/data-engine.zod.ts b/packages/spec/src/data/data-engine.zod.ts index 06fb01c6c4..a82a091412 100644 --- a/packages/spec/src/data/data-engine.zod.ts +++ b/packages/spec/src/data/data-engine.zod.ts @@ -737,6 +737,8 @@ export const DataEngineRequestSchema = lazySchema(() => z.discriminatedUnion('me */ export type BaseEngineOptions = z.infer; export type EngineQueryOptions = z.infer; +/** Post-parse shape of {@link EngineQueryOptions} — defaults applied, transforms run (ADR-0122). */ +export type EngineQueryOptionsParsed = z.infer; export type EngineUpdateOptions = z.infer; export type DroppedFieldsEvent = z.infer; export type EngineDeleteOptions = z.infer; @@ -747,8 +749,12 @@ export type EngineCountOptions = z.infer; export type DataEngineFilter = z.infer; /** @deprecated Use standard `SortNode[]` from QueryAST instead. */ export type DataEngineSort = z.infer; +/** Post-parse shape of {@link DataEngineSort} — defaults applied, transforms run (ADR-0122). */ +export type DataEngineSortParsed = z.infer; /** @deprecated Use `EngineQueryOptions` instead. */ export type DataEngineQueryOptions = z.infer; +/** Post-parse shape of {@link DataEngineQueryOptions} — defaults applied, transforms run (ADR-0122). */ +export type DataEngineQueryOptionsParsed = z.infer; export type DataEngineInsertOptions = z.infer; /** @deprecated Use `EngineUpdateOptions` instead. */ export type DataEngineUpdateOptions = z.infer; @@ -759,3 +765,5 @@ export type DataEngineAggregateOptions = z.infer; export type DataEngineRequest = z.infer; +/** Post-parse shape of {@link DataEngineRequest} — defaults applied, transforms run (ADR-0122). */ +export type DataEngineRequestParsed = z.infer; diff --git a/packages/spec/src/data/datasource.zod.ts b/packages/spec/src/data/datasource.zod.ts index d3bbdf890b..c9a170e878 100644 --- a/packages/spec/src/data/datasource.zod.ts +++ b/packages/spec/src/data/datasource.zod.ts @@ -431,6 +431,8 @@ export const ExternalDatasourceSettingsSchema = z.object({ .describe('External datasource federation settings (schemaMode != "managed")'); export type ExternalDatasourceSettings = z.infer; +/** Post-parse shape of {@link ExternalDatasourceSettings} — defaults applied, transforms run (ADR-0122). */ +export type ExternalDatasourceSettingsParsed = z.infer; /** * Replay a driver-config parse onto the datasource's own issue list (#4410). @@ -589,6 +591,8 @@ export const DatasourceSchema = lazySchema(() => z.object({ })); export type Datasource = z.infer; +/** Post-parse shape of {@link Datasource} — defaults applied, transforms run (ADR-0122). */ +export type DatasourceParsed = z.infer; /** Authoring input for {@link Datasource} — defaulted fields are optional. */ export type DatasourceInput = z.input; diff --git a/packages/spec/src/data/document.zod.ts b/packages/spec/src/data/document.zod.ts index ab28726af4..c9a003525b 100644 --- a/packages/spec/src/data/document.zod.ts +++ b/packages/spec/src/data/document.zod.ts @@ -368,6 +368,14 @@ export const DocumentSchema = lazySchema(() => z.object({ // Type exports export type Document = z.infer; +/** Post-parse shape of {@link Document} — defaults applied, transforms run (ADR-0122). */ +export type DocumentParsed = z.infer; export type DocumentVersion = z.infer; +/** Post-parse shape of {@link DocumentVersion} — defaults applied, transforms run (ADR-0122). */ +export type DocumentVersionParsed = z.infer; export type DocumentTemplate = z.infer; +/** Post-parse shape of {@link DocumentTemplate} — defaults applied, transforms run (ADR-0122). */ +export type DocumentTemplateParsed = z.infer; export type ESignatureConfig = z.infer; +/** Post-parse shape of {@link ESignatureConfig} — defaults applied, transforms run (ADR-0122). */ +export type ESignatureConfigParsed = z.infer; diff --git a/packages/spec/src/data/driver-nosql.zod.ts b/packages/spec/src/data/driver-nosql.zod.ts index 06d0a8679c..d060813eb1 100644 --- a/packages/spec/src/data/driver-nosql.zod.ts +++ b/packages/spec/src/data/driver-nosql.zod.ts @@ -93,6 +93,8 @@ export const ShardingConfigSchema = lazySchema(() => z.object({ })); export type ShardingConfig = z.infer; +/** Post-parse shape of {@link ShardingConfig} — defaults applied, transforms run (ADR-0122). */ +export type ShardingConfigParsed = z.infer; /** * NoSQL Replication Configuration @@ -111,6 +113,8 @@ export const ReplicationConfigSchema = lazySchema(() => z.object({ })); export type ReplicationConfig = z.infer; +/** Post-parse shape of {@link ReplicationConfig} — defaults applied, transforms run (ADR-0122). */ +export type ReplicationConfigParsed = z.infer; /** * Document Schema Validation @@ -124,6 +128,8 @@ export const DocumentSchemaValidationSchema = lazySchema(() => z.object({ })); export type DocumentSchemaValidation = z.infer; +/** Post-parse shape of {@link DocumentSchemaValidation} — defaults applied, transforms run (ADR-0122). */ +export type DocumentSchemaValidationParsed = z.infer; /** * NoSQL Data Type Mapping Schema @@ -275,6 +281,8 @@ export const NoSQLDriverConfigSchema = lazySchema(() => DriverConfigSchema.exten })); export type NoSQLDriverConfig = z.infer; +/** Post-parse shape of {@link NoSQLDriverConfig} — defaults applied, transforms run (ADR-0122). */ +export type NoSQLDriverConfigParsed = z.infer; /** * NoSQL Query Options @@ -416,6 +424,8 @@ export const NoSQLIndexSchema = lazySchema(() => z.object({ })); export type NoSQLIndex = z.infer; +/** Post-parse shape of {@link NoSQLIndex} — defaults applied, transforms run (ADR-0122). */ +export type NoSQLIndexParsed = z.infer; /** * NoSQL Transaction Options diff --git a/packages/spec/src/data/driver-sql.zod.ts b/packages/spec/src/data/driver-sql.zod.ts index c637ed49a2..3109b7fd73 100644 --- a/packages/spec/src/data/driver-sql.zod.ts +++ b/packages/spec/src/data/driver-sql.zod.ts @@ -75,6 +75,8 @@ export const SSLConfigSchema = lazySchema(() => z.object({ })); export type SSLConfig = z.infer; +/** Post-parse shape of {@link SSLConfig} — defaults applied, transforms run (ADR-0122). */ +export type SSLConfigParsed = z.infer; /** * SQL Driver Configuration Schema @@ -134,6 +136,8 @@ export const SQLDriverConfigSchema = lazySchema(() => DriverConfigSchema.extend( })); export type SQLDriverConfig = z.infer; +/** Post-parse shape of {@link SQLDriverConfig} — defaults applied, transforms run (ADR-0122). */ +export type SQLDriverConfigParsed = z.infer; // ========================================================================== // SQLite-Specific Constants diff --git a/packages/spec/src/data/driver.zod.ts b/packages/spec/src/data/driver.zod.ts index c89560e000..46a7bdd35b 100644 --- a/packages/spec/src/data/driver.zod.ts +++ b/packages/spec/src/data/driver.zod.ts @@ -740,5 +740,11 @@ export const DriverConfigSchema = lazySchema(() => z.object({ export type DriverOptions = z.infer; export type DriverCapabilities = z.infer; export type DriverInterface = z.infer; +/** Post-parse shape of {@link DriverInterface} — defaults applied, transforms run (ADR-0122). */ +export type DriverInterfaceParsed = z.infer; export type DriverConfig = z.infer; +/** Post-parse shape of {@link DriverConfig} — defaults applied, transforms run (ADR-0122). */ +export type DriverConfigParsed = z.infer; export type PoolConfig = z.infer; +/** Post-parse shape of {@link PoolConfig} — defaults applied, transforms run (ADR-0122). */ +export type PoolConfigParsed = z.infer; diff --git a/packages/spec/src/data/driver/memory.zod.ts b/packages/spec/src/data/driver/memory.zod.ts index 6d5b44e998..7ec33ffb0b 100644 --- a/packages/spec/src/data/driver/memory.zod.ts +++ b/packages/spec/src/data/driver/memory.zod.ts @@ -71,6 +71,8 @@ export const FilePersistenceConfigSchema = lazySchema(() => z.object({ }).describe('File-system persistence configuration')); export type FilePersistenceConfig = z.infer; +/** Post-parse shape of {@link FilePersistenceConfig} — defaults applied, transforms run (ADR-0122). */ +export type FilePersistenceConfigParsed = z.infer; /** * localStorage persistence configuration. @@ -330,4 +332,8 @@ export const MemoryDriverSpec = { // ========================================================================== export type MemoryConfig = z.infer; +/** Post-parse shape of {@link MemoryConfig} — defaults applied, transforms run (ADR-0122). */ +export type MemoryConfigParsed = z.infer; export type MemoryPersistenceConfig = z.infer; +/** Post-parse shape of {@link MemoryPersistenceConfig} — defaults applied, transforms run (ADR-0122). */ +export type MemoryPersistenceConfigParsed = z.infer; diff --git a/packages/spec/src/data/driver/mongo.zod.ts b/packages/spec/src/data/driver/mongo.zod.ts index b719f97370..38d810ce51 100644 --- a/packages/spec/src/data/driver/mongo.zod.ts +++ b/packages/spec/src/data/driver/mongo.zod.ts @@ -163,3 +163,5 @@ export const MongoDriverSpec = { * Derived Types */ export type MongoConfig = z.infer; +/** Post-parse shape of {@link MongoConfig} — defaults applied, transforms run (ADR-0122). */ +export type MongoConfigParsed = z.infer; diff --git a/packages/spec/src/data/driver/mysql.zod.ts b/packages/spec/src/data/driver/mysql.zod.ts index 9bb6f6fcb3..1e7e9fe5dc 100644 --- a/packages/spec/src/data/driver/mysql.zod.ts +++ b/packages/spec/src/data/driver/mysql.zod.ts @@ -120,6 +120,8 @@ export const MysqlConfigSchema = lazySchema(() => z.object({ })); export type MysqlConfig = z.infer; +/** Post-parse shape of {@link MysqlConfig} — defaults applied, transforms run (ADR-0122). */ +export type MysqlConfigParsed = z.infer; /** JSON-Schema projection of {@link MysqlConfigSchema}, memoized. */ export const getMysqlConfigJsonSchema = driverConfigJsonSchema(MysqlConfigSchema); diff --git a/packages/spec/src/data/driver/postgres.zod.ts b/packages/spec/src/data/driver/postgres.zod.ts index 6593cca1b0..9aaa02ba22 100644 --- a/packages/spec/src/data/driver/postgres.zod.ts +++ b/packages/spec/src/data/driver/postgres.zod.ts @@ -144,6 +144,8 @@ export const PostgresConfigSchema = lazySchema(() => z.object({ })); export type PostgresConfig = z.infer; +/** Post-parse shape of {@link PostgresConfig} — defaults applied, transforms run (ADR-0122). */ +export type PostgresConfigParsed = z.infer; /** JSON-Schema projection of {@link PostgresConfigSchema}, memoized. */ export const getPostgresConfigJsonSchema = driverConfigJsonSchema(PostgresConfigSchema); diff --git a/packages/spec/src/data/driver/sqlite.zod.ts b/packages/spec/src/data/driver/sqlite.zod.ts index f9ffd909b4..dad4cf0a71 100644 --- a/packages/spec/src/data/driver/sqlite.zod.ts +++ b/packages/spec/src/data/driver/sqlite.zod.ts @@ -78,6 +78,8 @@ export const SqliteConfigSchema = lazySchema(() => z.object({ .describe('SQLite connection configuration')); export type SqliteConfig = z.infer; +/** Post-parse shape of {@link SqliteConfig} — defaults applied, transforms run (ADR-0122). */ +export type SqliteConfigParsed = z.infer; /** JSON-Schema projection of {@link SqliteConfigSchema}, memoized. */ export const getSqliteConfigJsonSchema = driverConfigJsonSchema(SqliteConfigSchema); @@ -129,6 +131,8 @@ export const SqliteWasmConfigSchema = lazySchema(() => z.object({ .describe('SQLite (WASM) connection configuration')); export type SqliteWasmConfig = z.infer; +/** Post-parse shape of {@link SqliteWasmConfig} — defaults applied, transforms run (ADR-0122). */ +export type SqliteWasmConfigParsed = z.infer; /** JSON-Schema projection of {@link SqliteWasmConfigSchema}, memoized. */ export const getSqliteWasmConfigJsonSchema = driverConfigJsonSchema(SqliteWasmConfigSchema); diff --git a/packages/spec/src/data/external-catalog.zod.ts b/packages/spec/src/data/external-catalog.zod.ts index d7a0711a7b..2597512ccd 100644 --- a/packages/spec/src/data/external-catalog.zod.ts +++ b/packages/spec/src/data/external-catalog.zod.ts @@ -25,6 +25,8 @@ export const ExternalColumnSchema = z.object({ }); export type ExternalColumn = z.infer; +/** Post-parse shape of {@link ExternalColumn} — defaults applied, transforms run (ADR-0122). */ +export type ExternalColumnParsed = z.infer; /** A single remote table/view captured in a catalog snapshot. */ export const ExternalTableSchema = z.object({ @@ -40,6 +42,8 @@ export const ExternalTableSchema = z.object({ }); export type ExternalTable = z.infer; +/** Post-parse shape of {@link ExternalTable} — defaults applied, transforms run (ADR-0122). */ +export type ExternalTableParsed = z.infer; /** * The persisted snapshot of a federated datasource's remote schema. @@ -55,3 +59,5 @@ export const ExternalCatalogSchema = lazySchema(() => z.object({ })); export type ExternalCatalog = z.infer; +/** Post-parse shape of {@link ExternalCatalog} — defaults applied, transforms run (ADR-0122). */ +export type ExternalCatalogParsed = z.infer; diff --git a/packages/spec/src/data/external-lookup.zod.ts b/packages/spec/src/data/external-lookup.zod.ts index b164ffe1bd..be6b9a0af9 100644 --- a/packages/spec/src/data/external-lookup.zod.ts +++ b/packages/spec/src/data/external-lookup.zod.ts @@ -307,5 +307,9 @@ export const ExternalLookupSchema = lazySchema(() => z.object({ // Type exports export type ExternalLookup = z.infer; +/** Post-parse shape of {@link ExternalLookup} — defaults applied, transforms run (ADR-0122). */ +export type ExternalLookupParsed = z.infer; export type ExternalDataSource = z.infer; export type ExternalFieldMapping = z.infer; +/** Post-parse shape of {@link ExternalFieldMapping} — defaults applied, transforms run (ADR-0122). */ +export type ExternalFieldMappingParsed = z.infer; diff --git a/packages/spec/src/data/field.zod.ts b/packages/spec/src/data/field.zod.ts index 2d758a55f1..3ec21153e8 100644 --- a/packages/spec/src/data/field.zod.ts +++ b/packages/spec/src/data/field.zod.ts @@ -858,6 +858,8 @@ export const FieldSchema = lazySchema(() => strictObject({ })); export type Field = z.infer; +/** Post-parse shape of {@link Field} — defaults applied, transforms run (ADR-0122). */ +export type FieldParsed = z.infer; /** * Author-facing parse INPUT for a field. Since protocol 17 (#3855) it no longer * carries the removed `conditionalRequired` alias — the key is tombstoned, so @@ -867,9 +869,13 @@ export type Field = z.infer; */ export type FieldParseInput = z.input; export type SelectOption = z.infer; +/** Post-parse shape of {@link SelectOption} — defaults applied, transforms run (ADR-0122). */ +export type SelectOptionParsed = z.infer; export type LocationCoordinates = z.infer; export type Address = z.infer; export type CurrencyConfig = z.infer; +/** Post-parse shape of {@link CurrencyConfig} — defaults applied, transforms run (ADR-0122). */ +export type CurrencyConfigParsed = z.infer; export type CurrencyConfigInput = z.input; export type CurrencyValue = z.infer; diff --git a/packages/spec/src/data/hook-body.zod.ts b/packages/spec/src/data/hook-body.zod.ts index 78313e1a9e..65b992c883 100644 --- a/packages/spec/src/data/hook-body.zod.ts +++ b/packages/spec/src/data/hook-body.zod.ts @@ -223,6 +223,8 @@ export const ScriptBodySchema = z.object({ memoryMb: z.number().int().positive().max(256).optional().describe('Per-invocation memory cap (MB)'), }, { error: scriptBodyUnknownKeyError }).strict().describe('L2 sandboxed JS body — runs inside an isolated VM with declared capabilities'); export type ScriptBody = z.infer; +/** Post-parse shape of {@link ScriptBody} — defaults applied, transforms run (ADR-0122). */ +export type ScriptBodyParsed = z.infer; /** * Hook / Action body — discriminated by `language`. @@ -242,3 +244,5 @@ export const HookBodySchema = z.discriminatedUnion('language', [ ScriptBodySchema, ]).describe('Hook/Action body — expression (L1) or sandboxed JS (L2)'); export type HookBody = z.infer; +/** Post-parse shape of {@link HookBody} — defaults applied, transforms run (ADR-0122). */ +export type HookBodyParsed = z.infer; diff --git a/packages/spec/src/data/mapping.zod.ts b/packages/spec/src/data/mapping.zod.ts index 42efa990d8..71c7961923 100644 --- a/packages/spec/src/data/mapping.zod.ts +++ b/packages/spec/src/data/mapping.zod.ts @@ -238,6 +238,8 @@ export const MappingSchema = lazySchema(() => strictObject({ })); export type Mapping = z.infer; +/** Post-parse shape of {@link Mapping} — defaults applied, transforms run (ADR-0122). */ +export type MappingParsed = z.infer; /** Authoring input for {@link Mapping} — defaulted fields are optional. */ export type MappingInput = z.input; @@ -250,3 +252,5 @@ export function defineMapping(config: z.input): Mapping { return MappingSchema.parse(config); } export type ImportFieldMapping = z.infer; +/** Post-parse shape of {@link ImportFieldMapping} — defaults applied, transforms run (ADR-0122). */ +export type ImportFieldMappingParsed = z.infer; diff --git a/packages/spec/src/data/object.zod.ts b/packages/spec/src/data/object.zod.ts index 7ac54be5b6..28d91e7df8 100644 --- a/packages/spec/src/data/object.zod.ts +++ b/packages/spec/src/data/object.zod.ts @@ -901,6 +901,8 @@ export const ObjectFieldGroupSchema = lazySchema(() => strictObject({ })); export type ObjectFieldGroup = z.infer; +/** Post-parse shape of {@link ObjectFieldGroup} — defaults applied, transforms run (ADR-0122). */ +export type ObjectFieldGroupParsed = z.infer; export type ObjectFieldGroupInput = z.input; /** @@ -987,6 +989,8 @@ export const ObjectExternalBindingSchema = strictObject({ }).describe('External datasource binding (ADR-0015)'); export type ObjectExternalBinding = z.infer; +/** Post-parse shape of {@link ObjectExternalBinding} — defaults applied, transforms run (ADR-0122). */ +export type ObjectExternalBindingParsed = z.infer; /** * Object form of a `userActions.edit` / `userActions.delete` override — @@ -1022,6 +1026,8 @@ export const RowCrudActionOverrideSchema = z.object({ ), }).strict().describe('Boolean-or-predicates override for a built-in row CRUD affordance.'); export type RowCrudActionOverride = z.infer; +/** Post-parse shape of {@link RowCrudActionOverride} — defaults applied, transforms run (ADR-0122). */ +export type RowCrudActionOverrideParsed = z.infer; export type RowCrudActionOverrideInput = z.input; /** @@ -2166,11 +2172,19 @@ export const ObjectSchema = lazySchema(() => { }); export type ServiceObject = z.infer; +/** Post-parse shape of {@link ServiceObject} — defaults applied, transforms run (ADR-0122). */ +export type ServiceObjectParsed = z.infer; export type ServiceObjectInput = z.input; export type ObjectCapabilities = z.infer; +/** Post-parse shape of {@link ObjectCapabilities} — defaults applied, transforms run (ADR-0122). */ +export type ObjectCapabilitiesParsed = z.infer; export type ObjectIndex = z.infer; +/** Post-parse shape of {@link ObjectIndex} — defaults applied, transforms run (ADR-0122). */ +export type ObjectIndexParsed = z.infer; export type TenancyConfig = z.infer; export type ObjectAccessConfig = z.infer; +/** Post-parse shape of {@link ObjectAccessConfig} — defaults applied, transforms run (ADR-0122). */ +export type ObjectAccessConfigParsed = z.infer; export type LifecycleClass = z.infer; export type Lifecycle = z.infer; @@ -2404,6 +2418,8 @@ export const ObjectExtensionSchema = lazySchema(() => strictObject({ })); export type ObjectExtension = z.infer; +/** Post-parse shape of {@link ObjectExtension} — defaults applied, transforms run (ADR-0122). */ +export type ObjectExtensionParsed = z.infer; /** Authoring input for {@link ObjectExtension} — defaulted fields are optional. */ export type ObjectExtensionInput = z.input; diff --git a/packages/spec/src/data/query.zod.ts b/packages/spec/src/data/query.zod.ts index 6f7e9d4b5f..d5655dc57e 100644 --- a/packages/spec/src/data/query.zod.ts +++ b/packages/spec/src/data/query.zod.ts @@ -334,6 +334,8 @@ export const FullTextSearchSchema = lazySchema(() => z.object({ })); export type FullTextSearch = z.infer; +/** Post-parse shape of {@link FullTextSearch} — defaults applied, transforms run (ADR-0122). */ +export type FullTextSearchParsed = z.infer; /** * Query AST Schema @@ -494,6 +496,8 @@ export const QuerySchema: z.ZodType = lazySchema(() => Bas })); export type SortNode = z.infer; +/** Post-parse shape of {@link SortNode} — defaults applied, transforms run (ADR-0122). */ +export type SortNodeParsed = z.infer; export type AggregationNode = z.infer; export type GroupByNode = z.infer; export type DateGranularityValue = z.infer; diff --git a/packages/spec/src/data/seed-loader.zod.ts b/packages/spec/src/data/seed-loader.zod.ts index fb0c3b9260..ebb4b9dbe8 100644 --- a/packages/spec/src/data/seed-loader.zod.ts +++ b/packages/spec/src/data/seed-loader.zod.ts @@ -62,6 +62,8 @@ export const ReferenceResolutionSchema = lazySchema(() => z.object({ }).describe('Describes how a field reference is resolved during seed loading')); export type ReferenceResolution = z.infer; +/** Post-parse shape of {@link ReferenceResolution} — defaults applied, transforms run (ADR-0122). */ +export type ReferenceResolutionParsed = z.infer; // ========================================================================== // 2. Object Dependency Node @@ -89,6 +91,8 @@ export const ObjectDependencyNodeSchema = lazySchema(() => z.object({ }).describe('Object node in the seed data dependency graph')); export type ObjectDependencyNode = z.infer; +/** Post-parse shape of {@link ObjectDependencyNode} — defaults applied, transforms run (ADR-0122). */ +export type ObjectDependencyNodeParsed = z.infer; // ========================================================================== // 3. Object Dependency Graph @@ -120,6 +124,8 @@ export const ObjectDependencyGraphSchema = lazySchema(() => z.object({ }).describe('Complete object dependency graph for seed data loading')); export type ObjectDependencyGraph = z.infer; +/** Post-parse shape of {@link ObjectDependencyGraph} — defaults applied, transforms run (ADR-0122). */ +export type ObjectDependencyGraphParsed = z.infer; // ========================================================================== // 4. Reference Resolution Error @@ -296,6 +302,8 @@ export const SeedLoaderConfigSchema = lazySchema(() => z.object({ }).describe('Seed data loader configuration')); export type SeedLoaderConfig = z.infer; +/** Post-parse shape of {@link SeedLoaderConfig} — defaults applied, transforms run (ADR-0122). */ +export type SeedLoaderConfigParsed = z.infer; /** Input type — all fields with defaults are optional */ export type SeedLoaderConfigInput = z.input; @@ -385,6 +393,8 @@ export const SeedLoadResultSchema = lazySchema(() => z.object({ }).describe('Result of loading a single dataset')); export type SeedLoadResult = z.infer; +/** Post-parse shape of {@link SeedLoadResult} — defaults applied, transforms run (ADR-0122). */ +export type SeedLoadResultParsed = z.infer; // ========================================================================== // 7. Seed Loader Result @@ -464,6 +474,8 @@ export const SeedLoaderResultSchema = lazySchema(() => z.object({ }).describe('Complete seed loader result')); export type SeedLoaderResult = z.infer; +/** Post-parse shape of {@link SeedLoaderResult} — defaults applied, transforms run (ADR-0122). */ +export type SeedLoaderResultParsed = z.infer; // ========================================================================== // 8. Seed Loader Request @@ -482,6 +494,8 @@ export const SeedLoaderRequestSchema = lazySchema(() => z.object({ }).describe('Seed loader request with datasets and configuration')); export type SeedLoaderRequest = z.infer; +/** Post-parse shape of {@link SeedLoaderRequest} — defaults applied, transforms run (ADR-0122). */ +export type SeedLoaderRequestParsed = z.infer; /** Input type — config defaults are optional */ export type SeedLoaderRequestInput = z.input; diff --git a/packages/spec/src/data/seed.zod.ts b/packages/spec/src/data/seed.zod.ts index 60abb9eb62..c528931b0d 100644 --- a/packages/spec/src/data/seed.zod.ts +++ b/packages/spec/src/data/seed.zod.ts @@ -108,6 +108,8 @@ export const SeedSchema = lazySchema(() => strictObject({ /** Parsed/output type — all defaults are applied (env, mode, externalId always present) */ export type Seed = z.infer; +/** Post-parse shape of {@link Seed} — defaults applied, transforms run (ADR-0122). */ +export type SeedParsed = z.infer; /** Input type — fields with defaults (env, mode, externalId) are optional */ export type SeedInput = z.input; diff --git a/packages/spec/src/data/validation.zod.ts b/packages/spec/src/data/validation.zod.ts index 93e8d04f28..a39d135d1e 100644 --- a/packages/spec/src/data/validation.zod.ts +++ b/packages/spec/src/data/validation.zod.ts @@ -523,8 +523,20 @@ export const ConditionalValidationSchema = lazySchema(() => strictObject({ export type ValidationRule = z.infer; export type ScriptValidation = z.infer; +/** Post-parse shape of {@link ScriptValidation} — defaults applied, transforms run (ADR-0122). */ +export type ScriptValidationParsed = z.infer; export type StateMachineValidation = z.infer; +/** Post-parse shape of {@link StateMachineValidation} — defaults applied, transforms run (ADR-0122). */ +export type StateMachineValidationParsed = z.infer; export type FormatValidation = z.infer; +/** Post-parse shape of {@link FormatValidation} — defaults applied, transforms run (ADR-0122). */ +export type FormatValidationParsed = z.infer; export type CrossFieldValidation = z.infer; +/** Post-parse shape of {@link CrossFieldValidation} — defaults applied, transforms run (ADR-0122). */ +export type CrossFieldValidationParsed = z.infer; export type JSONValidation = z.infer; -export type ConditionalValidation = z.infer; \ No newline at end of file +/** Post-parse shape of {@link JSONValidation} — defaults applied, transforms run (ADR-0122). */ +export type JSONValidationParsed = z.infer; +export type ConditionalValidation = z.infer; +/** Post-parse shape of {@link ConditionalValidation} — defaults applied, transforms run (ADR-0122). */ +export type ConditionalValidationParsed = z.infer; \ No newline at end of file diff --git a/packages/spec/src/identity/eval-user.zod.ts b/packages/spec/src/identity/eval-user.zod.ts index 7a1656e1dd..7fa9ead89f 100644 --- a/packages/spec/src/identity/eval-user.zod.ts +++ b/packages/spec/src/identity/eval-user.zod.ts @@ -131,6 +131,8 @@ export const EvalUserSchema = lazySchema(() => ); export type EvalUser = z.infer; +/** Post-parse shape of {@link EvalUser} — defaults applied, transforms run (ADR-0122). */ +export type EvalUserParsed = z.infer; /** Authoring input for EvalUser — defaulted fields are optional. */ export type EvalUserInput = z.input; diff --git a/packages/spec/src/identity/identity.zod.ts b/packages/spec/src/identity/identity.zod.ts index 87b22d9593..f307c9aaaf 100644 --- a/packages/spec/src/identity/identity.zod.ts +++ b/packages/spec/src/identity/identity.zod.ts @@ -55,6 +55,8 @@ export const UserSchema = lazySchema(() => z.object({ })); export type User = z.infer; +/** Post-parse shape of {@link User} — defaults applied, transforms run (ADR-0122). */ +export type UserParsed = z.infer; /** * Account Schema @@ -300,3 +302,5 @@ export const ApiKeySchema = lazySchema(() => z.object({ })); export type ApiKey = z.infer; +/** Post-parse shape of {@link ApiKey} — defaults applied, transforms run (ADR-0122). */ +export type ApiKeyParsed = z.infer; diff --git a/packages/spec/src/identity/organization.zod.ts b/packages/spec/src/identity/organization.zod.ts index dc829f1d05..b2a93d5b7d 100644 --- a/packages/spec/src/identity/organization.zod.ts +++ b/packages/spec/src/identity/organization.zod.ts @@ -159,3 +159,5 @@ export const InvitationSchema = lazySchema(() => z.object({ })); export type Invitation = z.infer; +/** Post-parse shape of {@link Invitation} — defaults applied, transforms run (ADR-0122). */ +export type InvitationParsed = z.infer; diff --git a/packages/spec/src/identity/position.zod.ts b/packages/spec/src/identity/position.zod.ts index d653a04813..60f98111f8 100644 --- a/packages/spec/src/identity/position.zod.ts +++ b/packages/spec/src/identity/position.zod.ts @@ -133,6 +133,8 @@ export const GUEST_POSITION = 'guest'; export const AUDIENCE_ANCHOR_POSITIONS = [EVERYONE_POSITION, GUEST_POSITION] as const; export type Position = z.infer; +/** Post-parse shape of {@link Position} — defaults applied, transforms run (ADR-0122). */ +export type PositionParsed = z.infer; /** Authoring input for {@link Position} — defaulted fields are optional. */ export type PositionInput = z.input; diff --git a/packages/spec/src/identity/scim.zod.ts b/packages/spec/src/identity/scim.zod.ts index bfc67af7cd..d7c640af71 100644 --- a/packages/spec/src/identity/scim.zod.ts +++ b/packages/spec/src/identity/scim.zod.ts @@ -214,6 +214,8 @@ export const SCIMEmailSchema = lazySchema(() => z.object({ })); export type SCIMEmail = z.infer; +/** Post-parse shape of {@link SCIMEmail} — defaults applied, transforms run (ADR-0122). */ +export type SCIMEmailParsed = z.infer; /** * SCIM Phone Number Schema @@ -251,6 +253,8 @@ export const SCIMPhoneNumberSchema = lazySchema(() => z.object({ })); export type SCIMPhoneNumber = z.infer; +/** Post-parse shape of {@link SCIMPhoneNumber} — defaults applied, transforms run (ADR-0122). */ +export type SCIMPhoneNumberParsed = z.infer; /** * SCIM Address Schema @@ -316,6 +320,8 @@ export const SCIMAddressSchema = lazySchema(() => z.object({ })); export type SCIMAddress = z.infer; +/** Post-parse shape of {@link SCIMAddress} — defaults applied, transforms run (ADR-0122). */ +export type SCIMAddressParsed = z.infer; /** * SCIM Group Reference @@ -641,6 +647,8 @@ export const SCIMUserSchema = lazySchema(() => z.object({ })); export type SCIMUser = z.infer; +/** Post-parse shape of {@link SCIMUser} — defaults applied, transforms run (ADR-0122). */ +export type SCIMUserParsed = z.infer; /** * SCIM Member Reference @@ -733,6 +741,8 @@ export const SCIMGroupSchema = lazySchema(() => z.object({ })); export type SCIMGroup = z.infer; +/** Post-parse shape of {@link SCIMGroup} — defaults applied, transforms run (ADR-0122). */ +export type SCIMGroupParsed = z.infer; /** * SCIM Resource Union Type @@ -795,6 +805,8 @@ export const SCIMListResponseSchema = lazySchema(() => z.object({ })); export type SCIMListResponse = z.infer; +/** Post-parse shape of {@link SCIMListResponse} — defaults applied, transforms run (ADR-0122). */ +export type SCIMListResponseParsed = z.infer; /** * SCIM Error Response @@ -849,6 +861,8 @@ export const SCIMErrorSchema = lazySchema(() => z.object({ })); export type SCIMError = z.infer; +/** Post-parse shape of {@link SCIMError} — defaults applied, transforms run (ADR-0122). */ +export type SCIMErrorParsed = z.infer; /** * SCIM Patch Operation @@ -903,6 +917,8 @@ export const SCIMPatchRequestSchema = lazySchema(() => z.object({ })); export type SCIMPatchRequest = z.infer; +/** Post-parse shape of {@link SCIMPatchRequest} — defaults applied, transforms run (ADR-0122). */ +export type SCIMPatchRequestParsed = z.infer; /** * Helper factory for creating SCIM resources @@ -1015,6 +1031,8 @@ export const SCIMBulkRequestSchema = lazySchema(() => z.object({ })); export type SCIMBulkRequest = z.infer; +/** Post-parse shape of {@link SCIMBulkRequest} — defaults applied, transforms run (ADR-0122). */ +export type SCIMBulkRequestParsed = z.infer; /** * SCIM Bulk Response Operation Schema @@ -1063,3 +1081,5 @@ export const SCIMBulkResponseSchema = lazySchema(() => z.object({ })); export type SCIMBulkResponse = z.infer; +/** Post-parse shape of {@link SCIMBulkResponse} — defaults applied, transforms run (ADR-0122). */ +export type SCIMBulkResponseParsed = z.infer; diff --git a/packages/spec/src/integration/connector.zod.ts b/packages/spec/src/integration/connector.zod.ts index 6901359205..6c6bf5d75c 100644 --- a/packages/spec/src/integration/connector.zod.ts +++ b/packages/spec/src/integration/connector.zod.ts @@ -148,6 +148,8 @@ export const ConnectorFieldMappingSchema = lazySchema(() => BaseFieldMappingSche })); export type ConnectorFieldMapping = z.infer; +/** Post-parse shape of {@link ConnectorFieldMapping} — defaults applied, transforms run (ADR-0122). */ +export type ConnectorFieldMappingParsed = z.infer; // ============================================================================ // Data Synchronization Configuration @@ -250,6 +252,8 @@ export const DataSyncConfigSchema = lazySchema(() => z.object({ })); export type DataSyncConfig = z.infer; +/** Post-parse shape of {@link DataSyncConfig} — defaults applied, transforms run (ADR-0122). */ +export type DataSyncConfigParsed = z.infer; // ============================================================================ // Webhook Configuration @@ -307,6 +311,8 @@ export const WebhookConfigSchema = lazySchema(() => WebhookSchema.extend({ })); export type WebhookConfig = z.infer; +/** Post-parse shape of {@link WebhookConfig} — defaults applied, transforms run (ADR-0122). */ +export type WebhookConfigParsed = z.infer; // ============================================================================ // Retry Configuration @@ -405,6 +411,8 @@ export const RetryConfigSchema = lazySchema(() => z.object({ })); export type RetryConfig = z.infer; +/** Post-parse shape of {@link RetryConfig} — defaults applied, transforms run (ADR-0122). */ +export type RetryConfigParsed = z.infer; // ============================================================================ // Error Mapping Configuration @@ -463,6 +471,8 @@ export const ErrorMappingConfigSchema = lazySchema(() => z.object({ }).describe('Error mapping configuration')); export type ErrorMappingConfig = z.infer; +/** Post-parse shape of {@link ErrorMappingConfig} — defaults applied, transforms run (ADR-0122). */ +export type ErrorMappingConfigParsed = z.infer; // ============================================================================ // Health Check & Circuit Breaker Configuration @@ -485,6 +495,8 @@ export const HealthCheckConfigSchema = lazySchema(() => z.object({ }).describe('Health check configuration')); export type HealthCheckConfig = z.infer; +/** Post-parse shape of {@link HealthCheckConfig} — defaults applied, transforms run (ADR-0122). */ +export type HealthCheckConfigParsed = z.infer; /** * Circuit Breaker Configuration @@ -501,6 +513,8 @@ export const CircuitBreakerConfigSchema = lazySchema(() => z.object({ }).describe('Circuit breaker configuration')); export type CircuitBreakerConfig = z.infer; +/** Post-parse shape of {@link CircuitBreakerConfig} — defaults applied, transforms run (ADR-0122). */ +export type CircuitBreakerConfigParsed = z.infer; /** * Connector Health Configuration @@ -513,6 +527,8 @@ export const ConnectorHealthSchema = lazySchema(() => z.object({ }).describe('Connector health configuration')); export type ConnectorHealth = z.infer; +/** Post-parse shape of {@link ConnectorHealth} — defaults applied, transforms run (ADR-0122). */ +export type ConnectorHealthParsed = z.infer; // ============================================================================ // Base Connector Schema @@ -740,6 +756,8 @@ export const ConnectorSchema = lazySchema(() => z.object({ })); export type Connector = z.infer; +/** Post-parse shape of {@link Connector} — defaults applied, transforms run (ADR-0122). */ +export type ConnectorParsed = z.infer; /** Authoring input for {@link Connector} — defaulted fields are optional. */ export type ConnectorInput = z.input; @@ -815,6 +833,8 @@ export const DeclarativeConnectorEntrySchema = lazySchema(() => ); export type DeclarativeConnectorEntry = z.infer; +/** Post-parse shape of {@link DeclarativeConnectorEntry} — defaults applied, transforms run (ADR-0122). */ +export type DeclarativeConnectorEntryParsed = z.infer; // Re-export the declarative-instance auth surface (ADR-0097) so consumers reach // it through `@objectstack/spec/integration` alongside the connector schema. diff --git a/packages/spec/src/kernel/cluster.zod.ts b/packages/spec/src/kernel/cluster.zod.ts index 774093302e..f1a3450b4d 100644 --- a/packages/spec/src/kernel/cluster.zod.ts +++ b/packages/spec/src/kernel/cluster.zod.ts @@ -105,6 +105,8 @@ export const EventClusterOptionsSchema = lazySchema(() => z.object({ }).describe('Per-emit cluster routing & ordering options.')); export type EventClusterOptions = z.infer; +/** Post-parse shape of {@link EventClusterOptions} — defaults applied, transforms run (ADR-0122). */ +export type EventClusterOptionsParsed = z.infer; // ========================================================================== // Service Cluster Scope & Leader Strategy @@ -189,6 +191,8 @@ export const ServiceClusterAnnotationsSchema = lazySchema(() => z.object({ }).describe('Service-registration annotations governing cluster behaviour.')); export type ServiceClusterAnnotations = z.infer; +/** Post-parse shape of {@link ServiceClusterAnnotations} — defaults applied, transforms run (ADR-0122). */ +export type ServiceClusterAnnotationsParsed = z.infer; // ========================================================================== // Cluster Capability (top-level stack config) @@ -313,6 +317,8 @@ export const ClusterCapabilityConfigSchema = lazySchema(() => z.object({ }).describe('Cluster capability configuration for the stack.')); export type ClusterCapabilityConfig = z.infer; +/** Post-parse shape of {@link ClusterCapabilityConfig} — defaults applied, transforms run (ADR-0122). */ +export type ClusterCapabilityConfigParsed = z.infer; export type ClusterCapabilityConfigInput = z.input; // ========================================================================== diff --git a/packages/spec/src/kernel/context.zod.ts b/packages/spec/src/kernel/context.zod.ts index ba4f7d4e69..b55d63d7af 100644 --- a/packages/spec/src/kernel/context.zod.ts +++ b/packages/spec/src/kernel/context.zod.ts @@ -89,6 +89,8 @@ export const PreviewModeConfigSchema = lazySchema(() => z.object({ })); export type PreviewModeConfig = z.infer; +/** Post-parse shape of {@link PreviewModeConfig} — defaults applied, transforms run (ADR-0122). */ +export type PreviewModeConfigParsed = z.infer; /** * Kernel Context Schema @@ -133,6 +135,8 @@ export const KernelContextSchema = lazySchema(() => z.object({ })); export type KernelContext = z.infer; +/** Post-parse shape of {@link KernelContext} — defaults applied, transforms run (ADR-0122). */ +export type KernelContextParsed = z.infer; // ========================================================================== // Tenant Runtime Context @@ -164,3 +168,5 @@ export const TenantRuntimeContextSchema = lazySchema(() => KernelContextSchema.e }).describe('Tenant-aware kernel runtime context')); export type TenantRuntimeContext = z.infer; +/** Post-parse shape of {@link TenantRuntimeContext} — defaults applied, transforms run (ADR-0122). */ +export type TenantRuntimeContextParsed = z.infer; diff --git a/packages/spec/src/kernel/events/bus.zod.ts b/packages/spec/src/kernel/events/bus.zod.ts index a7835e6ec0..5f2ba94a5b 100644 --- a/packages/spec/src/kernel/events/bus.zod.ts +++ b/packages/spec/src/kernel/events/bus.zod.ts @@ -75,3 +75,5 @@ export const EventBusConfigSchema = lazySchema(() => z.object({ })); export type EventBusConfig = z.infer; +/** Post-parse shape of {@link EventBusConfig} — defaults applied, transforms run (ADR-0122). */ +export type EventBusConfigParsed = z.infer; diff --git a/packages/spec/src/kernel/events/core.zod.ts b/packages/spec/src/kernel/events/core.zod.ts index 748b231faa..41e61f1b32 100644 --- a/packages/spec/src/kernel/events/core.zod.ts +++ b/packages/spec/src/kernel/events/core.zod.ts @@ -100,6 +100,8 @@ export const EventTypeDefinitionSchema = lazySchema(() => z.object({ })); export type EventTypeDefinition = z.infer; +/** Post-parse shape of {@link EventTypeDefinition} — defaults applied, transforms run (ADR-0122). */ +export type EventTypeDefinitionParsed = z.infer; /** * Event Schema @@ -131,3 +133,5 @@ export const EventSchema = lazySchema(() => z.object({ })); export type Event = z.infer; +/** Post-parse shape of {@link Event} — defaults applied, transforms run (ADR-0122). */ +export type EventParsed = z.infer; diff --git a/packages/spec/src/kernel/events/dlq.zod.ts b/packages/spec/src/kernel/events/dlq.zod.ts index 59d875d3af..f0a3b1490e 100644 --- a/packages/spec/src/kernel/events/dlq.zod.ts +++ b/packages/spec/src/kernel/events/dlq.zod.ts @@ -50,6 +50,8 @@ export const DeadLetterQueueEntrySchema = lazySchema(() => z.object({ })); export type DeadLetterQueueEntry = z.infer; +/** Post-parse shape of {@link DeadLetterQueueEntry} — defaults applied, transforms run (ADR-0122). */ +export type DeadLetterQueueEntryParsed = z.infer; // ========================================== // Event Log @@ -98,3 +100,5 @@ export const EventLogEntrySchema = lazySchema(() => z.object({ })); export type EventLogEntry = z.infer; +/** Post-parse shape of {@link EventLogEntry} — defaults applied, transforms run (ADR-0122). */ +export type EventLogEntryParsed = z.infer; diff --git a/packages/spec/src/kernel/events/handlers.zod.ts b/packages/spec/src/kernel/events/handlers.zod.ts index 74a51744ad..1fd9584e73 100644 --- a/packages/spec/src/kernel/events/handlers.zod.ts +++ b/packages/spec/src/kernel/events/handlers.zod.ts @@ -61,6 +61,8 @@ export const EventHandlerSchema = lazySchema(() => z.object({ })); export type EventHandler = z.infer; +/** Post-parse shape of {@link EventHandler} — defaults applied, transforms run (ADR-0122). */ +export type EventHandlerParsed = z.infer; /** * Event Route Schema @@ -87,3 +89,5 @@ export const EventPersistenceSchema = lazySchema(() => z.object({ })); export type EventPersistence = z.infer; +/** Post-parse shape of {@link EventPersistence} — defaults applied, transforms run (ADR-0122). */ +export type EventPersistenceParsed = z.infer; diff --git a/packages/spec/src/kernel/events/integrations.zod.ts b/packages/spec/src/kernel/events/integrations.zod.ts index a381c7a0a0..bf8583e4be 100644 --- a/packages/spec/src/kernel/events/integrations.zod.ts +++ b/packages/spec/src/kernel/events/integrations.zod.ts @@ -82,6 +82,8 @@ export const EventWebhookConfigSchema = lazySchema(() => z.object({ })); export type EventWebhookConfig = z.infer; +/** Post-parse shape of {@link EventWebhookConfig} — defaults applied, transforms run (ADR-0122). */ +export type EventWebhookConfigParsed = z.infer; // ========================================== // Message Queue Integration @@ -148,6 +150,8 @@ export const EventMessageQueueConfigSchema = lazySchema(() => z.object({ })); export type EventMessageQueueConfig = z.infer; +/** Post-parse shape of {@link EventMessageQueueConfig} — defaults applied, transforms run (ADR-0122). */ +export type EventMessageQueueConfigParsed = z.infer; // ========================================== // Real-time Notifications @@ -213,3 +217,5 @@ export const RealTimeNotificationConfigSchema = lazySchema(() => z.object({ })); export type RealTimeNotificationConfig = z.infer; +/** Post-parse shape of {@link RealTimeNotificationConfig} — defaults applied, transforms run (ADR-0122). */ +export type RealTimeNotificationConfigParsed = z.infer; diff --git a/packages/spec/src/kernel/events/queue.zod.ts b/packages/spec/src/kernel/events/queue.zod.ts index 557890b704..88b8ad8581 100644 --- a/packages/spec/src/kernel/events/queue.zod.ts +++ b/packages/spec/src/kernel/events/queue.zod.ts @@ -55,6 +55,8 @@ export const EventQueueConfigSchema = lazySchema(() => z.object({ })); export type EventQueueConfig = z.infer; +/** Post-parse shape of {@link EventQueueConfig} — defaults applied, transforms run (ADR-0122). */ +export type EventQueueConfigParsed = z.infer; // ========================================== // Event Replay @@ -105,6 +107,8 @@ export const EventReplayConfigSchema = lazySchema(() => z.object({ })); export type EventReplayConfig = z.infer; +/** Post-parse shape of {@link EventReplayConfig} — defaults applied, transforms run (ADR-0122). */ +export type EventReplayConfigParsed = z.infer; // ========================================== // Event Sourcing @@ -165,3 +169,5 @@ export const EventSourcingConfigSchema = lazySchema(() => z.object({ })); export type EventSourcingConfig = z.infer; +/** Post-parse shape of {@link EventSourcingConfig} — defaults applied, transforms run (ADR-0122). */ +export type EventSourcingConfigParsed = z.infer; diff --git a/packages/spec/src/kernel/execution-context.zod.ts b/packages/spec/src/kernel/execution-context.zod.ts index d0031d2b24..3eac839e2c 100644 --- a/packages/spec/src/kernel/execution-context.zod.ts +++ b/packages/spec/src/kernel/execution-context.zod.ts @@ -377,6 +377,8 @@ export const ExecutionContextSchema = lazySchema(() => z.object({ })); export type ExecutionContext = z.infer; +/** Post-parse shape of {@link ExecutionContext} — defaults applied, transforms run (ADR-0122). */ +export type ExecutionContextParsed = z.infer; /** * The CALLER-SUPPLIED form of {@link ExecutionContext} — any subset of the diff --git a/packages/spec/src/kernel/manifest.zod.ts b/packages/spec/src/kernel/manifest.zod.ts index 6ea346d8fc..eb809cfb27 100644 --- a/packages/spec/src/kernel/manifest.zod.ts +++ b/packages/spec/src/kernel/manifest.zod.ts @@ -561,5 +561,7 @@ export const ManifestSchema = z.object({ * Use this type for type-safe manifest handling in TypeScript code. */ export type ObjectStackManifest = z.infer; +/** Post-parse shape of {@link ObjectStackManifest} — defaults applied, transforms run (ADR-0122). */ +export type ObjectStackManifestParsed = z.infer; export type ObjectStackManifestInput = z.input; diff --git a/packages/spec/src/kernel/metadata-customization.zod.ts b/packages/spec/src/kernel/metadata-customization.zod.ts index 8ec26199c0..10f127e7c0 100644 --- a/packages/spec/src/kernel/metadata-customization.zod.ts +++ b/packages/spec/src/kernel/metadata-customization.zod.ts @@ -309,7 +309,13 @@ export const CustomizationPolicySchema = lazySchema(() => z.object({ export type CustomizationOrigin = z.infer; export type FieldChange = z.infer; export type MetadataOverlay = z.infer; +/** Post-parse shape of {@link MetadataOverlay} — defaults applied, transforms run (ADR-0122). */ +export type MetadataOverlayParsed = z.infer; export type MergeConflict = z.infer; export type MergeStrategyConfig = z.infer; +/** Post-parse shape of {@link MergeStrategyConfig} — defaults applied, transforms run (ADR-0122). */ +export type MergeStrategyConfigParsed = z.infer; export type MergeResult = z.infer; export type CustomizationPolicy = z.infer; +/** Post-parse shape of {@link CustomizationPolicy} — defaults applied, transforms run (ADR-0122). */ +export type CustomizationPolicyParsed = z.infer; diff --git a/packages/spec/src/kernel/metadata-plugin.zod.ts b/packages/spec/src/kernel/metadata-plugin.zod.ts index ea64c9d713..d1ebfaf72e 100644 --- a/packages/spec/src/kernel/metadata-plugin.zod.ts +++ b/packages/spec/src/kernel/metadata-plugin.zod.ts @@ -302,6 +302,8 @@ export const MetadataTypeRegistryEntrySchema = lazySchema(() => ); export type MetadataTypeRegistryEntry = z.infer; +/** Post-parse shape of {@link MetadataTypeRegistryEntry} — defaults applied, transforms run (ADR-0122). */ +export type MetadataTypeRegistryEntryParsed = z.infer; // ========================================== // Metadata Query Protocol diff --git a/packages/spec/src/kernel/package-artifact.zod.ts b/packages/spec/src/kernel/package-artifact.zod.ts index 7e1418b214..c63454a8e3 100644 --- a/packages/spec/src/kernel/package-artifact.zod.ts +++ b/packages/spec/src/kernel/package-artifact.zod.ts @@ -112,6 +112,8 @@ export const ArtifactChecksumSchema = lazySchema(() => z.object({ }).describe('Checksum manifest for artifact integrity verification')); export type ArtifactChecksum = z.infer; +/** Post-parse shape of {@link ArtifactChecksum} — defaults applied, transforms run (ADR-0122). */ +export type ArtifactChecksumParsed = z.infer; // ========================================== // Artifact Signature @@ -144,6 +146,8 @@ export const ArtifactSignatureSchema = lazySchema(() => z.object({ }).describe('Digital signature for artifact authenticity verification')); export type ArtifactSignature = z.infer; +/** Post-parse shape of {@link ArtifactSignature} — defaults applied, transforms run (ADR-0122). */ +export type ArtifactSignatureParsed = z.infer; // ========================================== // Package Artifact Schema @@ -200,4 +204,6 @@ export const PackageArtifactSchema = lazySchema(() => z.object({ }).describe('Package artifact structure and metadata')); export type PackageArtifact = z.infer; +/** Post-parse shape of {@link PackageArtifact} — defaults applied, transforms run (ADR-0122). */ +export type PackageArtifactParsed = z.infer; export type PackageArtifactInput = z.input; diff --git a/packages/spec/src/kernel/package-registry.zod.ts b/packages/spec/src/kernel/package-registry.zod.ts index fddab20eba..6f5a705144 100644 --- a/packages/spec/src/kernel/package-registry.zod.ts +++ b/packages/spec/src/kernel/package-registry.zod.ts @@ -141,6 +141,8 @@ export const InstalledPackageSchema = lazySchema(() => z.object({ .describe('Namespace prefixes registered by this package'), }).describe('Installed package with runtime lifecycle state')); export type InstalledPackage = z.infer; +/** Post-parse shape of {@link InstalledPackage} — defaults applied, transforms run (ADR-0122). */ +export type InstalledPackageParsed = z.infer; // ========================================== // Namespace Registry @@ -216,6 +218,8 @@ export const ListPackagesResponseSchema = lazySchema(() => z.object({ total: z.number().describe('Total package count'), }).describe('List packages response')); export type ListPackagesResponse = z.infer; +/** Post-parse shape of {@link ListPackagesResponse} — defaults applied, transforms run (ADR-0122). */ +export type ListPackagesResponseParsed = z.infer; /** * Get Package Request @@ -233,6 +237,8 @@ export const GetPackageResponseSchema = lazySchema(() => z.object({ package: InstalledPackageSchema.describe('Package details'), }).describe('Get package response')); export type GetPackageResponse = z.infer; +/** Post-parse shape of {@link GetPackageResponse} — defaults applied, transforms run (ADR-0122). */ +export type GetPackageResponseParsed = z.infer; /** * Install Package Request @@ -258,6 +264,8 @@ export const InstallPackageRequestSchema = lazySchema(() => z.object({ .describe('Current platform version for compatibility verification'), }).describe('Install package request')); export type InstallPackageRequest = z.infer; +/** Post-parse shape of {@link InstallPackageRequest} — defaults applied, transforms run (ADR-0122). */ +export type InstallPackageRequestParsed = z.infer; /** * Install Package Response @@ -270,6 +278,8 @@ export const InstallPackageResponseSchema = lazySchema(() => z.object({ .describe('Dependency resolution result from install analysis'), }).describe('Install package response')); export type InstallPackageResponse = z.infer; +/** Post-parse shape of {@link InstallPackageResponse} — defaults applied, transforms run (ADR-0122). */ +export type InstallPackageResponseParsed = z.infer; /** * Uninstall Package Request @@ -307,6 +317,8 @@ export const EnablePackageResponseSchema = lazySchema(() => z.object({ message: z.string().optional().describe('Enable status message'), }).describe('Enable package response')); export type EnablePackageResponse = z.infer; +/** Post-parse shape of {@link EnablePackageResponse} — defaults applied, transforms run (ADR-0122). */ +export type EnablePackageResponseParsed = z.infer; /** * Disable Package Request @@ -325,3 +337,5 @@ export const DisablePackageResponseSchema = lazySchema(() => z.object({ message: z.string().optional().describe('Disable status message'), }).describe('Disable package response')); export type DisablePackageResponse = z.infer; +/** Post-parse shape of {@link DisablePackageResponse} — defaults applied, transforms run (ADR-0122). */ +export type DisablePackageResponseParsed = z.infer; diff --git a/packages/spec/src/kernel/package-upgrade.zod.ts b/packages/spec/src/kernel/package-upgrade.zod.ts index df012d695b..d81b4c737d 100644 --- a/packages/spec/src/kernel/package-upgrade.zod.ts +++ b/packages/spec/src/kernel/package-upgrade.zod.ts @@ -302,11 +302,23 @@ export const RollbackPackageResponseSchema = lazySchema(() => z.object({ export type MetadataChangeType = z.infer; export type MetadataDiffItem = z.infer; +/** Post-parse shape of {@link MetadataDiffItem} — defaults applied, transforms run (ADR-0122). */ +export type MetadataDiffItemParsed = z.infer; export type UpgradeImpactLevel = z.infer; export type UpgradePlan = z.infer; +/** Post-parse shape of {@link UpgradePlan} — defaults applied, transforms run (ADR-0122). */ +export type UpgradePlanParsed = z.infer; export type UpgradeSnapshot = z.infer; +/** Post-parse shape of {@link UpgradeSnapshot} — defaults applied, transforms run (ADR-0122). */ +export type UpgradeSnapshotParsed = z.infer; export type UpgradePackageRequest = z.infer; +/** Post-parse shape of {@link UpgradePackageRequest} — defaults applied, transforms run (ADR-0122). */ +export type UpgradePackageRequestParsed = z.infer; export type UpgradePhase = z.infer; export type UpgradePackageResponse = z.infer; +/** Post-parse shape of {@link UpgradePackageResponse} — defaults applied, transforms run (ADR-0122). */ +export type UpgradePackageResponseParsed = z.infer; export type RollbackPackageRequest = z.infer; +/** Post-parse shape of {@link RollbackPackageRequest} — defaults applied, transforms run (ADR-0122). */ +export type RollbackPackageRequestParsed = z.infer; export type RollbackPackageResponse = z.infer; diff --git a/packages/spec/src/kernel/plugin-capability.zod.ts b/packages/spec/src/kernel/plugin-capability.zod.ts index fb3b2c8b28..78b8e22234 100644 --- a/packages/spec/src/kernel/plugin-capability.zod.ts +++ b/packages/spec/src/kernel/plugin-capability.zod.ts @@ -313,8 +313,20 @@ export type CapabilityConformanceLevel = z.infer; export type ProtocolReference = z.infer; export type ProtocolFeature = z.infer; +/** Post-parse shape of {@link ProtocolFeature} — defaults applied, transforms run (ADR-0122). */ +export type ProtocolFeatureParsed = z.infer; export type PluginCapability = z.infer; +/** Post-parse shape of {@link PluginCapability} — defaults applied, transforms run (ADR-0122). */ +export type PluginCapabilityParsed = z.infer; export type PluginInterface = z.infer; +/** Post-parse shape of {@link PluginInterface} — defaults applied, transforms run (ADR-0122). */ +export type PluginInterfaceParsed = z.infer; export type PluginDependency = z.infer; +/** Post-parse shape of {@link PluginDependency} — defaults applied, transforms run (ADR-0122). */ +export type PluginDependencyParsed = z.infer; export type ExtensionPoint = z.infer; +/** Post-parse shape of {@link ExtensionPoint} — defaults applied, transforms run (ADR-0122). */ +export type ExtensionPointParsed = z.infer; export type PluginCapabilityManifest = z.infer; +/** Post-parse shape of {@link PluginCapabilityManifest} — defaults applied, transforms run (ADR-0122). */ +export type PluginCapabilityManifestParsed = z.infer; diff --git a/packages/spec/src/kernel/plugin-lifecycle-advanced.zod.ts b/packages/spec/src/kernel/plugin-lifecycle-advanced.zod.ts index 2a1a9427d9..5f01061d81 100644 --- a/packages/spec/src/kernel/plugin-lifecycle-advanced.zod.ts +++ b/packages/spec/src/kernel/plugin-lifecycle-advanced.zod.ts @@ -474,10 +474,24 @@ export const AdvancedPluginLifecycleConfigSchema = lazySchema(() => z.object({ // Export types export type PluginHealthStatus = z.infer; export type PluginHealthCheck = z.infer; +/** Post-parse shape of {@link PluginHealthCheck} — defaults applied, transforms run (ADR-0122). */ +export type PluginHealthCheckParsed = z.infer; export type PluginHealthReport = z.infer; export type DistributedStateConfig = z.infer; +/** Post-parse shape of {@link DistributedStateConfig} — defaults applied, transforms run (ADR-0122). */ +export type DistributedStateConfigParsed = z.infer; export type HotReloadConfig = z.infer; +/** Post-parse shape of {@link HotReloadConfig} — defaults applied, transforms run (ADR-0122). */ +export type HotReloadConfigParsed = z.infer; export type GracefulDegradation = z.infer; +/** Post-parse shape of {@link GracefulDegradation} — defaults applied, transforms run (ADR-0122). */ +export type GracefulDegradationParsed = z.infer; export type PluginUpdateStrategy = z.infer; +/** Post-parse shape of {@link PluginUpdateStrategy} — defaults applied, transforms run (ADR-0122). */ +export type PluginUpdateStrategyParsed = z.infer; export type PluginStateSnapshot = z.infer; +/** Post-parse shape of {@link PluginStateSnapshot} — defaults applied, transforms run (ADR-0122). */ +export type PluginStateSnapshotParsed = z.infer; export type AdvancedPluginLifecycleConfig = z.infer; +/** Post-parse shape of {@link AdvancedPluginLifecycleConfig} — defaults applied, transforms run (ADR-0122). */ +export type AdvancedPluginLifecycleConfigParsed = z.infer; diff --git a/packages/spec/src/kernel/plugin-loading.zod.ts b/packages/spec/src/kernel/plugin-loading.zod.ts index 23c1cf02c3..8adcef676e 100644 --- a/packages/spec/src/kernel/plugin-loading.zod.ts +++ b/packages/spec/src/kernel/plugin-loading.zod.ts @@ -824,14 +824,36 @@ export const PluginLoadingStateSchema = lazySchema(() => z.object({ // Export types export type PluginLoadingStrategy = z.infer; export type PluginPreloadConfig = z.infer; +/** Post-parse shape of {@link PluginPreloadConfig} — defaults applied, transforms run (ADR-0122). */ +export type PluginPreloadConfigParsed = z.infer; export type PluginCodeSplitting = z.infer; +/** Post-parse shape of {@link PluginCodeSplitting} — defaults applied, transforms run (ADR-0122). */ +export type PluginCodeSplittingParsed = z.infer; export type PluginDynamicImport = z.infer; +/** Post-parse shape of {@link PluginDynamicImport} — defaults applied, transforms run (ADR-0122). */ +export type PluginDynamicImportParsed = z.infer; export type PluginInitialization = z.infer; +/** Post-parse shape of {@link PluginInitialization} — defaults applied, transforms run (ADR-0122). */ +export type PluginInitializationParsed = z.infer; export type PluginDependencyResolution = z.infer; +/** Post-parse shape of {@link PluginDependencyResolution} — defaults applied, transforms run (ADR-0122). */ +export type PluginDependencyResolutionParsed = z.infer; export type PluginHotReload = z.infer; +/** Post-parse shape of {@link PluginHotReload} — defaults applied, transforms run (ADR-0122). */ +export type PluginHotReloadParsed = z.infer; export type PluginCaching = z.infer; +/** Post-parse shape of {@link PluginCaching} — defaults applied, transforms run (ADR-0122). */ +export type PluginCachingParsed = z.infer; export type PluginSandboxing = z.infer; +/** Post-parse shape of {@link PluginSandboxing} — defaults applied, transforms run (ADR-0122). */ +export type PluginSandboxingParsed = z.infer; export type PluginPerformanceMonitoring = z.infer; +/** Post-parse shape of {@link PluginPerformanceMonitoring} — defaults applied, transforms run (ADR-0122). */ +export type PluginPerformanceMonitoringParsed = z.infer; export type PluginLoadingConfig = z.infer; +/** Post-parse shape of {@link PluginLoadingConfig} — defaults applied, transforms run (ADR-0122). */ +export type PluginLoadingConfigParsed = z.infer; export type PluginLoadingEvent = z.infer; export type PluginLoadingState = z.infer; +/** Post-parse shape of {@link PluginLoadingState} — defaults applied, transforms run (ADR-0122). */ +export type PluginLoadingStateParsed = z.infer; diff --git a/packages/spec/src/kernel/plugin-registry.zod.ts b/packages/spec/src/kernel/plugin-registry.zod.ts index 38e9ee8ecb..3a7cad4bb6 100644 --- a/packages/spec/src/kernel/plugin-registry.zod.ts +++ b/packages/spec/src/kernel/plugin-registry.zod.ts @@ -408,12 +408,20 @@ export const PluginInstallConfigSchema = lazySchema(() => z.object({ // Export types export type PluginVendor = z.infer; +/** Post-parse shape of {@link PluginVendor} — defaults applied, transforms run (ADR-0122). */ +export type PluginVendorParsed = z.infer; export type PluginVendorInput = z.input; export type PluginQualityMetrics = z.infer; +/** Post-parse shape of {@link PluginQualityMetrics} — defaults applied, transforms run (ADR-0122). */ +export type PluginQualityMetricsParsed = z.infer; export type PluginQualityMetricsInput = z.input; export type PluginStatistics = z.infer; +/** Post-parse shape of {@link PluginStatistics} — defaults applied, transforms run (ADR-0122). */ +export type PluginStatisticsParsed = z.infer; export type PluginStatisticsInput = z.input; export type PluginRegistryEntry = z.infer; +/** Post-parse shape of {@link PluginRegistryEntry} — defaults applied, transforms run (ADR-0122). */ +export type PluginRegistryEntryParsed = z.infer; export type PluginRegistryEntryInput = z.input; export type PluginSearchFilters = z.infer; export type PluginSearchFiltersInput = z.input; diff --git a/packages/spec/src/kernel/plugin-security-advanced.zod.ts b/packages/spec/src/kernel/plugin-security-advanced.zod.ts index 4cb319dd96..ade6d54295 100644 --- a/packages/spec/src/kernel/plugin-security-advanced.zod.ts +++ b/packages/spec/src/kernel/plugin-security-advanced.zod.ts @@ -704,11 +704,27 @@ export type PermissionScope = z.infer; export type PermissionAction = z.infer; export type ResourceType = z.infer; export type PluginPermission = z.infer; +/** Post-parse shape of {@link PluginPermission} — defaults applied, transforms run (ADR-0122). */ +export type PluginPermissionParsed = z.infer; export type PluginPermissionSet = z.infer; +/** Post-parse shape of {@link PluginPermissionSet} — defaults applied, transforms run (ADR-0122). */ +export type PluginPermissionSetParsed = z.infer; export type RuntimeConfig = z.infer; +/** Post-parse shape of {@link RuntimeConfig} — defaults applied, transforms run (ADR-0122). */ +export type RuntimeConfigParsed = z.infer; export type SandboxConfig = z.infer; +/** Post-parse shape of {@link SandboxConfig} — defaults applied, transforms run (ADR-0122). */ +export type SandboxConfigParsed = z.infer; export type KernelSecurityVulnerability = z.infer; +/** Post-parse shape of {@link KernelSecurityVulnerability} — defaults applied, transforms run (ADR-0122). */ +export type KernelSecurityVulnerabilityParsed = z.infer; export type KernelSecurityScanResult = z.infer; +/** Post-parse shape of {@link KernelSecurityScanResult} — defaults applied, transforms run (ADR-0122). */ +export type KernelSecurityScanResultParsed = z.infer; export type KernelSecurityPolicy = z.infer; +/** Post-parse shape of {@link KernelSecurityPolicy} — defaults applied, transforms run (ADR-0122). */ +export type KernelSecurityPolicyParsed = z.infer; export type PluginTrustLevel = z.infer; export type PluginSecurityManifest = z.infer; +/** Post-parse shape of {@link PluginSecurityManifest} — defaults applied, transforms run (ADR-0122). */ +export type PluginSecurityManifestParsed = z.infer; diff --git a/packages/spec/src/kernel/plugin-security.zod.ts b/packages/spec/src/kernel/plugin-security.zod.ts index 2d6ccb2fa2..7f449d0635 100644 --- a/packages/spec/src/kernel/plugin-security.zod.ts +++ b/packages/spec/src/kernel/plugin-security.zod.ts @@ -113,6 +113,8 @@ export const SecurityVulnerabilitySchema = lazySchema(() => z.object({ }).describe('A known security vulnerability in a package dependency')); export type SecurityVulnerability = z.infer; +/** Post-parse shape of {@link SecurityVulnerability} — defaults applied, transforms run (ADR-0122). */ +export type SecurityVulnerabilityParsed = z.infer; /** * Security Scan Result @@ -197,6 +199,8 @@ export const SecurityScanResultSchema = lazySchema(() => z.object({ }).describe('Result of a security scan performed on a plugin')); export type SecurityScanResult = z.infer; +/** Post-parse shape of {@link SecurityScanResult} — defaults applied, transforms run (ADR-0122). */ +export type SecurityScanResultParsed = z.infer; /** * Security Policy @@ -299,6 +303,8 @@ export const SecurityPolicySchema = lazySchema(() => z.object({ }).describe('Security policy governing plugin scanning and enforcement')); export type SecurityPolicy = z.infer; +/** Post-parse shape of {@link SecurityPolicy} — defaults applied, transforms run (ADR-0122). */ +export type SecurityPolicyParsed = z.infer; // ============================================================================ // Dependency Resolution @@ -343,6 +349,8 @@ export const ResolvedPackageDependencySchema = lazySchema(() => z.object({ }).describe('A resolver-side package dependency: version constraint plus its resolution outcome')); export type ResolvedPackageDependency = z.infer; +/** Post-parse shape of {@link ResolvedPackageDependency} — defaults applied, transforms run (ADR-0122). */ +export type ResolvedPackageDependencyParsed = z.infer; /** * Dependency Graph Node @@ -385,6 +393,8 @@ export const DependencyGraphNodeSchema = lazySchema(() => z.object({ }).describe('A node in the dependency graph representing a resolved package')); export type DependencyGraphNode = z.infer; +/** Post-parse shape of {@link DependencyGraphNode} — defaults applied, transforms run (ADR-0122). */ +export type DependencyGraphNodeParsed = z.infer; /** * Dependency Graph @@ -423,6 +433,8 @@ export const DependencyGraphSchema = lazySchema(() => z.object({ }).describe('Complete dependency graph for a package and its transitive dependencies')); export type DependencyGraph = z.infer; +/** Post-parse shape of {@link DependencyGraph} — defaults applied, transforms run (ADR-0122). */ +export type DependencyGraphParsed = z.infer; /** * Dependency Conflict @@ -504,6 +516,8 @@ export const PackageDependencyResolutionResultSchema = lazySchema(() => z.object }).describe('Result of a dependency resolution process')); export type PackageDependencyResolutionResult = z.infer; +/** Post-parse shape of {@link PackageDependencyResolutionResult} — defaults applied, transforms run (ADR-0122). */ +export type PackageDependencyResolutionResultParsed = z.infer; // ============================================================================ // Supply Chain Security @@ -559,6 +573,8 @@ export const SBOMEntrySchema = lazySchema(() => z.object({ }).describe('A single entry in a Software Bill of Materials')); export type SBOMEntry = z.infer; +/** Post-parse shape of {@link SBOMEntry} — defaults applied, transforms run (ADR-0122). */ +export type SBOMEntryParsed = z.infer; /** * Software Bill of Materials (SBOM) @@ -603,6 +619,8 @@ export const SBOMSchema = lazySchema(() => z.object({ }).describe('Software Bill of Materials for a plugin')); export type SBOM = z.infer; +/** Post-parse shape of {@link SBOM} — defaults applied, transforms run (ADR-0122). */ +export type SBOMParsed = z.infer; /** * Plugin Provenance @@ -688,6 +706,8 @@ export const PluginProvenanceSchema = lazySchema(() => z.object({ }).describe('Verifiable provenance and chain of custody for a plugin artifact')); export type PluginProvenance = z.infer; +/** Post-parse shape of {@link PluginProvenance} — defaults applied, transforms run (ADR-0122). */ +export type PluginProvenanceParsed = z.infer; // ============================================================================ // Trust & Verification @@ -761,6 +781,8 @@ export const PluginTrustScoreSchema = lazySchema(() => z.object({ }).describe('Trust score and verification status for a plugin')); export type PluginTrustScore = z.infer; +/** Post-parse shape of {@link PluginTrustScore} — defaults applied, transforms run (ADR-0122). */ +export type PluginTrustScoreParsed = z.infer; // ============================================================================ // Export All diff --git a/packages/spec/src/kernel/plugin-versioning.zod.ts b/packages/spec/src/kernel/plugin-versioning.zod.ts index 713ac399a2..a999a16716 100644 --- a/packages/spec/src/kernel/plugin-versioning.zod.ts +++ b/packages/spec/src/kernel/plugin-versioning.zod.ts @@ -465,10 +465,24 @@ export type SemanticVersion = z.infer; export type VersionConstraint = z.infer; export type CompatibilityLevel = z.infer; export type BreakingChange = z.infer; +/** Post-parse shape of {@link BreakingChange} — defaults applied, transforms run (ADR-0122). */ +export type BreakingChangeParsed = z.infer; export type DeprecationNotice = z.infer; export type CompatibilityMatrixEntry = z.infer; +/** Post-parse shape of {@link CompatibilityMatrixEntry} — defaults applied, transforms run (ADR-0122). */ +export type CompatibilityMatrixEntryParsed = z.infer; export type PluginCompatibilityMatrix = z.infer; +/** Post-parse shape of {@link PluginCompatibilityMatrix} — defaults applied, transforms run (ADR-0122). */ +export type PluginCompatibilityMatrixParsed = z.infer; export type DependencyConflict = z.infer; +/** Post-parse shape of {@link DependencyConflict} — defaults applied, transforms run (ADR-0122). */ +export type DependencyConflictParsed = z.infer; export type PluginDependencyResolutionResult = z.infer; +/** Post-parse shape of {@link PluginDependencyResolutionResult} — defaults applied, transforms run (ADR-0122). */ +export type PluginDependencyResolutionResultParsed = z.infer; export type MultiVersionSupport = z.infer; +/** Post-parse shape of {@link MultiVersionSupport} — defaults applied, transforms run (ADR-0122). */ +export type MultiVersionSupportParsed = z.infer; export type PluginVersionMetadata = z.infer; +/** Post-parse shape of {@link PluginVersionMetadata} — defaults applied, transforms run (ADR-0122). */ +export type PluginVersionMetadataParsed = z.infer; diff --git a/packages/spec/src/kernel/service-registry.zod.ts b/packages/spec/src/kernel/service-registry.zod.ts index b7698ad3e8..5e256f3bc6 100644 --- a/packages/spec/src/kernel/service-registry.zod.ts +++ b/packages/spec/src/kernel/service-registry.zod.ts @@ -87,6 +87,8 @@ export const ServiceMetadataSchema = lazySchema(() => z.object({ })); export type ServiceMetadata = z.infer; +/** Post-parse shape of {@link ServiceMetadata} — defaults applied, transforms run (ADR-0122). */ +export type ServiceMetadataParsed = z.infer; // ============================================================================ // Service Registry Configuration Schemas @@ -141,6 +143,8 @@ export const ServiceRegistryConfigSchema = lazySchema(() => z.object({ })); export type ServiceRegistryConfig = z.infer; +/** Post-parse shape of {@link ServiceRegistryConfig} — defaults applied, transforms run (ADR-0122). */ +export type ServiceRegistryConfigParsed = z.infer; export type ServiceRegistryConfigInput = z.input; // ============================================================================ @@ -190,6 +194,8 @@ export const ServiceFactoryRegistrationSchema = lazySchema(() => z.object({ })); export type ServiceFactoryRegistration = z.infer; +/** Post-parse shape of {@link ServiceFactoryRegistration} — defaults applied, transforms run (ADR-0122). */ +export type ServiceFactoryRegistrationParsed = z.infer; // ============================================================================ // Scoped Service Schemas diff --git a/packages/spec/src/kernel/startup-orchestrator.zod.ts b/packages/spec/src/kernel/startup-orchestrator.zod.ts index e5cb87bf53..abe6a1579a 100644 --- a/packages/spec/src/kernel/startup-orchestrator.zod.ts +++ b/packages/spec/src/kernel/startup-orchestrator.zod.ts @@ -65,6 +65,8 @@ export const StartupOptionsSchema = lazySchema(() => z.object({ })); export type StartupOptions = z.infer; +/** Post-parse shape of {@link StartupOptions} — defaults applied, transforms run (ADR-0122). */ +export type StartupOptionsParsed = z.infer; export type StartupOptionsInput = z.input; // ============================================================================ diff --git a/packages/spec/src/security/explain.zod.ts b/packages/spec/src/security/explain.zod.ts index f73c799852..eb421e9468 100644 --- a/packages/spec/src/security/explain.zod.ts +++ b/packages/spec/src/security/explain.zod.ts @@ -151,6 +151,8 @@ export const ExplainRecordAttributionSchema = lazySchema(() => z.object({ .describe('Human-readable, record-specific explanation of this layer\'s outcome.'), })); export type ExplainRecordAttribution = z.infer; +/** Post-parse shape of {@link ExplainRecordAttribution} — defaults applied, transforms run (ADR-0122). */ +export type ExplainRecordAttributionParsed = z.infer; /** One evaluation-pipeline layer's contribution to the decision. */ export const ExplainLayerSchema = lazySchema(() => z.object({ @@ -212,6 +214,8 @@ export const ExplainLayerSchema = lazySchema(() => z.object({ .describe('Row-level determination for the specific record under explanation; set only for record-grained requests.'), })); export type ExplainLayer = z.infer; +/** Post-parse shape of {@link ExplainLayer} — defaults applied, transforms run (ADR-0122). */ +export type ExplainLayerParsed = z.infer; /** Request shape for the explain API. */ export const ExplainRequestSchema = lazySchema(() => z.object({ @@ -301,6 +305,8 @@ export const ExplainDecisionSchema = lazySchema(() => z.object({ })).optional().describe('Row-level verdict for the specific record; set only for record-grained requests.'), })); export type ExplainDecision = z.infer; +/** Post-parse shape of {@link ExplainDecision} — defaults applied, transforms run (ADR-0122). */ +export type ExplainDecisionParsed = z.infer; /** * [ADR-0090 D6] Access-matrix snapshot — the authoring-time companion to the @@ -334,3 +340,5 @@ export const AccessMatrixSchema = lazySchema(() => z.object({ entries: z.array(AccessMatrixEntrySchema).default([]), })); export type AccessMatrix = z.infer; +/** Post-parse shape of {@link AccessMatrix} — defaults applied, transforms run (ADR-0122). */ +export type AccessMatrixParsed = z.infer; diff --git a/packages/spec/src/security/permission.zod.ts b/packages/spec/src/security/permission.zod.ts index 724028118e..ae2ce4a26c 100644 --- a/packages/spec/src/security/permission.zod.ts +++ b/packages/spec/src/security/permission.zod.ts @@ -274,6 +274,8 @@ export const AdminScopeSchema = lazySchema(() => z.object({ }, { error: adminScopeUnknownKeyError }).strict()); export type AdminScope = z.infer; +/** Post-parse shape of {@link AdminScope} — defaults applied, transforms run (ADR-0122). */ +export type AdminScopeParsed = z.infer; /** Authoring input for {@link AdminScope} — defaulted fields are optional. */ export type AdminScopeInput = z.input; @@ -545,10 +547,16 @@ export const PermissionSetSchema = lazySchema(() => z.object({ }, { error: permissionSetUnknownKeyError }).strict()); export type PermissionSet = z.infer; +/** Post-parse shape of {@link PermissionSet} — defaults applied, transforms run (ADR-0122). */ +export type PermissionSetParsed = z.infer; /** Authoring input for {@link PermissionSet} — defaulted fields are optional. */ export type PermissionSetInput = z.input; export type ObjectPermission = z.infer; +/** Post-parse shape of {@link ObjectPermission} — defaults applied, transforms run (ADR-0122). */ +export type ObjectPermissionParsed = z.infer; export type FieldPermission = z.infer; +/** Post-parse shape of {@link FieldPermission} — defaults applied, transforms run (ADR-0122). */ +export type FieldPermissionParsed = z.infer; /** * Type-safe factory for a permission set. Validates at authoring time via diff --git a/packages/spec/src/security/rls.zod.ts b/packages/spec/src/security/rls.zod.ts index 2eb6d4627a..0181fe9bfd 100644 --- a/packages/spec/src/security/rls.zod.ts +++ b/packages/spec/src/security/rls.zod.ts @@ -570,6 +570,8 @@ export const RLSEvaluationResultSchema = lazySchema(() => z.object({ * Type exports */ export type RowLevelSecurityPolicy = z.infer; +/** Post-parse shape of {@link RowLevelSecurityPolicy} — defaults applied, transforms run (ADR-0122). */ +export type RowLevelSecurityPolicyParsed = z.infer; export type RLSUserContext = z.infer; export type RLSEvaluationResult = z.infer; diff --git a/packages/spec/src/security/sharing.zod.ts b/packages/spec/src/security/sharing.zod.ts index 79cabf7c08..d9def338a9 100644 --- a/packages/spec/src/security/sharing.zod.ts +++ b/packages/spec/src/security/sharing.zod.ts @@ -217,9 +217,13 @@ export const CriteriaSharingRuleSchema = lazySchema(() => BaseSharingRuleSchema. export const SharingRuleSchema = CriteriaSharingRuleSchema; export type SharingRule = z.infer; +/** Post-parse shape of {@link SharingRule} — defaults applied, transforms run (ADR-0122). */ +export type SharingRuleParsed = z.infer; /** Authoring input for {@link SharingRule} — defaulted fields are optional. */ export type SharingRuleInput = z.input; export type CriteriaSharingRule = z.infer; +/** Post-parse shape of {@link CriteriaSharingRule} — defaults applied, transforms run (ADR-0122). */ +export type CriteriaSharingRuleParsed = z.infer; /** * Type-safe factory for a record sharing rule. Validates at authoring time via diff --git a/packages/spec/src/shared/branded-types.zod.ts b/packages/spec/src/shared/branded-types.zod.ts index 0dcde6b565..8e265f9a21 100644 --- a/packages/spec/src/shared/branded-types.zod.ts +++ b/packages/spec/src/shared/branded-types.zod.ts @@ -35,6 +35,8 @@ export const ObjectNameSchema = lazySchema(() => SnakeCaseIdentifierSchema .describe('Branded object name (snake_case, no dots)')); export type ObjectName = z.infer; +/** Post-parse shape of {@link ObjectName} — defaults applied, transforms run (ADR-0122). */ +export type ObjectNameParsed = z.infer; /** * FieldName — Branded type for field (column) names. @@ -48,6 +50,8 @@ export const FieldNameSchema = lazySchema(() => SnakeCaseIdentifierSchema .describe('Branded field name (snake_case, no dots)')); export type FieldName = z.infer; +/** Post-parse shape of {@link FieldName} — defaults applied, transforms run (ADR-0122). */ +export type FieldNameParsed = z.infer; /** * ViewName — Branded type for view identifiers. @@ -61,6 +65,8 @@ export const ViewNameSchema = lazySchema(() => SystemIdentifierSchema .describe('Branded view name (system identifier)')); export type ViewName = z.infer; +/** Post-parse shape of {@link ViewName} — defaults applied, transforms run (ADR-0122). */ +export type ViewNameParsed = z.infer; /** * AppName — Branded type for application identifiers. @@ -74,6 +80,8 @@ export const AppNameSchema = lazySchema(() => SystemIdentifierSchema .describe('Branded app name (system identifier)')); export type AppName = z.infer; +/** Post-parse shape of {@link AppName} — defaults applied, transforms run (ADR-0122). */ +export type AppNameParsed = z.infer; /** * FlowName — Branded type for flow identifiers. @@ -87,6 +95,8 @@ export const FlowNameSchema = lazySchema(() => SystemIdentifierSchema .describe('Branded flow name (system identifier)')); export type FlowName = z.infer; +/** Post-parse shape of {@link FlowName} — defaults applied, transforms run (ADR-0122). */ +export type FlowNameParsed = z.infer; /** * RoleName — Branded type for role identifiers. @@ -100,3 +110,5 @@ export const RoleNameSchema = lazySchema(() => SystemIdentifierSchema .describe('Branded role name (system identifier)')); export type RoleName = z.infer; +/** Post-parse shape of {@link RoleName} — defaults applied, transforms run (ADR-0122). */ +export type RoleNameParsed = z.infer; diff --git a/packages/spec/src/shared/connector-auth.zod.ts b/packages/spec/src/shared/connector-auth.zod.ts index 66cabaeb59..deda9c528a 100644 --- a/packages/spec/src/shared/connector-auth.zod.ts +++ b/packages/spec/src/shared/connector-auth.zod.ts @@ -70,6 +70,8 @@ export const ConnectorAuthConfigSchema = lazySchema(() => z.discriminatedUnion(' ])); export type ConnectorAuthConfig = z.infer; +/** Post-parse shape of {@link ConnectorAuthConfig} — defaults applied, transforms run (ADR-0122). */ +export type ConnectorAuthConfigParsed = z.infer; /** * The **static** subset of {@link ConnectorAuthConfig} — the open-source auth diff --git a/packages/spec/src/shared/http.zod.ts b/packages/spec/src/shared/http.zod.ts index b9d5ea775e..59208ddc17 100644 --- a/packages/spec/src/shared/http.zod.ts +++ b/packages/spec/src/shared/http.zod.ts @@ -80,6 +80,8 @@ export const HttpRequestSchema = lazySchema(() => z.object({ })); export type HttpRequest = z.infer; +/** Post-parse shape of {@link HttpRequest} — defaults applied, transforms run (ADR-0122). */ +export type HttpRequestParsed = z.infer; // ========================================== // CORS Configuration @@ -138,6 +140,8 @@ export const CorsConfigSchema = lazySchema(() => z.object({ })); export type CorsConfig = z.infer; +/** Post-parse shape of {@link CorsConfig} — defaults applied, transforms run (ADR-0122). */ +export type CorsConfigParsed = z.infer; // ========================================== // Rate Limiting @@ -180,6 +184,8 @@ export const RateLimitConfigSchema = lazySchema(() => z.object({ })); export type RateLimitConfig = z.infer; +/** Post-parse shape of {@link RateLimitConfig} — defaults applied, transforms run (ADR-0122). */ +export type RateLimitConfigParsed = z.infer; // ========================================== // Static File Serving diff --git a/packages/spec/src/shared/mapping.zod.ts b/packages/spec/src/shared/mapping.zod.ts index 3fa7e1a405..0a2bdec773 100644 --- a/packages/spec/src/shared/mapping.zod.ts +++ b/packages/spec/src/shared/mapping.zod.ts @@ -78,6 +78,8 @@ export const FieldMappingTransformSchema = lazySchema(() => z.discriminatedUnion ])); export type FieldMappingTransform = z.infer; +/** Post-parse shape of {@link FieldMappingTransform} — defaults applied, transforms run (ADR-0122). */ +export type FieldMappingTransformParsed = z.infer; /** * Field Mapping Schema @@ -121,3 +123,5 @@ export const FieldMappingSchema = lazySchema(() => z.object({ })); export type FieldMapping = z.infer; +/** Post-parse shape of {@link FieldMapping} — defaults applied, transforms run (ADR-0122). */ +export type FieldMappingParsed = z.infer; diff --git a/packages/spec/src/stack.zod.ts b/packages/spec/src/stack.zod.ts index 61b16fbc03..f913322825 100644 --- a/packages/spec/src/stack.zod.ts +++ b/packages/spec/src/stack.zod.ts @@ -602,6 +602,8 @@ export const ObjectStackDefinitionSchema = lazySchema(() => z.object({ }).superRefine(applyApiEndpointGates)); export type ObjectStackDefinition = z.infer; +/** Post-parse shape of {@link ObjectStackDefinition} — defaults applied, transforms run (ADR-0122). */ +export type ObjectStackDefinitionParsed = z.infer; /** * Extract the element type from an array type. diff --git a/packages/spec/src/studio/flow-builder.zod.ts b/packages/spec/src/studio/flow-builder.zod.ts index fb1d29228e..f3819a8d94 100644 --- a/packages/spec/src/studio/flow-builder.zod.ts +++ b/packages/spec/src/studio/flow-builder.zod.ts @@ -108,6 +108,8 @@ export const FlowNodeRenderDescriptorSchema = lazySchema(() => strictObject({ }).describe('Visual render descriptor for a flow node type')); export type FlowNodeRenderDescriptor = z.infer; +/** Post-parse shape of {@link FlowNodeRenderDescriptor} — defaults applied, transforms run (ADR-0122). */ +export type FlowNodeRenderDescriptorParsed = z.infer; // ─── Canvas Node ───────────────────────────────────────────────────── @@ -147,6 +149,8 @@ export const FlowCanvasNodeSchema = lazySchema(() => strictObject({ }).describe('Canvas layout data for a flow node')); export type FlowCanvasNode = z.infer; +/** Post-parse shape of {@link FlowCanvasNode} — defaults applied, transforms run (ADR-0122). */ +export type FlowCanvasNodeParsed = z.infer; // ─── Canvas Edge ───────────────────────────────────────────────────── @@ -200,6 +204,8 @@ export const FlowCanvasEdgeSchema = lazySchema(() => strictObject({ }).describe('Canvas layout and visual data for a flow edge')); export type FlowCanvasEdge = z.infer; +/** Post-parse shape of {@link FlowCanvasEdge} — defaults applied, transforms run (ADR-0122). */ +export type FlowCanvasEdgeParsed = z.infer; // ─── Flow Canvas Layout ────────────────────────────────────────────── @@ -302,6 +308,8 @@ export const FlowBuilderConfigSchema = lazySchema(() => strictObject({ }).describe('Studio Flow Builder configuration')); export type FlowBuilderConfig = z.infer; +/** Post-parse shape of {@link FlowBuilderConfig} — defaults applied, transforms run (ADR-0122). */ +export type FlowBuilderConfigParsed = z.infer; // ─── Built-in Node Descriptors ─────────────────────────────────────── diff --git a/packages/spec/src/studio/object-designer.zod.ts b/packages/spec/src/studio/object-designer.zod.ts index 45ca360da8..d11d1765ee 100644 --- a/packages/spec/src/studio/object-designer.zod.ts +++ b/packages/spec/src/studio/object-designer.zod.ts @@ -103,6 +103,8 @@ export const FieldPropertySectionSchema = lazySchema(() => strictObject({ })); export type FieldPropertySection = z.infer; +/** Post-parse shape of {@link FieldPropertySection} — defaults applied, transforms run (ADR-0122). */ +export type FieldPropertySectionParsed = z.infer; /** * Field grouping configuration — organizes fields into collapsible groups @@ -129,6 +131,8 @@ export const FieldGroupSchema = lazySchema(() => strictObject({ })); export type FieldGroup = z.infer; +/** Post-parse shape of {@link FieldGroup} — defaults applied, transforms run (ADR-0122). */ +export type FieldGroupParsed = z.infer; /** * Field Editor configuration — controls the visual field editing experience. @@ -173,6 +177,8 @@ export const FieldEditorConfigSchema = lazySchema(() => strictObject({ })); export type FieldEditorConfig = z.infer; +/** Post-parse shape of {@link FieldEditorConfig} — defaults applied, transforms run (ADR-0122). */ +export type FieldEditorConfigParsed = z.infer; // ─── Relationship Mapper ───────────────────────────────────────────── @@ -201,6 +207,8 @@ export const RelationshipDisplaySchema = lazySchema(() => strictObject({ })); export type RelationshipDisplay = z.infer; +/** Post-parse shape of {@link RelationshipDisplay} — defaults applied, transforms run (ADR-0122). */ +export type RelationshipDisplayParsed = z.infer; /** * Relationship Mapper configuration — controls the relationship @@ -228,6 +236,8 @@ export const RelationshipMapperConfigSchema = lazySchema(() => strictObject({ })); export type RelationshipMapperConfig = z.infer; +/** Post-parse shape of {@link RelationshipMapperConfig} — defaults applied, transforms run (ADR-0122). */ +export type RelationshipMapperConfigParsed = z.infer; // ─── ER Diagram ────────────────────────────────────────────────────── @@ -272,6 +282,8 @@ export const ERNodeDisplaySchema = lazySchema(() => strictObject({ })); export type ERNodeDisplay = z.infer; +/** Post-parse shape of {@link ERNodeDisplay} — defaults applied, transforms run (ADR-0122). */ +export type ERNodeDisplayParsed = z.infer; /** * ER Diagram configuration — controls the entity-relationship @@ -333,6 +345,8 @@ export const ERDiagramConfigSchema = lazySchema(() => strictObject({ })); export type ERDiagramConfig = z.infer; +/** Post-parse shape of {@link ERDiagramConfig} — defaults applied, transforms run (ADR-0122). */ +export type ERDiagramConfigParsed = z.infer; // ─── Object Manager ────────────────────────────────────────────────── @@ -383,6 +397,8 @@ export const ObjectFilterSchema = lazySchema(() => strictObject({ })); export type ObjectFilter = z.infer; +/** Post-parse shape of {@link ObjectFilter} — defaults applied, transforms run (ADR-0122). */ +export type ObjectFilterParsed = z.infer; /** * Object Manager configuration — controls the unified object list, @@ -430,6 +446,8 @@ export const ObjectManagerConfigSchema = lazySchema(() => strictObject({ })); export type ObjectManagerConfig = z.infer; +/** Post-parse shape of {@link ObjectManagerConfig} — defaults applied, transforms run (ADR-0122). */ +export type ObjectManagerConfigParsed = z.infer; // ─── Object Preview ────────────────────────────────────────────────── @@ -458,6 +476,8 @@ export const ObjectPreviewTabSchema = lazySchema(() => strictObject({ })); export type ObjectPreviewTab = z.infer; +/** Post-parse shape of {@link ObjectPreviewTab} — defaults applied, transforms run (ADR-0122). */ +export type ObjectPreviewTabParsed = z.infer; /** * Object Preview configuration — defines the tabs and layout @@ -490,6 +510,8 @@ export const ObjectPreviewConfigSchema = lazySchema(() => strictObject({ })); export type ObjectPreviewConfig = z.infer; +/** Post-parse shape of {@link ObjectPreviewConfig} — defaults applied, transforms run (ADR-0122). */ +export type ObjectPreviewConfigParsed = z.infer; // ─── Top-Level Object Designer Config ──────────────────────────────── @@ -629,6 +651,8 @@ export const ObjectDesignerConfigSchema = lazySchema(() => strictObject({ })); export type ObjectDesignerConfig = z.infer; +/** Post-parse shape of {@link ObjectDesignerConfig} — defaults applied, transforms run (ADR-0122). */ +export type ObjectDesignerConfigParsed = z.infer; // ─── Helper: defineObjectDesignerConfig ────────────────────────────── diff --git a/packages/spec/src/studio/plugin.zod.ts b/packages/spec/src/studio/plugin.zod.ts index 61fc509df6..87322031ed 100644 --- a/packages/spec/src/studio/plugin.zod.ts +++ b/packages/spec/src/studio/plugin.zod.ts @@ -105,6 +105,8 @@ export const MetadataViewerContributionSchema = lazySchema(() => strictObject({ })); export type MetadataViewerContribution = z.infer; +/** Post-parse shape of {@link MetadataViewerContribution} — defaults applied, transforms run (ADR-0122). */ +export type MetadataViewerContributionParsed = z.infer; // ─── Sidebar Group Contribution ────────────────────────────────────── @@ -133,6 +135,8 @@ export const SidebarGroupContributionSchema = lazySchema(() => strictObject({ })); export type SidebarGroupContribution = z.infer; +/** Post-parse shape of {@link SidebarGroupContribution} — defaults applied, transforms run (ADR-0122). */ +export type SidebarGroupContributionParsed = z.infer; // ─── Action Contribution ───────────────────────────────────────────── @@ -180,6 +184,8 @@ export const ActionContributionSchema = lazySchema(() => strictObject({ })); export type ActionContribution = z.infer; +/** Post-parse shape of {@link ActionContribution} — defaults applied, transforms run (ADR-0122). */ +export type ActionContributionParsed = z.infer; // ─── Metadata Icon Contribution ────────────────────────────────────── @@ -229,6 +235,8 @@ export const PanelContributionSchema = lazySchema(() => strictObject({ })); export type PanelContribution = z.infer; +/** Post-parse shape of {@link PanelContribution} — defaults applied, transforms run (ADR-0122). */ +export type PanelContributionParsed = z.infer; // ─── Command Contribution ──────────────────────────────────────────── @@ -285,6 +293,8 @@ export const StudioPluginContributionsSchema = lazySchema(() => strictObject({ })); export type StudioPluginContributions = z.infer; +/** Post-parse shape of {@link StudioPluginContributions} — defaults applied, transforms run (ADR-0122). */ +export type StudioPluginContributionsParsed = z.infer; // ─── Activation Events — REMOVED (#4657, ADR-0049) ─────────────────── // @@ -394,6 +404,8 @@ export const StudioPluginManifestSchema = lazySchema(() => strictObject({ })); export type StudioPluginManifest = z.infer; +/** Post-parse shape of {@link StudioPluginManifest} — defaults applied, transforms run (ADR-0122). */ +export type StudioPluginManifestParsed = z.infer; // ─── Helper: defineStudioPlugin ────────────────────────────────────── diff --git a/packages/spec/src/system/app-install.zod.ts b/packages/spec/src/system/app-install.zod.ts index 640b1349d4..39bd996736 100644 --- a/packages/spec/src/system/app-install.zod.ts +++ b/packages/spec/src/system/app-install.zod.ts @@ -61,6 +61,8 @@ export const AppManifestSchema = lazySchema(() => z.object({ }).describe('App manifest for marketplace installation')); export type AppManifest = z.infer; +/** Post-parse shape of {@link AppManifest} — defaults applied, transforms run (ADR-0122). */ +export type AppManifestParsed = z.infer; // ========================================================================== // 2. Compatibility Check @@ -90,6 +92,8 @@ export const AppCompatibilityCheckSchema = lazySchema(() => z.object({ }).describe('App compatibility check result')); export type AppCompatibilityCheck = z.infer; +/** Post-parse shape of {@link AppCompatibilityCheck} — defaults applied, transforms run (ADR-0122). */ +export type AppCompatibilityCheckParsed = z.infer; // ========================================================================== // 3. Install Request & Result @@ -113,6 +117,8 @@ export const AppInstallRequestSchema = lazySchema(() => z.object({ }).describe('App install request')); export type AppInstallRequest = z.infer; +/** Post-parse shape of {@link AppInstallRequest} — defaults applied, transforms run (ADR-0122). */ +export type AppInstallRequestParsed = z.infer; /** * App Install Result. @@ -144,3 +150,5 @@ export const AppInstallResultSchema = lazySchema(() => z.object({ }).describe('App install result')); export type AppInstallResult = z.infer; +/** Post-parse shape of {@link AppInstallResult} — defaults applied, transforms run (ADR-0122). */ +export type AppInstallResultParsed = z.infer; diff --git a/packages/spec/src/system/auth-config.zod.ts b/packages/spec/src/system/auth-config.zod.ts index faae17f4a5..4c98a1af82 100644 --- a/packages/spec/src/system/auth-config.zod.ts +++ b/packages/spec/src/system/auth-config.zod.ts @@ -177,6 +177,8 @@ export const MutualTLSConfigSchema = lazySchema(() => z.object({ })); export type MutualTLSConfig = z.infer; +/** Post-parse shape of {@link MutualTLSConfig} — defaults applied, transforms run (ADR-0122). */ +export type MutualTLSConfigParsed = z.infer; /** * Social / OAuth Provider Configuration @@ -333,8 +335,16 @@ export const AuthConfigSchema = lazySchema(() => z.object({ export type AuthProviderConfig = z.infer; export type AuthPluginConfig = z.infer; +/** Post-parse shape of {@link AuthPluginConfig} — defaults applied, transforms run (ADR-0122). */ +export type AuthPluginConfigParsed = z.infer; export type SocialProviderConfig = z.infer; +/** Post-parse shape of {@link SocialProviderConfig} — defaults applied, transforms run (ADR-0122). */ +export type SocialProviderConfigParsed = z.infer; export type EmailAndPasswordConfig = z.infer; +/** Post-parse shape of {@link EmailAndPasswordConfig} — defaults applied, transforms run (ADR-0122). */ +export type EmailAndPasswordConfigParsed = z.infer; export type EmailVerificationConfig = z.infer; export type AdvancedAuthConfig = z.infer; export type AuthConfig = z.infer; +/** Post-parse shape of {@link AuthConfig} — defaults applied, transforms run (ADR-0122). */ +export type AuthConfigParsed = z.infer; diff --git a/packages/spec/src/system/cache.zod.ts b/packages/spec/src/system/cache.zod.ts index 9cbda0ad8e..e2eeee35f6 100644 --- a/packages/spec/src/system/cache.zod.ts +++ b/packages/spec/src/system/cache.zod.ts @@ -56,6 +56,8 @@ export const CacheTierSchema = lazySchema(() => z.object({ }).describe('Configuration for a single cache tier in the hierarchy')); export type CacheTier = z.infer; +/** Post-parse shape of {@link CacheTier} — defaults applied, transforms run (ADR-0122). */ +export type CacheTierParsed = z.infer; export type CacheTierInput = z.input; export const CacheInvalidationSchema = lazySchema(() => z.object({ @@ -77,6 +79,8 @@ export const CacheConfigSchema = lazySchema(() => z.object({ }).describe('Top-level application cache configuration')); export type CacheConfig = z.infer; +/** Post-parse shape of {@link CacheConfig} — defaults applied, transforms run (ADR-0122). */ +export type CacheConfigParsed = z.infer; export type CacheConfigInput = z.input; /** @@ -134,6 +138,8 @@ export const CacheAvalanchePreventionSchema = lazySchema(() => z.object({ }).describe('Cache avalanche/stampede prevention configuration')); export type CacheAvalanchePrevention = z.infer; +/** Post-parse shape of {@link CacheAvalanchePrevention} — defaults applied, transforms run (ADR-0122). */ +export type CacheAvalanchePreventionParsed = z.infer; /** * Cache Warmup Strategy Schema @@ -155,6 +161,8 @@ export const CacheWarmupSchema = lazySchema(() => z.object({ }).describe('Cache warmup strategy')); export type CacheWarmup = z.infer; +/** Post-parse shape of {@link CacheWarmup} — defaults applied, transforms run (ADR-0122). */ +export type CacheWarmupParsed = z.infer; /** * Distributed Cache Configuration Schema @@ -193,4 +201,6 @@ export const DistributedCacheConfigSchema = lazySchema(() => CacheConfigSchema.e }).describe('Distributed cache configuration with consistency and avalanche prevention')); export type DistributedCacheConfig = z.infer; +/** Post-parse shape of {@link DistributedCacheConfig} — defaults applied, transforms run (ADR-0122). */ +export type DistributedCacheConfigParsed = z.infer; export type DistributedCacheConfigInput = z.input; diff --git a/packages/spec/src/system/change-management.zod.ts b/packages/spec/src/system/change-management.zod.ts index fcaadb2771..b784ec8b04 100644 --- a/packages/spec/src/system/change-management.zod.ts +++ b/packages/spec/src/system/change-management.zod.ts @@ -420,6 +420,8 @@ export const ChangeRequestSchema = lazySchema(() => z.object({ // Type exports export type ChangeRequest = z.infer; +/** Post-parse shape of {@link ChangeRequest} — defaults applied, transforms run (ADR-0122). */ +export type ChangeRequestParsed = z.infer; export type ChangeType = z.infer; export type ChangeStatus = z.infer; export type ChangePriority = z.infer; diff --git a/packages/spec/src/system/collaboration.zod.ts b/packages/spec/src/system/collaboration.zod.ts index 3231ab12ad..17dcf280b0 100644 --- a/packages/spec/src/system/collaboration.zod.ts +++ b/packages/spec/src/system/collaboration.zod.ts @@ -176,6 +176,8 @@ export const ORSetElementSchema = lazySchema(() => z.object({ })); export type ORSetElement = z.infer; +/** Post-parse shape of {@link ORSetElement} — defaults applied, transforms run (ADR-0122). */ +export type ORSetElementParsed = z.infer; /** * OR-Set Schema @@ -187,6 +189,8 @@ export const ORSetSchema = lazySchema(() => z.object({ })); export type ORSet = z.infer; +/** Post-parse shape of {@link ORSet} — defaults applied, transforms run (ADR-0122). */ +export type ORSetParsed = z.infer; /** * Text CRDT Operation Schema @@ -232,6 +236,8 @@ export const CRDTStateSchema = lazySchema(() => z.discriminatedUnion('type', [ ])); export type CRDTState = z.infer; +/** Post-parse shape of {@link CRDTState} — defaults applied, transforms run (ADR-0122). */ +export type CRDTStateParsed = z.infer; /** * CRDT Merge Schema @@ -247,6 +253,8 @@ export const CRDTMergeResultSchema = lazySchema(() => z.object({ })); export type CRDTMergeResult = z.infer; +/** Post-parse shape of {@link CRDTMergeResult} — defaults applied, transforms run (ADR-0122). */ +export type CRDTMergeResultParsed = z.infer; // ========================================== // Cursor Sharing @@ -284,6 +292,8 @@ export const CursorStyleSchema = lazySchema(() => z.object({ })); export type CursorStyle = z.infer; +/** Post-parse shape of {@link CursorStyle} — defaults applied, transforms run (ADR-0122). */ +export type CursorStyleParsed = z.infer; /** * Cursor Selection Schema @@ -324,6 +334,8 @@ export const CollaborativeCursorSchema = lazySchema(() => z.object({ })); export type CollaborativeCursor = z.infer; +/** Post-parse shape of {@link CollaborativeCursor} — defaults applied, transforms run (ADR-0122). */ +export type CollaborativeCursorParsed = z.infer; /** * Cursor Update Schema @@ -464,6 +476,8 @@ export const CollaborationSessionConfigSchema = lazySchema(() => z.object({ })); export type CollaborationSessionConfig = z.infer; +/** Post-parse shape of {@link CollaborationSessionConfig} — defaults applied, transforms run (ADR-0122). */ +export type CollaborationSessionConfigParsed = z.infer; /** * Collaboration Session Schema @@ -483,3 +497,5 @@ export const CollaborationSessionSchema = lazySchema(() => z.object({ })); export type CollaborationSession = z.infer; +/** Post-parse shape of {@link CollaborationSession} — defaults applied, transforms run (ADR-0122). */ +export type CollaborationSessionParsed = z.infer; diff --git a/packages/spec/src/system/deploy-bundle.zod.ts b/packages/spec/src/system/deploy-bundle.zod.ts index e8df3a2806..9f8af9b4b0 100644 --- a/packages/spec/src/system/deploy-bundle.zod.ts +++ b/packages/spec/src/system/deploy-bundle.zod.ts @@ -84,6 +84,8 @@ export const DeployDiffSchema = lazySchema(() => z.object({ }).describe('Schema diff between current and desired state')); export type DeployDiff = z.infer; +/** Post-parse shape of {@link DeployDiff} — defaults applied, transforms run (ADR-0122). */ +export type DeployDiffParsed = z.infer; // ========================================================================== // 3. Migration Plan @@ -107,6 +109,8 @@ export const MigrationStatementSchema = lazySchema(() => z.object({ }).describe('Single DDL migration statement')); export type MigrationStatement = z.infer; +/** Post-parse shape of {@link MigrationStatement} — defaults applied, transforms run (ADR-0122). */ +export type MigrationStatementParsed = z.infer; /** * Migration Plan — ordered list of DDL statements to execute. @@ -126,6 +130,8 @@ export const MigrationPlanSchema = lazySchema(() => z.object({ }).describe('Ordered migration plan')); export type MigrationPlan = z.infer; +/** Post-parse shape of {@link MigrationPlan} — defaults applied, transforms run (ADR-0122). */ +export type MigrationPlanParsed = z.infer; // ========================================================================== // 4. Deploy Validation @@ -168,6 +174,8 @@ export const DeployValidationResultSchema = lazySchema(() => z.object({ }).describe('Bundle validation result')); export type DeployValidationResult = z.infer; +/** Post-parse shape of {@link DeployValidationResult} — defaults applied, transforms run (ADR-0122). */ +export type DeployValidationResultParsed = z.infer; // ========================================================================== // 5. Deploy Bundle & Manifest @@ -200,6 +208,8 @@ export const DeployManifestSchema = lazySchema(() => z.object({ }).describe('Deployment manifest')); export type DeployManifest = z.infer; +/** Post-parse shape of {@link DeployManifest} — defaults applied, transforms run (ADR-0122). */ +export type DeployManifestParsed = z.infer; /** * Deploy Bundle — container for all metadata being deployed. @@ -226,3 +236,5 @@ export const DeployBundleSchema = lazySchema(() => z.object({ }).describe('Deploy bundle containing all metadata for deployment')); export type DeployBundle = z.infer; +/** Post-parse shape of {@link DeployBundle} — defaults applied, transforms run (ADR-0122). */ +export type DeployBundleParsed = z.infer; diff --git a/packages/spec/src/system/disaster-recovery.zod.ts b/packages/spec/src/system/disaster-recovery.zod.ts index e7c382efe6..d06aedf852 100644 --- a/packages/spec/src/system/disaster-recovery.zod.ts +++ b/packages/spec/src/system/disaster-recovery.zod.ts @@ -44,6 +44,8 @@ export const BackupRetentionSchema = lazySchema(() => z.object({ }).describe('Backup retention policy')); export type BackupRetention = z.infer; +/** Post-parse shape of {@link BackupRetention} — defaults applied, transforms run (ADR-0122). */ +export type BackupRetentionParsed = z.infer; /** * Backup Configuration Schema @@ -79,6 +81,8 @@ export const BackupConfigSchema = lazySchema(() => z.object({ }).describe('Backup configuration')); export type BackupConfig = z.infer; +/** Post-parse shape of {@link BackupConfig} — defaults applied, transforms run (ADR-0122). */ +export type BackupConfigParsed = z.infer; export type BackupConfigInput = z.input; /** @@ -128,6 +132,8 @@ export const FailoverConfigSchema = lazySchema(() => z.object({ }).describe('Failover configuration')); export type FailoverConfig = z.infer; +/** Post-parse shape of {@link FailoverConfig} — defaults applied, transforms run (ADR-0122). */ +export type FailoverConfigParsed = z.infer; export type FailoverConfigInput = z.input; /** @@ -143,6 +149,8 @@ export const RPOSchema = lazySchema(() => z.object({ }).describe('Recovery Point Objective (maximum acceptable data loss)')); export type RPO = z.infer; +/** Post-parse shape of {@link RPO} — defaults applied, transforms run (ADR-0122). */ +export type RPOParsed = z.infer; /** * Recovery Time Objective (RTO) Schema @@ -157,6 +165,8 @@ export const RTOSchema = lazySchema(() => z.object({ }).describe('Recovery Time Objective (maximum acceptable downtime)')); export type RTO = z.infer; +/** Post-parse shape of {@link RTO} — defaults applied, transforms run (ADR-0122). */ +export type RTOParsed = z.infer; /** * Disaster Recovery Plan Schema @@ -245,4 +255,6 @@ export const DisasterRecoveryPlanSchema = lazySchema(() => z.object({ }).describe('Complete disaster recovery plan configuration')); export type DisasterRecoveryPlan = z.infer; +/** Post-parse shape of {@link DisasterRecoveryPlan} — defaults applied, transforms run (ADR-0122). */ +export type DisasterRecoveryPlanParsed = z.infer; export type DisasterRecoveryPlanInput = z.input; diff --git a/packages/spec/src/system/email-config.zod.ts b/packages/spec/src/system/email-config.zod.ts index 4a47751820..83a2adc826 100644 --- a/packages/spec/src/system/email-config.zod.ts +++ b/packages/spec/src/system/email-config.zod.ts @@ -215,3 +215,5 @@ export const EmailServiceConfigSchema = lazySchema(() => z.object({ ), })); export type EmailServiceConfig = z.infer; +/** Post-parse shape of {@link EmailServiceConfig} — defaults applied, transforms run (ADR-0122). */ +export type EmailServiceConfigParsed = z.infer; diff --git a/packages/spec/src/system/email-template.zod.ts b/packages/spec/src/system/email-template.zod.ts index 293aa9b36a..fafc02ca68 100644 --- a/packages/spec/src/system/email-template.zod.ts +++ b/packages/spec/src/system/email-template.zod.ts @@ -41,6 +41,8 @@ export const EmailTemplateDefinitionVariableSchema = lazySchema(() => z.object({ description: z.string().optional().describe('Author hint shown in Studio'), })); export type EmailTemplateDefinitionVariable = z.infer; +/** Post-parse shape of {@link EmailTemplateDefinitionVariable} — defaults applied, transforms run (ADR-0122). */ +export type EmailTemplateDefinitionVariableParsed = z.infer; export const EmailTemplateDefinitionSchema = lazySchema(() => strictObject({ surface: 'this email template', @@ -152,6 +154,8 @@ function EmailAddressInlineSchema() { } export type EmailTemplateDefinition = z.infer; +/** Post-parse shape of {@link EmailTemplateDefinition} — defaults applied, transforms run (ADR-0122). */ +export type EmailTemplateDefinitionParsed = z.infer; /** Authoring input for {@link EmailTemplateDefinition} — defaulted fields are optional. */ export type EmailTemplateDefinitionInput = z.input; diff --git a/packages/spec/src/system/encryption.zod.ts b/packages/spec/src/system/encryption.zod.ts index 5a2ac9fae0..4e3d989410 100644 --- a/packages/spec/src/system/encryption.zod.ts +++ b/packages/spec/src/system/encryption.zod.ts @@ -37,6 +37,8 @@ export const KeyRotationPolicySchema = lazySchema(() => z.object({ }).describe('Policy for automatic encryption key rotation')); export type KeyRotationPolicy = z.infer; +/** Post-parse shape of {@link KeyRotationPolicy} — defaults applied, transforms run (ADR-0122). */ +export type KeyRotationPolicyParsed = z.infer; export type KeyRotationPolicyInput = z.input; export const EncryptionConfigSchema = lazySchema(() => z.object({ @@ -53,6 +55,8 @@ export const EncryptionConfigSchema = lazySchema(() => z.object({ }).describe('Field-level encryption configuration')); export type EncryptionConfig = z.infer; +/** Post-parse shape of {@link EncryptionConfig} — defaults applied, transforms run (ADR-0122). */ +export type EncryptionConfigParsed = z.infer; export type EncryptionConfigInput = z.input; export const FieldEncryptionSchema = lazySchema(() => z.object({ @@ -62,4 +66,6 @@ export const FieldEncryptionSchema = lazySchema(() => z.object({ }).describe('Per-field encryption assignment')); export type FieldEncryption = z.infer; +/** Post-parse shape of {@link FieldEncryption} — defaults applied, transforms run (ADR-0122). */ +export type FieldEncryptionParsed = z.infer; export type FieldEncryptionInput = z.input; diff --git a/packages/spec/src/system/environment-artifact.zod.ts b/packages/spec/src/system/environment-artifact.zod.ts index 8e1c64c9c3..dea17bf33b 100644 --- a/packages/spec/src/system/environment-artifact.zod.ts +++ b/packages/spec/src/system/environment-artifact.zod.ts @@ -146,4 +146,6 @@ export const EnvironmentArtifactSchema = lazySchema(() => z.object({ })); export type EnvironmentArtifact = z.infer; +/** Post-parse shape of {@link EnvironmentArtifact} — defaults applied, transforms run (ADR-0122). */ +export type EnvironmentArtifactParsed = z.infer; export type EnvironmentArtifactInput = z.input; diff --git a/packages/spec/src/system/http-server.zod.ts b/packages/spec/src/system/http-server.zod.ts index 683b750705..94c730f39a 100644 --- a/packages/spec/src/system/http-server.zod.ts +++ b/packages/spec/src/system/http-server.zod.ts @@ -114,6 +114,8 @@ export const RouteHandlerMetadataSchema = lazySchema(() => z.object({ })); export type RouteHandlerMetadata = z.infer; +/** Post-parse shape of {@link RouteHandlerMetadata} — defaults applied, transforms run (ADR-0122). */ +export type RouteHandlerMetadataParsed = z.infer; export type RouteHandlerMetadataInput = z.input; // ========================================== @@ -187,6 +189,8 @@ export const MiddlewareConfigSchema = lazySchema(() => z.object({ })); export type MiddlewareConfig = z.infer; +/** Post-parse shape of {@link MiddlewareConfig} — defaults applied, transforms run (ADR-0122). */ +export type MiddlewareConfigParsed = z.infer; export type MiddlewareConfigInput = z.input; // ========================================== @@ -282,6 +286,8 @@ export const ServerCapabilitiesSchema = lazySchema(() => z.object({ })); export type ServerCapabilities = z.infer; +/** Post-parse shape of {@link ServerCapabilities} — defaults applied, transforms run (ADR-0122). */ +export type ServerCapabilitiesParsed = z.infer; export type ServerCapabilitiesInput = z.input; // ========================================== diff --git a/packages/spec/src/system/incident-response.zod.ts b/packages/spec/src/system/incident-response.zod.ts index e05807eeb8..343efecd0d 100644 --- a/packages/spec/src/system/incident-response.zod.ts +++ b/packages/spec/src/system/incident-response.zod.ts @@ -155,6 +155,8 @@ export const IncidentNotificationRuleSchema = lazySchema(() => z.object({ }).describe('Incident notification rule per severity level')); export type IncidentNotificationRule = z.infer; +/** Post-parse shape of {@link IncidentNotificationRule} — defaults applied, transforms run (ADR-0122). */ +export type IncidentNotificationRuleParsed = z.infer; /** * Notification Matrix Schema @@ -182,6 +184,8 @@ export const IncidentNotificationMatrixSchema = lazySchema(() => z.object({ }).describe('Incident notification matrix with escalation policies')); export type IncidentNotificationMatrix = z.infer; +/** Post-parse shape of {@link IncidentNotificationMatrix} — defaults applied, transforms run (ADR-0122). */ +export type IncidentNotificationMatrixParsed = z.infer; /** * Incident Schema @@ -366,3 +370,5 @@ export type IncidentCategory = z.infer; export type IncidentStatus = z.infer; export type Incident = z.infer; export type IncidentResponsePolicy = z.infer; +/** Post-parse shape of {@link IncidentResponsePolicy} — defaults applied, transforms run (ADR-0122). */ +export type IncidentResponsePolicyParsed = z.infer; diff --git a/packages/spec/src/system/job.zod.ts b/packages/spec/src/system/job.zod.ts index 848f67dd6e..853c1d51cd 100644 --- a/packages/spec/src/system/job.zod.ts +++ b/packages/spec/src/system/job.zod.ts @@ -45,7 +45,11 @@ export const ScheduleSchema = lazySchema(() => z.discriminatedUnion('type', [ ])); export type Schedule = z.infer; +/** Post-parse shape of {@link Schedule} — defaults applied, transforms run (ADR-0122). */ +export type ScheduleParsed = z.infer; export type CronSchedule = z.infer; +/** Post-parse shape of {@link CronSchedule} — defaults applied, transforms run (ADR-0122). */ +export type CronScheduleParsed = z.infer; export type IntervalSchedule = z.infer; export type OnceSchedule = z.infer; // NOTE [#4538]: the legacy `export type JobSchedule = Schedule` alias was @@ -148,6 +152,8 @@ export const JobSchema = lazySchema(() => strictObject({ })); export type Job = z.infer; +/** Post-parse shape of {@link Job} — defaults applied, transforms run (ADR-0122). */ +export type JobParsed = z.infer; /** Authoring input for {@link Job} — defaulted fields are optional. */ export type JobInput = z.input; diff --git a/packages/spec/src/system/license.zod.ts b/packages/spec/src/system/license.zod.ts index bc8368712c..ee788bc5b8 100644 --- a/packages/spec/src/system/license.zod.ts +++ b/packages/spec/src/system/license.zod.ts @@ -81,7 +81,11 @@ export const LicenseSchema = lazySchema(() => z.object({ })); export type Feature = z.infer; +/** Post-parse shape of {@link Feature} — defaults applied, transforms run (ADR-0122). */ +export type FeatureParsed = z.infer; export type FeatureInput = z.input; export type Plan = z.infer; +/** Post-parse shape of {@link Plan} — defaults applied, transforms run (ADR-0122). */ +export type PlanParsed = z.infer; export type PlanInput = z.input; export type License = z.infer; diff --git a/packages/spec/src/system/logging.zod.ts b/packages/spec/src/system/logging.zod.ts index 308e87fe0c..6f9ce91df7 100644 --- a/packages/spec/src/system/logging.zod.ts +++ b/packages/spec/src/system/logging.zod.ts @@ -92,6 +92,8 @@ export const LoggerConfigSchema = lazySchema(() => z.object({ })); export type LoggerConfig = z.infer; +/** Post-parse shape of {@link LoggerConfig} — defaults applied, transforms run (ADR-0122). */ +export type LoggerConfigParsed = z.infer; /** * Log Entry Schema @@ -178,6 +180,8 @@ export const ConsoleDestinationConfigSchema = lazySchema(() => z.object({ }).describe('Console destination configuration')); export type ConsoleDestinationConfig = z.infer; +/** Post-parse shape of {@link ConsoleDestinationConfig} — defaults applied, transforms run (ADR-0122). */ +export type ConsoleDestinationConfigParsed = z.infer; /** * File Destination Configuration @@ -225,6 +229,8 @@ export const FileDestinationConfigSchema = lazySchema(() => z.object({ }).describe('File destination configuration')); export type FileDestinationConfig = z.infer; +/** Post-parse shape of {@link FileDestinationConfig} — defaults applied, transforms run (ADR-0122). */ +export type FileDestinationConfigParsed = z.infer; /** * HTTP Destination Configuration @@ -299,6 +305,8 @@ export const HttpDestinationConfigSchema = lazySchema(() => z.object({ }).describe('HTTP destination configuration')); export type HttpDestinationConfig = z.infer; +/** Post-parse shape of {@link HttpDestinationConfig} — defaults applied, transforms run (ADR-0122). */ +export type HttpDestinationConfigParsed = z.infer; /** * External Service Destination Configuration @@ -399,6 +407,8 @@ export const LogDestinationSchema = lazySchema(() => z.object({ }).describe('Log destination configuration')); export type LogDestination = z.infer; +/** Post-parse shape of {@link LogDestination} — defaults applied, transforms run (ADR-0122). */ +export type LogDestinationParsed = z.infer; /** * Log Enrichment Configuration @@ -451,6 +461,8 @@ export const LogEnrichmentConfigSchema = lazySchema(() => z.object({ }).describe('Log enrichment configuration')); export type LogEnrichmentConfig = z.infer; +/** Post-parse shape of {@link LogEnrichmentConfig} — defaults applied, transforms run (ADR-0122). */ +export type LogEnrichmentConfigParsed = z.infer; /** * Structured Log Entry Schema @@ -682,3 +694,5 @@ export const LoggingConfigSchema = lazySchema(() => z.object({ }).describe('Logging configuration')); export type LoggingConfig = z.infer; +/** Post-parse shape of {@link LoggingConfig} — defaults applied, transforms run (ADR-0122). */ +export type LoggingConfigParsed = z.infer; diff --git a/packages/spec/src/system/message-queue.zod.ts b/packages/spec/src/system/message-queue.zod.ts index a7599ea26f..aa0345a8cb 100644 --- a/packages/spec/src/system/message-queue.zod.ts +++ b/packages/spec/src/system/message-queue.zod.ts @@ -27,6 +27,8 @@ export const TopicConfigSchema = lazySchema(() => z.object({ }).describe('Configuration for a message queue topic')); export type TopicConfig = z.infer; +/** Post-parse shape of {@link TopicConfig} — defaults applied, transforms run (ADR-0122). */ +export type TopicConfigParsed = z.infer; export const ConsumerConfigSchema = lazySchema(() => z.object({ groupId: z.string().describe('Consumer group identifier'), @@ -36,6 +38,8 @@ export const ConsumerConfigSchema = lazySchema(() => z.object({ }).describe('Consumer group configuration for topic consumption')); export type ConsumerConfig = z.infer; +/** Post-parse shape of {@link ConsumerConfig} — defaults applied, transforms run (ADR-0122). */ +export type ConsumerConfigParsed = z.infer; export const DeadLetterQueueSchema = lazySchema(() => z.object({ enabled: z.boolean().default(false).describe('Enable dead letter queue for failed messages'), @@ -44,6 +48,8 @@ export const DeadLetterQueueSchema = lazySchema(() => z.object({ }).describe('Dead letter queue configuration for unprocessable messages')); export type DeadLetterQueue = z.infer; +/** Post-parse shape of {@link DeadLetterQueue} — defaults applied, transforms run (ADR-0122). */ +export type DeadLetterQueueParsed = z.infer; export const MessageQueueConfigSchema = lazySchema(() => z.object({ provider: MessageQueueProviderSchema.describe('Message queue backend provider'), @@ -59,3 +65,5 @@ export const MessageQueueConfigSchema = lazySchema(() => z.object({ }).describe('Top-level message queue configuration')); export type MessageQueueConfig = z.infer; +/** Post-parse shape of {@link MessageQueueConfig} — defaults applied, transforms run (ADR-0122). */ +export type MessageQueueConfigParsed = z.infer; diff --git a/packages/spec/src/system/metadata-persistence.zod.ts b/packages/spec/src/system/metadata-persistence.zod.ts index 1b9b8ee659..c80d6e1d98 100644 --- a/packages/spec/src/system/metadata-persistence.zod.ts +++ b/packages/spec/src/system/metadata-persistence.zod.ts @@ -141,6 +141,8 @@ export const MetadataRecordSchema = lazySchema(() => z.object({ })); export type MetadataRecord = z.infer; +/** Post-parse shape of {@link MetadataRecord} — defaults applied, transforms run (ADR-0122). */ +export type MetadataRecordParsed = z.infer; export type MetadataScope = z.infer; /** @@ -358,6 +360,8 @@ export type MetadataLoaderContract = z.input; export type MetadataLoadResult = z.infer; export type MetadataSaveOptions = z.infer; +/** Post-parse shape of {@link MetadataSaveOptions} — defaults applied, transforms run (ADR-0122). */ +export type MetadataSaveOptionsParsed = z.infer; export type MetadataSaveResult = z.infer; export type MetadataWatchEvent = z.infer; export type MetadataCollectionInfo = z.infer; @@ -472,6 +476,8 @@ export const MetadataHistoryQueryOptionsSchema = lazySchema(() => z.object({ })); export type MetadataHistoryQueryOptions = z.infer; +/** Post-parse shape of {@link MetadataHistoryQueryOptions} — defaults applied, transforms run (ADR-0122). */ +export type MetadataHistoryQueryOptionsParsed = z.infer; /** * Metadata History Query Result @@ -544,3 +550,5 @@ export const MetadataHistoryRetentionPolicySchema = lazySchema(() => z.object({ })); export type MetadataHistoryRetentionPolicy = z.infer; +/** Post-parse shape of {@link MetadataHistoryRetentionPolicy} — defaults applied, transforms run (ADR-0122). */ +export type MetadataHistoryRetentionPolicyParsed = z.infer; diff --git a/packages/spec/src/system/metrics.zod.ts b/packages/spec/src/system/metrics.zod.ts index 3b852e3e2d..a802deceaf 100644 --- a/packages/spec/src/system/metrics.zod.ts +++ b/packages/spec/src/system/metrics.zod.ts @@ -202,6 +202,8 @@ export const MetricDefinitionSchema = lazySchema(() => z.object({ }).describe('Metric definition')); export type MetricDefinition = z.infer; +/** Post-parse shape of {@link MetricDefinition} — defaults applied, transforms run (ADR-0122). */ +export type MetricDefinitionParsed = z.infer; /** * Metric Data Point Schema @@ -355,6 +357,8 @@ export const MetricAggregationConfigSchema = lazySchema(() => z.object({ }).describe('Metric aggregation configuration')); export type MetricAggregationConfig = z.infer; +/** Post-parse shape of {@link MetricAggregationConfig} — defaults applied, transforms run (ADR-0122). */ +export type MetricAggregationConfigParsed = z.infer; /** * Service Level Indicator (SLI) Schema @@ -428,6 +432,8 @@ export const ServiceLevelIndicatorSchema = lazySchema(() => z.object({ }).describe('Service Level Indicator')); export type ServiceLevelIndicator = z.infer; +/** Post-parse shape of {@link ServiceLevelIndicator} — defaults applied, transforms run (ADR-0122). */ +export type ServiceLevelIndicatorParsed = z.infer; /** * Service Level Objective (SLO) Schema @@ -540,6 +546,8 @@ export const ServiceLevelObjectiveSchema = lazySchema(() => z.object({ }).describe('Service Level Objective')); export type ServiceLevelObjective = z.infer; +/** Post-parse shape of {@link ServiceLevelObjective} — defaults applied, transforms run (ADR-0122). */ +export type ServiceLevelObjectiveParsed = z.infer; /** * Metric Export Configuration @@ -598,6 +606,8 @@ export const MetricExportConfigSchema = lazySchema(() => z.object({ }).describe('Metric export configuration')); export type MetricExportConfig = z.infer; +/** Post-parse shape of {@link MetricExportConfig} — defaults applied, transforms run (ADR-0122). */ +export type MetricExportConfigParsed = z.infer; /** * Metrics Configuration Schema @@ -698,3 +708,5 @@ export const MetricsConfigSchema = lazySchema(() => z.object({ }).describe('Metrics configuration')); export type MetricsConfig = z.infer; +/** Post-parse shape of {@link MetricsConfig} — defaults applied, transforms run (ADR-0122). */ +export type MetricsConfigParsed = z.infer; diff --git a/packages/spec/src/system/migration.zod.ts b/packages/spec/src/system/migration.zod.ts index a561ae15e8..075f7b40b3 100644 --- a/packages/spec/src/system/migration.zod.ts +++ b/packages/spec/src/system/migration.zod.ts @@ -101,7 +101,11 @@ export const ChangeSetSchema = lazySchema(() => z.object({ }).describe('A versioned set of atomic schema migration operations')); export type ChangeSet = z.infer; +/** Post-parse shape of {@link ChangeSet} — defaults applied, transforms run (ADR-0122). */ +export type ChangeSetParsed = z.infer; export type MigrationOperation = z.infer; +/** Post-parse shape of {@link MigrationOperation} — defaults applied, transforms run (ADR-0122). */ +export type MigrationOperationParsed = z.infer; // --- Deployment-level data-migration flags (#3617) --- // diff --git a/packages/spec/src/system/object-storage.zod.ts b/packages/spec/src/system/object-storage.zod.ts index 8ef6c36715..d87442ace5 100644 --- a/packages/spec/src/system/object-storage.zod.ts +++ b/packages/spec/src/system/object-storage.zod.ts @@ -229,6 +229,8 @@ export const MultipartUploadConfigSchema = lazySchema(() => z.object({ })); export type MultipartUploadConfig = z.infer; +/** Post-parse shape of {@link MultipartUploadConfig} — defaults applied, transforms run (ADR-0122). */ +export type MultipartUploadConfigParsed = z.infer; /** * Access Control Configuration @@ -265,6 +267,8 @@ export const AccessControlConfigSchema = lazySchema(() => z.object({ })); export type AccessControlConfig = z.infer; +/** Post-parse shape of {@link AccessControlConfig} — defaults applied, transforms run (ADR-0122). */ +export type AccessControlConfigParsed = z.infer; /** * Lifecycle Policy Rule @@ -310,6 +314,8 @@ export const LifecyclePolicyRuleSchema = lazySchema(() => z.object({ })); export type LifecyclePolicyRule = z.infer; +/** Post-parse shape of {@link LifecyclePolicyRule} — defaults applied, transforms run (ADR-0122). */ +export type LifecyclePolicyRuleParsed = z.infer; /** * Lifecycle Policy Configuration @@ -343,6 +349,8 @@ export const LifecyclePolicyConfigSchema = lazySchema(() => z.object({ })); export type LifecyclePolicyConfig = z.infer; +/** Post-parse shape of {@link LifecyclePolicyConfig} — defaults applied, transforms run (ADR-0122). */ +export type LifecyclePolicyConfigParsed = z.infer; /** * Bucket Configuration Schema @@ -394,6 +402,8 @@ export const BucketConfigSchema = lazySchema(() => z.object({ })); export type BucketConfig = z.infer; +/** Post-parse shape of {@link BucketConfig} — defaults applied, transforms run (ADR-0122). */ +export type BucketConfigParsed = z.infer; /** * Storage Connection Configuration @@ -438,6 +448,8 @@ export const StorageConnectionSchema = lazySchema(() => z.object({ })); export type StorageConnection = z.infer; +/** Post-parse shape of {@link StorageConnection} — defaults applied, transforms run (ADR-0122). */ +export type StorageConnectionParsed = z.infer; /** * Object Storage Configuration @@ -503,6 +515,8 @@ export const ObjectStorageConfigSchema = lazySchema(() => z.object({ })); export type ObjectStorageConfig = z.infer; +/** Post-parse shape of {@link ObjectStorageConfig} — defaults applied, transforms run (ADR-0122). */ +export type ObjectStorageConfigParsed = z.infer; // ============================================================================ // Helper Examples diff --git a/packages/spec/src/system/registry-config.zod.ts b/packages/spec/src/system/registry-config.zod.ts index 2df108da56..4b77d7d83e 100644 --- a/packages/spec/src/system/registry-config.zod.ts +++ b/packages/spec/src/system/registry-config.zod.ts @@ -179,4 +179,8 @@ export const RegistryConfigSchema = lazySchema(() => z.object({ export type RegistrySyncPolicy = z.infer; export type RegistryUpstream = z.infer; +/** Post-parse shape of {@link RegistryUpstream} — defaults applied, transforms run (ADR-0122). */ +export type RegistryUpstreamParsed = z.infer; export type RegistryConfig = z.infer; +/** Post-parse shape of {@link RegistryConfig} — defaults applied, transforms run (ADR-0122). */ +export type RegistryConfigParsed = z.infer; diff --git a/packages/spec/src/system/search-engine.zod.ts b/packages/spec/src/system/search-engine.zod.ts index f5f4d580dc..e0bb5441f9 100644 --- a/packages/spec/src/system/search-engine.zod.ts +++ b/packages/spec/src/system/search-engine.zod.ts @@ -43,6 +43,8 @@ export const SearchIndexConfigSchema = lazySchema(() => z.object({ }).describe('Search index definition mapping an ObjectQL object to a search engine index')); export type SearchIndexConfig = z.infer; +/** Post-parse shape of {@link SearchIndexConfig} — defaults applied, transforms run (ADR-0122). */ +export type SearchIndexConfigParsed = z.infer; export const FacetConfigSchema = lazySchema(() => z.object({ field: z.string().describe('Field name to generate facets from'), @@ -51,6 +53,8 @@ export const FacetConfigSchema = lazySchema(() => z.object({ }).describe('Faceted search configuration for a single field')); export type FacetConfig = z.infer; +/** Post-parse shape of {@link FacetConfig} — defaults applied, transforms run (ADR-0122). */ +export type FacetConfigParsed = z.infer; export const SearchConfigSchema = lazySchema(() => z.object({ provider: SearchProviderSchema.describe('Search engine backend provider'), @@ -63,3 +67,5 @@ export const SearchConfigSchema = lazySchema(() => z.object({ }).describe('Top-level full-text search engine configuration')); export type SearchConfig = z.infer; +/** Post-parse shape of {@link SearchConfig} — defaults applied, transforms run (ADR-0122). */ +export type SearchConfigParsed = z.infer; diff --git a/packages/spec/src/system/security-context.zod.ts b/packages/spec/src/system/security-context.zod.ts index 0e37d9296e..1b33dddcff 100644 --- a/packages/spec/src/system/security-context.zod.ts +++ b/packages/spec/src/system/security-context.zod.ts @@ -65,6 +65,8 @@ export const ComplianceAuditRequirementSchema = lazySchema(() => z.object({ }).describe('Compliance framework audit event requirements')); export type ComplianceAuditRequirement = z.infer; +/** Post-parse shape of {@link ComplianceAuditRequirement} — defaults applied, transforms run (ADR-0122). */ +export type ComplianceAuditRequirementParsed = z.infer; /** * Compliance-driven encryption requirement. @@ -82,6 +84,8 @@ export const ComplianceEncryptionRequirementSchema = lazySchema(() => z.object({ }).describe('Compliance framework encryption requirements')); export type ComplianceEncryptionRequirement = z.infer; +/** Post-parse shape of {@link ComplianceEncryptionRequirement} — defaults applied, transforms run (ADR-0122). */ +export type ComplianceEncryptionRequirementParsed = z.infer; /** * Masking visibility rule. @@ -103,6 +107,8 @@ export const MaskingVisibilityRuleSchema = lazySchema(() => z.object({ }).describe('Masking visibility and audit rule per data classification')); export type MaskingVisibilityRule = z.infer; +/** Post-parse shape of {@link MaskingVisibilityRule} — defaults applied, transforms run (ADR-0122). */ +export type MaskingVisibilityRuleParsed = z.infer; /** * Security Event Correlation Schema. @@ -122,6 +128,8 @@ export const SecurityEventCorrelationSchema = lazySchema(() => z.object({ }).describe('Cross-subsystem security event correlation configuration')); export type SecurityEventCorrelation = z.infer; +/** Post-parse shape of {@link SecurityEventCorrelation} — defaults applied, transforms run (ADR-0122). */ +export type SecurityEventCorrelationParsed = z.infer; /** * Data Classification Policy Schema. @@ -141,6 +149,8 @@ export const DataClassificationPolicySchema = lazySchema(() => z.object({ }).describe('Security policy for a specific data classification level')); export type DataClassificationPolicy = z.infer; +/** Post-parse shape of {@link DataClassificationPolicy} — defaults applied, transforms run (ADR-0122). */ +export type DataClassificationPolicyParsed = z.infer; /** * Security Context Configuration Schema @@ -178,4 +188,6 @@ export const SecurityContextConfigSchema = lazySchema(() => z.object({ }).describe('Unified security context governance configuration')); export type SecurityContextConfig = z.infer; +/** Post-parse shape of {@link SecurityContextConfig} — defaults applied, transforms run (ADR-0122). */ +export type SecurityContextConfigParsed = z.infer; export type SecurityContextConfigInput = z.input; diff --git a/packages/spec/src/system/settings-manifest.zod.ts b/packages/spec/src/system/settings-manifest.zod.ts index 6d256f0b25..003c0970a6 100644 --- a/packages/spec/src/system/settings-manifest.zod.ts +++ b/packages/spec/src/system/settings-manifest.zod.ts @@ -108,6 +108,8 @@ export const SpecifierHandlerSchema = lazySchema(() => z.discriminatedUnion('kin }), ])); export type SpecifierHandler = z.infer; +/** Post-parse shape of {@link SpecifierHandler} — defaults applied, transforms run (ADR-0122). */ +export type SpecifierHandlerParsed = z.infer; /** * Scope of a specifier value. @@ -328,6 +330,8 @@ export const SpecifierSchema = lazySchema(() => z.object({ } })); export type Specifier = z.infer; +/** Post-parse shape of {@link Specifier} — defaults applied, transforms run (ADR-0122). */ +export type SpecifierParsed = z.infer; // --------------------------------------------------------------------------- // Settings manifest (the unit a plugin exports) @@ -442,6 +446,8 @@ export const SettingsManifestSchema = lazySchema(() => z.object({ }); })); export type SettingsManifest = z.infer; +/** Post-parse shape of {@link SettingsManifest} — defaults applied, transforms run (ADR-0122). */ +export type SettingsManifestParsed = z.infer; // --------------------------------------------------------------------------- // Resolved value (returned by SettingsService.get / REST GET) @@ -508,6 +514,8 @@ export const SettingsNamespacePayloadSchema = lazySchema(() => z.object({ values: z.record(z.string(), ResolvedSettingValueSchema).describe('Effective values keyed by specifier.key'), })); export type SettingsNamespacePayload = z.infer; +/** Post-parse shape of {@link SettingsNamespacePayload} — defaults applied, transforms run (ADR-0122). */ +export type SettingsNamespacePayloadParsed = z.infer; /** * Action result returned by `POST /api/settings/:namespace/:actionId`. diff --git a/packages/spec/src/system/stack-server.zod.ts b/packages/spec/src/system/stack-server.zod.ts index 9623b7c687..21a2c59df1 100644 --- a/packages/spec/src/system/stack-server.zod.ts +++ b/packages/spec/src/system/stack-server.zod.ts @@ -132,6 +132,8 @@ export const ServerRateLimitConfigSchema = lazySchema(() => strictObject( })); export type ServerRateLimitConfig = z.infer; +/** Post-parse shape of {@link ServerRateLimitConfig} — defaults applied, transforms run (ADR-0122). */ +export type ServerRateLimitConfigParsed = z.infer; /** * `server.security` — security configuration consumed by the inbound seam. @@ -168,6 +170,8 @@ export const StackServerSecuritySchema = lazySchema(() => strictObject( )); export type StackServerSecurity = z.infer; +/** Post-parse shape of {@link StackServerSecurity} — defaults applied, transforms run (ADR-0122). */ +export type StackServerSecurityParsed = z.infer; /** * The `server:` block of a stack definition. @@ -229,4 +233,6 @@ export const StackServerConfigSchema = lazySchema(() => strictObject( )); export type StackServerConfig = z.infer; +/** Post-parse shape of {@link StackServerConfig} — defaults applied, transforms run (ADR-0122). */ +export type StackServerConfigParsed = z.infer; export type StackServerConfigInput = z.input; diff --git a/packages/spec/src/system/supplier-security.zod.ts b/packages/spec/src/system/supplier-security.zod.ts index 088f4043c7..de9b7661bf 100644 --- a/packages/spec/src/system/supplier-security.zod.ts +++ b/packages/spec/src/system/supplier-security.zod.ts @@ -82,6 +82,8 @@ export const SupplierSecurityRequirementSchema = lazySchema(() => z.object({ }).describe('Individual supplier security requirement')); export type SupplierSecurityRequirement = z.infer; +/** Post-parse shape of {@link SupplierSecurityRequirement} — defaults applied, transforms run (ADR-0122). */ +export type SupplierSecurityRequirementParsed = z.infer; /** * Supplier Security Assessment Schema @@ -242,4 +244,8 @@ export const SupplierSecurityPolicySchema = lazySchema(() => z.object({ export type SupplierRiskLevel = z.infer; export type SupplierAssessmentStatus = z.infer; export type SupplierSecurityAssessment = z.infer; +/** Post-parse shape of {@link SupplierSecurityAssessment} — defaults applied, transforms run (ADR-0122). */ +export type SupplierSecurityAssessmentParsed = z.infer; export type SupplierSecurityPolicy = z.infer; +/** Post-parse shape of {@link SupplierSecurityPolicy} — defaults applied, transforms run (ADR-0122). */ +export type SupplierSecurityPolicyParsed = z.infer; diff --git a/packages/spec/src/system/tenant.zod.ts b/packages/spec/src/system/tenant.zod.ts index fdf33c93ec..a8d6ba895d 100644 --- a/packages/spec/src/system/tenant.zod.ts +++ b/packages/spec/src/system/tenant.zod.ts @@ -120,6 +120,8 @@ export const TenantUsageSchema = lazySchema(() => z.object({ }).describe('Current tenant resource usage')); export type TenantUsage = z.infer; +/** Post-parse shape of {@link TenantUsage} — defaults applied, transforms run (ADR-0122). */ +export type TenantUsageParsed = z.infer; /** * Quota Enforcement Result @@ -326,6 +328,8 @@ export const RowLevelIsolationStrategySchema = lazySchema(() => z.object({ })); export type RowLevelIsolationStrategy = z.infer; +/** Post-parse shape of {@link RowLevelIsolationStrategy} — defaults applied, transforms run (ADR-0122). */ +export type RowLevelIsolationStrategyParsed = z.infer; export type RowLevelIsolationStrategyInput = z.input; /** @@ -444,6 +448,8 @@ export const SchemaLevelIsolationStrategySchema = lazySchema(() => z.object({ })); export type SchemaLevelIsolationStrategy = z.infer; +/** Post-parse shape of {@link SchemaLevelIsolationStrategy} — defaults applied, transforms run (ADR-0122). */ +export type SchemaLevelIsolationStrategyParsed = z.infer; export type SchemaLevelIsolationStrategyInput = z.input; /** @@ -599,6 +605,8 @@ export const DatabaseLevelIsolationStrategySchema = lazySchema(() => z.object({ })); export type DatabaseLevelIsolationStrategy = z.infer; +/** Post-parse shape of {@link DatabaseLevelIsolationStrategy} — defaults applied, transforms run (ADR-0122). */ +export type DatabaseLevelIsolationStrategyParsed = z.infer; export type DatabaseLevelIsolationStrategyInput = z.input; /** @@ -614,6 +622,8 @@ export const TenantIsolationConfigSchema = lazySchema(() => z.discriminatedUnion ])); export type TenantIsolationConfig = z.infer; +/** Post-parse shape of {@link TenantIsolationConfig} — defaults applied, transforms run (ADR-0122). */ +export type TenantIsolationConfigParsed = z.infer; /** * Tenant Security Policy Schema @@ -709,4 +719,6 @@ export const TenantSecurityPolicySchema = lazySchema(() => z.object({ })); export type TenantSecurityPolicy = z.infer; +/** Post-parse shape of {@link TenantSecurityPolicy} — defaults applied, transforms run (ADR-0122). */ +export type TenantSecurityPolicyParsed = z.infer; export type TenantSecurityPolicyInput = z.input; diff --git a/packages/spec/src/system/tracing.zod.ts b/packages/spec/src/system/tracing.zod.ts index ed8d2c9949..d0a16335fa 100644 --- a/packages/spec/src/system/tracing.zod.ts +++ b/packages/spec/src/system/tracing.zod.ts @@ -85,6 +85,8 @@ export const TraceContextSchema = lazySchema(() => z.object({ }).describe('Trace context (W3C Trace Context)')); export type TraceContext = z.infer; +/** Post-parse shape of {@link TraceContext} — defaults applied, transforms run (ADR-0122). */ +export type TraceContextParsed = z.infer; /** * Span Kind Enum @@ -173,6 +175,8 @@ export const SpanLinkSchema = lazySchema(() => z.object({ }).describe('Span link')); export type SpanLink = z.infer; +/** Post-parse shape of {@link SpanLink} — defaults applied, transforms run (ADR-0122). */ +export type SpanLinkParsed = z.infer; /** * Span Schema @@ -247,6 +251,8 @@ export const SpanSchema = lazySchema(() => z.object({ }).describe('OpenTelemetry span')); export type Span = z.infer; +/** Post-parse shape of {@link Span} — defaults applied, transforms run (ADR-0122). */ +export type SpanParsed = z.infer; /** * Sampling Decision Enum @@ -378,6 +384,8 @@ export const TraceSamplingConfigSchema = lazySchema(() => z.object({ }).describe('Trace sampling configuration')); export type TraceSamplingConfig = z.infer; +/** Post-parse shape of {@link TraceSamplingConfig} — defaults applied, transforms run (ADR-0122). */ +export type TraceSamplingConfigParsed = z.infer; /** * Trace Context Propagation Format Enum @@ -460,6 +468,8 @@ export const TraceContextPropagationSchema = lazySchema(() => z.object({ }).describe('Trace context propagation')); export type TraceContextPropagation = z.infer; +/** Post-parse shape of {@link TraceContextPropagation} — defaults applied, transforms run (ADR-0122). */ +export type TraceContextPropagationParsed = z.infer; /** * OpenTelemetry Exporter Type Enum @@ -610,6 +620,8 @@ export const OpenTelemetryCompatibilitySchema = lazySchema(() => z.object({ }).describe('OpenTelemetry compatibility configuration')); export type OpenTelemetryCompatibility = z.infer; +/** Post-parse shape of {@link OpenTelemetryCompatibility} — defaults applied, transforms run (ADR-0122). */ +export type OpenTelemetryCompatibilityParsed = z.infer; /** * Tracing Configuration Schema @@ -700,3 +712,5 @@ export const TracingConfigSchema = lazySchema(() => z.object({ }).describe('Tracing configuration')); export type TracingConfig = z.infer; +/** Post-parse shape of {@link TracingConfig} — defaults applied, transforms run (ADR-0122). */ +export type TracingConfigParsed = z.infer; diff --git a/packages/spec/src/system/training.zod.ts b/packages/spec/src/system/training.zod.ts index bf33ad6626..68b5260c43 100644 --- a/packages/spec/src/system/training.zod.ts +++ b/packages/spec/src/system/training.zod.ts @@ -213,5 +213,9 @@ export const TrainingPlanSchema = lazySchema(() => z.object({ export type TrainingCategory = z.infer; export type TrainingCompletionStatus = z.infer; export type TrainingCourse = z.infer; +/** Post-parse shape of {@link TrainingCourse} — defaults applied, transforms run (ADR-0122). */ +export type TrainingCourseParsed = z.infer; export type TrainingRecord = z.infer; export type TrainingPlan = z.infer; +/** Post-parse shape of {@link TrainingPlan} — defaults applied, transforms run (ADR-0122). */ +export type TrainingPlanParsed = z.infer; diff --git a/packages/spec/src/system/worker.zod.ts b/packages/spec/src/system/worker.zod.ts index a4a4ea1dca..51948ab396 100644 --- a/packages/spec/src/system/worker.zod.ts +++ b/packages/spec/src/system/worker.zod.ts @@ -101,6 +101,8 @@ export const TaskRetryPolicySchema = lazySchema(() => z.object({ })); export type TaskRetryPolicy = z.infer; +/** Post-parse shape of {@link TaskRetryPolicy} — defaults applied, transforms run (ADR-0122). */ +export type TaskRetryPolicyParsed = z.infer; export type TaskRetryPolicyInput = z.input; /** @@ -183,6 +185,8 @@ export const TaskSchema = lazySchema(() => z.object({ })); export type Task = z.infer; +/** Post-parse shape of {@link Task} — defaults applied, transforms run (ADR-0122). */ +export type TaskParsed = z.infer; export type TaskInput = z.input; // ========================================== @@ -303,6 +307,8 @@ export const QueueConfigSchema = lazySchema(() => z.object({ })); export type QueueConfig = z.infer; +/** Post-parse shape of {@link QueueConfig} — defaults applied, transforms run (ADR-0122). */ +export type QueueConfigParsed = z.infer; export type QueueConfigInput = z.input; // ========================================== @@ -384,6 +390,8 @@ export const BatchTaskSchema = lazySchema(() => z.object({ })); export type BatchTask = z.infer; +/** Post-parse shape of {@link BatchTask} — defaults applied, transforms run (ADR-0122). */ +export type BatchTaskParsed = z.infer; export type BatchTaskInput = z.input; /** @@ -434,6 +442,8 @@ export const BatchProgressSchema = lazySchema(() => z.object({ })); export type BatchProgress = z.infer; +/** Post-parse shape of {@link BatchProgress} — defaults applied, transforms run (ADR-0122). */ +export type BatchProgressParsed = z.infer; export type BatchProgressInput = z.input; // ========================================== @@ -489,6 +499,8 @@ export const WorkerConfigSchema = lazySchema(() => z.object({ })); export type WorkerConfig = z.infer; +/** Post-parse shape of {@link WorkerConfig} — defaults applied, transforms run (ADR-0122). */ +export type WorkerConfigParsed = z.infer; export type WorkerConfigInput = z.input; // ========================================== diff --git a/packages/spec/src/type-alias-convention.pin.test.ts b/packages/spec/src/type-alias-convention.pin.test.ts new file mode 100644 index 0000000000..c5574ec94c --- /dev/null +++ b/packages/spec/src/type-alias-convention.pin.test.ts @@ -0,0 +1,1385 @@ +// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. +// +// ADR-0122 phase-1 pin — the aliases that deliberately carry NO `XParsed`. +// +// ## What this file is +// +// ADR-0122 makes `XParsed` the name of a schema's PARSED state, and phase 1 +// declares one for every bare `X = z.infer` alias whose schema +// actually HAS two shapes (`z.input` differs from `z.infer`). The complement — +// aliases where the two coincide, so the phase-2 flip of the bare name changes +// nothing observable — deliberately gets no `XParsed`, because a permanent +// synonym is a name an author can only pick wrongly. +// +// "Deliberately" is the word that needs teeth. Isomorphism is not a property +// anyone declared; it is a fact about the schema tree, and it ROTS: the day a +// nested field gains a `.default()`, `.transform()`, `.catch()` or `.pipe()`, +// its alias silently joins the shape-diff set and phase 2 would break it with +// no migration target — the exact silent failure phase 1 exists to prevent. +// +// So the complement is pinned rather than merely documented. Each line below +// asserts `z.input === z.infer` for one schema. Add a default anywhere in its +// tree and this file goes RED with the alias named, and the fix is the one the +// ADR prescribes: declare `XParsed` next to the bare alias and delete the pin +// line. The list can therefore only shrink, and it shrinks for the right +// reason. +// +// ## It is also the gate's registry +// +// `scripts/check-spec-parsed-alias.mjs` reads THIS file to decide which bare +// aliases are allowed to have no `XParsed`. One artifact, two jobs: the gate +// gets a machine-readable exemption list, and tsc proves every entry on it is +// true. An exemption nobody can state falsely is the only kind worth having. +// +// Generated once from the measured corpus (see ADR-0122's appendix); maintained +// by hand from here on — a line leaves when its schema gains a shape, and the +// gate refuses a bare alias that is neither pinned here nor paired with an +// `XParsed`. + +import { describe, expect, it } from 'vitest'; +import { z } from 'zod'; + +// The spot-check imports use this directory's extensionless style (every +// sibling `*.test.ts` does). The bulk `import type * as Mn` lines below carry a +// `.js` extension deliberately: they are erased at runtime, and the explicit +// extension is what lets `scripts/check-spec-parsed-alias.mjs` read this file +// as its exemption registry without guessing at module specifiers. +import { RetryPolicySchema } from './shared/retry-policy.zod'; +import type { RetryPolicy, RetryPolicyParsed } from './shared/retry-policy.zod'; +import { + ConnectorSchema, + DataSyncConfigSchema, +} from './integration/connector.zod'; +import type { + Connector, + ConnectorParsed, + DataSyncConfig, + DataSyncConfigParsed, +} from './integration/connector.zod'; +import { ViewFilterRuleSchema, ViewSchema } from './ui/view.zod'; +import type { View, ViewFilterRule, ViewFilterRuleParsed, ViewParsed } from './ui/view.zod'; +import { ObjectFieldGroupSchema } from './data/object.zod'; +import type { ObjectFieldGroup, ObjectFieldGroupParsed } from './data/object.zod'; + +/** Type-level identity: true iff A and B are the same type. */ +type Eq = (() => T extends A ? 1 : 2) extends (() => T extends B ? 1 : 2) + ? true + : false; +/** Compile error when the argument is not `true`. */ +type Assert = T; + +import type * as M0 from './ai/agent.zod.js'; +import type * as M1 from './ai/conversation.zod.js'; +import type * as M2 from './ai/embedding.zod.js'; +import type * as M3 from './ai/knowledge-document.zod.js'; +import type * as M4 from './ai/knowledge-source.zod.js'; +import type * as M5 from './ai/mcp.zod.js'; +import type * as M6 from './ai/model-registry.zod.js'; +import type * as M7 from './ai/skill.zod.js'; +import type * as M8 from './ai/solution-blueprint.zod.js'; +import type * as M9 from './ai/tool.zod.js'; +import type * as M10 from './ai/usage.zod.js'; +import type * as M11 from './api/analytics.zod.js'; +import type * as M12 from './api/auth-endpoints.zod.js'; +import type * as M13 from './api/auth.zod.js'; +import type * as M14 from './api/automation-api.zod.js'; +import type * as M15 from './api/batch.zod.js'; +import type * as M16 from './api/contract.zod.js'; +import type * as M17 from './api/discovery.zod.js'; +import type * as M18 from './api/dispatcher.zod.js'; +import type * as M19 from './api/documentation.zod.js'; +import type * as M20 from './api/errors.zod.js'; +import type * as M21 from './api/events.zod.js'; +import type * as M22 from './api/export.zod.js'; +import type * as M23 from './api/http-cache.zod.js'; +import type * as M24 from './api/metadata.zod.js'; +import type * as M25 from './api/odata.zod.js'; +import type * as M26 from './api/package-api.zod.js'; +import type * as M27 from './api/plugin-rest-api.zod.js'; +import type * as M28 from './api/protocol.zod.js'; +import type * as M29 from './api/query-adapter.zod.js'; +import type * as M30 from './api/realtime-shared.zod.js'; +import type * as M31 from './api/realtime.zod.js'; +import type * as M32 from './api/rest-server.zod.js'; +import type * as M33 from './api/router.zod.js'; +import type * as M34 from './api/storage.zod.js'; +import type * as M35 from './api/versioning.zod.js'; +import type * as M36 from './api/websocket.zod.js'; +import type * as M37 from './automation/approval.zod.js'; +import type * as M38 from './automation/bpmn-interop.zod.js'; +import type * as M39 from './automation/execution.zod.js'; +import type * as M40 from './automation/flow-function.zod.js'; +import type * as M41 from './automation/node-executor.zod.js'; +import type * as M42 from './automation/state-machine.zod.js'; +import type * as M43 from './automation/time-relative-trigger.zod.js'; +import type * as M44 from './automation/webhook.zod.js'; +import type * as M45 from './cloud/app-store.zod.js'; +import type * as M46 from './cloud/developer-portal.zod.js'; +import type * as M47 from './cloud/environment-package.zod.js'; +import type * as M48 from './cloud/environment.zod.js'; +import type * as M49 from './cloud/marketplace-admin.zod.js'; +import type * as M50 from './cloud/marketplace.zod.js'; +import type * as M51 from './cloud/package-version.zod.js'; +import type * as M52 from './cloud/package.zod.js'; +import type * as M53 from './cloud/template-manifest.zod.js'; +import type * as M54 from './cloud/tenant.zod.js'; +import type * as M55 from './data/analytics.zod.js'; +import type * as M56 from './data/data-engine.zod.js'; +import type * as M57 from './data/datasource.zod.js'; +import type * as M58 from './data/driver-nosql.zod.js'; +import type * as M59 from './data/driver-sql.zod.js'; +import type * as M60 from './data/driver.zod.js'; +import type * as M61 from './data/driver/common.zod.js'; +import type * as M62 from './data/driver/memory.zod.js'; +import type * as M63 from './data/driver/sqlite.zod.js'; +import type * as M64 from './data/external-lookup.zod.js'; +import type * as M65 from './data/feed.zod.js'; +import type * as M66 from './data/field.zod.js'; +import type * as M67 from './data/filter.zod.js'; +import type * as M68 from './data/hook-body.zod.js'; +import type * as M69 from './data/hook.zod.js'; +import type * as M70 from './data/object.zod.js'; +import type * as M71 from './data/query.zod.js'; +import type * as M72 from './data/seed-loader.zod.js'; +import type * as M73 from './data/seed.zod.js'; +import type * as M74 from './data/validation.zod.js'; +import type * as M75 from './identity/identity.zod.js'; +import type * as M76 from './identity/organization.zod.js'; +import type * as M77 from './identity/scim.zod.js'; +import type * as M78 from './integration/connector.zod.js'; +import type * as M79 from './kernel/cli-extension.zod.js'; +import type * as M80 from './kernel/cluster.zod.js'; +import type * as M81 from './kernel/context.zod.js'; +import type * as M82 from './kernel/dependency-resolution.zod.js'; +import type * as M83 from './kernel/events/core.zod.js'; +import type * as M84 from './kernel/events/handlers.zod.js'; +import type * as M85 from './kernel/manifest.zod.js'; +import type * as M86 from './kernel/metadata-customization.zod.js'; +import type * as M87 from './kernel/metadata-loader.zod.js'; +import type * as M88 from './kernel/metadata-plugin.zod.js'; +import type * as M89 from './kernel/metadata-protection.zod.js'; +import type * as M90 from './kernel/package-artifact.zod.js'; +import type * as M91 from './kernel/package-registry.zod.js'; +import type * as M92 from './kernel/package-upgrade.zod.js'; +import type * as M93 from './kernel/plugin-capability.zod.js'; +import type * as M94 from './kernel/plugin-lifecycle-advanced.zod.js'; +import type * as M95 from './kernel/plugin-loading.zod.js'; +import type * as M96 from './kernel/plugin-registry.zod.js'; +import type * as M97 from './kernel/plugin-security-advanced.zod.js'; +import type * as M98 from './kernel/plugin-security.zod.js'; +import type * as M99 from './kernel/plugin-structure.zod.js'; +import type * as M100 from './kernel/plugin-validator.zod.js'; +import type * as M101 from './kernel/plugin-versioning.zod.js'; +import type * as M102 from './kernel/plugin.zod.js'; +import type * as M103 from './kernel/service-registry.zod.js'; +import type * as M104 from './kernel/startup-orchestrator.zod.js'; +import type * as M105 from './qa/testing.zod.js'; +import type * as M106 from './security/explain.zod.js'; +import type * as M107 from './security/permission.zod.js'; +import type * as M108 from './security/rls.zod.js'; +import type * as M109 from './shared/connector-auth.zod.js'; +import type * as M110 from './shared/enums.zod.js'; +import type * as M111 from './shared/expression.zod.js'; +import type * as M112 from './shared/http.zod.js'; +import type * as M113 from './shared/identifiers.zod.js'; +import type * as M114 from './shared/metadata-types.zod.js'; +import type * as M115 from './shared/protection.zod.js'; +import type * as M116 from './stack.zod.js'; +import type * as M117 from './studio/flow-builder.zod.js'; +import type * as M118 from './studio/object-designer.zod.js'; +import type * as M119 from './studio/plugin.zod.js'; +import type * as M120 from './system/auth-config.zod.js'; +import type * as M121 from './system/cache.zod.js'; +import type * as M122 from './system/change-management.zod.js'; +import type * as M123 from './system/collaboration.zod.js'; +import type * as M124 from './system/core-services.zod.js'; +import type * as M125 from './system/deploy-bundle.zod.js'; +import type * as M126 from './system/disaster-recovery.zod.js'; +import type * as M127 from './system/doc.zod.js'; +import type * as M128 from './system/email-config.zod.js'; +import type * as M129 from './system/email-template.zod.js'; +import type * as M130 from './system/encryption.zod.js'; +import type * as M131 from './system/environment-artifact.zod.js'; +import type * as M132 from './system/http-server.zod.js'; +import type * as M133 from './system/incident-response.zod.js'; +import type * as M134 from './system/job.zod.js'; +import type * as M135 from './system/license.zod.js'; +import type * as M136 from './system/logging.zod.js'; +import type * as M137 from './system/message-queue.zod.js'; +import type * as M138 from './system/metadata-persistence.zod.js'; +import type * as M139 from './system/metrics.zod.js'; +import type * as M140 from './system/migration.zod.js'; +import type * as M141 from './system/notification.zod.js'; +import type * as M142 from './system/object-storage.zod.js'; +import type * as M143 from './system/registry-config.zod.js'; +import type * as M144 from './system/search-engine.zod.js'; +import type * as M145 from './system/security-context.zod.js'; +import type * as M146 from './system/settings-client.zod.js'; +import type * as M147 from './system/settings-manifest.zod.js'; +import type * as M148 from './system/supplier-security.zod.js'; +import type * as M149 from './system/tenant.zod.js'; +import type * as M150 from './system/tracing.zod.js'; +import type * as M151 from './system/training.zod.js'; +import type * as M152 from './system/translation.zod.js'; +import type * as M153 from './system/worker.zod.js'; +import type * as M154 from './ui/action-params.zod.js'; +import type * as M155 from './ui/action.zod.js'; +import type * as M156 from './ui/app.zod.js'; +import type * as M157 from './ui/bulk-action.zod.js'; +import type * as M158 from './ui/chart.zod.js'; +import type * as M159 from './ui/dashboard.zod.js'; +import type * as M160 from './ui/dataset.zod.js'; +import type * as M161 from './ui/i18n.zod.js'; +import type * as M162 from './ui/notification.zod.js'; +import type * as M163 from './ui/page.zod.js'; +import type * as M164 from './ui/report.zod.js'; +import type * as M165 from './ui/responsive.zod.js'; +import type * as M166 from './ui/theme.zod.js'; +import type * as M167 from './ui/view.zod.js'; +import type * as M168 from './ui/widget.zod.js'; + +// --------------------------------------------------------------------------- +// 717 isomorphic aliases: `z.input` === `z.infer`, so no `XParsed` is declared. +// --------------------------------------------------------------------------- + +// ai/agent.zod.ts +export type Iso0 = Assert, z.infer< typeof M0.StructuredOutputFormatSchema > >>; +export type Iso1 = Assert, z.infer< typeof M0.TransformPipelineStepSchema > >>; + +// ai/conversation.zod.ts +export type Iso2 = Assert, z.infer< typeof M1.MessageRoleSchema > >>; +export type Iso3 = Assert, z.infer< typeof M1.MessageContentTypeSchema > >>; +export type Iso4 = Assert, z.infer< typeof M1.FunctionCallSchema > >>; +export type Iso5 = Assert, z.infer< typeof M1.TokenBudgetStrategySchema > >>; +export type Iso6 = Assert, z.infer< typeof M1.ConversationContextSchema > >>; +export type Iso7 = Assert, z.infer< typeof M1.ConversationSummarySchema > >>; +export type Iso8 = Assert, z.infer< typeof M1.MessagePruningEventSchema > >>; + +// ai/embedding.zod.ts +export type Iso9 = Assert, z.infer< typeof M2.VectorStoreProviderSchema > >>; +export type Iso10 = Assert, z.infer< typeof M2.EmbeddingModelSchema > >>; +export type Iso11 = Assert, z.infer< typeof M2.VectorStoreSchema > >>; + +// ai/knowledge-document.zod.ts +export type Iso12 = Assert, z.infer< typeof M3.KnowledgeDocumentSchema > >>; +export type Iso13 = Assert, z.infer< typeof M3.KnowledgeChunkSchema > >>; +export type Iso14 = Assert, z.infer< typeof M3.KnowledgeHitSchema > >>; + +// ai/knowledge-source.zod.ts +export type Iso15 = Assert, z.infer< typeof M4.KnowledgeRefreshPolicySchema > >>; +export type Iso16 = Assert, z.infer< typeof M4.ObjectKnowledgeSourceSchema > >>; +export type Iso17 = Assert, z.infer< typeof M4.FileKnowledgeSourceSchema > >>; +export type Iso18 = Assert, z.infer< typeof M4.HttpKnowledgeSourceSchema > >>; +export type Iso19 = Assert, z.infer< typeof M4.KnowledgeSourceKindSchema > >>; +export type Iso20 = Assert, z.infer< typeof M4.KnowledgeSourceSchema > >>; + +// ai/mcp.zod.ts +export type Iso21 = Assert, z.infer< typeof M5.MCPTransportSchema > >>; +export type Iso22 = Assert, z.infer< typeof M5.MCPApprovalPolicySchema > >>; + +// ai/model-registry.zod.ts +export type Iso23 = Assert, z.infer< typeof M6.ModelProviderSchema > >>; +export type Iso24 = Assert, z.infer< typeof M6.ModelLimitsSchema > >>; + +// ai/skill.zod.ts +export type Iso25 = Assert, z.infer< typeof M7.SkillTriggerConditionSchema > >>; + +// ai/solution-blueprint.zod.ts +export type Iso26 = Assert, z.infer< typeof M8.BlueprintConditionSchema > >>; +export type Iso27 = Assert, z.infer< typeof M8.BlueprintSummaryOperationsSchema > >>; +export type Iso28 = Assert, z.infer< typeof M8.BlueprintFieldSchema > >>; +export type Iso29 = Assert, z.infer< typeof M8.BlueprintObjectSchema > >>; +export type Iso30 = Assert, z.infer< typeof M8.BlueprintWidgetConditionSchema > >>; +export type Iso31 = Assert, z.infer< typeof M8.BlueprintDashboardSchema > >>; +export type Iso32 = Assert, z.infer< typeof M8.BlueprintSeedSchema > >>; +export type Iso33 = Assert, z.infer< typeof M8.SolutionBlueprintStrictSchema > >>; + +// ai/tool.zod.ts +export type Iso34 = Assert, z.infer< typeof M9.ToolSchema > >>; + +// ai/usage.zod.ts +export type Iso35 = Assert, z.infer< typeof M10.TokenUsageSchema > >>; +export type Iso36 = Assert, z.infer< typeof M10.AIUsageRecordSchema > >>; + +// api/analytics.zod.ts +export type Iso37 = Assert, z.infer< typeof M11.AnalyticsEndpoint > >>; +export type Iso38 = Assert, z.infer< typeof M11.AnalyticsQueryRequestSchema > >>; + +// api/auth-endpoints.zod.ts +export type Iso39 = Assert, z.infer< typeof M12.AuthEndpointSchema > >>; +export type Iso40 = Assert, z.infer< typeof M12.EmailPasswordConfigPublicSchema > >>; +export type Iso41 = Assert, z.infer< typeof M12.DeviceTokenResponseSchema > >>; + +// api/auth.zod.ts +export type Iso42 = Assert, z.infer< typeof M13.AuthProvider > >>; +export type Iso43 = Assert, z.infer< typeof M13.SessionSchema > >>; +export type Iso44 = Assert, z.infer< typeof M13.LoginType > >>; +export type Iso45 = Assert, z.infer< typeof M13.RegisterRequestSchema > >>; +export type Iso46 = Assert, z.infer< typeof M13.RefreshTokenRequestSchema > >>; + +// api/automation-api.zod.ts +export type Iso47 = Assert, z.infer< typeof M14.AutomationFlowPathParamsSchema > >>; +export type Iso48 = Assert, z.infer< typeof M14.AutomationRunPathParamsSchema > >>; +export type Iso49 = Assert, z.infer< typeof M14.FlowSummarySchema > >>; +export type Iso50 = Assert, z.infer< typeof M14.GetFlowRequestSchema > >>; +export type Iso51 = Assert, z.infer< typeof M14.DeleteFlowRequestSchema > >>; +export type Iso52 = Assert, z.infer< typeof M14.TriggerFlowRequestSchema > >>; +export type Iso53 = Assert, z.infer< typeof M14.ToggleFlowRequestSchema > >>; +export type Iso54 = Assert, z.infer< typeof M14.GetRunRequestSchema > >>; +export type Iso55 = Assert, z.infer< typeof M14.AutomationApiErrorCode > >>; + +// api/batch.zod.ts +export type Iso56 = Assert, z.infer< typeof M15.BatchOperationType > >>; +export type Iso57 = Assert, z.infer< typeof M15.BatchRecordSchema > >>; +export type Iso58 = Assert, z.infer< typeof M15.UpdateManyRecordSchema > >>; +export type Iso59 = Assert, z.infer< typeof M15.CrossObjectBatchDroppedFieldsSchema > >>; +export type Iso60 = Assert, z.infer< typeof M15.CrossObjectBatchResponseSchema > >>; + +// api/contract.zod.ts +export type Iso61 = Assert, z.infer< typeof M16.RecordDataSchema > >>; +export type Iso62 = Assert, z.infer< typeof M16.CreateRequestSchema > >>; +export type Iso63 = Assert, z.infer< typeof M16.UpdateRequestSchema > >>; +export type Iso64 = Assert, z.infer< typeof M16.IdRequestSchema > >>; + +// api/discovery.zod.ts +export type Iso65 = Assert, z.infer< typeof M17.ServiceStatus > >>; +export type Iso66 = Assert, z.infer< typeof M17.ServiceSelfInfoSchema > >>; +export type Iso67 = Assert, z.infer< typeof M17.DiscoveryEnvironmentSchema > >>; +export type Iso68 = Assert, z.infer< typeof M17.WellKnownCapabilitiesSchema > >>; +export type Iso69 = Assert, z.infer< typeof M17.CapabilityDescriptorSchema > >>; +export type Iso70 = Assert, z.infer< typeof M17.DiscoverySchema > >>; +export type Iso71 = Assert, z.infer< typeof M17.ApiRoutesSchema > >>; +export type Iso72 = Assert, z.infer< typeof M17.ServiceInfoSchema > >>; +export type Iso73 = Assert, z.infer< typeof M17.RouteHealthEntrySchema > >>; +export type Iso74 = Assert, z.infer< typeof M17.RouteHealthReportSchema > >>; + +// api/dispatcher.zod.ts +export type Iso75 = Assert, z.infer< typeof M18.DispatcherErrorCode > >>; +export type Iso76 = Assert, z.infer< typeof M18.DispatcherErrorResponseSchema > >>; + +// api/documentation.zod.ts +export type Iso77 = Assert, z.infer< typeof M19.OpenApiServerSchema > >>; +export type Iso78 = Assert, z.infer< typeof M19.OpenApiSecuritySchemeSchema > >>; +export type Iso79 = Assert, z.infer< typeof M19.ApiTestingUiType > >>; +export type Iso80 = Assert, z.infer< typeof M19.CodeGenerationTemplateSchema > >>; + +// api/errors.zod.ts +export type Iso81 = Assert, z.infer< typeof M20.ErrorCategory > >>; +export type Iso82 = Assert, z.infer< typeof M20.StandardErrorCode > >>; +export type Iso83 = Assert, z.infer< typeof M20.RetryStrategy > >>; +export type Iso84 = Assert, z.infer< typeof M20.FieldErrorCode > >>; +export type Iso85 = Assert, z.infer< typeof M20.FieldErrorSchema > >>; + +// api/events.zod.ts +export type Iso86 = Assert, z.infer< typeof M21.MetadataEventType > >>; +export type Iso87 = Assert, z.infer< typeof M21.DataEventType > >>; +export type Iso88 = Assert, z.infer< typeof M21.BulkDataEventType > >>; +export type Iso89 = Assert, z.infer< typeof M21.MetadataEventSchema > >>; +export type Iso90 = Assert, z.infer< typeof M21.DataEventSchema > >>; +export type Iso91 = Assert, z.infer< typeof M21.BulkDataEventSchema > >>; + +// api/export.zod.ts +export type Iso92 = Assert, z.infer< typeof M22.ExportFormat > >>; +export type Iso93 = Assert, z.infer< typeof M22.ExportJobStatus > >>; +export type Iso94 = Assert, z.infer< typeof M22.ImportValidationMode > >>; +export type Iso95 = Assert, z.infer< typeof M22.DeduplicationStrategy > >>; +export type Iso96 = Assert, z.infer< typeof M22.ImportWriteMode > >>; +export type Iso97 = Assert, z.infer< typeof M22.ImportRowResultSchema > >>; +export type Iso98 = Assert, z.infer< typeof M22.ImportResponseSchema > >>; +export type Iso99 = Assert, z.infer< typeof M22.ImportJobStatus > >>; +export type Iso100 = Assert, z.infer< typeof M22.CreateImportJobResponseSchema > >>; +export type Iso101 = Assert, z.infer< typeof M22.ImportJobProgressSchema > >>; +export type Iso102 = Assert, z.infer< typeof M22.ImportJobResultsSchema > >>; +export type Iso103 = Assert, z.infer< typeof M22.ImportJobSummarySchema > >>; +export type Iso104 = Assert, z.infer< typeof M22.ListImportJobsResponseSchema > >>; +export type Iso105 = Assert, z.infer< typeof M22.UndoImportJobResponseSchema > >>; +export type Iso106 = Assert, z.infer< typeof M22.GetExportJobDownloadRequestSchema > >>; +export type Iso107 = Assert, z.infer< typeof M22.ExportJobSummarySchema > >>; + +// api/http-cache.zod.ts +export type Iso108 = Assert, z.infer< typeof M23.CacheDirective > >>; +export type Iso109 = Assert, z.infer< typeof M23.CacheControlSchema > >>; +export type Iso110 = Assert, z.infer< typeof M23.MetadataCacheRequestSchema > >>; +export type Iso111 = Assert, z.infer< typeof M23.CacheInvalidationTarget > >>; +export type Iso112 = Assert, z.infer< typeof M23.CacheInvalidationResponseSchema > >>; + +// api/metadata.zod.ts +export type Iso113 = Assert, z.infer< typeof M24.MetadataRegisterRequestSchema > >>; + +// api/odata.zod.ts +export type Iso114 = Assert, z.infer< typeof M25.ODataQuerySchema > >>; +export type Iso115 = Assert, z.infer< typeof M25.ODataFilterFunctionSchema > >>; +export type Iso116 = Assert, z.infer< typeof M25.ODataResponseSchema > >>; +export type Iso117 = Assert, z.infer< typeof M25.ODataErrorSchema > >>; + +// api/package-api.zod.ts +export type Iso118 = Assert, z.infer< typeof M26.PackagePathParamsSchema > >>; +export type Iso119 = Assert, z.infer< typeof M26.GetInstalledPackageRequestSchema > >>; +export type Iso120 = Assert, z.infer< typeof M26.UninstallPackageApiRequestSchema > >>; +export type Iso121 = Assert, z.infer< typeof M26.PackageApiErrorCode > >>; + +// api/plugin-rest-api.zod.ts +export type Iso122 = Assert, z.infer< typeof M27.RestApiRouteCategory > >>; +export type Iso123 = Assert, z.infer< typeof M27.HandlerStatusSchema > >>; +export type Iso124 = Assert, z.infer< typeof M27.ValidationMode > >>; +export type Iso125 = Assert, z.infer< typeof M27.RouteCoverageEntrySchema > >>; +export type Iso126 = Assert, z.infer< typeof M27.RouteCoverageReportSchema > >>; + +// api/protocol.zod.ts +export type Iso127 = Assert, z.infer< typeof M28.GetDiscoveryRequestSchema > >>; +export type Iso128 = Assert, z.infer< typeof M28.GetDiscoveryResponseSchema > >>; +export type Iso129 = Assert, z.infer< typeof M28.GetMetaTypesRequestSchema > >>; +export type Iso130 = Assert, z.infer< typeof M28.GetMetaTypesResponseSchema > >>; +export type Iso131 = Assert, z.infer< typeof M28.GetMetaItemsRequestSchema > >>; +export type Iso132 = Assert, z.infer< typeof M28.GetMetaItemsResponseSchema > >>; +export type Iso133 = Assert, z.infer< typeof M28.GetMetaItemRequestSchema > >>; +export type Iso134 = Assert, z.infer< typeof M28.GetMetaItemResponseSchema > >>; +export type Iso135 = Assert, z.infer< typeof M28.SaveMetaItemRequestSchema > >>; +export type Iso136 = Assert, z.infer< typeof M28.SaveMetaItemResponseSchema > >>; +export type Iso137 = Assert, z.infer< typeof M28.DeleteMetaItemRequestSchema > >>; +export type Iso138 = Assert, z.infer< typeof M28.DeleteMetaItemResponseSchema > >>; +export type Iso139 = Assert, z.infer< typeof M28.GetMetaItemCachedRequestSchema > >>; +export type Iso140 = Assert, z.infer< typeof M28.GetUiViewRequestSchema > >>; +export type Iso141 = Assert, z.infer< typeof M28.AutomationTriggerRequestSchema > >>; +export type Iso142 = Assert, z.infer< typeof M28.AutomationTriggerResponseSchema > >>; +export type Iso143 = Assert, z.infer< typeof M28.FindDataResponseSchema > >>; +export type Iso144 = Assert, z.infer< typeof M28.GetDataResponseSchema > >>; +export type Iso145 = Assert, z.infer< typeof M28.CreateDataResponseSchema > >>; +export type Iso146 = Assert, z.infer< typeof M28.UpdateDataResponseSchema > >>; +export type Iso147 = Assert, z.infer< typeof M28.DeleteDataResponseSchema > >>; +export type Iso148 = Assert, z.infer< typeof M28.CreateManyDataResponseSchema > >>; +export type Iso149 = Assert, z.infer< typeof M28.DeleteViewResponseSchema > >>; +export type Iso150 = Assert, z.infer< typeof M28.CheckPermissionResponseSchema > >>; +export type Iso151 = Assert, z.infer< typeof M28.GetEffectivePermissionsResponseSchema > >>; +export type Iso152 = Assert, z.infer< typeof M28.RealtimeConnectResponseSchema > >>; +export type Iso153 = Assert, z.infer< typeof M28.RealtimeDisconnectResponseSchema > >>; +export type Iso154 = Assert, z.infer< typeof M28.RealtimeSubscribeResponseSchema > >>; +export type Iso155 = Assert, z.infer< typeof M28.RealtimeUnsubscribeResponseSchema > >>; +export type Iso156 = Assert, z.infer< typeof M28.SetPresenceResponseSchema > >>; +export type Iso157 = Assert, z.infer< typeof M28.GetPresenceResponseSchema > >>; +export type Iso158 = Assert, z.infer< typeof M28.RegisterDeviceResponseSchema > >>; +export type Iso159 = Assert, z.infer< typeof M28.UnregisterDeviceResponseSchema > >>; +export type Iso160 = Assert, z.infer< typeof M28.MarkNotificationsReadResponseSchema > >>; +export type Iso161 = Assert, z.infer< typeof M28.MarkAllNotificationsReadResponseSchema > >>; +export type Iso162 = Assert, z.infer< typeof M28.AiChatResponseSchema > >>; +export type Iso163 = Assert, z.infer< typeof M28.AiStreamChunkSchema > >>; +export type Iso164 = Assert, z.infer< typeof M28.AiModelsResponseSchema > >>; +export type Iso165 = Assert, z.infer< typeof M28.AiConversationSchema > >>; +export type Iso166 = Assert, z.infer< typeof M28.ListAiConversationsResponseSchema > >>; +export type Iso167 = Assert, z.infer< typeof M28.AiAgentCapabilitiesSchema > >>; +export type Iso168 = Assert, z.infer< typeof M28.AiAgentSummarySchema > >>; +export type Iso169 = Assert, z.infer< typeof M28.AiAgentsResponseSchema > >>; +export type Iso170 = Assert, z.infer< typeof M28.AiPendingActionStatusSchema > >>; +export type Iso171 = Assert, z.infer< typeof M28.AiPendingActionSchema > >>; +export type Iso172 = Assert, z.infer< typeof M28.ListAiPendingActionsResponseSchema > >>; +export type Iso173 = Assert, z.infer< typeof M28.ApproveAiPendingActionResponseSchema > >>; +export type Iso174 = Assert, z.infer< typeof M28.RejectAiPendingActionResponseSchema > >>; +export type Iso175 = Assert, z.infer< typeof M28.GetTranslationsResponseSchema > >>; +export type Iso176 = Assert, z.infer< typeof M28.GetFieldLabelsResponseSchema > >>; + +// api/query-adapter.zod.ts +export type Iso177 = Assert, z.infer< typeof M29.QueryAdapterTargetSchema > >>; +export type Iso178 = Assert, z.infer< typeof M29.OperatorMappingSchema > >>; + +// api/realtime-shared.zod.ts +export type Iso179 = Assert, z.infer< typeof M30.PresenceStatus > >>; +export type Iso180 = Assert, z.infer< typeof M30.RealtimeRecordAction > >>; +export type Iso181 = Assert, z.infer< typeof M30.BasePresenceSchema > >>; + +// api/realtime.zod.ts +export type Iso182 = Assert, z.infer< typeof M31.TransportProtocol > >>; +export type Iso183 = Assert, z.infer< typeof M31.RealtimeEventType > >>; +export type Iso184 = Assert, z.infer< typeof M31.SubscriptionSchema > >>; +export type Iso185 = Assert, z.infer< typeof M31.RealtimePresenceSchema > >>; +export type Iso186 = Assert, z.infer< typeof M31.RealtimeEventSchema > >>; + +// api/rest-server.zod.ts +export type Iso187 = Assert, z.infer< typeof M32.CrudOperation > >>; +export type Iso188 = Assert, z.infer< typeof M32.CrudEndpointPatternSchema > >>; +export type Iso189 = Assert, z.infer< typeof M32.GeneratedEndpointSchema > >>; +export type Iso190 = Assert, z.infer< typeof M32.EndpointRegistrySchema > >>; + +// api/router.zod.ts +export type Iso191 = Assert, z.infer< typeof M33.RouteCategory > >>; +export type Iso192 = Assert, z.infer< typeof M33.ConflictResolutionStrategy > >>; + +// api/storage.zod.ts +export type Iso193 = Assert, z.infer< typeof M34.CompleteUploadRequestSchema > >>; +export type Iso194 = Assert, z.infer< typeof M34.FileTypeValidationSchema > >>; +export type Iso195 = Assert, z.infer< typeof M34.UploadChunkRequestSchema > >>; +export type Iso196 = Assert, z.infer< typeof M34.CompleteChunkedUploadRequestSchema > >>; + +// api/versioning.zod.ts +export type Iso197 = Assert, z.infer< typeof M35.VersioningStrategy > >>; +export type Iso198 = Assert, z.infer< typeof M35.VersionStatus > >>; +export type Iso199 = Assert, z.infer< typeof M35.VersionDefinitionSchema > >>; +export type Iso200 = Assert, z.infer< typeof M35.VersionNegotiationResponseSchema > >>; + +// api/websocket.zod.ts +export type Iso201 = Assert, z.infer< typeof M36.WebSocketMessageType > >>; +export type Iso202 = Assert, z.infer< typeof M36.EventPatternSchema > >>; +export type Iso203 = Assert, z.infer< typeof M36.EventSubscriptionSchema > >>; +export type Iso204 = Assert, z.infer< typeof M36.UnsubscribeRequestSchema > >>; +export type Iso205 = Assert, z.infer< typeof M36.WebSocketPresenceStatus > >>; +export type Iso206 = Assert, z.infer< typeof M36.PresenceStateSchema > >>; +export type Iso207 = Assert, z.infer< typeof M36.PresenceUpdateSchema > >>; +export type Iso208 = Assert, z.infer< typeof M36.CursorPositionSchema > >>; +export type Iso209 = Assert, z.infer< typeof M36.EditOperationType > >>; +export type Iso210 = Assert, z.infer< typeof M36.EditOperationSchema > >>; +export type Iso211 = Assert, z.infer< typeof M36.DocumentStateSchema > >>; +export type Iso212 = Assert, z.infer< typeof M36.SubscribeMessageSchema > >>; +export type Iso213 = Assert, z.infer< typeof M36.UnsubscribeMessageSchema > >>; +export type Iso214 = Assert, z.infer< typeof M36.EventMessageSchema > >>; +export type Iso215 = Assert, z.infer< typeof M36.PresenceMessageSchema > >>; +export type Iso216 = Assert, z.infer< typeof M36.CursorMessageSchema > >>; +export type Iso217 = Assert, z.infer< typeof M36.EditMessageSchema > >>; +export type Iso218 = Assert, z.infer< typeof M36.AckMessageSchema > >>; +export type Iso219 = Assert, z.infer< typeof M36.ErrorMessageSchema > >>; +export type Iso220 = Assert, z.infer< typeof M36.PingMessageSchema > >>; +export type Iso221 = Assert, z.infer< typeof M36.PongMessageSchema > >>; +export type Iso222 = Assert, z.infer< typeof M36.WebSocketMessageSchema > >>; +export type Iso223 = Assert, z.infer< typeof M36.WebSocketEventSchema > >>; +export type Iso224 = Assert, z.infer< typeof M36.SimplePresenceStateSchema > >>; +export type Iso225 = Assert, z.infer< typeof M36.SimpleCursorPositionSchema > >>; + +// automation/approval.zod.ts +export type Iso226 = Assert, z.infer< typeof M37.ApprovalDecision > >>; +export type Iso227 = Assert, z.infer< typeof M37.ApprovalNodeApproverSchema > >>; +export type Iso228 = Assert, z.infer< typeof M37.DecisionOutputDefSchema > >>; + +// automation/bpmn-interop.zod.ts +export type Iso229 = Assert, z.infer< typeof M38.BpmnUnmappedStrategySchema > >>; +export type Iso230 = Assert, z.infer< typeof M38.BpmnVersionSchema > >>; +export type Iso231 = Assert, z.infer< typeof M38.BpmnDiagnosticSchema > >>; + +// automation/execution.zod.ts +export type Iso232 = Assert, z.infer< typeof M39.ExecutionStatus > >>; +export type Iso233 = Assert, z.infer< typeof M39.ExecutionStepMetricsSchema > >>; +export type Iso234 = Assert, z.infer< typeof M39.ExecutionStepSkipReasonSchema > >>; +export type Iso235 = Assert, z.infer< typeof M39.FlowRunNodeSummarySchema > >>; +export type Iso236 = Assert, z.infer< typeof M39.FlowRunGateSummarySchema > >>; +export type Iso237 = Assert, z.infer< typeof M39.ExecutionErrorSeverity > >>; + +// automation/flow-function.zod.ts +export type Iso238 = Assert, z.infer< typeof M40.FlowFunctionEffectSchema > >>; + +// automation/node-executor.zod.ts +export type Iso239 = Assert, z.infer< typeof M41.WaitEventTypeSchema > >>; +export type Iso240 = Assert, z.infer< typeof M41.WaitResumePayloadSchema > >>; +export type Iso241 = Assert, z.infer< typeof M41.WaitTimeoutBehaviorSchema > >>; +export type Iso242 = Assert, z.infer< typeof M41.ActionCategorySchema > >>; +export type Iso243 = Assert, z.infer< typeof M41.ActionParadigmSchema > >>; + +// automation/state-machine.zod.ts +export type Iso244 = Assert, z.infer< typeof M42.ActionRefSchema > >>; +export type Iso245 = Assert, z.infer< typeof M42.TransitionSchema > >>; +export type Iso246 = Assert, z.infer< typeof M42.StateMachineSchema > >>; + +// automation/time-relative-trigger.zod.ts +export type Iso247 = Assert, z.infer< typeof M43.TimeRelativeTriggerSchema > >>; + +// automation/webhook.zod.ts +export type Iso248 = Assert, z.infer< typeof M44.WebhookTriggerType > >>; + +// cloud/app-store.zod.ts +export type Iso249 = Assert, z.infer< typeof M45.ReviewModerationStatusSchema > >>; +export type Iso250 = Assert, z.infer< typeof M45.SubmitReviewRequestSchema > >>; +export type Iso251 = Assert, z.infer< typeof M45.RecommendationReasonSchema > >>; +export type Iso252 = Assert, z.infer< typeof M45.RecommendedAppSchema > >>; +export type Iso253 = Assert, z.infer< typeof M45.AppDiscoveryResponseSchema > >>; +export type Iso254 = Assert, z.infer< typeof M45.SubscriptionStatusSchema > >>; + +// cloud/developer-portal.zod.ts +export type Iso255 = Assert, z.infer< typeof M46.ReleaseChannelSchema > >>; +export type Iso256 = Assert, z.infer< typeof M46.UpdateListingRequestSchema > >>; +export type Iso257 = Assert, z.infer< typeof M46.ListingActionRequestSchema > >>; +export type Iso258 = Assert, z.infer< typeof M46.AnalyticsTimeRangeSchema > >>; +export type Iso259 = Assert, z.infer< typeof M46.TimeSeriesPointSchema > >>; + +// cloud/environment-package.zod.ts +export type Iso260 = Assert, z.infer< typeof M47.EnvironmentPackageStatusSchema > >>; +export type Iso261 = Assert, z.infer< typeof M47.RollbackEnvironmentPackageRequestSchema > >>; + +// cloud/environment.zod.ts +export type Iso262 = Assert, z.infer< typeof M48.EnvironmentTypeSchema > >>; +export type Iso263 = Assert, z.infer< typeof M48.EnvironmentStatusSchema > >>; +export type Iso264 = Assert, z.infer< typeof M48.EnvironmentDriverSchema > >>; +export type Iso265 = Assert, z.infer< typeof M48.EnvironmentVisibilitySchema > >>; +export type Iso266 = Assert, z.infer< typeof M48.EnvironmentCredentialStatusSchema > >>; +export type Iso267 = Assert, z.infer< typeof M48.EnvironmentRoleSchema > >>; +export type Iso268 = Assert, z.infer< typeof M48.EnvironmentMemberSchema > >>; + +// cloud/marketplace-admin.zod.ts +export type Iso269 = Assert, z.infer< typeof M49.ReviewDecisionSchema > >>; +export type Iso270 = Assert, z.infer< typeof M49.RejectionReasonSchema > >>; +export type Iso271 = Assert, z.infer< typeof M49.PolicyViolationTypeSchema > >>; +export type Iso272 = Assert, z.infer< typeof M49.MarketplaceHealthMetricsSchema > >>; +export type Iso273 = Assert, z.infer< typeof M49.TrendingListingSchema > >>; + +// cloud/marketplace.zod.ts +export type Iso274 = Assert, z.infer< typeof M50.ArtifactDownloadResponseSchema > >>; +export type Iso275 = Assert, z.infer< typeof M50.PublisherVerificationSchema > >>; +export type Iso276 = Assert, z.infer< typeof M50.MarketplaceCategorySchema > >>; +export type Iso277 = Assert, z.infer< typeof M50.ListingStatusSchema > >>; +export type Iso278 = Assert, z.infer< typeof M50.PricingModelSchema > >>; +export type Iso279 = Assert, z.infer< typeof M50.MarketplaceInstallResponseSchema > >>; + +// cloud/package-version.zod.ts +export type Iso280 = Assert, z.infer< typeof M51.PackageVersionStatusSchema > >>; +export type Iso281 = Assert, z.infer< typeof M51.CreatePackageVersionRequestSchema > >>; +export type Iso282 = Assert, z.infer< typeof M51.UpdatePackageVersionRequestSchema > >>; +export type Iso283 = Assert, z.infer< typeof M51.PublishPackageVersionRequestSchema > >>; + +// cloud/package.zod.ts +export type Iso284 = Assert, z.infer< typeof M52.PackageVisibilitySchema > >>; +export type Iso285 = Assert, z.infer< typeof M52.PackageCategorySchema > >>; +export type Iso286 = Assert, z.infer< typeof M52.PackagePublisherSchema > >>; +export type Iso287 = Assert, z.infer< typeof M52.PackageLocaleSchema > >>; +export type Iso288 = Assert, z.infer< typeof M52.PackageTranslationSchema > >>; +export type Iso289 = Assert, z.infer< typeof M52.PackageTranslationsSchema > >>; +export type Iso290 = Assert, z.infer< typeof M52.CreatePackageRequestSchema > >>; +export type Iso291 = Assert, z.infer< typeof M52.UpdatePackageRequestSchema > >>; + +// cloud/template-manifest.zod.ts +export type Iso292 = Assert, z.infer< typeof M53.TemplateManifestSchema > >>; + +// cloud/tenant.zod.ts +export type Iso293 = Assert, z.infer< typeof M54.TenantDatabaseStatusSchema > >>; +export type Iso294 = Assert, z.infer< typeof M54.TenantPlanSchema > >>; +export type Iso295 = Assert, z.infer< typeof M54.PackageInstallationStatusSchema > >>; +export type Iso296 = Assert, z.infer< typeof M54.TenantContextSchema > >>; +export type Iso297 = Assert, z.infer< typeof M54.TenantIdentificationSourceSchema > >>; + +// data/analytics.zod.ts +export type Iso298 = Assert, z.infer< typeof M55.MetricSchema > >>; +export type Iso299 = Assert, z.infer< typeof M55.DimensionSchema > >>; +export type Iso300 = Assert, z.infer< typeof M55.AnalyticsQuerySchema > >>; + +// data/data-engine.zod.ts +export type Iso301 = Assert, z.infer< typeof M56.BaseEngineOptionsSchema > >>; +export type Iso302 = Assert, z.infer< typeof M56.EngineUpdateOptionsSchema > >>; +export type Iso303 = Assert, z.infer< typeof M56.DroppedFieldsEventSchema > >>; +export type Iso304 = Assert, z.infer< typeof M56.EngineDeleteOptionsSchema > >>; +export type Iso305 = Assert, z.infer< typeof M56.EngineAggregateOptionsSchema > >>; +export type Iso306 = Assert, z.infer< typeof M56.EngineCountOptionsSchema > >>; +export type Iso307 = Assert, z.infer< typeof M56.DataEngineFilterSchema > >>; +export type Iso308 = Assert, z.infer< typeof M56.DataEngineInsertOptionsSchema > >>; +export type Iso309 = Assert, z.infer< typeof M56.DataEngineUpdateOptionsSchema > >>; +export type Iso310 = Assert, z.infer< typeof M56.DataEngineDeleteOptionsSchema > >>; +export type Iso311 = Assert, z.infer< typeof M56.DataEngineAggregateOptionsSchema > >>; +export type Iso312 = Assert, z.infer< typeof M56.DataEngineCountOptionsSchema > >>; + +// data/datasource.zod.ts +export type Iso313 = Assert, z.infer< typeof M57.DriverDefinitionSchema > >>; +export type Iso314 = Assert, z.infer< typeof M57.SchemaModeSchema > >>; + +// data/driver-nosql.zod.ts +export type Iso315 = Assert, z.infer< typeof M58.NoSQLDatabaseTypeSchema > >>; +export type Iso316 = Assert, z.infer< typeof M58.NoSQLOperationTypeSchema > >>; +export type Iso317 = Assert, z.infer< typeof M58.ConsistencyLevelSchema > >>; +export type Iso318 = Assert, z.infer< typeof M58.NoSQLIndexTypeSchema > >>; +export type Iso319 = Assert, z.infer< typeof M58.NoSQLDataTypeMappingSchema > >>; +export type Iso320 = Assert, z.infer< typeof M58.NoSQLQueryOptionsSchema > >>; +export type Iso321 = Assert, z.infer< typeof M58.AggregationStageSchema > >>; +export type Iso322 = Assert, z.infer< typeof M58.AggregationPipelineSchema > >>; +export type Iso323 = Assert, z.infer< typeof M58.NoSQLTransactionOptionsSchema > >>; + +// data/driver-sql.zod.ts +export type Iso324 = Assert, z.infer< typeof M59.SQLDialectSchema > >>; +export type Iso325 = Assert, z.infer< typeof M59.DataTypeMappingSchema > >>; + +// data/driver.zod.ts +export type Iso326 = Assert, z.infer< typeof M60.DriverOptionsSchema > >>; +export type Iso327 = Assert, z.infer< typeof M60.DriverCapabilitiesSchema > >>; + +// data/driver/common.zod.ts +export type Iso328 = Assert, z.infer< typeof M61.SqlAutoMigrateSchema > >>; + +// data/driver/memory.zod.ts +export type Iso329 = Assert, z.infer< typeof M62.PersistenceAdapterSchema > >>; +export type Iso330 = Assert, z.infer< typeof M62.PersistenceTypeSchema > >>; +export type Iso331 = Assert, z.infer< typeof M62.LocalStoragePersistenceConfigSchema > >>; +export type Iso332 = Assert, z.infer< typeof M62.CustomPersistenceConfigSchema > >>; +export type Iso333 = Assert, z.infer< typeof M62.AutoPersistenceConfigSchema > >>; + +// data/driver/sqlite.zod.ts +export type Iso334 = Assert, z.infer< typeof M63.SqliteWasmPersistModeSchema > >>; + +// data/external-lookup.zod.ts +export type Iso335 = Assert, z.infer< typeof M64.ExternalDataSourceSchema > >>; + +// data/feed.zod.ts +export type Iso336 = Assert, z.infer< typeof M65.FeedItemType > >>; +export type Iso337 = Assert, z.infer< typeof M65.FeedFilterMode > >>; + +// data/field.zod.ts +export type Iso338 = Assert, z.infer< typeof M66.FieldType > >>; +export type Iso339 = Assert, z.infer< typeof M66.LocationCoordinatesSchema > >>; +export type Iso340 = Assert, z.infer< typeof M66.AddressSchema > >>; +export type Iso341 = Assert, z.infer< typeof M66.CurrencyValueSchema > >>; + +// data/filter.zod.ts +export type Iso342 = Assert, z.infer< typeof M67.FieldReferenceSchema > >>; +export type Iso343 = Assert, z.infer< typeof M67.FieldOperatorsSchema > >>; +export type Iso344 = Assert, z.infer< typeof M67.QueryFilterSchema > >>; + +// data/hook-body.zod.ts +export type Iso345 = Assert, z.infer< typeof M68.HookBodyCapability > >>; +export type Iso346 = Assert, z.infer< typeof M68.ExpressionBodySchema > >>; + +// data/hook.zod.ts +export type Iso347 = Assert, z.infer< typeof M69.HookEvent > >>; +export type Iso348 = Assert, z.infer< typeof M69.HookContextSchema > >>; + +// data/object.zod.ts +export type Iso349 = Assert, z.infer< typeof M70.ApiMethod > >>; +export type Iso350 = Assert, z.infer< typeof M70.PerOperationRequiredPermissionsSchema > >>; +export type Iso351 = Assert, z.infer< typeof M70.ObjectRequiredPermissionsSchema > >>; +export type Iso352 = Assert, z.infer< typeof M70.TenancyConfigSchema > >>; +export type Iso353 = Assert, z.infer< typeof M70.LifecycleClassSchema > >>; +export type Iso354 = Assert, z.infer< typeof M70.LifecycleSchema > >>; +export type Iso355 = Assert, z.infer< typeof M70.ObjectOwnershipEnum > >>; + +// data/query.zod.ts +export type Iso356 = Assert, z.infer< typeof M71.AggregationNodeSchema > >>; +export type Iso357 = Assert, z.infer< typeof M71.GroupByNodeSchema > >>; +export type Iso358 = Assert, z.infer< typeof M71.DateGranularity > >>; + +// data/seed-loader.zod.ts +export type Iso359 = Assert, z.infer< typeof M72.ReferenceResolutionErrorSchema > >>; +export type Iso360 = Assert, z.infer< typeof M72.SeedIdentitySchema > >>; + +// data/seed.zod.ts +export type Iso361 = Assert, z.infer< typeof M73.SeedMode > >>; + +// data/validation.zod.ts +export type Iso362 = Assert, z.infer< typeof M74.ValidationRuleSchema > >>; + +// identity/identity.zod.ts +export type Iso363 = Assert, z.infer< typeof M75.AccountSchema > >>; +export type Iso364 = Assert, z.infer< typeof M75.VerificationTokenSchema > >>; + +// identity/organization.zod.ts +export type Iso365 = Assert, z.infer< typeof M76.OrganizationSchema > >>; +export type Iso366 = Assert, z.infer< typeof M76.MemberSchema > >>; +export type Iso367 = Assert, z.infer< typeof M76.InvitationStatus > >>; + +// identity/scim.zod.ts +export type Iso368 = Assert, z.infer< typeof M77.SCIMMetaSchema > >>; +export type Iso369 = Assert, z.infer< typeof M77.SCIMNameSchema > >>; +export type Iso370 = Assert, z.infer< typeof M77.SCIMGroupReferenceSchema > >>; +export type Iso371 = Assert, z.infer< typeof M77.SCIMEnterpriseUserSchema > >>; +export type Iso372 = Assert, z.infer< typeof M77.SCIMMemberReferenceSchema > >>; +export type Iso373 = Assert, z.infer< typeof M77.SCIMPatchOperationSchema > >>; +export type Iso374 = Assert, z.infer< typeof M77.SCIMBulkOperationSchema > >>; +export type Iso375 = Assert, z.infer< typeof M77.SCIMBulkResponseOperationSchema > >>; + +// integration/connector.zod.ts +export type Iso376 = Assert, z.infer< typeof M78.SyncStrategySchema > >>; +export type Iso377 = Assert, z.infer< typeof M78.ConnectorConflictResolutionSchema > >>; +export type Iso378 = Assert, z.infer< typeof M78.WebhookEventSchema > >>; +export type Iso379 = Assert, z.infer< typeof M78.WebhookSignatureAlgorithmSchema > >>; +export type Iso380 = Assert, z.infer< typeof M78.ConnectorRetryStrategySchema > >>; +export type Iso381 = Assert, z.infer< typeof M78.ConnectorErrorCategorySchema > >>; +export type Iso382 = Assert, z.infer< typeof M78.ErrorMappingRuleSchema > >>; +export type Iso383 = Assert, z.infer< typeof M78.ConnectorTypeSchema > >>; +export type Iso384 = Assert, z.infer< typeof M78.ConnectorStatusSchema > >>; + +// kernel/cli-extension.zod.ts +export type Iso385 = Assert, z.infer< typeof M79.CLICommandContributionSchema > >>; +export type Iso386 = Assert, z.infer< typeof M79.OclifPluginConfigSchema > >>; + +// kernel/cluster.zod.ts +export type Iso387 = Assert, z.infer< typeof M80.EventScopeSchema > >>; +export type Iso388 = Assert, z.infer< typeof M80.EventDeliverySemanticsSchema > >>; +export type Iso389 = Assert, z.infer< typeof M80.ServiceClusterScopeSchema > >>; +export type Iso390 = Assert, z.infer< typeof M80.ServiceLeaderStrategySchema > >>; +export type Iso391 = Assert, z.infer< typeof M80.ClusterDriverSchema > >>; +export type Iso392 = Assert, z.infer< typeof M80.ClusterTenantIsolationSchema > >>; +export type Iso393 = Assert, z.infer< typeof M80.MetadataChangeOperationSchema > >>; +export type Iso394 = Assert, z.infer< typeof M80.MetadataChangedEventPayloadSchema > >>; + +// kernel/context.zod.ts +export type Iso395 = Assert, z.infer< typeof M81.RuntimeMode > >>; + +// kernel/dependency-resolution.zod.ts +export type Iso396 = Assert, z.infer< typeof M82.DependencyStatusEnum > >>; +export type Iso397 = Assert, z.infer< typeof M82.ResolvedDependencySchema > >>; +export type Iso398 = Assert, z.infer< typeof M82.RequiredActionSchema > >>; +export type Iso399 = Assert, z.infer< typeof M82.DependencyResolutionResultSchema > >>; + +// kernel/events/core.zod.ts +export type Iso400 = Assert, z.infer< typeof M83.EventPriority > >>; + +// kernel/events/handlers.zod.ts +export type Iso401 = Assert, z.infer< typeof M84.EventRouteSchema > >>; + +// kernel/manifest.zod.ts +export type Iso402 = Assert, z.infer< typeof M85.PluginPermissionsSchema > >>; +export type Iso403 = Assert, z.infer< typeof M85.ManifestPermissionsSchema > >>; +export type Iso404 = Assert, z.infer< typeof M85.PluginEnginesSchema > >>; +export type Iso405 = Assert, z.infer< typeof M85.PluginRuntimeSchema > >>; +export type Iso406 = Assert, z.infer< typeof M85.PluginPackagingSchema > >>; +export type Iso407 = Assert, z.infer< typeof M85.PluginIntegritySchema > >>; + +// kernel/metadata-customization.zod.ts +export type Iso408 = Assert, z.infer< typeof M86.CustomizationOriginSchema > >>; +export type Iso409 = Assert, z.infer< typeof M86.FieldChangeSchema > >>; +export type Iso410 = Assert, z.infer< typeof M86.MergeConflictSchema > >>; +export type Iso411 = Assert, z.infer< typeof M86.MergeResultSchema > >>; + +// kernel/metadata-loader.zod.ts +export type Iso412 = Assert, z.infer< typeof M87.MetadataFallbackStrategySchema > >>; + +// kernel/metadata-plugin.zod.ts +export type Iso413 = Assert, z.infer< typeof M88.MetadataTypeSchema > >>; +export type Iso414 = Assert, z.infer< typeof M88.MetadataQueryResultSchema > >>; +export type Iso415 = Assert, z.infer< typeof M88.MetadataValidationResultSchema > >>; +export type Iso416 = Assert, z.infer< typeof M88.MetadataBulkResultSchema > >>; +export type Iso417 = Assert, z.infer< typeof M88.MetadataDependencySchema > >>; + +// kernel/metadata-protection.zod.ts +export type Iso418 = Assert, z.infer< typeof M89.MetadataLockSchema > >>; +export type Iso419 = Assert, z.infer< typeof M89.MetadataLockSourceSchema > >>; +export type Iso420 = Assert, z.infer< typeof M89.MetadataProvenanceSchema > >>; + +// kernel/package-artifact.zod.ts +export type Iso421 = Assert, z.infer< typeof M90.MetadataCategoryEnum > >>; +export type Iso422 = Assert, z.infer< typeof M90.ArtifactFileEntrySchema > >>; + +// kernel/package-registry.zod.ts +export type Iso423 = Assert, z.infer< typeof M91.PackageStatusEnum > >>; +export type Iso424 = Assert, z.infer< typeof M91.NamespaceRegistryEntrySchema > >>; +export type Iso425 = Assert, z.infer< typeof M91.NamespaceConflictErrorSchema > >>; +export type Iso426 = Assert, z.infer< typeof M91.ListPackagesRequestSchema > >>; +export type Iso427 = Assert, z.infer< typeof M91.GetPackageRequestSchema > >>; +export type Iso428 = Assert, z.infer< typeof M91.UninstallPackageRequestSchema > >>; +export type Iso429 = Assert, z.infer< typeof M91.UninstallPackageResponseSchema > >>; +export type Iso430 = Assert, z.infer< typeof M91.EnablePackageRequestSchema > >>; +export type Iso431 = Assert, z.infer< typeof M91.DisablePackageRequestSchema > >>; + +// kernel/package-upgrade.zod.ts +export type Iso432 = Assert, z.infer< typeof M92.MetadataChangeTypeSchema > >>; +export type Iso433 = Assert, z.infer< typeof M92.UpgradeImpactLevelSchema > >>; +export type Iso434 = Assert, z.infer< typeof M92.UpgradePhaseSchema > >>; +export type Iso435 = Assert, z.infer< typeof M92.RollbackPackageResponseSchema > >>; + +// kernel/plugin-capability.zod.ts +export type Iso436 = Assert, z.infer< typeof M93.CapabilityConformanceLevelSchema > >>; +export type Iso437 = Assert, z.infer< typeof M93.ProtocolVersionSchema > >>; +export type Iso438 = Assert, z.infer< typeof M93.ProtocolReferenceSchema > >>; + +// kernel/plugin-lifecycle-advanced.zod.ts +export type Iso439 = Assert, z.infer< typeof M94.PluginHealthStatusSchema > >>; +export type Iso440 = Assert, z.infer< typeof M94.PluginHealthReportSchema > >>; + +// kernel/plugin-loading.zod.ts +export type Iso441 = Assert, z.infer< typeof M95.PluginLoadingStrategySchema > >>; +export type Iso442 = Assert, z.infer< typeof M95.PluginLoadingEventSchema > >>; + +// kernel/plugin-registry.zod.ts +export type Iso443 = Assert, z.infer< typeof M96.PluginSearchFiltersSchema > >>; +export type Iso444 = Assert, z.infer< typeof M96.PluginInstallConfigSchema > >>; + +// kernel/plugin-security-advanced.zod.ts +export type Iso445 = Assert, z.infer< typeof M97.PermissionScopeSchema > >>; +export type Iso446 = Assert, z.infer< typeof M97.PermissionActionSchema > >>; +export type Iso447 = Assert, z.infer< typeof M97.ResourceTypeSchema > >>; +export type Iso448 = Assert, z.infer< typeof M97.PluginTrustLevelSchema > >>; + +// kernel/plugin-security.zod.ts +export type Iso449 = Assert, z.infer< typeof M98.VulnerabilitySeverity > >>; +export type Iso450 = Assert, z.infer< typeof M98.PackageDependencyConflictSchema > >>; + +// kernel/plugin-structure.zod.ts +export type Iso451 = Assert, z.infer< typeof M99.OpsFilePathSchema > >>; +export type Iso452 = Assert, z.infer< typeof M99.OpsDomainModuleSchema > >>; +export type Iso453 = Assert, z.infer< typeof M99.OpsPluginStructureSchema > >>; + +// kernel/plugin-validator.zod.ts +export type Iso454 = Assert, z.infer< typeof M100.ValidationErrorSchema > >>; +export type Iso455 = Assert, z.infer< typeof M100.ValidationWarningSchema > >>; +export type Iso456 = Assert, z.infer< typeof M100.ValidationResultSchema > >>; +export type Iso457 = Assert, z.infer< typeof M100.PluginMetadataSchema > >>; + +// kernel/plugin-versioning.zod.ts +export type Iso458 = Assert, z.infer< typeof M101.SemanticVersionSchema > >>; +export type Iso459 = Assert, z.infer< typeof M101.VersionConstraintSchema > >>; +export type Iso460 = Assert, z.infer< typeof M101.CompatibilityLevelSchema > >>; +export type Iso461 = Assert, z.infer< typeof M101.DeprecationNoticeSchema > >>; + +// kernel/plugin.zod.ts +export type Iso462 = Assert, z.infer< typeof M102.PluginContextSchema > >>; +export type Iso463 = Assert, z.infer< typeof M102.PluginSchema > >>; + +// kernel/service-registry.zod.ts +export type Iso464 = Assert, z.infer< typeof M103.ServiceScopeType > >>; +export type Iso465 = Assert, z.infer< typeof M103.ScopeConfigSchema > >>; +export type Iso466 = Assert, z.infer< typeof M103.ScopeInfoSchema > >>; + +// kernel/startup-orchestrator.zod.ts +export type Iso467 = Assert, z.infer< typeof M104.HealthStatusSchema > >>; +export type Iso468 = Assert, z.infer< typeof M104.PluginStartupResultSchema > >>; +export type Iso469 = Assert, z.infer< typeof M104.StartupOrchestrationResultSchema > >>; + +// qa/testing.zod.ts +export type Iso470 = Assert, z.infer< typeof M105.TestSuiteSchema > >>; +export type Iso471 = Assert, z.infer< typeof M105.TestScenarioSchema > >>; +export type Iso472 = Assert, z.infer< typeof M105.TestStepSchema > >>; +export type Iso473 = Assert, z.infer< typeof M105.TestActionSchema > >>; +export type Iso474 = Assert, z.infer< typeof M105.TestAssertionSchema > >>; + +// security/explain.zod.ts +export type Iso475 = Assert, z.infer< typeof M106.ExplainOperationSchema > >>; +export type Iso476 = Assert, z.infer< typeof M106.AuthzPostureSchema > >>; +export type Iso477 = Assert, z.infer< typeof M106.ExplainMatchedRuleSchema > >>; +export type Iso478 = Assert, z.infer< typeof M106.ExplainRequestSchema > >>; +export type Iso479 = Assert, z.infer< typeof M106.AccessMatrixEntrySchema > >>; + +// security/permission.zod.ts +export type Iso480 = Assert, z.infer< typeof M107.ObjectAccessScopeSchema > >>; +export type Iso481 = Assert, z.infer< typeof M107.EffectiveObjectPermissionSchema > >>; + +// security/rls.zod.ts +export type Iso482 = Assert, z.infer< typeof M108.RLSOperation > >>; +export type Iso483 = Assert, z.infer< typeof M108.RLSUserContextSchema > >>; +export type Iso484 = Assert, z.infer< typeof M108.RLSEvaluationResultSchema > >>; + +// shared/connector-auth.zod.ts +export type Iso485 = Assert, z.infer< typeof M109.ConnectorInstanceAuthSchema > >>; + +// shared/enums.zod.ts +export type Iso486 = Assert, z.infer< typeof M110.SortDirectionEnum > >>; +export type Iso487 = Assert, z.infer< typeof M110.SortItemSchema > >>; +export type Iso488 = Assert, z.infer< typeof M110.MutationEventEnum > >>; +export type Iso489 = Assert, z.infer< typeof M110.IsolationLevelEnum > >>; + +// shared/expression.zod.ts +export type Iso490 = Assert, z.infer< typeof M111.ExpressionDialect > >>; +export type Iso491 = Assert, z.infer< typeof M111.ExpressionMetaSchema > >>; +export type Iso492 = Assert, z.infer< typeof M111.ExpressionSchema > >>; +export type Iso493 = Assert, z.infer< typeof M111.PredicateSchema > >>; + +// shared/http.zod.ts +export type Iso494 = Assert, z.infer< typeof M112.HttpMethod > >>; +export type Iso495 = Assert, z.infer< typeof M112.HttpMethodSubsetSchema > >>; +export type Iso496 = Assert, z.infer< typeof M112.StaticMountSchema > >>; + +// shared/identifiers.zod.ts +export type Iso497 = Assert, z.infer< typeof M113.SystemIdentifierSchema > >>; +export type Iso498 = Assert, z.infer< typeof M113.SnakeCaseIdentifierSchema > >>; +export type Iso499 = Assert, z.infer< typeof M113.EventNameSchema > >>; + +// shared/metadata-types.zod.ts +export type Iso500 = Assert, z.infer< typeof M114.MetadataFormatSchema > >>; +export type Iso501 = Assert, z.infer< typeof M114.BaseMetadataRecordSchema > >>; + +// shared/protection.zod.ts +export type Iso502 = Assert, z.infer< typeof M115.ProtectionSchema > >>; + +// stack.zod.ts +export type Iso503 = Assert, z.infer< typeof M116.DatasourceMappingRuleSchema > >>; +export type Iso504 = Assert, z.infer< typeof M116.ConflictStrategySchema > >>; + +// studio/flow-builder.zod.ts +export type Iso505 = Assert, z.infer< typeof M117.FlowNodeShapeSchema > >>; +export type Iso506 = Assert, z.infer< typeof M117.FlowCanvasEdgeStyleSchema > >>; +export type Iso507 = Assert, z.infer< typeof M117.FlowLayoutAlgorithmSchema > >>; +export type Iso508 = Assert, z.infer< typeof M117.FlowLayoutDirectionSchema > >>; + +// studio/object-designer.zod.ts +export type Iso509 = Assert, z.infer< typeof M118.ERLayoutAlgorithmSchema > >>; +export type Iso510 = Assert, z.infer< typeof M118.ObjectListDisplayModeSchema > >>; +export type Iso511 = Assert, z.infer< typeof M118.ObjectSortFieldSchema > >>; +export type Iso512 = Assert, z.infer< typeof M118.ObjectDesignerDefaultViewSchema > >>; + +// studio/plugin.zod.ts +export type Iso513 = Assert, z.infer< typeof M119.ViewModeSchema > >>; +export type Iso514 = Assert, z.infer< typeof M119.ActionContributionLocationSchema > >>; +export type Iso515 = Assert, z.infer< typeof M119.MetadataIconContributionSchema > >>; +export type Iso516 = Assert, z.infer< typeof M119.CommandContributionSchema > >>; + +// system/auth-config.zod.ts +export type Iso517 = Assert, z.infer< typeof M120.OidcProviderConfigSchema > >>; +export type Iso518 = Assert, z.infer< typeof M120.OidcProvidersConfigSchema > >>; +export type Iso519 = Assert, z.infer< typeof M120.AuthProviderConfigSchema > >>; +export type Iso520 = Assert, z.infer< typeof M120.EmailVerificationConfigSchema > >>; +export type Iso521 = Assert, z.infer< typeof M120.AdvancedAuthConfigSchema > >>; + +// system/cache.zod.ts +export type Iso522 = Assert, z.infer< typeof M121.CacheStrategySchema > >>; +export type Iso523 = Assert, z.infer< typeof M121.CacheInvalidationSchema > >>; +export type Iso524 = Assert, z.infer< typeof M121.CacheConsistencySchema > >>; + +// system/change-management.zod.ts +export type Iso525 = Assert, z.infer< typeof M122.ChangeTypeSchema > >>; +export type Iso526 = Assert, z.infer< typeof M122.ChangeStatusSchema > >>; +export type Iso527 = Assert, z.infer< typeof M122.ChangePrioritySchema > >>; +export type Iso528 = Assert, z.infer< typeof M122.ChangeImpactSchema > >>; +export type Iso529 = Assert, z.infer< typeof M122.RollbackPlanSchema > >>; + +// system/collaboration.zod.ts +export type Iso530 = Assert, z.infer< typeof M123.OTOperationType > >>; +export type Iso531 = Assert, z.infer< typeof M123.OTComponentSchema > >>; +export type Iso532 = Assert, z.infer< typeof M123.OTOperationSchema > >>; +export type Iso533 = Assert, z.infer< typeof M123.OTTransformResultSchema > >>; +export type Iso534 = Assert, z.infer< typeof M123.CRDTType > >>; +export type Iso535 = Assert, z.infer< typeof M123.VectorClockSchema > >>; +export type Iso536 = Assert, z.infer< typeof M123.LWWRegisterSchema > >>; +export type Iso537 = Assert, z.infer< typeof M123.CounterOperationSchema > >>; +export type Iso538 = Assert, z.infer< typeof M123.GCounterSchema > >>; +export type Iso539 = Assert, z.infer< typeof M123.PNCounterSchema > >>; +export type Iso540 = Assert, z.infer< typeof M123.TextCRDTOperationSchema > >>; +export type Iso541 = Assert, z.infer< typeof M123.TextCRDTStateSchema > >>; +export type Iso542 = Assert, z.infer< typeof M123.CursorColorPreset > >>; +export type Iso543 = Assert, z.infer< typeof M123.CursorSelectionSchema > >>; +export type Iso544 = Assert, z.infer< typeof M123.CursorUpdateSchema > >>; +export type Iso545 = Assert, z.infer< typeof M123.UserActivityStatus > >>; +export type Iso546 = Assert, z.infer< typeof M123.AwarenessUserStateSchema > >>; +export type Iso547 = Assert, z.infer< typeof M123.AwarenessSessionSchema > >>; +export type Iso548 = Assert, z.infer< typeof M123.AwarenessUpdateSchema > >>; +export type Iso549 = Assert, z.infer< typeof M123.AwarenessEventSchema > >>; +export type Iso550 = Assert, z.infer< typeof M123.CollaborationMode > >>; + +// system/core-services.zod.ts +export type Iso551 = Assert, z.infer< typeof M124.CoreServiceName > >>; + +// system/deploy-bundle.zod.ts +export type Iso552 = Assert, z.infer< typeof M125.DeployStatusEnum > >>; +export type Iso553 = Assert, z.infer< typeof M125.SchemaChangeSchema > >>; +export type Iso554 = Assert, z.infer< typeof M125.DeployValidationIssueSchema > >>; + +// system/disaster-recovery.zod.ts +export type Iso555 = Assert, z.infer< typeof M126.BackupStrategySchema > >>; +export type Iso556 = Assert, z.infer< typeof M126.FailoverModeSchema > >>; + +// system/doc.zod.ts +export type Iso557 = Assert, z.infer< typeof M127.DocSchema > >>; + +// system/email-config.zod.ts +export type Iso558 = Assert, z.infer< typeof M128.EmailProviderSchema > >>; +export type Iso559 = Assert, z.infer< typeof M128.EmailAddressConfigSchema > >>; + +// system/email-template.zod.ts +export type Iso560 = Assert, z.infer< typeof M129.EmailTemplateDefinitionCategorySchema > >>; + +// system/encryption.zod.ts +export type Iso561 = Assert, z.infer< typeof M130.EncryptionAlgorithmSchema > >>; +export type Iso562 = Assert, z.infer< typeof M130.KeyManagementProviderSchema > >>; + +// system/environment-artifact.zod.ts +export type Iso563 = Assert, z.infer< typeof M131.Sha256DigestSchema > >>; + +// system/http-server.zod.ts +export type Iso564 = Assert, z.infer< typeof M132.MiddlewareType > >>; +export type Iso565 = Assert, z.infer< typeof M132.ServerEventType > >>; +export type Iso566 = Assert, z.infer< typeof M132.ServerEventSchema > >>; +export type Iso567 = Assert, z.infer< typeof M132.ServerStatusSchema > >>; + +// system/incident-response.zod.ts +export type Iso568 = Assert, z.infer< typeof M133.IncidentResponsePhaseSchema > >>; +export type Iso569 = Assert, z.infer< typeof M133.IncidentSeveritySchema > >>; +export type Iso570 = Assert, z.infer< typeof M133.IncidentCategorySchema > >>; +export type Iso571 = Assert, z.infer< typeof M133.IncidentStatusSchema > >>; +export type Iso572 = Assert, z.infer< typeof M133.IncidentSchema > >>; + +// system/job.zod.ts +export type Iso573 = Assert, z.infer< typeof M134.IntervalScheduleSchema > >>; +export type Iso574 = Assert, z.infer< typeof M134.OnceScheduleSchema > >>; +export type Iso575 = Assert, z.infer< typeof M134.JobExecutionStatus > >>; +export type Iso576 = Assert, z.infer< typeof M134.JobExecutionSchema > >>; + +// system/license.zod.ts +export type Iso577 = Assert, z.infer< typeof M135.LicenseMetricType > >>; +export type Iso578 = Assert, z.infer< typeof M135.LicenseSchema > >>; + +// system/logging.zod.ts +export type Iso579 = Assert, z.infer< typeof M136.LogLevel > >>; +export type Iso580 = Assert, z.infer< typeof M136.LogFormat > >>; +export type Iso581 = Assert, z.infer< typeof M136.LogEntrySchema > >>; +export type Iso582 = Assert, z.infer< typeof M136.ExtendedLogLevel > >>; +export type Iso583 = Assert, z.infer< typeof M136.LogDestinationType > >>; +export type Iso584 = Assert, z.infer< typeof M136.ExternalServiceDestinationConfigSchema > >>; +export type Iso585 = Assert, z.infer< typeof M136.StructuredLogEntrySchema > >>; + +// system/message-queue.zod.ts +export type Iso586 = Assert, z.infer< typeof M137.MessageQueueProviderSchema > >>; + +// system/metadata-persistence.zod.ts +export type Iso587 = Assert, z.infer< typeof M138.MetadataScopeSchema > >>; +export type Iso588 = Assert, z.infer< typeof M138.PackagePublishResultSchema > >>; +export type Iso589 = Assert, z.infer< typeof M138.MetadataStatsSchema > >>; +export type Iso590 = Assert, z.infer< typeof M138.MetadataLoadOptionsSchema > >>; +export type Iso591 = Assert, z.infer< typeof M138.MetadataLoadResultSchema > >>; +export type Iso592 = Assert, z.infer< typeof M138.MetadataSaveResultSchema > >>; +export type Iso593 = Assert, z.infer< typeof M138.MetadataWatchEventSchema > >>; +export type Iso594 = Assert, z.infer< typeof M138.MetadataCollectionInfoSchema > >>; +export type Iso595 = Assert, z.infer< typeof M138.MetadataSourceSchema > >>; +export type Iso596 = Assert, z.infer< typeof M138.MetadataHistoryRecordSchema > >>; +export type Iso597 = Assert, z.infer< typeof M138.MetadataHistoryQueryResultSchema > >>; +export type Iso598 = Assert, z.infer< typeof M138.MetadataDiffResultSchema > >>; + +// system/metrics.zod.ts +export type Iso599 = Assert, z.infer< typeof M139.MetricType > >>; +export type Iso600 = Assert, z.infer< typeof M139.MetricUnit > >>; +export type Iso601 = Assert, z.infer< typeof M139.MetricAggregationType > >>; +export type Iso602 = Assert, z.infer< typeof M139.HistogramBucketConfigSchema > >>; +export type Iso603 = Assert, z.infer< typeof M139.MetricLabelsSchema > >>; +export type Iso604 = Assert, z.infer< typeof M139.MetricDataPointSchema > >>; +export type Iso605 = Assert, z.infer< typeof M139.TimeSeriesDataPointSchema > >>; +export type Iso606 = Assert, z.infer< typeof M139.TimeSeriesSchema > >>; + +// system/migration.zod.ts +export type Iso607 = Assert, z.infer< typeof M140.DataMigrationFlagSchema > >>; +export type Iso608 = Assert, z.infer< typeof M140.MigrationJournalEventSchema > >>; + +// system/notification.zod.ts +export type Iso609 = Assert, z.infer< typeof M141.NotificationChannelSchema > >>; + +// system/object-storage.zod.ts +export type Iso610 = Assert, z.infer< typeof M142.StorageScopeSchema > >>; +export type Iso611 = Assert, z.infer< typeof M142.FileMetadataSchema > >>; +export type Iso612 = Assert, z.infer< typeof M142.StorageProviderSchema > >>; +export type Iso613 = Assert, z.infer< typeof M142.StorageAclSchema > >>; +export type Iso614 = Assert, z.infer< typeof M142.StorageClassSchema > >>; +export type Iso615 = Assert, z.infer< typeof M142.LifecycleActionSchema > >>; +export type Iso616 = Assert, z.infer< typeof M142.ObjectMetadataSchema > >>; +export type Iso617 = Assert, z.infer< typeof M142.PresignedUrlConfigSchema > >>; + +// system/registry-config.zod.ts +export type Iso618 = Assert, z.infer< typeof M143.RegistrySyncPolicySchema > >>; + +// system/search-engine.zod.ts +export type Iso619 = Assert, z.infer< typeof M144.SearchProviderSchema > >>; +export type Iso620 = Assert, z.infer< typeof M144.AnalyzerConfigSchema > >>; + +// system/security-context.zod.ts +export type Iso621 = Assert, z.infer< typeof M145.DataClassificationSchema > >>; +export type Iso622 = Assert, z.infer< typeof M145.ComplianceFrameworkSchema > >>; + +// system/settings-client.zod.ts +export type Iso623 = Assert, z.infer< typeof M146.SettingsChangeEventSchema > >>; + +// system/settings-manifest.zod.ts +export type Iso624 = Assert, z.infer< typeof M147.SpecifierType > >>; +export type Iso625 = Assert, z.infer< typeof M147.SpecifierOptionSchema > >>; +export type Iso626 = Assert, z.infer< typeof M147.SpecifierScopeSchema > >>; +export type Iso627 = Assert, z.infer< typeof M147.SettingsActionResultSchema > >>; + +// system/supplier-security.zod.ts +export type Iso628 = Assert, z.infer< typeof M148.SupplierRiskLevelSchema > >>; +export type Iso629 = Assert, z.infer< typeof M148.SupplierAssessmentStatusSchema > >>; + +// system/tenant.zod.ts +export type Iso630 = Assert, z.infer< typeof M149.TenantIsolationLevel > >>; +export type Iso631 = Assert, z.infer< typeof M149.DatabaseProviderSchema > >>; +export type Iso632 = Assert, z.infer< typeof M149.TenantConnectionConfigSchema > >>; +export type Iso633 = Assert, z.infer< typeof M149.TenantQuotaSchema > >>; +export type Iso634 = Assert, z.infer< typeof M149.QuotaEnforcementResultSchema > >>; +export type Iso635 = Assert, z.infer< typeof M149.TenantSchema > >>; + +// system/tracing.zod.ts +export type Iso636 = Assert, z.infer< typeof M150.TraceStateSchema > >>; +export type Iso637 = Assert, z.infer< typeof M150.TraceFlagsSchema > >>; +export type Iso638 = Assert, z.infer< typeof M150.SpanKind > >>; +export type Iso639 = Assert, z.infer< typeof M150.SpanStatus > >>; +export type Iso640 = Assert, z.infer< typeof M150.SpanAttributeValueSchema > >>; +export type Iso641 = Assert, z.infer< typeof M150.SpanAttributesSchema > >>; +export type Iso642 = Assert, z.infer< typeof M150.SpanEventSchema > >>; +export type Iso643 = Assert, z.infer< typeof M150.SamplingDecision > >>; +export type Iso644 = Assert, z.infer< typeof M150.SamplingStrategyType > >>; +export type Iso645 = Assert, z.infer< typeof M150.TracePropagationFormat > >>; +export type Iso646 = Assert, z.infer< typeof M150.OtelExporterType > >>; + +// system/training.zod.ts +export type Iso647 = Assert, z.infer< typeof M151.TrainingCategorySchema > >>; +export type Iso648 = Assert, z.infer< typeof M151.TrainingCompletionStatusSchema > >>; +export type Iso649 = Assert, z.infer< typeof M151.TrainingRecordSchema > >>; + +// system/translation.zod.ts +export type Iso650 = Assert, z.infer< typeof M152.FieldTranslationSchema > >>; +export type Iso651 = Assert, z.infer< typeof M152.ActionResultDialogTranslationSchema > >>; +export type Iso652 = Assert, z.infer< typeof M152.ObjectTranslationDataSchema > >>; +export type Iso653 = Assert, z.infer< typeof M152.TranslationDataSchema > >>; +export type Iso654 = Assert, z.infer< typeof M152.TranslationBundleSchema > >>; +export type Iso655 = Assert, z.infer< typeof M152.TranslationConfigSchema > >>; +export type Iso656 = Assert, z.infer< typeof M152.TranslationItemSchema > >>; +export type Iso657 = Assert, z.infer< typeof M152.TranslationDiffStatusSchema > >>; +export type Iso658 = Assert, z.infer< typeof M152.TranslationDiffItemSchema > >>; +export type Iso659 = Assert, z.infer< typeof M152.CoverageBreakdownEntrySchema > >>; +export type Iso660 = Assert, z.infer< typeof M152.TranslationCoverageResultSchema > >>; + +// system/worker.zod.ts +export type Iso661 = Assert, z.infer< typeof M153.TaskPriority > >>; +export type Iso662 = Assert, z.infer< typeof M153.TaskStatus > >>; +export type Iso663 = Assert, z.infer< typeof M153.TaskExecutionResultSchema > >>; +export type Iso664 = Assert, z.infer< typeof M153.WorkerStatsSchema > >>; + +// ui/action-params.zod.ts +export type Iso665 = Assert, z.infer< typeof M154.ActionSessionSchema > >>; + +// ui/action.zod.ts +export type Iso666 = Assert, z.infer< typeof M155.ActionLocationSchema > >>; + +// ui/app.zod.ts +export type Iso667 = Assert, z.infer< typeof M156.AppBrandingSchema > >>; + +// ui/bulk-action.zod.ts +export type Iso668 = Assert, z.infer< typeof M157.BulkActionOperationSchema > >>; +export type Iso669 = Assert, z.infer< typeof M157.BulkActionExecutionSchema > >>; +export type Iso670 = Assert, z.infer< typeof M157.BulkActionParamSchema > >>; + +// ui/chart.zod.ts +export type Iso671 = Assert, z.infer< typeof M158.ChartTypeSchema > >>; +export type Iso672 = Assert, z.infer< typeof M158.ChartAggregateSchema > >>; +export type Iso673 = Assert, z.infer< typeof M158.ChartAggregateFunctionSchema > >>; +export type Iso674 = Assert, z.infer< typeof M158.ChartGroupBySchema > >>; +export type Iso675 = Assert, z.infer< typeof M158.ChartDrillDownSchema > >>; + +// ui/dashboard.zod.ts +export type Iso676 = Assert, z.infer< typeof M159.DashboardWidgetOptionsSchema > >>; +export type Iso677 = Assert, z.infer< typeof M159.DashboardHeaderActionSchema > >>; +export type Iso678 = Assert, z.infer< typeof M159.WidgetColorVariantSchema > >>; +export type Iso679 = Assert, z.infer< typeof M159.WidgetActionTypeSchema > >>; +export type Iso680 = Assert, z.infer< typeof M159.GlobalFilterOptionsFromSchema > >>; + +// ui/dataset.zod.ts +export type Iso681 = Assert, z.infer< typeof M160.DatasetDimensionSchema > >>; +export type Iso682 = Assert, z.infer< typeof M160.DatasetMeasureSchema > >>; +export type Iso683 = Assert, z.infer< typeof M160.DerivedMeasureOp > >>; +export type Iso684 = Assert, z.infer< typeof M160.DatasetSchema > >>; + +// ui/i18n.zod.ts +export type Iso685 = Assert, z.infer< typeof M161.I18nObjectSchema > >>; +export type Iso686 = Assert, z.infer< typeof M161.I18nLabelSchema > >>; +export type Iso687 = Assert, z.infer< typeof M161.AriaPropsSchema > >>; +export type Iso688 = Assert, z.infer< typeof M161.PluralRuleSchema > >>; +export type Iso689 = Assert, z.infer< typeof M161.DateFormatSchema > >>; + +// ui/notification.zod.ts +export type Iso690 = Assert, z.infer< typeof M162.NotificationTypeSchema > >>; +export type Iso691 = Assert, z.infer< typeof M162.NotificationSeveritySchema > >>; +export type Iso692 = Assert, z.infer< typeof M162.NotificationPositionSchema > >>; + +// ui/page.zod.ts +export type Iso693 = Assert, z.infer< typeof M163.PageTypeSchema > >>; +export type Iso694 = Assert, z.infer< typeof M163.ElementDataSourceSchema > >>; + +// ui/report.zod.ts +export type Iso695 = Assert, z.infer< typeof M164.JoinedReportBlockSchema > >>; + +// ui/responsive.zod.ts +export type Iso696 = Assert, z.infer< typeof M165.BreakpointName > >>; +export type Iso697 = Assert, z.infer< typeof M165.ResponsiveConfigSchema > >>; +export type Iso698 = Assert, z.infer< typeof M165.StyleMapSchema > >>; +export type Iso699 = Assert, z.infer< typeof M165.ResponsiveStylesSchema > >>; + +// ui/theme.zod.ts +export type Iso700 = Assert, z.infer< typeof M166.ColorPaletteSchema > >>; +export type Iso701 = Assert, z.infer< typeof M166.TypographySchema > >>; +export type Iso702 = Assert, z.infer< typeof M166.BorderRadiusSchema > >>; +export type Iso703 = Assert, z.infer< typeof M166.ShadowSchema > >>; +export type Iso704 = Assert, z.infer< typeof M166.ThemeModeSchema > >>; + +// ui/view.zod.ts +export type Iso705 = Assert, z.infer< typeof M167.FormButtonConfigSchema > >>; +export type Iso706 = Assert, z.infer< typeof M167.ViewItemSchema > >>; +export type Iso707 = Assert, z.infer< typeof M167.ViewItemWireSchema > >>; +export type Iso708 = Assert, z.infer< typeof M167.ViewScopeSchema > >>; +export type Iso709 = Assert, z.infer< typeof M167.ViewKindSchema > >>; +export type Iso710 = Assert, z.infer< typeof M167.ColumnSummarySchema > >>; +export type Iso711 = Assert, z.infer< typeof M167.ColumnSummaryConfigSchema > >>; +export type Iso712 = Assert, z.infer< typeof M167.RowHeightSchema > >>; +export type Iso713 = Assert, z.infer< typeof M167.RowColorConfigSchema > >>; +export type Iso714 = Assert, z.infer< typeof M167.VisualizationTypeSchema > >>; +export type Iso715 = Assert, z.infer< typeof M167.UserFilterFieldSchema > >>; + +// ui/widget.zod.ts +export type Iso716 = Assert, z.infer< typeof M168.WidgetLifecycleSchema > >>; + +// --------------------------------------------------------------------------- +// Representative spot-checks on the phase-1 ADDITIONS. +// +// Five aliases across three domains, asserting the two facts that make phase 1 +// non-breaking: each new `XParsed` denotes exactly `z.infer`, +// and the bare name it sits next to still denotes the same thing it did before +// the change. The second half is the one worth pinning — phase 1's whole claim +// is that it renames nothing, and this is that claim in a form tsc rejects. +// --------------------------------------------------------------------------- + +export type Spot1 = Assert >>; +export type Spot1Unmoved = Assert >>; +export type Spot2 = Assert >>; +export type Spot2Unmoved = Assert >>; +export type Spot3 = Assert >>; +export type Spot3Unmoved = Assert >>; +export type Spot4 = Assert >>; +export type Spot4Unmoved = Assert >>; +export type Spot5 = Assert< + Eq< ObjectFieldGroupParsed, z.infer< typeof ObjectFieldGroupSchema > > +>; +export type Spot5Unmoved = Assert< + Eq< ObjectFieldGroup, z.infer< typeof ObjectFieldGroupSchema > > +>; + +// Each of the five is in the covered set because its two shapes DIFFER. Assert +// that too, so a spot-check cannot quietly become vacuous by drifting into the +// isomorphic complement — which is precisely how a pin stops testing anything. +type Differs = Eq extends false ? true : false; +export type Spot1Differs = Assert< + Differs< z.input< typeof ConnectorSchema >, z.infer< typeof ConnectorSchema > > +>; +export type Spot3Differs = Assert< + Differs< z.input< typeof ViewSchema >, z.infer< typeof ViewSchema > > +>; + +// --------------------------------------------------------------------------- +// The A-family, untouched. `shared/retry-policy.zod.ts` already spelled the +// ADR-0122 target shape before phase 1, and phase 1 must not have disturbed it: +// the bare name is the AUTHOR state, the parsed state is on `RetryPolicyParsed`. +// --------------------------------------------------------------------------- + +export type AFamilyBareIsAuthorState = Assert< + Eq< RetryPolicy, z.input< typeof RetryPolicySchema > > +>; +export type AFamilyParsedIsParseState = Assert< + Eq< RetryPolicyParsed, z.infer< typeof RetryPolicySchema > > +>; + +// --------------------------------------------------------------------------- +// Runtime companions. Everything above is erased at runtime, so vitest needs a +// body — and these are the facts the type layer cannot state. +// --------------------------------------------------------------------------- + +describe('ADR-0122 type-alias convention', () => { + it('pins 717 isomorphic aliases, each proved by tsc rather than asserted here', () => { + // The proof is this file's compile: every `Iso*` above is an + // `Assert>` tsc rejects the moment the two shapes diverge. This + // case exists so the count shows up in test output and moves only with a + // deliberate edit. + expect(717).toBeGreaterThan(0); + }); + + it('leaves the A-family parse behaviour untouched', () => { + const parsed = RetryPolicySchema.parse({}); + expect(parsed.maxRetries).toBe(0); + expect(parsed.backoffMs).toBe(1000); + expect(parsed.jitter).toBe(false); + }); + + it('keeps every pre-existing B-family export, XInput included', () => { + // Phase 1 is additive: nothing was renamed or removed. `ConnectorInput` + // is the one the qa downstream-contract FROZEN fixtures import by name. + expect(typeof ConnectorSchema.parse).toBe('function'); + const parsedConnector = ConnectorSchema.parse({ + name: 'acme_erp', + label: 'Acme ERP', + type: 'saas', + }); + // The parsed state is what the bare name still denotes in phase 1, and + // what `ConnectorParsed` will keep denoting after the phase-2 flip. + expect(parsedConnector.enabled).toBe(true); + expect(parsedConnector.status).toBe('inactive'); + }); +}); + diff --git a/packages/spec/src/ui/action.zod.ts b/packages/spec/src/ui/action.zod.ts index 257c6564ea..730fa68f72 100644 --- a/packages/spec/src/ui/action.zod.ts +++ b/packages/spec/src/ui/action.zod.ts @@ -536,6 +536,8 @@ export const ActionAiSchema = strictObject({ }); export type ActionAi = z.infer; +/** Post-parse shape of {@link ActionAi} — defaults applied, transforms run (ADR-0122). */ +export type ActionAiParsed = z.infer; /** * The object half of {@link ActionSchema}, before its refinements. @@ -1024,7 +1026,11 @@ export const ActionSchema = lazySchema(() => actionObject().refine((data) => { }).transform((data, ctx) => lowerRequiresFeature(data, ctx))); export type Action = z.infer; +/** Post-parse shape of {@link Action} — defaults applied, transforms run (ADR-0122). */ +export type ActionParsed = z.infer; export type ActionParam = z.infer; +/** Post-parse shape of {@link ActionParam} — defaults applied, transforms run (ADR-0122). */ +export type ActionParamParsed = z.infer; export type ActionInput = z.input; /** @@ -1115,6 +1121,8 @@ export const InlineActionSchema = lazySchema(() => z.preprocess( )); export type InlineAction = z.infer; +/** Post-parse shape of {@link InlineAction} — defaults applied, transforms run (ADR-0122). */ +export type InlineActionParsed = z.infer; export type InlineActionInput = z.input; /** diff --git a/packages/spec/src/ui/app.zod.ts b/packages/spec/src/ui/app.zod.ts index d332804ae6..4c29001739 100644 --- a/packages/spec/src/ui/app.zod.ts +++ b/packages/spec/src/ui/app.zod.ts @@ -631,6 +631,8 @@ export const NavigationContributionSchema = lazySchema(() => z.object({ }), }).strict().describe('A navigation contribution: a package injecting nav items into an app it does not own (ADR-0029 D7)')); export type NavigationContribution = z.infer; +/** Post-parse shape of {@link NavigationContribution} — defaults applied, transforms run (ADR-0122). */ +export type NavigationContributionParsed = z.infer; /** * The authoring shape of a contribution (#4195) — `priority` is `.default(200)` * and each item is a {@link NavigationItemInput}, so this is what a package @@ -995,6 +997,8 @@ export const AppContextSelectorSchema = lazySchema(() => z.object({ }).strict()); export type AppContextSelector = z.infer; +/** Post-parse shape of {@link AppContextSelector} — defaults applied, transforms run (ADR-0122). */ +export type AppContextSelectorParsed = z.infer; /** * Schema for Applications (Apps). @@ -1381,18 +1385,36 @@ export function defineApp(config: z.input): App { // Main Types export type App = z.infer; +/** Post-parse shape of {@link App} — defaults applied, transforms run (ADR-0122). */ +export type AppParsed = z.infer; export type AppInput = z.input; export type AppBranding = z.infer; // `NavigationItem` is declared next to NavigationItemSchema — it IS that // schema's annotation, so it cannot be inferred back out of it (#4171). export type NavigationArea = z.infer; +/** Post-parse shape of {@link NavigationArea} — defaults applied, transforms run (ADR-0122). */ +export type NavigationAreaParsed = z.infer; // Discriminated Item Types (Helper exports) export type ObjectNavItem = z.infer; +/** Post-parse shape of {@link ObjectNavItem} — defaults applied, transforms run (ADR-0122). */ +export type ObjectNavItemParsed = z.infer; export type DashboardNavItem = z.infer; +/** Post-parse shape of {@link DashboardNavItem} — defaults applied, transforms run (ADR-0122). */ +export type DashboardNavItemParsed = z.infer; export type PageNavItem = z.infer; +/** Post-parse shape of {@link PageNavItem} — defaults applied, transforms run (ADR-0122). */ +export type PageNavItemParsed = z.infer; export type UrlNavItem = z.infer; +/** Post-parse shape of {@link UrlNavItem} — defaults applied, transforms run (ADR-0122). */ +export type UrlNavItemParsed = z.infer; export type ReportNavItem = z.infer; +/** Post-parse shape of {@link ReportNavItem} — defaults applied, transforms run (ADR-0122). */ +export type ReportNavItemParsed = z.infer; export type ActionNavItem = z.infer; +/** Post-parse shape of {@link ActionNavItem} — defaults applied, transforms run (ADR-0122). */ +export type ActionNavItemParsed = z.infer; export type ComponentNavItem = z.infer; +/** Post-parse shape of {@link ComponentNavItem} — defaults applied, transforms run (ADR-0122). */ +export type ComponentNavItemParsed = z.infer; export type GroupNavItem = z.infer & { children: NavigationItem[] }; diff --git a/packages/spec/src/ui/bulk-action.zod.ts b/packages/spec/src/ui/bulk-action.zod.ts index 06c1c247e2..7683ecc74c 100644 --- a/packages/spec/src/ui/bulk-action.zod.ts +++ b/packages/spec/src/ui/bulk-action.zod.ts @@ -276,3 +276,5 @@ export const BulkActionDefSchema = lazySchema(() => z.object({ } })); export type BulkActionDef = z.infer; +/** Post-parse shape of {@link BulkActionDef} — defaults applied, transforms run (ADR-0122). */ +export type BulkActionDefParsed = z.infer; diff --git a/packages/spec/src/ui/chart.zod.ts b/packages/spec/src/ui/chart.zod.ts index 23516cbdbe..729c42ea67 100644 --- a/packages/spec/src/ui/chart.zod.ts +++ b/packages/spec/src/ui/chart.zod.ts @@ -789,11 +789,21 @@ export const ChartAggregateSchema = lazySchema(() => ); export type ChartConfig = z.infer; +/** Post-parse shape of {@link ChartConfig} — defaults applied, transforms run (ADR-0122). */ +export type ChartConfigParsed = z.infer; export type ChartAggregate = z.infer; export type ChartAggregateFunction = z.infer; export type ChartGroupBy = z.infer; export type ChartAxis = z.infer; +/** Post-parse shape of {@link ChartAxis} — defaults applied, transforms run (ADR-0122). */ +export type ChartAxisParsed = z.infer; export type ChartSeries = z.infer; +/** Post-parse shape of {@link ChartSeries} — defaults applied, transforms run (ADR-0122). */ +export type ChartSeriesParsed = z.infer; export type ChartAnnotation = z.infer; +/** Post-parse shape of {@link ChartAnnotation} — defaults applied, transforms run (ADR-0122). */ +export type ChartAnnotationParsed = z.infer; export type ChartInteraction = z.infer; +/** Post-parse shape of {@link ChartInteraction} — defaults applied, transforms run (ADR-0122). */ +export type ChartInteractionParsed = z.infer; export type ChartDrillDown = z.infer; diff --git a/packages/spec/src/ui/dashboard.zod.ts b/packages/spec/src/ui/dashboard.zod.ts index f8bf8f0f3a..bf8f054b87 100644 --- a/packages/spec/src/ui/dashboard.zod.ts +++ b/packages/spec/src/ui/dashboard.zod.ts @@ -807,14 +807,22 @@ export const DashboardSchema = lazySchema(() => strictObject({ })); export type Dashboard = z.infer; +/** Post-parse shape of {@link Dashboard} — defaults applied, transforms run (ADR-0122). */ +export type DashboardParsed = z.infer; export type DashboardInput = z.input; export type DashboardWidget = z.infer; +/** Post-parse shape of {@link DashboardWidget} — defaults applied, transforms run (ADR-0122). */ +export type DashboardWidgetParsed = z.infer; export type DashboardWidgetOptions = z.infer; export type DashboardHeader = z.infer; +/** Post-parse shape of {@link DashboardHeader} — defaults applied, transforms run (ADR-0122). */ +export type DashboardHeaderParsed = z.infer; export type DashboardHeaderAction = z.infer; export type WidgetColorVariant = z.infer; export type WidgetActionType = z.infer; export type GlobalFilter = z.infer; +/** Post-parse shape of {@link GlobalFilter} — defaults applied, transforms run (ADR-0122). */ +export type GlobalFilterParsed = z.infer; export type GlobalFilterOptionsFrom = z.infer; /** diff --git a/packages/spec/src/ui/i18n.zod.ts b/packages/spec/src/ui/i18n.zod.ts index f126bd5a7a..aa6d308e93 100644 --- a/packages/spec/src/ui/i18n.zod.ts +++ b/packages/spec/src/ui/i18n.zod.ts @@ -224,6 +224,8 @@ export const NumberFormatSchema = lazySchema(() => z.object({ }).describe('Number formatting rules')); export type NumberFormat = z.infer; +/** Post-parse shape of {@link NumberFormat} — defaults applied, transforms run (ADR-0122). */ +export type NumberFormatParsed = z.infer; /** * Date Format Schema @@ -287,3 +289,5 @@ export const LocaleConfigSchema = lazySchema(() => z.object({ }).describe('Locale configuration')); export type LocaleConfig = z.infer; +/** Post-parse shape of {@link LocaleConfig} — defaults applied, transforms run (ADR-0122). */ +export type LocaleConfigParsed = z.infer; diff --git a/packages/spec/src/ui/page.zod.ts b/packages/spec/src/ui/page.zod.ts index 5e145b5be8..477aef9ef3 100644 --- a/packages/spec/src/ui/page.zod.ts +++ b/packages/spec/src/ui/page.zod.ts @@ -545,6 +545,8 @@ export const PageSchema = lazySchema(() => strictObject({ // (all removed — unrendered roadmap / "required-but-unauthorable" Studio traps). export type Page = z.infer; +/** Post-parse shape of {@link Page} — defaults applied, transforms run (ADR-0122). */ +export type PageParsed = z.infer; /** Authoring input for {@link Page} — defaulted fields are optional. */ export type PageInput = z.input; @@ -558,7 +560,15 @@ export function definePage(config: z.input): Page { } export type PageType = z.infer; export type PageComponent = z.infer; +/** Post-parse shape of {@link PageComponent} — defaults applied, transforms run (ADR-0122). */ +export type PageComponentParsed = z.infer; export type PageRegion = z.infer; +/** Post-parse shape of {@link PageRegion} — defaults applied, transforms run (ADR-0122). */ +export type PageRegionParsed = z.infer; export type PageVariable = z.infer; +/** Post-parse shape of {@link PageVariable} — defaults applied, transforms run (ADR-0122). */ +export type PageVariableParsed = z.infer; export type ElementDataSource = z.infer; export type InterfacePageConfig = z.infer; +/** Post-parse shape of {@link InterfacePageConfig} — defaults applied, transforms run (ADR-0122). */ +export type InterfacePageConfigParsed = z.infer; diff --git a/packages/spec/src/ui/report.zod.ts b/packages/spec/src/ui/report.zod.ts index bf48628771..6d98f5beb8 100644 --- a/packages/spec/src/ui/report.zod.ts +++ b/packages/spec/src/ui/report.zod.ts @@ -414,8 +414,14 @@ export type JoinedReportBlockInput = z.input; * which allow optional fields with defaults to be omitted. */ export type Report = z.infer; +/** Post-parse shape of {@link Report} — defaults applied, transforms run (ADR-0122). */ +export type ReportParsed = z.infer; export type ReportChart = z.infer; +/** Post-parse shape of {@link ReportChart} — defaults applied, transforms run (ADR-0122). */ +export type ReportChartParsed = z.infer; export type ReportSort = z.infer; +/** Post-parse shape of {@link ReportSort} — defaults applied, transforms run (ADR-0122). */ +export type ReportSortParsed = z.infer; /** * Input Types for Report Configuration diff --git a/packages/spec/src/ui/sharing.zod.ts b/packages/spec/src/ui/sharing.zod.ts index 876667d5b0..d35a9db67e 100644 --- a/packages/spec/src/ui/sharing.zod.ts +++ b/packages/spec/src/ui/sharing.zod.ts @@ -140,3 +140,5 @@ export const SharingConfigSchema = lazySchema(() => strictObject({ // Type Exports export type SharingConfig = z.infer; +/** Post-parse shape of {@link SharingConfig} — defaults applied, transforms run (ADR-0122). */ +export type SharingConfigParsed = z.infer; diff --git a/packages/spec/src/ui/theme.zod.ts b/packages/spec/src/ui/theme.zod.ts index 3f97853e85..a3954aa8d1 100644 --- a/packages/spec/src/ui/theme.zod.ts +++ b/packages/spec/src/ui/theme.zod.ts @@ -469,6 +469,8 @@ export const ThemeSchema = lazySchema(() => strictObject( )); export type Theme = z.infer; +/** Post-parse shape of {@link Theme} — defaults applied, transforms run (ADR-0122). */ +export type ThemeParsed = z.infer; /** Authoring input for {@link Theme} — defaulted fields are optional. */ export type ThemeInput = z.input; diff --git a/packages/spec/src/ui/view.zod.ts b/packages/spec/src/ui/view.zod.ts index 9a38378c8b..7c625e4865 100644 --- a/packages/spec/src/ui/view.zod.ts +++ b/packages/spec/src/ui/view.zod.ts @@ -417,6 +417,8 @@ export const ViewFilterRuleSchema = lazySchema(() => strictObject({ }).describe('View filter rule')); export type ViewFilterRule = z.infer; +/** Post-parse shape of {@link ViewFilterRule} — defaults applied, transforms run (ADR-0122). */ +export type ViewFilterRuleParsed = z.infer; /** * Column Summary Function Schema @@ -2627,23 +2629,43 @@ export function defineForm( } export type View = z.infer; +/** Post-parse shape of {@link View} — defaults applied, transforms run (ADR-0122). */ +export type ViewParsed = z.infer; export type ViewItem = z.infer; /** A ViewItem record as it travels the WIRE — the authoring shape plus Studio's round-trip keys (#5074). */ export type ViewItemWire = z.infer; /** Any persisted `view` metadata body: container | ViewItem record | flattened overlay (#3095). */ export type ViewMetadata = z.infer; +/** Post-parse shape of {@link ViewMetadata} — defaults applied, transforms run (ADR-0122). */ +export type ViewMetadataParsed = z.infer; export type ViewScope = z.infer; export type ViewKind = z.infer; export type ListView = z.infer; +/** Post-parse shape of {@link ListView} — defaults applied, transforms run (ADR-0122). */ +export type ListViewParsed = z.infer; export type FormView = z.infer; +/** Post-parse shape of {@link FormView} — defaults applied, transforms run (ADR-0122). */ +export type FormViewParsed = z.infer; export type FormSection = z.infer; +/** Post-parse shape of {@link FormSection} — defaults applied, transforms run (ADR-0122). */ +export type FormSectionParsed = z.infer; export type ListColumn = z.infer; +/** Post-parse shape of {@link ListColumn} — defaults applied, transforms run (ADR-0122). */ +export type ListColumnParsed = z.infer; // `FormField` is declared next to FormFieldSchema — it IS that schema's // annotation, so it cannot be inferred back out of it (#4171). export type SelectionConfig = z.infer; +/** Post-parse shape of {@link SelectionConfig} — defaults applied, transforms run (ADR-0122). */ +export type SelectionConfigParsed = z.infer; export type NavigationConfig = z.infer; +/** Post-parse shape of {@link NavigationConfig} — defaults applied, transforms run (ADR-0122). */ +export type NavigationConfigParsed = z.infer; export type PaginationConfig = z.infer; +/** Post-parse shape of {@link PaginationConfig} — defaults applied, transforms run (ADR-0122). */ +export type PaginationConfigParsed = z.infer; export type ViewData = z.infer; +/** Post-parse shape of {@link ViewData} — defaults applied, transforms run (ADR-0122). */ +export type ViewDataParsed = z.infer; // `HttpRequest` is NOT inferred here — it is re-exported from its single // declaration in `shared/http.zod.ts` next to the schema re-export at the top of // this file (#4688). Re-adding `= z.infer` below would @@ -2661,17 +2683,39 @@ export type ViewData = z.infer; export type ColumnSummary = z.infer; export type ColumnSummaryConfig = z.infer; export type ColumnPrefix = z.infer; +/** Post-parse shape of {@link ColumnPrefix} — defaults applied, transforms run (ADR-0122). */ +export type ColumnPrefixParsed = z.infer; export type RowHeight = z.infer; export type GroupingConfig = z.infer; +/** Post-parse shape of {@link GroupingConfig} — defaults applied, transforms run (ADR-0122). */ +export type GroupingConfigParsed = z.infer; export type GalleryConfig = z.infer; +/** Post-parse shape of {@link GalleryConfig} — defaults applied, transforms run (ADR-0122). */ +export type GalleryConfigParsed = z.infer; export type TimelineConfig = z.infer; +/** Post-parse shape of {@link TimelineConfig} — defaults applied, transforms run (ADR-0122). */ +export type TimelineConfigParsed = z.infer; export type ListChartConfig = z.infer; +/** Post-parse shape of {@link ListChartConfig} — defaults applied, transforms run (ADR-0122). */ +export type ListChartConfigParsed = z.infer; export type ViewSharing = z.infer; +/** Post-parse shape of {@link ViewSharing} — defaults applied, transforms run (ADR-0122). */ +export type ViewSharingParsed = z.infer; export type RowColorConfig = z.infer; export type VisualizationType = z.infer; export type UserActionsConfig = z.infer; +/** Post-parse shape of {@link UserActionsConfig} — defaults applied, transforms run (ADR-0122). */ +export type UserActionsConfigParsed = z.infer; export type AppearanceConfig = z.infer; +/** Post-parse shape of {@link AppearanceConfig} — defaults applied, transforms run (ADR-0122). */ +export type AppearanceConfigParsed = z.infer; export type ViewTab = z.infer; +/** Post-parse shape of {@link ViewTab} — defaults applied, transforms run (ADR-0122). */ +export type ViewTabParsed = z.infer; export type UserFilterField = z.infer; export type UserFilters = z.infer; +/** Post-parse shape of {@link UserFilters} — defaults applied, transforms run (ADR-0122). */ +export type UserFiltersParsed = z.infer; export type AddRecordConfig = z.infer; +/** Post-parse shape of {@link AddRecordConfig} — defaults applied, transforms run (ADR-0122). */ +export type AddRecordConfigParsed = z.infer; diff --git a/packages/spec/src/ui/widget.zod.ts b/packages/spec/src/ui/widget.zod.ts index 502d8a5ba0..a1aa2d96d8 100644 --- a/packages/spec/src/ui/widget.zod.ts +++ b/packages/spec/src/ui/widget.zod.ts @@ -184,6 +184,8 @@ export const WidgetEventSchema = lazySchema(() => z.object({ })); export type WidgetEvent = z.infer; +/** Post-parse shape of {@link WidgetEvent} — defaults applied, transforms run (ADR-0122). */ +export type WidgetEventParsed = z.infer; /** * Widget Property Definition Schema @@ -256,6 +258,8 @@ export const WidgetPropertySchema = lazySchema(() => z.object({ })); export type WidgetProperty = z.infer; +/** Post-parse shape of {@link WidgetProperty} — defaults applied, transforms run (ADR-0122). */ +export type WidgetPropertyParsed = z.infer; /** * Widget Manifest Schema @@ -304,6 +308,8 @@ export const WidgetSourceSchema = lazySchema(() => z.discriminatedUnion('type', ])); export type WidgetSource = z.infer; +/** Post-parse shape of {@link WidgetSource} — defaults applied, transforms run (ADR-0122). */ +export type WidgetSourceParsed = z.infer; export const WidgetManifestSchema = lazySchema(() => z.object({ /** @@ -417,6 +423,8 @@ export const WidgetManifestSchema = lazySchema(() => z.object({ })); export type WidgetManifest = z.infer; +/** Post-parse shape of {@link WidgetManifest} — defaults applied, transforms run (ADR-0122). */ +export type WidgetManifestParsed = z.infer; /** * Field Widget Props Schema @@ -491,3 +499,5 @@ export const FieldWidgetPropsSchema = lazySchema(() => z.object({ * TypeScript type for Field Widget Props */ export type FieldWidgetProps = z.infer; +/** Post-parse shape of {@link FieldWidgetProps} — defaults applied, transforms run (ADR-0122). */ +export type FieldWidgetPropsParsed = z.infer; diff --git a/scripts/adr-anchors.json b/scripts/adr-anchors.json index ff96221b80..11760f35fb 100644 --- a/scripts/adr-anchors.json +++ b/scripts/adr-anchors.json @@ -248,6 +248,20 @@ "ADR-0076" ], "invariant": "The concrete instance of D11's registration-ownership rule: the `i18n` slot is MULTI-PROVIDER — I18nServicePlugin when service-i18n is installed, else the AppPlugin in-memory fallback auto-registered for stacks that declare translation bundles — so the dispatcher registers this route, not the provider. Moving `/i18n` registration into service-i18n, the obvious-looking 'the owning package should own its route' cleanup, 404s every stack served by the other provider. The extracted body also keeps the legacy matching semantics deliberately (`match: 'prefix'`, so `/i18nxx` matches too, exactly as the old `startsWith` chain did): normalizing that edge is a behaviour change for the http-conformance suite to re-pin, not a tidy-up to slip into an unrelated diff. The 501 on an unserveable slot is D12's honest-capability rule and is narrow on purpose — both real in-memory providers self-declare `degraded` with `handlerReady: true` and keep serving, so the gate closes only on an occupant that would answer with invented strings." + }, + { + "file": "packages/spec/src/type-alias-convention.pin.test.ts", + "adrs": [ + "ADR-0122" + ], + "invariant": "ADR-0122 D6: this file is the EXEMPTION REGISTRY for the type-alias convention, and its assertions are the only thing making the exemption honest. Each line says `z.input` and `z.infer` of one schema are the same type, which is why that schema's bare alias is allowed to have no `XParsed` (D3 — a permanent synonym is a name an author can only pick wrongly). Isomorphism is not declared by anyone; it is a fact about the schema tree, and it ROTS the day a nested field gains a `.default()` / `.transform()` / `.catch()` / `.pipe()`. Deleting a red line to make the build pass re-opens exactly the hole phase 1 closed: the alias silently joins the shape-diff set and the phase-2 flip of the bare name breaks its consumers with no migration target. The fix for a red line is always the same and is never deletion alone — declare `XParsed` next to the bare alias, THEN delete the pin. `scripts/check-spec-parsed-alias.mjs` reads this file as its registry, so a pin removed without its alias turns that gate red too." + }, + { + "file": "scripts/check-spec-parsed-alias.mjs", + "adrs": [ + "ADR-0122" + ], + "invariant": "ADR-0122 D7: every bare `z.infer` alias in `packages/spec/src/**/*.zod.ts` must either be paired with its `XParsed` or be pinned isomorphic in the pin file. The exemption list deliberately does NOT live in this script — it lives in the pin file where tsc proves each entry, because an exemption a comment merely asserts is the declared-but-unenforced shape this repo keeps paying to fix. Moving the list in here to 'simplify' the gate would make it a phantom check. The gate also belongs HERE rather than in `packages/lint`: that package's contract is an in-memory metadata graph with 'no I/O, no runtime, no filesystem', and a rule reading our own TypeScript source cannot live there." } ] } diff --git a/scripts/check-spec-parsed-alias.mjs b/scripts/check-spec-parsed-alias.mjs new file mode 100644 index 0000000000..6999ef67d7 --- /dev/null +++ b/scripts/check-spec-parsed-alias.mjs @@ -0,0 +1,350 @@ +#!/usr/bin/env node +// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. + +/** + * ADR-0122 backflow guard — every schema with two shapes names both of them. + * + * ## The failure this exists for + * + * `packages/spec` spelled the same idea two ways for as long as it has existed, + * and nobody knew which one was the house convention until #5551 measured it. + * 1384 bare aliases read `z.infer` (the PARSED state) while 86 read `z.input` + * (the AUTHOR state), and three separate first-hand sources described the + * second, 8-file group as "the house convention" while it was in fact the + * minority. An author — human or agent — reading one file could not tell which + * dialect they were in, so `const c: Connector = { ... }` compiled in one domain + * and failed in the next. + * + * ADR-0122 settles it: the **bare name is the author state** and **`XParsed` is + * the parsed state**. Flipping 1384 aliases is a major-window change, so phase 1 + * moves in the one direction that breaks nothing — it declares `XParsed` + * wherever the parsed state is a distinct type, giving every consumer a name + * that survives the flip. This guard is what stops phase 1 from decaying between + * now and then. + * + * ## What it checks + * + * For every `export type X = z.infer` in + * `packages/spec/src/**\/*.zod.ts` whose name is BARE (does not already end in + * `Parsed` or `Input`), exactly one of these must hold: + * + * 1. the same file also declares `export type XParsed = z.infer` + * — the schema's parsed state has its own name, so the phase-2 flip has a + * migration target; or + * 2. `XSchema` is pinned in `packages/spec/src/type-alias-convention.pin.test.ts` + * as isomorphic — `z.input` and `z.infer` are the same type, so the flip + * changes nothing observable and a second name would be a synonym an + * author can only pick wrongly. + * + * A new alias that is neither is exactly the backflow: it lands looking like + * every other alias and silently owes a migration target nobody will remember. + * + * ## Why the pin file is the registry, and not a list in here + * + * Option 2 is a claim about types, and a claim about types that only a comment + * asserts is the "declared but unenforced" shape this repo keeps paying to fix. + * Isomorphism also ROTS: add a `.default()` three levels down and an alias joins + * the shape-diff set with no signal at all. + * + * So the exemption list is not kept here — it is kept as compile-time assertions + * in the pin file, where tsc proves every entry true on the same run that + * type-checks the package, and goes red the day one stops being true. This + * script only reads which schemas are pinned. One artifact, two jobs: a + * machine-readable exemption list that cannot be stated falsely. + * + * ## Why here and not in `packages/lint` + * + * `@objectstack/lint` validates an in-memory, schema-parsed **metadata graph** — + * its module header states the contract: "no I/O, no runtime, no filesystem". + * A rule about the shape of our own TypeScript source cannot live there without + * breaking that contract, and it would be the only rule in the package that + * reads a file. This is a source-shape guard, so it joins the source-shape guard + * family (`check:error-code-casing`, `check:route-envelope`, + * `check:engine-double-contract`, ...) which runs in lint.yml's `lint` job. + * + * Run `--self-test` to prove the matcher against known-good and known-bad + * samples before trusting a green run. + */ + +import { readFileSync, readdirSync, statSync } from 'node:fs'; +import { join, relative } from 'node:path'; + +const ROOT = new URL('..', import.meta.url).pathname.replace(/\/$/, ''); +const SPEC_SRC = join(ROOT, 'packages/spec/src'); +const PIN_FILE = join(SPEC_SRC, 'type-alias-convention.pin.test.ts'); + +/** + * `export type Name = z.infer;` — the declaration this guard is + * about. Whitespace and line breaks are tolerated because prettier wraps the + * long ones. + */ +const INFER_ALIAS = /export type ([A-Za-z0-9_]+)\s*=\s*z\.infer<\s*typeof ([A-Za-z0-9_]+)\s*>\s*;/g; + +/** A name is BARE when it claims neither state explicitly. */ +function isBareName(name) { + return !name.endsWith('Parsed') && !name.endsWith('Input'); +} + +function walkZodFiles(dir, out = []) { + for (const entry of readdirSync(dir)) { + const p = join(dir, entry); + if (statSync(p).isDirectory()) walkZodFiles(p, out); + else if (entry.endsWith('.zod.ts')) out.push(p); + } + return out; +} + +/** + * Reads the pin file's isomorphic registry: the `import type * as Mn from + * './path.js'` lines give the module map, and each `z.input< typeof Mn.Schema >` + * occurrence names one pinned schema. + * + * @returns {Set} entries of the form `relative/path.ts::SchemaName` + */ +export function readIsomorphicPins(pinSource) { + const modules = new Map(); + for (const m of pinSource.matchAll( + /import type \* as ([A-Za-z0-9_]+) from '\.\/(.+?)\.js';/g, + )) { + modules.set(m[1], `${m[2]}.ts`); + } + const pins = new Set(); + for (const m of pinSource.matchAll( + /z\.input<\s*typeof ([A-Za-z0-9_]+)\.([A-Za-z0-9_]+)\s*>/g, + )) { + const file = modules.get(m[1]); + if (file) pins.add(`${file}::${m[2]}`); + } + return pins; +} + +/** + * The whole verdict, over a virtual corpus so `--self-test` can drive it. + * + * @param {Map} files relative path -> source text + * @param {Set} pins `path::Schema` entries proved isomorphic + */ +export function findViolations(files, pins) { + const violations = []; + /** Schemas whose bare alias is exempt BECAUSE of a pin — the pins still earning their keep. */ + const reliedOnPins = new Set(); + + for (const [file, source] of files) { + const parsedAliases = new Set(); + INFER_ALIAS.lastIndex = 0; + for (const m of source.matchAll(INFER_ALIAS)) { + if (m[1].endsWith('Parsed')) parsedAliases.add(`${m[1]}::${m[2]}`); + } + INFER_ALIAS.lastIndex = 0; + for (const m of source.matchAll(INFER_ALIAS)) { + const [, name, schema] = m; + if (!isBareName(name)) continue; + const key = `${file}::${schema}`; + if (parsedAliases.has(`${name}Parsed::${schema}`)) continue; + if (pins.has(key)) { + reliedOnPins.add(key); + continue; + } + violations.push({ + kind: 'missing-parsed-alias', + file, + name, + schema, + message: + `\`${name}\` names the PARSED state of \`${schema}\`, but ADR-0122 reserves the ` + + `bare name for the AUTHOR state. Declare \`export type ${name}Parsed = ` + + `z.infer;\` next to it so the phase-2 flip has a migration ` + + `target — or, if \`z.input\` and \`z.infer\` of \`${schema}\` are the same type, ` + + `pin it in packages/spec/src/type-alias-convention.pin.test.ts instead.`, + }); + } + } + + // A pin that no longer describes a bare uncovered alias is stale: it either + // names a schema that gained an `XParsed` (so the pin is now dead weight) or a + // schema/alias that no longer exists. Left alone, a stale pin silently + // exempts a name that comes back later. + for (const pin of pins) { + if (!reliedOnPins.has(pin)) { + const [file, schema] = pin.split('::'); + violations.push({ + kind: 'stale-pin', + file, + schema, + message: + `\`${schema}\` is pinned as isomorphic in the ADR-0122 pin file, but no bare ` + + `\`z.infer\` alias in ${file} relies on that exemption any more. Delete the pin ` + + `line; the assertion is no longer load-bearing.`, + }); + } + } + + return violations; +} + +function loadCorpus() { + const files = new Map(); + for (const abs of walkZodFiles(SPEC_SRC)) { + files.set(relative(SPEC_SRC, abs), readFileSync(abs, 'utf8')); + } + return files; +} + +function selfTest() { + const failures = []; + const check = (label, actual, expected) => { + if (actual !== expected) failures.push(`${label}: expected ${expected}, got ${actual}`); + }; + + const pinSample = ` +import type * as M0 from './demo/enum.zod.js'; +export type Iso0 = Assert, z.infer< typeof M0.ColourSchema > >>; +`; + const pins = readIsomorphicPins(pinSample); + check('pin parser reads one entry', pins.size, 1); + check('pin parser keys by path::Schema', pins.has('demo/enum.zod.ts::ColourSchema'), true); + + // GOOD: bare alias paired with its XParsed. + check( + 'paired alias passes', + findViolations( + new Map([ + [ + 'demo/a.zod.ts', + 'export type Widget = z.infer;\n' + + 'export type WidgetParsed = z.infer;\n', + ], + ]), + new Set(), + ).length, + 0, + ); + + // GOOD: bare alias exempted by a pin. + check( + 'pinned alias passes', + findViolations( + new Map([['demo/enum.zod.ts', 'export type Colour = z.infer;\n']]), + new Set(['demo/enum.zod.ts::ColourSchema']), + ).length, + 0, + ); + + // BAD: bare alias with neither. + const bare = findViolations( + new Map([['demo/a.zod.ts', 'export type Widget = z.infer;\n']]), + new Set(), + ); + check('unpaired, unpinned alias is reported', bare.length, 1); + check('...with the right kind', bare[0]?.kind, 'missing-parsed-alias'); + check('...naming the alias', bare[0]?.name, 'Widget'); + + // BAD: the pin must be schema-accurate, not merely same-file. + check( + 'a pin on a different schema does not exempt', + findViolations( + new Map([['demo/a.zod.ts', 'export type Widget = z.infer;\n']]), + new Set(['demo/a.zod.ts::OtherSchema']), + ).filter((v) => v.kind === 'missing-parsed-alias').length, + 1, + ); + + // BAD: an XParsed on a DIFFERENT schema does not cover this alias — the #4984 + // shape, where a companion that names the wrong thing reads as coverage. + check( + 'an XParsed bound to another schema does not cover', + findViolations( + new Map([ + [ + 'demo/a.zod.ts', + 'export type Widget = z.infer;\n' + + 'export type WidgetParsed = z.infer;\n', + ], + ]), + new Set(), + ).filter((v) => v.kind === 'missing-parsed-alias').length, + 1, + ); + + // Names that already declare their state are not this guard's business. + check( + 'XInput and XParsed declarations are not themselves bare aliases', + findViolations( + new Map([ + [ + 'demo/a.zod.ts', + 'export type WidgetInput = z.input;\n' + + 'export type WidgetParsed = z.infer;\n', + ], + ]), + new Set(), + ).length, + 0, + ); + + // Stale pin detection. + const stale = findViolations( + new Map([ + [ + 'demo/a.zod.ts', + 'export type Widget = z.infer;\n' + + 'export type WidgetParsed = z.infer;\n', + ], + ]), + new Set(['demo/a.zod.ts::WidgetSchema']), + ); + check('a pin made redundant by an XParsed is reported', stale.length, 1); + check('...as stale-pin', stale[0]?.kind, 'stale-pin'); + + // A prettier-wrapped declaration must still match. + check( + 'line-wrapped declaration is matched', + findViolations( + new Map([ + [ + 'demo/a.zod.ts', + 'export type VeryLongWidgetName =\n z.infer<\n typeof VeryLongWidgetNameSchema\n >;\n', + ], + ]), + new Set(), + ).length, + 1, + ); + + if (failures.length > 0) { + console.error('check-spec-parsed-alias --self-test FAILED:'); + for (const f of failures) console.error(' - ' + f); + process.exit(1); + } + console.log('check-spec-parsed-alias --self-test: 11 assertions passed'); +} + +if (process.argv.includes('--self-test')) { + selfTest(); +} else { + const pins = readIsomorphicPins(readFileSync(PIN_FILE, 'utf8')); + const files = loadCorpus(); + const violations = findViolations(files, pins); + + if (violations.length > 0) { + console.error( + `\nADR-0122: ${violations.length} type-alias convention violation(s) in packages/spec.\n`, + ); + for (const v of violations) { + console.error(` ${v.file}${v.name ? ` — ${v.name}` : ''}`); + console.error(` ${v.message}\n`); + } + console.error(' Decision: docs/adr/0122-schema-type-alias-naming-convention.md\n'); + process.exit(1); + } + + const bareCount = [...files.values()].reduce((n, src) => { + let c = 0; + for (const m of src.matchAll(INFER_ALIAS)) if (isBareName(m[1])) c++; + return n + c; + }, 0); + console.log( + `ADR-0122 type-alias convention: ${bareCount} bare z.infer aliases, ` + + `${pins.size} pinned isomorphic, ${bareCount - pins.size} paired with an XParsed. OK`, + ); +} From 5077bc6e907dd920be985ed592f6f66e9868ef8a Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 6 Aug 2026 17:16:21 +0000 Subject: [PATCH 2/3] chore(spec): regenerate api-surface + pin-count test for ADR-0122 phase 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - api-surface.json: +637 export names, 0 removed. 660 aliases were declared; 23 live in modules no public entry point re-exports. - json-schema/ and authorable-surface.json verified unchanged — `XParsed` is a pure type alias, so `gen:schema` / `gen:openapi` produce no diff at all. - the pin file's count case now reads the pin count out of the source instead of asserting a literal against itself. tsc proves each pin is TRUE; nothing proved they were still THERE, so a red pin could be made green by deleting it. Counting them makes that edit fail `pnpm test` too. - ADR appendix: 151 files edited (not 152 — `automation/execution.zod.ts`'s three differing aliases already had their `XParsed`), plus the two findings the gate produced on its first real run. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_011M7UwH25Unfi73UHim7ajY --- ...122-schema-type-alias-naming-convention.md | 22 +- packages/spec/api-surface.json | 637 ++++++++++++++++++ .../src/type-alias-convention.pin.test.ts | 23 +- 3 files changed, 675 insertions(+), 7 deletions(-) diff --git a/docs/adr/0122-schema-type-alias-naming-convention.md b/docs/adr/0122-schema-type-alias-naming-convention.md index bfd822bccd..53afe0a74d 100644 --- a/docs/adr/0122-schema-type-alias-naming-convention.md +++ b/docs/adr/0122-schema-type-alias-naming-convention.md @@ -261,7 +261,7 @@ was found. | | count | |:---|---:| | `XParsed` aliases added | **660** | -| `*.zod.ts` files touched | **152** | +| `*.zod.ts` files edited | **151** | | existing declarations modified, renamed or removed | **0** | | schemas pinned isomorphic | **717** | | final: bare `z.infer` aliases paired with an `XParsed` | 667 | @@ -271,3 +271,23 @@ was found. The 667 is 663 covered by D5 plus 4 isomorphic aliases in `automation/execution.zod.ts` that already carried an `XParsed` from a half-finished earlier pass; those are left alone (D4 removes nothing) and simply do not need a pin. + +151 files were edited rather than the 152 that contain a differing alias, because +`automation/execution.zod.ts`'s three differing aliases already had their `XParsed`. + +### G. Two findings the gate produced on its first real run + +Worth recording because they are the evidence that the gate is not a tautology over +the same census that generated the change: + +1. **`ServiceObject`** (`data/object.zod.ts`) was invisible to the probe — its schema + `ObjectSchemaBase` is not exported, so no module-level assertion could reach it. The + gate reported it as neither paired nor pinned; a separate assertion through the + already-exported `ServiceObjectInput` / `ServiceObject` pair confirmed the two shapes + differ, and it received `ServiceObjectParsed` like any other covered alias. +2. **Four redundant pins** in `automation/execution.zod.ts`. Those schemas are + isomorphic *and* already carried an `XParsed`, so the generated pin list proposed an + exemption nothing relied on. The stale-pin arm caught all four, and they were dropped. + +Both are cases where the census and the gate disagreed and the gate was right, which is +the property that makes it worth running. diff --git a/packages/spec/api-surface.json b/packages/spec/api-surface.json index 8690146b4d..0afb9ed14d 100644 --- a/packages/spec/api-surface.json +++ b/packages/spec/api-surface.json @@ -79,6 +79,7 @@ "ObjectStack (type)", "ObjectStackDefinition (type)", "ObjectStackDefinitionInput (type)", + "ObjectStackDefinitionParsed (type)", "ObjectStackDefinitionSchema (const)", "ObjectStackSchema (const)", "P (const)", @@ -225,6 +226,7 @@ "ComparisonOperatorSchema (const)", "Compatibility (type)", "ConditionalValidation (type)", + "ConditionalValidationParsed (type)", "ConditionalValidationSchema (const)", "ConsistencyLevel (type)", "ConsistencyLevelSchema (const)", @@ -232,15 +234,19 @@ "ContextTokenPlaceholderSchema (const)", "ContextTokenSchema (const)", "CrossFieldValidation (type)", + "CrossFieldValidationParsed (type)", "CrossFieldValidationSchema (const)", "CrudAffordances (interface)", "Cube (type)", "CubeInput (type)", "CubeJoin (type)", + "CubeJoinParsed (type)", "CubeJoinSchema (const)", + "CubeParsed (type)", "CubeSchema (const)", "CurrencyConfig (type)", "CurrencyConfigInput (type)", + "CurrencyConfigParsed (type)", "CurrencyConfigSchema (const)", "CurrencyValue (type)", "CurrencyValueSchema (const)", @@ -280,10 +286,13 @@ "DataEngineInsertOptionsSchema (const)", "DataEngineInsertRequestSchema (const)", "DataEngineQueryOptions (type)", + "DataEngineQueryOptionsParsed (type)", "DataEngineQueryOptionsSchema (const)", "DataEngineRequest (type)", + "DataEngineRequestParsed (type)", "DataEngineRequestSchema (const)", "DataEngineSort (type)", + "DataEngineSortParsed (type)", "DataEngineSortSchema (const)", "DataEngineUpdateOptions (type)", "DataEngineUpdateOptionsSchema (const)", @@ -293,6 +302,7 @@ "DataTypeMappingSchema (const)", "Datasource (type)", "DatasourceInput (type)", + "DatasourceParsed (type)", "DatasourceSchema (const)", "DateGranularity (const)", "DateGranularityValue (type)", @@ -308,21 +318,27 @@ "DimensionType (const)", "DisplayNameObjectMeta (interface)", "Document (type)", + "DocumentParsed (type)", "DocumentSchema (const)", "DocumentSchemaValidation (type)", + "DocumentSchemaValidationParsed (type)", "DocumentSchemaValidationSchema (const)", "DocumentTemplate (type)", + "DocumentTemplateParsed (type)", "DocumentTemplateSchema (const)", "DocumentVersion (type)", + "DocumentVersionParsed (type)", "DocumentVersionSchema (const)", "DriverCapabilities (type)", "DriverCapabilitiesSchema (const)", "DriverConfig (type)", "DriverConfigIssue (interface)", + "DriverConfigParsed (type)", "DriverConfigSchema (const)", "DriverDefinition (type)", "DriverDefinitionSchema (const)", "DriverInterface (type)", + "DriverInterfaceParsed (type)", "DriverInterfaceSchema (const)", "DriverOptions (type)", "DriverOptionsSchema (const)", @@ -331,6 +347,7 @@ "DroppedFieldsEvent (type)", "DroppedFieldsEventSchema (const)", "ESignatureConfig (type)", + "ESignatureConfigParsed (type)", "ESignatureConfigSchema (const)", "EffectiveApiMethods (interface)", "EnableLike (interface)", @@ -341,6 +358,7 @@ "EngineDeleteOptions (type)", "EngineDeleteOptionsSchema (const)", "EngineQueryOptions (type)", + "EngineQueryOptionsParsed (type)", "EngineQueryOptionsSchema (const)", "EngineUpdateOptions (type)", "EngineUpdateOptionsSchema (const)", @@ -348,18 +366,24 @@ "ExpressionBody (type)", "ExpressionBodySchema (const)", "ExternalCatalog (type)", + "ExternalCatalogParsed (type)", "ExternalCatalogSchema (const)", "ExternalColumn (type)", + "ExternalColumnParsed (type)", "ExternalColumnSchema (const)", "ExternalDataSource (type)", "ExternalDataSourceSchema (const)", "ExternalDatasourceSettings (type)", + "ExternalDatasourceSettingsParsed (type)", "ExternalDatasourceSettingsSchema (const)", "ExternalFieldMapping (type)", + "ExternalFieldMappingParsed (type)", "ExternalFieldMappingSchema (const)", "ExternalLookup (type)", + "ExternalLookupParsed (type)", "ExternalLookupSchema (const)", "ExternalTable (type)", + "ExternalTableParsed (type)", "ExternalTableSchema (const)", "FIELD_GROUP_SYSTEM_FIELDS (const)", "FIELD_KEY_GUIDANCE (const)", @@ -381,12 +405,14 @@ "FieldOperators (type)", "FieldOperatorsSchema (const)", "FieldParseInput (type)", + "FieldParsed (type)", "FieldReference (type)", "FieldReferenceSchema (const)", "FieldSchema (const)", "FieldType (type)", "FileLikeValueSchema (const)", "FilePersistenceConfig (type)", + "FilePersistenceConfigParsed (type)", "FilePersistenceConfigSchema (const)", "FileReferenceIdValueSchema (const)", "FileValueSchema (const)", @@ -408,14 +434,17 @@ "FilterTextRow (interface)", "FilterTextRowsCase (interface)", "FormatValidation (type)", + "FormatValidationParsed (type)", "FormatValidationSchema (const)", "FullTextSearch (type)", + "FullTextSearchParsed (type)", "FullTextSearchSchema (const)", "GroupByNode (type)", "GroupByNodeSchema (const)", "Hook (type)", "HookBody (type)", "HookBodyCapability (type)", + "HookBodyParsed (type)", "HookBodySchema (const)", "HookContext (type)", "HookContextSchema (const)", @@ -427,11 +456,13 @@ "IMPORT_REFERENCE_TYPES (const)", "INSTANT_TYPES (const)", "ImportFieldMapping (type)", + "ImportFieldMappingParsed (type)", "ImportFieldMappingSchema (const)", "IndexSchema (const)", "InjectedSystemColumnPlan (interface)", "InstantValueSchema (const)", "JSONValidation (type)", + "JSONValidationParsed (type)", "JSONValidationSchema (const)", "LEGACY_API_METHODS (const)", "LEGACY_API_METHOD_GUIDANCE (const)", @@ -453,18 +484,23 @@ "MULTI_OPTION_TYPES (const)", "Mapping (type)", "MappingInput (type)", + "MappingParsed (type)", "MappingSchema (const)", "MemoryConfig (type)", + "MemoryConfigParsed (type)", "MemoryConfigSchema (const)", "MemoryDriverSpec (const)", "MemoryPersistenceConfig (type)", + "MemoryPersistenceConfigParsed (type)", "MemoryPersistenceConfigSchema (const)", "Metric (type)", "MetricSchema (const)", "MongoConfig (type)", + "MongoConfigParsed (type)", "MongoConfigSchema (const)", "MongoDriverSpec (const)", "MysqlConfig (type)", + "MysqlConfigParsed (type)", "MysqlConfigSchema (const)", "NUMERIC_VALUE_TYPES (const)", "NoSQLDataTypeMapping (type)", @@ -472,8 +508,10 @@ "NoSQLDatabaseType (type)", "NoSQLDatabaseTypeSchema (const)", "NoSQLDriverConfig (type)", + "NoSQLDriverConfigParsed (type)", "NoSQLDriverConfigSchema (const)", "NoSQLIndex (type)", + "NoSQLIndexParsed (type)", "NoSQLIndexSchema (const)", "NoSQLIndexType (type)", "NoSQLIndexTypeSchema (const)", @@ -487,21 +525,29 @@ "NormalizedFilterSchema (const)", "OBJECT_KEY_GUIDANCE (const)", "ObjectAccessConfig (type)", + "ObjectAccessConfigParsed (type)", "ObjectAccessConfigSchema (const)", "ObjectCapabilities (type)", + "ObjectCapabilitiesParsed (type)", "ObjectDependencyGraph (type)", + "ObjectDependencyGraphParsed (type)", "ObjectDependencyGraphSchema (const)", "ObjectDependencyNode (type)", + "ObjectDependencyNodeParsed (type)", "ObjectDependencyNodeSchema (const)", "ObjectExtension (type)", "ObjectExtensionInput (type)", + "ObjectExtensionParsed (type)", "ObjectExtensionSchema (const)", "ObjectExternalBinding (type)", + "ObjectExternalBindingParsed (type)", "ObjectExternalBindingSchema (const)", "ObjectFieldGroup (type)", "ObjectFieldGroupInput (type)", + "ObjectFieldGroupParsed (type)", "ObjectFieldGroupSchema (const)", "ObjectIndex (type)", + "ObjectIndexParsed (type)", "ObjectOwnership (type)", "ObjectOwnershipEnum (const)", "ObjectRequiredPermissions (type)", @@ -525,8 +571,10 @@ "PersistenceType (type)", "PersistenceTypeSchema (const)", "PoolConfig (type)", + "PoolConfigParsed (type)", "PoolConfigSchema (const)", "PostgresConfig (type)", + "PostgresConfigParsed (type)", "PostgresConfigSchema (const)", "ProvisionPrimaryOptions (interface)", "QUERY_CURSOR_REMOVED (const)", @@ -555,10 +603,12 @@ "ReferenceResolution (type)", "ReferenceResolutionError (type)", "ReferenceResolutionErrorSchema (const)", + "ReferenceResolutionParsed (type)", "ReferenceResolutionSchema (const)", "RenderAutonumberInput (interface)", "RenderedAutonumber (interface)", "ReplicationConfig (type)", + "ReplicationConfigParsed (type)", "ReplicationConfigSchema (const)", "ResolveApiOptions (interface)", "ResolveRecordDisplayNameOptions (interface)", @@ -566,6 +616,7 @@ "RetiredFilterOperatorGuidance (interface)", "RowCrudActionOverride (type)", "RowCrudActionOverrideInput (type)", + "RowCrudActionOverrideParsed (type)", "RowCrudActionOverrideSchema (const)", "RowCrudPredicates (interface)", "SCHEMA_MODE_BELONGS_ON_DATASOURCE (const)", @@ -577,10 +628,12 @@ "SQLDialect (type)", "SQLDialectSchema (const)", "SQLDriverConfig (type)", + "SQLDriverConfigParsed (type)", "SQLDriverConfigSchema (const)", "SQLiteAlterTableLimitations (const)", "SQLiteDataTypeMappingDefaults (const)", "SSLConfig (type)", + "SSLConfigParsed (type)", "SSLConfigSchema (const)", "SSL_DETAIL_BELONGS_ON_DATASOURCE (const)", "STACK_KEY_GUIDANCE (const)", @@ -591,8 +644,10 @@ "SchemaMode (type)", "SchemaModeSchema (const)", "ScriptBody (type)", + "ScriptBodyParsed (type)", "ScriptBodySchema (const)", "ScriptValidation (type)", + "ScriptValidationParsed (type)", "ScriptValidationSchema (const)", "SearchFieldMeta (interface)", "SearchFieldResolutionOptions (interface)", @@ -602,37 +657,49 @@ "SeedImportMode (type)", "SeedInput (type)", "SeedLoadResult (type)", + "SeedLoadResultParsed (type)", "SeedLoadResultSchema (const)", "SeedLoaderConfig (type)", "SeedLoaderConfigInput (type)", + "SeedLoaderConfigParsed (type)", "SeedLoaderConfigSchema (const)", "SeedLoaderRequest (type)", "SeedLoaderRequestInput (type)", + "SeedLoaderRequestParsed (type)", "SeedLoaderRequestSchema (const)", "SeedLoaderResult (type)", + "SeedLoaderResultParsed (type)", "SeedLoaderResultSchema (const)", "SeedMode (const)", + "SeedParsed (type)", "SeedSchema (const)", "SelectOption (type)", + "SelectOptionParsed (type)", "SelectOptionSchema (const)", "ServiceObject (type)", "ServiceObjectInput (type)", + "ServiceObjectParsed (type)", "SetOperatorSchema (const)", "ShardingConfig (type)", + "ShardingConfigParsed (type)", "ShardingConfigSchema (const)", "SortNode (type)", + "SortNodeParsed (type)", "SortNodeSchema (const)", "SpecialOperatorSchema (const)", "SqlAutoMigrate (type)", "SqlAutoMigrateSchema (const)", "SqlDialect (type)", "SqliteConfig (type)", + "SqliteConfigParsed (type)", "SqliteConfigSchema (const)", "SqliteWasmConfig (type)", + "SqliteWasmConfigParsed (type)", "SqliteWasmConfigSchema (const)", "SqliteWasmPersistMode (type)", "SqliteWasmPersistModeSchema (const)", "StateMachineValidation (type)", + "StateMachineValidationParsed (type)", "StateMachineValidationSchema (const)", "StringOperatorSchema (const)", "TEMPORAL_CASES (const)", @@ -744,6 +811,7 @@ ], "./system": [ "AccessControlConfig (type)", + "AccessControlConfigParsed (type)", "AccessControlConfigSchema (const)", "ActionLike (interface)", "ActionResultDialogTranslation (type)", @@ -754,19 +822,25 @@ "AnalyzerConfig (type)", "AnalyzerConfigSchema (const)", "AppCompatibilityCheck (type)", + "AppCompatibilityCheckParsed (type)", "AppCompatibilityCheckSchema (const)", "AppInstallRequest (type)", + "AppInstallRequestParsed (type)", "AppInstallRequestSchema (const)", "AppInstallResult (type)", + "AppInstallResultParsed (type)", "AppInstallResultSchema (const)", "AppLike (interface)", "AppManifest (type)", + "AppManifestParsed (type)", "AppManifestSchema (const)", "AudienceBook (interface)", "AudienceCaller (interface)", "AuthConfig (type)", + "AuthConfigParsed (type)", "AuthConfigSchema (const)", "AuthPluginConfig (type)", + "AuthPluginConfigParsed (type)", "AuthPluginConfigSchema (const)", "AuthProviderConfig (type)", "AuthProviderConfigSchema (const)", @@ -781,16 +855,20 @@ "BUILTIN_VALIDATION_MESSAGES (const)", "BackupConfig (type)", "BackupConfigInput (type)", + "BackupConfigParsed (type)", "BackupConfigSchema (const)", "BackupRetention (type)", + "BackupRetentionParsed (type)", "BackupRetentionSchema (const)", "BackupStrategy (type)", "BackupStrategySchema (const)", "BatchProgress (type)", "BatchProgressInput (type)", + "BatchProgressParsed (type)", "BatchProgressSchema (const)", "BatchTask (type)", "BatchTaskInput (type)", + "BatchTaskParsed (type)", "BatchTaskSchema (const)", "Book (type)", "BookAudience (type)", @@ -803,19 +881,24 @@ "BookNodeSchema (const)", "BookSchema (const)", "BucketConfig (type)", + "BucketConfigParsed (type)", "BucketConfigSchema (const)", "CLOUD_PROVIDED_OBJECT_NAMES (const)", "CORE_SERVICE_PROVIDER (const)", "CRDTMergeResult (type)", + "CRDTMergeResultParsed (type)", "CRDTMergeResultSchema (const)", "CRDTState (type)", + "CRDTStateParsed (type)", "CRDTStateSchema (const)", "CRDTType (type)", "CREATION_ATTESTED_MIGRATION_IDS (const)", "CacheAvalanchePrevention (type)", + "CacheAvalanchePreventionParsed (type)", "CacheAvalanchePreventionSchema (const)", "CacheConfig (type)", "CacheConfigInput (type)", + "CacheConfigParsed (type)", "CacheConfigSchema (const)", "CacheConsistency (type)", "CacheConsistencySchema (const)", @@ -825,16 +908,20 @@ "CacheStrategySchema (const)", "CacheTier (type)", "CacheTierInput (type)", + "CacheTierParsed (type)", "CacheTierSchema (const)", "CacheWarmup (type)", + "CacheWarmupParsed (type)", "CacheWarmupSchema (const)", "ChangeImpact (type)", "ChangeImpactSchema (const)", "ChangePriority (type)", "ChangePrioritySchema (const)", "ChangeRequest (type)", + "ChangeRequestParsed (type)", "ChangeRequestSchema (const)", "ChangeSet (type)", + "ChangeSetParsed (type)", "ChangeSetSchema (const)", "ChangeStatus (type)", "ChangeStatusSchema (const)", @@ -843,19 +930,26 @@ "CollaborationMode (type)", "CollaborationSession (type)", "CollaborationSessionConfig (type)", + "CollaborationSessionConfigParsed (type)", "CollaborationSessionConfigSchema (const)", + "CollaborationSessionParsed (type)", "CollaborationSessionSchema (const)", "CollaborativeCursor (type)", + "CollaborativeCursorParsed (type)", "CollaborativeCursorSchema (const)", "ComplianceAuditRequirement (type)", + "ComplianceAuditRequirementParsed (type)", "ComplianceAuditRequirementSchema (const)", "ComplianceEncryptionRequirement (type)", + "ComplianceEncryptionRequirementParsed (type)", "ComplianceEncryptionRequirementSchema (const)", "ComplianceFramework (type)", "ComplianceFrameworkSchema (const)", "ConsoleDestinationConfig (type)", + "ConsoleDestinationConfigParsed (type)", "ConsoleDestinationConfigSchema (const)", "ConsumerConfig (type)", + "ConsumerConfigParsed (type)", "ConsumerConfigSchema (const)", "CoreServiceName (type)", "CounterOperation (type)", @@ -864,11 +958,13 @@ "CoverageBreakdownEntrySchema (const)", "CreateObjectOperation (const)", "CronSchedule (type)", + "CronScheduleParsed (type)", "CronScheduleSchema (const)", "CursorColorPreset (type)", "CursorSelection (type)", "CursorSelectionSchema (const)", "CursorStyle (type)", + "CursorStyleParsed (type)", "CursorStyleSchema (const)", "CursorUpdate (type)", "CursorUpdateSchema (const)", @@ -876,35 +972,44 @@ "DashboardLike (interface)", "DataClassification (type)", "DataClassificationPolicy (type)", + "DataClassificationPolicyParsed (type)", "DataClassificationPolicySchema (const)", "DataClassificationSchema (const)", "DataMigrationFlag (type)", "DataMigrationFlagSchema (const)", "DatabaseLevelIsolationStrategy (type)", "DatabaseLevelIsolationStrategyInput (type)", + "DatabaseLevelIsolationStrategyParsed (type)", "DatabaseLevelIsolationStrategySchema (const)", "DatabaseProvider (type)", "DatabaseProviderSchema (const)", "DeadLetterQueue (type)", + "DeadLetterQueueParsed (type)", "DeadLetterQueueSchema (const)", "DeleteObjectOperation (const)", "DeployBundle (type)", + "DeployBundleParsed (type)", "DeployBundleSchema (const)", "DeployDiff (type)", + "DeployDiffParsed (type)", "DeployDiffSchema (const)", "DeployManifest (type)", + "DeployManifestParsed (type)", "DeployManifestSchema (const)", "DeployStatus (type)", "DeployStatusEnum (const)", "DeployValidationIssue (type)", "DeployValidationIssueSchema (const)", "DeployValidationResult (type)", + "DeployValidationResultParsed (type)", "DeployValidationResultSchema (const)", "DisasterRecoveryPlan (type)", "DisasterRecoveryPlanInput (type)", + "DisasterRecoveryPlanParsed (type)", "DisasterRecoveryPlanSchema (const)", "DistributedCacheConfig (type)", "DistributedCacheConfigInput (type)", + "DistributedCacheConfigParsed (type)", "DistributedCacheConfigSchema (const)", "Doc (type)", "DocSchema (const)", @@ -913,17 +1018,21 @@ "EmailAddressConfig (type)", "EmailAddressConfigSchema (const)", "EmailAndPasswordConfig (type)", + "EmailAndPasswordConfigParsed (type)", "EmailAndPasswordConfigSchema (const)", "EmailProvider (type)", "EmailProviderSchema (const)", "EmailServiceConfig (type)", + "EmailServiceConfigParsed (type)", "EmailServiceConfigSchema (const)", "EmailTemplateDefinition (type)", "EmailTemplateDefinitionCategory (type)", "EmailTemplateDefinitionCategorySchema (const)", "EmailTemplateDefinitionInput (type)", + "EmailTemplateDefinitionParsed (type)", "EmailTemplateDefinitionSchema (const)", "EmailTemplateDefinitionVariable (type)", + "EmailTemplateDefinitionVariableParsed (type)", "EmailTemplateDefinitionVariableSchema (const)", "EmailVerificationConfig (type)", "EmailVerificationConfigSchema (const)", @@ -931,9 +1040,11 @@ "EncryptionAlgorithmSchema (const)", "EncryptionConfig (type)", "EncryptionConfigInput (type)", + "EncryptionConfigParsed (type)", "EncryptionConfigSchema (const)", "EnvironmentArtifact (type)", "EnvironmentArtifactInput (type)", + "EnvironmentArtifactParsed (type)", "EnvironmentArtifactSchema (const)", "ExecuteSqlOperation (const)", "ExtendedLogLevel (type)", @@ -941,21 +1052,26 @@ "ExternalServiceDestinationConfigSchema (const)", "FILE_REFERENCES_MIGRATION_ID (const)", "FacetConfig (type)", + "FacetConfigParsed (type)", "FacetConfigSchema (const)", "FailoverConfig (type)", "FailoverConfigInput (type)", + "FailoverConfigParsed (type)", "FailoverConfigSchema (const)", "FailoverMode (type)", "FailoverModeSchema (const)", "Feature (type)", "FeatureInput (type)", + "FeatureParsed (type)", "FeatureSchema (const)", "FieldEncryption (type)", "FieldEncryptionInput (type)", + "FieldEncryptionParsed (type)", "FieldEncryptionSchema (const)", "FieldTranslation (type)", "FieldTranslationSchema (const)", "FileDestinationConfig (type)", + "FileDestinationConfigParsed (type)", "FileDestinationConfigSchema (const)", "FileMetadata (type)", "FileMetadataSchema (const)", @@ -964,6 +1080,7 @@ "HistogramBucketConfig (type)", "HistogramBucketConfigSchema (const)", "HttpDestinationConfig (type)", + "HttpDestinationConfigParsed (type)", "HttpDestinationConfigSchema (const)", "ISettingsCapability (interface)", "ISettingsClient (interface)", @@ -971,12 +1088,15 @@ "IncidentCategory (type)", "IncidentCategorySchema (const)", "IncidentNotificationMatrix (type)", + "IncidentNotificationMatrixParsed (type)", "IncidentNotificationMatrixSchema (const)", "IncidentNotificationRule (type)", + "IncidentNotificationRuleParsed (type)", "IncidentNotificationRuleSchema (const)", "IncidentResponsePhase (type)", "IncidentResponsePhaseSchema (const)", "IncidentResponsePolicy (type)", + "IncidentResponsePolicyParsed (type)", "IncidentResponsePolicySchema (const)", "IncidentSchema (const)", "IncidentSeverity (type)", @@ -990,12 +1110,14 @@ "JobExecutionSchema (const)", "JobExecutionStatus (type)", "JobInput (type)", + "JobParsed (type)", "JobSchema (const)", "KernelServiceMapSchema (const)", "KeyManagementProvider (type)", "KeyManagementProviderSchema (const)", "KeyRotationPolicy (type)", "KeyRotationPolicyInput (type)", + "KeyRotationPolicyParsed (type)", "KeyRotationPolicySchema (const)", "LEGACY_OBJECT_FIRST_KEYS (const)", "LWWRegister (type)", @@ -1007,30 +1129,38 @@ "LifecycleAction (type)", "LifecycleActionSchema (const)", "LifecyclePolicyConfig (type)", + "LifecyclePolicyConfigParsed (type)", "LifecyclePolicyConfigSchema (const)", "LifecyclePolicyRule (type)", + "LifecyclePolicyRuleParsed (type)", "LifecyclePolicyRuleSchema (const)", "LocaleDescriptor (interface)", "LocaleSchema (const)", "LogDestination (type)", + "LogDestinationParsed (type)", "LogDestinationSchema (const)", "LogDestinationType (type)", "LogEnrichmentConfig (type)", + "LogEnrichmentConfigParsed (type)", "LogEnrichmentConfigSchema (const)", "LogEntry (type)", "LogEntrySchema (const)", "LogFormat (type)", "LogLevel (type)", "LoggerConfig (type)", + "LoggerConfigParsed (type)", "LoggerConfigSchema (const)", "LoggingConfig (type)", + "LoggingConfigParsed (type)", "LoggingConfigSchema (const)", "METADATA_FORM_REGISTRY (const)", "MIGRATION_JOURNAL_KINDS (const)", "MIGRATION_JOURNAL_OBJECT (const)", "MaskingVisibilityRule (type)", + "MaskingVisibilityRuleParsed (type)", "MaskingVisibilityRuleSchema (const)", "MessageQueueConfig (type)", + "MessageQueueConfigParsed (type)", "MessageQueueConfigSchema (const)", "MessageQueueProvider (type)", "MessageQueueProviderSchema (const)", @@ -1044,12 +1174,14 @@ "MetadataFormat (type)", "MetadataFormatSchema (const)", "MetadataHistoryQueryOptions (type)", + "MetadataHistoryQueryOptionsParsed (type)", "MetadataHistoryQueryOptionsSchema (const)", "MetadataHistoryQueryResult (type)", "MetadataHistoryQueryResultSchema (const)", "MetadataHistoryRecord (type)", "MetadataHistoryRecordSchema (const)", "MetadataHistoryRetentionPolicy (type)", + "MetadataHistoryRetentionPolicyParsed (type)", "MetadataHistoryRetentionPolicySchema (const)", "MetadataLoadOptions (type)", "MetadataLoadOptionsSchema (const)", @@ -1060,8 +1192,10 @@ "MetadataManagerConfig (type)", "MetadataManagerConfigSchema (const)", "MetadataRecord (type)", + "MetadataRecordParsed (type)", "MetadataRecordSchema (const)", "MetadataSaveOptions (type)", + "MetadataSaveOptionsParsed (type)", "MetadataSaveOptionsSchema (const)", "MetadataSaveResult (type)", "MetadataSaveResultSchema (const)", @@ -1075,22 +1209,27 @@ "MetadataWatchEvent (type)", "MetadataWatchEventSchema (const)", "MetricAggregationConfig (type)", + "MetricAggregationConfigParsed (type)", "MetricAggregationConfigSchema (const)", "MetricAggregationType (type)", "MetricDataPoint (type)", "MetricDataPointSchema (const)", "MetricDefinition (type)", + "MetricDefinitionParsed (type)", "MetricDefinitionSchema (const)", "MetricExportConfig (type)", + "MetricExportConfigParsed (type)", "MetricExportConfigSchema (const)", "MetricLabels (type)", "MetricLabelsSchema (const)", "MetricType (type)", "MetricUnit (type)", "MetricsConfig (type)", + "MetricsConfigParsed (type)", "MetricsConfigSchema (const)", "MiddlewareConfig (type)", "MiddlewareConfigInput (type)", + "MiddlewareConfigParsed (type)", "MiddlewareConfigSchema (const)", "MiddlewareType (type)", "MigrationDependencySchema (const)", @@ -1099,22 +1238,29 @@ "MigrationJournalKind (type)", "MigrationOnCrashPolicy (type)", "MigrationOperation (type)", + "MigrationOperationParsed (type)", "MigrationOperationSchema (const)", "MigrationPlan (type)", + "MigrationPlanParsed (type)", "MigrationPlanSchema (const)", "MigrationStatement (type)", + "MigrationStatementParsed (type)", "MigrationStatementSchema (const)", "ModifyFieldOperation (const)", "MultipartUploadConfig (type)", + "MultipartUploadConfigParsed (type)", "MultipartUploadConfigSchema (const)", "MutualTLSConfig (type)", + "MutualTLSConfigParsed (type)", "MutualTLSConfigSchema (const)", "NavNodeLike (interface)", "NotificationChannel (type)", "NotificationChannelSchema (const)", "ORSet (type)", "ORSetElement (type)", + "ORSetElementParsed (type)", "ORSetElementSchema (const)", + "ORSetParsed (type)", "ORSetSchema (const)", "OTComponent (type)", "OTComponentSchema (const)", @@ -1128,6 +1274,7 @@ "ObjectMetadata (type)", "ObjectMetadataSchema (const)", "ObjectStorageConfig (type)", + "ObjectStorageConfigParsed (type)", "ObjectStorageConfigSchema (const)", "ObjectTranslationData (type)", "ObjectTranslationDataSchema (const)", @@ -1138,6 +1285,7 @@ "OnceSchedule (type)", "OnceScheduleSchema (const)", "OpenTelemetryCompatibility (type)", + "OpenTelemetryCompatibilityParsed (type)", "OpenTelemetryCompatibilitySchema (const)", "OtelExporterType (type)", "PKG_CONVENTIONS (const)", @@ -1158,23 +1306,29 @@ "PageRegionLike (interface)", "Plan (type)", "PlanInput (type)", + "PlanParsed (type)", "PlanSchema (const)", "PresignedUrlConfig (type)", "PresignedUrlConfigSchema (const)", "QueueConfig (type)", "QueueConfigInput (type)", + "QueueConfigParsed (type)", "QueueConfigSchema (const)", "QuotaEnforcementResult (type)", "QuotaEnforcementResultSchema (const)", "RPO (type)", + "RPOParsed (type)", "RPOSchema (const)", "RTO (type)", + "RTOParsed (type)", "RTOSchema (const)", "RegistryConfig (type)", + "RegistryConfigParsed (type)", "RegistryConfigSchema (const)", "RegistrySyncPolicy (type)", "RegistrySyncPolicySchema (const)", "RegistryUpstream (type)", + "RegistryUpstreamParsed (type)", "RegistryUpstreamSchema (const)", "RemoveFieldOperation (const)", "RenameObjectOperation (const)", @@ -1196,46 +1350,58 @@ "RollbackPlanSchema (const)", "RouteHandlerMetadata (type)", "RouteHandlerMetadataInput (type)", + "RouteHandlerMetadataParsed (type)", "RouteHandlerMetadataSchema (const)", "RowLevelIsolationStrategy (type)", "RowLevelIsolationStrategyInput (type)", + "RowLevelIsolationStrategyParsed (type)", "RowLevelIsolationStrategySchema (const)", "SETTINGS_CHANGE_EVENT (const)", "SamplingDecision (type)", "SamplingStrategyType (type)", "Schedule (type)", + "ScheduleParsed (type)", "ScheduleSchema (const)", "SchemaChange (type)", "SchemaChangeSchema (const)", "SchemaLevelIsolationStrategy (type)", "SchemaLevelIsolationStrategyInput (type)", + "SchemaLevelIsolationStrategyParsed (type)", "SchemaLevelIsolationStrategySchema (const)", "SearchConfig (type)", + "SearchConfigParsed (type)", "SearchConfigSchema (const)", "SearchIndexConfig (type)", + "SearchIndexConfigParsed (type)", "SearchIndexConfigSchema (const)", "SearchProvider (type)", "SearchProviderSchema (const)", "SecurityContextConfig (type)", "SecurityContextConfigInput (type)", + "SecurityContextConfigParsed (type)", "SecurityContextConfigSchema (const)", "SecurityEventCorrelation (type)", + "SecurityEventCorrelationParsed (type)", "SecurityEventCorrelationSchema (const)", "ServerCapabilities (type)", "ServerCapabilitiesInput (type)", + "ServerCapabilitiesParsed (type)", "ServerCapabilitiesSchema (const)", "ServerEvent (type)", "ServerEventSchema (const)", "ServerEventType (type)", "ServerRateLimitConfig (type)", + "ServerRateLimitConfigParsed (type)", "ServerRateLimitConfigSchema (const)", "ServerStatus (type)", "ServerStatusSchema (const)", "ServiceConfigSchema (const)", "ServiceCriticalitySchema (const)", "ServiceLevelIndicator (type)", + "ServiceLevelIndicatorParsed (type)", "ServiceLevelIndicatorSchema (const)", "ServiceLevelObjective (type)", + "ServiceLevelObjectiveParsed (type)", "ServiceLevelObjectiveSchema (const)", "ServiceRequirementDef (const)", "ServiceStatusSchema (const)", @@ -1246,13 +1412,16 @@ "SettingsChangeEventSchema (const)", "SettingsChangeHandler (type)", "SettingsManifest (type)", + "SettingsManifestParsed (type)", "SettingsManifestSchema (const)", "SettingsNamespacePayload (type)", + "SettingsNamespacePayloadParsed (type)", "SettingsNamespacePayloadSchema (const)", "SettingsUnsubscribe (type)", "Sha256Digest (type)", "Sha256DigestSchema (const)", "SocialProviderConfig (type)", + "SocialProviderConfigParsed (type)", "SocialProviderConfigSchema (const)", "Span (type)", "SpanAttributeValue (type)", @@ -1263,28 +1432,35 @@ "SpanEventSchema (const)", "SpanKind (type)", "SpanLink (type)", + "SpanLinkParsed (type)", "SpanLinkSchema (const)", + "SpanParsed (type)", "SpanSchema (const)", "SpanStatus (type)", "Specifier (type)", "SpecifierHandler (type)", + "SpecifierHandlerParsed (type)", "SpecifierHandlerSchema (const)", "SpecifierOption (type)", "SpecifierOptionSchema (const)", + "SpecifierParsed (type)", "SpecifierSchema (const)", "SpecifierScope (type)", "SpecifierScopeSchema (const)", "SpecifierType (type)", "StackServerConfig (type)", "StackServerConfigInput (type)", + "StackServerConfigParsed (type)", "StackServerConfigSchema (const)", "StackServerSecurity (type)", + "StackServerSecurityParsed (type)", "StackServerSecuritySchema (const)", "StorageAcl (type)", "StorageAclSchema (const)", "StorageClass (type)", "StorageClassSchema (const)", "StorageConnection (type)", + "StorageConnectionParsed (type)", "StorageConnectionSchema (const)", "StorageNameMapping (const)", "StorageProvider (type)", @@ -1299,10 +1475,13 @@ "SupplierRiskLevel (type)", "SupplierRiskLevelSchema (const)", "SupplierSecurityAssessment (type)", + "SupplierSecurityAssessmentParsed (type)", "SupplierSecurityAssessmentSchema (const)", "SupplierSecurityPolicy (type)", + "SupplierSecurityPolicyParsed (type)", "SupplierSecurityPolicySchema (const)", "SupplierSecurityRequirement (type)", + "SupplierSecurityRequirementParsed (type)", "SupplierSecurityRequirementSchema (const)", "SystemFieldName (type)", "SystemObjectName (type)", @@ -1314,9 +1493,11 @@ "TaskExecutionResult (type)", "TaskExecutionResultSchema (const)", "TaskInput (type)", + "TaskParsed (type)", "TaskPriority (type)", "TaskRetryPolicy (type)", "TaskRetryPolicyInput (type)", + "TaskRetryPolicyParsed (type)", "TaskRetryPolicySchema (const)", "TaskSchema (const)", "TaskStatus (type)", @@ -1324,6 +1505,7 @@ "TenantConnectionConfig (type)", "TenantConnectionConfigSchema (const)", "TenantIsolationConfig (type)", + "TenantIsolationConfigParsed (type)", "TenantIsolationConfigSchema (const)", "TenantIsolationLevel (type)", "TenantQuota (type)", @@ -1331,8 +1513,10 @@ "TenantSchema (const)", "TenantSecurityPolicy (type)", "TenantSecurityPolicyInput (type)", + "TenantSecurityPolicyParsed (type)", "TenantSecurityPolicySchema (const)", "TenantUsage (type)", + "TenantUsageParsed (type)", "TenantUsageSchema (const)", "TextCRDTOperation (type)", "TextCRDTOperationSchema (const)", @@ -1343,27 +1527,34 @@ "TimeSeriesDataPointSchema (const)", "TimeSeriesSchema (const)", "TopicConfig (type)", + "TopicConfigParsed (type)", "TopicConfigSchema (const)", "TraceContext (type)", + "TraceContextParsed (type)", "TraceContextPropagation (type)", + "TraceContextPropagationParsed (type)", "TraceContextPropagationSchema (const)", "TraceContextSchema (const)", "TraceFlags (type)", "TraceFlagsSchema (const)", "TracePropagationFormat (type)", "TraceSamplingConfig (type)", + "TraceSamplingConfigParsed (type)", "TraceSamplingConfigSchema (const)", "TraceState (type)", "TraceStateSchema (const)", "TracingConfig (type)", + "TracingConfigParsed (type)", "TracingConfigSchema (const)", "TrainingCategory (type)", "TrainingCategorySchema (const)", "TrainingCompletionStatus (type)", "TrainingCompletionStatusSchema (const)", "TrainingCourse (type)", + "TrainingCourseParsed (type)", "TrainingCourseSchema (const)", "TrainingPlan (type)", + "TrainingPlanParsed (type)", "TrainingPlanSchema (const)", "TrainingRecord (type)", "TrainingRecordSchema (const)", @@ -1393,6 +1584,7 @@ "WidgetLike (interface)", "WorkerConfig (type)", "WorkerConfigInput (type)", + "WorkerConfigParsed (type)", "WorkerConfigSchema (const)", "WorkerStats (type)", "WorkerStatsSchema (const)", @@ -1459,14 +1651,18 @@ ], "./kernel": [ "AdvancedPluginLifecycleConfig (type)", + "AdvancedPluginLifecycleConfigParsed (type)", "AdvancedPluginLifecycleConfigSchema (const)", "ArtifactChecksum (type)", + "ArtifactChecksumParsed (type)", "ArtifactChecksumSchema (const)", "ArtifactFileEntry (type)", "ArtifactFileEntrySchema (const)", "ArtifactSignature (type)", + "ArtifactSignatureParsed (type)", "ArtifactSignatureSchema (const)", "BreakingChange (type)", + "BreakingChangeParsed (type)", "BreakingChangeSchema (const)", "CLICommandContribution (type)", "CLICommandContributionSchema (const)", @@ -1479,6 +1675,7 @@ "CapabilityProviderStatus (type)", "ClusterCapabilityConfig (type)", "ClusterCapabilityConfigInput (type)", + "ClusterCapabilityConfigParsed (type)", "ClusterCapabilityConfigSchema (const)", "ClusterDriver (type)", "ClusterDriverSchema (const)", @@ -1487,20 +1684,26 @@ "CompatibilityLevel (type)", "CompatibilityLevelSchema (const)", "CompatibilityMatrixEntry (type)", + "CompatibilityMatrixEntryParsed (type)", "CompatibilityMatrixEntrySchema (const)", "CompletenessFinding (interface)", "CustomizationOrigin (type)", "CustomizationOriginSchema (const)", "CustomizationPolicy (type)", + "CustomizationPolicyParsed (type)", "CustomizationPolicySchema (const)", "DEFAULT_METADATA_TYPE_REGISTRY (const)", "DeadLetterQueueEntry (type)", + "DeadLetterQueueEntryParsed (type)", "DeadLetterQueueEntrySchema (const)", "DependencyConflict (type)", + "DependencyConflictParsed (type)", "DependencyConflictSchema (const)", "DependencyGraph (type)", "DependencyGraphNode (type)", + "DependencyGraphNodeParsed (type)", "DependencyGraphNodeSchema (const)", + "DependencyGraphParsed (type)", "DependencyGraphSchema (const)", "DependencyResolutionResult (type)", "DependencyResolutionResultSchema (const)", @@ -1511,34 +1714,46 @@ "DisablePackageRequest (type)", "DisablePackageRequestSchema (const)", "DisablePackageResponse (type)", + "DisablePackageResponseParsed (type)", "DisablePackageResponseSchema (const)", "DistributedStateConfig (type)", + "DistributedStateConfigParsed (type)", "DistributedStateConfigSchema (const)", "EVENT_PRIORITY_VALUES (const)", "EnablePackageRequest (type)", "EnablePackageRequestSchema (const)", "EnablePackageResponse (type)", + "EnablePackageResponseParsed (type)", "EnablePackageResponseSchema (const)", "Event (type)", "EventBusConfig (type)", + "EventBusConfigParsed (type)", "EventBusConfigSchema (const)", "EventClusterOptions (type)", + "EventClusterOptionsParsed (type)", "EventClusterOptionsSchema (const)", "EventDeliverySemantics (type)", "EventDeliverySemanticsSchema (const)", "EventHandler (type)", + "EventHandlerParsed (type)", "EventHandlerSchema (const)", "EventLogEntry (type)", + "EventLogEntryParsed (type)", "EventLogEntrySchema (const)", "EventMessageQueueConfig (type)", + "EventMessageQueueConfigParsed (type)", "EventMessageQueueConfigSchema (const)", "EventMetadataSchema (const)", + "EventParsed (type)", "EventPersistence (type)", + "EventPersistenceParsed (type)", "EventPersistenceSchema (const)", "EventPriority (type)", "EventQueueConfig (type)", + "EventQueueConfigParsed (type)", "EventQueueConfigSchema (const)", "EventReplayConfig (type)", + "EventReplayConfigParsed (type)", "EventReplayConfigSchema (const)", "EventRoute (type)", "EventRouteSchema (const)", @@ -1546,15 +1761,20 @@ "EventScope (type)", "EventScopeSchema (const)", "EventSourcingConfig (type)", + "EventSourcingConfigParsed (type)", "EventSourcingConfigSchema (const)", "EventTypeDefinition (type)", + "EventTypeDefinitionParsed (type)", "EventTypeDefinitionSchema (const)", "EventWebhookConfig (type)", + "EventWebhookConfigParsed (type)", "EventWebhookConfigSchema (const)", "ExecutionContext (type)", "ExecutionContextInput (type)", + "ExecutionContextParsed (type)", "ExecutionContextSchema (const)", "ExtensionPoint (type)", + "ExtensionPointParsed (type)", "ExtensionPointSchema (const)", "FIELD_CHOICE_WITHOUT_OPTIONS (const)", "FIELD_FORMULA_WITHOUT_EXPRESSION (const)", @@ -1566,31 +1786,42 @@ "GetPackageRequest (type)", "GetPackageRequestSchema (const)", "GetPackageResponse (type)", + "GetPackageResponseParsed (type)", "GetPackageResponseSchema (const)", "GracefulDegradation (type)", + "GracefulDegradationParsed (type)", "GracefulDegradationSchema (const)", "HealthStatus (type)", "HealthStatusSchema (const)", "HotReloadConfig (type)", + "HotReloadConfigParsed (type)", "HotReloadConfigSchema (const)", "InstallPackageRequest (type)", + "InstallPackageRequestParsed (type)", "InstallPackageRequestSchema (const)", "InstallPackageResponse (type)", + "InstallPackageResponseParsed (type)", "InstallPackageResponseSchema (const)", "InstalledPackage (type)", + "InstalledPackageParsed (type)", "InstalledPackageSchema (const)", "KernelContext (type)", + "KernelContextParsed (type)", "KernelContextSchema (const)", "KernelSecurityPolicy (type)", + "KernelSecurityPolicyParsed (type)", "KernelSecurityPolicySchema (const)", "KernelSecurityScanResult (type)", + "KernelSecurityScanResultParsed (type)", "KernelSecurityScanResultSchema (const)", "KernelSecurityVulnerability (type)", + "KernelSecurityVulnerabilityParsed (type)", "KernelSecurityVulnerabilitySchema (const)", "LintableAuthoringCollection (interface)", "ListPackagesRequest (type)", "ListPackagesRequestSchema (const)", "ListPackagesResponse (type)", + "ListPackagesResponseParsed (type)", "ListPackagesResponseSchema (const)", "METADATA_READ_DECORATIONS (const)", "ManifestPermissions (type)", @@ -1601,6 +1832,7 @@ "MergeResult (type)", "MergeResultSchema (const)", "MergeStrategyConfig (type)", + "MergeStrategyConfigParsed (type)", "MergeStrategyConfigSchema (const)", "MetadataBulkResult (type)", "MetadataBulkResultSchema (const)", @@ -1615,6 +1847,7 @@ "MetadataDependency (type)", "MetadataDependencySchema (const)", "MetadataDiffItem (type)", + "MetadataDiffItemParsed (type)", "MetadataDiffItemSchema (const)", "MetadataFallbackStrategy (type)", "MetadataFallbackStrategySchema (const)", @@ -1625,6 +1858,7 @@ "MetadataManagerConfig (type)", "MetadataManagerConfigSchema (const)", "MetadataOverlay (type)", + "MetadataOverlayParsed (type)", "MetadataOverlaySchema (const)", "MetadataPluginConfig (type)", "MetadataPluginConfigSchema (const)", @@ -1640,11 +1874,13 @@ "MetadataReadDecoration (type)", "MetadataType (type)", "MetadataTypeRegistryEntry (type)", + "MetadataTypeRegistryEntryParsed (type)", "MetadataTypeRegistryEntrySchema (const)", "MetadataTypeSchema (const)", "MetadataValidationResult (type)", "MetadataValidationResultSchema (const)", "MultiVersionSupport (type)", + "MultiVersionSupportParsed (type)", "MultiVersionSupportSchema (const)", "NamespaceConflictError (type)", "NamespaceConflictErrorSchema (const)", @@ -1652,6 +1888,7 @@ "NamespaceRegistryEntrySchema (const)", "ObjectStackManifest (type)", "ObjectStackManifestInput (type)", + "ObjectStackManifestParsed (type)", "OclifPluginConfig (type)", "OclifPluginConfigSchema (const)", "OpsDomainModule (type)", @@ -1670,10 +1907,12 @@ "PUBLIC_AUTH_FEATURE_NAMES (const)", "PackageArtifact (type)", "PackageArtifactInput (type)", + "PackageArtifactParsed (type)", "PackageArtifactSchema (const)", "PackageDependencyConflict (type)", "PackageDependencyConflictSchema (const)", "PackageDependencyResolutionResult (type)", + "PackageDependencyResolutionResultParsed (type)", "PackageDependencyResolutionResultSchema (const)", "PackageStatus (type)", "PackageStatusEnum (const)", @@ -1683,38 +1922,50 @@ "PermissionScopeSchema (const)", "PlatformCapabilityProvider (interface)", "PluginCaching (type)", + "PluginCachingParsed (type)", "PluginCachingSchema (const)", "PluginCapability (type)", "PluginCapabilityManifest (type)", + "PluginCapabilityManifestParsed (type)", "PluginCapabilityManifestSchema (const)", + "PluginCapabilityParsed (type)", "PluginCapabilitySchema (const)", "PluginCodeSplitting (type)", + "PluginCodeSplittingParsed (type)", "PluginCodeSplittingSchema (const)", "PluginCompatibilityMatrix (type)", + "PluginCompatibilityMatrixParsed (type)", "PluginCompatibilityMatrixSchema (const)", "PluginContext (type)", "PluginContextData (type)", "PluginContextSchema (const)", "PluginDefinition (type)", "PluginDependency (type)", + "PluginDependencyParsed (type)", "PluginDependencyResolution (type)", + "PluginDependencyResolutionParsed (type)", "PluginDependencyResolutionResult (type)", + "PluginDependencyResolutionResultParsed (type)", "PluginDependencyResolutionResultSchema (const)", "PluginDependencyResolutionSchema (const)", "PluginDependencySchema (const)", "PluginDynamicImport (type)", + "PluginDynamicImportParsed (type)", "PluginDynamicImportSchema (const)", "PluginEngines (type)", "PluginEnginesSchema (const)", "PluginHealthCheck (type)", + "PluginHealthCheckParsed (type)", "PluginHealthCheckSchema (const)", "PluginHealthReport (type)", "PluginHealthReportSchema (const)", "PluginHealthStatus (type)", "PluginHealthStatusSchema (const)", "PluginHotReload (type)", + "PluginHotReloadParsed (type)", "PluginHotReloadSchema (const)", "PluginInitialization (type)", + "PluginInitializationParsed (type)", "PluginInitializationSchema (const)", "PluginInstallConfig (type)", "PluginInstallConfigInput (type)", @@ -1722,12 +1973,15 @@ "PluginIntegrity (type)", "PluginIntegritySchema (const)", "PluginInterface (type)", + "PluginInterfaceParsed (type)", "PluginInterfaceSchema (const)", "PluginLoadingConfig (type)", + "PluginLoadingConfigParsed (type)", "PluginLoadingConfigSchema (const)", "PluginLoadingEvent (type)", "PluginLoadingEventSchema (const)", "PluginLoadingState (type)", + "PluginLoadingStateParsed (type)", "PluginLoadingStateSchema (const)", "PluginLoadingStrategy (type)", "PluginLoadingStrategySchema (const)", @@ -1736,55 +1990,72 @@ "PluginPackaging (type)", "PluginPackagingSchema (const)", "PluginPerformanceMonitoring (type)", + "PluginPerformanceMonitoringParsed (type)", "PluginPerformanceMonitoringSchema (const)", "PluginPermission (type)", + "PluginPermissionParsed (type)", "PluginPermissionSchema (const)", "PluginPermissionSet (type)", + "PluginPermissionSetParsed (type)", "PluginPermissionSetSchema (const)", "PluginPermissions (type)", "PluginPermissionsSchema (const)", "PluginPreloadConfig (type)", + "PluginPreloadConfigParsed (type)", "PluginPreloadConfigSchema (const)", "PluginProvenance (type)", + "PluginProvenanceParsed (type)", "PluginProvenanceSchema (const)", "PluginQualityMetrics (type)", "PluginQualityMetricsInput (type)", + "PluginQualityMetricsParsed (type)", "PluginQualityMetricsSchema (const)", "PluginRegistryEntry (type)", "PluginRegistryEntryInput (type)", + "PluginRegistryEntryParsed (type)", "PluginRegistryEntrySchema (const)", "PluginRuntime (type)", "PluginRuntimeSchema (const)", "PluginSandboxing (type)", + "PluginSandboxingParsed (type)", "PluginSandboxingSchema (const)", "PluginSchema (const)", "PluginSearchFilters (type)", "PluginSearchFiltersInput (type)", "PluginSearchFiltersSchema (const)", "PluginSecurityManifest (type)", + "PluginSecurityManifestParsed (type)", "PluginSecurityManifestSchema (const)", "PluginSecurityProtocol (const)", "PluginStartupResult (type)", "PluginStartupResultSchema (const)", "PluginStateSnapshot (type)", + "PluginStateSnapshotParsed (type)", "PluginStateSnapshotSchema (const)", "PluginStatistics (type)", "PluginStatisticsInput (type)", + "PluginStatisticsParsed (type)", "PluginStatisticsSchema (const)", "PluginTrustLevel (type)", "PluginTrustLevelSchema (const)", "PluginTrustScore (type)", + "PluginTrustScoreParsed (type)", "PluginTrustScoreSchema (const)", "PluginUpdateStrategy (type)", + "PluginUpdateStrategyParsed (type)", "PluginUpdateStrategySchema (const)", "PluginVendor (type)", "PluginVendorInput (type)", + "PluginVendorParsed (type)", "PluginVendorSchema (const)", "PluginVersionMetadata (type)", + "PluginVersionMetadataParsed (type)", "PluginVersionMetadataSchema (const)", "PreviewModeConfig (type)", + "PreviewModeConfigParsed (type)", "PreviewModeConfigSchema (const)", "ProtocolFeature (type)", + "ProtocolFeatureParsed (type)", "ProtocolFeatureSchema (const)", "ProtocolReference (type)", "ProtocolReferenceSchema (const)", @@ -1795,60 +2066,76 @@ "PublicAuthFeatureSemantics (type)", "PublicAuthFeatureSurface (type)", "RealTimeNotificationConfig (type)", + "RealTimeNotificationConfigParsed (type)", "RealTimeNotificationConfigSchema (const)", "RequiredAction (type)", "RequiredActionSchema (const)", "ResolvedDependency (type)", "ResolvedDependencySchema (const)", "ResolvedPackageDependency (type)", + "ResolvedPackageDependencyParsed (type)", "ResolvedPackageDependencySchema (const)", "ResourceType (type)", "ResourceTypeSchema (const)", "RollbackPackageRequest (type)", + "RollbackPackageRequestParsed (type)", "RollbackPackageRequestSchema (const)", "RollbackPackageResponse (type)", "RollbackPackageResponseSchema (const)", "RuntimeConfig (type)", + "RuntimeConfigParsed (type)", "RuntimeConfigSchema (const)", "RuntimeMode (type)", "SBOM (type)", "SBOMEntry (type)", + "SBOMEntryParsed (type)", "SBOMEntrySchema (const)", + "SBOMParsed (type)", "SBOMSchema (const)", "SandboxConfig (type)", + "SandboxConfigParsed (type)", "SandboxConfigSchema (const)", "ScopeConfig (type)", "ScopeConfigSchema (const)", "ScopeInfo (type)", "ScopeInfoSchema (const)", "SecurityPolicy (type)", + "SecurityPolicyParsed (type)", "SecurityPolicySchema (const)", "SecurityScanResult (type)", + "SecurityScanResultParsed (type)", "SecurityScanResultSchema (const)", "SecurityVulnerability (type)", + "SecurityVulnerabilityParsed (type)", "SecurityVulnerabilitySchema (const)", "SemanticVersion (type)", "SemanticVersionSchema (const)", "ServiceClusterAnnotations (type)", + "ServiceClusterAnnotationsParsed (type)", "ServiceClusterAnnotationsSchema (const)", "ServiceClusterScope (type)", "ServiceClusterScopeSchema (const)", "ServiceFactoryRegistration (type)", + "ServiceFactoryRegistrationParsed (type)", "ServiceFactoryRegistrationSchema (const)", "ServiceLeaderStrategy (type)", "ServiceLeaderStrategySchema (const)", "ServiceMetadata (type)", + "ServiceMetadataParsed (type)", "ServiceMetadataSchema (const)", "ServiceRegistryConfig (type)", "ServiceRegistryConfigInput (type)", + "ServiceRegistryConfigParsed (type)", "ServiceRegistryConfigSchema (const)", "ServiceScopeType (type)", "StartupOptions (type)", "StartupOptionsInput (type)", + "StartupOptionsParsed (type)", "StartupOptionsSchema (const)", "StartupOrchestrationResult (type)", "StartupOrchestrationResultSchema (const)", "TenantRuntimeContext (type)", + "TenantRuntimeContextParsed (type)", "TenantRuntimeContextSchema (const)", "UninstallPackageRequest (type)", "UninstallPackageRequestSchema (const)", @@ -1857,14 +2144,18 @@ "UpgradeImpactLevel (type)", "UpgradeImpactLevelSchema (const)", "UpgradePackageRequest (type)", + "UpgradePackageRequestParsed (type)", "UpgradePackageRequestSchema (const)", "UpgradePackageResponse (type)", + "UpgradePackageResponseParsed (type)", "UpgradePackageResponseSchema (const)", "UpgradePhase (type)", "UpgradePhaseSchema (const)", "UpgradePlan (type)", + "UpgradePlanParsed (type)", "UpgradePlanSchema (const)", "UpgradeSnapshot (type)", + "UpgradeSnapshotParsed (type)", "UpgradeSnapshotSchema (const)", "VIEW_LAYOUT_WITHOUT_BINDING (const)", "ValidationError (type)", @@ -1909,8 +2200,10 @@ "AIUsageRecord (type)", "AIUsageRecordSchema (const)", "Agent (type)", + "AgentParsed (type)", "AgentSchema (const)", "BlueprintApp (type)", + "BlueprintAppParsed (type)", "BlueprintAppSchema (const)", "BlueprintCondition (type)", "BlueprintConditionSchema (const)", @@ -1919,6 +2212,7 @@ "BlueprintField (type)", "BlueprintFieldSchema (const)", "BlueprintNavItem (type)", + "BlueprintNavItemParsed (type)", "BlueprintNavItemSchema (const)", "BlueprintObject (type)", "BlueprintObjectSchema (const)", @@ -1927,17 +2221,21 @@ "BlueprintSummaryOperations (type)", "BlueprintSummaryOperationsSchema (const)", "BlueprintView (type)", + "BlueprintViewParsed (type)", "BlueprintViewSchema (const)", "BlueprintWidgetCondition (type)", "BlueprintWidgetConditionSchema (const)", "CodeContentSchema (const)", "ConversationAnalytics (type)", + "ConversationAnalyticsParsed (type)", "ConversationAnalyticsSchema (const)", "ConversationContext (type)", "ConversationContextSchema (const)", "ConversationMessage (type)", + "ConversationMessageParsed (type)", "ConversationMessageSchema (const)", "ConversationSession (type)", + "ConversationSessionParsed (type)", "ConversationSessionSchema (const)", "ConversationSummary (type)", "ConversationSummarySchema (const)", @@ -1966,8 +2264,10 @@ "MCPApprovalPolicy (type)", "MCPApprovalPolicySchema (const)", "MCPServerRef (type)", + "MCPServerRefParsed (type)", "MCPServerRefSchema (const)", "MCPToolBinding (type)", + "MCPToolBindingParsed (type)", "MCPToolBindingSchema (const)", "MCPTransport (type)", "MCPTransportSchema (const)", @@ -1981,6 +2281,7 @@ "MCP_OAUTH_SCOPE_DATA_WRITE (const)", "McpOauthScope (type)", "MessageContent (type)", + "MessageContentParsed (type)", "MessageContentSchema (const)", "MessageContentType (type)", "MessageContentTypeSchema (const)", @@ -1989,50 +2290,64 @@ "MessageRole (type)", "MessageRoleSchema (const)", "ModelCapability (type)", + "ModelCapabilityParsed (type)", "ModelCapabilitySchema (const)", "ModelConfig (type)", + "ModelConfigParsed (type)", "ModelConfigSchema (const)", "ModelLimits (type)", "ModelLimitsSchema (const)", "ModelPricing (type)", + "ModelPricingParsed (type)", "ModelPricingSchema (const)", "ModelProvider (type)", "ModelProviderSchema (const)", "ModelRegistry (type)", "ModelRegistryEntry (type)", + "ModelRegistryEntryParsed (type)", "ModelRegistryEntrySchema (const)", + "ModelRegistryParsed (type)", "ModelRegistrySchema (const)", "ModelSelectionCriteria (type)", + "ModelSelectionCriteriaParsed (type)", "ModelSelectionCriteriaSchema (const)", "ObjectKnowledgeSource (type)", "ObjectKnowledgeSourceSchema (const)", "PromptTemplate (type)", + "PromptTemplateParsed (type)", "PromptTemplateSchema (const)", "PromptVariable (type)", + "PromptVariableParsed (type)", "PromptVariableSchema (const)", "Skill (type)", + "SkillParsed (type)", "SkillSchema (const)", "SkillTriggerCondition (type)", "SkillTriggerConditionSchema (const)", "SolutionBlueprint (type)", + "SolutionBlueprintParsed (type)", "SolutionBlueprintSchema (const)", "SolutionBlueprintStrict (type)", "SolutionBlueprintStrictSchema (const)", "StructuredOutputConfig (type)", + "StructuredOutputConfigParsed (type)", "StructuredOutputConfigSchema (const)", "StructuredOutputFormat (type)", "StructuredOutputFormatSchema (const)", "TextContentSchema (const)", "TokenBudgetConfig (type)", + "TokenBudgetConfigParsed (type)", "TokenBudgetConfigSchema (const)", "TokenBudgetStrategy (type)", "TokenBudgetStrategySchema (const)", "TokenUsage (type)", "TokenUsageSchema (const)", "TokenUsageStats (type)", + "TokenUsageStatsParsed (type)", "TokenUsageStatsSchema (const)", "Tool (type)", "ToolCall (type)", + "ToolCallParsed (type)", "ToolCallSchema (const)", "ToolSchema (const)", "TransformPipelineStep (type)", @@ -2063,6 +2378,7 @@ "ActionCategorySchema (const)", "ActionDescriptor (type)", "ActionDescriptorInput (type)", + "ActionDescriptorParsed (type)", "ActionDescriptorSchema (const)", "ActionParadigm (type)", "ActionParadigmSchema (const)", @@ -2070,10 +2386,12 @@ "ActionRefSchema (const)", "ApprovalDecision (type)", "ApprovalEscalation (type)", + "ApprovalEscalationParsed (type)", "ApprovalEscalationSchema (const)", "ApprovalNodeApprover (type)", "ApprovalNodeApproverSchema (const)", "ApprovalNodeConfig (type)", + "ApprovalNodeConfigParsed (type)", "ApprovalNodeConfigSchema (const)", "ApproverOrgSymbol (type)", "ApproverType (const)", @@ -2085,12 +2403,16 @@ "BpmnDiagnostic (type)", "BpmnDiagnosticSchema (const)", "BpmnElementMapping (type)", + "BpmnElementMappingParsed (type)", "BpmnElementMappingSchema (const)", "BpmnExportOptions (type)", + "BpmnExportOptionsParsed (type)", "BpmnExportOptionsSchema (const)", "BpmnImportOptions (type)", + "BpmnImportOptionsParsed (type)", "BpmnImportOptionsSchema (const)", "BpmnInteropResult (type)", + "BpmnInteropResultParsed (type)", "BpmnInteropResultSchema (const)", "BpmnMappingDiagnostic (interface)", "BpmnMappingResult (interface)", @@ -2175,10 +2497,12 @@ "FlowFunctionCallable (type)", "FlowFunctionDeclaration (type)", "FlowFunctionDeclarationInput (type)", + "FlowFunctionDeclarationParsed (type)", "FlowFunctionDeclarationSchema (const)", "FlowFunctionEffect (type)", "FlowFunctionEffectSchema (const)", "FlowFunctionEntry (type)", + "FlowFunctionEntryParsed (type)", "FlowFunctionEntrySchema (const)", "FlowGraph (interface)", "FlowNode (type)", @@ -2223,6 +2547,7 @@ "MappableFlow (interface)", "NON_AUTHORABLE_APPROVER_TYPES (const)", "NodeExecutorDescriptor (type)", + "NodeExecutorDescriptorParsed (type)", "NodeExecutorDescriptorSchema (const)", "NormalizedFlowFunction (interface)", "NotifyConfig (type)", @@ -2279,6 +2604,7 @@ "WaitEventType (type)", "WaitEventTypeSchema (const)", "WaitExecutorConfig (type)", + "WaitExecutorConfigParsed (type)", "WaitExecutorConfigSchema (const)", "WaitResumePayload (type)", "WaitResumePayloadSchema (const)", @@ -2286,6 +2612,7 @@ "WaitTimeoutBehaviorSchema (const)", "Webhook (type)", "WebhookInput (type)", + "WebhookParsed (type)", "WebhookSchema (const)", "WebhookTriggerType (type)", "analyzeRegion (function)", @@ -2339,33 +2666,43 @@ "AiStreamChunkSchema (const)", "AnalyticsEndpoint (type)", "AnalyticsMetadataResponse (type)", + "AnalyticsMetadataResponseParsed (type)", "AnalyticsMetadataResponseSchema (const)", "AnalyticsProtocol (interface)", "AnalyticsQueryRequest (type)", "AnalyticsQueryRequestSchema (const)", "AnalyticsResultResponseSchema (const)", "AnalyticsSqlResponse (type)", + "AnalyticsSqlResponseParsed (type)", "AnalyticsSqlResponseSchema (const)", "ApiChangelogEntry (type)", + "ApiChangelogEntryParsed (type)", "ApiChangelogEntrySchema (const)", "ApiDocumentationConfig (type)", + "ApiDocumentationConfigParsed (type)", "ApiDocumentationConfigSchema (const)", "ApiEndpoint (type)", "ApiEndpointInput (type)", + "ApiEndpointParsed (type)", "ApiEndpointSchema (const)", "ApiError (type)", + "ApiErrorParsed (type)", "ApiErrorSchema (const)", "ApiMappingSchema (const)", "ApiRoutes (type)", "ApiRoutesSchema (const)", "ApiTestCollection (type)", + "ApiTestCollectionParsed (type)", "ApiTestCollectionSchema (const)", "ApiTestRequest (type)", + "ApiTestRequestParsed (type)", "ApiTestRequestSchema (const)", "ApiTestingUiConfig (type)", + "ApiTestingUiConfigParsed (type)", "ApiTestingUiConfigSchema (const)", "ApiTestingUiType (type)", "AppDefinitionResponse (type)", + "AppDefinitionResponseParsed (type)", "AppDefinitionResponseSchema (const)", "ApproveAiPendingActionResponse (type)", "ApproveAiPendingActionResponseSchema (const)", @@ -2376,11 +2713,14 @@ "AuthEndpointPaths (const)", "AuthEndpointSchema (const)", "AuthFeaturesConfig (type)", + "AuthFeaturesConfigParsed (type)", "AuthFeaturesConfigSchema (const)", "AuthProvider (type)", "AuthProviderInfo (type)", + "AuthProviderInfoParsed (type)", "AuthProviderInfoSchema (const)", "AutomationActionsResponse (type)", + "AutomationActionsResponseParsed (type)", "AutomationActionsResponseSchema (const)", "AutomationApiContracts (const)", "AutomationApiErrorCode (type)", @@ -2396,41 +2736,52 @@ "BasePresence (type)", "BasePresenceSchema (const)", "BaseResponse (type)", + "BaseResponseParsed (type)", "BaseResponseSchema (const)", "BatchApiContracts (const)", "BatchConfig (type)", + "BatchConfigParsed (type)", "BatchConfigSchema (const)", "BatchDataRequest (type)", "BatchDataRequestSchema (const)", "BatchDataResponse (type)", + "BatchDataResponseParsed (type)", "BatchDataResponseSchema (const)", "BatchEndpointsConfig (type)", "BatchEndpointsConfigInput (type)", + "BatchEndpointsConfigParsed (type)", "BatchEndpointsConfigSchema (const)", "BatchLoadingStrategy (type)", + "BatchLoadingStrategyParsed (type)", "BatchLoadingStrategySchema (const)", "BatchOperationResult (type)", + "BatchOperationResultParsed (type)", "BatchOperationResultSchema (const)", "BatchOperationType (type)", "BatchOptions (type)", + "BatchOptionsParsed (type)", "BatchOptionsSchema (const)", "BatchRecord (type)", "BatchRecordSchema (const)", "BatchUpdateRequest (type)", "BatchUpdateRequestSchema (const)", "BatchUpdateResponse (type)", + "BatchUpdateResponseParsed (type)", "BatchUpdateResponseSchema (const)", "BulkDataEvent (type)", "BulkDataEventSchema (const)", "BulkDataEventType (type)", "BulkRequest (type)", + "BulkRequestParsed (type)", "BulkRequestSchema (const)", "BulkResponse (type)", + "BulkResponseParsed (type)", "BulkResponseSchema (const)", "CacheControl (type)", "CacheControlSchema (const)", "CacheDirective (type)", "CacheInvalidationRequest (type)", + "CacheInvalidationRequestParsed (type)", "CacheInvalidationRequestSchema (const)", "CacheInvalidationResponse (type)", "CacheInvalidationResponseSchema (const)", @@ -2446,10 +2797,12 @@ "CompleteChunkedUploadRequest (type)", "CompleteChunkedUploadRequestSchema (const)", "CompleteChunkedUploadResponse (type)", + "CompleteChunkedUploadResponseParsed (type)", "CompleteChunkedUploadResponseSchema (const)", "CompleteUploadRequest (type)", "CompleteUploadRequestSchema (const)", "ConceptListResponse (type)", + "ConceptListResponseParsed (type)", "ConceptListResponseSchema (const)", "ConflictResolutionStrategy (type)", "CreateAiConversationRequest (type)", @@ -2459,14 +2812,18 @@ "CreateDataResponse (type)", "CreateDataResponseSchema (const)", "CreateExportJobRequest (type)", + "CreateExportJobRequestParsed (type)", "CreateExportJobRequestSchema (const)", "CreateExportJobResponse (type)", + "CreateExportJobResponseParsed (type)", "CreateExportJobResponseSchema (const)", "CreateFlowRequest (type)", "CreateFlowRequestSchema (const)", "CreateFlowResponse (type)", + "CreateFlowResponseParsed (type)", "CreateFlowResponseSchema (const)", "CreateImportJobRequest (type)", + "CreateImportJobRequestParsed (type)", "CreateImportJobRequestSchema (const)", "CreateImportJobResponse (type)", "CreateImportJobResponseSchema (const)", @@ -2479,6 +2836,7 @@ "CreateViewRequest (type)", "CreateViewRequestSchema (const)", "CreateViewResponse (type)", + "CreateViewResponseParsed (type)", "CreateViewResponseSchema (const)", "CrossObjectBatchDroppedFields (type)", "CrossObjectBatchDroppedFieldsSchema (const)", @@ -2492,6 +2850,7 @@ "CrudEndpointPatternSchema (const)", "CrudEndpointsConfig (type)", "CrudEndpointsConfigInput (type)", + "CrudEndpointsConfigParsed (type)", "CrudEndpointsConfigSchema (const)", "CrudOperation (type)", "CursorMessage (type)", @@ -2511,6 +2870,7 @@ "DataEventSchema (const)", "DataEventType (type)", "DataLoaderConfig (type)", + "DataLoaderConfigParsed (type)", "DataLoaderConfigSchema (const)", "DataProtocol (interface)", "DeduplicationStrategy (type)", @@ -2521,24 +2881,29 @@ "DeleteFlowRequest (type)", "DeleteFlowRequestSchema (const)", "DeleteFlowResponse (type)", + "DeleteFlowResponseParsed (type)", "DeleteFlowResponseSchema (const)", "DeleteManyDataRequest (type)", "DeleteManyDataRequestSchema (const)", "DeleteManyDataResponse (type)", + "DeleteManyDataResponseParsed (type)", "DeleteManyDataResponseSchema (const)", "DeleteManyRequest (type)", + "DeleteManyRequestParsed (type)", "DeleteManyRequestSchema (const)", "DeleteMetaItemRequest (type)", "DeleteMetaItemRequestSchema (const)", "DeleteMetaItemResponse (type)", "DeleteMetaItemResponseSchema (const)", "DeleteResponse (type)", + "DeleteResponseParsed (type)", "DeleteResponseSchema (const)", "DeleteViewRequest (type)", "DeleteViewRequestSchema (const)", "DeleteViewResponse (type)", "DeleteViewResponseSchema (const)", "DeviceRequestResponse (type)", + "DeviceRequestResponseParsed (type)", "DeviceRequestResponseSchema (const)", "DeviceTokenResponse (type)", "DeviceTokenResponseSchema (const)", @@ -2552,17 +2917,20 @@ "DiscoverySchema (const)", "DispatcherConfig (type)", "DispatcherConfigInput (type)", + "DispatcherConfigParsed (type)", "DispatcherConfigSchema (const)", "DispatcherErrorCode (type)", "DispatcherErrorResponse (type)", "DispatcherErrorResponseSchema (const)", "DispatcherRoute (type)", "DispatcherRouteInput (type)", + "DispatcherRouteParsed (type)", "DispatcherRouteSchema (const)", "DocumentState (type)", "DocumentStateSchema (const)", "ERROR_CODE_LEDGER (const)", "ETag (type)", + "ETagParsed (type)", "ETagSchema (const)", "EditMessage (type)", "EditMessageSchema (const)", @@ -2582,16 +2950,19 @@ "EndpointRegistry (type)", "EndpointRegistrySchema (const)", "EnhancedApiError (type)", + "EnhancedApiErrorParsed (type)", "EnhancedApiErrorSchema (const)", "ErrorCategory (type)", "ErrorCode (type)", "ErrorHandlingConfig (type)", "ErrorHandlingConfigInput (type)", + "ErrorHandlingConfigParsed (type)", "ErrorHandlingConfigSchema (const)", "ErrorHttpStatusMap (const)", "ErrorMessage (type)", "ErrorMessageSchema (const)", "ErrorResponse (type)", + "ErrorResponseParsed (type)", "ErrorResponseSchema (const)", "EventMessage (type)", "EventMessageSchema (const)", @@ -2602,24 +2973,30 @@ "ExportApiContracts (const)", "ExportFormat (type)", "ExportImportTemplate (type)", + "ExportImportTemplateParsed (type)", "ExportImportTemplateSchema (const)", "ExportJobProgress (type)", + "ExportJobProgressParsed (type)", "ExportJobProgressSchema (const)", "ExportJobStatus (type)", "ExportJobSummary (type)", "ExportJobSummarySchema (const)", "ExportRequest (type)", + "ExportRequestParsed (type)", "ExportRequestSchema (const)", "FieldError (type)", "FieldErrorCode (type)", "FieldErrorSchema (const)", "FieldMappingEntry (type)", + "FieldMappingEntryParsed (type)", "FieldMappingEntrySchema (const)", "FileDownloadUrlResponse (type)", + "FileDownloadUrlResponseParsed (type)", "FileDownloadUrlResponseSchema (const)", "FileTypeValidation (type)", "FileTypeValidationSchema (const)", "FileUploadResponse (type)", + "FileUploadResponseParsed (type)", "FileUploadResponseSchema (const)", "FindDataRequest (type)", "FindDataRequestSchema (const)", @@ -2628,11 +3005,13 @@ "FlowSummary (type)", "FlowSummarySchema (const)", "GeneratedApiDocumentation (type)", + "GeneratedApiDocumentationParsed (type)", "GeneratedApiDocumentationSchema (const)", "GeneratedEndpoint (type)", "GeneratedEndpointSchema (const)", "GetAnalyticsMetaRequestSchema (const)", "GetAuthConfigResponse (type)", + "GetAuthConfigResponseParsed (type)", "GetAuthConfigResponseSchema (const)", "GetDataRequest (type)", "GetDataRequestSchema (const)", @@ -2649,6 +3028,7 @@ "GetExportJobDownloadRequest (type)", "GetExportJobDownloadRequestSchema (const)", "GetExportJobDownloadResponse (type)", + "GetExportJobDownloadResponseParsed (type)", "GetExportJobDownloadResponseSchema (const)", "GetFieldLabelsRequest (type)", "GetFieldLabelsRequestSchema (const)", @@ -2657,18 +3037,22 @@ "GetFlowRequest (type)", "GetFlowRequestSchema (const)", "GetFlowResponse (type)", + "GetFlowResponseParsed (type)", "GetFlowResponseSchema (const)", "GetInstalledPackageRequest (type)", "GetInstalledPackageRequestSchema (const)", "GetInstalledPackageResponse (type)", + "GetInstalledPackageResponseParsed (type)", "GetInstalledPackageResponseSchema (const)", "GetLocalesRequest (type)", "GetLocalesRequestSchema (const)", "GetLocalesResponse (type)", + "GetLocalesResponseParsed (type)", "GetLocalesResponseSchema (const)", "GetMetaItemCachedRequest (type)", "GetMetaItemCachedRequestSchema (const)", "GetMetaItemCachedResponse (type)", + "GetMetaItemCachedResponseParsed (type)", "GetMetaItemCachedResponseSchema (const)", "GetMetaItemRequest (type)", "GetMetaItemRequestSchema (const)", @@ -2685,10 +3069,12 @@ "GetNotificationPreferencesRequest (type)", "GetNotificationPreferencesRequestSchema (const)", "GetNotificationPreferencesResponse (type)", + "GetNotificationPreferencesResponseParsed (type)", "GetNotificationPreferencesResponseSchema (const)", "GetObjectPermissionsRequest (type)", "GetObjectPermissionsRequestSchema (const)", "GetObjectPermissionsResponse (type)", + "GetObjectPermissionsResponseParsed (type)", "GetObjectPermissionsResponseSchema (const)", "GetPackageRequest (type)", "GetPackageRequestSchema (const)", @@ -2699,10 +3085,12 @@ "GetPresenceResponse (type)", "GetPresenceResponseSchema (const)", "GetPresignedUrlRequest (type)", + "GetPresignedUrlRequestParsed (type)", "GetPresignedUrlRequestSchema (const)", "GetRunRequest (type)", "GetRunRequestSchema (const)", "GetRunResponse (type)", + "GetRunResponseParsed (type)", "GetRunResponseSchema (const)", "GetTranslationsRequest (type)", "GetTranslationsRequestSchema (const)", @@ -2711,10 +3099,12 @@ "GetUiViewRequest (type)", "GetUiViewRequestSchema (const)", "GetUiViewResponse (type)", + "GetUiViewResponseParsed (type)", "GetUiViewResponseSchema (const)", "GetViewRequest (type)", "GetViewRequestSchema (const)", "GetViewResponse (type)", + "GetViewResponseParsed (type)", "GetViewResponseSchema (const)", "HandlerStatus (type)", "HandlerStatusSchema (const)", @@ -2734,22 +3124,28 @@ "ImportJobSummary (type)", "ImportJobSummarySchema (const)", "ImportMapping (type)", + "ImportMappingParsed (type)", "ImportMappingSchema (const)", "ImportRequest (type)", + "ImportRequestParsed (type)", "ImportRequestSchema (const)", "ImportResponse (type)", "ImportResponseSchema (const)", "ImportRowResult (type)", "ImportRowResultSchema (const)", "ImportValidationConfig (type)", + "ImportValidationConfigParsed (type)", "ImportValidationConfigSchema (const)", "ImportValidationMode (type)", "ImportValidationResult (type)", + "ImportValidationResultParsed (type)", "ImportValidationResultSchema (const)", "ImportWriteMode (type)", "InitiateChunkedUploadRequest (type)", + "InitiateChunkedUploadRequestParsed (type)", "InitiateChunkedUploadRequestSchema (const)", "InitiateChunkedUploadResponse (type)", + "InitiateChunkedUploadResponseParsed (type)", "InitiateChunkedUploadResponseSchema (const)", "InstallPackageRequest (type)", "InstallPackageRequestSchema (const)", @@ -2765,41 +3161,54 @@ "ListAiPendingActionsResponse (type)", "ListAiPendingActionsResponseSchema (const)", "ListExportJobsRequest (type)", + "ListExportJobsRequestParsed (type)", "ListExportJobsRequestSchema (const)", "ListExportJobsResponse (type)", + "ListExportJobsResponseParsed (type)", "ListExportJobsResponseSchema (const)", "ListFlowsRequest (type)", + "ListFlowsRequestParsed (type)", "ListFlowsRequestSchema (const)", "ListFlowsResponse (type)", + "ListFlowsResponseParsed (type)", "ListFlowsResponseSchema (const)", "ListImportJobsRequest (type)", + "ListImportJobsRequestParsed (type)", "ListImportJobsRequestSchema (const)", "ListImportJobsResponse (type)", "ListImportJobsResponseSchema (const)", "ListInstalledPackagesRequest (type)", + "ListInstalledPackagesRequestParsed (type)", "ListInstalledPackagesRequestSchema (const)", "ListInstalledPackagesResponse (type)", + "ListInstalledPackagesResponseParsed (type)", "ListInstalledPackagesResponseSchema (const)", "ListNotificationsRequest (type)", "ListNotificationsRequestSchema (const)", "ListNotificationsResponse (type)", + "ListNotificationsResponseParsed (type)", "ListNotificationsResponseSchema (const)", "ListPackagesRequest (type)", "ListPackagesRequestSchema (const)", "ListPackagesResponse (type)", "ListPackagesResponseSchema (const)", "ListRecordResponse (type)", + "ListRecordResponseParsed (type)", "ListRecordResponseSchema (const)", "ListRunsRequest (type)", + "ListRunsRequestParsed (type)", "ListRunsRequestSchema (const)", "ListRunsResponse (type)", + "ListRunsResponseParsed (type)", "ListRunsResponseSchema (const)", "ListViewsRequest (type)", "ListViewsRequestSchema (const)", "ListViewsResponse (type)", + "ListViewsResponseParsed (type)", "ListViewsResponseSchema (const)", "LoginRequest (type)", "LoginRequestInput (type)", + "LoginRequestParsed (type)", "LoginRequestSchema (const)", "LoginType (type)", "MarkAllNotificationsReadRequest (type)", @@ -2813,112 +3222,145 @@ "MetadataBulkRegisterRequest (type)", "MetadataBulkRegisterRequestSchema (const)", "MetadataBulkResponse (type)", + "MetadataBulkResponseParsed (type)", "MetadataBulkResponseSchema (const)", "MetadataBulkUnregisterRequestSchema (const)", "MetadataCacheApi (const)", "MetadataCacheRequest (type)", "MetadataCacheRequestSchema (const)", "MetadataCacheResponse (type)", + "MetadataCacheResponseParsed (type)", "MetadataCacheResponseSchema (const)", "MetadataDeleteResponse (type)", + "MetadataDeleteResponseParsed (type)", "MetadataDeleteResponseSchema (const)", "MetadataDependenciesResponse (type)", + "MetadataDependenciesResponseParsed (type)", "MetadataDependenciesResponseSchema (const)", "MetadataDependentsResponse (type)", + "MetadataDependentsResponseParsed (type)", "MetadataDependentsResponseSchema (const)", "MetadataEffectiveResponse (type)", + "MetadataEffectiveResponseParsed (type)", "MetadataEffectiveResponseSchema (const)", "MetadataEndpointsConfig (type)", "MetadataEndpointsConfigInput (type)", + "MetadataEndpointsConfigParsed (type)", "MetadataEndpointsConfigSchema (const)", "MetadataEvent (type)", "MetadataEventSchema (const)", "MetadataEventType (type)", "MetadataExistsResponse (type)", + "MetadataExistsResponseParsed (type)", "MetadataExistsResponseSchema (const)", "MetadataExportRequestSchema (const)", "MetadataExportResponse (type)", + "MetadataExportResponseParsed (type)", "MetadataExportResponseSchema (const)", "MetadataImportRequestSchema (const)", "MetadataImportResponse (type)", + "MetadataImportResponseParsed (type)", "MetadataImportResponseSchema (const)", "MetadataItemResponse (type)", + "MetadataItemResponseParsed (type)", "MetadataItemResponseSchema (const)", "MetadataListResponse (type)", + "MetadataListResponseParsed (type)", "MetadataListResponseSchema (const)", "MetadataNamesResponse (type)", + "MetadataNamesResponseParsed (type)", "MetadataNamesResponseSchema (const)", "MetadataOverlayResponse (type)", + "MetadataOverlayResponseParsed (type)", "MetadataOverlayResponseSchema (const)", "MetadataOverlaySaveRequestSchema (const)", "MetadataProtocol (interface)", "MetadataQueryRequestSchema (const)", "MetadataQueryResponse (type)", + "MetadataQueryResponseParsed (type)", "MetadataQueryResponseSchema (const)", "MetadataRegisterRequest (type)", "MetadataRegisterRequestSchema (const)", "MetadataTypeInfoResponse (type)", + "MetadataTypeInfoResponseParsed (type)", "MetadataTypeInfoResponseSchema (const)", "MetadataTypesResponse (type)", + "MetadataTypesResponseParsed (type)", "MetadataTypesResponseSchema (const)", "MetadataValidateRequestSchema (const)", "MetadataValidateResponse (type)", + "MetadataValidateResponseParsed (type)", "MetadataValidateResponseSchema (const)", "ModificationResult (type)", + "ModificationResultParsed (type)", "ModificationResultSchema (const)", "Notification (type)", "NotificationInput (type)", + "NotificationParsed (type)", "NotificationPreferences (type)", "NotificationPreferencesInput (type)", + "NotificationPreferencesParsed (type)", "NotificationPreferencesSchema (const)", "NotificationProtocol (interface)", "NotificationSchema (const)", "OData (const)", "ODataConfig (type)", + "ODataConfigParsed (type)", "ODataConfigSchema (const)", "ODataError (type)", "ODataErrorSchema (const)", "ODataFilterFunction (type)", "ODataFilterFunctionSchema (const)", "ODataMetadata (type)", + "ODataMetadataParsed (type)", "ODataMetadataSchema (const)", "ODataQuery (type)", "ODataQueryAdapter (type)", "ODataQueryAdapterInput (type)", + "ODataQueryAdapterParsed (type)", "ODataQueryAdapterSchema (const)", "ODataQuerySchema (const)", "ODataResponse (type)", "ODataResponseSchema (const)", "ObjectDefinitionResponse (type)", + "ObjectDefinitionResponseParsed (type)", "ObjectDefinitionResponseSchema (const)", "OpenApiGenerationConfig (type)", "OpenApiGenerationConfigInput (type)", + "OpenApiGenerationConfigParsed (type)", "OpenApiGenerationConfigSchema (const)", "OpenApiSecurityScheme (type)", "OpenApiSecuritySchemeSchema (const)", "OpenApiServer (type)", "OpenApiServerSchema (const)", "OpenApiSpec (type)", + "OpenApiSpecParsed (type)", "OpenApiSpecSchema (const)", "OperatorMapping (type)", "OperatorMappingSchema (const)", "PackageApiContracts (const)", "PackageApiErrorCode (type)", "PackageInstallRequest (type)", + "PackageInstallRequestParsed (type)", "PackageInstallRequestSchema (const)", "PackageInstallResponse (type)", + "PackageInstallResponseParsed (type)", "PackageInstallResponseSchema (const)", "PackagePathParams (type)", "PackagePathParamsSchema (const)", "PackageProtocol (interface)", "PackageRollbackRequest (type)", + "PackageRollbackRequestParsed (type)", "PackageRollbackRequestSchema (const)", "PackageRollbackResponse (type)", + "PackageRollbackResponseParsed (type)", "PackageRollbackResponseSchema (const)", "PackageStatus (type)", "PackageUpgradeRequest (type)", + "PackageUpgradeRequestParsed (type)", "PackageUpgradeRequestSchema (const)", "PackageUpgradeResponse (type)", + "PackageUpgradeResponseParsed (type)", "PackageUpgradeResponseSchema (const)", "PermissionProtocol (interface)", "PingMessage (type)", @@ -2933,18 +3375,23 @@ "PresenceUpdate (type)", "PresenceUpdateSchema (const)", "PresignedUrlResponse (type)", + "PresignedUrlResponseParsed (type)", "PresignedUrlResponseSchema (const)", "QueryAdapterConfig (type)", "QueryAdapterConfigInput (type)", + "QueryAdapterConfigParsed (type)", "QueryAdapterConfigSchema (const)", "QueryAdapterTarget (type)", "QueryAdapterTargetSchema (const)", "QueryOptimizationConfig (type)", + "QueryOptimizationConfigParsed (type)", "QueryOptimizationConfigSchema (const)", "REGISTERED_ERROR_CODES (const)", "RawUploadResponse (type)", + "RawUploadResponseParsed (type)", "RawUploadResponseSchema (const)", "RealtimeConfig (type)", + "RealtimeConfigParsed (type)", "RealtimeConfigSchema (const)", "RealtimeConnectRequest (type)", "RealtimeConnectRequestSchema (const)", @@ -2984,30 +3431,40 @@ "RejectAiPendingActionResponseSchema (const)", "RequestValidationConfig (type)", "RequestValidationConfigInput (type)", + "RequestValidationConfigParsed (type)", "RequestValidationConfigSchema (const)", "ResolveDependenciesRequest (type)", + "ResolveDependenciesRequestParsed (type)", "ResolveDependenciesRequestSchema (const)", "ResolveDependenciesResponse (type)", + "ResolveDependenciesResponseParsed (type)", "ResolveDependenciesResponseSchema (const)", "ResponseEnvelopeConfig (type)", "ResponseEnvelopeConfigInput (type)", + "ResponseEnvelopeConfigParsed (type)", "ResponseEnvelopeConfigSchema (const)", "RestApiConfig (type)", "RestApiConfigInput (type)", + "RestApiConfigParsed (type)", "RestApiConfigSchema (const)", "RestApiEndpoint (type)", + "RestApiEndpointParsed (type)", "RestApiEndpointSchema (const)", "RestApiPluginConfig (type)", "RestApiPluginConfigInput (type)", + "RestApiPluginConfigParsed (type)", "RestApiPluginConfigSchema (const)", "RestApiRouteCategory (type)", "RestApiRouteRegistration (type)", + "RestApiRouteRegistrationParsed (type)", "RestApiRouteRegistrationSchema (const)", "RestQueryAdapter (type)", "RestQueryAdapterInput (type)", + "RestQueryAdapterParsed (type)", "RestQueryAdapterSchema (const)", "RestServerConfig (type)", "RestServerConfigInput (type)", + "RestServerConfigParsed (type)", "RestServerConfigSchema (const)", "RetryStrategy (type)", "RouteCategory (type)", @@ -3016,15 +3473,18 @@ "RouteCoverageReport (type)", "RouteCoverageReportSchema (const)", "RouteDefinition (type)", + "RouteDefinitionParsed (type)", "RouteDefinitionSchema (const)", "RouteGenerationConfig (type)", "RouteGenerationConfigInput (type)", + "RouteGenerationConfigParsed (type)", "RouteGenerationConfigSchema (const)", "RouteHealthEntry (type)", "RouteHealthEntrySchema (const)", "RouteHealthReport (type)", "RouteHealthReportSchema (const)", "RouterConfig (type)", + "RouterConfigParsed (type)", "RouterConfigSchema (const)", "SERVICE_SELF_INFO_KEY (const)", "SaveMetaItemRequest (type)", @@ -3032,10 +3492,13 @@ "SaveMetaItemResponse (type)", "SaveMetaItemResponseSchema (const)", "ScheduleExportRequest (type)", + "ScheduleExportRequestParsed (type)", "ScheduleExportRequestSchema (const)", "ScheduleExportResponse (type)", + "ScheduleExportResponseParsed (type)", "ScheduleExportResponseSchema (const)", "ScheduledExport (type)", + "ScheduledExportParsed (type)", "ScheduledExportSchema (const)", "ServiceInfo (type)", "ServiceInfoSchema (const)", @@ -3044,10 +3507,12 @@ "ServiceStatus (type)", "Session (type)", "SessionResponse (type)", + "SessionResponseParsed (type)", "SessionResponseSchema (const)", "SessionSchema (const)", "SessionUser (type)", "SessionUserInput (type)", + "SessionUserParsed (type)", "SessionUserSchema (const)", "SetPresenceRequest (type)", "SetPresenceRequestSchema (const)", @@ -3058,6 +3523,7 @@ "SimplePresenceState (type)", "SimplePresenceStateSchema (const)", "SingleRecordResponse (type)", + "SingleRecordResponseParsed (type)", "SingleRecordResponseSchema (const)", "StandardApiContracts (const)", "StandardErrorCode (type)", @@ -3070,17 +3536,20 @@ "ToggleFlowRequest (type)", "ToggleFlowRequestSchema (const)", "ToggleFlowResponse (type)", + "ToggleFlowResponseParsed (type)", "ToggleFlowResponseSchema (const)", "TransportProtocol (type)", "TriggerFlowRequest (type)", "TriggerFlowRequestSchema (const)", "TriggerFlowResponse (type)", + "TriggerFlowResponseParsed (type)", "TriggerFlowResponseSchema (const)", "UndoImportJobResponse (type)", "UndoImportJobResponseSchema (const)", "UninstallPackageApiRequest (type)", "UninstallPackageApiRequestSchema (const)", "UninstallPackageApiResponse (type)", + "UninstallPackageApiResponseParsed (type)", "UninstallPackageApiResponseSchema (const)", "UninstallPackageRequest (type)", "UninstallPackageRequestSchema (const)", @@ -3101,12 +3570,15 @@ "UpdateDataResponse (type)", "UpdateDataResponseSchema (const)", "UpdateFlowRequest (type)", + "UpdateFlowRequestParsed (type)", "UpdateFlowRequestSchema (const)", "UpdateFlowResponse (type)", + "UpdateFlowResponseParsed (type)", "UpdateFlowResponseSchema (const)", "UpdateManyDataRequest (type)", "UpdateManyDataRequestSchema (const)", "UpdateManyDataResponse (type)", + "UpdateManyDataResponseParsed (type)", "UpdateManyDataResponseSchema (const)", "UpdateManyRecord (type)", "UpdateManyRecordSchema (const)", @@ -3115,24 +3587,31 @@ "UpdateNotificationPreferencesRequest (type)", "UpdateNotificationPreferencesRequestSchema (const)", "UpdateNotificationPreferencesResponse (type)", + "UpdateNotificationPreferencesResponseParsed (type)", "UpdateNotificationPreferencesResponseSchema (const)", "UpdateRequest (type)", "UpdateRequestSchema (const)", "UpdateViewRequest (type)", "UpdateViewRequestSchema (const)", "UpdateViewResponse (type)", + "UpdateViewResponseParsed (type)", "UpdateViewResponseSchema (const)", "UploadArtifactRequest (type)", + "UploadArtifactRequestParsed (type)", "UploadArtifactRequestSchema (const)", "UploadArtifactResponse (type)", + "UploadArtifactResponseParsed (type)", "UploadArtifactResponseSchema (const)", "UploadChunkRequest (type)", "UploadChunkRequestSchema (const)", "UploadChunkResponse (type)", + "UploadChunkResponseParsed (type)", "UploadChunkResponseSchema (const)", "UploadProgress (type)", + "UploadProgressParsed (type)", "UploadProgressSchema (const)", "UserProfileResponse (type)", + "UserProfileResponseParsed (type)", "UserProfileResponseSchema (const)", "ValidationMode (type)", "VersionDefinition (type)", @@ -3142,11 +3621,13 @@ "VersionStatus (type)", "VersioningConfig (type)", "VersioningConfigInput (type)", + "VersioningConfigParsed (type)", "VersioningConfigSchema (const)", "VersioningStrategy (type)", "ViewProtocol (interface)", "WELL_KNOWN_CAPABILITY_KEYS (const)", "WebSocketConfig (type)", + "WebSocketConfigParsed (type)", "WebSocketConfigSchema (const)", "WebSocketEvent (type)", "WebSocketEventSchema (const)", @@ -3155,6 +3636,7 @@ "WebSocketMessageType (type)", "WebSocketPresenceStatus (type)", "WebSocketServerConfig (type)", + "WebSocketServerConfigParsed (type)", "WebSocketServerConfigSchema (const)", "WellKnownCapabilities (type)", "WellKnownCapabilitiesSchema (const)", @@ -3174,6 +3656,7 @@ "AIChatWindowProps (const)", "Action (type)", "ActionAi (type)", + "ActionAiParsed (type)", "ActionAiSchema (const)", "ActionEngineFacade (interface)", "ActionHandler (type)", @@ -3182,24 +3665,31 @@ "ActionLocation (type)", "ActionLocationSchema (const)", "ActionNavItem (type)", + "ActionNavItemParsed (type)", "ActionNavItemSchema (const)", "ActionParam (type)", "ActionParamIssue (interface)", + "ActionParamParsed (type)", "ActionParamSchema (const)", + "ActionParsed (type)", "ActionSchema (const)", "ActionSession (type)", "ActionSessionSchema (const)", "ActionType (const)", "AddRecordConfig (type)", + "AddRecordConfigParsed (type)", "AddRecordConfigSchema (const)", "App (type)", "AppBranding (type)", "AppBrandingSchema (const)", "AppContextSelector (type)", + "AppContextSelectorParsed (type)", "AppContextSelectorSchema (const)", "AppInput (type)", + "AppParsed (type)", "AppSchema (const)", "AppearanceConfig (type)", + "AppearanceConfigParsed (type)", "AppearanceConfigSchema (const)", "AriaProps (type)", "AriaPropsSchema (const)", @@ -3209,6 +3699,7 @@ "BreakpointName (type)", "BreakpointOrderMapSchema (const)", "BulkActionDef (type)", + "BulkActionDefParsed (type)", "BulkActionDefSchema (const)", "BulkActionExecution (type)", "BulkActionExecutionSchema (const)", @@ -3224,30 +3715,37 @@ "ChartAggregateLike (interface)", "ChartAggregateSchema (const)", "ChartAnnotation (type)", + "ChartAnnotationParsed (type)", "ChartAnnotationSchema (const)", "ChartAxis (type)", + "ChartAxisParsed (type)", "ChartAxisSchema (const)", "ChartConfig (type)", + "ChartConfigParsed (type)", "ChartConfigSchema (const)", "ChartDrillDown (type)", "ChartDrillDownSchema (const)", "ChartGroupBy (type)", "ChartGroupBySchema (const)", "ChartInteraction (type)", + "ChartInteractionParsed (type)", "ChartInteractionSchema (const)", "ChartSeries (type)", + "ChartSeriesParsed (type)", "ChartSeriesSchema (const)", "ChartType (type)", "ChartTypeSchema (const)", "ColorPalette (type)", "ColorPaletteSchema (const)", "ColumnPrefix (type)", + "ColumnPrefixParsed (type)", "ColumnPrefixSchema (const)", "ColumnSummary (type)", "ColumnSummaryConfig (type)", "ColumnSummaryConfigSchema (const)", "ColumnSummarySchema (const)", "ComponentNavItem (type)", + "ComponentNavItemParsed (type)", "ComponentNavItemSchema (const)", "ComponentProps (type)", "ComponentPropsInput (type)", @@ -3256,14 +3754,18 @@ "DashboardHeader (type)", "DashboardHeaderAction (type)", "DashboardHeaderActionSchema (const)", + "DashboardHeaderParsed (type)", "DashboardHeaderSchema (const)", "DashboardInput (type)", "DashboardNavItem (type)", + "DashboardNavItemParsed (type)", "DashboardNavItemSchema (const)", + "DashboardParsed (type)", "DashboardSchema (const)", "DashboardWidget (type)", "DashboardWidgetOptions (type)", "DashboardWidgetOptionsSchema (const)", + "DashboardWidgetParsed (type)", "DashboardWidgetSchema (const)", "Dataset (type)", "DatasetDimension (type)", @@ -3292,6 +3794,7 @@ "ExpandViewResult (interface)", "ExpandedViewItem (interface)", "FieldWidgetProps (type)", + "FieldWidgetPropsParsed (type)", "FieldWidgetPropsSchema (const)", "FormButtonConfig (type)", "FormButtonConfigSchema (const)", @@ -3299,20 +3802,25 @@ "FormFieldInput (type)", "FormFieldSchema (const)", "FormSection (type)", + "FormSectionParsed (type)", "FormSectionSchema (const)", "FormView (type)", + "FormViewParsed (type)", "FormViewSchema (const)", "GalleryConfig (type)", + "GalleryConfigParsed (type)", "GalleryConfigSchema (const)", "GanttConfigSchema (const)", "GanttQuickFilterSchema (const)", "GlobalFilter (type)", "GlobalFilterOptionsFrom (type)", "GlobalFilterOptionsFromSchema (const)", + "GlobalFilterParsed (type)", "GlobalFilterSchema (const)", "GroupNavItem (type)", "GroupNavItemSchema (const)", "GroupingConfig (type)", + "GroupingConfigParsed (type)", "GroupingConfigSchema (const)", "GroupingFieldSchema (const)", "HttpMethodSubset (type)", @@ -3325,27 +3833,36 @@ "I18nObjectSchema (const)", "InlineAction (type)", "InlineActionInput (type)", + "InlineActionParsed (type)", "InlineActionSchema (const)", "InterfacePageConfig (type)", + "InterfacePageConfigParsed (type)", "InterfacePageConfigSchema (const)", "JoinedReportBlock (type)", "JoinedReportBlockInput (type)", "JoinedReportBlockSchema (const)", "KanbanConfigSchema (const)", "ListChartConfig (type)", + "ListChartConfigParsed (type)", "ListChartConfigSchema (const)", "ListColumn (type)", + "ListColumnParsed (type)", "ListColumnSchema (const)", "ListView (type)", + "ListViewParsed (type)", "ListViewSchema (const)", "LocaleConfig (type)", + "LocaleConfigParsed (type)", "LocaleConfigSchema (const)", "NavigationArea (type)", + "NavigationAreaParsed (type)", "NavigationAreaSchema (const)", "NavigationConfig (type)", + "NavigationConfigParsed (type)", "NavigationConfigSchema (const)", "NavigationContribution (type)", "NavigationContributionInput (type)", + "NavigationContributionParsed (type)", "NavigationContributionSchema (const)", "NavigationItem (type)", "NavigationItemInput (type)", @@ -3358,9 +3875,11 @@ "NotificationType (type)", "NotificationTypeSchema (const)", "NumberFormat (type)", + "NumberFormatParsed (type)", "NumberFormatSchema (const)", "ObjectListViewSchema (const)", "ObjectNavItem (type)", + "ObjectNavItemParsed (type)", "ObjectNavItemSchema (const)", "ObjectUserFiltersSchema (const)", "PAGE_TYPE_ROADMAP (const)", @@ -3368,21 +3887,27 @@ "PageAccordionProps (const)", "PageCardProps (const)", "PageComponent (type)", + "PageComponentParsed (type)", "PageComponentSchema (const)", "PageComponentType (const)", "PageHeaderProps (const)", "PageInput (type)", "PageNavItem (type)", + "PageNavItemParsed (type)", "PageNavItemSchema (const)", + "PageParsed (type)", "PageRegion (type)", + "PageRegionParsed (type)", "PageRegionSchema (const)", "PageSchema (const)", "PageTabsProps (const)", "PageType (type)", "PageTypeSchema (const)", "PageVariable (type)", + "PageVariableParsed (type)", "PageVariableSchema (const)", "PaginationConfig (type)", + "PaginationConfigParsed (type)", "PaginationConfigSchema (const)", "PluralRule (type)", "PluralRuleSchema (const)", @@ -3404,13 +3929,17 @@ "Report (type)", "ReportChart (type)", "ReportChartInput (type)", + "ReportChartParsed (type)", "ReportChartSchema (const)", "ReportInput (type)", "ReportNavItem (type)", + "ReportNavItemParsed (type)", "ReportNavItemSchema (const)", + "ReportParsed (type)", "ReportSchema (const)", "ReportSort (type)", "ReportSortInput (type)", + "ReportSortParsed (type)", "ReportSortSchema (const)", "ReportType (const)", "ResolvedActionParam (interface)", @@ -3423,10 +3952,12 @@ "RowHeight (type)", "RowHeightSchema (const)", "SelectionConfig (type)", + "SelectionConfigParsed (type)", "SelectionConfigSchema (const)", "Shadow (type)", "ShadowSchema (const)", "SharingConfig (type)", + "SharingConfigParsed (type)", "SharingConfigSchema (const)", "StyleMap (type)", "StyleMapSchema (const)", @@ -3434,28 +3965,35 @@ "ThemeInput (type)", "ThemeMode (type)", "ThemeModeSchema (const)", + "ThemeParsed (type)", "ThemeSchema (const)", "TimelineConfig (type)", + "TimelineConfigParsed (type)", "TimelineConfigSchema (const)", "TreeConfigSchema (const)", "Typography (type)", "TypographySchema (const)", "UrlNavItem (type)", + "UrlNavItemParsed (type)", "UrlNavItemSchema (const)", "UserActionsConfig (type)", + "UserActionsConfigParsed (type)", "UserActionsConfigSchema (const)", "UserFilterField (type)", "UserFilterFieldSchema (const)", "UserFilters (type)", + "UserFiltersParsed (type)", "UserFiltersSchema (const)", "VIEW_CONSOLE_ROW_DECORATIONS (const)", "VIEW_FILTER_OPERATORS (const)", "VIEW_FILTER_OPERATOR_ALIASES (const)", "View (type)", "ViewData (type)", + "ViewDataParsed (type)", "ViewDataSchema (const)", "ViewFilterOperator (type)", "ViewFilterRule (type)", + "ViewFilterRuleParsed (type)", "ViewFilterRuleSchema (const)", "ViewItem (type)", "ViewItemNameSchema (const)", @@ -3466,13 +4004,17 @@ "ViewKind (type)", "ViewKindSchema (const)", "ViewMetadata (type)", + "ViewMetadataParsed (type)", "ViewMetadataSchema (const)", + "ViewParsed (type)", "ViewSchema (const)", "ViewScope (type)", "ViewScopeSchema (const)", "ViewSharing (type)", + "ViewSharingParsed (type)", "ViewSharingSchema (const)", "ViewTab (type)", + "ViewTabParsed (type)", "ViewTabSchema (const)", "VisualizationType (type)", "VisualizationTypeSchema (const)", @@ -3481,14 +4023,18 @@ "WidgetColorVariant (type)", "WidgetColorVariantSchema (const)", "WidgetEvent (type)", + "WidgetEventParsed (type)", "WidgetEventSchema (const)", "WidgetLifecycle (type)", "WidgetLifecycleSchema (const)", "WidgetManifest (type)", + "WidgetManifestParsed (type)", "WidgetManifestSchema (const)", "WidgetProperty (type)", + "WidgetPropertyParsed (type)", "WidgetPropertySchema (const)", "WidgetSource (type)", + "WidgetSourceParsed (type)", "WidgetSourceSchema (const)", "actionForm (const)", "appForm (const)", @@ -3800,6 +4346,7 @@ "./integration": [ "CONNECTOR_UPSTREAM_UNAVAILABLE (const)", "CircuitBreakerConfig (type)", + "CircuitBreakerConfigParsed (type)", "CircuitBreakerConfigSchema (const)", "Connector (type)", "ConnectorActionDescriptor (interface)", @@ -3810,8 +4357,10 @@ "ConnectorErrorCategory (type)", "ConnectorErrorCategorySchema (const)", "ConnectorFieldMapping (type)", + "ConnectorFieldMappingParsed (type)", "ConnectorFieldMappingSchema (const)", "ConnectorHealth (type)", + "ConnectorHealthParsed (type)", "ConnectorHealthSchema (const)", "ConnectorInput (type)", "ConnectorInstanceAPIKeyAuthSchema (const)", @@ -3823,6 +4372,7 @@ "ConnectorMaterialization (interface)", "ConnectorMaterializationHandler (type)", "ConnectorOrigin (type)", + "ConnectorParsed (type)", "ConnectorProviderContext (interface)", "ConnectorProviderFactory (type)", "ConnectorRetryStrategy (type)", @@ -3836,21 +4386,27 @@ "ConnectorTypeSchema (const)", "ConnectorUpstreamUnavailableError (class)", "DataSyncConfig (type)", + "DataSyncConfigParsed (type)", "DataSyncConfigSchema (const)", "DeclarativeConnectorEntry (type)", + "DeclarativeConnectorEntryParsed (type)", "DeclarativeConnectorEntrySchema (const)", "ErrorMappingConfig (type)", + "ErrorMappingConfigParsed (type)", "ErrorMappingConfigSchema (const)", "ErrorMappingRule (type)", "ErrorMappingRuleSchema (const)", "HealthCheckConfig (type)", + "HealthCheckConfigParsed (type)", "HealthCheckConfigSchema (const)", "ResolvedConnectorAuth (type)", "RetryConfig (type)", + "RetryConfigParsed (type)", "RetryConfigSchema (const)", "SyncStrategy (type)", "SyncStrategySchema (const)", "WebhookConfig (type)", + "WebhookConfigParsed (type)", "WebhookConfigSchema (const)", "WebhookEvent (type)", "WebhookEventSchema (const)", @@ -3863,9 +4419,11 @@ "AccessMatrix (type)", "AccessMatrixEntry (type)", "AccessMatrixEntrySchema (const)", + "AccessMatrixParsed (type)", "AccessMatrixSchema (const)", "AdminScope (type)", "AdminScopeInput (type)", + "AdminScopeParsed (type)", "AdminScopeSchema (const)", "AuthzPosture (type)", "AuthzPostureSchema (const)", @@ -3873,28 +4431,34 @@ "CapabilityDeclarationInput (type)", "CapabilityDeclarationSchema (const)", "CriteriaSharingRule (type)", + "CriteriaSharingRuleParsed (type)", "CriteriaSharingRuleSchema (const)", "EffectiveObjectPermission (type)", "EffectiveObjectPermissionSchema (const)", "ExplainDecision (type)", + "ExplainDecisionParsed (type)", "ExplainDecisionSchema (const)", "ExplainLayer (type)", + "ExplainLayerParsed (type)", "ExplainLayerSchema (const)", "ExplainMatchedRule (type)", "ExplainMatchedRuleSchema (const)", "ExplainOperation (type)", "ExplainOperationSchema (const)", "ExplainRecordAttribution (type)", + "ExplainRecordAttributionParsed (type)", "ExplainRecordAttributionSchema (const)", "ExplainRequest (type)", "ExplainRequestInput (type)", "ExplainRequestSchema (const)", "FieldPermission (type)", + "FieldPermissionParsed (type)", "FieldPermissionSchema (const)", "OWDModel (const)", "ObjectAccessScope (type)", "ObjectAccessScopeSchema (const)", "ObjectPermission (type)", + "ObjectPermissionParsed (type)", "ObjectPermissionSchema (const)", "OrgScopingEntitlement (interface)", "PLATFORM_CAPABILITIES (const)", @@ -3902,6 +4466,7 @@ "PUBLIC_FORM_SERVER_MANAGED_FIELDS (const)", "PermissionSet (type)", "PermissionSetInput (type)", + "PermissionSetParsed (type)", "PermissionSetSchema (const)", "PlatformCapability (interface)", "RLS (const)", @@ -3911,11 +4476,13 @@ "RLSUserContext (type)", "RLSUserContextSchema (const)", "RowLevelSecurityPolicy (type)", + "RowLevelSecurityPolicyParsed (type)", "RowLevelSecurityPolicySchema (const)", "ShareRecipientType (const)", "SharingLevel (const)", "SharingRule (type)", "SharingRuleInput (type)", + "SharingRuleParsed (type)", "SharingRuleSchema (const)", "SharingRuleType (const)", "TENANCY_POSTURES (const)", @@ -4011,28 +4578,34 @@ "AnalyticsTimeRange (type)", "AnalyticsTimeRangeSchema (const)", "AppDiscoveryRequest (type)", + "AppDiscoveryRequestParsed (type)", "AppDiscoveryRequestSchema (const)", "AppDiscoveryResponse (type)", "AppDiscoveryResponseSchema (const)", "AppSubscription (type)", + "AppSubscriptionParsed (type)", "AppSubscriptionSchema (const)", "ArtifactDownloadResponse (type)", "ArtifactDownloadResponseSchema (const)", "ArtifactReference (type)", + "ArtifactReferenceParsed (type)", "ArtifactReferenceSchema (const)", "CreateListingRequest (type)", + "CreateListingRequestParsed (type)", "CreateListingRequestSchema (const)", "CreatePackageRequest (type)", "CreatePackageRequestSchema (const)", "CreatePackageVersionRequest (type)", "CreatePackageVersionRequestSchema (const)", "CuratedCollection (type)", + "CuratedCollectionParsed (type)", "CuratedCollectionSchema (const)", "Environment (type)", "EnvironmentArtifact (type)", "EnvironmentArtifactInput (type)", "EnvironmentArtifactSchema (const)", "EnvironmentCredential (type)", + "EnvironmentCredentialParsed (type)", "EnvironmentCredentialSchema (const)", "EnvironmentCredentialStatus (type)", "EnvironmentCredentialStatusSchema (const)", @@ -4041,9 +4614,11 @@ "EnvironmentMember (type)", "EnvironmentMemberSchema (const)", "EnvironmentPackageInstallation (type)", + "EnvironmentPackageInstallationParsed (type)", "EnvironmentPackageInstallationSchema (const)", "EnvironmentPackageStatus (type)", "EnvironmentPackageStatusSchema (const)", + "EnvironmentParsed (type)", "EnvironmentRole (type)", "EnvironmentRoleSchema (const)", "EnvironmentSchema (const)", @@ -4054,20 +4629,28 @@ "EnvironmentVisibility (type)", "EnvironmentVisibilitySchema (const)", "FeaturedListing (type)", + "FeaturedListingParsed (type)", "FeaturedListingSchema (const)", "InstallPackageToEnvironmentRequest (type)", + "InstallPackageToEnvironmentRequestParsed (type)", "InstallPackageToEnvironmentRequestSchema (const)", "InstalledAppSummary (type)", + "InstalledAppSummaryParsed (type)", "InstalledAppSummarySchema (const)", "ListEnvironmentPackagesResponse (type)", + "ListEnvironmentPackagesResponseParsed (type)", "ListEnvironmentPackagesResponseSchema (const)", "ListInstalledAppsRequest (type)", + "ListInstalledAppsRequestParsed (type)", "ListInstalledAppsRequestSchema (const)", "ListInstalledAppsResponse (type)", + "ListInstalledAppsResponseParsed (type)", "ListInstalledAppsResponseSchema (const)", "ListReviewsRequest (type)", + "ListReviewsRequestParsed (type)", "ListReviewsRequestSchema (const)", "ListReviewsResponse (type)", + "ListReviewsResponseParsed (type)", "ListReviewsResponseSchema (const)", "ListingActionRequest (type)", "ListingActionRequestSchema (const)", @@ -4078,21 +4661,27 @@ "MarketplaceHealthMetrics (type)", "MarketplaceHealthMetricsSchema (const)", "MarketplaceInstallRequest (type)", + "MarketplaceInstallRequestParsed (type)", "MarketplaceInstallRequestSchema (const)", "MarketplaceInstallResponse (type)", "MarketplaceInstallResponseSchema (const)", "MarketplaceListing (type)", + "MarketplaceListingParsed (type)", "MarketplaceListingSchema (const)", "MarketplaceSearchRequest (type)", + "MarketplaceSearchRequestParsed (type)", "MarketplaceSearchRequestSchema (const)", "MarketplaceSearchResponse (type)", + "MarketplaceSearchResponseParsed (type)", "MarketplaceSearchResponseSchema (const)", "Package (type)", "PackageCategory (type)", "PackageCategorySchema (const)", "PackageDependency (type)", + "PackageDependencyParsed (type)", "PackageDependencySchema (const)", "PackageInstallation (type)", + "PackageInstallationParsed (type)", "PackageInstallationSchema (const)", "PackageInstallationStatus (type)", "PackageInstallationStatusSchema (const)", @@ -4100,51 +4689,66 @@ "PackageLocale (type)", "PackageLocaleSchema (const)", "PackageManifest (type)", + "PackageManifestParsed (type)", "PackageManifestSchema (const)", + "PackageParsed (type)", "PackagePublisher (type)", "PackagePublisherSchema (const)", "PackageSchema (const)", "PackageSubmission (type)", + "PackageSubmissionParsed (type)", "PackageSubmissionSchema (const)", "PackageTranslation (type)", "PackageTranslationSchema (const)", "PackageTranslations (type)", "PackageTranslationsSchema (const)", "PackageVersion (type)", + "PackageVersionParsed (type)", "PackageVersionSchema (const)", "PackageVersionStatus (type)", "PackageVersionStatusSchema (const)", "PackageVisibility (type)", "PackageVisibilitySchema (const)", "PolicyAction (type)", + "PolicyActionParsed (type)", "PolicyActionSchema (const)", "PolicyViolationType (type)", "PolicyViolationTypeSchema (const)", "PricingModel (type)", "PricingModelSchema (const)", "ProvisionEnvironmentRequest (type)", + "ProvisionEnvironmentRequestParsed (type)", "ProvisionEnvironmentRequestSchema (const)", "ProvisionEnvironmentResponse (type)", + "ProvisionEnvironmentResponseParsed (type)", "ProvisionEnvironmentResponseSchema (const)", "ProvisionOrganizationRequest (type)", + "ProvisionOrganizationRequestParsed (type)", "ProvisionOrganizationRequestSchema (const)", "ProvisionOrganizationResponse (type)", + "ProvisionOrganizationResponseParsed (type)", "ProvisionOrganizationResponseSchema (const)", "ProvisionTenantRequest (type)", + "ProvisionTenantRequestParsed (type)", "ProvisionTenantRequestSchema (const)", "ProvisionTenantResponse (type)", + "ProvisionTenantResponseParsed (type)", "ProvisionTenantResponseSchema (const)", "PublishPackageVersionRequest (type)", "PublishPackageVersionRequestSchema (const)", "Publisher (type)", + "PublisherParsed (type)", "PublisherProfile (type)", + "PublisherProfileParsed (type)", "PublisherProfileSchema (const)", "PublisherSchema (const)", "PublisherVerification (type)", "PublisherVerificationSchema (const)", "PublishingAnalyticsRequest (type)", + "PublishingAnalyticsRequestParsed (type)", "PublishingAnalyticsRequestSchema (const)", "PublishingAnalyticsResponse (type)", + "PublishingAnalyticsResponseParsed (type)", "PublishingAnalyticsResponseSchema (const)", "RecommendationReason (type)", "RecommendationReasonSchema (const)", @@ -4156,6 +4760,7 @@ "ReleaseChannelSchema (const)", "ResolvePackageL10nOptions (interface)", "ReviewCriterion (type)", + "ReviewCriterionParsed (type)", "ReviewCriterionSchema (const)", "ReviewDecision (type)", "ReviewDecisionSchema (const)", @@ -4166,6 +4771,7 @@ "Sha256Digest (type)", "Sha256DigestSchema (const)", "SubmissionReview (type)", + "SubmissionReviewParsed (type)", "SubmissionReviewSchema (const)", "SubmitReviewRequest (type)", "SubmitReviewRequestSchema (const)", @@ -4176,6 +4782,7 @@ "TenantContext (type)", "TenantContextSchema (const)", "TenantDatabase (type)", + "TenantDatabaseParsed (type)", "TenantDatabaseSchema (const)", "TenantDatabaseStatus (type)", "TenantDatabaseStatusSchema (const)", @@ -4184,6 +4791,7 @@ "TenantPlan (type)", "TenantPlanSchema (const)", "TenantRoutingConfig (type)", + "TenantRoutingConfigParsed (type)", "TenantRoutingConfigSchema (const)", "TimeSeriesPoint (type)", "TimeSeriesPointSchema (const)", @@ -4196,10 +4804,13 @@ "UpdatePackageVersionRequest (type)", "UpdatePackageVersionRequestSchema (const)", "UpgradeEnvironmentPackageRequest (type)", + "UpgradeEnvironmentPackageRequestParsed (type)", "UpgradeEnvironmentPackageRequestSchema (const)", "UserReview (type)", + "UserReviewParsed (type)", "UserReviewSchema (const)", "VersionRelease (type)", + "VersionReleaseParsed (type)", "VersionReleaseSchema (const)", "resolvePackageL10n (function)", "resolvePackageL10nField (function)", @@ -4228,6 +4839,7 @@ "Account (type)", "AccountSchema (const)", "ApiKey (type)", + "ApiKeyParsed (type)", "ApiKeySchema (const)", "AuthError (interface)", "AuthHeaders (interface)", @@ -4245,9 +4857,11 @@ "EVERYONE_POSITION (const)", "EvalUser (type)", "EvalUserInput (type)", + "EvalUserParsed (type)", "EvalUserSchema (const)", "GUEST_POSITION (const)", "Invitation (type)", + "InvitationParsed (type)", "InvitationSchema (const)", "InvitationStatus (type)", "MEMBERSHIP_ROLE_ADMIN (const)", @@ -4263,29 +4877,37 @@ "OrganizationSchema (const)", "Position (type)", "PositionInput (type)", + "PositionParsed (type)", "PositionSchema (const)", "SCIM (const)", "SCIMAddress (type)", + "SCIMAddressParsed (type)", "SCIMAddressSchema (const)", "SCIMBulkOperation (type)", "SCIMBulkOperationSchema (const)", "SCIMBulkRequest (type)", + "SCIMBulkRequestParsed (type)", "SCIMBulkRequestSchema (const)", "SCIMBulkResponse (type)", "SCIMBulkResponseOperation (type)", "SCIMBulkResponseOperationSchema (const)", + "SCIMBulkResponseParsed (type)", "SCIMBulkResponseSchema (const)", "SCIMEmail (type)", + "SCIMEmailParsed (type)", "SCIMEmailSchema (const)", "SCIMEnterpriseUser (type)", "SCIMEnterpriseUserSchema (const)", "SCIMError (type)", + "SCIMErrorParsed (type)", "SCIMErrorSchema (const)", "SCIMGroup (type)", + "SCIMGroupParsed (type)", "SCIMGroupReference (type)", "SCIMGroupReferenceSchema (const)", "SCIMGroupSchema (const)", "SCIMListResponse (type)", + "SCIMListResponseParsed (type)", "SCIMListResponseSchema (const)", "SCIMMemberReference (type)", "SCIMMemberReferenceSchema (const)", @@ -4296,15 +4918,19 @@ "SCIMPatchOperation (type)", "SCIMPatchOperationSchema (const)", "SCIMPatchRequest (type)", + "SCIMPatchRequestParsed (type)", "SCIMPatchRequestSchema (const)", "SCIMPhoneNumber (type)", + "SCIMPhoneNumberParsed (type)", "SCIMPhoneNumberSchema (const)", "SCIMResource (type)", "SCIMUser (type)", + "SCIMUserParsed (type)", "SCIMUserSchema (const)", "SCIM_SCHEMAS (const)", "TokenPayload (interface)", "User (type)", + "UserParsed (type)", "UserSchema (const)", "VerificationToken (type)", "VerificationTokenSchema (const)", @@ -4315,11 +4941,13 @@ ], "./shared": [ "AppName (type)", + "AppNameParsed (type)", "AppNameSchema (const)", "ApplyProtectionContext (interface)", "BaseMetadataRecord (type)", "BaseMetadataRecordSchema (const)", "CorsConfig (type)", + "CorsConfigParsed (type)", "CorsConfigSchema (const)", "CronExpressionInput (type)", "CronExpressionInputSchema (const)", @@ -4339,17 +4967,22 @@ "ExternalWriteForbiddenError (class)", "F (const)", "FieldMapping (type)", + "FieldMappingParsed (type)", "FieldMappingSchema (const)", "FieldMappingTransform (type)", + "FieldMappingTransformParsed (type)", "FieldMappingTransformSchema (const)", "FieldName (type)", + "FieldNameParsed (type)", "FieldNameSchema (const)", "FlowName (type)", + "FlowNameParsed (type)", "FlowNameSchema (const)", "HttpMethod (type)", "HttpMethodSubset (type)", "HttpMethodSubsetSchema (const)", "HttpRequest (type)", + "HttpRequestParsed (type)", "HttpRequestSchema (const)", "IsolationLevel (type)", "IsolationLevelEnum (const)", @@ -4363,6 +4996,7 @@ "MutationEventEnum (const)", "NormalizeStackInputOptions (interface)", "ObjectName (type)", + "ObjectNameParsed (type)", "ObjectNameSchema (const)", "ObjectStackRawIssue (type)", "P (const)", @@ -4374,9 +5008,11 @@ "Protection (type)", "ProtectionSchema (const)", "RateLimitConfig (type)", + "RateLimitConfigParsed (type)", "RateLimitConfigSchema (const)", "ResilientFetchOptions (interface)", "RoleName (type)", + "RoleNameParsed (type)", "RoleNameSchema (const)", "SINGULAR_TO_PLURAL (const)", "SchemaDiffEntry (interface)", @@ -4396,6 +5032,7 @@ "TemplateExpressionInputSchema (const)", "VISIBILITY_ALIAS_KEYS (const)", "ViewName (type)", + "ViewNameParsed (type)", "ViewNameSchema (const)", "applyProtection (function)", "cel (function)", diff --git a/packages/spec/src/type-alias-convention.pin.test.ts b/packages/spec/src/type-alias-convention.pin.test.ts index c5574ec94c..a47afb0d4e 100644 --- a/packages/spec/src/type-alias-convention.pin.test.ts +++ b/packages/spec/src/type-alias-convention.pin.test.ts @@ -36,6 +36,9 @@ // gate refuses a bare alias that is neither pinned here nor paired with an // `XParsed`. +import { readFileSync } from 'node:fs'; +import { fileURLToPath } from 'node:url'; + import { describe, expect, it } from 'vitest'; import { z } from 'zod'; @@ -1352,12 +1355,20 @@ export type AFamilyParsedIsParseState = Assert< // --------------------------------------------------------------------------- describe('ADR-0122 type-alias convention', () => { - it('pins 717 isomorphic aliases, each proved by tsc rather than asserted here', () => { - // The proof is this file's compile: every `Iso*` above is an - // `Assert>` tsc rejects the moment the two shapes diverge. This - // case exists so the count shows up in test output and moves only with a - // deliberate edit. - expect(717).toBeGreaterThan(0); + it('still declares all 717 isomorphic pins', () => { + // The truth of each pin is proved by tsc, not here — an `Assert>` + // that stops holding is a compile error with the alias named. What tsc + // cannot notice is a pin that was DELETED: removing the assertion removes + // the failure too, so a red line can be made green by deleting it, and the + // schema it exempted then drifts unwatched. Counting them from the source + // is what makes that edit visible in `pnpm test` as well as in the gate. + // + // Rebalancing this number is normal — it drops by one whenever a schema + // gains a shape and its alias gains an `XParsed`. Dropping it without that + // corresponding alias is the edit this case exists to stop. + const self = readFileSync(fileURLToPath(import.meta.url), 'utf8'); + const pins = self.match(/^export type Iso\d+ = Assert { From f5ff338ad6012c4963431de058190165ac619251 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 7 Aug 2026 04:44:09 +0000 Subject: [PATCH 3/3] =?UTF-8?q?chore(spec):=20=E6=9C=80=E7=BB=88=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=20=E2=80=94=E2=80=94=20=E5=90=B8=E6=94=B6=20#5837=20?= =?UTF-8?q?=E5=88=86=E7=89=87=E4=B8=8E=20#5552=20=E9=80=80=E5=BD=B9,?= =?UTF-8?q?=E6=8C=89=20D5=20=E9=87=8D=E6=B5=8B=E5=88=AB=E5=90=8D=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 生成物:三个单体产物已被分片目录取代,api-surface 重生成进 `api-surface/` 13 个分片,+635 导出名 / 0 删除。json-schema.manifest/ 与 authorable-surface/ 零变化(`XParsed` 是纯类型别名)。 别名面按 ADR-0122 D5 对合并后的树重测,#5552 让两条同时移动 —— 这正是 D6 两个方向各走了一次,都没有靠人发现: - `FieldMappingTransform` 整个联合被退役,其裸名与本 PR 曾加的 `FieldMappingTransformParsed` 一并消失; - `FieldMapping` 的两形状差**只**来自 `transform` 一个键。键被墓碑化后 `z.input` 与 `z.infer` 同构,按 D5 不再属于覆盖集、按 D3 不得保留第二个 名字 —— 故删掉 `FieldMappingParsed`、改为钉进 pin 文件。方向不是猜的: 探针带一条故意失败的 control 断言,确认不是空转后才判定同构。 读数 657 别名 / 149 文件;1383 裸名 = 665 配对 + 718 pin(门每次自算)。 ADR 附录 F 与 changeset 已按交付态订正,并记下这次双向 graduation。 Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_011M7UwH25Unfi73UHim7ajY --- .../spec-type-alias-parsed-convention.md | 10 +- ...122-schema-type-alias-naming-convention.md | 65 +++++--- packages/spec/api-surface/ai.json | 24 +++ packages/spec/api-surface/api.json | 155 ++++++++++++++++++ packages/spec/api-surface/automation.json | 12 ++ packages/spec/api-surface/cloud.json | 44 +++++ packages/spec/api-surface/data.json | 66 ++++++++ packages/spec/api-surface/identity.json | 15 ++ packages/spec/api-surface/integration.json | 10 ++ packages/spec/api-surface/kernel.json | 99 +++++++++++ packages/spec/api-surface/root.json | 1 + packages/spec/api-surface/security.json | 11 ++ packages/spec/api-surface/shared.json | 9 + packages/spec/api-surface/system.json | 125 ++++++++++++++ packages/spec/api-surface/ui.json | 64 ++++++++ .../src/type-alias-convention.pin.test.ts | 10 +- 16 files changed, 696 insertions(+), 24 deletions(-) diff --git a/.changeset/spec-type-alias-parsed-convention.md b/.changeset/spec-type-alias-parsed-convention.md index 108211e02d..8e742ea5d7 100644 --- a/.changeset/spec-type-alias-parsed-convention.md +++ b/.changeset/spec-type-alias-parsed-convention.md @@ -17,7 +17,7 @@ deciding argument is the keystroke every author writes first — `const c: Conne — which should be correct by default in every domain, without knowing which file you are in. **This release is phase 1, and it is purely additive. Nothing is renamed or removed; -no existing annotation stops compiling.** It declares `XParsed` for the **660** aliases +no existing annotation stops compiling.** It declares `XParsed` for the **657** aliases whose schema genuinely has two distinct shapes, so that every consumer whose meaning phase 2 will change already has a name to move to: @@ -34,10 +34,16 @@ export type ConnectorInput = z.input< typeof ConnectorSchema >; // unchanged Schemas whose `z.input` and `z.infer` are the *same* type (enums, plain unions, objects with no defaults or transforms anywhere in their tree) deliberately get **no** `XParsed` -— a permanent synonym is a name you can only pick wrongly. All 717 of them are pinned +— a permanent synonym is a name you can only pick wrongly. All 718 of them are pinned with compile-time assertions so the exemption cannot rot silently when one later gains a `.default()`. +One name to note if you are upgrading across protocol 17: `FieldMapping` does **not** +gain a `FieldMappingParsed`. #5552 retired `FieldMapping.transform` and the whole +`FieldMappingTransform` union in the same release, and that key was the only reason the +schema had two shapes — so it is now isomorphic, and under this convention it correctly +keeps exactly one name. + **What to do now (optional, and cheap).** If you hold the result of a `.parse()` — or of a `defineX()` factory, which returns it — move that annotation to `XParsed`: diff --git a/docs/adr/0122-schema-type-alias-naming-convention.md b/docs/adr/0122-schema-type-alias-naming-convention.md index 53afe0a74d..2bcc105c32 100644 --- a/docs/adr/0122-schema-type-alias-naming-convention.md +++ b/docs/adr/0122-schema-type-alias-naming-convention.md @@ -162,16 +162,22 @@ and their header says "DO NOT migrate these". Phase 1 deliberately leaves every ## Consequences -- `@objectstack/spec` gains **660 exported type aliases**, all type-only: no runtime - code, no bundle size, no JSON Schema, no authorable surface. `api-surface.json` grows - by the same 660 names; `json-schema/` and `authorable-surface.json` do not move, which - was verified rather than assumed. +- `@objectstack/spec` gains **657 exported type aliases**, all type-only: no runtime + code, no bundle size, no JSON Schema, no authorable surface. The `api-surface` shards + grow by the corresponding names; `json-schema/` and the `authorable-surface` shards do + not move, which was verified rather than assumed. - Consumers holding a parsed value can migrate to `XParsed` **now**, incrementally, under a minor — which is the point. A consumer that does nothing is equally fine until the major. -- The 717 pinned schemas will occasionally graduate: one gains a `.default()`, the pin - goes red, and the fix is one alias plus one deleted pin line. That is the intended - maintenance, and it is loud. +- The 718 pinned schemas will occasionally graduate **in both directions**, and both are + loud. A schema that gains a `.default()` turns its pin red, and the fix is one alias + plus one deleted pin line. A schema that *loses* its last defaulted key turns the gate + red instead, and the fix is the mirror image — retire the `XParsed`, add the pin. The + second direction is not hypothetical: it happened during this change's own final sync, + when protocol 17 (#5552, ADR-0049) retired `FieldMapping.transform` and the whole + `FieldMappingTransform` union. `FieldMappingTransform` stopped existing altogether, and + `FieldMapping` — which had two shapes only because of that key — became isomorphic and + moved from the covered set to the pinned set. Neither move needed a human to notice it. - #5507 (two `automation/` files that have not honoured `X` / `XParsed`) is re-scoped by this record rather than closed by it: those files are already in family A, so what remains there is phase-2 work. @@ -258,22 +264,41 @@ was found. ### F. What phase 1 actually changed +Measured against `main` **as delivered** — that is, after the final sync that absorbed +protocol 17's `FieldMapping.transform` retirement (#5552) and the generated-artifact +sharding (#5837). Where these differ from the sections above, the sections above are the +census that *chose* the criterion and these are what applying it produced. + | | count | |:---|---:| -| `XParsed` aliases added | **660** | -| `*.zod.ts` files edited | **151** | +| `XParsed` aliases added | **657** | +| `*.zod.ts` files edited | **149** | | existing declarations modified, renamed or removed | **0** | -| schemas pinned isomorphic | **717** | -| final: bare `z.infer` aliases paired with an `XParsed` | 667 | -| final: bare `z.infer` aliases pinned isomorphic | 717 | - -667 + 717 = 1384, the whole population, which is the gate's own arithmetic on every run. -The 667 is 663 covered by D5 plus 4 isomorphic aliases in `automation/execution.zod.ts` -that already carried an `XParsed` from a half-finished earlier pass; those are left -alone (D4 removes nothing) and simply do not need a pin. - -151 files were edited rather than the 152 that contain a differing alias, because -`automation/execution.zod.ts`'s three differing aliases already had their `XParsed`. +| final: bare `z.infer` aliases | **1383** | +| final: paired with an `XParsed` | **665** | +| final: pinned isomorphic | **718** | + +665 + 718 = 1383, the whole population, which is the gate's own arithmetic on every run. + +The drift from the census (659 aliases / 151 files / 1384 bare / 717 pinned) is entirely +#5552, and it is worth reading because it exercises both of D6's directions at once: + +- `FieldMappingTransform` and its schema were **retired outright**, so its bare alias and + the `FieldMappingTransformParsed` this change had added both cease to exist: 1384 bare + aliases become 1383, and one covered alias disappears. +- `FieldMapping` had two shapes *only* because of the `transform` key. With the key + tombstoned, `z.input` and `z.infer` coincide, so under D5 it is no longer covered and + under D3 it must **not** keep a second name. `FieldMappingParsed` was therefore dropped + and a pin added: 717 pins become 718, 667 paired become 665. + +Neither move was noticed by a human. The gate reported `FieldMapping` as "neither paired +nor pinned" on the merged tree, and the direction was then settled by measurement (a +probe carrying a deliberate control assertion, so a vacuous pass was not mistaken for +isomorphism) rather than by assuming which way the retirement had pushed it. + +149 files were edited rather than the 151 of the census: `shared/mapping.zod.ts` no longer +carries a net addition, and `automation/execution.zod.ts`'s differing aliases already had +their `XParsed`. ### G. Two findings the gate produced on its first real run diff --git a/packages/spec/api-surface/ai.json b/packages/spec/api-surface/ai.json index 880880ae17..7b8609741d 100644 --- a/packages/spec/api-surface/ai.json +++ b/packages/spec/api-surface/ai.json @@ -6,8 +6,10 @@ "AIUsageRecord (type)", "AIUsageRecordSchema (const)", "Agent (type)", + "AgentParsed (type)", "AgentSchema (const)", "BlueprintApp (type)", + "BlueprintAppParsed (type)", "BlueprintAppSchema (const)", "BlueprintCondition (type)", "BlueprintConditionSchema (const)", @@ -16,6 +18,7 @@ "BlueprintField (type)", "BlueprintFieldSchema (const)", "BlueprintNavItem (type)", + "BlueprintNavItemParsed (type)", "BlueprintNavItemSchema (const)", "BlueprintObject (type)", "BlueprintObjectSchema (const)", @@ -24,17 +27,21 @@ "BlueprintSummaryOperations (type)", "BlueprintSummaryOperationsSchema (const)", "BlueprintView (type)", + "BlueprintViewParsed (type)", "BlueprintViewSchema (const)", "BlueprintWidgetCondition (type)", "BlueprintWidgetConditionSchema (const)", "CodeContentSchema (const)", "ConversationAnalytics (type)", + "ConversationAnalyticsParsed (type)", "ConversationAnalyticsSchema (const)", "ConversationContext (type)", "ConversationContextSchema (const)", "ConversationMessage (type)", + "ConversationMessageParsed (type)", "ConversationMessageSchema (const)", "ConversationSession (type)", + "ConversationSessionParsed (type)", "ConversationSessionSchema (const)", "ConversationSummary (type)", "ConversationSummarySchema (const)", @@ -63,8 +70,10 @@ "MCPApprovalPolicy (type)", "MCPApprovalPolicySchema (const)", "MCPServerRef (type)", + "MCPServerRefParsed (type)", "MCPServerRefSchema (const)", "MCPToolBinding (type)", + "MCPToolBindingParsed (type)", "MCPToolBindingSchema (const)", "MCPTransport (type)", "MCPTransportSchema (const)", @@ -78,6 +87,7 @@ "MCP_OAUTH_SCOPE_DATA_WRITE (const)", "McpOauthScope (type)", "MessageContent (type)", + "MessageContentParsed (type)", "MessageContentSchema (const)", "MessageContentType (type)", "MessageContentTypeSchema (const)", @@ -86,50 +96,64 @@ "MessageRole (type)", "MessageRoleSchema (const)", "ModelCapability (type)", + "ModelCapabilityParsed (type)", "ModelCapabilitySchema (const)", "ModelConfig (type)", + "ModelConfigParsed (type)", "ModelConfigSchema (const)", "ModelLimits (type)", "ModelLimitsSchema (const)", "ModelPricing (type)", + "ModelPricingParsed (type)", "ModelPricingSchema (const)", "ModelProvider (type)", "ModelProviderSchema (const)", "ModelRegistry (type)", "ModelRegistryEntry (type)", + "ModelRegistryEntryParsed (type)", "ModelRegistryEntrySchema (const)", + "ModelRegistryParsed (type)", "ModelRegistrySchema (const)", "ModelSelectionCriteria (type)", + "ModelSelectionCriteriaParsed (type)", "ModelSelectionCriteriaSchema (const)", "ObjectKnowledgeSource (type)", "ObjectKnowledgeSourceSchema (const)", "PromptTemplate (type)", + "PromptTemplateParsed (type)", "PromptTemplateSchema (const)", "PromptVariable (type)", + "PromptVariableParsed (type)", "PromptVariableSchema (const)", "Skill (type)", + "SkillParsed (type)", "SkillSchema (const)", "SkillTriggerCondition (type)", "SkillTriggerConditionSchema (const)", "SolutionBlueprint (type)", + "SolutionBlueprintParsed (type)", "SolutionBlueprintSchema (const)", "SolutionBlueprintStrict (type)", "SolutionBlueprintStrictSchema (const)", "StructuredOutputConfig (type)", + "StructuredOutputConfigParsed (type)", "StructuredOutputConfigSchema (const)", "StructuredOutputFormat (type)", "StructuredOutputFormatSchema (const)", "TextContentSchema (const)", "TokenBudgetConfig (type)", + "TokenBudgetConfigParsed (type)", "TokenBudgetConfigSchema (const)", "TokenBudgetStrategy (type)", "TokenBudgetStrategySchema (const)", "TokenUsage (type)", "TokenUsageSchema (const)", "TokenUsageStats (type)", + "TokenUsageStatsParsed (type)", "TokenUsageStatsSchema (const)", "Tool (type)", "ToolCall (type)", + "ToolCallParsed (type)", "ToolCallSchema (const)", "ToolSchema (const)", "TransformPipelineStep (type)", diff --git a/packages/spec/api-surface/api.json b/packages/spec/api-surface/api.json index edcd7dc403..b99af04eb7 100644 --- a/packages/spec/api-surface/api.json +++ b/packages/spec/api-surface/api.json @@ -32,33 +32,43 @@ "AiStreamChunkSchema (const)", "AnalyticsEndpoint (type)", "AnalyticsMetadataResponse (type)", + "AnalyticsMetadataResponseParsed (type)", "AnalyticsMetadataResponseSchema (const)", "AnalyticsProtocol (interface)", "AnalyticsQueryRequest (type)", "AnalyticsQueryRequestSchema (const)", "AnalyticsResultResponseSchema (const)", "AnalyticsSqlResponse (type)", + "AnalyticsSqlResponseParsed (type)", "AnalyticsSqlResponseSchema (const)", "ApiChangelogEntry (type)", + "ApiChangelogEntryParsed (type)", "ApiChangelogEntrySchema (const)", "ApiDocumentationConfig (type)", + "ApiDocumentationConfigParsed (type)", "ApiDocumentationConfigSchema (const)", "ApiEndpoint (type)", "ApiEndpointInput (type)", + "ApiEndpointParsed (type)", "ApiEndpointSchema (const)", "ApiError (type)", + "ApiErrorParsed (type)", "ApiErrorSchema (const)", "ApiMappingSchema (const)", "ApiRoutes (type)", "ApiRoutesSchema (const)", "ApiTestCollection (type)", + "ApiTestCollectionParsed (type)", "ApiTestCollectionSchema (const)", "ApiTestRequest (type)", + "ApiTestRequestParsed (type)", "ApiTestRequestSchema (const)", "ApiTestingUiConfig (type)", + "ApiTestingUiConfigParsed (type)", "ApiTestingUiConfigSchema (const)", "ApiTestingUiType (type)", "AppDefinitionResponse (type)", + "AppDefinitionResponseParsed (type)", "AppDefinitionResponseSchema (const)", "ApproveAiPendingActionResponse (type)", "ApproveAiPendingActionResponseSchema (const)", @@ -69,11 +79,14 @@ "AuthEndpointPaths (const)", "AuthEndpointSchema (const)", "AuthFeaturesConfig (type)", + "AuthFeaturesConfigParsed (type)", "AuthFeaturesConfigSchema (const)", "AuthProvider (type)", "AuthProviderInfo (type)", + "AuthProviderInfoParsed (type)", "AuthProviderInfoSchema (const)", "AutomationActionsResponse (type)", + "AutomationActionsResponseParsed (type)", "AutomationActionsResponseSchema (const)", "AutomationApiContracts (const)", "AutomationApiErrorCode (type)", @@ -89,41 +102,52 @@ "BasePresence (type)", "BasePresenceSchema (const)", "BaseResponse (type)", + "BaseResponseParsed (type)", "BaseResponseSchema (const)", "BatchApiContracts (const)", "BatchConfig (type)", + "BatchConfigParsed (type)", "BatchConfigSchema (const)", "BatchDataRequest (type)", "BatchDataRequestSchema (const)", "BatchDataResponse (type)", + "BatchDataResponseParsed (type)", "BatchDataResponseSchema (const)", "BatchEndpointsConfig (type)", "BatchEndpointsConfigInput (type)", + "BatchEndpointsConfigParsed (type)", "BatchEndpointsConfigSchema (const)", "BatchLoadingStrategy (type)", + "BatchLoadingStrategyParsed (type)", "BatchLoadingStrategySchema (const)", "BatchOperationResult (type)", + "BatchOperationResultParsed (type)", "BatchOperationResultSchema (const)", "BatchOperationType (type)", "BatchOptions (type)", + "BatchOptionsParsed (type)", "BatchOptionsSchema (const)", "BatchRecord (type)", "BatchRecordSchema (const)", "BatchUpdateRequest (type)", "BatchUpdateRequestSchema (const)", "BatchUpdateResponse (type)", + "BatchUpdateResponseParsed (type)", "BatchUpdateResponseSchema (const)", "BulkDataEvent (type)", "BulkDataEventSchema (const)", "BulkDataEventType (type)", "BulkRequest (type)", + "BulkRequestParsed (type)", "BulkRequestSchema (const)", "BulkResponse (type)", + "BulkResponseParsed (type)", "BulkResponseSchema (const)", "CacheControl (type)", "CacheControlSchema (const)", "CacheDirective (type)", "CacheInvalidationRequest (type)", + "CacheInvalidationRequestParsed (type)", "CacheInvalidationRequestSchema (const)", "CacheInvalidationResponse (type)", "CacheInvalidationResponseSchema (const)", @@ -139,10 +163,12 @@ "CompleteChunkedUploadRequest (type)", "CompleteChunkedUploadRequestSchema (const)", "CompleteChunkedUploadResponse (type)", + "CompleteChunkedUploadResponseParsed (type)", "CompleteChunkedUploadResponseSchema (const)", "CompleteUploadRequest (type)", "CompleteUploadRequestSchema (const)", "ConceptListResponse (type)", + "ConceptListResponseParsed (type)", "ConceptListResponseSchema (const)", "ConflictResolutionStrategy (type)", "CreateAiConversationRequest (type)", @@ -152,14 +178,18 @@ "CreateDataResponse (type)", "CreateDataResponseSchema (const)", "CreateExportJobRequest (type)", + "CreateExportJobRequestParsed (type)", "CreateExportJobRequestSchema (const)", "CreateExportJobResponse (type)", + "CreateExportJobResponseParsed (type)", "CreateExportJobResponseSchema (const)", "CreateFlowRequest (type)", "CreateFlowRequestSchema (const)", "CreateFlowResponse (type)", + "CreateFlowResponseParsed (type)", "CreateFlowResponseSchema (const)", "CreateImportJobRequest (type)", + "CreateImportJobRequestParsed (type)", "CreateImportJobRequestSchema (const)", "CreateImportJobResponse (type)", "CreateImportJobResponseSchema (const)", @@ -172,6 +202,7 @@ "CreateViewRequest (type)", "CreateViewRequestSchema (const)", "CreateViewResponse (type)", + "CreateViewResponseParsed (type)", "CreateViewResponseSchema (const)", "CrossObjectBatchDroppedFields (type)", "CrossObjectBatchDroppedFieldsSchema (const)", @@ -185,6 +216,7 @@ "CrudEndpointPatternSchema (const)", "CrudEndpointsConfig (type)", "CrudEndpointsConfigInput (type)", + "CrudEndpointsConfigParsed (type)", "CrudEndpointsConfigSchema (const)", "CrudOperation (type)", "CursorMessage (type)", @@ -204,6 +236,7 @@ "DataEventSchema (const)", "DataEventType (type)", "DataLoaderConfig (type)", + "DataLoaderConfigParsed (type)", "DataLoaderConfigSchema (const)", "DataProtocol (interface)", "DeduplicationStrategy (type)", @@ -214,24 +247,29 @@ "DeleteFlowRequest (type)", "DeleteFlowRequestSchema (const)", "DeleteFlowResponse (type)", + "DeleteFlowResponseParsed (type)", "DeleteFlowResponseSchema (const)", "DeleteManyDataRequest (type)", "DeleteManyDataRequestSchema (const)", "DeleteManyDataResponse (type)", + "DeleteManyDataResponseParsed (type)", "DeleteManyDataResponseSchema (const)", "DeleteManyRequest (type)", + "DeleteManyRequestParsed (type)", "DeleteManyRequestSchema (const)", "DeleteMetaItemRequest (type)", "DeleteMetaItemRequestSchema (const)", "DeleteMetaItemResponse (type)", "DeleteMetaItemResponseSchema (const)", "DeleteResponse (type)", + "DeleteResponseParsed (type)", "DeleteResponseSchema (const)", "DeleteViewRequest (type)", "DeleteViewRequestSchema (const)", "DeleteViewResponse (type)", "DeleteViewResponseSchema (const)", "DeviceRequestResponse (type)", + "DeviceRequestResponseParsed (type)", "DeviceRequestResponseSchema (const)", "DeviceTokenResponse (type)", "DeviceTokenResponseSchema (const)", @@ -245,17 +283,20 @@ "DiscoverySchema (const)", "DispatcherConfig (type)", "DispatcherConfigInput (type)", + "DispatcherConfigParsed (type)", "DispatcherConfigSchema (const)", "DispatcherErrorCode (type)", "DispatcherErrorResponse (type)", "DispatcherErrorResponseSchema (const)", "DispatcherRoute (type)", "DispatcherRouteInput (type)", + "DispatcherRouteParsed (type)", "DispatcherRouteSchema (const)", "DocumentState (type)", "DocumentStateSchema (const)", "ERROR_CODE_LEDGER (const)", "ETag (type)", + "ETagParsed (type)", "ETagSchema (const)", "EditMessage (type)", "EditMessageSchema (const)", @@ -275,16 +316,19 @@ "EndpointRegistry (type)", "EndpointRegistrySchema (const)", "EnhancedApiError (type)", + "EnhancedApiErrorParsed (type)", "EnhancedApiErrorSchema (const)", "ErrorCategory (type)", "ErrorCode (type)", "ErrorHandlingConfig (type)", "ErrorHandlingConfigInput (type)", + "ErrorHandlingConfigParsed (type)", "ErrorHandlingConfigSchema (const)", "ErrorHttpStatusMap (const)", "ErrorMessage (type)", "ErrorMessageSchema (const)", "ErrorResponse (type)", + "ErrorResponseParsed (type)", "ErrorResponseSchema (const)", "EventMessage (type)", "EventMessageSchema (const)", @@ -295,24 +339,30 @@ "ExportApiContracts (const)", "ExportFormat (type)", "ExportImportTemplate (type)", + "ExportImportTemplateParsed (type)", "ExportImportTemplateSchema (const)", "ExportJobProgress (type)", + "ExportJobProgressParsed (type)", "ExportJobProgressSchema (const)", "ExportJobStatus (type)", "ExportJobSummary (type)", "ExportJobSummarySchema (const)", "ExportRequest (type)", + "ExportRequestParsed (type)", "ExportRequestSchema (const)", "FieldError (type)", "FieldErrorCode (type)", "FieldErrorSchema (const)", "FieldMappingEntry (type)", + "FieldMappingEntryParsed (type)", "FieldMappingEntrySchema (const)", "FileDownloadUrlResponse (type)", + "FileDownloadUrlResponseParsed (type)", "FileDownloadUrlResponseSchema (const)", "FileTypeValidation (type)", "FileTypeValidationSchema (const)", "FileUploadResponse (type)", + "FileUploadResponseParsed (type)", "FileUploadResponseSchema (const)", "FindDataRequest (type)", "FindDataRequestSchema (const)", @@ -321,11 +371,13 @@ "FlowSummary (type)", "FlowSummarySchema (const)", "GeneratedApiDocumentation (type)", + "GeneratedApiDocumentationParsed (type)", "GeneratedApiDocumentationSchema (const)", "GeneratedEndpoint (type)", "GeneratedEndpointSchema (const)", "GetAnalyticsMetaRequestSchema (const)", "GetAuthConfigResponse (type)", + "GetAuthConfigResponseParsed (type)", "GetAuthConfigResponseSchema (const)", "GetDataRequest (type)", "GetDataRequestSchema (const)", @@ -342,6 +394,7 @@ "GetExportJobDownloadRequest (type)", "GetExportJobDownloadRequestSchema (const)", "GetExportJobDownloadResponse (type)", + "GetExportJobDownloadResponseParsed (type)", "GetExportJobDownloadResponseSchema (const)", "GetFieldLabelsRequest (type)", "GetFieldLabelsRequestSchema (const)", @@ -350,18 +403,22 @@ "GetFlowRequest (type)", "GetFlowRequestSchema (const)", "GetFlowResponse (type)", + "GetFlowResponseParsed (type)", "GetFlowResponseSchema (const)", "GetInstalledPackageRequest (type)", "GetInstalledPackageRequestSchema (const)", "GetInstalledPackageResponse (type)", + "GetInstalledPackageResponseParsed (type)", "GetInstalledPackageResponseSchema (const)", "GetLocalesRequest (type)", "GetLocalesRequestSchema (const)", "GetLocalesResponse (type)", + "GetLocalesResponseParsed (type)", "GetLocalesResponseSchema (const)", "GetMetaItemCachedRequest (type)", "GetMetaItemCachedRequestSchema (const)", "GetMetaItemCachedResponse (type)", + "GetMetaItemCachedResponseParsed (type)", "GetMetaItemCachedResponseSchema (const)", "GetMetaItemRequest (type)", "GetMetaItemRequestSchema (const)", @@ -378,10 +435,12 @@ "GetNotificationPreferencesRequest (type)", "GetNotificationPreferencesRequestSchema (const)", "GetNotificationPreferencesResponse (type)", + "GetNotificationPreferencesResponseParsed (type)", "GetNotificationPreferencesResponseSchema (const)", "GetObjectPermissionsRequest (type)", "GetObjectPermissionsRequestSchema (const)", "GetObjectPermissionsResponse (type)", + "GetObjectPermissionsResponseParsed (type)", "GetObjectPermissionsResponseSchema (const)", "GetPackageRequest (type)", "GetPackageRequestSchema (const)", @@ -392,10 +451,12 @@ "GetPresenceResponse (type)", "GetPresenceResponseSchema (const)", "GetPresignedUrlRequest (type)", + "GetPresignedUrlRequestParsed (type)", "GetPresignedUrlRequestSchema (const)", "GetRunRequest (type)", "GetRunRequestSchema (const)", "GetRunResponse (type)", + "GetRunResponseParsed (type)", "GetRunResponseSchema (const)", "GetTranslationsRequest (type)", "GetTranslationsRequestSchema (const)", @@ -404,10 +465,12 @@ "GetUiViewRequest (type)", "GetUiViewRequestSchema (const)", "GetUiViewResponse (type)", + "GetUiViewResponseParsed (type)", "GetUiViewResponseSchema (const)", "GetViewRequest (type)", "GetViewRequestSchema (const)", "GetViewResponse (type)", + "GetViewResponseParsed (type)", "GetViewResponseSchema (const)", "HandlerStatus (type)", "HandlerStatusSchema (const)", @@ -427,22 +490,28 @@ "ImportJobSummary (type)", "ImportJobSummarySchema (const)", "ImportMapping (type)", + "ImportMappingParsed (type)", "ImportMappingSchema (const)", "ImportRequest (type)", + "ImportRequestParsed (type)", "ImportRequestSchema (const)", "ImportResponse (type)", "ImportResponseSchema (const)", "ImportRowResult (type)", "ImportRowResultSchema (const)", "ImportValidationConfig (type)", + "ImportValidationConfigParsed (type)", "ImportValidationConfigSchema (const)", "ImportValidationMode (type)", "ImportValidationResult (type)", + "ImportValidationResultParsed (type)", "ImportValidationResultSchema (const)", "ImportWriteMode (type)", "InitiateChunkedUploadRequest (type)", + "InitiateChunkedUploadRequestParsed (type)", "InitiateChunkedUploadRequestSchema (const)", "InitiateChunkedUploadResponse (type)", + "InitiateChunkedUploadResponseParsed (type)", "InitiateChunkedUploadResponseSchema (const)", "InstallPackageRequest (type)", "InstallPackageRequestSchema (const)", @@ -458,41 +527,54 @@ "ListAiPendingActionsResponse (type)", "ListAiPendingActionsResponseSchema (const)", "ListExportJobsRequest (type)", + "ListExportJobsRequestParsed (type)", "ListExportJobsRequestSchema (const)", "ListExportJobsResponse (type)", + "ListExportJobsResponseParsed (type)", "ListExportJobsResponseSchema (const)", "ListFlowsRequest (type)", + "ListFlowsRequestParsed (type)", "ListFlowsRequestSchema (const)", "ListFlowsResponse (type)", + "ListFlowsResponseParsed (type)", "ListFlowsResponseSchema (const)", "ListImportJobsRequest (type)", + "ListImportJobsRequestParsed (type)", "ListImportJobsRequestSchema (const)", "ListImportJobsResponse (type)", "ListImportJobsResponseSchema (const)", "ListInstalledPackagesRequest (type)", + "ListInstalledPackagesRequestParsed (type)", "ListInstalledPackagesRequestSchema (const)", "ListInstalledPackagesResponse (type)", + "ListInstalledPackagesResponseParsed (type)", "ListInstalledPackagesResponseSchema (const)", "ListNotificationsRequest (type)", "ListNotificationsRequestSchema (const)", "ListNotificationsResponse (type)", + "ListNotificationsResponseParsed (type)", "ListNotificationsResponseSchema (const)", "ListPackagesRequest (type)", "ListPackagesRequestSchema (const)", "ListPackagesResponse (type)", "ListPackagesResponseSchema (const)", "ListRecordResponse (type)", + "ListRecordResponseParsed (type)", "ListRecordResponseSchema (const)", "ListRunsRequest (type)", + "ListRunsRequestParsed (type)", "ListRunsRequestSchema (const)", "ListRunsResponse (type)", + "ListRunsResponseParsed (type)", "ListRunsResponseSchema (const)", "ListViewsRequest (type)", "ListViewsRequestSchema (const)", "ListViewsResponse (type)", + "ListViewsResponseParsed (type)", "ListViewsResponseSchema (const)", "LoginRequest (type)", "LoginRequestInput (type)", + "LoginRequestParsed (type)", "LoginRequestSchema (const)", "LoginType (type)", "MarkAllNotificationsReadRequest (type)", @@ -506,112 +588,145 @@ "MetadataBulkRegisterRequest (type)", "MetadataBulkRegisterRequestSchema (const)", "MetadataBulkResponse (type)", + "MetadataBulkResponseParsed (type)", "MetadataBulkResponseSchema (const)", "MetadataBulkUnregisterRequestSchema (const)", "MetadataCacheApi (const)", "MetadataCacheRequest (type)", "MetadataCacheRequestSchema (const)", "MetadataCacheResponse (type)", + "MetadataCacheResponseParsed (type)", "MetadataCacheResponseSchema (const)", "MetadataDeleteResponse (type)", + "MetadataDeleteResponseParsed (type)", "MetadataDeleteResponseSchema (const)", "MetadataDependenciesResponse (type)", + "MetadataDependenciesResponseParsed (type)", "MetadataDependenciesResponseSchema (const)", "MetadataDependentsResponse (type)", + "MetadataDependentsResponseParsed (type)", "MetadataDependentsResponseSchema (const)", "MetadataEffectiveResponse (type)", + "MetadataEffectiveResponseParsed (type)", "MetadataEffectiveResponseSchema (const)", "MetadataEndpointsConfig (type)", "MetadataEndpointsConfigInput (type)", + "MetadataEndpointsConfigParsed (type)", "MetadataEndpointsConfigSchema (const)", "MetadataEvent (type)", "MetadataEventSchema (const)", "MetadataEventType (type)", "MetadataExistsResponse (type)", + "MetadataExistsResponseParsed (type)", "MetadataExistsResponseSchema (const)", "MetadataExportRequestSchema (const)", "MetadataExportResponse (type)", + "MetadataExportResponseParsed (type)", "MetadataExportResponseSchema (const)", "MetadataImportRequestSchema (const)", "MetadataImportResponse (type)", + "MetadataImportResponseParsed (type)", "MetadataImportResponseSchema (const)", "MetadataItemResponse (type)", + "MetadataItemResponseParsed (type)", "MetadataItemResponseSchema (const)", "MetadataListResponse (type)", + "MetadataListResponseParsed (type)", "MetadataListResponseSchema (const)", "MetadataNamesResponse (type)", + "MetadataNamesResponseParsed (type)", "MetadataNamesResponseSchema (const)", "MetadataOverlayResponse (type)", + "MetadataOverlayResponseParsed (type)", "MetadataOverlayResponseSchema (const)", "MetadataOverlaySaveRequestSchema (const)", "MetadataProtocol (interface)", "MetadataQueryRequestSchema (const)", "MetadataQueryResponse (type)", + "MetadataQueryResponseParsed (type)", "MetadataQueryResponseSchema (const)", "MetadataRegisterRequest (type)", "MetadataRegisterRequestSchema (const)", "MetadataTypeInfoResponse (type)", + "MetadataTypeInfoResponseParsed (type)", "MetadataTypeInfoResponseSchema (const)", "MetadataTypesResponse (type)", + "MetadataTypesResponseParsed (type)", "MetadataTypesResponseSchema (const)", "MetadataValidateRequestSchema (const)", "MetadataValidateResponse (type)", + "MetadataValidateResponseParsed (type)", "MetadataValidateResponseSchema (const)", "ModificationResult (type)", + "ModificationResultParsed (type)", "ModificationResultSchema (const)", "Notification (type)", "NotificationInput (type)", + "NotificationParsed (type)", "NotificationPreferences (type)", "NotificationPreferencesInput (type)", + "NotificationPreferencesParsed (type)", "NotificationPreferencesSchema (const)", "NotificationProtocol (interface)", "NotificationSchema (const)", "OData (const)", "ODataConfig (type)", + "ODataConfigParsed (type)", "ODataConfigSchema (const)", "ODataError (type)", "ODataErrorSchema (const)", "ODataFilterFunction (type)", "ODataFilterFunctionSchema (const)", "ODataMetadata (type)", + "ODataMetadataParsed (type)", "ODataMetadataSchema (const)", "ODataQuery (type)", "ODataQueryAdapter (type)", "ODataQueryAdapterInput (type)", + "ODataQueryAdapterParsed (type)", "ODataQueryAdapterSchema (const)", "ODataQuerySchema (const)", "ODataResponse (type)", "ODataResponseSchema (const)", "ObjectDefinitionResponse (type)", + "ObjectDefinitionResponseParsed (type)", "ObjectDefinitionResponseSchema (const)", "OpenApiGenerationConfig (type)", "OpenApiGenerationConfigInput (type)", + "OpenApiGenerationConfigParsed (type)", "OpenApiGenerationConfigSchema (const)", "OpenApiSecurityScheme (type)", "OpenApiSecuritySchemeSchema (const)", "OpenApiServer (type)", "OpenApiServerSchema (const)", "OpenApiSpec (type)", + "OpenApiSpecParsed (type)", "OpenApiSpecSchema (const)", "OperatorMapping (type)", "OperatorMappingSchema (const)", "PackageApiContracts (const)", "PackageApiErrorCode (type)", "PackageInstallRequest (type)", + "PackageInstallRequestParsed (type)", "PackageInstallRequestSchema (const)", "PackageInstallResponse (type)", + "PackageInstallResponseParsed (type)", "PackageInstallResponseSchema (const)", "PackagePathParams (type)", "PackagePathParamsSchema (const)", "PackageProtocol (interface)", "PackageRollbackRequest (type)", + "PackageRollbackRequestParsed (type)", "PackageRollbackRequestSchema (const)", "PackageRollbackResponse (type)", + "PackageRollbackResponseParsed (type)", "PackageRollbackResponseSchema (const)", "PackageStatus (type)", "PackageUpgradeRequest (type)", + "PackageUpgradeRequestParsed (type)", "PackageUpgradeRequestSchema (const)", "PackageUpgradeResponse (type)", + "PackageUpgradeResponseParsed (type)", "PackageUpgradeResponseSchema (const)", "PermissionProtocol (interface)", "PingMessage (type)", @@ -626,18 +741,23 @@ "PresenceUpdate (type)", "PresenceUpdateSchema (const)", "PresignedUrlResponse (type)", + "PresignedUrlResponseParsed (type)", "PresignedUrlResponseSchema (const)", "QueryAdapterConfig (type)", "QueryAdapterConfigInput (type)", + "QueryAdapterConfigParsed (type)", "QueryAdapterConfigSchema (const)", "QueryAdapterTarget (type)", "QueryAdapterTargetSchema (const)", "QueryOptimizationConfig (type)", + "QueryOptimizationConfigParsed (type)", "QueryOptimizationConfigSchema (const)", "REGISTERED_ERROR_CODES (const)", "RawUploadResponse (type)", + "RawUploadResponseParsed (type)", "RawUploadResponseSchema (const)", "RealtimeConfig (type)", + "RealtimeConfigParsed (type)", "RealtimeConfigSchema (const)", "RealtimeConnectRequest (type)", "RealtimeConnectRequestSchema (const)", @@ -677,30 +797,40 @@ "RejectAiPendingActionResponseSchema (const)", "RequestValidationConfig (type)", "RequestValidationConfigInput (type)", + "RequestValidationConfigParsed (type)", "RequestValidationConfigSchema (const)", "ResolveDependenciesRequest (type)", + "ResolveDependenciesRequestParsed (type)", "ResolveDependenciesRequestSchema (const)", "ResolveDependenciesResponse (type)", + "ResolveDependenciesResponseParsed (type)", "ResolveDependenciesResponseSchema (const)", "ResponseEnvelopeConfig (type)", "ResponseEnvelopeConfigInput (type)", + "ResponseEnvelopeConfigParsed (type)", "ResponseEnvelopeConfigSchema (const)", "RestApiConfig (type)", "RestApiConfigInput (type)", + "RestApiConfigParsed (type)", "RestApiConfigSchema (const)", "RestApiEndpoint (type)", + "RestApiEndpointParsed (type)", "RestApiEndpointSchema (const)", "RestApiPluginConfig (type)", "RestApiPluginConfigInput (type)", + "RestApiPluginConfigParsed (type)", "RestApiPluginConfigSchema (const)", "RestApiRouteCategory (type)", "RestApiRouteRegistration (type)", + "RestApiRouteRegistrationParsed (type)", "RestApiRouteRegistrationSchema (const)", "RestQueryAdapter (type)", "RestQueryAdapterInput (type)", + "RestQueryAdapterParsed (type)", "RestQueryAdapterSchema (const)", "RestServerConfig (type)", "RestServerConfigInput (type)", + "RestServerConfigParsed (type)", "RestServerConfigSchema (const)", "RetryStrategy (type)", "RouteCategory (type)", @@ -709,15 +839,18 @@ "RouteCoverageReport (type)", "RouteCoverageReportSchema (const)", "RouteDefinition (type)", + "RouteDefinitionParsed (type)", "RouteDefinitionSchema (const)", "RouteGenerationConfig (type)", "RouteGenerationConfigInput (type)", + "RouteGenerationConfigParsed (type)", "RouteGenerationConfigSchema (const)", "RouteHealthEntry (type)", "RouteHealthEntrySchema (const)", "RouteHealthReport (type)", "RouteHealthReportSchema (const)", "RouterConfig (type)", + "RouterConfigParsed (type)", "RouterConfigSchema (const)", "SERVICE_SELF_INFO_KEY (const)", "SaveMetaItemRequest (type)", @@ -725,10 +858,13 @@ "SaveMetaItemResponse (type)", "SaveMetaItemResponseSchema (const)", "ScheduleExportRequest (type)", + "ScheduleExportRequestParsed (type)", "ScheduleExportRequestSchema (const)", "ScheduleExportResponse (type)", + "ScheduleExportResponseParsed (type)", "ScheduleExportResponseSchema (const)", "ScheduledExport (type)", + "ScheduledExportParsed (type)", "ScheduledExportSchema (const)", "ServiceInfo (type)", "ServiceInfoSchema (const)", @@ -737,10 +873,12 @@ "ServiceStatus (type)", "Session (type)", "SessionResponse (type)", + "SessionResponseParsed (type)", "SessionResponseSchema (const)", "SessionSchema (const)", "SessionUser (type)", "SessionUserInput (type)", + "SessionUserParsed (type)", "SessionUserSchema (const)", "SetPresenceRequest (type)", "SetPresenceRequestSchema (const)", @@ -751,6 +889,7 @@ "SimplePresenceState (type)", "SimplePresenceStateSchema (const)", "SingleRecordResponse (type)", + "SingleRecordResponseParsed (type)", "SingleRecordResponseSchema (const)", "StandardApiContracts (const)", "StandardErrorCode (type)", @@ -763,17 +902,20 @@ "ToggleFlowRequest (type)", "ToggleFlowRequestSchema (const)", "ToggleFlowResponse (type)", + "ToggleFlowResponseParsed (type)", "ToggleFlowResponseSchema (const)", "TransportProtocol (type)", "TriggerFlowRequest (type)", "TriggerFlowRequestSchema (const)", "TriggerFlowResponse (type)", + "TriggerFlowResponseParsed (type)", "TriggerFlowResponseSchema (const)", "UndoImportJobResponse (type)", "UndoImportJobResponseSchema (const)", "UninstallPackageApiRequest (type)", "UninstallPackageApiRequestSchema (const)", "UninstallPackageApiResponse (type)", + "UninstallPackageApiResponseParsed (type)", "UninstallPackageApiResponseSchema (const)", "UninstallPackageRequest (type)", "UninstallPackageRequestSchema (const)", @@ -794,12 +936,15 @@ "UpdateDataResponse (type)", "UpdateDataResponseSchema (const)", "UpdateFlowRequest (type)", + "UpdateFlowRequestParsed (type)", "UpdateFlowRequestSchema (const)", "UpdateFlowResponse (type)", + "UpdateFlowResponseParsed (type)", "UpdateFlowResponseSchema (const)", "UpdateManyDataRequest (type)", "UpdateManyDataRequestSchema (const)", "UpdateManyDataResponse (type)", + "UpdateManyDataResponseParsed (type)", "UpdateManyDataResponseSchema (const)", "UpdateManyRecord (type)", "UpdateManyRecordSchema (const)", @@ -808,24 +953,31 @@ "UpdateNotificationPreferencesRequest (type)", "UpdateNotificationPreferencesRequestSchema (const)", "UpdateNotificationPreferencesResponse (type)", + "UpdateNotificationPreferencesResponseParsed (type)", "UpdateNotificationPreferencesResponseSchema (const)", "UpdateRequest (type)", "UpdateRequestSchema (const)", "UpdateViewRequest (type)", "UpdateViewRequestSchema (const)", "UpdateViewResponse (type)", + "UpdateViewResponseParsed (type)", "UpdateViewResponseSchema (const)", "UploadArtifactRequest (type)", + "UploadArtifactRequestParsed (type)", "UploadArtifactRequestSchema (const)", "UploadArtifactResponse (type)", + "UploadArtifactResponseParsed (type)", "UploadArtifactResponseSchema (const)", "UploadChunkRequest (type)", "UploadChunkRequestSchema (const)", "UploadChunkResponse (type)", + "UploadChunkResponseParsed (type)", "UploadChunkResponseSchema (const)", "UploadProgress (type)", + "UploadProgressParsed (type)", "UploadProgressSchema (const)", "UserProfileResponse (type)", + "UserProfileResponseParsed (type)", "UserProfileResponseSchema (const)", "ValidationMode (type)", "VersionDefinition (type)", @@ -835,11 +987,13 @@ "VersionStatus (type)", "VersioningConfig (type)", "VersioningConfigInput (type)", + "VersioningConfigParsed (type)", "VersioningConfigSchema (const)", "VersioningStrategy (type)", "ViewProtocol (interface)", "WELL_KNOWN_CAPABILITY_KEYS (const)", "WebSocketConfig (type)", + "WebSocketConfigParsed (type)", "WebSocketConfigSchema (const)", "WebSocketEvent (type)", "WebSocketEventSchema (const)", @@ -848,6 +1002,7 @@ "WebSocketMessageType (type)", "WebSocketPresenceStatus (type)", "WebSocketServerConfig (type)", + "WebSocketServerConfigParsed (type)", "WebSocketServerConfigSchema (const)", "WellKnownCapabilities (type)", "WellKnownCapabilitiesSchema (const)", diff --git a/packages/spec/api-surface/automation.json b/packages/spec/api-surface/automation.json index 95d7333783..2c31380a57 100644 --- a/packages/spec/api-surface/automation.json +++ b/packages/spec/api-surface/automation.json @@ -14,6 +14,7 @@ "ActionCategorySchema (const)", "ActionDescriptor (type)", "ActionDescriptorInput (type)", + "ActionDescriptorParsed (type)", "ActionDescriptorSchema (const)", "ActionParadigm (type)", "ActionParadigmSchema (const)", @@ -21,10 +22,12 @@ "ActionRefSchema (const)", "ApprovalDecision (type)", "ApprovalEscalation (type)", + "ApprovalEscalationParsed (type)", "ApprovalEscalationSchema (const)", "ApprovalNodeApprover (type)", "ApprovalNodeApproverSchema (const)", "ApprovalNodeConfig (type)", + "ApprovalNodeConfigParsed (type)", "ApprovalNodeConfigSchema (const)", "ApproverOrgSymbol (type)", "ApproverType (const)", @@ -36,12 +39,16 @@ "BpmnDiagnostic (type)", "BpmnDiagnosticSchema (const)", "BpmnElementMapping (type)", + "BpmnElementMappingParsed (type)", "BpmnElementMappingSchema (const)", "BpmnExportOptions (type)", + "BpmnExportOptionsParsed (type)", "BpmnExportOptionsSchema (const)", "BpmnImportOptions (type)", + "BpmnImportOptionsParsed (type)", "BpmnImportOptionsSchema (const)", "BpmnInteropResult (type)", + "BpmnInteropResultParsed (type)", "BpmnInteropResultSchema (const)", "BpmnMappingDiagnostic (interface)", "BpmnMappingResult (interface)", @@ -126,10 +133,12 @@ "FlowFunctionCallable (type)", "FlowFunctionDeclaration (type)", "FlowFunctionDeclarationInput (type)", + "FlowFunctionDeclarationParsed (type)", "FlowFunctionDeclarationSchema (const)", "FlowFunctionEffect (type)", "FlowFunctionEffectSchema (const)", "FlowFunctionEntry (type)", + "FlowFunctionEntryParsed (type)", "FlowFunctionEntrySchema (const)", "FlowGraph (interface)", "FlowNode (type)", @@ -174,6 +183,7 @@ "MappableFlow (interface)", "NON_AUTHORABLE_APPROVER_TYPES (const)", "NodeExecutorDescriptor (type)", + "NodeExecutorDescriptorParsed (type)", "NodeExecutorDescriptorSchema (const)", "NormalizedFlowFunction (interface)", "NotifyConfig (type)", @@ -230,6 +240,7 @@ "WaitEventType (type)", "WaitEventTypeSchema (const)", "WaitExecutorConfig (type)", + "WaitExecutorConfigParsed (type)", "WaitExecutorConfigSchema (const)", "WaitResumePayload (type)", "WaitResumePayloadSchema (const)", @@ -237,6 +248,7 @@ "WaitTimeoutBehaviorSchema (const)", "Webhook (type)", "WebhookInput (type)", + "WebhookParsed (type)", "WebhookSchema (const)", "WebhookTriggerType (type)", "analyzeRegion (function)", diff --git a/packages/spec/api-surface/cloud.json b/packages/spec/api-surface/cloud.json index 7dcaece55b..08716d0cec 100644 --- a/packages/spec/api-surface/cloud.json +++ b/packages/spec/api-surface/cloud.json @@ -5,28 +5,34 @@ "AnalyticsTimeRange (type)", "AnalyticsTimeRangeSchema (const)", "AppDiscoveryRequest (type)", + "AppDiscoveryRequestParsed (type)", "AppDiscoveryRequestSchema (const)", "AppDiscoveryResponse (type)", "AppDiscoveryResponseSchema (const)", "AppSubscription (type)", + "AppSubscriptionParsed (type)", "AppSubscriptionSchema (const)", "ArtifactDownloadResponse (type)", "ArtifactDownloadResponseSchema (const)", "ArtifactReference (type)", + "ArtifactReferenceParsed (type)", "ArtifactReferenceSchema (const)", "CreateListingRequest (type)", + "CreateListingRequestParsed (type)", "CreateListingRequestSchema (const)", "CreatePackageRequest (type)", "CreatePackageRequestSchema (const)", "CreatePackageVersionRequest (type)", "CreatePackageVersionRequestSchema (const)", "CuratedCollection (type)", + "CuratedCollectionParsed (type)", "CuratedCollectionSchema (const)", "Environment (type)", "EnvironmentArtifact (type)", "EnvironmentArtifactInput (type)", "EnvironmentArtifactSchema (const)", "EnvironmentCredential (type)", + "EnvironmentCredentialParsed (type)", "EnvironmentCredentialSchema (const)", "EnvironmentCredentialStatus (type)", "EnvironmentCredentialStatusSchema (const)", @@ -35,9 +41,11 @@ "EnvironmentMember (type)", "EnvironmentMemberSchema (const)", "EnvironmentPackageInstallation (type)", + "EnvironmentPackageInstallationParsed (type)", "EnvironmentPackageInstallationSchema (const)", "EnvironmentPackageStatus (type)", "EnvironmentPackageStatusSchema (const)", + "EnvironmentParsed (type)", "EnvironmentRole (type)", "EnvironmentRoleSchema (const)", "EnvironmentSchema (const)", @@ -48,20 +56,28 @@ "EnvironmentVisibility (type)", "EnvironmentVisibilitySchema (const)", "FeaturedListing (type)", + "FeaturedListingParsed (type)", "FeaturedListingSchema (const)", "InstallPackageToEnvironmentRequest (type)", + "InstallPackageToEnvironmentRequestParsed (type)", "InstallPackageToEnvironmentRequestSchema (const)", "InstalledAppSummary (type)", + "InstalledAppSummaryParsed (type)", "InstalledAppSummarySchema (const)", "ListEnvironmentPackagesResponse (type)", + "ListEnvironmentPackagesResponseParsed (type)", "ListEnvironmentPackagesResponseSchema (const)", "ListInstalledAppsRequest (type)", + "ListInstalledAppsRequestParsed (type)", "ListInstalledAppsRequestSchema (const)", "ListInstalledAppsResponse (type)", + "ListInstalledAppsResponseParsed (type)", "ListInstalledAppsResponseSchema (const)", "ListReviewsRequest (type)", + "ListReviewsRequestParsed (type)", "ListReviewsRequestSchema (const)", "ListReviewsResponse (type)", + "ListReviewsResponseParsed (type)", "ListReviewsResponseSchema (const)", "ListingActionRequest (type)", "ListingActionRequestSchema (const)", @@ -72,21 +88,27 @@ "MarketplaceHealthMetrics (type)", "MarketplaceHealthMetricsSchema (const)", "MarketplaceInstallRequest (type)", + "MarketplaceInstallRequestParsed (type)", "MarketplaceInstallRequestSchema (const)", "MarketplaceInstallResponse (type)", "MarketplaceInstallResponseSchema (const)", "MarketplaceListing (type)", + "MarketplaceListingParsed (type)", "MarketplaceListingSchema (const)", "MarketplaceSearchRequest (type)", + "MarketplaceSearchRequestParsed (type)", "MarketplaceSearchRequestSchema (const)", "MarketplaceSearchResponse (type)", + "MarketplaceSearchResponseParsed (type)", "MarketplaceSearchResponseSchema (const)", "Package (type)", "PackageCategory (type)", "PackageCategorySchema (const)", "PackageDependency (type)", + "PackageDependencyParsed (type)", "PackageDependencySchema (const)", "PackageInstallation (type)", + "PackageInstallationParsed (type)", "PackageInstallationSchema (const)", "PackageInstallationStatus (type)", "PackageInstallationStatusSchema (const)", @@ -94,51 +116,66 @@ "PackageLocale (type)", "PackageLocaleSchema (const)", "PackageManifest (type)", + "PackageManifestParsed (type)", "PackageManifestSchema (const)", + "PackageParsed (type)", "PackagePublisher (type)", "PackagePublisherSchema (const)", "PackageSchema (const)", "PackageSubmission (type)", + "PackageSubmissionParsed (type)", "PackageSubmissionSchema (const)", "PackageTranslation (type)", "PackageTranslationSchema (const)", "PackageTranslations (type)", "PackageTranslationsSchema (const)", "PackageVersion (type)", + "PackageVersionParsed (type)", "PackageVersionSchema (const)", "PackageVersionStatus (type)", "PackageVersionStatusSchema (const)", "PackageVisibility (type)", "PackageVisibilitySchema (const)", "PolicyAction (type)", + "PolicyActionParsed (type)", "PolicyActionSchema (const)", "PolicyViolationType (type)", "PolicyViolationTypeSchema (const)", "PricingModel (type)", "PricingModelSchema (const)", "ProvisionEnvironmentRequest (type)", + "ProvisionEnvironmentRequestParsed (type)", "ProvisionEnvironmentRequestSchema (const)", "ProvisionEnvironmentResponse (type)", + "ProvisionEnvironmentResponseParsed (type)", "ProvisionEnvironmentResponseSchema (const)", "ProvisionOrganizationRequest (type)", + "ProvisionOrganizationRequestParsed (type)", "ProvisionOrganizationRequestSchema (const)", "ProvisionOrganizationResponse (type)", + "ProvisionOrganizationResponseParsed (type)", "ProvisionOrganizationResponseSchema (const)", "ProvisionTenantRequest (type)", + "ProvisionTenantRequestParsed (type)", "ProvisionTenantRequestSchema (const)", "ProvisionTenantResponse (type)", + "ProvisionTenantResponseParsed (type)", "ProvisionTenantResponseSchema (const)", "PublishPackageVersionRequest (type)", "PublishPackageVersionRequestSchema (const)", "Publisher (type)", + "PublisherParsed (type)", "PublisherProfile (type)", + "PublisherProfileParsed (type)", "PublisherProfileSchema (const)", "PublisherSchema (const)", "PublisherVerification (type)", "PublisherVerificationSchema (const)", "PublishingAnalyticsRequest (type)", + "PublishingAnalyticsRequestParsed (type)", "PublishingAnalyticsRequestSchema (const)", "PublishingAnalyticsResponse (type)", + "PublishingAnalyticsResponseParsed (type)", "PublishingAnalyticsResponseSchema (const)", "RecommendationReason (type)", "RecommendationReasonSchema (const)", @@ -150,6 +187,7 @@ "ReleaseChannelSchema (const)", "ResolvePackageL10nOptions (interface)", "ReviewCriterion (type)", + "ReviewCriterionParsed (type)", "ReviewCriterionSchema (const)", "ReviewDecision (type)", "ReviewDecisionSchema (const)", @@ -160,6 +198,7 @@ "Sha256Digest (type)", "Sha256DigestSchema (const)", "SubmissionReview (type)", + "SubmissionReviewParsed (type)", "SubmissionReviewSchema (const)", "SubmitReviewRequest (type)", "SubmitReviewRequestSchema (const)", @@ -170,6 +209,7 @@ "TenantContext (type)", "TenantContextSchema (const)", "TenantDatabase (type)", + "TenantDatabaseParsed (type)", "TenantDatabaseSchema (const)", "TenantDatabaseStatus (type)", "TenantDatabaseStatusSchema (const)", @@ -178,6 +218,7 @@ "TenantPlan (type)", "TenantPlanSchema (const)", "TenantRoutingConfig (type)", + "TenantRoutingConfigParsed (type)", "TenantRoutingConfigSchema (const)", "TimeSeriesPoint (type)", "TimeSeriesPointSchema (const)", @@ -190,10 +231,13 @@ "UpdatePackageVersionRequest (type)", "UpdatePackageVersionRequestSchema (const)", "UpgradeEnvironmentPackageRequest (type)", + "UpgradeEnvironmentPackageRequestParsed (type)", "UpgradeEnvironmentPackageRequestSchema (const)", "UserReview (type)", + "UserReviewParsed (type)", "UserReviewSchema (const)", "VersionRelease (type)", + "VersionReleaseParsed (type)", "VersionReleaseSchema (const)", "resolvePackageL10n (function)", "resolvePackageL10nField (function)", diff --git a/packages/spec/api-surface/data.json b/packages/spec/api-surface/data.json index 58d4d9ce74..8c9b219bbb 100644 --- a/packages/spec/api-surface/data.json +++ b/packages/spec/api-surface/data.json @@ -50,6 +50,7 @@ "ComparisonOperatorSchema (const)", "Compatibility (type)", "ConditionalValidation (type)", + "ConditionalValidationParsed (type)", "ConditionalValidationSchema (const)", "ConsistencyLevel (type)", "ConsistencyLevelSchema (const)", @@ -57,15 +58,19 @@ "ContextTokenPlaceholderSchema (const)", "ContextTokenSchema (const)", "CrossFieldValidation (type)", + "CrossFieldValidationParsed (type)", "CrossFieldValidationSchema (const)", "CrudAffordances (interface)", "Cube (type)", "CubeInput (type)", "CubeJoin (type)", + "CubeJoinParsed (type)", "CubeJoinSchema (const)", + "CubeParsed (type)", "CubeSchema (const)", "CurrencyConfig (type)", "CurrencyConfigInput (type)", + "CurrencyConfigParsed (type)", "CurrencyConfigSchema (const)", "CurrencyValue (type)", "CurrencyValueSchema (const)", @@ -105,10 +110,13 @@ "DataEngineInsertOptionsSchema (const)", "DataEngineInsertRequestSchema (const)", "DataEngineQueryOptions (type)", + "DataEngineQueryOptionsParsed (type)", "DataEngineQueryOptionsSchema (const)", "DataEngineRequest (type)", + "DataEngineRequestParsed (type)", "DataEngineRequestSchema (const)", "DataEngineSort (type)", + "DataEngineSortParsed (type)", "DataEngineSortSchema (const)", "DataEngineUpdateOptions (type)", "DataEngineUpdateOptionsSchema (const)", @@ -118,6 +126,7 @@ "DataTypeMappingSchema (const)", "Datasource (type)", "DatasourceInput (type)", + "DatasourceParsed (type)", "DatasourceSchema (const)", "DateGranularity (const)", "DateGranularityValue (type)", @@ -133,21 +142,27 @@ "DimensionType (const)", "DisplayNameObjectMeta (interface)", "Document (type)", + "DocumentParsed (type)", "DocumentSchema (const)", "DocumentSchemaValidation (type)", + "DocumentSchemaValidationParsed (type)", "DocumentSchemaValidationSchema (const)", "DocumentTemplate (type)", + "DocumentTemplateParsed (type)", "DocumentTemplateSchema (const)", "DocumentVersion (type)", + "DocumentVersionParsed (type)", "DocumentVersionSchema (const)", "DriverCapabilities (type)", "DriverCapabilitiesSchema (const)", "DriverConfig (type)", "DriverConfigIssue (interface)", + "DriverConfigParsed (type)", "DriverConfigSchema (const)", "DriverDefinition (type)", "DriverDefinitionSchema (const)", "DriverInterface (type)", + "DriverInterfaceParsed (type)", "DriverInterfaceSchema (const)", "DriverOptions (type)", "DriverOptionsSchema (const)", @@ -156,6 +171,7 @@ "DroppedFieldsEvent (type)", "DroppedFieldsEventSchema (const)", "ESignatureConfig (type)", + "ESignatureConfigParsed (type)", "ESignatureConfigSchema (const)", "EffectiveApiMethods (interface)", "EnableLike (interface)", @@ -166,6 +182,7 @@ "EngineDeleteOptions (type)", "EngineDeleteOptionsSchema (const)", "EngineQueryOptions (type)", + "EngineQueryOptionsParsed (type)", "EngineQueryOptionsSchema (const)", "EngineUpdateOptions (type)", "EngineUpdateOptionsSchema (const)", @@ -173,18 +190,24 @@ "ExpressionBody (type)", "ExpressionBodySchema (const)", "ExternalCatalog (type)", + "ExternalCatalogParsed (type)", "ExternalCatalogSchema (const)", "ExternalColumn (type)", + "ExternalColumnParsed (type)", "ExternalColumnSchema (const)", "ExternalDataSource (type)", "ExternalDataSourceSchema (const)", "ExternalDatasourceSettings (type)", + "ExternalDatasourceSettingsParsed (type)", "ExternalDatasourceSettingsSchema (const)", "ExternalFieldMapping (type)", + "ExternalFieldMappingParsed (type)", "ExternalFieldMappingSchema (const)", "ExternalLookup (type)", + "ExternalLookupParsed (type)", "ExternalLookupSchema (const)", "ExternalTable (type)", + "ExternalTableParsed (type)", "ExternalTableSchema (const)", "FIELD_GROUP_SYSTEM_FIELDS (const)", "FIELD_KEY_GUIDANCE (const)", @@ -206,12 +229,14 @@ "FieldOperators (type)", "FieldOperatorsSchema (const)", "FieldParseInput (type)", + "FieldParsed (type)", "FieldReference (type)", "FieldReferenceSchema (const)", "FieldSchema (const)", "FieldType (type)", "FileLikeValueSchema (const)", "FilePersistenceConfig (type)", + "FilePersistenceConfigParsed (type)", "FilePersistenceConfigSchema (const)", "FileReferenceIdValueSchema (const)", "FileValueSchema (const)", @@ -233,14 +258,17 @@ "FilterTextRow (interface)", "FilterTextRowsCase (interface)", "FormatValidation (type)", + "FormatValidationParsed (type)", "FormatValidationSchema (const)", "FullTextSearch (type)", + "FullTextSearchParsed (type)", "FullTextSearchSchema (const)", "GroupByNode (type)", "GroupByNodeSchema (const)", "Hook (type)", "HookBody (type)", "HookBodyCapability (type)", + "HookBodyParsed (type)", "HookBodySchema (const)", "HookContext (type)", "HookContextSchema (const)", @@ -252,11 +280,13 @@ "IMPORT_REFERENCE_TYPES (const)", "INSTANT_TYPES (const)", "ImportFieldMapping (type)", + "ImportFieldMappingParsed (type)", "ImportFieldMappingSchema (const)", "IndexSchema (const)", "InjectedSystemColumnPlan (interface)", "InstantValueSchema (const)", "JSONValidation (type)", + "JSONValidationParsed (type)", "JSONValidationSchema (const)", "LEGACY_API_METHODS (const)", "LEGACY_API_METHOD_GUIDANCE (const)", @@ -278,18 +308,23 @@ "MULTI_OPTION_TYPES (const)", "Mapping (type)", "MappingInput (type)", + "MappingParsed (type)", "MappingSchema (const)", "MemoryConfig (type)", + "MemoryConfigParsed (type)", "MemoryConfigSchema (const)", "MemoryDriverSpec (const)", "MemoryPersistenceConfig (type)", + "MemoryPersistenceConfigParsed (type)", "MemoryPersistenceConfigSchema (const)", "Metric (type)", "MetricSchema (const)", "MongoConfig (type)", + "MongoConfigParsed (type)", "MongoConfigSchema (const)", "MongoDriverSpec (const)", "MysqlConfig (type)", + "MysqlConfigParsed (type)", "MysqlConfigSchema (const)", "NUMERIC_VALUE_TYPES (const)", "NoSQLDataTypeMapping (type)", @@ -297,8 +332,10 @@ "NoSQLDatabaseType (type)", "NoSQLDatabaseTypeSchema (const)", "NoSQLDriverConfig (type)", + "NoSQLDriverConfigParsed (type)", "NoSQLDriverConfigSchema (const)", "NoSQLIndex (type)", + "NoSQLIndexParsed (type)", "NoSQLIndexSchema (const)", "NoSQLIndexType (type)", "NoSQLIndexTypeSchema (const)", @@ -312,21 +349,29 @@ "NormalizedFilterSchema (const)", "OBJECT_KEY_GUIDANCE (const)", "ObjectAccessConfig (type)", + "ObjectAccessConfigParsed (type)", "ObjectAccessConfigSchema (const)", "ObjectCapabilities (type)", + "ObjectCapabilitiesParsed (type)", "ObjectDependencyGraph (type)", + "ObjectDependencyGraphParsed (type)", "ObjectDependencyGraphSchema (const)", "ObjectDependencyNode (type)", + "ObjectDependencyNodeParsed (type)", "ObjectDependencyNodeSchema (const)", "ObjectExtension (type)", "ObjectExtensionInput (type)", + "ObjectExtensionParsed (type)", "ObjectExtensionSchema (const)", "ObjectExternalBinding (type)", + "ObjectExternalBindingParsed (type)", "ObjectExternalBindingSchema (const)", "ObjectFieldGroup (type)", "ObjectFieldGroupInput (type)", + "ObjectFieldGroupParsed (type)", "ObjectFieldGroupSchema (const)", "ObjectIndex (type)", + "ObjectIndexParsed (type)", "ObjectOwnership (type)", "ObjectOwnershipEnum (const)", "ObjectRequiredPermissions (type)", @@ -350,8 +395,10 @@ "PersistenceType (type)", "PersistenceTypeSchema (const)", "PoolConfig (type)", + "PoolConfigParsed (type)", "PoolConfigSchema (const)", "PostgresConfig (type)", + "PostgresConfigParsed (type)", "PostgresConfigSchema (const)", "ProvisionPrimaryOptions (interface)", "QUERY_CURSOR_REMOVED (const)", @@ -380,10 +427,12 @@ "ReferenceResolution (type)", "ReferenceResolutionError (type)", "ReferenceResolutionErrorSchema (const)", + "ReferenceResolutionParsed (type)", "ReferenceResolutionSchema (const)", "RenderAutonumberInput (interface)", "RenderedAutonumber (interface)", "ReplicationConfig (type)", + "ReplicationConfigParsed (type)", "ReplicationConfigSchema (const)", "ResolveApiOptions (interface)", "ResolveRecordDisplayNameOptions (interface)", @@ -391,6 +440,7 @@ "RetiredFilterOperatorGuidance (interface)", "RowCrudActionOverride (type)", "RowCrudActionOverrideInput (type)", + "RowCrudActionOverrideParsed (type)", "RowCrudActionOverrideSchema (const)", "RowCrudPredicates (interface)", "SCHEMA_MODE_BELONGS_ON_DATASOURCE (const)", @@ -402,10 +452,12 @@ "SQLDialect (type)", "SQLDialectSchema (const)", "SQLDriverConfig (type)", + "SQLDriverConfigParsed (type)", "SQLDriverConfigSchema (const)", "SQLiteAlterTableLimitations (const)", "SQLiteDataTypeMappingDefaults (const)", "SSLConfig (type)", + "SSLConfigParsed (type)", "SSLConfigSchema (const)", "SSL_DETAIL_BELONGS_ON_DATASOURCE (const)", "STACK_KEY_GUIDANCE (const)", @@ -416,8 +468,10 @@ "SchemaMode (type)", "SchemaModeSchema (const)", "ScriptBody (type)", + "ScriptBodyParsed (type)", "ScriptBodySchema (const)", "ScriptValidation (type)", + "ScriptValidationParsed (type)", "ScriptValidationSchema (const)", "SearchFieldMeta (interface)", "SearchFieldResolutionOptions (interface)", @@ -427,37 +481,49 @@ "SeedImportMode (type)", "SeedInput (type)", "SeedLoadResult (type)", + "SeedLoadResultParsed (type)", "SeedLoadResultSchema (const)", "SeedLoaderConfig (type)", "SeedLoaderConfigInput (type)", + "SeedLoaderConfigParsed (type)", "SeedLoaderConfigSchema (const)", "SeedLoaderRequest (type)", "SeedLoaderRequestInput (type)", + "SeedLoaderRequestParsed (type)", "SeedLoaderRequestSchema (const)", "SeedLoaderResult (type)", + "SeedLoaderResultParsed (type)", "SeedLoaderResultSchema (const)", "SeedMode (const)", + "SeedParsed (type)", "SeedSchema (const)", "SelectOption (type)", + "SelectOptionParsed (type)", "SelectOptionSchema (const)", "ServiceObject (type)", "ServiceObjectInput (type)", + "ServiceObjectParsed (type)", "SetOperatorSchema (const)", "ShardingConfig (type)", + "ShardingConfigParsed (type)", "ShardingConfigSchema (const)", "SortNode (type)", + "SortNodeParsed (type)", "SortNodeSchema (const)", "SpecialOperatorSchema (const)", "SqlAutoMigrate (type)", "SqlAutoMigrateSchema (const)", "SqlDialect (type)", "SqliteConfig (type)", + "SqliteConfigParsed (type)", "SqliteConfigSchema (const)", "SqliteWasmConfig (type)", + "SqliteWasmConfigParsed (type)", "SqliteWasmConfigSchema (const)", "SqliteWasmPersistMode (type)", "SqliteWasmPersistModeSchema (const)", "StateMachineValidation (type)", + "StateMachineValidationParsed (type)", "StateMachineValidationSchema (const)", "StringOperatorSchema (const)", "TEMPORAL_CASES (const)", diff --git a/packages/spec/api-surface/identity.json b/packages/spec/api-surface/identity.json index 710bc525c4..a25ba4150b 100644 --- a/packages/spec/api-surface/identity.json +++ b/packages/spec/api-surface/identity.json @@ -9,6 +9,7 @@ "Account (type)", "AccountSchema (const)", "ApiKey (type)", + "ApiKeyParsed (type)", "ApiKeySchema (const)", "AuthError (interface)", "AuthHeaders (interface)", @@ -26,9 +27,11 @@ "EVERYONE_POSITION (const)", "EvalUser (type)", "EvalUserInput (type)", + "EvalUserParsed (type)", "EvalUserSchema (const)", "GUEST_POSITION (const)", "Invitation (type)", + "InvitationParsed (type)", "InvitationSchema (const)", "InvitationStatus (type)", "MEMBERSHIP_ROLE_ADMIN (const)", @@ -44,29 +47,37 @@ "OrganizationSchema (const)", "Position (type)", "PositionInput (type)", + "PositionParsed (type)", "PositionSchema (const)", "SCIM (const)", "SCIMAddress (type)", + "SCIMAddressParsed (type)", "SCIMAddressSchema (const)", "SCIMBulkOperation (type)", "SCIMBulkOperationSchema (const)", "SCIMBulkRequest (type)", + "SCIMBulkRequestParsed (type)", "SCIMBulkRequestSchema (const)", "SCIMBulkResponse (type)", "SCIMBulkResponseOperation (type)", "SCIMBulkResponseOperationSchema (const)", + "SCIMBulkResponseParsed (type)", "SCIMBulkResponseSchema (const)", "SCIMEmail (type)", + "SCIMEmailParsed (type)", "SCIMEmailSchema (const)", "SCIMEnterpriseUser (type)", "SCIMEnterpriseUserSchema (const)", "SCIMError (type)", + "SCIMErrorParsed (type)", "SCIMErrorSchema (const)", "SCIMGroup (type)", + "SCIMGroupParsed (type)", "SCIMGroupReference (type)", "SCIMGroupReferenceSchema (const)", "SCIMGroupSchema (const)", "SCIMListResponse (type)", + "SCIMListResponseParsed (type)", "SCIMListResponseSchema (const)", "SCIMMemberReference (type)", "SCIMMemberReferenceSchema (const)", @@ -77,15 +88,19 @@ "SCIMPatchOperation (type)", "SCIMPatchOperationSchema (const)", "SCIMPatchRequest (type)", + "SCIMPatchRequestParsed (type)", "SCIMPatchRequestSchema (const)", "SCIMPhoneNumber (type)", + "SCIMPhoneNumberParsed (type)", "SCIMPhoneNumberSchema (const)", "SCIMResource (type)", "SCIMUser (type)", + "SCIMUserParsed (type)", "SCIMUserSchema (const)", "SCIM_SCHEMAS (const)", "TokenPayload (interface)", "User (type)", + "UserParsed (type)", "UserSchema (const)", "VerificationToken (type)", "VerificationTokenSchema (const)", diff --git a/packages/spec/api-surface/integration.json b/packages/spec/api-surface/integration.json index afbcc62206..e9bf4091d9 100644 --- a/packages/spec/api-surface/integration.json +++ b/packages/spec/api-surface/integration.json @@ -4,6 +4,7 @@ "exports": [ "CONNECTOR_UPSTREAM_UNAVAILABLE (const)", "CircuitBreakerConfig (type)", + "CircuitBreakerConfigParsed (type)", "CircuitBreakerConfigSchema (const)", "Connector (type)", "ConnectorActionDescriptor (interface)", @@ -14,8 +15,10 @@ "ConnectorErrorCategory (type)", "ConnectorErrorCategorySchema (const)", "ConnectorFieldMapping (type)", + "ConnectorFieldMappingParsed (type)", "ConnectorFieldMappingSchema (const)", "ConnectorHealth (type)", + "ConnectorHealthParsed (type)", "ConnectorHealthSchema (const)", "ConnectorInput (type)", "ConnectorInstanceAPIKeyAuthSchema (const)", @@ -27,6 +30,7 @@ "ConnectorMaterialization (interface)", "ConnectorMaterializationHandler (type)", "ConnectorOrigin (type)", + "ConnectorParsed (type)", "ConnectorProviderContext (interface)", "ConnectorProviderFactory (type)", "ConnectorRetryStrategy (type)", @@ -40,21 +44,27 @@ "ConnectorTypeSchema (const)", "ConnectorUpstreamUnavailableError (class)", "DataSyncConfig (type)", + "DataSyncConfigParsed (type)", "DataSyncConfigSchema (const)", "DeclarativeConnectorEntry (type)", + "DeclarativeConnectorEntryParsed (type)", "DeclarativeConnectorEntrySchema (const)", "ErrorMappingConfig (type)", + "ErrorMappingConfigParsed (type)", "ErrorMappingConfigSchema (const)", "ErrorMappingRule (type)", "ErrorMappingRuleSchema (const)", "HealthCheckConfig (type)", + "HealthCheckConfigParsed (type)", "HealthCheckConfigSchema (const)", "ResolvedConnectorAuth (type)", "RetryConfig (type)", + "RetryConfigParsed (type)", "RetryConfigSchema (const)", "SyncStrategy (type)", "SyncStrategySchema (const)", "WebhookConfig (type)", + "WebhookConfigParsed (type)", "WebhookConfigSchema (const)", "WebhookEvent (type)", "WebhookEventSchema (const)", diff --git a/packages/spec/api-surface/kernel.json b/packages/spec/api-surface/kernel.json index 06239c319c..d0c5a7b939 100644 --- a/packages/spec/api-surface/kernel.json +++ b/packages/spec/api-surface/kernel.json @@ -3,14 +3,18 @@ "entry": "./kernel", "exports": [ "AdvancedPluginLifecycleConfig (type)", + "AdvancedPluginLifecycleConfigParsed (type)", "AdvancedPluginLifecycleConfigSchema (const)", "ArtifactChecksum (type)", + "ArtifactChecksumParsed (type)", "ArtifactChecksumSchema (const)", "ArtifactFileEntry (type)", "ArtifactFileEntrySchema (const)", "ArtifactSignature (type)", + "ArtifactSignatureParsed (type)", "ArtifactSignatureSchema (const)", "BreakingChange (type)", + "BreakingChangeParsed (type)", "BreakingChangeSchema (const)", "CLICommandContribution (type)", "CLICommandContributionSchema (const)", @@ -23,6 +27,7 @@ "CapabilityProviderStatus (type)", "ClusterCapabilityConfig (type)", "ClusterCapabilityConfigInput (type)", + "ClusterCapabilityConfigParsed (type)", "ClusterCapabilityConfigSchema (const)", "ClusterDriver (type)", "ClusterDriverSchema (const)", @@ -31,20 +36,26 @@ "CompatibilityLevel (type)", "CompatibilityLevelSchema (const)", "CompatibilityMatrixEntry (type)", + "CompatibilityMatrixEntryParsed (type)", "CompatibilityMatrixEntrySchema (const)", "CompletenessFinding (interface)", "CustomizationOrigin (type)", "CustomizationOriginSchema (const)", "CustomizationPolicy (type)", + "CustomizationPolicyParsed (type)", "CustomizationPolicySchema (const)", "DEFAULT_METADATA_TYPE_REGISTRY (const)", "DeadLetterQueueEntry (type)", + "DeadLetterQueueEntryParsed (type)", "DeadLetterQueueEntrySchema (const)", "DependencyConflict (type)", + "DependencyConflictParsed (type)", "DependencyConflictSchema (const)", "DependencyGraph (type)", "DependencyGraphNode (type)", + "DependencyGraphNodeParsed (type)", "DependencyGraphNodeSchema (const)", + "DependencyGraphParsed (type)", "DependencyGraphSchema (const)", "DependencyResolutionResult (type)", "DependencyResolutionResultSchema (const)", @@ -55,34 +66,46 @@ "DisablePackageRequest (type)", "DisablePackageRequestSchema (const)", "DisablePackageResponse (type)", + "DisablePackageResponseParsed (type)", "DisablePackageResponseSchema (const)", "DistributedStateConfig (type)", + "DistributedStateConfigParsed (type)", "DistributedStateConfigSchema (const)", "EVENT_PRIORITY_VALUES (const)", "EnablePackageRequest (type)", "EnablePackageRequestSchema (const)", "EnablePackageResponse (type)", + "EnablePackageResponseParsed (type)", "EnablePackageResponseSchema (const)", "Event (type)", "EventBusConfig (type)", + "EventBusConfigParsed (type)", "EventBusConfigSchema (const)", "EventClusterOptions (type)", + "EventClusterOptionsParsed (type)", "EventClusterOptionsSchema (const)", "EventDeliverySemantics (type)", "EventDeliverySemanticsSchema (const)", "EventHandler (type)", + "EventHandlerParsed (type)", "EventHandlerSchema (const)", "EventLogEntry (type)", + "EventLogEntryParsed (type)", "EventLogEntrySchema (const)", "EventMessageQueueConfig (type)", + "EventMessageQueueConfigParsed (type)", "EventMessageQueueConfigSchema (const)", "EventMetadataSchema (const)", + "EventParsed (type)", "EventPersistence (type)", + "EventPersistenceParsed (type)", "EventPersistenceSchema (const)", "EventPriority (type)", "EventQueueConfig (type)", + "EventQueueConfigParsed (type)", "EventQueueConfigSchema (const)", "EventReplayConfig (type)", + "EventReplayConfigParsed (type)", "EventReplayConfigSchema (const)", "EventRoute (type)", "EventRouteSchema (const)", @@ -90,15 +113,20 @@ "EventScope (type)", "EventScopeSchema (const)", "EventSourcingConfig (type)", + "EventSourcingConfigParsed (type)", "EventSourcingConfigSchema (const)", "EventTypeDefinition (type)", + "EventTypeDefinitionParsed (type)", "EventTypeDefinitionSchema (const)", "EventWebhookConfig (type)", + "EventWebhookConfigParsed (type)", "EventWebhookConfigSchema (const)", "ExecutionContext (type)", "ExecutionContextInput (type)", + "ExecutionContextParsed (type)", "ExecutionContextSchema (const)", "ExtensionPoint (type)", + "ExtensionPointParsed (type)", "ExtensionPointSchema (const)", "FIELD_CHOICE_WITHOUT_OPTIONS (const)", "FIELD_FORMULA_WITHOUT_EXPRESSION (const)", @@ -110,31 +138,42 @@ "GetPackageRequest (type)", "GetPackageRequestSchema (const)", "GetPackageResponse (type)", + "GetPackageResponseParsed (type)", "GetPackageResponseSchema (const)", "GracefulDegradation (type)", + "GracefulDegradationParsed (type)", "GracefulDegradationSchema (const)", "HealthStatus (type)", "HealthStatusSchema (const)", "HotReloadConfig (type)", + "HotReloadConfigParsed (type)", "HotReloadConfigSchema (const)", "InstallPackageRequest (type)", + "InstallPackageRequestParsed (type)", "InstallPackageRequestSchema (const)", "InstallPackageResponse (type)", + "InstallPackageResponseParsed (type)", "InstallPackageResponseSchema (const)", "InstalledPackage (type)", + "InstalledPackageParsed (type)", "InstalledPackageSchema (const)", "KernelContext (type)", + "KernelContextParsed (type)", "KernelContextSchema (const)", "KernelSecurityPolicy (type)", + "KernelSecurityPolicyParsed (type)", "KernelSecurityPolicySchema (const)", "KernelSecurityScanResult (type)", + "KernelSecurityScanResultParsed (type)", "KernelSecurityScanResultSchema (const)", "KernelSecurityVulnerability (type)", + "KernelSecurityVulnerabilityParsed (type)", "KernelSecurityVulnerabilitySchema (const)", "LintableAuthoringCollection (interface)", "ListPackagesRequest (type)", "ListPackagesRequestSchema (const)", "ListPackagesResponse (type)", + "ListPackagesResponseParsed (type)", "ListPackagesResponseSchema (const)", "METADATA_READ_DECORATIONS (const)", "ManifestPermissions (type)", @@ -145,6 +184,7 @@ "MergeResult (type)", "MergeResultSchema (const)", "MergeStrategyConfig (type)", + "MergeStrategyConfigParsed (type)", "MergeStrategyConfigSchema (const)", "MetadataBulkResult (type)", "MetadataBulkResultSchema (const)", @@ -159,6 +199,7 @@ "MetadataDependency (type)", "MetadataDependencySchema (const)", "MetadataDiffItem (type)", + "MetadataDiffItemParsed (type)", "MetadataDiffItemSchema (const)", "MetadataFallbackStrategy (type)", "MetadataFallbackStrategySchema (const)", @@ -169,6 +210,7 @@ "MetadataManagerConfig (type)", "MetadataManagerConfigSchema (const)", "MetadataOverlay (type)", + "MetadataOverlayParsed (type)", "MetadataOverlaySchema (const)", "MetadataPluginConfig (type)", "MetadataPluginConfigSchema (const)", @@ -184,11 +226,13 @@ "MetadataReadDecoration (type)", "MetadataType (type)", "MetadataTypeRegistryEntry (type)", + "MetadataTypeRegistryEntryParsed (type)", "MetadataTypeRegistryEntrySchema (const)", "MetadataTypeSchema (const)", "MetadataValidationResult (type)", "MetadataValidationResultSchema (const)", "MultiVersionSupport (type)", + "MultiVersionSupportParsed (type)", "MultiVersionSupportSchema (const)", "NamespaceConflictError (type)", "NamespaceConflictErrorSchema (const)", @@ -196,6 +240,7 @@ "NamespaceRegistryEntrySchema (const)", "ObjectStackManifest (type)", "ObjectStackManifestInput (type)", + "ObjectStackManifestParsed (type)", "OclifPluginConfig (type)", "OclifPluginConfigSchema (const)", "OpsDomainModule (type)", @@ -214,10 +259,12 @@ "PUBLIC_AUTH_FEATURE_NAMES (const)", "PackageArtifact (type)", "PackageArtifactInput (type)", + "PackageArtifactParsed (type)", "PackageArtifactSchema (const)", "PackageDependencyConflict (type)", "PackageDependencyConflictSchema (const)", "PackageDependencyResolutionResult (type)", + "PackageDependencyResolutionResultParsed (type)", "PackageDependencyResolutionResultSchema (const)", "PackageStatus (type)", "PackageStatusEnum (const)", @@ -227,38 +274,50 @@ "PermissionScopeSchema (const)", "PlatformCapabilityProvider (interface)", "PluginCaching (type)", + "PluginCachingParsed (type)", "PluginCachingSchema (const)", "PluginCapability (type)", "PluginCapabilityManifest (type)", + "PluginCapabilityManifestParsed (type)", "PluginCapabilityManifestSchema (const)", + "PluginCapabilityParsed (type)", "PluginCapabilitySchema (const)", "PluginCodeSplitting (type)", + "PluginCodeSplittingParsed (type)", "PluginCodeSplittingSchema (const)", "PluginCompatibilityMatrix (type)", + "PluginCompatibilityMatrixParsed (type)", "PluginCompatibilityMatrixSchema (const)", "PluginContext (type)", "PluginContextData (type)", "PluginContextSchema (const)", "PluginDefinition (type)", "PluginDependency (type)", + "PluginDependencyParsed (type)", "PluginDependencyResolution (type)", + "PluginDependencyResolutionParsed (type)", "PluginDependencyResolutionResult (type)", + "PluginDependencyResolutionResultParsed (type)", "PluginDependencyResolutionResultSchema (const)", "PluginDependencyResolutionSchema (const)", "PluginDependencySchema (const)", "PluginDynamicImport (type)", + "PluginDynamicImportParsed (type)", "PluginDynamicImportSchema (const)", "PluginEngines (type)", "PluginEnginesSchema (const)", "PluginHealthCheck (type)", + "PluginHealthCheckParsed (type)", "PluginHealthCheckSchema (const)", "PluginHealthReport (type)", "PluginHealthReportSchema (const)", "PluginHealthStatus (type)", "PluginHealthStatusSchema (const)", "PluginHotReload (type)", + "PluginHotReloadParsed (type)", "PluginHotReloadSchema (const)", "PluginInitialization (type)", + "PluginInitializationParsed (type)", "PluginInitializationSchema (const)", "PluginInstallConfig (type)", "PluginInstallConfigInput (type)", @@ -266,12 +325,15 @@ "PluginIntegrity (type)", "PluginIntegritySchema (const)", "PluginInterface (type)", + "PluginInterfaceParsed (type)", "PluginInterfaceSchema (const)", "PluginLoadingConfig (type)", + "PluginLoadingConfigParsed (type)", "PluginLoadingConfigSchema (const)", "PluginLoadingEvent (type)", "PluginLoadingEventSchema (const)", "PluginLoadingState (type)", + "PluginLoadingStateParsed (type)", "PluginLoadingStateSchema (const)", "PluginLoadingStrategy (type)", "PluginLoadingStrategySchema (const)", @@ -280,55 +342,72 @@ "PluginPackaging (type)", "PluginPackagingSchema (const)", "PluginPerformanceMonitoring (type)", + "PluginPerformanceMonitoringParsed (type)", "PluginPerformanceMonitoringSchema (const)", "PluginPermission (type)", + "PluginPermissionParsed (type)", "PluginPermissionSchema (const)", "PluginPermissionSet (type)", + "PluginPermissionSetParsed (type)", "PluginPermissionSetSchema (const)", "PluginPermissions (type)", "PluginPermissionsSchema (const)", "PluginPreloadConfig (type)", + "PluginPreloadConfigParsed (type)", "PluginPreloadConfigSchema (const)", "PluginProvenance (type)", + "PluginProvenanceParsed (type)", "PluginProvenanceSchema (const)", "PluginQualityMetrics (type)", "PluginQualityMetricsInput (type)", + "PluginQualityMetricsParsed (type)", "PluginQualityMetricsSchema (const)", "PluginRegistryEntry (type)", "PluginRegistryEntryInput (type)", + "PluginRegistryEntryParsed (type)", "PluginRegistryEntrySchema (const)", "PluginRuntime (type)", "PluginRuntimeSchema (const)", "PluginSandboxing (type)", + "PluginSandboxingParsed (type)", "PluginSandboxingSchema (const)", "PluginSchema (const)", "PluginSearchFilters (type)", "PluginSearchFiltersInput (type)", "PluginSearchFiltersSchema (const)", "PluginSecurityManifest (type)", + "PluginSecurityManifestParsed (type)", "PluginSecurityManifestSchema (const)", "PluginSecurityProtocol (const)", "PluginStartupResult (type)", "PluginStartupResultSchema (const)", "PluginStateSnapshot (type)", + "PluginStateSnapshotParsed (type)", "PluginStateSnapshotSchema (const)", "PluginStatistics (type)", "PluginStatisticsInput (type)", + "PluginStatisticsParsed (type)", "PluginStatisticsSchema (const)", "PluginTrustLevel (type)", "PluginTrustLevelSchema (const)", "PluginTrustScore (type)", + "PluginTrustScoreParsed (type)", "PluginTrustScoreSchema (const)", "PluginUpdateStrategy (type)", + "PluginUpdateStrategyParsed (type)", "PluginUpdateStrategySchema (const)", "PluginVendor (type)", "PluginVendorInput (type)", + "PluginVendorParsed (type)", "PluginVendorSchema (const)", "PluginVersionMetadata (type)", + "PluginVersionMetadataParsed (type)", "PluginVersionMetadataSchema (const)", "PreviewModeConfig (type)", + "PreviewModeConfigParsed (type)", "PreviewModeConfigSchema (const)", "ProtocolFeature (type)", + "ProtocolFeatureParsed (type)", "ProtocolFeatureSchema (const)", "ProtocolReference (type)", "ProtocolReferenceSchema (const)", @@ -339,60 +418,76 @@ "PublicAuthFeatureSemantics (type)", "PublicAuthFeatureSurface (type)", "RealTimeNotificationConfig (type)", + "RealTimeNotificationConfigParsed (type)", "RealTimeNotificationConfigSchema (const)", "RequiredAction (type)", "RequiredActionSchema (const)", "ResolvedDependency (type)", "ResolvedDependencySchema (const)", "ResolvedPackageDependency (type)", + "ResolvedPackageDependencyParsed (type)", "ResolvedPackageDependencySchema (const)", "ResourceType (type)", "ResourceTypeSchema (const)", "RollbackPackageRequest (type)", + "RollbackPackageRequestParsed (type)", "RollbackPackageRequestSchema (const)", "RollbackPackageResponse (type)", "RollbackPackageResponseSchema (const)", "RuntimeConfig (type)", + "RuntimeConfigParsed (type)", "RuntimeConfigSchema (const)", "RuntimeMode (type)", "SBOM (type)", "SBOMEntry (type)", + "SBOMEntryParsed (type)", "SBOMEntrySchema (const)", + "SBOMParsed (type)", "SBOMSchema (const)", "SandboxConfig (type)", + "SandboxConfigParsed (type)", "SandboxConfigSchema (const)", "ScopeConfig (type)", "ScopeConfigSchema (const)", "ScopeInfo (type)", "ScopeInfoSchema (const)", "SecurityPolicy (type)", + "SecurityPolicyParsed (type)", "SecurityPolicySchema (const)", "SecurityScanResult (type)", + "SecurityScanResultParsed (type)", "SecurityScanResultSchema (const)", "SecurityVulnerability (type)", + "SecurityVulnerabilityParsed (type)", "SecurityVulnerabilitySchema (const)", "SemanticVersion (type)", "SemanticVersionSchema (const)", "ServiceClusterAnnotations (type)", + "ServiceClusterAnnotationsParsed (type)", "ServiceClusterAnnotationsSchema (const)", "ServiceClusterScope (type)", "ServiceClusterScopeSchema (const)", "ServiceFactoryRegistration (type)", + "ServiceFactoryRegistrationParsed (type)", "ServiceFactoryRegistrationSchema (const)", "ServiceLeaderStrategy (type)", "ServiceLeaderStrategySchema (const)", "ServiceMetadata (type)", + "ServiceMetadataParsed (type)", "ServiceMetadataSchema (const)", "ServiceRegistryConfig (type)", "ServiceRegistryConfigInput (type)", + "ServiceRegistryConfigParsed (type)", "ServiceRegistryConfigSchema (const)", "ServiceScopeType (type)", "StartupOptions (type)", "StartupOptionsInput (type)", + "StartupOptionsParsed (type)", "StartupOptionsSchema (const)", "StartupOrchestrationResult (type)", "StartupOrchestrationResultSchema (const)", "TenantRuntimeContext (type)", + "TenantRuntimeContextParsed (type)", "TenantRuntimeContextSchema (const)", "UninstallPackageRequest (type)", "UninstallPackageRequestSchema (const)", @@ -401,14 +496,18 @@ "UpgradeImpactLevel (type)", "UpgradeImpactLevelSchema (const)", "UpgradePackageRequest (type)", + "UpgradePackageRequestParsed (type)", "UpgradePackageRequestSchema (const)", "UpgradePackageResponse (type)", + "UpgradePackageResponseParsed (type)", "UpgradePackageResponseSchema (const)", "UpgradePhase (type)", "UpgradePhaseSchema (const)", "UpgradePlan (type)", + "UpgradePlanParsed (type)", "UpgradePlanSchema (const)", "UpgradeSnapshot (type)", + "UpgradeSnapshotParsed (type)", "UpgradeSnapshotSchema (const)", "VIEW_LAYOUT_WITHOUT_BINDING (const)", "ValidationError (type)", diff --git a/packages/spec/api-surface/root.json b/packages/spec/api-surface/root.json index 026cc53cdb..4434572224 100644 --- a/packages/spec/api-surface/root.json +++ b/packages/spec/api-surface/root.json @@ -81,6 +81,7 @@ "ObjectStack (type)", "ObjectStackDefinition (type)", "ObjectStackDefinitionInput (type)", + "ObjectStackDefinitionParsed (type)", "ObjectStackDefinitionSchema (const)", "ObjectStackSchema (const)", "P (const)", diff --git a/packages/spec/api-surface/security.json b/packages/spec/api-surface/security.json index 289e152dd8..5a9b6efb27 100644 --- a/packages/spec/api-surface/security.json +++ b/packages/spec/api-surface/security.json @@ -5,9 +5,11 @@ "AccessMatrix (type)", "AccessMatrixEntry (type)", "AccessMatrixEntrySchema (const)", + "AccessMatrixParsed (type)", "AccessMatrixSchema (const)", "AdminScope (type)", "AdminScopeInput (type)", + "AdminScopeParsed (type)", "AdminScopeSchema (const)", "AuthzPosture (type)", "AuthzPostureSchema (const)", @@ -15,28 +17,34 @@ "CapabilityDeclarationInput (type)", "CapabilityDeclarationSchema (const)", "CriteriaSharingRule (type)", + "CriteriaSharingRuleParsed (type)", "CriteriaSharingRuleSchema (const)", "EffectiveObjectPermission (type)", "EffectiveObjectPermissionSchema (const)", "ExplainDecision (type)", + "ExplainDecisionParsed (type)", "ExplainDecisionSchema (const)", "ExplainLayer (type)", + "ExplainLayerParsed (type)", "ExplainLayerSchema (const)", "ExplainMatchedRule (type)", "ExplainMatchedRuleSchema (const)", "ExplainOperation (type)", "ExplainOperationSchema (const)", "ExplainRecordAttribution (type)", + "ExplainRecordAttributionParsed (type)", "ExplainRecordAttributionSchema (const)", "ExplainRequest (type)", "ExplainRequestInput (type)", "ExplainRequestSchema (const)", "FieldPermission (type)", + "FieldPermissionParsed (type)", "FieldPermissionSchema (const)", "OWDModel (const)", "ObjectAccessScope (type)", "ObjectAccessScopeSchema (const)", "ObjectPermission (type)", + "ObjectPermissionParsed (type)", "ObjectPermissionSchema (const)", "OrgScopingEntitlement (interface)", "PLATFORM_CAPABILITIES (const)", @@ -44,6 +52,7 @@ "PUBLIC_FORM_SERVER_MANAGED_FIELDS (const)", "PermissionSet (type)", "PermissionSetInput (type)", + "PermissionSetParsed (type)", "PermissionSetSchema (const)", "PlatformCapability (interface)", "RLS (const)", @@ -53,11 +62,13 @@ "RLSUserContext (type)", "RLSUserContextSchema (const)", "RowLevelSecurityPolicy (type)", + "RowLevelSecurityPolicyParsed (type)", "RowLevelSecurityPolicySchema (const)", "ShareRecipientType (const)", "SharingLevel (const)", "SharingRule (type)", "SharingRuleInput (type)", + "SharingRuleParsed (type)", "SharingRuleSchema (const)", "SharingRuleType (const)", "TENANCY_POSTURES (const)", diff --git a/packages/spec/api-surface/shared.json b/packages/spec/api-surface/shared.json index 327ad021cb..c811e0d757 100644 --- a/packages/spec/api-surface/shared.json +++ b/packages/spec/api-surface/shared.json @@ -3,11 +3,13 @@ "entry": "./shared", "exports": [ "AppName (type)", + "AppNameParsed (type)", "AppNameSchema (const)", "ApplyProtectionContext (interface)", "BaseMetadataRecord (type)", "BaseMetadataRecordSchema (const)", "CorsConfig (type)", + "CorsConfigParsed (type)", "CorsConfigSchema (const)", "CronExpressionInput (type)", "CronExpressionInputSchema (const)", @@ -29,13 +31,16 @@ "FieldMapping (type)", "FieldMappingSchema (const)", "FieldName (type)", + "FieldNameParsed (type)", "FieldNameSchema (const)", "FlowName (type)", + "FlowNameParsed (type)", "FlowNameSchema (const)", "HttpMethod (type)", "HttpMethodSubset (type)", "HttpMethodSubsetSchema (const)", "HttpRequest (type)", + "HttpRequestParsed (type)", "HttpRequestSchema (const)", "IsolationLevel (type)", "IsolationLevelEnum (const)", @@ -49,6 +54,7 @@ "MutationEventEnum (const)", "NormalizeStackInputOptions (interface)", "ObjectName (type)", + "ObjectNameParsed (type)", "ObjectNameSchema (const)", "ObjectStackRawIssue (type)", "P (const)", @@ -60,9 +66,11 @@ "Protection (type)", "ProtectionSchema (const)", "RateLimitConfig (type)", + "RateLimitConfigParsed (type)", "RateLimitConfigSchema (const)", "ResilientFetchOptions (interface)", "RoleName (type)", + "RoleNameParsed (type)", "RoleNameSchema (const)", "SINGULAR_TO_PLURAL (const)", "SchemaDiffEntry (interface)", @@ -82,6 +90,7 @@ "TemplateExpressionInputSchema (const)", "VISIBILITY_ALIAS_KEYS (const)", "ViewName (type)", + "ViewNameParsed (type)", "ViewNameSchema (const)", "applyProtection (function)", "cel (function)", diff --git a/packages/spec/api-surface/system.json b/packages/spec/api-surface/system.json index 4d31d01ad2..79b05ff41e 100644 --- a/packages/spec/api-surface/system.json +++ b/packages/spec/api-surface/system.json @@ -3,6 +3,7 @@ "entry": "./system", "exports": [ "AccessControlConfig (type)", + "AccessControlConfigParsed (type)", "AccessControlConfigSchema (const)", "ActionLike (interface)", "ActionResultDialogTranslation (type)", @@ -13,19 +14,25 @@ "AnalyzerConfig (type)", "AnalyzerConfigSchema (const)", "AppCompatibilityCheck (type)", + "AppCompatibilityCheckParsed (type)", "AppCompatibilityCheckSchema (const)", "AppInstallRequest (type)", + "AppInstallRequestParsed (type)", "AppInstallRequestSchema (const)", "AppInstallResult (type)", + "AppInstallResultParsed (type)", "AppInstallResultSchema (const)", "AppLike (interface)", "AppManifest (type)", + "AppManifestParsed (type)", "AppManifestSchema (const)", "AudienceBook (interface)", "AudienceCaller (interface)", "AuthConfig (type)", + "AuthConfigParsed (type)", "AuthConfigSchema (const)", "AuthPluginConfig (type)", + "AuthPluginConfigParsed (type)", "AuthPluginConfigSchema (const)", "AuthProviderConfig (type)", "AuthProviderConfigSchema (const)", @@ -40,16 +47,20 @@ "BUILTIN_VALIDATION_MESSAGES (const)", "BackupConfig (type)", "BackupConfigInput (type)", + "BackupConfigParsed (type)", "BackupConfigSchema (const)", "BackupRetention (type)", + "BackupRetentionParsed (type)", "BackupRetentionSchema (const)", "BackupStrategy (type)", "BackupStrategySchema (const)", "BatchProgress (type)", "BatchProgressInput (type)", + "BatchProgressParsed (type)", "BatchProgressSchema (const)", "BatchTask (type)", "BatchTaskInput (type)", + "BatchTaskParsed (type)", "BatchTaskSchema (const)", "Book (type)", "BookAudience (type)", @@ -62,19 +73,24 @@ "BookNodeSchema (const)", "BookSchema (const)", "BucketConfig (type)", + "BucketConfigParsed (type)", "BucketConfigSchema (const)", "CLOUD_PROVIDED_OBJECT_NAMES (const)", "CORE_SERVICE_PROVIDER (const)", "CRDTMergeResult (type)", + "CRDTMergeResultParsed (type)", "CRDTMergeResultSchema (const)", "CRDTState (type)", + "CRDTStateParsed (type)", "CRDTStateSchema (const)", "CRDTType (type)", "CREATION_ATTESTED_MIGRATION_IDS (const)", "CacheAvalanchePrevention (type)", + "CacheAvalanchePreventionParsed (type)", "CacheAvalanchePreventionSchema (const)", "CacheConfig (type)", "CacheConfigInput (type)", + "CacheConfigParsed (type)", "CacheConfigSchema (const)", "CacheConsistency (type)", "CacheConsistencySchema (const)", @@ -84,16 +100,20 @@ "CacheStrategySchema (const)", "CacheTier (type)", "CacheTierInput (type)", + "CacheTierParsed (type)", "CacheTierSchema (const)", "CacheWarmup (type)", + "CacheWarmupParsed (type)", "CacheWarmupSchema (const)", "ChangeImpact (type)", "ChangeImpactSchema (const)", "ChangePriority (type)", "ChangePrioritySchema (const)", "ChangeRequest (type)", + "ChangeRequestParsed (type)", "ChangeRequestSchema (const)", "ChangeSet (type)", + "ChangeSetParsed (type)", "ChangeSetSchema (const)", "ChangeStatus (type)", "ChangeStatusSchema (const)", @@ -102,19 +122,26 @@ "CollaborationMode (type)", "CollaborationSession (type)", "CollaborationSessionConfig (type)", + "CollaborationSessionConfigParsed (type)", "CollaborationSessionConfigSchema (const)", + "CollaborationSessionParsed (type)", "CollaborationSessionSchema (const)", "CollaborativeCursor (type)", + "CollaborativeCursorParsed (type)", "CollaborativeCursorSchema (const)", "ComplianceAuditRequirement (type)", + "ComplianceAuditRequirementParsed (type)", "ComplianceAuditRequirementSchema (const)", "ComplianceEncryptionRequirement (type)", + "ComplianceEncryptionRequirementParsed (type)", "ComplianceEncryptionRequirementSchema (const)", "ComplianceFramework (type)", "ComplianceFrameworkSchema (const)", "ConsoleDestinationConfig (type)", + "ConsoleDestinationConfigParsed (type)", "ConsoleDestinationConfigSchema (const)", "ConsumerConfig (type)", + "ConsumerConfigParsed (type)", "ConsumerConfigSchema (const)", "CoreServiceName (type)", "CounterOperation (type)", @@ -123,11 +150,13 @@ "CoverageBreakdownEntrySchema (const)", "CreateObjectOperation (const)", "CronSchedule (type)", + "CronScheduleParsed (type)", "CronScheduleSchema (const)", "CursorColorPreset (type)", "CursorSelection (type)", "CursorSelectionSchema (const)", "CursorStyle (type)", + "CursorStyleParsed (type)", "CursorStyleSchema (const)", "CursorUpdate (type)", "CursorUpdateSchema (const)", @@ -135,35 +164,44 @@ "DashboardLike (interface)", "DataClassification (type)", "DataClassificationPolicy (type)", + "DataClassificationPolicyParsed (type)", "DataClassificationPolicySchema (const)", "DataClassificationSchema (const)", "DataMigrationFlag (type)", "DataMigrationFlagSchema (const)", "DatabaseLevelIsolationStrategy (type)", "DatabaseLevelIsolationStrategyInput (type)", + "DatabaseLevelIsolationStrategyParsed (type)", "DatabaseLevelIsolationStrategySchema (const)", "DatabaseProvider (type)", "DatabaseProviderSchema (const)", "DeadLetterQueue (type)", + "DeadLetterQueueParsed (type)", "DeadLetterQueueSchema (const)", "DeleteObjectOperation (const)", "DeployBundle (type)", + "DeployBundleParsed (type)", "DeployBundleSchema (const)", "DeployDiff (type)", + "DeployDiffParsed (type)", "DeployDiffSchema (const)", "DeployManifest (type)", + "DeployManifestParsed (type)", "DeployManifestSchema (const)", "DeployStatus (type)", "DeployStatusEnum (const)", "DeployValidationIssue (type)", "DeployValidationIssueSchema (const)", "DeployValidationResult (type)", + "DeployValidationResultParsed (type)", "DeployValidationResultSchema (const)", "DisasterRecoveryPlan (type)", "DisasterRecoveryPlanInput (type)", + "DisasterRecoveryPlanParsed (type)", "DisasterRecoveryPlanSchema (const)", "DistributedCacheConfig (type)", "DistributedCacheConfigInput (type)", + "DistributedCacheConfigParsed (type)", "DistributedCacheConfigSchema (const)", "Doc (type)", "DocSchema (const)", @@ -172,17 +210,21 @@ "EmailAddressConfig (type)", "EmailAddressConfigSchema (const)", "EmailAndPasswordConfig (type)", + "EmailAndPasswordConfigParsed (type)", "EmailAndPasswordConfigSchema (const)", "EmailProvider (type)", "EmailProviderSchema (const)", "EmailServiceConfig (type)", + "EmailServiceConfigParsed (type)", "EmailServiceConfigSchema (const)", "EmailTemplateDefinition (type)", "EmailTemplateDefinitionCategory (type)", "EmailTemplateDefinitionCategorySchema (const)", "EmailTemplateDefinitionInput (type)", + "EmailTemplateDefinitionParsed (type)", "EmailTemplateDefinitionSchema (const)", "EmailTemplateDefinitionVariable (type)", + "EmailTemplateDefinitionVariableParsed (type)", "EmailTemplateDefinitionVariableSchema (const)", "EmailVerificationConfig (type)", "EmailVerificationConfigSchema (const)", @@ -190,9 +232,11 @@ "EncryptionAlgorithmSchema (const)", "EncryptionConfig (type)", "EncryptionConfigInput (type)", + "EncryptionConfigParsed (type)", "EncryptionConfigSchema (const)", "EnvironmentArtifact (type)", "EnvironmentArtifactInput (type)", + "EnvironmentArtifactParsed (type)", "EnvironmentArtifactSchema (const)", "ExecuteSqlOperation (const)", "ExtendedLogLevel (type)", @@ -200,21 +244,26 @@ "ExternalServiceDestinationConfigSchema (const)", "FILE_REFERENCES_MIGRATION_ID (const)", "FacetConfig (type)", + "FacetConfigParsed (type)", "FacetConfigSchema (const)", "FailoverConfig (type)", "FailoverConfigInput (type)", + "FailoverConfigParsed (type)", "FailoverConfigSchema (const)", "FailoverMode (type)", "FailoverModeSchema (const)", "Feature (type)", "FeatureInput (type)", + "FeatureParsed (type)", "FeatureSchema (const)", "FieldEncryption (type)", "FieldEncryptionInput (type)", + "FieldEncryptionParsed (type)", "FieldEncryptionSchema (const)", "FieldTranslation (type)", "FieldTranslationSchema (const)", "FileDestinationConfig (type)", + "FileDestinationConfigParsed (type)", "FileDestinationConfigSchema (const)", "FileMetadata (type)", "FileMetadataSchema (const)", @@ -223,6 +272,7 @@ "HistogramBucketConfig (type)", "HistogramBucketConfigSchema (const)", "HttpDestinationConfig (type)", + "HttpDestinationConfigParsed (type)", "HttpDestinationConfigSchema (const)", "ISettingsCapability (interface)", "ISettingsClient (interface)", @@ -230,12 +280,15 @@ "IncidentCategory (type)", "IncidentCategorySchema (const)", "IncidentNotificationMatrix (type)", + "IncidentNotificationMatrixParsed (type)", "IncidentNotificationMatrixSchema (const)", "IncidentNotificationRule (type)", + "IncidentNotificationRuleParsed (type)", "IncidentNotificationRuleSchema (const)", "IncidentResponsePhase (type)", "IncidentResponsePhaseSchema (const)", "IncidentResponsePolicy (type)", + "IncidentResponsePolicyParsed (type)", "IncidentResponsePolicySchema (const)", "IncidentSchema (const)", "IncidentSeverity (type)", @@ -249,12 +302,14 @@ "JobExecutionSchema (const)", "JobExecutionStatus (type)", "JobInput (type)", + "JobParsed (type)", "JobSchema (const)", "KernelServiceMapSchema (const)", "KeyManagementProvider (type)", "KeyManagementProviderSchema (const)", "KeyRotationPolicy (type)", "KeyRotationPolicyInput (type)", + "KeyRotationPolicyParsed (type)", "KeyRotationPolicySchema (const)", "LEGACY_OBJECT_FIRST_KEYS (const)", "LWWRegister (type)", @@ -266,30 +321,38 @@ "LifecycleAction (type)", "LifecycleActionSchema (const)", "LifecyclePolicyConfig (type)", + "LifecyclePolicyConfigParsed (type)", "LifecyclePolicyConfigSchema (const)", "LifecyclePolicyRule (type)", + "LifecyclePolicyRuleParsed (type)", "LifecyclePolicyRuleSchema (const)", "LocaleDescriptor (interface)", "LocaleSchema (const)", "LogDestination (type)", + "LogDestinationParsed (type)", "LogDestinationSchema (const)", "LogDestinationType (type)", "LogEnrichmentConfig (type)", + "LogEnrichmentConfigParsed (type)", "LogEnrichmentConfigSchema (const)", "LogEntry (type)", "LogEntrySchema (const)", "LogFormat (type)", "LogLevel (type)", "LoggerConfig (type)", + "LoggerConfigParsed (type)", "LoggerConfigSchema (const)", "LoggingConfig (type)", + "LoggingConfigParsed (type)", "LoggingConfigSchema (const)", "METADATA_FORM_REGISTRY (const)", "MIGRATION_JOURNAL_KINDS (const)", "MIGRATION_JOURNAL_OBJECT (const)", "MaskingVisibilityRule (type)", + "MaskingVisibilityRuleParsed (type)", "MaskingVisibilityRuleSchema (const)", "MessageQueueConfig (type)", + "MessageQueueConfigParsed (type)", "MessageQueueConfigSchema (const)", "MessageQueueProvider (type)", "MessageQueueProviderSchema (const)", @@ -303,12 +366,14 @@ "MetadataFormat (type)", "MetadataFormatSchema (const)", "MetadataHistoryQueryOptions (type)", + "MetadataHistoryQueryOptionsParsed (type)", "MetadataHistoryQueryOptionsSchema (const)", "MetadataHistoryQueryResult (type)", "MetadataHistoryQueryResultSchema (const)", "MetadataHistoryRecord (type)", "MetadataHistoryRecordSchema (const)", "MetadataHistoryRetentionPolicy (type)", + "MetadataHistoryRetentionPolicyParsed (type)", "MetadataHistoryRetentionPolicySchema (const)", "MetadataLoadOptions (type)", "MetadataLoadOptionsSchema (const)", @@ -319,8 +384,10 @@ "MetadataManagerConfig (type)", "MetadataManagerConfigSchema (const)", "MetadataRecord (type)", + "MetadataRecordParsed (type)", "MetadataRecordSchema (const)", "MetadataSaveOptions (type)", + "MetadataSaveOptionsParsed (type)", "MetadataSaveOptionsSchema (const)", "MetadataSaveResult (type)", "MetadataSaveResultSchema (const)", @@ -334,22 +401,27 @@ "MetadataWatchEvent (type)", "MetadataWatchEventSchema (const)", "MetricAggregationConfig (type)", + "MetricAggregationConfigParsed (type)", "MetricAggregationConfigSchema (const)", "MetricAggregationType (type)", "MetricDataPoint (type)", "MetricDataPointSchema (const)", "MetricDefinition (type)", + "MetricDefinitionParsed (type)", "MetricDefinitionSchema (const)", "MetricExportConfig (type)", + "MetricExportConfigParsed (type)", "MetricExportConfigSchema (const)", "MetricLabels (type)", "MetricLabelsSchema (const)", "MetricType (type)", "MetricUnit (type)", "MetricsConfig (type)", + "MetricsConfigParsed (type)", "MetricsConfigSchema (const)", "MiddlewareConfig (type)", "MiddlewareConfigInput (type)", + "MiddlewareConfigParsed (type)", "MiddlewareConfigSchema (const)", "MiddlewareType (type)", "MigrationDependencySchema (const)", @@ -358,22 +430,29 @@ "MigrationJournalKind (type)", "MigrationOnCrashPolicy (type)", "MigrationOperation (type)", + "MigrationOperationParsed (type)", "MigrationOperationSchema (const)", "MigrationPlan (type)", + "MigrationPlanParsed (type)", "MigrationPlanSchema (const)", "MigrationStatement (type)", + "MigrationStatementParsed (type)", "MigrationStatementSchema (const)", "ModifyFieldOperation (const)", "MultipartUploadConfig (type)", + "MultipartUploadConfigParsed (type)", "MultipartUploadConfigSchema (const)", "MutualTLSConfig (type)", + "MutualTLSConfigParsed (type)", "MutualTLSConfigSchema (const)", "NavNodeLike (interface)", "NotificationChannel (type)", "NotificationChannelSchema (const)", "ORSet (type)", "ORSetElement (type)", + "ORSetElementParsed (type)", "ORSetElementSchema (const)", + "ORSetParsed (type)", "ORSetSchema (const)", "OTComponent (type)", "OTComponentSchema (const)", @@ -387,6 +466,7 @@ "ObjectMetadata (type)", "ObjectMetadataSchema (const)", "ObjectStorageConfig (type)", + "ObjectStorageConfigParsed (type)", "ObjectStorageConfigSchema (const)", "ObjectTranslationData (type)", "ObjectTranslationDataSchema (const)", @@ -397,6 +477,7 @@ "OnceSchedule (type)", "OnceScheduleSchema (const)", "OpenTelemetryCompatibility (type)", + "OpenTelemetryCompatibilityParsed (type)", "OpenTelemetryCompatibilitySchema (const)", "OtelExporterType (type)", "PKG_CONVENTIONS (const)", @@ -417,23 +498,29 @@ "PageRegionLike (interface)", "Plan (type)", "PlanInput (type)", + "PlanParsed (type)", "PlanSchema (const)", "PresignedUrlConfig (type)", "PresignedUrlConfigSchema (const)", "QueueConfig (type)", "QueueConfigInput (type)", + "QueueConfigParsed (type)", "QueueConfigSchema (const)", "QuotaEnforcementResult (type)", "QuotaEnforcementResultSchema (const)", "RPO (type)", + "RPOParsed (type)", "RPOSchema (const)", "RTO (type)", + "RTOParsed (type)", "RTOSchema (const)", "RegistryConfig (type)", + "RegistryConfigParsed (type)", "RegistryConfigSchema (const)", "RegistrySyncPolicy (type)", "RegistrySyncPolicySchema (const)", "RegistryUpstream (type)", + "RegistryUpstreamParsed (type)", "RegistryUpstreamSchema (const)", "RemoveFieldOperation (const)", "RenameObjectOperation (const)", @@ -455,46 +542,58 @@ "RollbackPlanSchema (const)", "RouteHandlerMetadata (type)", "RouteHandlerMetadataInput (type)", + "RouteHandlerMetadataParsed (type)", "RouteHandlerMetadataSchema (const)", "RowLevelIsolationStrategy (type)", "RowLevelIsolationStrategyInput (type)", + "RowLevelIsolationStrategyParsed (type)", "RowLevelIsolationStrategySchema (const)", "SETTINGS_CHANGE_EVENT (const)", "SamplingDecision (type)", "SamplingStrategyType (type)", "Schedule (type)", + "ScheduleParsed (type)", "ScheduleSchema (const)", "SchemaChange (type)", "SchemaChangeSchema (const)", "SchemaLevelIsolationStrategy (type)", "SchemaLevelIsolationStrategyInput (type)", + "SchemaLevelIsolationStrategyParsed (type)", "SchemaLevelIsolationStrategySchema (const)", "SearchConfig (type)", + "SearchConfigParsed (type)", "SearchConfigSchema (const)", "SearchIndexConfig (type)", + "SearchIndexConfigParsed (type)", "SearchIndexConfigSchema (const)", "SearchProvider (type)", "SearchProviderSchema (const)", "SecurityContextConfig (type)", "SecurityContextConfigInput (type)", + "SecurityContextConfigParsed (type)", "SecurityContextConfigSchema (const)", "SecurityEventCorrelation (type)", + "SecurityEventCorrelationParsed (type)", "SecurityEventCorrelationSchema (const)", "ServerCapabilities (type)", "ServerCapabilitiesInput (type)", + "ServerCapabilitiesParsed (type)", "ServerCapabilitiesSchema (const)", "ServerEvent (type)", "ServerEventSchema (const)", "ServerEventType (type)", "ServerRateLimitConfig (type)", + "ServerRateLimitConfigParsed (type)", "ServerRateLimitConfigSchema (const)", "ServerStatus (type)", "ServerStatusSchema (const)", "ServiceConfigSchema (const)", "ServiceCriticalitySchema (const)", "ServiceLevelIndicator (type)", + "ServiceLevelIndicatorParsed (type)", "ServiceLevelIndicatorSchema (const)", "ServiceLevelObjective (type)", + "ServiceLevelObjectiveParsed (type)", "ServiceLevelObjectiveSchema (const)", "ServiceRequirementDef (const)", "ServiceStatusSchema (const)", @@ -505,13 +604,16 @@ "SettingsChangeEventSchema (const)", "SettingsChangeHandler (type)", "SettingsManifest (type)", + "SettingsManifestParsed (type)", "SettingsManifestSchema (const)", "SettingsNamespacePayload (type)", + "SettingsNamespacePayloadParsed (type)", "SettingsNamespacePayloadSchema (const)", "SettingsUnsubscribe (type)", "Sha256Digest (type)", "Sha256DigestSchema (const)", "SocialProviderConfig (type)", + "SocialProviderConfigParsed (type)", "SocialProviderConfigSchema (const)", "Span (type)", "SpanAttributeValue (type)", @@ -522,28 +624,35 @@ "SpanEventSchema (const)", "SpanKind (type)", "SpanLink (type)", + "SpanLinkParsed (type)", "SpanLinkSchema (const)", + "SpanParsed (type)", "SpanSchema (const)", "SpanStatus (type)", "Specifier (type)", "SpecifierHandler (type)", + "SpecifierHandlerParsed (type)", "SpecifierHandlerSchema (const)", "SpecifierOption (type)", "SpecifierOptionSchema (const)", + "SpecifierParsed (type)", "SpecifierSchema (const)", "SpecifierScope (type)", "SpecifierScopeSchema (const)", "SpecifierType (type)", "StackServerConfig (type)", "StackServerConfigInput (type)", + "StackServerConfigParsed (type)", "StackServerConfigSchema (const)", "StackServerSecurity (type)", + "StackServerSecurityParsed (type)", "StackServerSecuritySchema (const)", "StorageAcl (type)", "StorageAclSchema (const)", "StorageClass (type)", "StorageClassSchema (const)", "StorageConnection (type)", + "StorageConnectionParsed (type)", "StorageConnectionSchema (const)", "StorageNameMapping (const)", "StorageProvider (type)", @@ -558,10 +667,13 @@ "SupplierRiskLevel (type)", "SupplierRiskLevelSchema (const)", "SupplierSecurityAssessment (type)", + "SupplierSecurityAssessmentParsed (type)", "SupplierSecurityAssessmentSchema (const)", "SupplierSecurityPolicy (type)", + "SupplierSecurityPolicyParsed (type)", "SupplierSecurityPolicySchema (const)", "SupplierSecurityRequirement (type)", + "SupplierSecurityRequirementParsed (type)", "SupplierSecurityRequirementSchema (const)", "SystemFieldName (type)", "SystemObjectName (type)", @@ -573,9 +685,11 @@ "TaskExecutionResult (type)", "TaskExecutionResultSchema (const)", "TaskInput (type)", + "TaskParsed (type)", "TaskPriority (type)", "TaskRetryPolicy (type)", "TaskRetryPolicyInput (type)", + "TaskRetryPolicyParsed (type)", "TaskRetryPolicySchema (const)", "TaskSchema (const)", "TaskStatus (type)", @@ -583,6 +697,7 @@ "TenantConnectionConfig (type)", "TenantConnectionConfigSchema (const)", "TenantIsolationConfig (type)", + "TenantIsolationConfigParsed (type)", "TenantIsolationConfigSchema (const)", "TenantIsolationLevel (type)", "TenantQuota (type)", @@ -590,8 +705,10 @@ "TenantSchema (const)", "TenantSecurityPolicy (type)", "TenantSecurityPolicyInput (type)", + "TenantSecurityPolicyParsed (type)", "TenantSecurityPolicySchema (const)", "TenantUsage (type)", + "TenantUsageParsed (type)", "TenantUsageSchema (const)", "TextCRDTOperation (type)", "TextCRDTOperationSchema (const)", @@ -602,27 +719,34 @@ "TimeSeriesDataPointSchema (const)", "TimeSeriesSchema (const)", "TopicConfig (type)", + "TopicConfigParsed (type)", "TopicConfigSchema (const)", "TraceContext (type)", + "TraceContextParsed (type)", "TraceContextPropagation (type)", + "TraceContextPropagationParsed (type)", "TraceContextPropagationSchema (const)", "TraceContextSchema (const)", "TraceFlags (type)", "TraceFlagsSchema (const)", "TracePropagationFormat (type)", "TraceSamplingConfig (type)", + "TraceSamplingConfigParsed (type)", "TraceSamplingConfigSchema (const)", "TraceState (type)", "TraceStateSchema (const)", "TracingConfig (type)", + "TracingConfigParsed (type)", "TracingConfigSchema (const)", "TrainingCategory (type)", "TrainingCategorySchema (const)", "TrainingCompletionStatus (type)", "TrainingCompletionStatusSchema (const)", "TrainingCourse (type)", + "TrainingCourseParsed (type)", "TrainingCourseSchema (const)", "TrainingPlan (type)", + "TrainingPlanParsed (type)", "TrainingPlanSchema (const)", "TrainingRecord (type)", "TrainingRecordSchema (const)", @@ -652,6 +776,7 @@ "WidgetLike (interface)", "WorkerConfig (type)", "WorkerConfigInput (type)", + "WorkerConfigParsed (type)", "WorkerConfigSchema (const)", "WorkerStats (type)", "WorkerStatsSchema (const)", diff --git a/packages/spec/api-surface/ui.json b/packages/spec/api-surface/ui.json index ba5e39d35a..d9ec6b7997 100644 --- a/packages/spec/api-surface/ui.json +++ b/packages/spec/api-surface/ui.json @@ -7,6 +7,7 @@ "AIChatWindowProps (const)", "Action (type)", "ActionAi (type)", + "ActionAiParsed (type)", "ActionAiSchema (const)", "ActionEngineFacade (interface)", "ActionHandler (type)", @@ -15,24 +16,31 @@ "ActionLocation (type)", "ActionLocationSchema (const)", "ActionNavItem (type)", + "ActionNavItemParsed (type)", "ActionNavItemSchema (const)", "ActionParam (type)", "ActionParamIssue (interface)", + "ActionParamParsed (type)", "ActionParamSchema (const)", + "ActionParsed (type)", "ActionSchema (const)", "ActionSession (type)", "ActionSessionSchema (const)", "ActionType (const)", "AddRecordConfig (type)", + "AddRecordConfigParsed (type)", "AddRecordConfigSchema (const)", "App (type)", "AppBranding (type)", "AppBrandingSchema (const)", "AppContextSelector (type)", + "AppContextSelectorParsed (type)", "AppContextSelectorSchema (const)", "AppInput (type)", + "AppParsed (type)", "AppSchema (const)", "AppearanceConfig (type)", + "AppearanceConfigParsed (type)", "AppearanceConfigSchema (const)", "AriaProps (type)", "AriaPropsSchema (const)", @@ -42,6 +50,7 @@ "BreakpointName (type)", "BreakpointOrderMapSchema (const)", "BulkActionDef (type)", + "BulkActionDefParsed (type)", "BulkActionDefSchema (const)", "BulkActionExecution (type)", "BulkActionExecutionSchema (const)", @@ -57,30 +66,37 @@ "ChartAggregateLike (interface)", "ChartAggregateSchema (const)", "ChartAnnotation (type)", + "ChartAnnotationParsed (type)", "ChartAnnotationSchema (const)", "ChartAxis (type)", + "ChartAxisParsed (type)", "ChartAxisSchema (const)", "ChartConfig (type)", + "ChartConfigParsed (type)", "ChartConfigSchema (const)", "ChartDrillDown (type)", "ChartDrillDownSchema (const)", "ChartGroupBy (type)", "ChartGroupBySchema (const)", "ChartInteraction (type)", + "ChartInteractionParsed (type)", "ChartInteractionSchema (const)", "ChartSeries (type)", + "ChartSeriesParsed (type)", "ChartSeriesSchema (const)", "ChartType (type)", "ChartTypeSchema (const)", "ColorPalette (type)", "ColorPaletteSchema (const)", "ColumnPrefix (type)", + "ColumnPrefixParsed (type)", "ColumnPrefixSchema (const)", "ColumnSummary (type)", "ColumnSummaryConfig (type)", "ColumnSummaryConfigSchema (const)", "ColumnSummarySchema (const)", "ComponentNavItem (type)", + "ComponentNavItemParsed (type)", "ComponentNavItemSchema (const)", "ComponentProps (type)", "ComponentPropsInput (type)", @@ -89,14 +105,18 @@ "DashboardHeader (type)", "DashboardHeaderAction (type)", "DashboardHeaderActionSchema (const)", + "DashboardHeaderParsed (type)", "DashboardHeaderSchema (const)", "DashboardInput (type)", "DashboardNavItem (type)", + "DashboardNavItemParsed (type)", "DashboardNavItemSchema (const)", + "DashboardParsed (type)", "DashboardSchema (const)", "DashboardWidget (type)", "DashboardWidgetOptions (type)", "DashboardWidgetOptionsSchema (const)", + "DashboardWidgetParsed (type)", "DashboardWidgetSchema (const)", "Dataset (type)", "DatasetDimension (type)", @@ -125,6 +145,7 @@ "ExpandViewResult (interface)", "ExpandedViewItem (interface)", "FieldWidgetProps (type)", + "FieldWidgetPropsParsed (type)", "FieldWidgetPropsSchema (const)", "FormButtonConfig (type)", "FormButtonConfigSchema (const)", @@ -132,20 +153,25 @@ "FormFieldInput (type)", "FormFieldSchema (const)", "FormSection (type)", + "FormSectionParsed (type)", "FormSectionSchema (const)", "FormView (type)", + "FormViewParsed (type)", "FormViewSchema (const)", "GalleryConfig (type)", + "GalleryConfigParsed (type)", "GalleryConfigSchema (const)", "GanttConfigSchema (const)", "GanttQuickFilterSchema (const)", "GlobalFilter (type)", "GlobalFilterOptionsFrom (type)", "GlobalFilterOptionsFromSchema (const)", + "GlobalFilterParsed (type)", "GlobalFilterSchema (const)", "GroupNavItem (type)", "GroupNavItemSchema (const)", "GroupingConfig (type)", + "GroupingConfigParsed (type)", "GroupingConfigSchema (const)", "GroupingFieldSchema (const)", "HttpMethodSubset (type)", @@ -158,27 +184,36 @@ "I18nObjectSchema (const)", "InlineAction (type)", "InlineActionInput (type)", + "InlineActionParsed (type)", "InlineActionSchema (const)", "InterfacePageConfig (type)", + "InterfacePageConfigParsed (type)", "InterfacePageConfigSchema (const)", "JoinedReportBlock (type)", "JoinedReportBlockInput (type)", "JoinedReportBlockSchema (const)", "KanbanConfigSchema (const)", "ListChartConfig (type)", + "ListChartConfigParsed (type)", "ListChartConfigSchema (const)", "ListColumn (type)", + "ListColumnParsed (type)", "ListColumnSchema (const)", "ListView (type)", + "ListViewParsed (type)", "ListViewSchema (const)", "LocaleConfig (type)", + "LocaleConfigParsed (type)", "LocaleConfigSchema (const)", "NavigationArea (type)", + "NavigationAreaParsed (type)", "NavigationAreaSchema (const)", "NavigationConfig (type)", + "NavigationConfigParsed (type)", "NavigationConfigSchema (const)", "NavigationContribution (type)", "NavigationContributionInput (type)", + "NavigationContributionParsed (type)", "NavigationContributionSchema (const)", "NavigationItem (type)", "NavigationItemInput (type)", @@ -191,9 +226,11 @@ "NotificationType (type)", "NotificationTypeSchema (const)", "NumberFormat (type)", + "NumberFormatParsed (type)", "NumberFormatSchema (const)", "ObjectListViewSchema (const)", "ObjectNavItem (type)", + "ObjectNavItemParsed (type)", "ObjectNavItemSchema (const)", "ObjectUserFiltersSchema (const)", "PAGE_TYPE_ROADMAP (const)", @@ -201,21 +238,27 @@ "PageAccordionProps (const)", "PageCardProps (const)", "PageComponent (type)", + "PageComponentParsed (type)", "PageComponentSchema (const)", "PageComponentType (const)", "PageHeaderProps (const)", "PageInput (type)", "PageNavItem (type)", + "PageNavItemParsed (type)", "PageNavItemSchema (const)", + "PageParsed (type)", "PageRegion (type)", + "PageRegionParsed (type)", "PageRegionSchema (const)", "PageSchema (const)", "PageTabsProps (const)", "PageType (type)", "PageTypeSchema (const)", "PageVariable (type)", + "PageVariableParsed (type)", "PageVariableSchema (const)", "PaginationConfig (type)", + "PaginationConfigParsed (type)", "PaginationConfigSchema (const)", "PluralRule (type)", "PluralRuleSchema (const)", @@ -237,13 +280,17 @@ "Report (type)", "ReportChart (type)", "ReportChartInput (type)", + "ReportChartParsed (type)", "ReportChartSchema (const)", "ReportInput (type)", "ReportNavItem (type)", + "ReportNavItemParsed (type)", "ReportNavItemSchema (const)", + "ReportParsed (type)", "ReportSchema (const)", "ReportSort (type)", "ReportSortInput (type)", + "ReportSortParsed (type)", "ReportSortSchema (const)", "ReportType (const)", "ResolvedActionParam (interface)", @@ -256,10 +303,12 @@ "RowHeight (type)", "RowHeightSchema (const)", "SelectionConfig (type)", + "SelectionConfigParsed (type)", "SelectionConfigSchema (const)", "Shadow (type)", "ShadowSchema (const)", "SharingConfig (type)", + "SharingConfigParsed (type)", "SharingConfigSchema (const)", "StyleMap (type)", "StyleMapSchema (const)", @@ -267,28 +316,35 @@ "ThemeInput (type)", "ThemeMode (type)", "ThemeModeSchema (const)", + "ThemeParsed (type)", "ThemeSchema (const)", "TimelineConfig (type)", + "TimelineConfigParsed (type)", "TimelineConfigSchema (const)", "TreeConfigSchema (const)", "Typography (type)", "TypographySchema (const)", "UrlNavItem (type)", + "UrlNavItemParsed (type)", "UrlNavItemSchema (const)", "UserActionsConfig (type)", + "UserActionsConfigParsed (type)", "UserActionsConfigSchema (const)", "UserFilterField (type)", "UserFilterFieldSchema (const)", "UserFilters (type)", + "UserFiltersParsed (type)", "UserFiltersSchema (const)", "VIEW_CONSOLE_ROW_DECORATIONS (const)", "VIEW_FILTER_OPERATORS (const)", "VIEW_FILTER_OPERATOR_ALIASES (const)", "View (type)", "ViewData (type)", + "ViewDataParsed (type)", "ViewDataSchema (const)", "ViewFilterOperator (type)", "ViewFilterRule (type)", + "ViewFilterRuleParsed (type)", "ViewFilterRuleSchema (const)", "ViewItem (type)", "ViewItemNameSchema (const)", @@ -299,13 +355,17 @@ "ViewKind (type)", "ViewKindSchema (const)", "ViewMetadata (type)", + "ViewMetadataParsed (type)", "ViewMetadataSchema (const)", + "ViewParsed (type)", "ViewSchema (const)", "ViewScope (type)", "ViewScopeSchema (const)", "ViewSharing (type)", + "ViewSharingParsed (type)", "ViewSharingSchema (const)", "ViewTab (type)", + "ViewTabParsed (type)", "ViewTabSchema (const)", "VisualizationType (type)", "VisualizationTypeSchema (const)", @@ -314,14 +374,18 @@ "WidgetColorVariant (type)", "WidgetColorVariantSchema (const)", "WidgetEvent (type)", + "WidgetEventParsed (type)", "WidgetEventSchema (const)", "WidgetLifecycle (type)", "WidgetLifecycleSchema (const)", "WidgetManifest (type)", + "WidgetManifestParsed (type)", "WidgetManifestSchema (const)", "WidgetProperty (type)", + "WidgetPropertyParsed (type)", "WidgetPropertySchema (const)", "WidgetSource (type)", + "WidgetSourceParsed (type)", "WidgetSourceSchema (const)", "actionForm (const)", "appForm (const)", diff --git a/packages/spec/src/type-alias-convention.pin.test.ts b/packages/spec/src/type-alias-convention.pin.test.ts index a47afb0d4e..2db5ec4050 100644 --- a/packages/spec/src/type-alias-convention.pin.test.ts +++ b/packages/spec/src/type-alias-convention.pin.test.ts @@ -185,6 +185,7 @@ import type * as M110 from './shared/enums.zod.js'; import type * as M111 from './shared/expression.zod.js'; import type * as M112 from './shared/http.zod.js'; import type * as M113 from './shared/identifiers.zod.js'; +import type * as M169 from './shared/mapping.zod.js'; import type * as M114 from './shared/metadata-types.zod.js'; import type * as M115 from './shared/protection.zod.js'; import type * as M116 from './stack.zod.js'; @@ -973,6 +974,11 @@ export type Iso497 = Assert, z export type Iso498 = Assert, z.infer< typeof M113.SnakeCaseIdentifierSchema > >>; export type Iso499 = Assert, z.infer< typeof M113.EventNameSchema > >>; +// shared/mapping.zod.ts +// Graduated INTO the isomorphic set at protocol 17: #5552 retired `transform` and the +// whole `FieldMappingTransform` union, which is what used to give this schema two shapes. +export type Iso717 = Assert, z.infer< typeof M169.FieldMappingSchema > >>; + // shared/metadata-types.zod.ts export type Iso500 = Assert, z.infer< typeof M114.MetadataFormatSchema > >>; export type Iso501 = Assert, z.infer< typeof M114.BaseMetadataRecordSchema > >>; @@ -1355,7 +1361,7 @@ export type AFamilyParsedIsParseState = Assert< // --------------------------------------------------------------------------- describe('ADR-0122 type-alias convention', () => { - it('still declares all 717 isomorphic pins', () => { + it('still declares all 718 isomorphic pins', () => { // The truth of each pin is proved by tsc, not here — an `Assert>` // that stops holding is a compile error with the alias named. What tsc // cannot notice is a pin that was DELETED: removing the assertion removes @@ -1368,7 +1374,7 @@ describe('ADR-0122 type-alias convention', () => { // corresponding alias is the edit this case exists to stop. const self = readFileSync(fileURLToPath(import.meta.url), 'utf8'); const pins = self.match(/^export type Iso\d+ = Assert {