Skip to content

Commit ae6a942

Browse files
committed
Revert "refactor(types)!: drop seven Spec-prefixed spec/ui type aliases nothing reads"
This reverts commit fa03472. The seven aliases re-export a subpath of another workspace package, which the ADR-0087 registration gate cannot resolve, so their retirement waits on a ruling for that case. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibyZMb3aNnWtD2ukQXx
1 parent fa03472 commit ae6a942

2 files changed

Lines changed: 7 additions & 32 deletions

File tree

‎.changeset/25921-types-spec-ui-aliases.md‎

Lines changed: 0 additions & 26 deletions
This file was deleted.

‎ui/packages/types/src/index.ts‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,15 +1428,11 @@ export type {
14281428
// ============================================================================
14291429
// v3.0.8 Spec UI Types — Dashboard (P1.3)
14301430
// ============================================================================
1431-
// #25921 (batch 11): seven `Spec`-prefixed aliases in this section are RETIRED,
1432-
// nothing in this workspace or in hotcrm read them: `SpecDashboardHeader`,
1433-
// `SpecDashboardHeaderAction`, `SpecFormView`, `SpecListColumn`,
1434-
// `SpecPageComponent`, `SpecPageRegion` and `SpecPageVariable`. Import the
1435-
// unprefixed name (`DashboardHeader`, `FormView`, …) from `@objectstack/spec/ui`;
1436-
// the changeset carries the FROM/TO.
14371431
export type {
14381432
Dashboard as SpecDashboard,
14391433
DashboardWidget as SpecDashboardWidget,
1434+
DashboardHeader as SpecDashboardHeader,
1435+
DashboardHeaderAction as SpecDashboardHeaderAction,
14401436
GlobalFilter as SpecGlobalFilter,
14411437
GlobalFilterOptionsFrom,
14421438
// WidgetMeasure / WidgetMeasureSchema removed in @objectstack/spec 9.0
@@ -1478,6 +1474,7 @@ export type {
14781474
// #3090 tripwire exists to force). objectstack-ai/objectstack#4171 caveat: SpecFormField is `any` today.
14791475
/* eslint-disable no-restricted-imports -- reported at the specifier line, out of -next-line reach */
14801476
export type {
1477+
FormView as SpecFormView,
14811478
FormSection as SpecFormSection,
14821479
FormField as SpecFormField,
14831480
} from '@objectstack/spec/ui';
@@ -1488,6 +1485,7 @@ export type {
14881485
// ============================================================================
14891486
export type {
14901487
ListView as SpecListView,
1488+
ListColumn as SpecListColumn,
14911489
} from '@objectstack/spec/ui';
14921490

14931491
// ============================================================================
@@ -1507,7 +1505,10 @@ export type {
15071505
// ============================================================================
15081506
export type {
15091507
Page as SpecPage,
1508+
PageComponent as SpecPageComponent,
1509+
PageRegion as SpecPageRegion,
15101510
PageType as SpecPageType,
1511+
PageVariable as SpecPageVariable,
15111512
// BlankPageLayout{,Schema,Item,ItemSchema} dropped — `blank` page type has no
15121513
// renderer; removed from @objectstack/spec PageTypeSchema (framework#2265).
15131514
} from '@objectstack/spec/ui';

0 commit comments

Comments
 (0)