mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 09:28:36 +00:00
Add missing mysql types Add missing mysql import Add more mysql stuff Add mysql options Add missing mysql stuff Update more for mysql stuff Fix wrong psql stuff Add mysql as deps Use mysql2 driver Add missing mysql stuff Fix mysql form Fix db conn details schema Add more missing stuff for mysql Add more missing stuff Add TODO Refactor refactor Refactor code Refactor Connect only for mysql Upgrade mysql2 Try built in approach Rename the field Make ssl default Clean up Remove dev code Add todo Rename the right one Fix linter Add missing await Fix linter issue Fix linter complains Fix linter complains Fix more linters Fix more linter issues Fix linter issues Fix linters # Conflicts: # backend/src/ee/routes/v1/pam-resource-routers/pam-resource-router.ts # backend/src/ee/services/pam-resource/pam-resource-fns.ts # frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/PamAccountForm.tsx # Conflicts: # frontend/src/pages/pam/PamAccountsPage/components/PamAccessAccountModal.tsx
13 lines
508 B
TypeScript
13 lines
508 B
TypeScript
import { PamResourceType } from "./enums";
|
|
|
|
export const PAM_RESOURCE_TYPE_MAP: Record<
|
|
PamResourceType,
|
|
{ name: string; image: string; size?: number }
|
|
> = {
|
|
[PamResourceType.Postgres]: { name: "PostgreSQL", image: "Postgres.png" },
|
|
[PamResourceType.MySQL]: { name: "MySQL", image: "MySql.png" },
|
|
[PamResourceType.RDP]: { name: "RDP", image: "RDP.png" },
|
|
[PamResourceType.SSH]: { name: "SSH", image: "SSH.png" },
|
|
[PamResourceType.Kubernetes]: { name: "Kubernetes", image: "Kubernetes.png" }
|
|
};
|