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:
co-authored by
Cursor
parent
7d6c1cd4e3
commit
f4a087089e
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user