Properties
addToCart
add
ToCart: ( product: Product , quantity: number , request: Request , response: Response ) => Promise < CartResponse >
Type declaration
( product: Product , quantity: number , request: Request , response: Response ) : Promise < CartResponse >
Parameters
quantity: number
request: Request
response: Response
cart
Type declaration
Parameters
request: Request
response: Response
home
Type declaration
Parameters
request: Request
response: Response
product
Type declaration
Parameters
request: Request
response: Response
productSlots
Type declaration
Parameters
request: Request
res: Response
productSuggestions
product
Suggestions: ( id: string , request: Request , response: Response ) => Promise < Product [] >
Type declaration
( id: string , request: Request , response: Response ) : Promise < Product [] >
Parameters
id: string
request: Request
response: Response
Returns Promise < Product [] >
removeCartItem
Type declaration
Parameters
request: Request
response: Response
search
Type declaration
Parameters
request: Request
response: Response
searchSuggestions
search
Suggestions: ( query: string , request: Request , response: Response ) => Promise < SearchSuggestions >
Type declaration
Parameters
query: string
request: Request
response: Response
session
session
: ( request
: Request , response
: Response ) => Promise < Session >
Type declaration
( request: Request , response: Response ) : Promise < Session >
Parameters
request: Request
response: Response
Returns Promise < Session >
signIn
sign
In: ( email: string , password: string , request: Request , response: Response ) => Promise < Session >
Type declaration
( email: string , password: string , request: Request , response: Response ) : Promise < Session >
Parameters
email: string
password: string
request: Request
response: Response
Returns Promise < Session >
signOut
sign
Out: ( request: Request , response: Response ) => Promise < Session >
Type declaration
( request: Request , response: Response ) : Promise < Session >
Parameters
request: Request
response: Response
Returns Promise < Session >
signUp
Type declaration
Parameters
request: Request
response: Response
Returns Promise < Session >
subcategory
Type declaration
Parameters
request: Request
response: Response
updateCartItem
update
CartItem: ( item: CartItem , quantity: number , request: Request , response: Response ) => Promise < CartResponse >
Type declaration
Parameters
quantity: number
request: Request
response: Response
Legend
Interface
Interface with type parameter
Property
The main connector interface. An implementation of this interface should be the default export from your connector package.