Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Linter

Fang-Pen Line02afc5eefed
diff --git a/backend/src/ee/services/pki-acme/pki-acme-errors.ts b/backend/src/ee/services/pki-acme/pki-acme-errors.ts
index ed075d63be..5872addaea 100644
--- a/backend/src/ee/services/pki-acme/pki-acme-errors.ts
+++ b/backend/src/ee/services/pki-acme/pki-acme-errors.ts
@@ -3,6 +3,8 @@
* https://datatracker.ietf.org/doc/html/rfc8555#section-6.7
*/
+/* eslint-disable max-classes-per-file */
+
// RFC 8555 Section 6.7 - Error Types
export enum AcmeErrorType {
AccountDoesNotExist = "accountDoesNotExist",
diff --git a/backend/src/ee/services/pki-acme/pki-acme-order-dal.ts b/backend/src/ee/services/pki-acme/pki-acme-order-dal.ts
index ca02b09bbc..bb3671daa9 100644
--- a/backend/src/ee/services/pki-acme/pki-acme-order-dal.ts
+++ b/backend/src/ee/services/pki-acme/pki-acme-order-dal.ts
@@ -1,7 +1,7 @@
import { Knex } from "knex";
import { TDbClient } from "@app/db";
-import { TableName, TPkiAcmeAuths, TPkiAcmeOrderAuths } from "@app/db/schemas";
+import { TableName } from "@app/db/schemas";
import { DatabaseError } from "@app/lib/errors";
import { ormify, selectAllTableCols, sqlNestRelationships } from "@app/lib/knex";
diff --git a/backend/src/ee/services/pki-acme/pki-acme-types.ts b/backend/src/ee/services/pki-acme/pki-acme-types.ts
index e9154fb5da..3132c98122 100644
--- a/backend/src/ee/services/pki-acme/pki-acme-types.ts
+++ b/backend/src/ee/services/pki-acme/pki-acme-types.ts
@@ -1,6 +1,5 @@
import { z } from "zod";
-import { TPkiAcmeChallenges } from "@app/db/schemas";
import { JWSHeaderParameters } from "jose";
import {
AcmeOrderResourceSchema,
@@ -51,7 +50,7 @@ export type TAcmeResponse<TPayload> = {
export type TPkiAcmeServiceFactory = {
validateJwsPayload: <
- TSchema extends z.ZodSchema<any> | undefined = undefined,
+ TSchema extends z.ZodSchema<unknown> | undefined = undefined,
T = TSchema extends z.ZodSchema<infer R> ? R : string
>({
url,
@@ -72,7 +71,7 @@ export type TPkiAcmeServiceFactory = {
rawJwsPayload: TRawJwsPayload;
}) => Promise<TJwsPayload<TCreateAcmeAccountPayload>>;
validateExistingAccountJwsPayload: <
- TSchema extends z.ZodSchema<any> | undefined = undefined,
+ TSchema extends z.ZodSchema<unknown> | undefined = undefined,
T = TSchema extends z.ZodSchema<infer R> ? R : string
>({
url,