linter fixes

This commit is contained in:
Your Name
2025-10-22 11:06:53 -03:00
parent c3899a0e81
commit 9eec95b427
7 changed files with 9 additions and 6 deletions

View File

@@ -3,4 +3,3 @@ export * from "./northflank-connection-fns";
export * from "./northflank-connection-schemas";
export * from "./northflank-connection-service";
export * from "./northflank-connection-types";

View File

@@ -1,4 +1,3 @@
export enum NorthflankConnectionMethod {
ApiToken = "api-token"
}

View File

@@ -28,4 +28,3 @@ export type TNorthflankProject = {
id: string;
name: string;
};

View File

@@ -1,18 +1,22 @@
import { logger } from "@app/lib/logger";
import { TSecretMap, TSecretSyncWithCredentials } from "@app/services/secret-sync/secret-sync-types";
export const NorthflankSyncFns = {
syncSecrets: async (secretSync: TSecretSyncWithCredentials, secretMap: TSecretMap): Promise<void> => {
// TODO: Will be implemented in the follow up PR
logger.error({ secretSync, secretMap }, "Northflank secret sync not yet implemented");
throw new Error("Northflank secret sync not yet implemented");
},
getSecrets: async (secretSync: TSecretSyncWithCredentials): Promise<TSecretMap> => {
// TODO: Will be implemented in the follow up PR
logger.error({ secretSync }, "Northflank secret retrieval not yet implemented");
throw new Error("Northflank secret retrieval not yet implemented");
},
removeSecrets: async (secretSync: TSecretSyncWithCredentials, secretMap: TSecretMap): Promise<void> => {
// TODO: Will be implemented in the follow up PR
logger.error({ secretSync, secretMap }, "Northflank secret removal not yet implemented");
throw new Error("Northflank secret removal not yet implemented");
}
};

View File

@@ -1,6 +1,5 @@
import { z } from "zod";
import { SecretSyncs } from "@app/lib/api-docs";
import { AppConnection } from "@app/services/app-connection/app-connection-enums";
import { SecretSync } from "@app/services/secret-sync/secret-sync-enums";
import {

View File

@@ -2,7 +2,11 @@ import { z } from "zod";
import { TNorthflankConnection } from "@app/services/app-connection/northflank";
import { CreateNorthflankSyncSchema, NorthflankSyncListItemSchema, NorthflankSyncSchema } from "./northflank-sync-schemas";
import {
CreateNorthflankSyncSchema,
NorthflankSyncListItemSchema,
NorthflankSyncSchema
} from "./northflank-sync-schemas";
export type TNorthflankSyncListItem = z.infer<typeof NorthflankSyncListItemSchema>;

View File

@@ -11,4 +11,3 @@ export type TNorthflankConnection = TRootAppConnection & { app: AppConnection.No
apiToken: string;
};
};