Internal Structure
Class CustomerQuery
CustomerQueryimport {CustomerQuery} from '@scandipwa/shopify-customer/src/api/Customer.query.js'Description: Customer query declaration. Read more: Query controller, TypedQuery
Namespace: ShopifyCustomer/Api/Customer/Query/CustomerQuery
Method _getCustomerFields
_getCustomerFieldsDescription: Function that returns the list of customer fields. Read more: Extending Query controllers
Method getCustomerAccessTokenCreateField
getCustomerAccessTokenCreateFieldDescription: Field getter for access token creation [returns node]
Method getCustomerAccessTokenDeleteField
getCustomerAccessTokenDeleteFieldDescription: Field getter for access token removal [returns node]
Method getCustomerCreateField
getCustomerCreateFieldDescription: Customer create field getter [returns node]
Method getCustomerField
getCustomerFieldDescription: Field getter for customer get [returns node]
Function processCustomer
processCustomerDescription: Single customer processor.
Namespace: ShopifyCustomer/Api/Customer/Processor/processCustomer
🔮 Common extension point: Process newly added fields.
Variable CUSTOMER_CREATE
CUSTOMER_CREATEDescription: A type of CustomerQuery associated with getCustomerCreateField function.
Usage examples:
Variable CUSTOMER_GET
CUSTOMER_GETDescription: A type of CustomerQuery associated with getCustomerField function.
Usage examples:
Variable CUSTOMER_LOGIN
CUSTOMER_LOGINDescription: A type of CustomerQuery associated with getCustomerAccessTokenCreateField function.
Usage examples:
Variable CUSTOMER_LOGOUT
CUSTOMER_LOGOUTDescription: A type of CustomerQuery associated with getCustomerAccessTokenDeleteField function.
Usage examples:
Class AccountDetailsComponent
AccountDetailsComponentDescription: Account details component
Namespace: ShopifyCustomer/Component/AccountDetails/Component/AccountDetailsComponent
Member detailsRenderMap
detailsRenderMapDescription: A list of render methods used by account details component. Read more: SortedRenderMap
Function AccountFallbackPage
AccountFallbackPageDescription: A component used as fallback while the account details component is loading
Namespace: ShopifyCustomer/Component/AccountFallbackPage/Index/AccountFallbackPage
Class AccountPageComponent
AccountPageComponentDescription: Account page component
Namespace: ShopifyCustomer/Component/AccountPage/Component/AccountPageComponent
Member contentRenderMap
contentRenderMapDescription: A list of render methods used by account page. Read more: SortedRenderMap
Class AccountPageContainer
AccountPageContainerDescription: Account page container. Used to setup a redirect in case user is not logged in.
Namespace: ShopifyCustomer/Component/AccountPage/Container/AccountPageContainer
Function LoginFallbackPage
LoginFallbackPageDescription: A component used as fallback while the login page is loading
Namespace: ShopifyCustomer/Component/LoginFallbackPage/Index/LoginFallbackPage
Class LoginFormComponent
LoginFormComponentDescription: Login form component
Namespace: ShopifyCustomer/Component/LoginForm/Component/LoginFormComponent
Member contentRenderMap
contentRenderMapDescription: A list of render methods used by login form component. Read more: SortedRenderMap
Member formFieldsRenderMap
formFieldsRenderMapDescription: A list of field render methods used by the login form. Read more: SortedRenderMap
Class LoginFormContainer
LoginFormContainerDescription: Login form container. Used to define handlers for form operations.
Namespace: ShopifyCustomer/Component/LoginForm/Container/LoginFormContainer
Class LoginPageComponent
LoginPageComponentDescription: Login page component.
Namespace: ShopifyCustomer/Component/LoginPage/Component/LoginPageComponent
Function RegisterFallbackPage
RegisterFallbackPageDescription: A component used as fallback while the register page is loading
Namespace: ShopifyCustomer/Component/RegisterFallbackPage/Index/RegisterFallbackPage
Class RegisterFormContainer
RegisterFormContainerDescription: Reginster form container. Used to define handlers for form operations.
Namespace: ShopifyCustomer/Component/RegisterForm/Container/RegisterFormContainer
Class RegisterPageComponent
RegisterPageComponentDescription: Login page component.
Namespace: ShopifyCustomer/Component/RegisterPage/Component/RegisterPageComponent
Last updated
Was this helpful?