Skip to content

Commit ee8c411

Browse files
committed
chore(spec): regenerate api-surface-declarations/ui.txt on the merged tree
Baseline drift, not a code change. `origin/main`'s #19219 moved `ComponentPropsMap` and `ObjectTimelinePropsSchema` after this branch forked, and `api-surface-declarations/**` is a `merge=os-regen` path — so the merge produced a `ui.txt` that was current for neither side, which is what turned `Check @objectstack/spec declaration text` red. Regenerated from a real build of the merged tree (34/34 declaration files emitted; ⛔ no `OS_SKIP_DTS`), via `scripts/pm/os-regen-merge.sh`. BOTH SIDES asserted present afterwards, by quoted-exact name against the INDEX blob rather than the worktree, with a dark control reading 0 files: this branch's `find(object: string, query: EngineQueryOptions)` and `ACTION_ENGINE_FIND_ENVELOPE_PRESCRIPTION`; #19219's `ObjectTimelineProps`, `ObjectTimelinePropsSchema` and `ComponentPropsMap`. Note the two `navigation` keys that branch also added live in `authorable-surface/ui.json` and in NO declaration file — a grep scoped to `api-surface-declarations/` reads 0 for them out of range, not out of loss, so the assertion ran over the whole tree and printed paths. Claude-Session: https://claude.ai/code/session_01JbZnqu8bt6YqfJsr9vaFb3 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0d775cb commit ee8c411

1 file changed

Lines changed: 286 additions & 2 deletions

File tree

  • packages/spec/api-surface-declarations

‎packages/spec/api-surface-declarations/ui.txt‎

Lines changed: 286 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# excluded: documentation drift is `check:docs`'s axis, not this one.
1313
#
1414
# entry: ./ui
15-
# exported names: 471
16-
# declarations: 485
15+
# exported names: 474
16+
# declarations: 488
1717
#
1818
# GENERATED — ⛔ never hand-edited. Regenerate after a real build:
1919
# pnpm --filter @objectstack/spec build && pnpm --filter @objectstack/spec gen:api-surface-declarations
@@ -4730,6 +4730,29 @@ declare const ComponentPropsMap: {
47304730
quickAdd: z.ZodOptional<z.ZodNever>;
47314731
coverImageField: z.ZodOptional<z.ZodString>;
47324732
conditionalFormatting: z.ZodOptional<z.ZodUnknown>;
4733+
navigation: z.ZodOptional<z.ZodObject<{
4734+
mode: z.ZodDefault<z.ZodEnum<{
4735+
split: "split";
4736+
none: "none";
4737+
modal: "modal";
4738+
drawer: "drawer";
4739+
page: "page";
4740+
popover: "popover";
4741+
new_window: "new_window";
4742+
}>>;
4743+
view: z.ZodOptional<z.ZodNever>;
4744+
preventNavigation: z.ZodDefault<z.ZodBoolean>;
4745+
openNewTab: z.ZodDefault<z.ZodBoolean>;
4746+
size: z.ZodDefault<z.ZodEnum<{
4747+
full: "full";
4748+
md: "md";
4749+
auto: "auto";
4750+
sm: "sm";
4751+
lg: "lg";
4752+
xl: "xl";
4753+
}>>;
4754+
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
4755+
}, z.core.$strict>>;
47334756
}, z.core.$strict>;
47344757
readonly 'object-calendar': z.ZodObject<{
47354758
objectName: z.ZodOptional<z.ZodString>;
@@ -4776,6 +4799,29 @@ declare const ComponentPropsMap: {
47764799
staticData: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
47774800
locale: z.ZodOptional<z.ZodString>;
47784801
loading: z.ZodOptional<z.ZodBoolean>;
4802+
navigation: z.ZodOptional<z.ZodObject<{
4803+
mode: z.ZodDefault<z.ZodEnum<{
4804+
split: "split";
4805+
none: "none";
4806+
modal: "modal";
4807+
drawer: "drawer";
4808+
page: "page";
4809+
popover: "popover";
4810+
new_window: "new_window";
4811+
}>>;
4812+
view: z.ZodOptional<z.ZodNever>;
4813+
preventNavigation: z.ZodDefault<z.ZodBoolean>;
4814+
openNewTab: z.ZodDefault<z.ZodBoolean>;
4815+
size: z.ZodDefault<z.ZodEnum<{
4816+
full: "full";
4817+
md: "md";
4818+
auto: "auto";
4819+
sm: "sm";
4820+
lg: "lg";
4821+
xl: "xl";
4822+
}>>;
4823+
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
4824+
}, z.core.$strict>>;
47794825
}, z.core.$strict>;
47804826
readonly 'object-form': z.ZodObject<{
47814827
objectName: z.ZodOptional<z.ZodString>;
@@ -5324,6 +5370,98 @@ declare const ComponentPropsMap: {
53245370
}, z.core.$strict>>;
53255371
navigation: z.ZodOptional<z.ZodUnknown>;
53265372
}, z.core.$strict>;
5373+
readonly 'object-timeline': z.ZodObject<{
5374+
objectName: z.ZodOptional<z.ZodString>;
5375+
timeline: z.ZodOptional<z.ZodObject<{
5376+
startDateField: z.ZodString;
5377+
endDateField: z.ZodOptional<z.ZodString>;
5378+
titleField: z.ZodString;
5379+
groupByField: z.ZodOptional<z.ZodString>;
5380+
colorField: z.ZodOptional<z.ZodString>;
5381+
scale: z.ZodDefault<z.ZodEnum<{
5382+
year: "year";
5383+
month: "month";
5384+
day: "day";
5385+
hour: "hour";
5386+
week: "week";
5387+
quarter: "quarter";
5388+
}>>;
5389+
}, z.core.$strict>>;
5390+
filter: z.ZodOptional<z.ZodArray<z.ZodObject<{
5391+
field: z.ZodString;
5392+
operator: z.ZodPreprocess<z.ZodEnum<{
5393+
in: "in";
5394+
starts_with: "starts_with";
5395+
ends_with: "ends_with";
5396+
not_in: "not_in";
5397+
between: "between";
5398+
greater_than: "greater_than";
5399+
after: "after";
5400+
greater_than_or_equal: "greater_than_or_equal";
5401+
less_than: "less_than";
5402+
before: "before";
5403+
less_than_or_equal: "less_than_or_equal";
5404+
equals: "equals";
5405+
not_equals: "not_equals";
5406+
contains: "contains";
5407+
not_contains: "not_contains";
5408+
icontains: "icontains";
5409+
is_null: "is_null";
5410+
is_not_null: "is_not_null";
5411+
is_empty: "is_empty";
5412+
is_not_empty: "is_not_empty";
5413+
}>>;
5414+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
5415+
}, z.core.$strict>>>;
5416+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
5417+
field: z.ZodString;
5418+
order: z.ZodEnum<{
5419+
asc: "asc";
5420+
desc: "desc";
5421+
}>;
5422+
}, z.core.$strip>>>;
5423+
limit: z.ZodOptional<z.ZodNumber>;
5424+
data: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
5425+
items: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
5426+
variant: z.ZodOptional<z.ZodEnum<{
5427+
gantt: "gantt";
5428+
vertical: "vertical";
5429+
horizontal: "horizontal";
5430+
}>>;
5431+
dateFormat: z.ZodOptional<z.ZodEnum<{
5432+
long: "long";
5433+
short: "short";
5434+
iso: "iso";
5435+
}>>;
5436+
rowLabel: z.ZodOptional<z.ZodString>;
5437+
minDate: z.ZodOptional<z.ZodString>;
5438+
maxDate: z.ZodOptional<z.ZodString>;
5439+
descriptionField: z.ZodOptional<z.ZodString>;
5440+
mapping: z.ZodOptional<z.ZodUnknown>;
5441+
navigation: z.ZodOptional<z.ZodObject<{
5442+
mode: z.ZodDefault<z.ZodEnum<{
5443+
split: "split";
5444+
none: "none";
5445+
modal: "modal";
5446+
drawer: "drawer";
5447+
page: "page";
5448+
popover: "popover";
5449+
new_window: "new_window";
5450+
}>>;
5451+
view: z.ZodOptional<z.ZodNever>;
5452+
preventNavigation: z.ZodDefault<z.ZodBoolean>;
5453+
openNewTab: z.ZodDefault<z.ZodBoolean>;
5454+
size: z.ZodDefault<z.ZodEnum<{
5455+
full: "full";
5456+
md: "md";
5457+
auto: "auto";
5458+
sm: "sm";
5459+
lg: "lg";
5460+
xl: "xl";
5461+
}>>;
5462+
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
5463+
}, z.core.$strict>>;
5464+
}, z.core.$strict>;
53275465
};
53285466

53295467
// ── DATE_RANGE_DEFAULT_RANGES (const) ──
@@ -10743,6 +10881,29 @@ declare const ObjectCalendarPropsSchema: z.ZodObject<{
1074310881
staticData: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
1074410882
locale: z.ZodOptional<z.ZodString>;
1074510883
loading: z.ZodOptional<z.ZodBoolean>;
10884+
navigation: z.ZodOptional<z.ZodObject<{
10885+
mode: z.ZodDefault<z.ZodEnum<{
10886+
split: "split";
10887+
none: "none";
10888+
modal: "modal";
10889+
drawer: "drawer";
10890+
page: "page";
10891+
popover: "popover";
10892+
new_window: "new_window";
10893+
}>>;
10894+
view: z.ZodOptional<z.ZodNever>;
10895+
preventNavigation: z.ZodDefault<z.ZodBoolean>;
10896+
openNewTab: z.ZodDefault<z.ZodBoolean>;
10897+
size: z.ZodDefault<z.ZodEnum<{
10898+
full: "full";
10899+
md: "md";
10900+
auto: "auto";
10901+
sm: "sm";
10902+
lg: "lg";
10903+
xl: "xl";
10904+
}>>;
10905+
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
10906+
}, z.core.$strict>>;
1074610907
}, z.core.$strict>;
1074710908

1074810909
// ── ObjectFormProps (type) ──
@@ -11272,6 +11433,29 @@ declare const ObjectKanbanPropsSchema: z.ZodObject<{
1127211433
quickAdd: z.ZodOptional<z.ZodNever>;
1127311434
coverImageField: z.ZodOptional<z.ZodString>;
1127411435
conditionalFormatting: z.ZodOptional<z.ZodUnknown>;
11436+
navigation: z.ZodOptional<z.ZodObject<{
11437+
mode: z.ZodDefault<z.ZodEnum<{
11438+
split: "split";
11439+
none: "none";
11440+
modal: "modal";
11441+
drawer: "drawer";
11442+
page: "page";
11443+
popover: "popover";
11444+
new_window: "new_window";
11445+
}>>;
11446+
view: z.ZodOptional<z.ZodNever>;
11447+
preventNavigation: z.ZodDefault<z.ZodBoolean>;
11448+
openNewTab: z.ZodDefault<z.ZodBoolean>;
11449+
size: z.ZodDefault<z.ZodEnum<{
11450+
full: "full";
11451+
md: "md";
11452+
auto: "auto";
11453+
sm: "sm";
11454+
lg: "lg";
11455+
xl: "xl";
11456+
}>>;
11457+
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
11458+
}, z.core.$strict>>;
1127511459
}, z.core.$strict>;
1127611460

1127711461
// ── ObjectListViewSchema (const) ──
@@ -12336,6 +12520,106 @@ declare const ObjectNavItemSchema: z.ZodObject<{
1233612520
requiresService: z.ZodOptional<z.ZodString>;
1233712521
}, z.core.$strict>;
1233812522

12523+
// ── ObjectTimelineProps (type) ──
12524+
type ObjectTimelineProps = z.input<typeof ObjectTimelinePropsSchema>;
12525+
12526+
// ── ObjectTimelinePropsParsed (type) ──
12527+
type ObjectTimelinePropsParsed = z.infer<typeof ObjectTimelinePropsSchema>;
12528+
12529+
// ── ObjectTimelinePropsSchema (const) ──
12530+
declare const ObjectTimelinePropsSchema: z.ZodObject<{
12531+
objectName: z.ZodOptional<z.ZodString>;
12532+
timeline: z.ZodOptional<z.ZodObject<{
12533+
startDateField: z.ZodString;
12534+
endDateField: z.ZodOptional<z.ZodString>;
12535+
titleField: z.ZodString;
12536+
groupByField: z.ZodOptional<z.ZodString>;
12537+
colorField: z.ZodOptional<z.ZodString>;
12538+
scale: z.ZodDefault<z.ZodEnum<{
12539+
year: "year";
12540+
month: "month";
12541+
day: "day";
12542+
hour: "hour";
12543+
week: "week";
12544+
quarter: "quarter";
12545+
}>>;
12546+
}, z.core.$strict>>;
12547+
filter: z.ZodOptional<z.ZodArray<z.ZodObject<{
12548+
field: z.ZodString;
12549+
operator: z.ZodPreprocess<z.ZodEnum<{
12550+
in: "in";
12551+
starts_with: "starts_with";
12552+
ends_with: "ends_with";
12553+
not_in: "not_in";
12554+
between: "between";
12555+
greater_than: "greater_than";
12556+
after: "after";
12557+
greater_than_or_equal: "greater_than_or_equal";
12558+
less_than: "less_than";
12559+
before: "before";
12560+
less_than_or_equal: "less_than_or_equal";
12561+
equals: "equals";
12562+
not_equals: "not_equals";
12563+
contains: "contains";
12564+
not_contains: "not_contains";
12565+
icontains: "icontains";
12566+
is_null: "is_null";
12567+
is_not_null: "is_not_null";
12568+
is_empty: "is_empty";
12569+
is_not_empty: "is_not_empty";
12570+
}>>;
12571+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>>;
12572+
}, z.core.$strict>>>;
12573+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
12574+
field: z.ZodString;
12575+
order: z.ZodEnum<{
12576+
asc: "asc";
12577+
desc: "desc";
12578+
}>;
12579+
}, z.core.$strip>>>;
12580+
limit: z.ZodOptional<z.ZodNumber>;
12581+
data: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
12582+
items: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
12583+
variant: z.ZodOptional<z.ZodEnum<{
12584+
gantt: "gantt";
12585+
vertical: "vertical";
12586+
horizontal: "horizontal";
12587+
}>>;
12588+
dateFormat: z.ZodOptional<z.ZodEnum<{
12589+
long: "long";
12590+
short: "short";
12591+
iso: "iso";
12592+
}>>;
12593+
rowLabel: z.ZodOptional<z.ZodString>;
12594+
minDate: z.ZodOptional<z.ZodString>;
12595+
maxDate: z.ZodOptional<z.ZodString>;
12596+
descriptionField: z.ZodOptional<z.ZodString>;
12597+
mapping: z.ZodOptional<z.ZodUnknown>;
12598+
navigation: z.ZodOptional<z.ZodObject<{
12599+
mode: z.ZodDefault<z.ZodEnum<{
12600+
split: "split";
12601+
none: "none";
12602+
modal: "modal";
12603+
drawer: "drawer";
12604+
page: "page";
12605+
popover: "popover";
12606+
new_window: "new_window";
12607+
}>>;
12608+
view: z.ZodOptional<z.ZodNever>;
12609+
preventNavigation: z.ZodDefault<z.ZodBoolean>;
12610+
openNewTab: z.ZodDefault<z.ZodBoolean>;
12611+
size: z.ZodDefault<z.ZodEnum<{
12612+
full: "full";
12613+
md: "md";
12614+
auto: "auto";
12615+
sm: "sm";
12616+
lg: "lg";
12617+
xl: "xl";
12618+
}>>;
12619+
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
12620+
}, z.core.$strict>>;
12621+
}, z.core.$strict>;
12622+
1233912623
// ── ObjectTreeProps (type) ──
1234012624
type ObjectTreeProps = z.input<typeof ObjectTreePropsSchema>;
1234112625

0 commit comments

Comments
 (0)