Class: KlevuConfig
26 min
/ exports docid 7vdpes 8 0tv 43dya7ly / klevuconfig table of contents constructors constructor docid\ w2rkecqv7dysnpoeofh1j properties apikey docid\ w2rkecqv7dysnpoeofh1jaxios docid\ w2rkecqv7dysnpoeofh1jcachemaxttl docid\ w2rkecqv7dysnpoeofh1jdisableclicktracking docid\ w2rkecqv7dysnpoeofh1jeventsapiv1url docid\ w2rkecqv7dysnpoeofh1jeventsapiv2url docid\ w2rkecqv7dysnpoeofh1jmoiapiurl docid\ w2rkecqv7dysnpoeofh1jrecommendationsapiurl docid\ w2rkecqv7dysnpoeofh1jurl docid\ w2rkecqv7dysnpoeofh1jdefault docid\ w2rkecqv7dysnpoeofh1j methods getdefault docid\ w2rkecqv7dysnpoeofh1jinit docid\ w2rkecqv7dysnpoeofh1j constructors constructor • new klevuconfig ( config ) parameters name type config klevuconfiguration defined in config ts 63 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/config ts#l63 properties apikey • apikey string defined in config ts 53 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/config ts#l53 axios • optional axios axiosinstance defined in config ts 59 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/config ts#l59 cachemaxttl • cachemaxttl number = 600 000 defined in config ts 55 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/config ts#l55 disableclicktracking • disableclicktracking boolean = false defined in config ts 61 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/config ts#l61 eventsapiv1url • eventsapiv1url string = "https //stats ksearchnet com/analytics/" defined in config ts 56 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/config ts#l56 eventsapiv2url • eventsapiv2url string = "https //stats ksearchnet com/analytics/collect" defined in config ts 57 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/config ts#l57 moiapiurl • moiapiurl string = "https //moi ai ksearchnet com/" defined in config ts 60 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/config ts#l60 recommendationsapiurl • recommendationsapiurl string = "https //config cdn ksearchnet com/recommendations/" defined in config ts 58 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/config ts#l58 url • url string defined in config ts 54 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/config ts#l54 default ▪ static default undefined | klevuconfig docid\ w2rkecqv7dysnpoeofh1j defined in config ts 51 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/config ts#l51 methods getdefault ▸ static getdefault () klevuconfig docid\ w2rkecqv7dysnpoeofh1j returns klevuconfig docid\ w2rkecqv7dysnpoeofh1j defined in config ts 93 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/config ts#l93 init ▸ static init ( config ) void parameters name type config klevuconfiguration returns void defined in config ts 88 https //github com/klevultd/frontend sdk/blob/492d3760/packages/klevu core/src/config ts#l88