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

package.cypress-utils.constants.routes.js 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
import { env, getUrl } from "../utils/common";
var allPath = function allPath() {
  return "".concat(Cypress.config("baseUrl"), "/**");
};
var tld = env.isProduction ? "com" : "net";
var requestApis = {
  countries: getUrl("countries"),
  signUp: getUrl("signups/**"),
  subdomainAvailability: getUrl("subdomain_availability/**"),
  teamMembers: {
    all: "/team_members*/**",
    bulkUpdate: "/team_members/teams/bulk_update",
    index: "/team_members/teams",
    show: function show(id) {
      return "/team_members/teams/".concat(id);
    }
  },
  allChatPath: "https://*.neetochat.".concat(tld).concat(getUrl("**")),
  myProfilePath: function myProfilePath(subdomain) {
    return "https://".concat(subdomain, ".neetoauth.").concat(tld, "/my/profile");
  },
  settingsPath: function settingsPath(subdomain) {
    return "https://".concat(subdomain, ".neetoauth.").concat(tld, "/settings");
  }
};
var urlPaths = {
  members: "/members"
};
Object.defineProperty(requestApis, "allPath", {
  get: allPath
});
export { requestApis, urlPaths };
//# sourceMappingURL=routes.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy