Improve business edit: names/about, and git URL on domain edit.

Replace color/locale in Edit business with EN/FA name and about; show git repo on Edit domain to provision storefront.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-08 14:18:31 +03:30
co-authored by Cursor
parent 7d6c1cd4e3
commit f4a087089e
3 changed files with 84 additions and 88 deletions
@@ -19,6 +19,8 @@ export interface ListBusinessesParams {
export interface UpdateBusinessPayload {
name?: string
nameFa?: string
about?: string
slug?: string
oldBusinessId?: number | null
}
@@ -36,6 +38,8 @@ export interface DisableBusinessPayload {
export interface UpdateDomainPayload {
host: string
/** When set, provisions storefront deploy on the websites VM. */
gitRepoUrl?: string
}
export async function listBusinesses(params: ListBusinessesParams, signal?: AbortSignal) {