You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(spec): defineX factories + XInput aliases for the 16 remaining writable domains (#2035)
Adds one type-safe authoring entry per writable domain — defineDatasource,
defineConnector, definePolicy, defineSharingRule, defineRole, definePermissionSet,
defineEmailTemplateDefinition, defineReport, defineWebhook, defineObjectExtension,
defineCube, defineMapping, defineTheme, defineTranslationBundle, definePage,
defineAction — mirroring the 19 existing factories (XSchema.parse(z.input)).
Each factory is a *value* export: a broken import hard-errors instead of silently
degrading to `any` (the #2023 failure mode), and authoring errors surface at
.parse() time with field-level messages. Also backfills the six missing input
aliases: PolicyInput, CubeInput, MappingInput, ThemeInput, TranslationBundleInput,
PageInput. Purely additive — no existing exports change.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments