Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Lint fix
Carlos Monastyrski447c2c066f89
diff --git a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateTemplatesV2Tab/shared/components.tsx b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateTemplatesV2Tab/shared/components.tsxindex 9cf6a14ed6..8283520114 100644--- a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateTemplatesV2Tab/shared/components.tsx+++ b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateTemplatesV2Tab/shared/components.tsx@@ -15,7 +15,7 @@ type UsageToggleProps = {export const UsageToggle = ({ value, onChange }: UsageToggleProps) => {return (- <div className="flex gap-x-0.5 rounded-md border border-mineshaft-600 bg-mineshaft-800 p-1">+ <div className="border-mineshaft-600 bg-mineshaft-800 flex gap-x-0.5 rounded-md border p-1"><Buttonvariant="outline_bg"onClick={() => {@@ -24,7 +24,7 @@ export const UsageToggle = ({ value, onChange }: UsageToggleProps) => {size="xs"className={`${value === "required" ? "bg-mineshaft-500" : "bg-transparent"- } min-w-[2.4rem] rounded border-none hover:bg-mineshaft-600`}+ } hover:bg-mineshaft-600 min-w-[2.4rem] rounded border-none`}>Required</Button>@@ -36,7 +36,7 @@ export const UsageToggle = ({ value, onChange }: UsageToggleProps) => {size="xs"className={`${value === "optional" ? "bg-mineshaft-500" : "bg-transparent"- } min-w-[2.4rem] rounded border-none hover:bg-mineshaft-600`}+ } hover:bg-mineshaft-600 min-w-[2.4rem] rounded border-none`}>Optional</Button>@@ -66,7 +66,7 @@ export const KeyUsagesSection = ({return (<div className="space-y-6"><div className="space-y-3">- <h3 className="text-sm font-medium text-mineshaft-200">Key Usages</h3>+ <h3 className="text-mineshaft-200 text-sm font-medium">Key Usages</h3><div className="grid grid-cols-2 gap-3">{KEY_USAGES.map((usage) => {const requiredUsages = Array.isArray(watchedKeyUsages?.requiredUsages)@@ -80,7 +80,7 @@ export const KeyUsagesSection = ({return (<div key={usage} className="flex items-center justify-between p-2">- <span className="text-sm capitalize text-mineshaft-300">+ <span className="text-mineshaft-300 text-sm capitalize">{formatUsageName(usage)}</span><UsageToggle@@ -103,7 +103,7 @@ export const KeyUsagesSection = ({</div><div className="space-y-3">- <h3 className="text-sm font-medium text-mineshaft-200">Extended Key Usages</h3>+ <h3 className="text-mineshaft-200 text-sm font-medium">Extended Key Usages</h3><div className="grid grid-cols-2 gap-3">{EXTENDED_KEY_USAGES.map((usage) => {const requiredUsages = Array.isArray(watchedExtendedKeyUsages?.requiredUsages)@@ -117,7 +117,7 @@ export const KeyUsagesSection = ({return (<div key={usage} className="flex items-center justify-between p-2">- <span className="text-sm capitalize text-mineshaft-300">+ <span className="text-mineshaft-300 text-sm capitalize">{formatUsageName(usage)}</span><UsageTogglediff --git a/frontend/src/routeTree.gen.ts b/frontend/src/routeTree.gen.tsindex 277baa912f..1562f302df 100644--- a/frontend/src/routeTree.gen.ts+++ b/frontend/src/routeTree.gen.ts@@ -114,7 +114,6 @@ import { Route as kmsSettingsPageRouteImport } from './pages/kms/SettingsPage/roimport { Route as kmsOverviewPageRouteImport } from './pages/kms/OverviewPage/route'import { Route as kmsKmipPageRouteImport } from './pages/kms/KmipPage/route'import { Route as certManagerSettingsPageRouteImport } from './pages/cert-manager/SettingsPage/route'-import { Route as certManagerPoliciesPageRouteImport } from './pages/cert-manager/PoliciesPage/route'import { Route as certManagerCertificatesPageRouteImport } from './pages/cert-manager/CertificatesPage/route'import { Route as certManagerCertificateAuthoritiesPageRouteImport } from './pages/cert-manager/CertificateAuthoritiesPage/route'import { Route as certManagerAlertingPageRouteImport } from './pages/cert-manager/AlertingPage/route'@@ -1217,13 +1216,6 @@ const certManagerSettingsPageRouteRoute =getParentRoute: () => certManagerLayoutRoute,} as any)-const certManagerPoliciesPageRouteRoute =- certManagerPoliciesPageRouteImport.update({- id: '/policies',- path: '/policies',- getParentRoute: () => certManagerLayoutRoute,- } as any)-const certManagerCertificatesPageRouteRoute =certManagerCertificatesPageRouteImport.update({id: '/certificates',@@ -2828,13 +2820,6 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof certManagerCertificatesPageRouteImportparentRoute: typeof certManagerLayoutImport}- '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/policies': {- id: '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/policies'- path: '/policies'- fullPath: '/projects/cert-management/$projectId/policies'- preLoaderRoute: typeof certManagerPoliciesPageRouteImport- parentRoute: typeof certManagerLayoutImport- }'/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/settings': {id: '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/settings'path: '/settings'@@ -4180,7 +4165,6 @@ interface certManagerLayoutRouteChildren {certManagerAlertingPageRouteRoute: typeof certManagerAlertingPageRouteRoutecertManagerCertificateAuthoritiesPageRouteRoute: typeof certManagerCertificateAuthoritiesPageRouteRoutecertManagerCertificatesPageRouteRoute: typeof certManagerCertificatesPageRouteRoute- certManagerPoliciesPageRouteRoute: typeof certManagerPoliciesPageRouteRoutecertManagerSettingsPageRouteRoute: typeof certManagerSettingsPageRouteRouteprojectAccessControlPageRouteCertManagerRoute: typeof projectAccessControlPageRouteCertManagerRouteprojectAppConnectionsPageRouteCertManagerRoute: typeof projectAppConnectionsPageRouteCertManagerRoute@@ -4201,7 +4185,6 @@ const certManagerLayoutRouteChildren: certManagerLayoutRouteChildren = {certManagerCertificateAuthoritiesPageRouteRoute:certManagerCertificateAuthoritiesPageRouteRoute,certManagerCertificatesPageRouteRoute: certManagerCertificatesPageRouteRoute,- certManagerPoliciesPageRouteRoute: certManagerPoliciesPageRouteRoute,certManagerSettingsPageRouteRoute: certManagerSettingsPageRouteRoute,projectAccessControlPageRouteCertManagerRoute:projectAccessControlPageRouteCertManagerRoute,@@ -5117,7 +5100,6 @@ export interface FileRoutesByFullPath {'/projects/cert-management/$projectId/alerting': typeof certManagerAlertingPageRouteRoute'/projects/cert-management/$projectId/certificate-authorities': typeof certManagerCertificateAuthoritiesPageRouteRoute'/projects/cert-management/$projectId/certificates': typeof certManagerCertificatesPageRouteRoute- '/projects/cert-management/$projectId/policies': typeof certManagerPoliciesPageRouteRoute'/projects/cert-management/$projectId/settings': typeof certManagerSettingsPageRouteRoute'/projects/kms/$projectId/kmip': typeof kmsKmipPageRouteRoute'/projects/kms/$projectId/overview': typeof kmsOverviewPageRouteRoute@@ -5351,7 +5333,6 @@ export interface FileRoutesByTo {'/projects/cert-management/$projectId/alerting': typeof certManagerAlertingPageRouteRoute'/projects/cert-management/$projectId/certificate-authorities': typeof certManagerCertificateAuthoritiesPageRouteRoute'/projects/cert-management/$projectId/certificates': typeof certManagerCertificatesPageRouteRoute- '/projects/cert-management/$projectId/policies': typeof certManagerPoliciesPageRouteRoute'/projects/cert-management/$projectId/settings': typeof certManagerSettingsPageRouteRoute'/projects/kms/$projectId/kmip': typeof kmsKmipPageRouteRoute'/projects/kms/$projectId/overview': typeof kmsOverviewPageRouteRoute@@ -5597,7 +5578,6 @@ export interface FileRoutesById {'/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/alerting': typeof certManagerAlertingPageRouteRoute'/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/certificate-authorities': typeof certManagerCertificateAuthoritiesPageRouteRoute'/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/certificates': typeof certManagerCertificatesPageRouteRoute- '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/policies': typeof certManagerPoliciesPageRouteRoute'/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/settings': typeof certManagerSettingsPageRouteRoute'/_authenticate/_inject-org-details/_org-layout/projects/kms/$projectId/_kms-layout/kmip': typeof kmsKmipPageRouteRoute'/_authenticate/_inject-org-details/_org-layout/projects/kms/$projectId/_kms-layout/overview': typeof kmsOverviewPageRouteRoute@@ -5841,7 +5821,6 @@ export interface FileRouteTypes {| '/projects/cert-management/$projectId/alerting'| '/projects/cert-management/$projectId/certificate-authorities'| '/projects/cert-management/$projectId/certificates'- | '/projects/cert-management/$projectId/policies'| '/projects/cert-management/$projectId/settings'| '/projects/kms/$projectId/kmip'| '/projects/kms/$projectId/overview'@@ -6074,7 +6053,6 @@ export interface FileRouteTypes {| '/projects/cert-management/$projectId/alerting'| '/projects/cert-management/$projectId/certificate-authorities'| '/projects/cert-management/$projectId/certificates'- | '/projects/cert-management/$projectId/policies'| '/projects/cert-management/$projectId/settings'| '/projects/kms/$projectId/kmip'| '/projects/kms/$projectId/overview'@@ -6318,7 +6296,6 @@ export interface FileRouteTypes {| '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/alerting'| '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/certificate-authorities'| '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/certificates'- | '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/policies'| '/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/settings'| '/_authenticate/_inject-org-details/_org-layout/projects/kms/$projectId/_kms-layout/kmip'| '/_authenticate/_inject-org-details/_org-layout/projects/kms/$projectId/_kms-layout/overview'@@ -6966,7 +6943,6 @@ export const routeTree = rootRoute"/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/alerting","/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/certificate-authorities","/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/certificates",- "/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/policies","/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/settings","/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/access-management","/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/app-connections",@@ -7084,10 +7060,6 @@ export const routeTree = rootRoute"filePath": "cert-manager/CertificatesPage/route.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout"},- "/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/policies": {- "filePath": "cert-manager/PoliciesPage/route.tsx",- "parent": "/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout"- },"/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout/settings": {"filePath": "cert-manager/SettingsPage/route.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/projects/cert-management/$projectId/_cert-manager-layout"