Skip to main content

Interface: UseProductInfoReturn

Defined in: composables/vue/useProductInfo.ts:59

Properties

cluster

cluster: Ref<Cluster | null>

Defined in: composables/vue/useProductInfo.ts:61


clusterImageUrl

clusterImageUrl: ComputedRef<string>

Defined in: composables/vue/useProductInfo.ts:70


clusterName

clusterName: ComputedRef<string>

Defined in: composables/vue/useProductInfo.ts:67


clusterPrice

clusterPrice: ComputedRef<number | null>

Defined in: composables/vue/useProductInfo.ts:69


clusterSku

clusterSku: ComputedRef<string>

Defined in: composables/vue/useProductInfo.ts:68


error

error: Ref<string | null>

Defined in: composables/vue/useProductInfo.ts:63


fetchCluster

fetchCluster: (clusterId, imageSearchFilters?, imageVariantFilters?) => Promise<void>

Defined in: composables/vue/useProductInfo.ts:65

Parameters

clusterId

number

imageSearchFilters?

MediaImageProductSearchInput

imageVariantFilters?

TransformationsInput

Returns

Promise<void>


fetchProduct

fetchProduct: (productId, imageSearchFilters?, imageVariantFilters?) => Promise<void>

Defined in: composables/vue/useProductInfo.ts:64

Parameters

productId

number

imageSearchFilters?

MediaImageProductSearchInput

imageVariantFilters?

TransformationsInput

Returns

Promise<void>


loading

loading: Ref<boolean>

Defined in: composables/vue/useProductInfo.ts:62


product

product: Ref<Product | null>

Defined in: composables/vue/useProductInfo.ts:60