Internal Structure

Class CustomerQuery

import {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

Description: Function that returns the list of customer fields. Read more: Extending Query controllers

Method getCustomerAccessTokenCreateField

Description: Field getter for access token creation [returns node]

Method getCustomerAccessTokenDeleteField

Description: Field getter for access token removal [returns node]

Method getCustomerCreateField

Description: Customer create field getter [returns node]

Method getCustomerField

Description: Field getter for customer get [returns node]

Function processCustomer

Description: Single customer processor.

Namespace: ShopifyCustomer/Api/Customer/Processor/processCustomer

🔮 Common extension point: Process newly added fields.

Variable CUSTOMER_CREATE

Description: A type of CustomerQuery associated with getCustomerCreateField function.

Usage examples:

Variable CUSTOMER_GET

Description: A type of CustomerQuery associated with getCustomerField function.

Usage examples:

Variable CUSTOMER_LOGIN

Description: A type of CustomerQuery associated with getCustomerAccessTokenCreateField function.

Usage examples:

Variable CUSTOMER_LOGOUT

Description: A type of CustomerQuery associated with getCustomerAccessTokenDeleteField function.

Usage examples:

Class AccountDetailsComponent

Description: Account details component

Namespace: ShopifyCustomer/Component/AccountDetails/Component/AccountDetailsComponent

Member detailsRenderMap

Description: A list of render methods used by account details component. Read more: SortedRenderMap

Function AccountFallbackPage

Description: A component used as fallback while the account details component is loading

Namespace: ShopifyCustomer/Component/AccountFallbackPage/Index/AccountFallbackPage

Class AccountPageComponent

Description: Account page component

Namespace: ShopifyCustomer/Component/AccountPage/Component/AccountPageComponent

Member contentRenderMap

Description: A list of render methods used by account page. Read more: SortedRenderMap

Class AccountPageContainer

Description: Account page container. Used to setup a redirect in case user is not logged in.

Namespace: ShopifyCustomer/Component/AccountPage/Container/AccountPageContainer

Function LoginFallbackPage

Description: A component used as fallback while the login page is loading

Namespace: ShopifyCustomer/Component/LoginFallbackPage/Index/LoginFallbackPage

Class LoginFormComponent

Description: Login form component

Namespace: ShopifyCustomer/Component/LoginForm/Component/LoginFormComponent

Member contentRenderMap

Description: A list of render methods used by login form component. Read more: SortedRenderMap

Member formFieldsRenderMap

Description: A list of field render methods used by the login form. Read more: SortedRenderMap

Class LoginFormContainer

Description: Login form container. Used to define handlers for form operations.

Namespace: ShopifyCustomer/Component/LoginForm/Container/LoginFormContainer

Class LoginPageComponent

Description: Login page component.

Namespace: ShopifyCustomer/Component/LoginPage/Component/LoginPageComponent

Function RegisterFallbackPage

Description: A component used as fallback while the register page is loading

Namespace: ShopifyCustomer/Component/RegisterFallbackPage/Index/RegisterFallbackPage

Class RegisterFormContainer

Description: Reginster form container. Used to define handlers for form operations.

Namespace: ShopifyCustomer/Component/RegisterForm/Container/RegisterFormContainer

Class RegisterPageComponent

Description: Login page component.

Namespace: ShopifyCustomer/Component/RegisterPage/Component/RegisterPageComponent

This page is automatically generated

Last updated

Was this helpful?