package.cjs.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":["_common","require","allPath","concat","Cypress","config","tld","env","isProduction","requestApis","exports","countries","getUrl","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,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAMC,OAAO,GAAG,SAAVA,OAAOA,CAAA;EAAA,UAAAC,MAAA,CAAYC,OAAO,CAACC,MAAM,CAAC,SAAS,CAAC;AAAA,CAAK;AACvD,IAAMC,GAAG,GAAGC,WAAG,CAACC,YAAY,GAAG,KAAK,GAAG,KAAK;AAC5C,IAAMC,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG;EAClBE,SAAS,EAAE,IAAAC,cAAM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