All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.cjs.cypress-utils.constants.routes.js.map Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
{"version":3,"file":"routes.js","names":["_common","require","allPath","concat","Cypress","config","tld","env","isProduction","requestApis","countries","getUrl","signUp","subdomainAvailability","teamMembers","all","bulkUpdate","index","show","id","allChatPath","myProfilePath","subdomain","settingsPath","exports","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,GAAG;EAClBC,SAAS,EAAE,IAAAC,cAAM,EAAC,WAAW,CAAC;EAC9B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