feat: incorporation type as a dropdown backed by a reference table #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/supabase-database"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Makes the incorporation type (legal form) a dropdown backed by a new reference table, replacing the free-text field. Builds on the Supabase backend already merged via #10.
Schema
incorporation_typestable: GmbH, AG, GmbH & Co. KG, Inc., GbR, each with attributes (jurisdiction, min capital + currency, liability, register/notary required) and arequirementschecklist. RLS: read for authenticated users.profiles.legal_form_code → incorporation_types.code; free-textlegal_formdropped.apply_all.sqlregenerated from migrations (was stale).App
StoreProfile.legalForm → legalFormCode;IncorporationTypetype + cached AppData slice;db.tsfetches/maps the table.SelectFieldUI primitive +IncorporationInfopanel (shows the picked type's attributes & requirements).Verification
tsc --noEmitclean;expo lint0 errors.legal_form_codepresent); app runs in the iOS simulator and hydrates the types.🤖 Generated with Claude Code
feat: Supabase backend, onboarding & incorporation-type dropdownto feat: incorporation type as a dropdown backed by a reference table