mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 13:28:34 +00:00
Fix lint issues
This commit is contained in:
@@ -28,7 +28,6 @@ export default function ChecklyCreateIntegrationPage() {
|
|||||||
const integrationAuth = await mutateAsync({
|
const integrationAuth = await mutateAsync({
|
||||||
workspaceId: localStorage.getItem("projectData.id"),
|
workspaceId: localStorage.getItem("projectData.id"),
|
||||||
integration: "checkly",
|
integration: "checkly",
|
||||||
accessId: null,
|
|
||||||
accessToken,
|
accessToken,
|
||||||
url: null,
|
url: null,
|
||||||
namespace: null
|
namespace: null
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ export default function CircleCICreateIntegrationPage() {
|
|||||||
workspaceId: localStorage.getItem("projectData.id"),
|
workspaceId: localStorage.getItem("projectData.id"),
|
||||||
integration: "circleci",
|
integration: "circleci",
|
||||||
accessToken: apiKey,
|
accessToken: apiKey,
|
||||||
accessId: null,
|
|
||||||
url: null,
|
url: null,
|
||||||
namespace:null
|
namespace:null
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ export default function Cloud66CreateIntegrationPage() {
|
|||||||
const integrationAuth = await mutateAsync({
|
const integrationAuth = await mutateAsync({
|
||||||
workspaceId: localStorage.getItem("projectData.id"),
|
workspaceId: localStorage.getItem("projectData.id"),
|
||||||
integration: "cloud-66",
|
integration: "cloud-66",
|
||||||
accessId: null,
|
|
||||||
accessToken: apiKey,
|
accessToken: apiKey,
|
||||||
url: null,
|
url: null,
|
||||||
namespace: null
|
namespace: null
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ export default function CodefreshCreateIntegrationPage() {
|
|||||||
const integrationAuth = await mutateAsync({
|
const integrationAuth = await mutateAsync({
|
||||||
workspaceId: localStorage.getItem("projectData.id"),
|
workspaceId: localStorage.getItem("projectData.id"),
|
||||||
integration: "codefresh",
|
integration: "codefresh",
|
||||||
accessId: null,
|
|
||||||
accessToken: apiKey,
|
accessToken: apiKey,
|
||||||
url: null,
|
url: null,
|
||||||
namespace: null
|
namespace: null
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ export default function DigitalOceanAppPlatformCreateIntegrationPage() {
|
|||||||
const integrationAuth = await mutateAsync({
|
const integrationAuth = await mutateAsync({
|
||||||
workspaceId: localStorage.getItem("projectData.id"),
|
workspaceId: localStorage.getItem("projectData.id"),
|
||||||
integration: "digital-ocean-app-platform",
|
integration: "digital-ocean-app-platform",
|
||||||
accessId: null,
|
|
||||||
accessToken: apiKey,
|
accessToken: apiKey,
|
||||||
url: null,
|
url: null,
|
||||||
namespace: null
|
namespace: null
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ export default function FlyioCreateIntegrationPage() {
|
|||||||
const integrationAuth = await mutateAsync({
|
const integrationAuth = await mutateAsync({
|
||||||
workspaceId: localStorage.getItem("projectData.id"),
|
workspaceId: localStorage.getItem("projectData.id"),
|
||||||
integration: "flyio",
|
integration: "flyio",
|
||||||
accessId: null,
|
|
||||||
accessToken,
|
accessToken,
|
||||||
url: null,
|
url: null,
|
||||||
namespace: null
|
namespace: null
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
import crypto from "crypto";
|
import crypto from "crypto";
|
||||||
|
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import { useRouter } from "next/router";
|
import { useRouter } from "next/router";
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
||||||
import { faGoogle } from "@fortawesome/free-brands-svg-icons";
|
import { faGoogle } from "@fortawesome/free-brands-svg-icons";
|
||||||
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
useSaveIntegrationAccessToken,
|
useGetCloudIntegrations,
|
||||||
useGetCloudIntegrations
|
useSaveIntegrationAccessToken} from "@app/hooks/api";
|
||||||
} from "@app/hooks/api";
|
|
||||||
|
|
||||||
import { Button, Card, CardTitle, FormControl, Input, TextArea } from "../../../components/v2";
|
import { Button, Card, CardTitle, FormControl, TextArea } from "../../../components/v2";
|
||||||
|
|
||||||
export default function GCPSecretManagerAuthorizeIntegrationPage() {
|
export default function GCPSecretManagerAuthorizeIntegrationPage() {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|||||||
@@ -2,10 +2,6 @@ import { useEffect, useState } from "react";
|
|||||||
import { useRouter } from "next/router";
|
import { useRouter } from "next/router";
|
||||||
import queryString from "query-string";
|
import queryString from "query-string";
|
||||||
|
|
||||||
import {
|
|
||||||
useCreateIntegration
|
|
||||||
} from "@app/hooks/api";
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
Button,
|
Button,
|
||||||
Card,
|
Card,
|
||||||
@@ -15,7 +11,10 @@ import {
|
|||||||
Select,
|
Select,
|
||||||
SelectItem
|
SelectItem
|
||||||
} from "@app/components/v2";
|
} from "@app/components/v2";
|
||||||
import { useGetIntegrationAuthById, useGetIntegrationAuthApps } from "@app/hooks/api/integrationAuth";
|
import {
|
||||||
|
useCreateIntegration
|
||||||
|
} from "@app/hooks/api";
|
||||||
|
import { useGetIntegrationAuthApps,useGetIntegrationAuthById } from "@app/hooks/api/integrationAuth";
|
||||||
import { useGetWorkspaceById } from "@app/hooks/api/workspace";
|
import { useGetWorkspaceById } from "@app/hooks/api/workspace";
|
||||||
|
|
||||||
export default function GCPSecretManagerCreateIntegrationPage() {
|
export default function GCPSecretManagerCreateIntegrationPage() {
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ export default function NorthflankCreateIntegrationPage() {
|
|||||||
workspaceId: localStorage.getItem("projectData.id"),
|
workspaceId: localStorage.getItem("projectData.id"),
|
||||||
integration: "northflank",
|
integration: "northflank",
|
||||||
accessToken: apiKey,
|
accessToken: apiKey,
|
||||||
accessId: null,
|
|
||||||
url: null,
|
url: null,
|
||||||
namespace: null
|
namespace: null
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ export default function RailwayAuthorizeIntegrationPage() {
|
|||||||
const integrationAuth = await mutateAsync({
|
const integrationAuth = await mutateAsync({
|
||||||
workspaceId: localStorage.getItem("projectData.id"),
|
workspaceId: localStorage.getItem("projectData.id"),
|
||||||
integration: "railway",
|
integration: "railway",
|
||||||
accessId: null,
|
|
||||||
accessToken: apiKey,
|
accessToken: apiKey,
|
||||||
url: null,
|
url: null,
|
||||||
namespace: null
|
namespace: null
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ export default function RenderCreateIntegrationPage() {
|
|||||||
const integrationAuth = await mutateAsync({
|
const integrationAuth = await mutateAsync({
|
||||||
workspaceId: localStorage.getItem("projectData.id"),
|
workspaceId: localStorage.getItem("projectData.id"),
|
||||||
integration: "render",
|
integration: "render",
|
||||||
accessId: null,
|
|
||||||
accessToken: apiKey,
|
accessToken: apiKey,
|
||||||
url: null,
|
url: null,
|
||||||
namespace: null
|
namespace: null
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ export default function SupabaseCreateIntegrationPage() {
|
|||||||
workspaceId: localStorage.getItem("projectData.id"),
|
workspaceId: localStorage.getItem("projectData.id"),
|
||||||
integration: "supabase",
|
integration: "supabase",
|
||||||
accessToken: apiKey,
|
accessToken: apiKey,
|
||||||
accessId: null,
|
|
||||||
url: null,
|
url: null,
|
||||||
namespace: null
|
namespace: null
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ export default function TeamCityCreateIntegrationPage() {
|
|||||||
const integrationAuth = await mutateAsync({
|
const integrationAuth = await mutateAsync({
|
||||||
workspaceId: localStorage.getItem("projectData.id"),
|
workspaceId: localStorage.getItem("projectData.id"),
|
||||||
integration: "teamcity",
|
integration: "teamcity",
|
||||||
accessId: null,
|
|
||||||
accessToken: apiKey,
|
accessToken: apiKey,
|
||||||
url: serverUrl,
|
url: serverUrl,
|
||||||
namespace: null
|
namespace: null
|
||||||
|
|||||||
Reference in New Issue
Block a user