Interface: FetchActiveCartConfig
Defined in: composables/shared/utils/fetchActiveCart.ts:21
Configuration object for fetchActiveCart.
Properties
companyId?
optionalcompanyId?:number
Defined in: composables/shared/utils/fetchActiveCart.ts:30
Active company ID — narrows the cart search for company users.
imageSearchFilters
imageSearchFilters:
MediaImageProductSearchInput
Defined in: composables/shared/utils/fetchActiveCart.ts:34
Image search filters forwarded to the cart query that hydrates item media.
imageVariantFilters
imageVariantFilters:
TransformationsInput
Defined in: composables/shared/utils/fetchActiveCart.ts:36
Image transformation filters forwarded to the cart query that hydrates item media.
language
language:
string
Defined in: composables/shared/utils/fetchActiveCart.ts:32
Language code for the localised cart query.
services
services:
Services
Defined in: composables/shared/utils/fetchActiveCart.ts:26
The Services bundle — pass services from usePropellerContext() / the
provider's value object. Replaces the previous graphqlClient field.
user
user:
Contact|Customer
Defined in: composables/shared/utils/fetchActiveCart.ts:28
The authenticated user (Contact or Customer) whose cart to look up.