mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
95 lines
2.3 KiB
TypeScript
95 lines
2.3 KiB
TypeScript
interface Mapping {
|
|
[key: string]: string;
|
|
}
|
|
|
|
const integrationSlugNameMapping: Mapping = {
|
|
"azure-key-vault": "Azure Key Vault",
|
|
"aws-parameter-store": "AWS Parameter Store",
|
|
"aws-secret-manager": "AWS Secrets Manager",
|
|
heroku: "Heroku",
|
|
vercel: "Vercel",
|
|
netlify: "Netlify",
|
|
github: "GitHub",
|
|
gitlab: "GitLab",
|
|
render: "Render",
|
|
"laravel-forge": "Laravel Forge",
|
|
railway: "Railway",
|
|
flyio: "Fly.io",
|
|
circleci: "CircleCI",
|
|
databricks: "Databricks",
|
|
travisci: "TravisCI",
|
|
supabase: "Supabase",
|
|
checkly: "Checkly",
|
|
qovery: "Qovery",
|
|
"terraform-cloud": "Terraform Cloud",
|
|
teamcity: "TeamCity",
|
|
"hashicorp-vault": "Vault",
|
|
"cloudflare-pages": "Cloudflare Pages",
|
|
"cloudflare-workers": "Cloudflare Workers",
|
|
codefresh: "Codefresh",
|
|
"digital-ocean-app-platform": "Digital Ocean App Platform",
|
|
bitbucket: "Bitbucket",
|
|
"cloud-66": "Cloud 66",
|
|
northflank: "Northflank",
|
|
windmill: "Windmill",
|
|
"gcp-secret-manager": "GCP Secret Manager",
|
|
"hasura-cloud": "Hasura Cloud",
|
|
rundeck: "Rundeck",
|
|
"azure-devops": "Azure DevOps",
|
|
"azure-app-configuration": "Azure App Configuration",
|
|
"octopus-deploy": "Octopus Deploy"
|
|
};
|
|
|
|
const envMapping: Mapping = {
|
|
Development: "dev",
|
|
Staging: "staging",
|
|
Production: "prod",
|
|
Testing: "test"
|
|
};
|
|
|
|
const reverseEnvMapping: Mapping = {
|
|
dev: "Development",
|
|
staging: "Staging",
|
|
prod: "Production",
|
|
test: "Testing"
|
|
};
|
|
|
|
const contextNetlifyMapping: Mapping = {
|
|
dev: "Local development",
|
|
"branch-deploy": "Branch deploys",
|
|
"deploy-preview": "Deploy Previews",
|
|
production: "Production"
|
|
};
|
|
|
|
const reverseContextNetlifyMapping: Mapping = {
|
|
"Local development": "dev",
|
|
"Branch deploys": "branch-deploy",
|
|
"Deploy Previews": "deploy-preview",
|
|
Production: "production"
|
|
};
|
|
|
|
const plansDev: Mapping = {
|
|
starter: "prod_Mb4ATFT5QAHoPM",
|
|
team: "prod_NEpD2WMXUS2eDn",
|
|
professional: "prod_Mb4CetZ2jE7jdl",
|
|
enterprise: "licence_key_required"
|
|
};
|
|
|
|
const plansProd: Mapping = {
|
|
starter: "prod_Mb8oR5XNwyFTul",
|
|
team: "prod_NEp7fAB3UJWK6A",
|
|
professional: "prod_Mb8pUIpA0OUi5N",
|
|
enterprise: "licence_key_required"
|
|
};
|
|
|
|
const plans = plansProd || plansDev;
|
|
|
|
export {
|
|
contextNetlifyMapping,
|
|
envMapping,
|
|
integrationSlugNameMapping,
|
|
plans,
|
|
reverseContextNetlifyMapping,
|
|
reverseEnvMapping
|
|
};
|