@vue-storefront/core
Advanced tools
Comparing version 2.3.0-rc.3 to 2.3.0
@@ -1,2 +0,2 @@ | ||
import { UseUserBilling, Context, FactoryParams } from '../types'; | ||
import { UseUserBilling, Context, FactoryParams, CustomQuery } from '../types'; | ||
export interface UseUserBillingFactoryParams<USER_BILLING, USER_BILLING_ITEM> extends FactoryParams { | ||
@@ -6,2 +6,3 @@ addAddress: (context: Context, params: { | ||
billing: Readonly<USER_BILLING>; | ||
customQuery?: CustomQuery; | ||
}) => Promise<USER_BILLING>; | ||
@@ -11,2 +12,3 @@ deleteAddress: (context: Context, params: { | ||
billing: Readonly<USER_BILLING>; | ||
customQuery?: CustomQuery; | ||
}) => Promise<USER_BILLING>; | ||
@@ -16,2 +18,3 @@ updateAddress: (context: Context, params: { | ||
billing: Readonly<USER_BILLING>; | ||
customQuery?: CustomQuery; | ||
}) => Promise<USER_BILLING>; | ||
@@ -24,4 +27,5 @@ load: (context: Context, params: { | ||
billing: Readonly<USER_BILLING>; | ||
customQuery?: CustomQuery; | ||
}) => Promise<USER_BILLING>; | ||
} | ||
export declare const useUserBillingFactory: <USER_BILLING, USER_BILLING_ITEM>(factoryParams: UseUserBillingFactoryParams<USER_BILLING, USER_BILLING_ITEM>) => () => UseUserBilling<USER_BILLING, USER_BILLING_ITEM>; |
@@ -1,2 +0,2 @@ | ||
import { UseUserShipping, Context, FactoryParams } from '../types'; | ||
import { UseUserShipping, Context, FactoryParams, CustomQuery } from '../types'; | ||
export interface UseUserShippingFactoryParams<USER_SHIPPING, USER_SHIPPING_ITEM> extends FactoryParams { | ||
@@ -6,2 +6,3 @@ addAddress: (context: Context, params: { | ||
shipping: Readonly<USER_SHIPPING>; | ||
customQuery?: CustomQuery; | ||
}) => Promise<USER_SHIPPING>; | ||
@@ -11,2 +12,3 @@ deleteAddress: (context: Context, params: { | ||
shipping: Readonly<USER_SHIPPING>; | ||
customQuery?: CustomQuery; | ||
}) => Promise<USER_SHIPPING>; | ||
@@ -16,2 +18,3 @@ updateAddress: (context: Context, params: { | ||
shipping: Readonly<USER_SHIPPING>; | ||
customQuery?: CustomQuery; | ||
}) => Promise<USER_SHIPPING>; | ||
@@ -24,4 +27,5 @@ load: (context: Context, params: { | ||
shipping: Readonly<USER_SHIPPING>; | ||
customQuery?: CustomQuery; | ||
}) => Promise<USER_SHIPPING>; | ||
} | ||
export declare const useUserShippingFactory: <USER_SHIPPING, USER_SHIPPING_ITEM>(factoryParams: UseUserShippingFactoryParams<USER_SHIPPING, USER_SHIPPING_ITEM>) => () => UseUserShipping<USER_SHIPPING, USER_SHIPPING_ITEM>; |
import { Ref } from '@vue/composition-api'; | ||
import type { Request, Response, Express } from 'express'; | ||
import type { Request, Response } from 'express'; | ||
export declare type ComputedProperty<T> = Readonly<Ref<Readonly<T>>>; | ||
@@ -105,8 +105,11 @@ export declare type CustomQuery = Record<string, string>; | ||
address: USER_SHIPPING_ITEM; | ||
customQuery?: CustomQuery; | ||
}) => Promise<void>; | ||
deleteAddress: (params: { | ||
address: USER_SHIPPING_ITEM; | ||
customQuery?: CustomQuery; | ||
}) => Promise<void>; | ||
updateAddress: (params: { | ||
address: USER_SHIPPING_ITEM; | ||
customQuery?: CustomQuery; | ||
}) => Promise<void>; | ||
@@ -116,2 +119,3 @@ load: () => Promise<void>; | ||
address: USER_SHIPPING_ITEM; | ||
customQuery?: CustomQuery; | ||
}) => Promise<void>; | ||
@@ -152,8 +156,11 @@ loading: ComputedProperty<boolean>; | ||
address: USER_BILLING_ITEM; | ||
customQuery?: CustomQuery; | ||
}) => Promise<void>; | ||
deleteAddress: (params: { | ||
address: USER_BILLING_ITEM; | ||
customQuery?: CustomQuery; | ||
}) => Promise<void>; | ||
updateAddress: (params: { | ||
address: USER_BILLING_ITEM; | ||
customQuery?: CustomQuery; | ||
}) => Promise<void>; | ||
@@ -163,2 +170,3 @@ load: () => Promise<void>; | ||
address: USER_BILLING_ITEM; | ||
customQuery?: CustomQuery; | ||
}) => Promise<void>; | ||
@@ -661,3 +669,6 @@ loading: ComputedProperty<boolean>; | ||
extendApiMethods?: Record<string, ApiClientMethod>; | ||
extendApp?: (app: Express) => void; | ||
extendApp?: ({ app: Express, configuration: any }: { | ||
app: any; | ||
configuration: any; | ||
}) => void; | ||
hooks?: (req: Request, res: Response) => ApiClientExtensionHooks; | ||
@@ -664,0 +675,0 @@ } |
{ | ||
"name": "@vue-storefront/core", | ||
"version": "2.3.0-rc.3", | ||
"version": "2.3.0", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "main": "lib/index.cjs.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
863459
9995
1