Alokai

ClientConfig

interface ClientConfig {
	api: string;
	cookies: {
    cartCookieName: string;
    countryCookieName: string;
    currencyCookieName: string;
    customerCookieName: string;
    localeCookieName: string;
    storeCookieName: string;
  };
	externalCheckout: {
    cmsUrl: string;
    enable: boolean;
    stores: Record<string, {
      cmsUrl: string;
    }>;
    syncUrlPath: string;
  };
	state: ConfigState;
}

Properties

NameRequiredTypeDescription
apiRequiredstring
cookiesRequired{ cartCookieName: string; countryCookieName: string; currencyCookieName: string; customerCookieName: string; localeCookieName: string; storeCookieName: string; }
externalCheckoutRequired{ cmsUrl: string; enable: boolean; stores: Record<string, { cmsUrl: string; }>; syncUrlPath: string; }
stateRequiredConfigState

Referenced Types

On this page