mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 09:26:47 +00:00
lint
This commit is contained in:
@@ -3,8 +3,8 @@ import { useQuery, UseQueryOptions } from "@tanstack/react-query";
|
|||||||
import { apiRequest } from "@app/config/request";
|
import { apiRequest } from "@app/config/request";
|
||||||
|
|
||||||
import { TPamResourceOption } from "./types/resource-options";
|
import { TPamResourceOption } from "./types/resource-options";
|
||||||
import { TPamAccount, TPamFolder, TPamResource, TPamSession } from "./types";
|
|
||||||
import { PamResourceType } from "./enums";
|
import { PamResourceType } from "./enums";
|
||||||
|
import { TPamAccount, TPamFolder, TPamResource, TPamSession } from "./types";
|
||||||
|
|
||||||
export const pamKeys = {
|
export const pamKeys = {
|
||||||
all: ["pam"] as const,
|
all: ["pam"] as const,
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,4 @@
|
|||||||
|
import { useState } from "react";
|
||||||
import { Controller, FormProvider, useFieldArray, useForm } from "react-hook-form";
|
import { Controller, FormProvider, useFieldArray, useForm } from "react-hook-form";
|
||||||
import { faPlus, faTrash } from "@fortawesome/free-solid-svg-icons";
|
import { faPlus, faTrash } from "@fortawesome/free-solid-svg-icons";
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
@@ -7,7 +8,6 @@ import { z } from "zod";
|
|||||||
import { Button, FormControl, FormLabel, IconButton, Input, ModalClose } from "@app/components/v2";
|
import { Button, FormControl, FormLabel, IconButton, Input, ModalClose } from "@app/components/v2";
|
||||||
import { LogProvider } from "@app/hooks/api/auditLogStreams/enums";
|
import { LogProvider } from "@app/hooks/api/auditLogStreams/enums";
|
||||||
import { TCustomProviderLogStream } from "@app/hooks/api/auditLogStreams/types/providers/custom-provider";
|
import { TCustomProviderLogStream } from "@app/hooks/api/auditLogStreams/types/providers/custom-provider";
|
||||||
import { useState } from "react";
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
auditLogStream?: TCustomProviderLogStream;
|
auditLogStream?: TCustomProviderLogStream;
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
|
import { useState } from "react";
|
||||||
import { Controller, useFormContext } from "react-hook-form";
|
import { Controller, useFormContext } from "react-hook-form";
|
||||||
|
|
||||||
import { FormControl, Input } from "@app/components/v2";
|
import { FormControl, Input } from "@app/components/v2";
|
||||||
import { useState } from "react";
|
|
||||||
|
|
||||||
export const SqlAccountFields = ({ isUpdate }: { isUpdate: boolean }) => {
|
export const SqlAccountFields = ({ isUpdate }: { isUpdate: boolean }) => {
|
||||||
const { control } = useFormContext();
|
const { control } = useFormContext();
|
||||||
|
|||||||
Reference in New Issue
Block a user