2019-09-09 09:08:54 +00:00
|
|
|
export type ENVIRONMENT = "PRODUCTION" | "STAGING" | "LOCAL";
|
2021-10-01 15:09:41 +00:00
|
|
|
|
2021-09-17 16:58:04 +00:00
|
|
|
export const DOCS_BASE_URL = "https://docs.appsmith.com/";
|
|
|
|
|
export const TELEMETRY_URL = `${DOCS_BASE_URL}telemetry`;
|
2021-09-13 07:22:51 +00:00
|
|
|
export const ASSETS_CDN_URL = "https://assets.appsmith.com";
|
2021-10-18 07:47:55 +00:00
|
|
|
export const GITHUB_RELEASE_URL =
|
|
|
|
|
"https://github.com/appsmithorg/appsmith/releases/tag";
|
|
|
|
|
export const GET_RELEASE_NOTES_URL = (tagName: string) =>
|
|
|
|
|
`${GITHUB_RELEASE_URL}/${tagName}`;
|
|
|
|
|
export const GOOGLE_MAPS_SETUP_DOC =
|
2022-07-26 07:28:07 +00:00
|
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/google-maps";
|
2021-10-18 07:47:55 +00:00
|
|
|
export const GOOGLE_SIGNUP_SETUP_DOC =
|
2022-07-26 07:28:07 +00:00
|
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/authentication/google-login";
|
2021-10-18 07:47:55 +00:00
|
|
|
export const GITHUB_SIGNUP_SETUP_DOC =
|
2022-07-26 07:28:07 +00:00
|
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/authentication/github-login";
|
2022-04-04 07:07:12 +00:00
|
|
|
export const OIDC_SIGNUP_SETUP_DOC =
|
2022-07-26 07:28:07 +00:00
|
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/authentication/openid-connect-oidc";
|
2022-06-06 07:25:03 +00:00
|
|
|
export const SAML_SIGNUP_SETUP_DOC =
|
2022-07-26 07:28:07 +00:00
|
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/authentication/security-assertion-markup-language-saml";
|
2021-10-18 07:47:55 +00:00
|
|
|
export const EMAIL_SETUP_DOC =
|
2022-07-26 07:28:07 +00:00
|
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/email";
|
2022-03-02 18:18:50 +00:00
|
|
|
export const SIGNUP_RESTRICTION_DOC =
|
2022-07-26 07:28:07 +00:00
|
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/disable-user-signup#disable-sign-up";
|
2023-04-20 12:25:32 +00:00
|
|
|
export const EMBED_PRIVATE_APPS_DOC =
|
|
|
|
|
"https://docs.appsmith.com/advanced-concepts/embed-appsmith-into-existing-application#embedding-private-apps";
|
2023-07-28 08:05:55 +00:00
|
|
|
export const PROVISIONING_SETUP_DOC =
|
|
|
|
|
"http://docs.appsmith.com/advanced-concepts/user-provisioning-group-sync";
|
2023-08-28 15:37:32 +00:00
|
|
|
export const DISCORD_URL = "https://discord.gg/rBTTVJp";
|
2023-11-07 14:55:02 +00:00
|
|
|
export const ENTERPRISE_PRICING_PAGE = "https://www.appsmith.com/enterprise";
|
2023-11-13 08:07:18 +00:00
|
|
|
export const DOCS_BRANCH_PROTECTION_URL =
|
|
|
|
|
"https://docs.appsmith.com/advanced-concepts/version-control-with-git/working-with-branches#branch-protection";
|
|
|
|
|
export const DOCS_DEFAULT_BRANCH_URL =
|
|
|
|
|
"https://docs.appsmith.com/advanced-concepts/version-control-with-git/working-with-branches#default-branch";
|
2024-03-12 12:44:05 +00:00
|
|
|
export const PACKAGES_OVERVIEW_DOC =
|
|
|
|
|
"https://docs.appsmith.com/packages/overview";
|
2023-11-07 14:55:02 +00:00
|
|
|
|
2023-03-15 10:03:27 +00:00
|
|
|
export const PRICING_PAGE_URL = (
|
|
|
|
|
URL: string,
|
|
|
|
|
source: string,
|
|
|
|
|
instanceId: string,
|
2023-08-22 06:29:29 +00:00
|
|
|
feature?: string,
|
|
|
|
|
section?: string,
|
|
|
|
|
) =>
|
|
|
|
|
`${URL}?source=${source}${instanceId ? `&instance=${instanceId}` : ``}${
|
|
|
|
|
feature ? `&feature=${feature}` : ""
|
|
|
|
|
}${section ? `§ion=${section}` : ""}`;
|
2023-10-15 07:03:25 +00:00
|
|
|
|
|
|
|
|
export const CUSTOMER_PORTAL_URL_WITH_PARAMS = (
|
|
|
|
|
URL: string,
|
|
|
|
|
source: string,
|
|
|
|
|
instanceId: string,
|
|
|
|
|
feature?: string,
|
|
|
|
|
section?: string,
|
|
|
|
|
) =>
|
|
|
|
|
`${URL}?source=${source}${instanceId ? `&instance=${instanceId}` : ``}${
|
|
|
|
|
feature ? `&feature=${feature}` : ""
|
|
|
|
|
}${section ? `§ion=${section}` : ""}`;
|