refactor(site): rename Organisation to Instance

The signup form now posts instance_name, matching sitesvc.

Also restores site/next-env.d.ts. Its /// <reference> directives had been
stripped, which removed the Next.js type environment and failed the build
with "Cannot find name 'Promise'". Same cause as the agent's missing build
constraint.
This commit is contained in:
mrhid6 committed 2026-07-24 14:04:52 +01:00
1 parent b70ccc97d4
commit 50a06dfdc0
7 files changed
+30 -30

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ export async function submitContact(fields: { name: string; email: string; serve
return post(`${SITE_API}/api/contact`, fields);
}
export async function submitSignup(fields: { org_name: string; email: string; password: string; website: string }): Promise<SubmitResult> {
export async function submitSignup(fields: { instance_name: string; email: string; password: string; website: string }): Promise<SubmitResult> {
if (!SITE_API) {
return {
state: "error",