Commit fd39ff8
committed
fix(tables): keep the select colours off the @/lib/table barrel
CI's tool-registry boundary check caught this. Importing SELECT_OPTION_COLORS
as a VALUE from the `@/lib/table` barrel turned what had been a type-only
import in a client component into a real runtime edge, and that barrel reaches
the executor — pulling the executable tool registry (~4,700 modules) into the
chat, home and tables route graphs.
Deep-imported from `@/lib/table/types`, which is a leaf: its only other imports
are type-only. The barrel stays fine for `import type`.1 parent 3ca39fa commit fd39ff8
2 files changed
Lines changed: 8 additions & 2 deletions
File tree
- apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/select-field
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
0 commit comments