mirror of
https://github.com/vercel/commerce.git
synced 2025-07-27 04:01:23 +00:00
Remove references to @framework and use relative paths instead
This commit is contained in:
@@ -4,9 +4,9 @@ import type {
|
||||
} from '@commerce/api/operations'
|
||||
import type { Product } from '@commerce/types/product'
|
||||
import type { GetAllProductPathsOperation } from '@commerce/types/product'
|
||||
import { requireConfigValue } from '@framework/isomorphic-config'
|
||||
import type { IProductsSlugs, SpreeSdkVariables } from '@framework/types'
|
||||
import getProductPath from '@framework/utils/get-product-path'
|
||||
import { requireConfigValue } from '../../isomorphic-config'
|
||||
import type { IProductsSlugs, SpreeSdkVariables } from '../../types'
|
||||
import getProductPath from '../../utils/get-product-path'
|
||||
import type { SpreeApiConfig, SpreeApiProvider } from '..'
|
||||
|
||||
export default function getAllProductPathsOperation({
|
||||
|
@@ -7,7 +7,7 @@ import type {
|
||||
import type { IProducts } from '@spree/storefront-api-v2-sdk/types/interfaces/Product'
|
||||
import type { SpreeApiConfig, SpreeApiProvider } from '../index'
|
||||
import type { SpreeSdkVariables } from 'framework/spree/types'
|
||||
import normalizeProduct from '@framework/utils/normalize-product'
|
||||
import normalizeProduct from '../../utils/normalize-product'
|
||||
|
||||
export default function getAllProductsOperation({
|
||||
commerce,
|
||||
|
@@ -7,7 +7,7 @@ import type {
|
||||
import type { IProduct } from '@spree/storefront-api-v2-sdk/types/interfaces/Product'
|
||||
import type { SpreeSdkVariables } from 'framework/spree/types'
|
||||
import MissingSlugVariableError from 'framework/spree/errors/MissingSlugVariableError'
|
||||
import normalizeProduct from '@framework/utils/normalize-product'
|
||||
import normalizeProduct from '../../utils/normalize-product'
|
||||
|
||||
export default function getProductOperation({
|
||||
commerce,
|
||||
|
@@ -7,7 +7,7 @@ import type {
|
||||
ITaxons,
|
||||
TaxonAttr,
|
||||
} from '@spree/storefront-api-v2-sdk/types/interfaces/Taxon'
|
||||
import { requireConfigValue } from '@framework/isomorphic-config'
|
||||
import { requireConfigValue } from '../../isomorphic-config'
|
||||
import type { SpreeSdkVariables } from 'framework/spree/types'
|
||||
import type { SpreeApiConfig, SpreeApiProvider } from '..'
|
||||
|
||||
|
Reference in New Issue
Block a user