
* Disable store domain field in cloud, update query to save store name * Update field label for domain to "Store API URL" * Remove store name from store settings page * Skip enitre shopDomainUpdate mutation when running in cloud * Remove SiteDetailsSettingsCard * Update snapshots
28 lines
540 B
TypeScript
28 lines
540 B
TypeScript
import { gql } from "@apollo/client";
|
|
|
|
export const shopSettingsUpdate = gql`
|
|
mutation ShopSettingsUpdate(
|
|
$shopSettingsInput: ShopSettingsInput!
|
|
$addressInput: AddressInput
|
|
$isCloudInstance: Boolean!
|
|
) {
|
|
shopSettingsUpdate(input: $shopSettingsInput) {
|
|
errors {
|
|
...ShopError
|
|
}
|
|
shop {
|
|
...Shop
|
|
}
|
|
}
|
|
shopAddressUpdate(input: $addressInput) {
|
|
errors {
|
|
...ShopError
|
|
}
|
|
shop {
|
|
companyAddress {
|
|
...Address
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`;
|