Update the list of integrations in the app

This commit is contained in:
Vladyslav Matsiiako
2022-11-29 20:02:14 -05:00
parent 91827aed3e
commit 8e2794f6ab
23 changed files with 123 additions and 56 deletions

View File

@@ -15,13 +15,7 @@ import {
import Button from "../buttons/Button";
import InputField from "../InputField";
import ListBox from "../Listbox";
const envMapping = {
Development: "dev",
Staging: "staging",
Production: "prod",
Testing: "test",
};
import { envMapping } from "../../../public/data/frequentConstants";
const expiryMapping = {
"1 day": 86400,

View File

@@ -4,15 +4,7 @@ import { faX } from "@fortawesome/free-solid-svg-icons";
import guidGenerator from "../../utilities/randomId";
import Button from "../buttons/Button";
const roles = ["admin", "user"];
const reverseEnvMapping = {
dev: "Development",
staging: "Staging",
prod: "Production",
test: "Testing",
};
import { reverseEnvMapping } from "../../../public/data/frequentConstants";
/**
* This is the component that we utilize for the user table - in future, can reuse it for some other purposes too.