refactor shopify storefront
This commit is contained in:
@@ -11,15 +11,15 @@ import {
|
||||
reactEditorTools,
|
||||
getEditorContext,
|
||||
} from "@reacteditor/plugin-ai/server";
|
||||
import { shopifyFetch } from "@/editor/services/shopify/client";
|
||||
import { shopifyFetch } from "@/services/shopify/client";
|
||||
import {
|
||||
GET_PRODUCTS_QUERY,
|
||||
GET_PRODUCT_QUERY,
|
||||
} from "@/editor/graphql/products";
|
||||
} from "@/graphql/products";
|
||||
import {
|
||||
GET_COLLECTIONS_QUERY,
|
||||
GET_COLLECTION_PRODUCTS_QUERY,
|
||||
} from "@/editor/graphql/collections";
|
||||
} from "@/graphql/collections";
|
||||
|
||||
type Body = {
|
||||
messages: UIMessage[];
|
||||
|
||||
Reference in New Issue
Block a user