lib/types.ts (aliases + governance shapes + auth re-exports) split into
types/domain/{index,governance,reexports}.ts, making the generated/hand-written
seam explicit (generated = types/database.ts, hand-written = types/domain/*).
lib/types.ts is now a re-export shim so all 11 importers are untouched. Fixed
the stale 'not yet in types/database.ts' comment — those tables/enums are now
generated; de-duplicating the governance rows into Tables<>/Enums<> is a noted
follow-up. tsc 0, 635 tests green.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
8 lines
316 B
TypeScript
8 lines
316 B
TypeScript
/**
|
|
* Compatibility shim. The hand-written domain types moved to `types/domain/*`
|
|
* (kept separate from the generated `types/database.ts`). This re-export keeps
|
|
* the `@/lib/types` specifier working for existing importers; prefer importing
|
|
* from `@/types/domain` in new code.
|
|
*/
|
|
export * from '@/types/domain'
|