package.cypress-utils.constants.routes.js.map Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neeto-commons-frontend Show documentation
Show all versions of neeto-commons-frontend Show documentation
A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.
{"version":3,"file":"routes.js","names":["env","getUrl","allPath","concat","Cypress","config","tld","isProduction","requestApis","countries","signUp","subdomainAvailability","teamMembers","all","bulkUpdate","index","show","id","allChatPath","myProfilePath","subdomain","settingsPath","urlPaths","members","Object","defineProperty","get"],"sources":["../../../src/cypress-utils/constants/routes.js"],"sourcesContent":["import { env, getUrl } from \"../utils/common\";\n\nconst allPath = () => `${Cypress.config(\"baseUrl\")}/**`;\nconst tld = env.isProduction ? \"com\" : \"net\";\nconst requestApis = {\n countries: getUrl(\"countries\"),\n signUp: getUrl(\"signups/**\"),\n subdomainAvailability: getUrl(\"subdomain_availability/**\"),\n teamMembers: {\n all: \"/team_members*/**\",\n bulkUpdate: \"/team_members/teams/bulk_update\",\n index: \"/team_members/teams\",\n show: id => `/team_members/teams/${id}`,\n },\n allChatPath: `https://*.neetochat.${tld}${getUrl(\"**\")}`,\n myProfilePath: subdomain =>\n `https://${subdomain}.neetoauth.${tld}/my/profile`,\n settingsPath: subdomain => `https://${subdomain}.neetoauth.${tld}/settings`,\n};\n\nconst urlPaths = { members: \"/members\" };\n\nObject.defineProperty(requestApis, \"allPath\", { get: allPath });\n\nexport { requestApis, urlPaths };\n"],"mappings":"AAAA,SAASA,GAAG,EAAEC,MAAM;AAEpB,IAAMC,OAAO,GAAG,SAAVA,OAAOA,CAAA;EAAA,UAAAC,MAAA,CAAYC,OAAO,CAACC,MAAM,CAAC,SAAS,CAAC;AAAA,CAAK;AACvD,IAAMC,GAAG,GAAGN,GAAG,CAACO,YAAY,GAAG,KAAK,GAAG,KAAK;AAC5C,IAAMC,WAAW,GAAG;EAClBC,SAAS,EAAER,MAAM,CAAC,WAAW,CAAC;EAC9BS,MAAM,EAAET,MAAM,CAAC,YAAY,CAAC;EAC5BU,qBAAqB,EAAEV,MAAM,CAAC,2BAA2B,CAAC;EAC1DW,WAAW,EAAE;IACXC,GAAG,EAAE,mBAAmB;IACxBC,UAAU,EAAE,iCAAiC;IAC7CC,KAAK,EAAE,qBAAqB;IAC5BC,IAAI,EAAE,SAANA,IAAIA,CAAEC,EAAE;MAAA,8BAAAd,MAAA,CAA2Bc,EAAE;IAAA;EACvC,CAAC;EACDC,WAAW,yBAAAf,MAAA,CAAyBG,GAAG,EAAAH,MAAA,CAAGF,MAAM,CAAC,IAAI,CAAC,CAAE;EACxDkB,aAAa,EAAE,SAAfA,aAAaA,CAAEC,SAAS;IAAA,kBAAAjB,MAAA,CACXiB,SAAS,iBAAAjB,MAAA,CAAcG,GAAG;EAAA,CAAa;EACpDe,YAAY,EAAE,SAAdA,YAAYA,CAAED,SAAS;IAAA,kBAAAjB,MAAA,CAAeiB,SAAS,iBAAAjB,MAAA,CAAcG,GAAG;EAAA;AAClE,CAAC;AAED,IAAMgB,QAAQ,GAAG;EAAEC,OAAO,EAAE;AAAW,CAAC;AAExCC,MAAM,CAACC,cAAc,CAACjB,WAAW,EAAE,SAAS,EAAE;EAAEkB,GAAG,EAAExB;AAAQ,CAAC,CAAC;AAE/D,SAASM,WAAW,EAAEc,QAAQ","ignoreList":[]}