Implement all phases sequentially

This commit is contained in:
gpt-engineer-app[bot]
2025-10-21 12:18:38 +00:00
parent a05c1017d3
commit 1138eea024
10 changed files with 77 additions and 54 deletions

View File

@@ -40,7 +40,7 @@ export async function submitCompanyCreation(
content: {
action: 'create'
},
status: 'pending'
status: 'pending' as const
})
.select()
.single();
@@ -64,7 +64,7 @@ export async function submitCompanyCreation(
company_type: companyType,
images: processedImages as unknown as Json
},
status: 'pending',
status: 'pending' as const,
order_index: 0
});
@@ -118,7 +118,7 @@ export async function submitCompanyUpdate(
action: 'edit',
company_id: companyId
},
status: 'pending'
status: 'pending' as const
})
.select()
.single();
@@ -143,7 +143,7 @@ export async function submitCompanyUpdate(
images: processedImages as unknown as Json
},
original_data: JSON.parse(JSON.stringify(existingCompany)),
status: 'pending',
status: 'pending' as const,
order_index: 0
});