Add React editor project

This commit is contained in:
Rami Bitar
2026-08-09 16:00:10 -04:00
parent 909d99251a
commit 63ecc5e284
212 changed files with 20655 additions and 11571 deletions
+45
View File
@@ -0,0 +1,45 @@
import { gql } from '@shopify/hydrogen';
// Shop policies are exposed on the `shop` object of the Storefront API.
// There is no lookup-by-handle field, so we fetch all of them and match.
export const GET_SHOP_POLICIES_QUERY = gql(`
query GetShopPolicies {
shop {
privacyPolicy {
id
title
handle
body
url
}
termsOfService {
id
title
handle
body
url
}
refundPolicy {
id
title
handle
body
url
}
shippingPolicy {
id
title
handle
body
url
}
subscriptionPolicy {
id
title
handle
body
url
}
}
}
`);