Refactor Northflank connection code and improve documentation

- Cleaned up code formatting in Northflank connection functions and schemas for better readability.
- Enhanced error logging in the Northflank connection service to include additional context.
- Updated Northflank integration documentation for clarity and accuracy, including minor text corrections and URL adjustments.
- Removed unnecessary whitespace in various files for consistency.
This commit is contained in:
Your Name
2025-10-22 10:53:46 -03:00
parent 2385e85baf
commit c3899a0e81
6 changed files with 18 additions and 31 deletions
@@ -13,8 +13,8 @@ import {
import { APP_CONNECTION_MAP, getAppConnectionMethodDetails } from "@app/helpers/appConnections";
import { AppConnection } from "@app/hooks/api/appConnections/enums";
import {
TNorthflankConnection,
NorthflankConnectionMethod
NorthflankConnectionMethod,
TNorthflankConnection
} from "@app/hooks/api/appConnections/types/northflank-connection";
import {
@@ -86,7 +86,7 @@ export const NorthflankConnectionForm = ({ appConnection, onSubmit }: Props) =>
{Object.values(NorthflankConnectionMethod).map((method) => {
return (
<SelectItem value={method} key={method}>
{getAppConnectionMethodDetails(method).name}{" "}
{getAppConnectionMethodDetails(method).name}
</SelectItem>
);
})}
@@ -133,4 +133,3 @@ export const NorthflankConnectionForm = ({ appConnection, onSubmit }: Props) =>
</FormProvider>
);
};