diff --git a/.changeset/10928-content-channel-parser-tier-clause.md b/.changeset/10928-content-channel-parser-tier-clause.md new file mode 100644 index 0000000000..fda89c0964 --- /dev/null +++ b/.changeset/10928-content-channel-parser-tier-clause.md @@ -0,0 +1,11 @@ +--- +'@object-ui/types': patch +--- + +Correct a false clause in the content-channel refusal messages (objectui#10928). + +The family-D / E3 refusals on the nodes whose renderer reads neither content channel (objectui#9256) explain why `body` and `children` are refused by name: an authored value rendered nothing. They went on to say it drew "no error, no warning, no element". The render path is as described, but the parser tier is not: `validateTree` warns `not-a-container` for a child list under a registration that declares no `children` input (objectui#9910), and it answers a `body` child list with the same code. So each of these refusals now says "no render-time error or warning and no element; only the parser tier's `not-a-container` warning (objectui#9910) noticed it". + +The change reaches the zod mirror's refusal messages and their `.describe()` text (on both members, whether the string is a literal or is built by `neitherContentChannelGuidance`), and the matching `body?: never` / `children?: never` docblocks in the emitted `.d.ts`. Every other word of each message is unchanged. + +Message and documentation text only: every document is accepted or refused exactly as before, with the same issue code at the same path. diff --git a/packages/types/src/__tests__/content-channel-parser-tier-clause-10928.test.ts b/packages/types/src/__tests__/content-channel-parser-tier-clause-10928.test.ts new file mode 100644 index 0000000000..a779054467 --- /dev/null +++ b/packages/types/src/__tests__/content-channel-parser-tier-clause-10928.test.ts @@ -0,0 +1,137 @@ +/** + * ObjectUI + * Copyright (c) 2024-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * objectui#10928 — what a content channel on a reads-NEITHER node drew, stated + * for BOTH tiers. + * + * The family-D / E3 refusals (objectui#9256) explain why `body` and `children` + * are refused by name on a node whose renderer reads neither: an authored value + * rendered NOTHING. They used to go on "no error, no warning, no element". The + * render half of that is true — `SchemaRenderer` strips both keys out of the + * props bag it spreads and no renderer reads them. The warning half was false: + * the parser tier's `validateTree` (`@object-ui/sdui-parser`) warns + * `not-a-container` for a child list under a registration that declares no + * `children` input (objectui#9910), and it answers a `body` child list with the + * same code (`checkRetiredBodyDialect`, objectui#6771). A reads-neither + * registration declares no `children` input. So the clause now reads, on both + * members, in the builders and in the literals alike: + * + * "no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it" + * + * ## Why this file pins the prose, and where the parser half is pinned + * + * `@object-ui/types` declares no workspace dependency, and its tests import + * none: `@object-ui/sdui-parser` is not importable here without declaring it, + * which a prose pin does not justify. The behaviour the clause describes is + * held where the parser and the registry live, and those pins are named here + * so a change to either side has a place to look: + * + * - `containment-declared-slot-9910.test.ts` ("neither declared draws the + * warning") and `body-dialect-6771.test.ts` ("a `body` child list under a + * NON-container draws `not-a-container`") in `packages/sdui-parser`; + * - `container-declaration-ratchet.test.tsx` in `packages/components`, which + * holds declared-slot ⇔ rendered-list over the live registry in both + * directions, so a registration that renders no child list cannot declare + * the `children` input without going red there. + * + * The live-registry reading taken for this change (every registry key of + * every reads-neither node, with a `div` control) is on objectui#10928's pull + * request — a record of one run, not re-derived here. + * + * ## What is pinned, and what is deliberately not + * + * The clause as a substring, on the shared builder and on one arm from each of + * the three sources that compose these messages (a literal, the shared + * `neitherContentChannelGuidance`, and `ai.zod.ts`'s local builder), each read + * through the arm's refusal with its code and path. Then the population: every + * exported member whose refusal is the family-D sentence carries it, so a later + * slice that copies an older literal goes red here. The rest of each message is + * NOT pinned; the family's own pins read it. + */ + +import { describe, it, expect } from 'vitest'; +import { z } from 'zod'; +import * as Z from '../zod/index.zod'; +import { neitherContentChannelGuidance } from '../zod/tombstone.zod'; +import { AccordionSchema } from '../zod/disclosure.zod'; +import { ObjectGridSchema } from '../zod/objectql.zod'; +import { AIFormAssistSchema } from '../zod/ai.zod'; + +/** The corrected clause, as every family-D / E3 refusal now carries it. */ +const CLAUSE = + "no render-time error or warning and no element; only the parser tier's `not-a-container` warning (objectui#9910) noticed it"; + +/** The clause it replaced — false about the parser tier. */ +const RETIRED_CLAUSE = 'no error, no warning, no element'; + +/** The family-D sentence that marks a member as one of these refusals. */ +const FAMILY_D = 'reads NEITHER content channel:'; + +const CONTENT = [{ type: 'text', content: 'x' }]; +const CHANNELS = ['body', 'children'] as const; + +/** The issue a schema raises at exactly this key, if any. */ +const issueAt = (schema: z.ZodType, doc: Record, key: string) => { + const r = schema.safeParse(doc); + return r.success ? undefined : r.error.issues.find((i) => i.path.length === 1 && i.path[0] === key); +}; + +describe('objectui#10928 — the shared builder states both tiers', () => { + const text = neitherContentChannelGuidance('probe-node', 'probe route', '`probe`'); + + it('carries the corrected clause exactly where the retired one stood', () => { + expect(text).toContain(`rendered NOTHING — ${CLAUSE}. What it renders instead: \`probe\`.`); + }); + + it('no longer says the author got "no warning"', () => { + expect(text).not.toContain(RETIRED_CLAUSE); + }); +}); + +describe('objectui#10928 — one arm per message source, read through its refusal', () => { + const ARMS = [ + ['a literal (`accordion`)', AccordionSchema, 'accordion'], + ['the shared builder (`object-grid`)', ObjectGridSchema, 'object-grid'], + ['ai.zod.ts\'s local builder (`ai-form-assist`)', AIFormAssistSchema, 'ai-form-assist'], + ] as const; + + for (const [source, schema, type] of ARMS) { + it.each(CHANNELS)(`${source} — \`%s\` is refused by name, and the refusal names the parser tier's warning`, (key) => { + const issue = issueAt(schema as unknown as z.ZodType, { type, [key]: CONTENT }, key); + expect(issue?.code).toBe('invalid_type'); + expect(issue?.message).toContain(FAMILY_D); + expect(issue?.message).toContain(CLAUSE); + expect(issue?.message).not.toContain(RETIRED_CLAUSE); + }); + } +}); + +describe('objectui#10928 — the population: every family-D refusal carries the corrected clause', () => { + const members: { name: string; key: string; text: string }[] = []; + for (const [name, value] of Object.entries(Z)) { + if (!(value instanceof z.ZodObject)) continue; + for (const key of CHANNELS) { + const text = (value.shape as Record)[key]?.description; + if (text?.includes(FAMILY_D)) members.push({ name, key, text }); + } + } + + it('the walk reaches all three message sources (non-vacuity, by name rather than by count)', () => { + const found = new Set(members.map((m) => `${m.name}.${m.key}`)); + for (const name of ['AccordionSchema', 'ObjectGridSchema', 'AIFormAssistSchema']) { + for (const key of CHANNELS) expect(found, `${name}.${key}`).toContain(`${name}.${key}`); + } + }); + + it('none of them still says "no error, no warning, no element", and each names `not-a-container`', () => { + const stale = members.filter((m) => m.text.includes(RETIRED_CLAUSE) || !m.text.includes(CLAUSE)); + expect(stale.map((m) => `${m.name}.${m.key}`)).toEqual([]); + }); +}); diff --git a/packages/types/src/ai.ts b/packages/types/src/ai.ts index 91b2f013a5..498de7859a 100644 --- a/packages/types/src/ai.ts +++ b/packages/types/src/ai.ts @@ -255,7 +255,8 @@ export interface AIFormAssistSchema extends BaseSchema { * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -281,7 +282,8 @@ export interface AIFormAssistSchema extends BaseSchema { * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -468,7 +470,8 @@ export interface AIRecommendationsSchema extends BaseSchema { * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -494,7 +497,8 @@ export interface AIRecommendationsSchema extends BaseSchema { * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -652,7 +656,8 @@ export interface NLQuerySchema extends BaseSchema { * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -678,7 +683,8 @@ export interface NLQuerySchema extends BaseSchema { * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by diff --git a/packages/types/src/complex.ts b/packages/types/src/complex.ts index 3095612821..c1033fa60c 100644 --- a/packages/types/src/complex.ts +++ b/packages/types/src/complex.ts @@ -436,7 +436,8 @@ export interface CalendarViewSchema extends BaseSchema { * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -463,7 +464,8 @@ export interface CalendarViewSchema extends BaseSchema { * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -680,7 +682,8 @@ export interface FilterBuilderSchema extends BaseSchema { * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -706,7 +709,8 @@ export interface FilterBuilderSchema extends BaseSchema { * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -900,7 +904,8 @@ export interface CarouselSchema extends BaseSchema { * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -926,7 +931,8 @@ export interface CarouselSchema extends BaseSchema { * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -1652,7 +1658,8 @@ export interface ChatbotSchema extends BaseSchema { * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -1804,7 +1811,8 @@ export interface ChatbotEnhancedSchema * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -1921,7 +1929,8 @@ export interface ChatbotFloatingSchema * Before objectui#9256 tombstoned them here, `body` and `children` were both * inherited-and-optional from {@link BaseSchema} — so authoring either here * type-checked, parsed green through `.passthrough()`, and rendered NOTHING: - * no error, no warning, no element. objectui#6771 has since retired `body` on + * no render-time error or warning and no element; only the parser tier's + * `not-a-container` warning (objectui#9910) noticed it. objectui#6771 has since retired `body` on * `BaseSchema` itself; `BaseSchema` still declares `children`, so this node's * own tombstone is what refuses it here. `SchemaRenderer` strips both keys * out of the props bag it spreads, so neither reaches the component by @@ -2426,7 +2435,8 @@ export interface DashboardComponentSchema extends BaseSchema, Omit 'REFUSED (objectui#9256, ADR-0049) — `' + node + '` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + `What it renders instead: ${renders}.`; /** diff --git a/packages/types/src/zod/complex.zod.ts b/packages/types/src/zod/complex.zod.ts index 1e2a23be83..a37afa75be 100644 --- a/packages/types/src/zod/complex.zod.ts +++ b/packages/types/src/zod/complex.zod.ts @@ -260,7 +260,7 @@ export const CalendarViewSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `calendar-view` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `allDayField`, `colorField`, `data`, `endDateField`, `startDateField`, ' + '`titleField`.', ), @@ -268,7 +268,7 @@ export const CalendarViewSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `calendar-view` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `allDayField`, `colorField`, `data`, `endDateField`, `startDateField`, ' + '`titleField`.', ), @@ -704,14 +704,14 @@ export const FilterBuilderSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `filter-builder` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `fields`, `label`, `name`, `value`, `wrapperClass`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `filter-builder` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `fields`, `label`, `name`, `value`, `wrapperClass`.', ), }); @@ -747,14 +747,14 @@ export const CarouselSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `carousel` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `itemClassName`, `items`, `opts`, `orientation`, `showArrows`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `carousel` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `itemClassName`, `items`, `opts`, `orientation`, `showArrows`.', ), }); @@ -925,7 +925,7 @@ export const ChatbotSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `chatbot` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `api`, `assistantAvatarFallback`, `assistantAvatarUrl`, `autoResponse`, ' + '`autoResponseDelay`, `autoResponseText`, `conversationId`, `headers`, `maxHeight`, ' + '`messages`, `model`, `onError`, `onSend`, `placeholder`, `requestBody`, ' @@ -1016,7 +1016,7 @@ export const ChatbotEnhancedSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `chatbot-enhanced` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'The chat API body params go on `requestBody`, which the registration forwards to the chat runtime. ' + 'What it renders instead: `api`, `assistantAvatarFallback`, `assistantAvatarUrl`, `autoResponse`, ' + '`autoResponseDelay`, `autoResponseText`, `conversationId`, `enableFileUpload`, `enableMarkdown`, ' @@ -1028,7 +1028,7 @@ export const ChatbotEnhancedSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `chatbot-enhanced` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `api`, `assistantAvatarFallback`, `assistantAvatarUrl`, `autoResponse`, ' + '`autoResponseDelay`, `autoResponseText`, `conversationId`, `enableFileUpload`, `enableMarkdown`, ' + '`headers`, `maxHeight`, `messages`, `model`, `onClear`, `onError`, ' @@ -1081,7 +1081,7 @@ export const ChatbotFloatingSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `chatbot-floating` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'The chat API body params go on `requestBody`, which the registration forwards to the chat runtime. ' + 'What it renders instead: `api`, `assistantAvatarFallback`, `assistantAvatarUrl`, `autoResponse`, ' + '`autoResponseDelay`, `autoResponseText`, `conversationId`, `enableFileUpload`, `enableMarkdown`, ' @@ -1093,7 +1093,7 @@ export const ChatbotFloatingSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `chatbot-floating` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `api`, `assistantAvatarFallback`, `assistantAvatarUrl`, `autoResponse`, ' + '`autoResponseDelay`, `autoResponseText`, `conversationId`, `enableFileUpload`, `enableMarkdown`, ' + '`floatingConfig`, `headers`, `messages`, `model`, `onClear`, `onError`, ' @@ -1383,7 +1383,7 @@ export const DashboardComponentSchema = BaseSchema.extend(SpecDashboardFields.sh 'REFUSED (objectui#9256, ADR-0049) — `dashboard` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `columns`, `dateRange`, `description`, `gap`, `globalFilters`, ' + '`header`, `label`, `name`, `refreshIntervalSeconds`, `type`, `widgets`.', ), @@ -1391,7 +1391,7 @@ export const DashboardComponentSchema = BaseSchema.extend(SpecDashboardFields.sh 'REFUSED (objectui#9256, ADR-0049) — `dashboard` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `columns`, `dateRange`, `description`, `gap`, `globalFilters`, ' + '`header`, `label`, `name`, `refreshIntervalSeconds`, `type`, `widgets`.', ), diff --git a/packages/types/src/zod/data-display.zod.ts b/packages/types/src/zod/data-display.zod.ts index 57491ffe68..9b2e889b00 100644 --- a/packages/types/src/zod/data-display.zod.ts +++ b/packages/types/src/zod/data-display.zod.ts @@ -96,14 +96,14 @@ export const StatisticSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `statistic` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `description`, `icon`, `label`, `trend`, `value`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `statistic` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `description`, `icon`, `label`, `trend`, `value`.', ), }); @@ -143,14 +143,14 @@ export const AvatarSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `avatar` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `alt`, `fallback`, `src`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `avatar` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `alt`, `fallback`, `src`.', ), }); @@ -195,8 +195,8 @@ export const ListSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `list` reads NEITHER content channel: measured with the ' + 'TypeScript type checker over one program built from the repo-root tsconfig on a BUILT tree, no ' + 'renderer read consumes `body` or `children` for this node, and `SchemaRenderer` strips both out ' - + 'of the props bag it spreads. An authored value therefore rendered NOTHING — no error, no ' - + 'warning, no element. ' + + 'of the props bag it spreads. An authored value therefore rendered NOTHING — no render-time error or ' + + 'warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `bind`, `items`, `ordered`, `title`, `wrapperClass`. ' + 'The ITEM channel is a different key and stays live: each entry is drawn from its `content` ' + '(`renderChildren(item.content)`), a read filed under ListItem and not under this node. ' @@ -207,8 +207,8 @@ export const ListSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `list` reads NEITHER content channel: measured with the ' + 'TypeScript type checker over one program built from the repo-root tsconfig on a BUILT tree, no ' + 'renderer read consumes `body` or `children` for this node, and `SchemaRenderer` strips both out ' - + 'of the props bag it spreads. An authored value therefore rendered NOTHING — no error, no ' - + 'warning, no element. ' + + 'of the props bag it spreads. An authored value therefore rendered NOTHING — no render-time error or ' + + 'warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `bind`, `items`, `ordered`, `title`, `wrapperClass`. ' + 'The ITEM channel is a different key and stays live: each entry is drawn from its `content` ' + '(`renderChildren(item.content)`), a read filed under ListItem and not under this node. ' @@ -385,14 +385,14 @@ export const TableSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `table` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `caption`, `columns`, `data`, `footer`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `table` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `caption`, `columns`, `data`, `footer`.', ), }); @@ -488,7 +488,7 @@ export const DataTableSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `data-table` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `emptyAction`, `onAddRecord`, `onBatchSave`, `onCellChange`, ' + '`onColumnResize`, `onColumnsReorder`, `onRowActionDef`, `onRowClick`, `onRowDelete`, ' + '`onRowEdit`, `onRowSave`, `onSelectionChange`, `renderCellEditor`, `rowActionDefs`, ' @@ -498,7 +498,7 @@ export const DataTableSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `data-table` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `emptyAction`, `onAddRecord`, `onBatchSave`, `onCellChange`, ' + '`onColumnResize`, `onColumnsReorder`, `onRowActionDef`, `onRowClick`, `onRowDelete`, ' + '`onRowEdit`, `onRowSave`, `onSelectionChange`, `renderCellEditor`, `rowActionDefs`, ' @@ -632,14 +632,14 @@ export const TreeViewSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `tree-view` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `bind`, `nodes`, `onNodeClick`, `title`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `tree-view` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `bind`, `nodes`, `onNodeClick`, `title`.', ), }); @@ -1383,7 +1383,7 @@ export const TimelineSchema = BaseSchema.extend({ + 'two readers: measured with the TypeScript type checker over one program built from the repo-root ' + 'tsconfig on a BUILT tree, and `packages/plugin-timeline` contains no `body` / `children` read of ' + 'any kind, on any receiver. `SchemaRenderer` strips both out of the props bag it spreads, so an ' - + 'authored value rendered NOTHING — no error, no warning, no element. ' + + 'authored value rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `variant`, `items`, `dateFormat`, `scale`, `rowLabel`, `minDate`, `maxDate`. ' + '`view:timeline` is the measured owner of the bare `timeline` key (`plugin-timeline:timeline` passes ' + '`skipFallback: true`); re-derive with `pnpm check:registry-bare-names --table` (objectui#9264).', @@ -1393,7 +1393,7 @@ export const TimelineSchema = BaseSchema.extend({ + 'two readers: measured with the TypeScript type checker over one program built from the repo-root ' + 'tsconfig on a BUILT tree, and `packages/plugin-timeline` contains no `body` / `children` read of ' + 'any kind, on any receiver. `SchemaRenderer` strips both out of the props bag it spreads, so an ' - + 'authored value rendered NOTHING — no error, no warning, no element. ' + + 'authored value rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `variant`, `items`, `dateFormat`, `scale`, `rowLabel`, `minDate`, `maxDate`. ' + '`view:timeline` is the measured owner of the bare `timeline` key (`plugin-timeline:timeline` passes ' + '`skipFallback: true`); re-derive with `pnpm check:registry-bare-names --table` (objectui#9264).', @@ -1411,14 +1411,14 @@ export const KbdSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `kbd` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `keys`, `label`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `kbd` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `keys`, `label`.', ), }); @@ -1433,14 +1433,14 @@ export const HtmlSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `html` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `html`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `html` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `html`.', ), }); diff --git a/packages/types/src/zod/disclosure.zod.ts b/packages/types/src/zod/disclosure.zod.ts index e76155bd22..f7d88b6c50 100644 --- a/packages/types/src/zod/disclosure.zod.ts +++ b/packages/types/src/zod/disclosure.zod.ts @@ -47,7 +47,7 @@ export const AccordionSchema = BaseSchema.extend({ + 'TypeScript type checker over one program per workspace package plus the apps and examples, on a ' + 'BUILT tree, no renderer read consumes `body` or `children` for this node, and `SchemaRenderer` ' + 'strips both out of the props bag it spreads. An authored value therefore rendered NOTHING — no ' - + 'error, no warning, no element. ' + + 'render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `accordionType`, `collapsible`, `items`. ' + '`ui:accordion` is the measured SOLE owner of the bare `accordion` key (`page:accordion` passes `skipFallback: true`); ' + 're-derive with `pnpm check:registry-bare-names --table` (objectui#9264).', @@ -57,7 +57,7 @@ export const AccordionSchema = BaseSchema.extend({ + 'TypeScript type checker over one program per workspace package plus the apps and examples, on a ' + 'BUILT tree, no renderer read consumes `body` or `children` for this node, and `SchemaRenderer` ' + 'strips both out of the props bag it spreads. An authored value therefore rendered NOTHING — no ' - + 'error, no warning, no element. ' + + 'render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `accordionType`, `collapsible`, `items`. ' + '`ui:accordion` is the measured SOLE owner of the bare `accordion` key (`page:accordion` passes `skipFallback: true`); ' + 're-derive with `pnpm check:registry-bare-names --table` (objectui#9264).', @@ -86,14 +86,14 @@ export const CollapsibleSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `collapsible` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `content`, `defaultOpen`, `trigger`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `collapsible` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `content`, `defaultOpen`, `trigger`.', ), }); @@ -123,14 +123,14 @@ export const ToggleGroupSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `toggle-group` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `items`, `selectionType`, `size`, `value`, `variant`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `toggle-group` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `items`, `selectionType`, `size`, `value`, `variant`.', ), }); diff --git a/packages/types/src/zod/feedback.zod.ts b/packages/types/src/zod/feedback.zod.ts index 65609261bc..a8b64ae05b 100644 --- a/packages/types/src/zod/feedback.zod.ts +++ b/packages/types/src/zod/feedback.zod.ts @@ -33,14 +33,14 @@ export const LoadingSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `loading` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `fullscreen`, `size`, `text`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `loading` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `fullscreen`, `size`, `text`.', ), }); @@ -60,14 +60,14 @@ export const ProgressSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `progress` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `value`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `progress` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `value`.', ), }); @@ -86,14 +86,14 @@ export const SkeletonSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `skeleton` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `height`, `width`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `skeleton` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `height`, `width`.', ), }); @@ -156,7 +156,7 @@ export const ToastSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `toast` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `buttonLabel`, `buttonVariant`, `className`, `description`, `duration`, ' + '`title`, `variant`.', ), @@ -164,7 +164,7 @@ export const ToastSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `toast` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `buttonLabel`, `buttonVariant`, `className`, `description`, `duration`, ' + '`title`, `variant`.', ), @@ -188,14 +188,14 @@ export const ToasterSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `toaster` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `limit`, `position`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `toaster` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `limit`, `position`.', ), }); @@ -210,14 +210,14 @@ export const SpinnerSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `spinner` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `size`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `spinner` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `size`.', ), }); @@ -245,14 +245,14 @@ export const EmptySchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `empty` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `action`, `className`, `description`, `title`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `empty` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `action`, `className`, `description`, `title`.', ), }); @@ -284,7 +284,7 @@ export const SonnerSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `sonner` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `buttonLabel`, `buttonVariant`, `className`, `description`, `message`, ' + '`title`, `variant`.', ), @@ -292,7 +292,7 @@ export const SonnerSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `sonner` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `buttonLabel`, `buttonVariant`, `className`, `description`, `message`, ' + '`title`, `variant`.', ), diff --git a/packages/types/src/zod/form.zod.ts b/packages/types/src/zod/form.zod.ts index f90762b8ca..eba1c495f6 100644 --- a/packages/types/src/zod/form.zod.ts +++ b/packages/types/src/zod/form.zod.ts @@ -293,7 +293,7 @@ export const TextareaSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `textarea` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `defaultValue`, `id`, `label`, `name`, `placeholder`, `readOnly`, ' + '`required`, `rows`, `value`, `wrapperClass`.', ), @@ -301,7 +301,7 @@ export const TextareaSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `textarea` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `defaultValue`, `id`, `label`, `name`, `placeholder`, `readOnly`, ' + '`required`, `rows`, `value`, `wrapperClass`.', ), @@ -328,7 +328,7 @@ export const SelectSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `select` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `defaultValue`, `label`, `name`, `options`, `placeholder`, `required`, ' + '`value`, `wrapperClass`.', ), @@ -336,7 +336,7 @@ export const SelectSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `select` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `defaultValue`, `label`, `name`, `options`, `placeholder`, `required`, ' + '`value`, `wrapperClass`.', ), @@ -362,7 +362,7 @@ export const CheckboxSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `checkbox` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `checked`, `defaultChecked`, `id`, `label`, `name`, `required`, ' + '`wrapperClass`.', ), @@ -370,7 +370,7 @@ export const CheckboxSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `checkbox` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `checked`, `defaultChecked`, `id`, `label`, `name`, `required`, ' + '`wrapperClass`.', ), @@ -394,14 +394,14 @@ export const RadioGroupSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `radio-group` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `defaultValue`, `id`, `options`, `orientation`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `radio-group` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `defaultValue`, `id`, `options`, `orientation`.', ), }); @@ -423,14 +423,14 @@ export const SwitchSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `switch` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `id`, `label`, `wrapperClass`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `switch` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `id`, `label`, `wrapperClass`.', ), }); @@ -481,14 +481,14 @@ export const SliderSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `slider` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `defaultValue`, `max`, `min`, `step`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `slider` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `defaultValue`, `max`, `min`, `step`.', ), }); @@ -515,14 +515,14 @@ export const FileUploadSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `file-upload` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `accept`, `buttonText`, `id`, `label`, `multiple`, `wrapperClass`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `file-upload` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `accept`, `buttonText`, `id`, `label`, `multiple`, `wrapperClass`.', ), }); @@ -549,14 +549,14 @@ export const DatePickerSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `date-picker` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `format`, `id`, `label`, `placeholder`, `wrapperClass`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `date-picker` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `format`, `id`, `label`, `placeholder`, `wrapperClass`.', ), }); @@ -639,7 +639,7 @@ const CalendarObjectSchema = BaseSchema.extend({ + 'TypeScript type checker over one program per workspace package plus the apps and examples, on a ' + 'BUILT tree, no renderer read consumes `body` or `children` for this node, and `SchemaRenderer` ' + 'strips both out of the props bag it spreads. An authored value therefore rendered NOTHING — no ' - + 'error, no warning, no element. ' + + 'render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `defaultValue`, `mode`, `value`. ' + 'Both readers answer NEITHER: the bare key resolves to plugin-calendar’s calendar VIEW, and this ' + 'key set describes the `ui:calendar` date-picker primitive. This refusal propagates onto ' @@ -653,7 +653,7 @@ const CalendarObjectSchema = BaseSchema.extend({ + 'TypeScript type checker over one program per workspace package plus the apps and examples, on a ' + 'BUILT tree, no renderer read consumes `body` or `children` for this node, and `SchemaRenderer` ' + 'strips both out of the props bag it spreads. An authored value therefore rendered NOTHING — no ' - + 'error, no warning, no element. ' + + 'render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `defaultValue`, `mode`, `value`. ' + 'Both readers answer NEITHER: the bare key resolves to plugin-calendar’s calendar VIEW, and this ' + 'key set describes the `ui:calendar` date-picker primitive. This refusal propagates onto ' @@ -687,14 +687,14 @@ export const InputOTPSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `input-otp` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `maxLength`, `value`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `input-otp` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `maxLength`, `value`.', ), }); @@ -731,14 +731,14 @@ export const ComboboxSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `combobox` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `description`, `options`, `placeholder`, `value`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `combobox` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `description`, `options`, `placeholder`, `value`.', ), }); @@ -755,14 +755,14 @@ export const LabelSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `label` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `content`, `label`, `text`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `label` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `content`, `label`, `text`.', ), }); @@ -780,14 +780,14 @@ export const CommandSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `command` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `emptyText`, `groups`, `placeholder`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `command` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `emptyText`, `groups`, `placeholder`.', ), }); diff --git a/packages/types/src/zod/layout.zod.ts b/packages/types/src/zod/layout.zod.ts index 47763b5f27..384879530d 100644 --- a/packages/types/src/zod/layout.zod.ts +++ b/packages/types/src/zod/layout.zod.ts @@ -133,7 +133,7 @@ export const TextSchema = BaseSchema.extend({ + 'TypeScript type checker over one program per workspace package plus the apps and examples, on a ' + 'BUILT tree, no renderer read consumes `body` or `children` for this node, and `SchemaRenderer` ' + 'strips both out of the props bag it spreads. An authored value therefore rendered NOTHING — no ' - + 'error, no warning, no element. ' + + 'render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `align`, `className`, `content`, `variant`. ' + '`ui:text` is the measured SOLE owner of the bare `text` key (`element:text` and `field:text` pass `skipFallback: true`); ' + 're-derive with `pnpm check:registry-bare-names --table` (objectui#9264).', @@ -143,7 +143,7 @@ export const TextSchema = BaseSchema.extend({ + 'TypeScript type checker over one program per workspace package plus the apps and examples, on a ' + 'BUILT tree, no renderer read consumes `body` or `children` for this node, and `SchemaRenderer` ' + 'strips both out of the props bag it spreads. An authored value therefore rendered NOTHING — no ' - + 'error, no warning, no element. ' + + 'render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `align`, `className`, `content`, `variant`. ' + '`ui:text` is the measured SOLE owner of the bare `text` key (`element:text` and `field:text` pass `skipFallback: true`); ' + 're-derive with `pnpm check:registry-bare-names --table` (objectui#9264).', @@ -165,7 +165,7 @@ export const ImageSchema = BaseSchema.extend({ + 'TypeScript type checker over one program per workspace package plus the apps and examples, on a ' + 'BUILT tree, no renderer read consumes `body` or `children` for this node, and `SchemaRenderer` ' + 'strips both out of the props bag it spreads. An authored value therefore rendered NOTHING — no ' - + 'error, no warning, no element. ' + + 'render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `alt`, `src`. ' + '`ui:image` is the measured SOLE owner of the bare `image` key (`element:image` and `field:image` pass `skipFallback: true`); ' + 're-derive with `pnpm check:registry-bare-names --table` (objectui#9264).', @@ -175,7 +175,7 @@ export const ImageSchema = BaseSchema.extend({ + 'TypeScript type checker over one program per workspace package plus the apps and examples, on a ' + 'BUILT tree, no renderer read consumes `body` or `children` for this node, and `SchemaRenderer` ' + 'strips both out of the props bag it spreads. An authored value therefore rendered NOTHING — no ' - + 'error, no warning, no element. ' + + 'render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `alt`, `src`. ' + '`ui:image` is the measured SOLE owner of the bare `image` key (`element:image` and `field:image` pass `skipFallback: true`); ' + 're-derive with `pnpm check:registry-bare-names --table` (objectui#9264).', @@ -252,7 +252,7 @@ export const IconSchema = BaseSchema.extend({ + 'TypeScript type checker over one program per workspace package plus the apps and examples, on a ' + 'BUILT tree, no renderer read consumes `body` or `children` for this node, and `SchemaRenderer` ' + 'strips both out of the props bag it spreads. An authored value therefore rendered NOTHING — no ' - + 'error, no warning, no element. ' + + 'render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `color`, `icon`, `name`, `size`. ' + '`ui:icon` is the measured SOLE owner of the bare `icon` key (`action:icon` passes `skipFallback: true`); ' + 're-derive with `pnpm check:registry-bare-names --table` (objectui#9264).', @@ -262,7 +262,7 @@ export const IconSchema = BaseSchema.extend({ + 'TypeScript type checker over one program per workspace package plus the apps and examples, on a ' + 'BUILT tree, no renderer read consumes `body` or `children` for this node, and `SchemaRenderer` ' + 'strips both out of the props bag it spreads. An authored value therefore rendered NOTHING — no ' - + 'error, no warning, no element. ' + + 'render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `color`, `icon`, `name`, `size`. ' + '`ui:icon` is the measured SOLE owner of the bare `icon` key (`action:icon` passes `skipFallback: true`); ' + 're-derive with `pnpm check:registry-bare-names --table` (objectui#9264).', @@ -280,14 +280,14 @@ export const SeparatorSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `separator` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `orientation`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `separator` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `orientation`.', ), }); @@ -464,7 +464,7 @@ export const TabsSchema = BaseSchema.extend({ + 'TypeScript type checker over one program per workspace package plus the apps and examples, on a ' + 'BUILT tree, no renderer read consumes `body` or `children` for this node, and `SchemaRenderer` ' + 'strips both out of the props bag it spreads. An authored value therefore rendered NOTHING — no ' - + 'error, no warning, no element. ' + + 'render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `defaultValue`, `items`, `orientation`, `value`. ' + '`ui:tabs` is the measured SOLE owner of the bare `tabs` key (`page:tabs` passes `skipFallback: true`); ' + 're-derive with `pnpm check:registry-bare-names --table` (objectui#9264).', @@ -474,7 +474,7 @@ export const TabsSchema = BaseSchema.extend({ + 'TypeScript type checker over one program per workspace package plus the apps and examples, on a ' + 'BUILT tree, no renderer read consumes `body` or `children` for this node, and `SchemaRenderer` ' + 'strips both out of the props bag it spreads. An authored value therefore rendered NOTHING — no ' - + 'error, no warning, no element. ' + + 'render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `defaultValue`, `items`, `orientation`, `value`. ' + '`ui:tabs` is the measured SOLE owner of the bare `tabs` key (`page:tabs` passes `skipFallback: true`); ' + 're-derive with `pnpm check:registry-bare-names --table` (objectui#9264).', @@ -524,14 +524,14 @@ export const ResizableSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `resizable` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `direction`, `minHeight`, `panels`, `withHandle`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `resizable` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `direction`, `minHeight`, `panels`, `withHandle`.', ), }); diff --git a/packages/types/src/zod/navigation.zod.ts b/packages/types/src/zod/navigation.zod.ts index 724271770e..2a50556c9b 100644 --- a/packages/types/src/zod/navigation.zod.ts +++ b/packages/types/src/zod/navigation.zod.ts @@ -138,14 +138,14 @@ export const HeaderBarSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `header-bar` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `actions`, `crumbs`, `rightContent`, `search`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `header-bar` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `actions`, `crumbs`, `rightContent`, `search`.', ), }); @@ -181,14 +181,14 @@ export const BreadcrumbSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `breadcrumb` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `items`, `maxItems`, `separator`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `breadcrumb` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `items`, `maxItems`, `separator`.', ), }); @@ -208,14 +208,14 @@ export const PaginationSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `pagination` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `currentPage`, `page`, `totalPages`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `pagination` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `currentPage`, `page`, `totalPages`.', ), }); @@ -251,14 +251,14 @@ export const NavigationMenuSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `navigation-menu` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `items`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `navigation-menu` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `items`.', ), }); @@ -287,14 +287,14 @@ export const ButtonGroupSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `button-group` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `buttons`, `className`, `size`, `variant`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `button-group` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `buttons`, `className`, `size`, `variant`.', ), }); diff --git a/packages/types/src/zod/objectql.zod.ts b/packages/types/src/zod/objectql.zod.ts index ad114aea6c..b38ed38abc 100644 --- a/packages/types/src/zod/objectql.zod.ts +++ b/packages/types/src/zod/objectql.zod.ts @@ -2966,7 +2966,7 @@ export const ObjectGallerySchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `object-gallery` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `bind`, `className`, `data`, `filter`, `gallery`, `grouping`, ' + '`imageField`, `navigation`, `objectName`, `titleField`.', ), @@ -2974,7 +2974,7 @@ export const ObjectGallerySchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `object-gallery` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `bind`, `className`, `data`, `filter`, `gallery`, `grouping`, ' + '`imageField`, `navigation`, `objectName`, `titleField`.', ), @@ -3060,7 +3060,7 @@ export const ObjectDataTableSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `object-data-table` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `bind`, `columns`, `data`, `drillDown`, `filter`, `objectName`, ' + '`onRowClick`.', ), @@ -3068,7 +3068,7 @@ export const ObjectDataTableSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `object-data-table` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `bind`, `columns`, `data`, `drillDown`, `filter`, `objectName`, ' + '`onRowClick`.', ), diff --git a/packages/types/src/zod/overlay.zod.ts b/packages/types/src/zod/overlay.zod.ts index 1035688fac..64a1d4b2d7 100644 --- a/packages/types/src/zod/overlay.zod.ts +++ b/packages/types/src/zod/overlay.zod.ts @@ -39,7 +39,7 @@ export const DialogSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `dialog` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `content`, `defaultOpen`, `description`, `footer`, `modal`, `title`, ' + '`trigger`.', ), @@ -47,7 +47,7 @@ export const DialogSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `dialog` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `content`, `defaultOpen`, `description`, `footer`, `modal`, `title`, ' + '`trigger`.', ), @@ -199,7 +199,7 @@ export const AlertDialogSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `alert-dialog` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `actionText`, `actionVariant`, `cancelText`, `content`, `defaultOpen`, ' + '`description`, `onAction`, `title`, `trigger`.', ), @@ -207,7 +207,7 @@ export const AlertDialogSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `alert-dialog` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `actionText`, `actionVariant`, `cancelText`, `content`, `defaultOpen`, ' + '`description`, `onAction`, `title`, `trigger`.', ), @@ -231,7 +231,7 @@ export const SheetSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `sheet` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `content`, `defaultOpen`, `description`, `footer`, `modal`, `side`, ' + '`title`, `trigger`.', ), @@ -239,7 +239,7 @@ export const SheetSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `sheet` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `content`, `defaultOpen`, `description`, `footer`, `modal`, `side`, ' + '`title`, `trigger`.', ), @@ -262,7 +262,7 @@ export const DrawerSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `drawer` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `content`, `defaultOpen`, `description`, `footer`, ' + '`shouldScaleBackground`, `showClose`, `title`, `trigger`.', ), @@ -270,7 +270,7 @@ export const DrawerSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `drawer` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `content`, `defaultOpen`, `description`, `footer`, ' + '`shouldScaleBackground`, `showClose`, `title`, `trigger`.', ), @@ -292,14 +292,14 @@ export const PopoverSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `popover` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `align`, `content`, `defaultOpen`, `modal`, `side`, `trigger`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `popover` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `align`, `content`, `defaultOpen`, `modal`, `side`, `trigger`.', ), }); @@ -402,14 +402,14 @@ export const HoverCardSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `hover-card` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `align`, `closeDelay`, `content`, `openDelay`, `side`, `trigger`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `hover-card` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `align`, `closeDelay`, `content`, `openDelay`, `side`, `trigger`.', ), }); @@ -476,14 +476,14 @@ export const DropdownMenuSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `dropdown-menu` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `align`, `defaultOpen`, `items`, `label`, `modal`, `side`, `trigger`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `dropdown-menu` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `align`, `defaultOpen`, `items`, `label`, `modal`, `side`, `trigger`.', ), }); @@ -517,7 +517,7 @@ export const ContextMenuSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `context-menu` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `contentClassName`, `items`, `modal`, `trigger`, ' + '`triggerClassName`.', ), @@ -525,7 +525,7 @@ export const ContextMenuSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `context-menu` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `contentClassName`, `items`, `modal`, `trigger`, ' + '`triggerClassName`.', ), @@ -549,14 +549,14 @@ export const MenubarSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `menubar` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `menus`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `menubar` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `className`, `menus`.', ), }); diff --git a/packages/types/src/zod/reports.zod.ts b/packages/types/src/zod/reports.zod.ts index 920d0d10ae..e83ab17765 100644 --- a/packages/types/src/zod/reports.zod.ts +++ b/packages/types/src/zod/reports.zod.ts @@ -219,14 +219,14 @@ export const ReportViewerSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `report-viewer` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'It takes its configuration from the props bag `SchemaRenderer` spreads, not from `schema.*`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `report-viewer` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'It takes its configuration from the props bag `SchemaRenderer` spreads, not from `schema.*`.', ), }); diff --git a/packages/types/src/zod/tombstone.zod.ts b/packages/types/src/zod/tombstone.zod.ts index 8ff6af3b93..da56e22f57 100644 --- a/packages/types/src/zod/tombstone.zod.ts +++ b/packages/types/src/zod/tombstone.zod.ts @@ -276,6 +276,7 @@ export function neitherContentChannelGuidance(node: string, route: string, rende return 'REFUSED (objectui#9256, ADR-0049) — `' + node + '` reads NEITHER content channel: measured with the ' + 'TypeScript type checker over one program per workspace package on a BUILT tree, no renderer read ' + 'consumes `body` or `children` for this node — ' + route + ' — and `SchemaRenderer` strips both out ' - + 'of the props bag it spreads. An authored value therefore rendered NOTHING — no error, no warning, ' - + 'no element. What it renders instead: ' + renders + '.'; + + 'of the props bag it spreads. An authored value therefore rendered NOTHING — no render-time error ' + + 'or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) ' + + 'noticed it. What it renders instead: ' + renders + '.'; } diff --git a/packages/types/src/zod/views.zod.ts b/packages/types/src/zod/views.zod.ts index 4ce32a4737..6978c641ab 100644 --- a/packages/types/src/zod/views.zod.ts +++ b/packages/types/src/zod/views.zod.ts @@ -347,7 +347,7 @@ export const ViewSwitcherSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `view-switcher` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `activeView`, `allowCreateView`, `defaultView`, `id`, `onViewChange`, ' + '`persistPreference`, `position`, `storageKey`, `variant`, `viewActions`, `views`.', ), @@ -355,7 +355,7 @@ export const ViewSwitcherSchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `view-switcher` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `activeView`, `allowCreateView`, `defaultView`, `id`, `onViewChange`, ' + '`persistPreference`, `position`, `storageKey`, `variant`, `viewActions`, `views`.', ), @@ -390,14 +390,14 @@ export const FilterUISchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `filter-ui` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `filters`, `layout`, `onChange`, `showApply`, `showClear`, `values`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `filter-ui` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `filters`, `layout`, `onChange`, `showApply`, `showClear`, `values`.', ), }); @@ -423,14 +423,14 @@ export const SortUISchema = BaseSchema.extend({ 'REFUSED (objectui#9256, ADR-0049) — `sort-ui` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `fields`, `multiple`, `onChange`, `sort`, `variant`.', ), children: retirementTombstone( 'REFUSED (objectui#9256, ADR-0049) — `sort-ui` reads NEITHER content channel: measured with the ' + 'TypeScript type checker across all 24 registering packages, no renderer read consumes `body` or ' + '`children` for this node, and `SchemaRenderer` strips both out of the props bag it spreads. An ' - + 'authored value therefore rendered NOTHING — no error, no warning, no element. ' + + 'authored value therefore rendered NOTHING — no render-time error or warning and no element; only the parser tier\'s `not-a-container` warning (objectui#9910) noticed it. ' + 'What it renders instead: `fields`, `multiple`, `onChange`, `sort`, `variant`.', ), });