Skip to content

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

feat(infisical-pg): changed frontend api types _id to normal id

Akhil Mohanaaba4a0895bc
diff --git a/frontend/package.json b/frontend/package.json
index 0d6fded0f7..6ea8e499d8 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -8,7 +8,7 @@
"start:docker": "next build && next start",
"lint": "eslint --ext js,ts,tsx ./src",
"lint:fix": "eslint --fix --ext js,ts,tsx ./src",
- "type-check": "tsc --project tsconfig.json",
+ "type:check": "tsc --project tsconfig.json --noEmit",
"storybook": "storybook dev -p 6006 -s ./public",
"build-storybook": "storybook build"
},
diff --git a/frontend/public/data/frequentInterfaces.ts b/frontend/public/data/frequentInterfaces.ts
index 953096e1d5..eb40782da3 100644
--- a/frontend/public/data/frequentInterfaces.ts
+++ b/frontend/public/data/frequentInterfaces.ts
@@ -1,5 +1,5 @@
export interface Tag {
- _id: string;
+ id: string;
name: string;
slug: string;
user: string;
@@ -16,4 +16,4 @@ export interface SecretDataProps {
idOverride?: string;
comment: string;
tags: Tag[];
-}
\ No newline at end of file
+}
diff --git a/frontend/src/components/AddTagPopoverContent/AddTagPopoverContent.tsx b/frontend/src/components/AddTagPopoverContent/AddTagPopoverContent.tsx
index d69cc76c87..56bee047fb 100644
--- a/frontend/src/components/AddTagPopoverContent/AddTagPopoverContent.tsx
+++ b/frontend/src/components/AddTagPopoverContent/AddTagPopoverContent.tsx
@@ -31,18 +31,18 @@ const AddTagPopoverContent = ({
return (
<PopoverContent
side="left"
- className="relative max-h-96 w-auto min-w-[200px] p-2 overflow-y-auto overflow-x-hidden border border-mineshaft-600 bg-mineshaft-800 text-bunker-200"
+ className="relative max-h-96 w-auto min-w-[200px] overflow-y-auto overflow-x-hidden border border-mineshaft-600 bg-mineshaft-800 p-2 text-bunker-200"
hideCloseBtn
>
<div className=" text-center text-sm font-medium text-bunker-200">
Add tags to {secKey || "this secret"}
</div>
- <div className="absolute left-0 w-full border-mineshaft-600 border-t mt-2" />
+ <div className="absolute left-0 mt-2 w-full border-t border-mineshaft-600" />
<div className="flex flex-col space-y-1.5">
{wsTags?.map((wsTag: WsTag) => (
<div
key={`tag-${wsTag.id}`}
- className="mt-4 h-[32px] relative flex items-center justify-start hover:border-mineshaft-600 hover:border hover:bg-mineshaft-700 p-2 rounded-md hover:text-bunker-200 bg-none"
+ className="relative mt-4 flex h-[32px] items-center justify-start rounded-md bg-none p-2 hover:border hover:border-mineshaft-600 hover:bg-mineshaft-700 hover:text-bunker-200"
onClick={() => handleSelectTag(wsTag)}
onMouseEnter={() => handleTagOnMouseEnter(wsTag)}
onMouseLeave={() => handleTagOnMouseLeave()}
@@ -54,7 +54,7 @@ const AddTagPopoverContent = ({
<Checkbox
id="autoCapitalization"
isChecked={selectedTagIds?.[wsTag.slug]}
- className="absolute top-[50%] translate-y-[-50%] left-[10px] "
+ className="absolute top-[50%] left-[10px] translate-y-[-50%] "
checkIndicatorBg={`${
!selectedTagIds?.[wsTag.slug] ? "text-transparent" : "text-mineshaft-800"
}`}
@@ -62,7 +62,7 @@ const AddTagPopoverContent = ({
)}
<div className="ml-7 flex items-center gap-3">
<div
- className="w-[10px] h-[10px] rounded-full"
+ className="h-[10px] w-[10px] rounded-full"
style={{ background: wsTag?.tagColor ? wsTag.tagColor : "#bec2c8" }}
>
{" "}
diff --git a/frontend/src/components/basic/dialog/UpgradePlan.tsx b/frontend/src/components/basic/dialog/UpgradePlan.tsx
index 517d5a2335..7c381df832 100644
--- a/frontend/src/components/basic/dialog/UpgradePlan.tsx
+++ b/frontend/src/components/basic/dialog/UpgradePlan.tsx
@@ -4,73 +4,64 @@ import { Dialog, Transition } from "@headlessui/react";
import { useOrganization } from "@app/context";
-// REFACTOR: Move all these modals into one reusable one
+// REFACTOR: Move all these modals into one reusable one
type Props = {
isOpen?: boolean;
- onClose: ()=>void;
+ onClose: () => void;
text: string;
-}
+};
-const UpgradePlanModal = ({
- isOpen,
- onClose,
- text,
-}:Props) => {
+const UpgradePlanModal = ({ isOpen, onClose, text }: Props) => {
const router = useRouter();
const { currentOrg } = useOrganization();
return (
<div>
<Transition appear show={isOpen} as={Fragment}>
- <Dialog as='div' className='relative z-10' onClose={onClose}>
+ <Dialog as="div" className="relative z-10" onClose={onClose}>
<Transition.Child
as={Fragment}
- enter='ease-out duration-300'
- enterFrom='opacity-0'
- enterTo='opacity-100'
- leave='ease-in duration-150'
- leaveFrom='opacity-100'
- leaveTo='opacity-0'
+ enter="ease-out duration-300"
+ enterFrom="opacity-0"
+ enterTo="opacity-100"
+ leave="ease-in duration-150"
+ leaveFrom="opacity-100"
+ leaveTo="opacity-0"
>
- <div className='fixed inset-0 bg-black bg-opacity-50 drop-shadow-xl' />
+ <div className="fixed inset-0 bg-black bg-opacity-50 drop-shadow-xl" />
</Transition.Child>
- <div className='fixed inset-0 overflow-y-auto'>
- <div className='flex min-h-full items-center justify-center p-4 text-center'>
+ <div className="fixed inset-0 overflow-y-auto">
+ <div className="flex min-h-full items-center justify-center p-4 text-center">
<Transition.Child
as={Fragment}
- enter='ease-out duration-300'
- enterFrom='opacity-0 scale-95'
- enterTo='opacity-100 scale-100'
- leave='ease-in duration-200'
- leaveFrom='opacity-100 scale-100'
- leaveTo='opacity-0 scale-95'
+ enter="ease-out duration-300"
+ enterFrom="opacity-0 scale-95"
+ enterTo="opacity-100 scale-100"
+ leave="ease-in duration-200"
+ leaveFrom="opacity-100 scale-100"
+ leaveTo="opacity-0 scale-95"
>
- <Dialog.Panel className='w-full max-w-md transform overflow-hidden rounded-md bg-bunker border border-mineshaft-500 p-6 pt-5 text-left align-middle shadow-xl transition-all'>
- <Dialog.Title
- as='h3'
- className='text-xl font-medium leading-6 text-primary'
- >
+ <Dialog.Panel className="w-full max-w-md transform overflow-hidden rounded-md border border-mineshaft-500 bg-bunker p-6 pt-5 text-left align-middle shadow-xl transition-all">
+ <Dialog.Title as="h3" className="text-xl font-medium leading-6 text-primary">
Unleash Infisical&apos;s Full Power
</Dialog.Title>
- <div className='mt-2'>
- <p className='text-sm text-bunker-300 mb-1'>
- {text}
- </p>
- <p className='text-sm text-bunker-300'>
+ <div className="mt-2">
+ <p className="mb-1 text-sm text-bunker-300">{text}</p>
+ <p className="text-sm text-bunker-300">
Upgrade and get access to this, as well as to other powerful enhancements.
</p>
</div>
- <div className='mt-4'>
+ <div className="mt-4">
<button
- type='button'
- className='inline-flex justify-center rounded-md border border-transparent bg-primary opacity-80 hover:opacity-100 px-4 py-2 text-sm font-medium text-black hover:text-semibold duration-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2'
+ type="button"
+ className="hover:text-semibold inline-flex justify-center rounded-md border border-transparent bg-primary px-4 py-2 text-sm font-medium text-black opacity-80 duration-200 hover:opacity-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2"
onClick={() => router.push(`/org/${currentOrg?.id}/billing`)}
>
Upgrade Now
</button>
<button
- type='button'
- className='ml-2 inline-flex justify-center rounded-md border border-transparent bg-gray-800 px-4 py-2 text-sm font-medium text-gray-400 hover:border-red hover:text-red hover:text-semibold duration-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2'
+ type="button"
+ className="hover:text-semibold ml-2 inline-flex justify-center rounded-md border border-transparent bg-gray-800 px-4 py-2 text-sm font-medium text-gray-400 duration-200 hover:border-red hover:text-red focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2"
onClick={onClose}
>
Maybe Later
diff --git a/frontend/src/components/basic/table/ProjectUsersTable.tsx b/frontend/src/components/basic/table/ProjectUsersTable.tsx
index a00eb6543c..adc4b7a9a7 100644
--- a/frontend/src/components/basic/table/ProjectUsersTable.tsx
+++ b/frontend/src/components/basic/table/ProjectUsersTable.tsx
@@ -10,7 +10,8 @@ import {
useDeleteUserFromWorkspace,
useGetUserWsKey,
useUpdateUserWorkspaceRole,
- useUploadWsKey} from "@app/hooks/api";
+ useUploadWsKey
+} from "@app/hooks/api";
import { decryptAssymmetric, encryptAssymmetric } from "../../utilities/cryptography/crypto";
import guidGenerator from "../../utilities/randomId";
@@ -64,7 +65,7 @@ const ProjectUsersTable = ({ userData, changeData, myUser, filter, isUserListLoa
const handleRoleUpdate = async (index: number, e: string) => {
await updateUserWorkspaceRoleMutateAsync({
- membershipId: userData[index].membershipId,
+ membershipId: userData[index].membershipId,
role: e.toLowerCase()
});
createNotification({
@@ -191,11 +192,15 @@ const ProjectUsersTable = ({ userData, changeData, myUser, filter, isUserListLoa
<UpgradePlanModal
isOpen={isUpgradeModalOpen}
onClose={closeUpgradeModal}
- text={subscription.slug === null ? "You can use RBAC under an Enterprise license" : "You can use RBAC if you switch to Infisical's Team Plan."}
+ text={
+ subscription.slug === null
+ ? "You can use RBAC under an Enterprise license"
+ : "You can use RBAC if you switch to Infisical's Team Plan."
+ }
/>
)}
<table className="my-0.5 w-full">
- <thead className="text-xs font-light text-gray-400 bg-mineshaft-800">
+ <thead className="bg-mineshaft-800 text-xs font-light text-gray-400">
<tr>
<th className="py-3.5 pl-4 text-left">NAME</th>
<th className="py-3.5 pl-4 text-left">EMAIL</th>
@@ -213,12 +218,13 @@ const ProjectUsersTable = ({ userData, changeData, myUser, filter, isUserListLoa
</tr>
</thead>
<tbody>
- {!isUserListLoading && userData?.filter(
- (user) =>
- user.firstName?.toLowerCase().includes(filter) ||
- user.lastName?.toLowerCase().includes(filter) ||
- user.email?.toLowerCase().includes(filter)
- ).length > 0 &&
+ {!isUserListLoading &&
+ userData?.filter(
+ (user) =>
+ user.firstName?.toLowerCase().includes(filter) ||
+ user.lastName?.toLowerCase().includes(filter) ||
+ user.email?.toLowerCase().includes(filter)
+ ).length > 0 &&
userData
?.filter(
(user) =>
@@ -373,10 +379,18 @@ const ProjectUsersTable = ({ userData, changeData, myUser, filter, isUserListLoa
</td>
</tr>
))}
- {isUserListLoading && <>
- <tr key={guidGenerator()} className="bg-mineshaft-800 text-sm animate-pulse h-14 w-full"/>
- <tr key={guidGenerator()} className="bg-mineshaft-800 text-sm animate-pulse h-14 w-full"/>
- </>}
+ {isUserListLoading && (
+ <>
+ <tr
+ key={guidGenerator()}
+ className="h-14 w-full animate-pulse bg-mineshaft-800 text-sm"
+ />
+ <tr
+ key={guidGenerator()}
+ className="h-14 w-full animate-pulse bg-mineshaft-800 text-sm"
+ />
+ </>
+ )}
</tbody>
</table>
</div>
diff --git a/frontend/src/components/dashboard/AddTagsMenu.tsx b/frontend/src/components/dashboard/AddTagsMenu.tsx
index dfa902b878..3a54f77ab4 100644
--- a/frontend/src/components/dashboard/AddTagsMenu.tsx
+++ b/frontend/src/components/dashboard/AddTagsMenu.tsx
@@ -13,17 +13,27 @@ import { Tag } from "public/data/frequentInterfaces";
* @param {function} obj.modifyTags - modify tags for a certain secret
* @param {Tag[]} obj.position - currently selected tags for a certain secret
*/
-const AddTagsMenu = ({ allTags, currentTags, modifyTags, id }: { allTags: Tag[]; currentTags: Tag[]; modifyTags: (value: Tag[], id: string) => void; id: string; }) => {
+const AddTagsMenu = ({
+ allTags,
+ currentTags,
+ modifyTags,
+ id
+}: {
+ allTags: Tag[];
+ currentTags: Tag[];
+ modifyTags: (value: Tag[], id: string) => void;
+ id: string;
+}) => {
const router = useRouter();
return (
- <Menu as="div" className="ml-2 relative inline-block text-left">
+ <Menu as="div" className="relative ml-2 inline-block text-left">
<Menu.Button
as="div"
- className="flex justify-center items-center font-medium focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75"
+ className="flex items-center justify-center font-medium focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75"
>
- <div className='bg-mineshaft/30 cursor-pointer rounded-sm text-sm text-mineshaft-200/50 hover:bg-mineshaft/70 duration-200 flex items-center'>
- <FontAwesomeIcon icon={faPlus} className="p-[0.28rem]"/>
- {currentTags?.length > 2 && <span className='pr-2'>{currentTags.length - 2}</span>}
+ <div className="flex cursor-pointer items-center rounded-sm bg-mineshaft/30 text-sm text-mineshaft-200/50 duration-200 hover:bg-mineshaft/70">
+ <FontAwesomeIcon icon={faPlus} className="p-[0.28rem]" />
+ {currentTags?.length > 2 && <span className="pr-2">{currentTags.length - 2}</span>}
</div>
</Menu.Button>
<Transition
@@ -35,24 +45,40 @@ const AddTagsMenu = ({ allTags, currentTags, modifyTags, id }: { allTags: Tag[];
leaveFrom="transform opacity-100 scale-100"
leaveTo="transform opacity-0 scale-95"
>
- <Menu.Items className="absolute z-[90] text-sm drop-shadow-xl right-0 mt-0.5 w-[12rem] origin-top-right rounded-md bg-mineshaft-600 border border-mineshaft-500 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none p-1 space-y-1">
- {allTags?.map((tag) => { return (
- <Menu.Item key={tag.id}>
- <button
- type="button"
- className={`${currentTags?.map(currentTag => currentTag.name).includes(tag.name) ? "opacity-30 cursor-default" : "hover:bg-mineshaft-700"} w-full text-left bg-mineshaft-800 px-2 py-0.5 text-bunker-200 rounded-sm flex items-center`}
- onClick={() => {if (!currentTags?.map(currentTag => currentTag.name).includes(tag.name)) {modifyTags(currentTags.concat([tag]), id)}}}
- >
- {currentTags?.map(currentTag => currentTag.name).includes(tag.name) ? <FontAwesomeIcon icon={faCheckSquare} className="text-xs mr-2 text-primary"/> : <FontAwesomeIcon icon={faSquare} className="text-xs mr-2"/>} {tag.name}
- </button>
- </Menu.Item>
- )})}
+ <Menu.Items className="absolute right-0 z-[90] mt-0.5 w-[12rem] origin-top-right space-y-1 rounded-md border border-mineshaft-500 bg-mineshaft-600 p-1 text-sm shadow-lg ring-1 ring-black ring-opacity-5 drop-shadow-xl focus:outline-none">
+ {allTags?.map((tag) => {
+ return (
+ <Menu.Item key={tag.id}>
+ <button
+ type="button"
+ className={`${
+ currentTags?.map((currentTag) => currentTag.name).includes(tag.name)
+ ? "cursor-default opacity-30"
+ : "hover:bg-mineshaft-700"
+ } flex w-full items-center rounded-sm bg-mineshaft-800 px-2 py-0.5 text-left text-bunker-200`}
+ onClick={() => {
+ if (!currentTags?.map((currentTag) => currentTag.name).includes(tag.name)) {
+ modifyTags(currentTags.concat([tag]), id);
+ }
+ }}
+ >
+ {currentTags?.map((currentTag) => currentTag.name).includes(tag.name) ? (
+ <FontAwesomeIcon icon={faCheckSquare} className="mr-2 text-xs text-primary" />
+ ) : (
+ <FontAwesomeIcon icon={faSquare} className="mr-2 text-xs" />
+ )}{" "}
+ {tag.name}
+ </button>
+ </Menu.Item>
+ );
+ })}
<button
type="button"
- className='w-full text-left bg-mineshaft-800 hover:bg-primary hover:text-black duration-200 px-2 py-0.5 text-bunker-200 rounded-sm'
+ className="w-full rounded-sm bg-mineshaft-800 px-2 py-0.5 text-left text-bunker-200 duration-200 hover:bg-primary hover:text-black"
onClick={() => router.push(`/project/${String(router.query.id)}/settings`)}
>
- <FontAwesomeIcon icon={faPlus} className="mr-2 text-xs" />Add more tags
+ <FontAwesomeIcon icon={faPlus} className="mr-2 text-xs" />
+ Add more tags
</button>
</Menu.Items>
</Transition>
diff --git a/frontend/src/components/dashboard/KeyPair.tsx b/frontend/src/components/dashboard/KeyPair.tsx
index b46c6c07cf..d9d0360aee 100644
--- a/frontend/src/components/dashboard/KeyPair.tsx
+++ b/frontend/src/components/dashboard/KeyPair.tsx
@@ -38,8 +38,7 @@ const colors = [
"bg-[#6F1AB6]/40",
"bg-[#C40B13]/40",
"bg-[#332FD0]/40"
-]
-
+];
const colorsText = [
"text-[#fcf0c3]/70",
@@ -50,7 +49,7 @@ const colorsText = [
"text-[#FFE5F1]/70",
"text-[#FFDEDE]/70",
"text-[#DFF6FF]/70"
-]
+];
/**
* This component represent a single row for an environemnt variable on the dashboard
@@ -83,117 +82,160 @@ const KeyPair = ({
toggleSidebar,
sidebarSecretId,
isCapitalized,
- isSnapshot,
+ isSnapshot,
deleteRow,
togglePITSidebar,
tags
}: KeyPairProps) => {
- const tagData = (tags.map((tag, index) => {return {
- ...tag,
- color: colors[index%colors.length],
- colorText: colorsText[index%colorsText.length]
- }}));
+ const tagData = tags.map((tag, index) => {
+ return {
+ ...tag,
+ color: colors[index % colors.length],
+ colorText: colorsText[index % colorsText.length]
+ };
+ });
return (
- <div
- className={`group flex flex-col items-center border-b border-mineshaft-500 hover:bg-white/[0.03] duration-100 ${isSnapshot && "pointer-events-none"} ${
- keyPair.id === sidebarSecretId && "bg-mineshaft-700 duration-200"
- }`}
- >
- <div className="relative flex flex-row justify-between w-full mr-auto max-h-14 items-center">
- <div className="w-[23%] border-r border-mineshaft-600 flex flex-row items-center">
- <div className='text-bunker-400 text-xs flex items-center justify-center w-14 h-10 cursor-default'>{keyPair.pos + 1}</div>
- <div className="flex items-center max-h-16 w-full">
- <DashboardInputField
- isCapitalized = {isCapitalized}
- onChangeHandler={modifyKey}
- type="varName"
- id={keyPair.id ? keyPair.id : (keyPair.idOverride || "")}
- value={keyPair.key}
- isDuplicate={isDuplicate}
- overrideEnabled={keyPair.valueOverride !== undefined}
- modifyValueOverride={modifyValueOverride}
- isSideBarOpen={keyPair.id === sidebarSecretId}
- />
+ <div
+ className={`group flex flex-col items-center border-b border-mineshaft-500 duration-100 hover:bg-white/[0.03] ${
+ isSnapshot && "pointer-events-none"
+ } ${keyPair.id === sidebarSecretId && "bg-mineshaft-700 duration-200"}`}
+ >
+ <div className="relative mr-auto flex max-h-14 w-full flex-row items-center justify-between">
+ <div className="flex w-[23%] flex-row items-center border-r border-mineshaft-600">
+ <div className="flex h-10 w-14 cursor-default items-center justify-center text-xs text-bunker-400">
+ {keyPair.pos + 1}
+ </div>
+ <div className="flex max-h-16 w-full items-center">
+ <DashboardInputField
+ isCapitalized={isCapitalized}
+ onChangeHandler={modifyKey}
+ type="varName"
+ id={keyPair.id ? keyPair.id : keyPair.idOverride || ""}
+ value={keyPair.key}
+ isDuplicate={isDuplicate}
+ overrideEnabled={keyPair.valueOverride !== undefined}
+ modifyValueOverride={modifyValueOverride}
+ isSideBarOpen={keyPair.id === sidebarSecretId}
+ />
+ </div>
</div>
- </div>
- <div className="w-5/12 border-r border-mineshaft-600">
- <div
- className='flex items-center rounded-lg mt-4 md:mt-0 max-h-10'
- >
- <DashboardInputField
- onChangeHandler={keyPair.valueOverride !== undefined ? modifyValueOverride : modifyValue}
- type="value"
- id={keyPair.id ? keyPair.id : (keyPair.idOverride || "")}
- value={keyPair.valueOverride !== undefined ? keyPair.valueOverride : keyPair.value}
- blurred={isBlurred}
- overrideEnabled={keyPair.valueOverride !== undefined}
- isSideBarOpen={keyPair.id === sidebarSecretId}
- />
+ <div className="w-5/12 border-r border-mineshaft-600">
+ <div className="mt-4 flex max-h-10 items-center rounded-lg md:mt-0">
+ <DashboardInputField
+ onChangeHandler={
+ keyPair.valueOverride !== undefined ? modifyValueOverride : modifyValue
+ }
+ type="value"
+ id={keyPair.id ? keyPair.id : keyPair.idOverride || ""}
+ value={keyPair.valueOverride !== undefined ? keyPair.valueOverride : keyPair.value}
+ blurred={isBlurred}
+ overrideEnabled={keyPair.valueOverride !== undefined}
+ isSideBarOpen={keyPair.id === sidebarSecretId}
+ />
+ </div>
</div>
- </div>
- <div className="w-[calc(10%)] border-r border-mineshaft-600">
- <div className="flex items-center max-h-16">
- <DashboardInputField
- onChangeHandler={modifyComment}
- type="comment"
- id={keyPair.id ? keyPair.id : (keyPair.idOverride || "")}
- value={keyPair.comment}
- isDuplicate={isDuplicate}
- isSideBarOpen={keyPair.id === sidebarSecretId}
- />
+ <div className="w-[calc(10%)] border-r border-mineshaft-600">
+ <div className="flex max-h-16 items-center">
+ <DashboardInputField
+ onChangeHandler={modifyComment}
+ type="comment"
+ id={keyPair.id ? keyPair.id : keyPair.idOverride || ""}
+ value={keyPair.comment}
+ isDuplicate={isDuplicate}
+ isSideBarOpen={keyPair.id === sidebarSecretId}
+ />
+ </div>
</div>
</div>
- <div className="w-2/12 h-10 flex items-center overflow-visible overflow-r-scroll no-scrollbar no-scrollbar::-webkit-scrollbar">
- <div className="flex items-center max-h-16">
- {keyPair.tags?.map((tag, index) => (
- index < 2 && <div key={keyPair.pos} className={`ml-2 px-1.5 ${tagData.filter(tagDp => tagDp.id === tag.id)[0]?.color} rounded-sm text-sm ${tagData.filter(tagDp => tagDp.id === tag.id)[0]?.colorText} flex items-center`}>
- <span className='mb-0.5 cursor-default'>{tag.name}</span>
- <FontAwesomeIcon icon={faXmark} className="ml-1 cursor-pointer p-1" onClick={() => modifyTags(keyPair.tags.filter(ttag => ttag.id !== tag.id), keyPair.id)}/>
- </div>
- ))}
-
- <AddTagsMenu allTags={tags} currentTags={keyPair.tags} modifyTags={modifyTags} id={keyPair.id ? keyPair.id : (keyPair.idOverride || "")} />
+ <div className="overflow-r-scroll no-scrollbar::-webkit-scrollbar flex h-10 w-2/12 items-center overflow-visible no-scrollbar">
+ <div className="flex max-h-16 items-center">
+ {keyPair.tags?.map(
+ (tag, index) =>
+ index < 2 && (
+ <div
+ key={keyPair.pos}
+ className={`ml-2 px-1.5 ${
+ tagData.filter((tagDp) => tagDp.id === tag.id)[0]?.color
+ } rounded-sm text-sm ${
+ tagData.filter((tagDp) => tagDp.id === tag.id)[0]?.colorText
+ } flex items-center`}
+ >
+ <span className="mb-0.5 cursor-default">{tag.name}</span>
+ <FontAwesomeIcon
+ icon={faXmark}
+ className="ml-1 cursor-pointer p-1"
+ onClick={() =>
+ modifyTags(
+ keyPair.tags.filter((ttag) => ttag.id !== tag.id),
+ keyPair.id
+ )
+ }
+ />
+ </div>
+ )
+ )}
+
+ <AddTagsMenu
+ allTags={tags}
+ currentTags={keyPair.tags}
+ modifyTags={modifyTags}
+ id={keyPair.id ? keyPair.id : keyPair.idOverride || ""}
+ />
</div>
- </div>
- <div
- onKeyDown={() => null}
- role="button"
- tabIndex={0}
- onClick={() => {
- if (togglePITSidebar) {
- togglePITSidebar(false);
- }
- toggleSidebar(keyPair.id)
- }}
- className={`cursor-pointer w-[1.5rem] h-[2.35rem] ml-auto group-hover:bg-mineshaft-700 z-50 rounded-md invisible group-hover:visible flex flex-row justify-center items-center ${isSnapshot ?? "invisible"}`}
- >
- <FontAwesomeIcon className="text-bunker-300 hover:text-primary text-lg" icon={faEllipsis} />
- </div>
- <div className={`group-hover:bg-mineshaft-700 z-50 ${isSnapshot ?? "invisible"}`}>
- {keyPair.key || keyPair.value
- ? <DeleteActionButton
- onSubmit={() => { if (deleteRow) {
- deleteRow({ ids: [keyPair.id], secretName: keyPair?.key })
- }}}
- isPlain
- />
- : <div className='cursor-pointer w-[1.5rem] h-[2.35rem] mr-2 flex items-center justfy-center'>
<div
onKeyDown={() => null}
role="button"
tabIndex={0}
- onClick={() => { if (deleteRow) {
- deleteRow({ ids: [keyPair.id], secretName: keyPair?.key })
- }}}
- className="invisible group-hover:visible"
+ onClick={() => {
+ if (togglePITSidebar) {
+ togglePITSidebar(false);
+ }
+ toggleSidebar(keyPair.id);
+ }}
+ className={`invisible z-50 ml-auto flex h-[2.35rem] w-[1.5rem] cursor-pointer flex-row items-center justify-center rounded-md group-hover:visible group-hover:bg-mineshaft-700 ${
+ isSnapshot ?? "invisible"
+ }`}
>
- <FontAwesomeIcon className="text-bunker-300 hover:text-red pl-2 pr-6 text-lg mt-0.5" icon={faXmark} />
+ <FontAwesomeIcon
+ className="text-lg text-bunker-300 hover:text-primary"
+ icon={faEllipsis}
+ />
+ </div>
+ <div className={`z-50 group-hover:bg-mineshaft-700 ${isSnapshot ?? "invisible"}`}>
+ {keyPair.key || keyPair.value ? (
+ <DeleteActionButton
+ onSubmit={() => {
+ if (deleteRow) {
+ deleteRow({ ids: [keyPair.id], secretName: keyPair?.key });
+ }
+ }}
+ isPlain
+ />
+ ) : (
+ <div className="justfy-center mr-2 flex h-[2.35rem] w-[1.5rem] cursor-pointer items-center">
+ <div
+ onKeyDown={() => null}
+ role="button"
+ tabIndex={0}
+ onClick={() => {
+ if (deleteRow) {
+ deleteRow({ ids: [keyPair.id], secretName: keyPair?.key });
+ }
+ }}
+ className="invisible group-hover:visible"
+ >
+ <FontAwesomeIcon
+ className="mt-0.5 pl-2 pr-6 text-lg text-bunker-300 hover:text-red"
+ icon={faXmark}
+ />
+ </div>
+ </div>
+ )}
</div>
- </div>}
</div>
</div>
- </div>
-)};
+ );
+};
export default KeyPair;
diff --git a/frontend/src/components/navigation/NavHeader.tsx b/frontend/src/components/navigation/NavHeader.tsx
index b8ebee59c1..2bf5969154 100644
--- a/frontend/src/components/navigation/NavHeader.tsx
+++ b/frontend/src/components/navigation/NavHeader.tsx
@@ -157,7 +157,7 @@ export default function NavHeader({
})}
{isProtectedBranch && (
<Tooltip content={`Protected by policy ${protectionPolicyName}`}>
- <FontAwesomeIcon icon={faLock} className="text-primary ml-2" />
+ <FontAwesomeIcon icon={faLock} className="ml-2 text-primary" />
</Tooltip>
)}
</div>
diff --git a/frontend/src/components/tags/CreateTagModal/CreateTagModal.tsx b/frontend/src/components/tags/CreateTagModal/CreateTagModal.tsx
index 8f9fd4ccc3..cfe685ae2e 100644
--- a/frontend/src/components/tags/CreateTagModal/CreateTagModal.tsx
+++ b/frontend/src/components/tags/CreateTagModal/CreateTagModal.tsx
@@ -119,9 +119,9 @@ export const CreateTagModal = ({ isOpen, onToggle }: Props): JSX.Element => {
const [showHexInput, setShowHexInput] = useState<boolean>(false);
const selectedTagColor = watch("color", secretTagsColors[0].hex);
- useEffect(()=>{
- if(!isOpen) reset();
- },[isOpen])
+ useEffect(() => {
+ if (!isOpen) reset();
+ }, [isOpen]);
const onFormSubmit = async ({ name, color }: FormData) => {
try {
@@ -168,21 +168,21 @@ export const CreateTagModal = ({ isOpen, onToggle }: Props): JSX.Element => {
Tag Color
</div>
<div className="flex space-x-2">
- <div className="p-2 rounded flex items-center justify-center border border-mineshaft-500 bg-mineshaft-900 ">
+ <div className="flex items-center justify-center rounded border border-mineshaft-500 bg-mineshaft-900 p-2 ">
<div
- className="w-6 h-6 rounded-full"
+ className="h-6 w-6 rounded-full"
style={{ background: `${selectedTagColor}` }}
/>
</div>
- <div className="flex-grow flex items-center rounded border-mineshaft-500 bg-mineshaft-900 px-1 pr-2">
+ <div className="flex flex-grow items-center rounded border-mineshaft-500 bg-mineshaft-900 px-1 pr-2">
{!showHexInput ? (
- <div className="inline-flex gap-3 items-center pl-3">
+ <div className="inline-flex items-center gap-3 pl-3">
{secretTagsColors.map(($tagColor: TagColor) => {
return (
<div key={`tag-color-${$tagColor.id}`}>
<Tooltip content={`${$tagColor.name}`}>
<div
- className=" flex items-center justify-center w-[26px] h-[26px] hover:ring-offset-2 hover:ring-2 bg-[#bec2c8] border-2 p-2 hover:shadow-lg border-transparent hover:border-black rounded-full"
+ className=" flex h-[26px] w-[26px] items-center justify-center rounded-full border-2 border-transparent bg-[#bec2c8] p-2 hover:border-black hover:shadow-lg hover:ring-2 hover:ring-offset-2"
key={`tag-${$tagColor.id}`}
style={{ backgroundColor: `${$tagColor.hex}` }}
onClick={() => setValue("color", $tagColor.hex)}
@@ -200,18 +200,18 @@ export const CreateTagModal = ({ isOpen, onToggle }: Props): JSX.Element => {
})}
</div>
) : (
- <div className="flex flex-grow items-center px-2 tags-hex-wrapper">
- <div className="flex items-center relative rounded-md ">
+ <div className="tags-hex-wrapper flex flex-grow items-center px-2">
+ <div className="relative flex items-center rounded-md ">
{isValidHexColor(selectedTagColor) && (
<div
- className="w-7 h-7 rounded-full flex items-center justify-center"
+ className="flex h-7 w-7 items-center justify-center rounded-full"
style={{ background: `${selectedTagColor}` }}
>
<FontAwesomeIcon icon={faCheck} style={{ color: "#00000070" }} />
</div>
)}
{!isValidHexColor(selectedTagColor) && (
- <div className="border-dashed border bg-blue rounded-full w-7 h-7 border-mineshaft-500" />
+ <div className="bg-blue h-7 w-7 rounded-full border border-dashed border-mineshaft-500" />
)}
</div>
<div className="flex-grow">
@@ -225,10 +225,10 @@ export const CreateTagModal = ({ isOpen, onToggle }: Props): JSX.Element => {
</div>
</div>
)}
- <div className="border-mineshaft-500 border h-8 mx-4" />
- <div className="w-7 h-7 flex items-center justify-center">
+ <div className="mx-4 h-8 border border-mineshaft-500" />
+ <div className="flex h-7 w-7 items-center justify-center">
<div
- className={`flex items-center justify-center w-7 h-7 bg-transparent cursor-pointer hover:ring-offset-1 hover:ring-2 border-mineshaft-500 border bg-mineshaft-900 rounded-sm p-2 ${
+ className={`flex h-7 w-7 cursor-pointer items-center justify-center rounded-sm border border-mineshaft-500 bg-transparent bg-mineshaft-900 p-2 hover:ring-2 hover:ring-offset-1 ${
showHexInput ? "tags-conic-bg rounded-full" : ""
}`}
onClick={() => setShowHexInput((prev) => !prev)}
diff --git a/frontend/src/components/utilities/config/index.ts b/frontend/src/components/utilities/config/index.ts
index 8804765a3f..10d4856c06 100644
--- a/frontend/src/components/utilities/config/index.ts
+++ b/frontend/src/components/utilities/config/index.ts
@@ -1,12 +1,6 @@
const ENV = process.env.NEXT_PUBLIC_ENV! || "development"; // investigate
const POSTHOG_API_KEY = process.env.NEXT_PUBLIC_POSTHOG_API_KEY!;
-const POSTHOG_HOST =
- process.env.NEXT_PUBLIC_POSTHOG_HOST! || "https://app.posthog.com";
+const POSTHOG_HOST = process.env.NEXT_PUBLIC_POSTHOG_HOST! || "https://app.posthog.com";
const INTERCOMid = process.env.NEXT_PUBLIC_INTERCOMid!;
-export {
- ENV,
- INTERCOMid,
- POSTHOG_API_KEY,
- POSTHOG_HOST
-};
\ No newline at end of file
+export { ENV, INTERCOMid, POSTHOG_API_KEY, POSTHOG_HOST };
diff --git a/frontend/src/components/utilities/intercom/intercom.ts b/frontend/src/components/utilities/intercom/intercom.ts
index fb531c4a49..56b3741070 100644
--- a/frontend/src/components/utilities/intercom/intercom.ts
+++ b/frontend/src/components/utilities/intercom/intercom.ts
@@ -54,11 +54,9 @@ export const load = () => {
// Initializes Intercom
export const boot = (options = {}) => {
- window &&
- window.Intercom &&
- window.Intercom("boot", { appid: APPid, ...options });
+ window && window.Intercom && window.Intercom("boot", { appid: APPid, ...options });
};
export const update = () => {
window && window.Intercom && window.Intercom("update");
-};
\ No newline at end of file
+};
diff --git a/frontend/src/context/OrgPermissionContext/OrgPermissionContext.tsx b/frontend/src/context/OrgPermissionContext/OrgPermissionContext.tsx
index 932e33e9bd..1f3cd1de45 100644
--- a/frontend/src/context/OrgPermissionContext/OrgPermissionContext.tsx
+++ b/frontend/src/context/OrgPermissionContext/OrgPermissionContext.tsx
@@ -22,7 +22,7 @@ export const OrgPermissionProvider = ({ children }: Props): JSX.Element => {
if (isLoading) {
return (
- <div className="flex items-center justify-center w-screen h-screen bg-bunker-800">
+ <div className="flex h-screen w-screen items-center justify-center bg-bunker-800">
<img
src="/images/loading/loading.gif"
height={70}
@@ -35,7 +35,7 @@ export const OrgPermissionProvider = ({ children }: Props): JSX.Element => {
if (!permission) {
return (
- <div className="flex items-center justify-center w-screen h-screen bg-bunker-800">
+ <div className="flex h-screen w-screen items-center justify-center bg-bunker-800">
Failed to load user permissions
</div>
);
diff --git a/frontend/src/context/OrganizationContext/OrganizationContext.tsx b/frontend/src/context/OrganizationContext/OrganizationContext.tsx
index 93c82b9233..a4562ef820 100644
--- a/frontend/src/context/OrganizationContext/OrganizationContext.tsx
+++ b/frontend/src/context/OrganizationContext/OrganizationContext.tsx
@@ -3,7 +3,6 @@ import { createContext, ReactNode, useContext, useMemo } from "react";
import { useGetOrganizations } from "@app/hooks/api";
import { Organization } from "@app/hooks/api/types";
-
type TOrgContext = {
orgs?: Organization[];
currentOrg?: Organization;
@@ -18,7 +17,7 @@ type Props = {
export const OrgProvider = ({ children }: Props): JSX.Element => {
const { data: userOrgs, isLoading } = useGetOrganizations();
-
+
// const currentWsOrgID = currentWorkspace?.organization;
const currentWsOrgID = localStorage.getItem("orgData.id");
diff --git a/frontend/src/context/ProjectPermissionContext/ProjectPermissionContext.tsx b/frontend/src/context/ProjectPermissionContext/ProjectPermissionContext.tsx
index 3b7a8af2fb..b596cda5b3 100644
--- a/frontend/src/context/ProjectPermissionContext/ProjectPermissionContext.tsx
+++ b/frontend/src/context/ProjectPermissionContext/ProjectPermissionContext.tsx
@@ -18,7 +18,7 @@ export const ProjectPermissionProvider = ({ children }: Props): JSX.Element => {
if ((isLoading && currentWorkspace) || isWsLoading) {
return (
- <div className="flex items-center justify-center w-screen h-screen bg-bunker-800">
+ <div className="flex h-screen w-screen items-center justify-center bg-bunker-800">
<img
src="/images/loading/loading.gif"
height={70}
@@ -31,7 +31,7 @@ export const ProjectPermissionProvider = ({ children }: Props): JSX.Element => {
if (!permission && currentWorkspace) {
return (
- <div className="flex items-center justify-center w-screen h-screen bg-bunker-800">
+ <div className="flex h-screen w-screen items-center justify-center bg-bunker-800">
Failed to load user permissions
</div>
);
diff --git a/frontend/src/context/ServerConfigContext/ServerConfigContext.tsx b/frontend/src/context/ServerConfigContext/ServerConfigContext.tsx
index aab7e4c56d..291765e3b3 100644
--- a/frontend/src/context/ServerConfigContext/ServerConfigContext.tsx
+++ b/frontend/src/context/ServerConfigContext/ServerConfigContext.tsx
@@ -72,9 +72,9 @@ export const ServerConfigProvider = ({ children }: Props): JSX.Element => {
export const useServerConfig = () => {
const ctx = useContext(ServerConfigContext);
- // if (!ctx) {
- // throw new Error("useServerConfig has to be used within <UserContext.Provider>");
- // }
+ if (!ctx) {
+ throw new Error("useServerConfig has to be used within <UserContext.Provider>");
+ }
- return ctx || { config: { allowSignUp: true } };
+ return ctx;
};
diff --git a/frontend/src/context/UserContext/UserContext.tsx b/frontend/src/context/UserContext/UserContext.tsx
index 5dbe3e0e7b..433fc39597 100644
--- a/frontend/src/context/UserContext/UserContext.tsx
+++ b/frontend/src/context/UserContext/UserContext.tsx
@@ -1,10 +1,10 @@
import { createContext, ReactNode, useContext, useMemo } from "react";
import { useGetUser } from "@app/hooks/api";
-import { User } from "@app/hooks/api/types";
+import { User, UserEnc } from "@app/hooks/api/types";
type TUserContext = {
- user: User;
+ user: User & UserEnc;
isLoading: boolean;
};
diff --git a/frontend/src/context/WorkspaceContext/WorkspaceContext.tsx b/frontend/src/context/WorkspaceContext/WorkspaceContext.tsx
index 1e0a01c7ec..4cf8c585f3 100644
--- a/frontend/src/context/WorkspaceContext/WorkspaceContext.tsx
+++ b/frontend/src/context/WorkspaceContext/WorkspaceContext.tsx
@@ -26,7 +26,7 @@ export const WorkspaceProvider = ({ children }: Props): JSX.Element => {
const wsId = workspaceId || localStorage.getItem("projectData.id");
return {
workspaces: ws || [],
- currentWorkspace: (ws || []).find(({ id: id }) => id === wsId),
+ currentWorkspace: (ws || []).find(({ id }) => id === wsId),
isLoading
};
}, [ws, workspaceId, isLoading]);
diff --git a/frontend/src/helpers/project.ts b/frontend/src/helpers/project.ts
index 13352c586f..21f73e4c63 100644
--- a/frontend/src/helpers/project.ts
+++ b/frontend/src/helpers/project.ts
@@ -112,8 +112,8 @@ const initProjectHelper = async ({
});
await uploadWsKey({
- workspaceId: workspace._id,
- userId: user._id,
+ workspaceId: workspace.id,
+ userId: user.id,
encryptedKey: ciphertext,
nonce
});
@@ -121,13 +121,13 @@ const initProjectHelper = async ({
// encrypt and upload secrets to new project
const secrets = await encryptSecrets({
secretsToEncrypt: secretsToBeAdded,
- workspaceId: workspace._id,
+ workspaceId: workspace.id,
env: "dev"
});
secrets?.forEach((secret) => {
createSecret({
- workspaceId: workspace._id,
+ workspaceId: workspace.id,
environment: secret.environment,
type: secret.type,
secretKey: secret.secretName,
diff --git a/frontend/src/hooks/api/apiKeys/types.ts b/frontend/src/hooks/api/apiKeys/types.ts
index bc5ff3a56d..b05bd5981e 100644
--- a/frontend/src/hooks/api/apiKeys/types.ts
+++ b/frontend/src/hooks/api/apiKeys/types.ts
@@ -1,27 +1,27 @@
export type APIKeyDataV2 = {
- id: string;
- name: string;
- user: string;
- lastUsed?: string;
- usageCount: number;
- createdAt: string;
- updatedAt: string;
- };
+ id: string;
+ name: string;
+ user: string;
+ lastUsed?: string;
+ usageCount: number;
+ createdAt: string;
+ updatedAt: string;
+};
export type CreateAPIKeyDataV2DTO = {
- name: string;
-}
+ name: string;
+};
export type CreateServiceTokenDataV3Res = {
- apiKeyData: APIKeyDataV2;
- apiKey: string;
-}
+ apiKeyData: APIKeyDataV2;
+ apiKey: string;
+};
export type UpdateAPIKeyDataV2DTO = {
- apiKeyDataId: string;
- name: string;
-}
+ apiKeyDataId: string;
+ name: string;
+};
export type DeleteAPIKeyDataV2DTO = {
- apiKeyDataId: string;
-}
\ No newline at end of file
+ apiKeyDataId: string;
+};
diff --git a/frontend/src/hooks/api/auditLogs/types.tsx b/frontend/src/hooks/api/auditLogs/types.tsx
index 54f4882b39..92611c8143 100644
--- a/frontend/src/hooks/api/auditLogs/types.tsx
+++ b/frontend/src/hooks/api/auditLogs/types.tsx
@@ -194,7 +194,8 @@ interface DeleteServiceTokenEvent {
};
}
-interface CreateIdentityEvent { // note: currently not logging org-role
+interface CreateIdentityEvent {
+ // note: currently not logging org-role
type: EventType.CREATE_IDENTITY;
metadata: {
identityId: string;
@@ -218,7 +219,7 @@ interface DeleteIdentityEvent {
}
interface LoginIdentityUniversalAuthEvent {
- type: EventType.LOGIN_IDENTITY_UNIVERSAL_AUTH ;
+ type: EventType.LOGIN_IDENTITY_UNIVERSAL_AUTH;
metadata: {
identityId: string;
identityUniversalAuthId: string;
@@ -259,7 +260,7 @@ interface GetIdentityUniversalAuthEvent {
}
interface CreateIdentityUniversalAuthClientSecretEvent {
- type: EventType.CREATE_IDENTITY_UNIVERSAL_AUTH_CLIENT_SECRET ;
+ type: EventType.CREATE_IDENTITY_UNIVERSAL_AUTH_CLIENT_SECRET;
metadata: {
identityId: string;
clientSecretId: string;
@@ -273,9 +274,8 @@ interface GetIdentityUniversalAuthClientSecretsEvent {
};
}
-
interface RevokeIdentityUniversalAuthClientSecretEvent {
- type: EventType.REVOKE_IDENTITY_UNIVERSAL_AUTH_CLIENT_SECRET ;
+ type: EventType.REVOKE_IDENTITY_UNIVERSAL_AUTH_CLIENT_SECRET;
metadata: {
identityId: string;
clientSecretId: string;
@@ -507,7 +507,7 @@ export type Event =
| UpdateUserDeniedPermissions;
export type AuditLog = {
- _id: string;
+ id: string;
actor: Actor;
organization: string;
workspace: string;
diff --git a/frontend/src/hooks/api/integrationAuth/types.ts b/frontend/src/hooks/api/integrationAuth/types.ts
index 7a6ff6d533..1711436a85 100644
--- a/frontend/src/hooks/api/integrationAuth/types.ts
+++ b/frontend/src/hooks/api/integrationAuth/types.ts
@@ -55,14 +55,14 @@ export type BitBucketWorkspace = {
uuid: string;
name: string;
slug: string;
-}
+};
export type NorthflankSecretGroup = {
name: string;
groupId: string;
-}
+};
export type TeamCityBuildConfig = {
name: string;
buildConfigId: string;
-}
\ No newline at end of file
+};
diff --git a/frontend/src/hooks/api/integrations/types.ts b/frontend/src/hooks/api/integrations/types.ts
index 3c814e80b4..716f4604c3 100644
--- a/frontend/src/hooks/api/integrations/types.ts
+++ b/frontend/src/hooks/api/integrations/types.ts
@@ -32,9 +32,9 @@ export type TIntegration = {
__v: number;
metadata?: {
secretSuffix?: string;
- scope: string;
+ scope: string;
org: string;
project: string;
environment: string;
- }
+ };
};
diff --git a/frontend/src/hooks/api/organization/types.ts b/frontend/src/hooks/api/organization/types.ts
index c2468d8c21..3bfbd74191 100644
--- a/frontend/src/hooks/api/organization/types.ts
+++ b/frontend/src/hooks/api/organization/types.ts
@@ -13,7 +13,7 @@ export type RenameOrgDTO = {
export type BillingDetails = {
name: string;
email: string;
-}
+};
export type PlanBillingInfo = {
amount: number;
@@ -22,7 +22,7 @@ export type PlanBillingInfo = {
interval: "month" | "year";
intervalCount: number;
quantity: number;
-}
+};
export type Invoice = {
id: string;
@@ -31,23 +31,23 @@ export type Invoice = {
number: string;
paid: boolean;
total: number;
-}
+};
export type PmtMethod = {
id: string;
brand: string;
- exp_month: number;
+ exp_month: number;
exp_year: number;
funding: string;
last4: string;
-}
+};
export type TaxID = {
id: string;
country: string;
type: string;
value: string;
-}
+};
export type License = {
id: string;
@@ -58,22 +58,22 @@ export type License = {
expiresAt: string;
createdAt: string;
updatedAt: string;
-}
+};
export type OrgPlanTableHead = {
name: string;
-}
+};
export type OrgPlanTableRow = {
name: string;
allowed: number | boolean | null;
used: string;
-}
+};
export type OrgPlanTable = {
head: OrgPlanTableHead[];
rows: OrgPlanTableRow[];
-}
+};
export type ProductsTableHead = {
name: string;
@@ -82,7 +82,7 @@ export type ProductsTableHead = {
productId: string;
slug: string;
tier: number;
-}
+};
export type ProductsTableRow = {
name: string;
@@ -90,9 +90,9 @@ export type ProductsTableRow = {
team: number | boolean | null;
pro: number | boolean | null;
enterprise: number | boolean | null;
-}
+};
export type ProductsTable = {
head: ProductsTableHead[];
rows: ProductsTableRow[];
-}
\ No newline at end of file
+};
diff --git a/frontend/src/hooks/api/serviceTokens/types.ts b/frontend/src/hooks/api/serviceTokens/types.ts
index ea3223660a..489661d8b6 100644
--- a/frontend/src/hooks/api/serviceTokens/types.ts
+++ b/frontend/src/hooks/api/serviceTokens/types.ts
@@ -4,7 +4,7 @@ export type ServiceTokenScope = {
};
export type ServiceToken = {
- _id: string;
+ id: string;
name: string;
workspace: string;
scopes: ServiceTokenScope[];
@@ -32,4 +32,4 @@ export type CreateServiceTokenRes = {
serviceTokenData: ServiceToken;
};
-export type DeleteServiceTokenRes = { serviceTokenData: ServiceToken };
\ No newline at end of file
+export type DeleteServiceTokenRes = { serviceTokenData: ServiceToken };
diff --git a/frontend/src/hooks/api/tags/types.ts b/frontend/src/hooks/api/tags/types.ts
index 6e428da70f..161e0327bc 100644
--- a/frontend/src/hooks/api/tags/types.ts
+++ b/frontend/src/hooks/api/tags/types.ts
@@ -9,7 +9,7 @@ export type WsTag = {
createdAt: string;
updatedAt: string;
__v: number;
-}
+};
export type WorkspaceTag = { id: string; name: string; slug: string };
@@ -30,7 +30,7 @@ export type CreateTagRes = {
id: string;
};
-export type DeleteTagDTO = { tagID: string; };
+export type DeleteTagDTO = { tagID: string };
export type DeleteWsTagRes = {
name: string;
@@ -41,17 +41,16 @@ export type DeleteWsTagRes = {
id: string;
};
-export type SecretTags = {
- id: string;
+export type SecretTags = {
id: string;
- slug: string;
+ slug: string;
tagColor: string;
-}
+};
-export type TagColor = {
+export type TagColor = {
id: number;
- hex: string
- rgba: string
- name: string
- selected: boolean
-}
\ No newline at end of file
+ hex: string;
+ rgba: string;
+ name: string;
+ selected: boolean;
+};
diff --git a/frontend/src/hooks/api/trustedIps/types.ts b/frontend/src/hooks/api/trustedIps/types.ts
index fb8177c452..bd14b1c6e1 100644
--- a/frontend/src/hooks/api/trustedIps/types.ts
+++ b/frontend/src/hooks/api/trustedIps/types.ts
@@ -1,9 +1,9 @@
export type TrustedIp = {
- id: string;
- workspace: string;
- ipAddress: string;
- type: "ipv4" | "ipv6";
- isActive: boolean;
- comment: string;
- prefix?: number;
-};
\ No newline at end of file
+ id: string;
+ workspace: string;
+ ipAddress: string;
+ type: "ipv4" | "ipv6";
+ isActive: boolean;
+ comment: string;
+ prefix?: number;
+};
diff --git a/frontend/src/hooks/api/types.ts b/frontend/src/hooks/api/types.ts
index eae8fa0d7b..06c3823586 100644
--- a/frontend/src/hooks/api/types.ts
+++ b/frontend/src/hooks/api/types.ts
@@ -23,7 +23,7 @@ export * from "./secrets/types";
export type { CreateServiceTokenDTO, ServiceToken } from "./serviceTokens/types";
export type { SubscriptionPlan } from "./subscriptions/types";
export type { WsTag } from "./tags/types";
-export type { AddUserToWsDTO, OrgUser, TWorkspaceUser, User } from "./users/types";
+export type { AddUserToWsDTO, OrgUser, TWorkspaceUser, User, UserEnc } from "./users/types";
export type { TWebhook } from "./webhooks/types";
export type {
CreateEnvironmentDTO,
diff --git a/frontend/src/hooks/api/users/queries.tsx b/frontend/src/hooks/api/users/queries.tsx
index b865f8758a..5c0349be1c 100644
--- a/frontend/src/hooks/api/users/queries.tsx
+++ b/frontend/src/hooks/api/users/queries.tsx
@@ -14,7 +14,8 @@ import {
RenameUserDTO,
TokenVersion,
UpdateOrgUserRoleDTO,
- User
+ User,
+ UserEnc
} from "./types";
export const userKeys = {
@@ -29,7 +30,7 @@ export const userKeys = {
};
export const fetchUserDetails = async () => {
- const { data } = await apiRequest.get<{ user: User }>("/api/v1/user");
+ const { data } = await apiRequest.get<{ user: User & UserEnc }>("/api/v1/user");
return data.user;
};
diff --git a/frontend/src/hooks/api/users/types.ts b/frontend/src/hooks/api/users/types.ts
index 31169a3fc5..5868d6f5bb 100644
--- a/frontend/src/hooks/api/users/types.ts
+++ b/frontend/src/hooks/api/users/types.ts
@@ -19,6 +19,12 @@ export type User = {
lastName?: string;
authProvider?: AuthMethod;
authMethods: AuthMethod[];
+ isMfaEnabled: boolean;
+ seenIps: string[];
+ id: string;
+};
+
+export type UserEnc = {
encryptionVersion?: number;
protectedKey?: string;
protectedKeyIV?: string;
@@ -27,19 +33,15 @@ export type User = {
encryptedPrivateKey?: string;
iv?: string;
tag?: string;
- isMfaEnabled: boolean;
- seenIps: string[];
- _id: string;
- __v: number;
};
export type OrgUser = {
- _id: string;
+ id: string;
user: {
email: string;
firstName: string;
lastName: string;
- _id: string;
+ id: string;
publicKey: string;
};
inviteEmail: string;
@@ -88,7 +90,7 @@ export type RenameUserDTO = {
};
export type APIKeyData = {
- _id: string;
+ id: string;
name: string;
user: string;
lastUsed: string;
@@ -97,7 +99,7 @@ export type APIKeyData = {
};
export type TokenVersion = {
- _id: string;
+ id: string;
user: string;
userAgent: string;
ip: string;
diff --git a/frontend/src/hooks/api/workspace/types.ts b/frontend/src/hooks/api/workspace/types.ts
index 80d1aaaa84..a4acc2cf66 100644
--- a/frontend/src/hooks/api/workspace/types.ts
+++ b/frontend/src/hooks/api/workspace/types.ts
@@ -22,7 +22,7 @@ export type NameWorkspaceSecretsDTO = {
secretName: string;
id: string;
}[];
-}
+};
// mutation dto
export type CreateWorkspaceDTO = {
@@ -47,7 +47,6 @@ export type ReorderEnvironmentsDTO = {
environmentName: string;
otherEnvironmentSlug: string;
otherEnvironmentName: string;
-
};
export type UpdateEnvironmentDTO = {
@@ -57,4 +56,4 @@ export type UpdateEnvironmentDTO = {
environmentName: string;
};
-export type DeleteEnvironmentDTO = { workspaceID: string; environmentSlug: string };
\ No newline at end of file
+export type DeleteEnvironmentDTO = { workspaceID: string; environmentSlug: string };
diff --git a/frontend/src/layouts/AdminLayout/AdminLayout.tsx b/frontend/src/layouts/AdminLayout/AdminLayout.tsx
index 3cee01f11a..0e38c9a132 100644
--- a/frontend/src/layouts/AdminLayout/AdminLayout.tsx
+++ b/frontend/src/layouts/AdminLayout/AdminLayout.tsx
@@ -100,7 +100,7 @@ export const AdminLayout = ({ children }: LayoutProps) => {
<nav className="items-between flex h-full flex-col justify-between overflow-y-auto dark:[color-scheme:dark]">
<div>
{!router.asPath.includes("personal") && (
- <div className="flex h-12 cursor-default justify-between items-center px-3 pt-6">
+ <div className="flex h-12 cursor-default items-center justify-between px-3 pt-6">
<Link href={`/org/${currentOrg?.id}/overview`}>
<div className="my-6 flex cursor-default items-center justify-center pr-2 text-sm text-mineshaft-300 hover:text-mineshaft-100">
<FontAwesomeIcon icon={faArrowLeft} className="pr-3" />
@@ -179,7 +179,7 @@ export const AdminLayout = ({ children }: LayoutProps) => {
<div
className={`${
!updateClosed ? "block" : "hidden"
- } relative z-10 mb-6 flex pb-2 w-52 flex-col items-center justify-start rounded-md border border-mineshaft-600 bg-mineshaft-900 px-3`}
+ } relative z-10 mb-6 flex w-52 flex-col items-center justify-start rounded-md border border-mineshaft-600 bg-mineshaft-900 px-3 pb-2`}
>
<div className="text-md mt-2 w-full font-semibold text-mineshaft-100">
Infisical December update
diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsx
index 02c9ecdacb..b652bb1f34 100644
--- a/frontend/src/layouts/AppLayout/AppLayout.tsx
+++ b/frontend/src/layouts/AppLayout/AppLayout.tsx
@@ -120,7 +120,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
const { user } = useUser();
const { subscription } = useSubscription();
- const workspaceId = currentWorkspace?._id || "";
+ const workspaceId = currentWorkspace?.id || "";
const { data: updateClosed } = useGetUserAction("december_update_closed");
const { data: secretApprovalReqCount } = useGetSecretApprovalRequestCount({ workspaceId });
@@ -179,19 +179,19 @@ export const AppLayout = ({ children }: LayoutProps) => {
// Put a user in an org if they're not in one yet
const putUserInOrg = async () => {
if (tempLocalStorage("orgData.id") === "") {
- localStorage.setItem("orgData.id", orgs[0]?._id);
+ localStorage.setItem("orgData.id", orgs[0]?.id);
}
if (
currentOrg &&
((workspaces?.length === 0 && router.asPath.includes("project")) ||
router.asPath.includes("/project/undefined") ||
- (!orgs?.map((org) => org._id)?.includes(router.query.id) &&
+ (!orgs?.map((org) => org.id)?.includes(router.query.id) &&
!router.asPath.includes("project") &&
!router.asPath.includes("personal") &&
!router.asPath.includes("integration")))
) {
- router.push(`/org/${currentOrg?._id}/overview`);
+ router.push(`/org/${currentOrg?.id}/overview`);
}
// else if (!router.asPath.includes("org") && !router.asPath.includes("project") && !router.asPath.includes("integrations") && !router.asPath.includes("personal-settings")) {
@@ -221,14 +221,14 @@ export const AppLayout = ({ children }: LayoutProps) => {
const onCreateProject = async ({ name, addMembers }: TAddProjectFormData) => {
// type check
- if (!currentOrg?._id) return;
+ if (!currentOrg?.id) return;
try {
const {
data: {
- workspace: { _id: newWorkspaceId }
+ workspace: { id: newWorkspaceId }
}
} = await createWs.mutateAsync({
- organizationId: currentOrg?._id,
+ organizationId: currentOrg?.id,
workspaceName: name
});
@@ -243,13 +243,13 @@ export const AppLayout = ({ children }: LayoutProps) => {
await uploadWsKey.mutateAsync({
encryptedKey: ciphertext,
nonce,
- userId: user?._id,
+ userId: user?.id,
workspaceId: newWorkspaceId
});
if (addMembers) {
// not using hooks because need at this point only
- const orgUsers = await fetchOrgUsers(currentOrg._id);
+ const orgUsers = await fetchOrgUsers(currentOrg.id);
const decryptKey = await fetchUserWsKey(newWorkspaceId);
await addWsUser.mutateAsync({
workspaceId: newWorkspaceId,
@@ -259,7 +259,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
.filter(
({ status, user: orgUser }) => status === "accepted" && user.email !== orgUser.email
)
- .map(({ user: orgUser, _id: orgMembershipId }) => ({
+ .map(({ user: orgUser, id: orgMembershipId }) => ({
userPublicKey: orgUser.publicKey,
orgMembershipId
}))
@@ -285,7 +285,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
<div className="flex h-12 cursor-default items-center px-3 pt-6">
{(router.asPath.includes("project") ||
router.asPath.includes("integrations")) && (
- <Link href={`/org/${currentOrg?._id}/overview`}>
+ <Link href={`/org/${currentOrg?.id}/overview`}>
<div className="pl-1 pr-2 text-mineshaft-400 duration-200 hover:text-mineshaft-100">
<FontAwesomeIcon icon={faArrowLeft} />
</div>
@@ -298,7 +298,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
{currentOrg?.name.charAt(0)}
</div>
<div
- className="pl-2 text-sm text-mineshaft-100 text-ellipsis overflow-hidden"
+ className="overflow-hidden text-ellipsis pl-2 text-sm text-mineshaft-100"
style={{ maxWidth: "140px" }}
>
{currentOrg?.name}
@@ -312,15 +312,15 @@ export const AppLayout = ({ children }: LayoutProps) => {
<DropdownMenuContent align="start" className="p-1">
<div className="px-2 py-1 text-xs text-mineshaft-400">{user?.email}</div>
{orgs?.map((org) => (
- <DropdownMenuItem key={org._id}>
+ <DropdownMenuItem key={org.id}>
<Button
- onClick={() => changeOrg(org?._id)}
+ onClick={() => changeOrg(org?.id)}
variant="plain"
colorSchema="secondary"
size="xs"
className="flex w-full items-center justify-start p-0 font-normal"
leftIcon={
- currentOrg._id === org._id && (
+ currentOrg.id === org.id && (
<FontAwesomeIcon icon={faCheck} className="mr-3 text-primary" />
)
}
@@ -421,8 +421,8 @@ export const AppLayout = ({ children }: LayoutProps) => {
Project
</p>
<Select
- defaultValue={currentWorkspace?._id}
- value={currentWorkspace?._id}
+ defaultValue={currentWorkspace?.id}
+ value={currentWorkspace?.id}
className="w-full truncate bg-mineshaft-600 py-2.5 font-medium"
onValueChange={(value) => {
router.push(`/project/${value}/secrets/overview`);
@@ -433,12 +433,12 @@ export const AppLayout = ({ children }: LayoutProps) => {
>
<div className="no-scrollbar::-webkit-scrollbar h-full no-scrollbar">
{workspaces
- .filter((ws) => ws.organization === currentOrg?._id)
- .map(({ _id, name }) => (
+ .filter((ws) => ws.organization === currentOrg?.id)
+ .map(({ id, name }) => (
<SelectItem
- key={`ws-layout-list-${_id}`}
- value={_id}
- className={`${currentWorkspace?._id === _id && "bg-mineshaft-600"}`}
+ key={`ws-layout-list-${id}`}
+ value={id}
+ className={`${currentWorkspace?.id === id && "bg-mineshaft-600"}`}
>
{name}
</SelectItem>
@@ -474,7 +474,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
</Select>
</div>
) : (
- <Link href={`/org/${currentOrg?._id}/overview`}>
+ <Link href={`/org/${currentOrg?.id}/overview`}>
<div className="my-6 flex cursor-default items-center justify-center pr-2 text-sm text-mineshaft-300 hover:text-mineshaft-100">
<FontAwesomeIcon icon={faArrowLeft} className="pr-3" />
Back to organization
@@ -485,11 +485,11 @@ export const AppLayout = ({ children }: LayoutProps) => {
{(router.asPath.includes("project") || router.asPath.includes("integrations")) &&
currentWorkspace ? (
<Menu>
- <Link href={`/project/${currentWorkspace?._id}/secrets/overview`} passHref>
+ <Link href={`/project/${currentWorkspace?.id}/secrets/overview`} passHref>
<a>
<MenuItem
isSelected={router.asPath.includes(
- `/project/${currentWorkspace?._id}/secrets`
+ `/project/${currentWorkspace?.id}/secrets`
)}
icon="system-outline-90-lock-closed"
>
@@ -497,11 +497,11 @@ export const AppLayout = ({ children }: LayoutProps) => {
</MenuItem>
</a>
</Link>
- <Link href={`/project/${currentWorkspace?._id}/members`} passHref>
+ <Link href={`/project/${currentWorkspace?.id}/members`} passHref>
<a>
<MenuItem
isSelected={
- router.asPath === `/project/${currentWorkspace?._id}/members`
+ router.asPath === `/project/${currentWorkspace?.id}/members`
}
icon="system-outline-96-groups"
>
@@ -509,7 +509,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
</MenuItem>
</a>
</Link>
- <Link href={`/integrations/${currentWorkspace?._id}`} passHref>
+ <Link href={`/integrations/${currentWorkspace?.id}`} passHref>
<a>
<MenuItem
isSelected={router.asPath.includes("/integrations")}
@@ -519,11 +519,11 @@ export const AppLayout = ({ children }: LayoutProps) => {
</MenuItem>
</a>
</Link>
- <Link href={`/project/${currentWorkspace?._id}/secret-rotation`} passHref>
+ <Link href={`/project/${currentWorkspace?.id}/secret-rotation`} passHref>
<a className="relative">
<MenuItem
isSelected={
- router.asPath === `/project/${currentWorkspace?._id}/secret-rotation`
+ router.asPath === `/project/${currentWorkspace?.id}/secret-rotation`
}
icon="rotation"
>
@@ -531,11 +531,11 @@ export const AppLayout = ({ children }: LayoutProps) => {
</MenuItem>
</a>
</Link>
- <Link href={`/project/${currentWorkspace?._id}/approval`} passHref>
+ <Link href={`/project/${currentWorkspace?.id}/approval`} passHref>
<a className="relative">
<MenuItem
isSelected={
- router.asPath === `/project/${currentWorkspace?._id}/approval`
+ router.asPath === `/project/${currentWorkspace?.id}/approval`
}
icon="system-outline-189-domain-verification"
>
@@ -548,11 +548,11 @@ export const AppLayout = ({ children }: LayoutProps) => {
</MenuItem>
</a>
</Link>
- <Link href={`/project/${currentWorkspace?._id}/audit-logs`} passHref>
+ <Link href={`/project/${currentWorkspace?.id}/audit-logs`} passHref>
<a>
<MenuItem
isSelected={
- router.asPath === `/project/${currentWorkspace?._id}/audit-logs`
+ router.asPath === `/project/${currentWorkspace?.id}/audit-logs`
}
icon="system-outline-168-view-headline"
>
@@ -560,11 +560,11 @@ export const AppLayout = ({ children }: LayoutProps) => {
</MenuItem>
</a>
</Link>
- <Link href={`/project/${currentWorkspace?._id}/settings`} passHref>
+ <Link href={`/project/${currentWorkspace?.id}/settings`} passHref>
<a>
<MenuItem
isSelected={
- router.asPath === `/project/${currentWorkspace?._id}/settings`
+ router.asPath === `/project/${currentWorkspace?.id}/settings`
}
icon="system-outline-109-slider-toggle-settings"
>
@@ -575,7 +575,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
</Menu>
) : (
<Menu className="mt-4">
- <Link href={`/org/${currentOrg?._id}/overview`} passHref>
+ <Link href={`/org/${currentOrg?.id}/overview`} passHref>
<a>
<MenuItem
isSelected={router.asPath.includes("/overview")}
@@ -585,40 +585,40 @@ export const AppLayout = ({ children }: LayoutProps) => {
</MenuItem>
</a>
</Link>
- <Link href={`/org/${currentOrg?._id}/members`} passHref>
+ <Link href={`/org/${currentOrg?.id}/members`} passHref>
<a>
<MenuItem
- isSelected={router.asPath === `/org/${currentOrg?._id}/members`}
+ isSelected={router.asPath === `/org/${currentOrg?.id}/members`}
icon="system-outline-96-groups"
>
Access Control
</MenuItem>
</a>
</Link>
- <Link href={`/org/${currentOrg?._id}/secret-scanning`} passHref>
+ <Link href={`/org/${currentOrg?.id}/secret-scanning`} passHref>
<a>
<MenuItem
- isSelected={router.asPath === `/org/${currentOrg?._id}/secret-scanning`}
+ isSelected={router.asPath === `/org/${currentOrg?.id}/secret-scanning`}
icon="system-outline-69-document-scan"
>
Secret Scanning
</MenuItem>
</a>
</Link>
- <Link href={`/org/${currentOrg?._id}/billing`} passHref>
+ <Link href={`/org/${currentOrg?.id}/billing`} passHref>
<a>
<MenuItem
- isSelected={router.asPath === `/org/${currentOrg?._id}/billing`}
+ isSelected={router.asPath === `/org/${currentOrg?.id}/billing`}
icon="system-outline-103-coin-cash-monetization"
>
Usage & Billing
</MenuItem>
</a>
</Link>
- <Link href={`/org/${currentOrg?._id}/settings`} passHref>
+ <Link href={`/org/${currentOrg?.id}/settings`} passHref>
<a>
<MenuItem
- isSelected={router.asPath === `/org/${currentOrg?._id}/settings`}
+ isSelected={router.asPath === `/org/${currentOrg?.id}/settings`}
icon="system-outline-109-slider-toggle-settings"
>
Organization Settings
@@ -717,7 +717,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
</DropdownMenuItem>
))}
{infisicalPlatformVersion && (
- <div className="cursor-default mb-2 mt-2 w-full pl-5 duration-200 hover:text-mineshaft-200 text-sm">
+ <div className="mb-2 mt-2 w-full cursor-default pl-5 text-sm duration-200 hover:text-mineshaft-200">
<FontAwesomeIcon icon={faInfo} className="mr-4 px-[0.1rem]" />
Version: {infisicalPlatformVersion}
</div>
@@ -734,7 +734,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
// direct user to start pro trial
const url = await mutateAsync({
- orgId: currentOrg._id,
+ orgId: currentOrg.id,
success_url: window.location.href
});
diff --git a/frontend/src/layouts/AppLayout/components/NavBar/NavBar.tsx b/frontend/src/layouts/AppLayout/components/NavBar/NavBar.tsx
index 0e970eeebc..324b19734f 100644
--- a/frontend/src/layouts/AppLayout/components/NavBar/NavBar.tsx
+++ b/frontend/src/layouts/AppLayout/components/NavBar/NavBar.tsx
@@ -17,13 +17,11 @@ import {
} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { Menu, Transition } from "@headlessui/react";
-import {TFunction} from "i18next";
+import { TFunction } from "i18next";
import guidGenerator from "@app/components/utilities/randomId";
-import { useOrganization, useSubscription,useUser } from "@app/context";
-import {
- useGetOrgTrialUrl,
- useLogoutUser} from "@app/hooks/api";
+import { useOrganization, useSubscription, useUser } from "@app/context";
+import { useGetOrgTrialUrl, useLogoutUser } from "@app/hooks/api";
const supportOptions = (t: TFunction) => [
[
@@ -80,7 +78,7 @@ export const Navbar = () => {
const closeApp = async () => {
try {
- console.log("Logging out...")
+ console.log("Logging out...");
await logout.mutateAsync();
localStorage.removeItem("protectedKey");
localStorage.removeItem("protectedKeyIV");
@@ -101,243 +99,245 @@ export const Navbar = () => {
return (
<div className="z-[70] border-b border-mineshaft-500 bg-mineshaft-900 text-white">
<div className="flex w-full justify-between px-4">
- <div className="flex flex-row items-center">
- <div className="flex justify-center py-4">
- <Image src="/images/logotransparent.png" height={23} width={57} alt="logo" />
- </div>
- <a href="#" className="mx-2 text-2xl font-semibold text-white">
- Infisical
- </a>
- </div>
- <div className="relative z-40 mx-2 flex items-center justify-start">
- <a
- href="https://infisical.com/docs/documentation/getting-started/introduction"
- target="_blank"
- rel="noopener noreferrer"
- className="mr-4 flex items-center rounded-md px-3 py-2 text-sm text-gray-200 duration-200 hover:bg-white/10"
- >
- <FontAwesomeIcon icon={faBook} className="mr-2 text-xl" />
- Docs
- </a>
- <Menu as="div" className="relative inline-block text-left">
- <div className="mr-4">
- <Menu.Button className="inline-flex w-full justify-center rounded-md px-2 py-2 text-sm font-medium text-gray-200 duration-200 hover:bg-white/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75">
- <FontAwesomeIcon className="text-xl" icon={faCircleQuestion} />
- </Menu.Button>
- </div>
- <Transition
- as={Fragment}
- enter="transition ease-out duration-100"
- enterFrom="transform opacity-0 scale-95"
- enterTo="transform opacity-100 scale-100"
- leave="transition ease-in duration-75"
- leaveFrom="transform opacity-100 scale-100"
- leaveTo="transform opacity-0 scale-95"
- >
- <Menu.Items className="absolute right-0 z-20 mt-0.5 w-64 origin-top-right rounded-md border border-mineshaft-700 bg-bunker px-2 py-1.5 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none">
- {supportOptionsList.map(([icon, text, url]) => (
- <a
- key={guidGenerator()}
- target="_blank"
- rel="noopener noreferrer"
- href={String(url)}
- className="flex w-full items-center rounded-md py-0.5 font-normal text-gray-300 duration-200"
- >
- <div className="relative flex w-full cursor-pointer select-none items-center justify-start rounded-md py-2 px-2 text-gray-400 duration-200 hover:bg-white/10 hover:text-gray-200">
- {icon}
- <div className="text-sm">{text}</div>
- </div>
- </a>
- ))}
- </Menu.Items>
- </Transition>
- </Menu>
- <Menu as="div" className="relative mr-4 inline-block text-left">
- <div>
- <Menu.Button className="inline-flex w-full justify-center rounded-md py-2 pr-2 pl-2 text-sm font-medium text-gray-200 duration-200 hover:bg-white/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75">
- {user?.firstName} {user?.lastName}
- <FontAwesomeIcon
- icon={faAngleDown}
- className="ml-2 mt-1 text-sm text-gray-300 hover:text-lime-100"
- />
- </Menu.Button>
+ <div className="flex flex-row items-center">
+ <div className="flex justify-center py-4">
+ <Image src="/images/logotransparent.png" height={23} width={57} alt="logo" />
</div>
- <Transition
- as={Fragment}
- enter="transition ease-out duration-100"
- enterFrom="transform opacity-0 scale-95"
- enterTo="transform opacity-100 scale-100"
- leave="transition ease-in duration-75"
- leaveFrom="transform opacity-100 scale-100"
- leaveTo="transform opacity-0 scale-95"
+ <a href="#" className="mx-2 text-2xl font-semibold text-white">
+ Infisical
+ </a>
+ </div>
+ <div className="relative z-40 mx-2 flex items-center justify-start">
+ <a
+ href="https://infisical.com/docs/documentation/getting-started/introduction"
+ target="_blank"
+ rel="noopener noreferrer"
+ className="mr-4 flex items-center rounded-md px-3 py-2 text-sm text-gray-200 duration-200 hover:bg-white/10"
>
- <Menu.Items className="absolute right-0 z-[125] mt-0.5 w-68 origin-top-right divide-y divide-mineshaft-700 drop-shadow-2xl rounded-md border border-mineshaft-700 bg-mineshaft-900 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none">
- <div className="px-1 py-1">
- <div className="ml-2 mt-2 self-start text-xs font-semibold tracking-wide text-gray-400">
- {t("nav.user.signed-in-as")}
- </div>
- <div
- onKeyDown={() => null}
- role="button"
- tabIndex={0}
- onClick={() => router.push("/personal-settings")}
- className="mx-1 my-1 flex cursor-pointer flex-row items-center rounded-md px-1 hover:bg-white/5"
- >
- <div className="flex h-8 w-9 items-center justify-center rounded-full bg-white/10 text-gray-300">
- {user?.firstName?.charAt(0)}
+ <FontAwesomeIcon icon={faBook} className="mr-2 text-xl" />
+ Docs
+ </a>
+ <Menu as="div" className="relative inline-block text-left">
+ <div className="mr-4">
+ <Menu.Button className="inline-flex w-full justify-center rounded-md px-2 py-2 text-sm font-medium text-gray-200 duration-200 hover:bg-white/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75">
+ <FontAwesomeIcon className="text-xl" icon={faCircleQuestion} />
+ </Menu.Button>
+ </div>
+ <Transition
+ as={Fragment}
+ enter="transition ease-out duration-100"
+ enterFrom="transform opacity-0 scale-95"
+ enterTo="transform opacity-100 scale-100"
+ leave="transition ease-in duration-75"
+ leaveFrom="transform opacity-100 scale-100"
+ leaveTo="transform opacity-0 scale-95"
+ >
+ <Menu.Items className="absolute right-0 z-20 mt-0.5 w-64 origin-top-right rounded-md border border-mineshaft-700 bg-bunker px-2 py-1.5 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none">
+ {supportOptionsList.map(([icon, text, url]) => (
+ <a
+ key={guidGenerator()}
+ target="_blank"
+ rel="noopener noreferrer"
+ href={String(url)}
+ className="flex w-full items-center rounded-md py-0.5 font-normal text-gray-300 duration-200"
+ >
+ <div className="relative flex w-full cursor-pointer select-none items-center justify-start rounded-md py-2 px-2 text-gray-400 duration-200 hover:bg-white/10 hover:text-gray-200">
+ {icon}
+ <div className="text-sm">{text}</div>
+ </div>
+ </a>
+ ))}
+ </Menu.Items>
+ </Transition>
+ </Menu>
+ <Menu as="div" className="relative mr-4 inline-block text-left">
+ <div>
+ <Menu.Button className="inline-flex w-full justify-center rounded-md py-2 pr-2 pl-2 text-sm font-medium text-gray-200 duration-200 hover:bg-white/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75">
+ {user?.firstName} {user?.lastName}
+ <FontAwesomeIcon
+ icon={faAngleDown}
+ className="ml-2 mt-1 text-sm text-gray-300 hover:text-lime-100"
+ />
+ </Menu.Button>
+ </div>
+ <Transition
+ as={Fragment}
+ enter="transition ease-out duration-100"
+ enterFrom="transform opacity-0 scale-95"
+ enterTo="transform opacity-100 scale-100"
+ leave="transition ease-in duration-75"
+ leaveFrom="transform opacity-100 scale-100"
+ leaveTo="transform opacity-0 scale-95"
+ >
+ <Menu.Items className="w-68 absolute right-0 z-[125] mt-0.5 origin-top-right divide-y divide-mineshaft-700 rounded-md border border-mineshaft-700 bg-mineshaft-900 shadow-lg ring-1 ring-black ring-opacity-5 drop-shadow-2xl focus:outline-none">
+ <div className="px-1 py-1">
+ <div className="ml-2 mt-2 self-start text-xs font-semibold tracking-wide text-gray-400">
+ {t("nav.user.signed-in-as")}
</div>
- <div className="flex w-full items-center justify-between">
- <div>
- <p className="px-2 pt-1 text-sm text-gray-300">
- {" "}
- {user?.firstName} {user?.lastName}
- </p>
- <p className="px-2 pb-1 text-xs text-gray-400">{user?.email}</p>
+ <div
+ onKeyDown={() => null}
+ role="button"
+ tabIndex={0}
+ onClick={() => router.push("/personal-settings")}
+ className="mx-1 my-1 flex cursor-pointer flex-row items-center rounded-md px-1 hover:bg-white/5"
+ >
+ <div className="flex h-8 w-9 items-center justify-center rounded-full bg-white/10 text-gray-300">
+ {user?.firstName?.charAt(0)}
+ </div>
+ <div className="flex w-full items-center justify-between">
+ <div>
+ <p className="px-2 pt-1 text-sm text-gray-300">
+ {" "}
+ {user?.firstName} {user?.lastName}
+ </p>
+ <p className="px-2 pb-1 text-xs text-gray-400">{user?.email}</p>
+ </div>
+ <FontAwesomeIcon
+ icon={faGear}
+ className="mr-1 cursor-pointer rounded-md p-2 text-lg text-gray-400 hover:bg-white/10"
+ />
</div>
- <FontAwesomeIcon
- icon={faGear}
- className="mr-1 cursor-pointer rounded-md p-2 text-lg text-gray-400 hover:bg-white/10"
- />
</div>
</div>
- </div>
- <div className="px-2 pt-2">
- <div className="ml-2 mt-2 self-start text-xs font-semibold tracking-wide text-gray-400">
- {t("nav.user.current-organization")}
- </div>
- <div
- onKeyDown={() => null}
- role="button"
- tabIndex={0}
- onClick={() => router.push(`/settings/org/${router.query.id}`)}
- className="mt-2 flex cursor-pointer flex-row items-center rounded-md px-2 py-1 hover:bg-white/5"
- >
- <div className="flex h-7 w-8 items-center justify-center rounded-md bg-white/10 text-gray-300">
- {currentOrg?.name?.charAt(0)}
+ <div className="px-2 pt-2">
+ <div className="ml-2 mt-2 self-start text-xs font-semibold tracking-wide text-gray-400">
+ {t("nav.user.current-organization")}
</div>
- <div className="flex w-full items-center justify-between">
- <p className="px-2 text-sm text-gray-300">{currentOrg?.name}</p>
- <FontAwesomeIcon
- icon={faGear}
- className="cursor-pointer rounded-md p-2 text-lg text-gray-400 hover:bg-white/10"
- />
+ <div
+ onKeyDown={() => null}
+ role="button"
+ tabIndex={0}
+ onClick={() => router.push(`/settings/org/${router.query.id}`)}
+ className="mt-2 flex cursor-pointer flex-row items-center rounded-md px-2 py-1 hover:bg-white/5"
+ >
+ <div className="flex h-7 w-8 items-center justify-center rounded-md bg-white/10 text-gray-300">
+ {currentOrg?.name?.charAt(0)}
+ </div>
+ <div className="flex w-full items-center justify-between">
+ <p className="px-2 text-sm text-gray-300">{currentOrg?.name}</p>
+ <FontAwesomeIcon
+ icon={faGear}
+ className="cursor-pointer rounded-md p-2 text-lg text-gray-400 hover:bg-white/10"
+ />
+ </div>
</div>
- </div>
- {subscription && subscription.slug !== null && (
+ {subscription && subscription.slug !== null && (
+ <button
+ // onClick={buttonAction}
+ type="button"
+ className="w-full cursor-pointer"
+ >
+ <div
+ onKeyDown={() => null}
+ role="button"
+ tabIndex={0}
+ onClick={() => router.push(`/settings/billing/${router.query.id}`)}
+ className="relative mt-1 flex cursor-pointer select-none justify-start rounded-md py-2 px-2 text-gray-400 duration-200 hover:bg-white/5 hover:text-gray-200"
+ >
+ <FontAwesomeIcon className="pl-1.5 pr-3 text-lg" icon={faCoins} />
+ <div className="text-sm">{t("nav.user.usage-billing")}</div>
+ </div>
+ </button>
+ )}
<button
- // onClick={buttonAction}
type="button"
- className="w-full cursor-pointer"
+ // onClick={buttonAction}
+ className="mb-2 w-full cursor-pointer"
>
<div
onKeyDown={() => null}
role="button"
tabIndex={0}
- onClick={() => router.push(`/settings/billing/${router.query.id}`)}
- className="relative mt-1 flex cursor-pointer select-none justify-start rounded-md py-2 px-2 text-gray-400 duration-200 hover:bg-white/5 hover:text-gray-200"
+ onClick={() => router.push(`/settings/org/${router.query.id}?invite`)}
+ className="relative mt-1 flex cursor-pointer select-none justify-start rounded-md py-2 pl-10 pr-4 text-gray-400 duration-200 hover:bg-primary/100 hover:font-semibold hover:text-black"
>
- <FontAwesomeIcon className="pl-1.5 pr-3 text-lg" icon={faCoins} />
- <div className="text-sm">{t("nav.user.usage-billing")}</div>
+ <span className="absolute inset-y-0 left-0 flex items-center rounded-lg pl-3 pr-4">
+ <FontAwesomeIcon icon={faPlus} className="ml-1" />
+ </span>
+ <div className="ml-1 text-sm">{t("nav.user.invite")}</div>
</div>
</button>
- )}
- <button
- type="button"
- // onClick={buttonAction}
- className="mb-2 w-full cursor-pointer"
- >
- <div
- onKeyDown={() => null}
- role="button"
- tabIndex={0}
- onClick={() => router.push(`/settings/org/${router.query.id}?invite`)}
- className="relative mt-1 flex cursor-pointer select-none justify-start rounded-md py-2 pl-10 pr-4 text-gray-400 duration-200 hover:bg-primary/100 hover:font-semibold hover:text-black"
- >
- <span className="absolute inset-y-0 left-0 flex items-center rounded-lg pl-3 pr-4">
- <FontAwesomeIcon icon={faPlus} className="ml-1" />
- </span>
- <div className="ml-1 text-sm">{t("nav.user.invite")}</div>
- </div>
- </button>
- </div>
- {orgs && orgs?.length > 1 && (
- <div className="px-1 pt-1">
- <div className="ml-2 mt-2 self-start text-xs font-semibold tracking-wide text-gray-400">
- {t("nav.user.other-organizations")}
- </div>
- <div className="mt-3 mb-2 flex flex-col items-start px-1">
- {orgs
- ?.filter((org: { id: string }) => org.id !== currentOrg?.id)
- .map((org: { id: string; name: string }) => (
- <div
- onKeyDown={() => null}
- role="button"
- tabIndex={0}
- key={guidGenerator()}
- onClick={() => {
- localStorage.setItem("orgData.id", org.id);
- router.reload();
- }}
- className="flex w-full cursor-pointer flex-row items-center justify-start rounded-md p-1.5 hover:bg-white/5"
- >
- <div className="flex h-7 w-8 items-center justify-center rounded-md bg-white/10 text-gray-300">
- {org.name.charAt(0)}
- </div>
- <div className="flex w-full items-center justify-between">
- <p className="px-2 text-sm text-gray-300">{org.name}</p>
+ </div>
+ {orgs && orgs?.length > 1 && (
+ <div className="px-1 pt-1">
+ <div className="ml-2 mt-2 self-start text-xs font-semibold tracking-wide text-gray-400">
+ {t("nav.user.other-organizations")}
+ </div>
+ <div className="mt-3 mb-2 flex flex-col items-start px-1">
+ {orgs
+ ?.filter((org: { id: string }) => org.id !== currentOrg?.id)
+ .map((org: { id: string; name: string }) => (
+ <div
+ onKeyDown={() => null}
+ role="button"
+ tabIndex={0}
+ key={guidGenerator()}
+ onClick={() => {
+ localStorage.setItem("orgData.id", org.id);
+ router.reload();
+ }}
+ className="flex w-full cursor-pointer flex-row items-center justify-start rounded-md p-1.5 hover:bg-white/5"
+ >
+ <div className="flex h-7 w-8 items-center justify-center rounded-md bg-white/10 text-gray-300">
+ {org.name.charAt(0)}
+ </div>
+ <div className="flex w-full items-center justify-between">
+ <p className="px-2 text-sm text-gray-300">{org.name}</p>
+ </div>
</div>
- </div>
- ))}
+ ))}
+ </div>
</div>
+ )}
+ <div className="px-1 py-1">
+ <Menu.Item>
+ {({ active }) => (
+ <button
+ type="button"
+ onClick={closeApp}
+ className={`${
+ active ? "bg-red font-semibold text-white" : "text-gray-400"
+ } group flex w-full items-center rounded-md px-2 py-2 text-sm`}
+ >
+ <div className="relative flex cursor-pointer select-none items-center justify-start">
+ <FontAwesomeIcon
+ className="ml-1.5 mr-3 text-lg"
+ icon={faRightFromBracket}
+ />
+ {t("common.logout")}
+ </div>
+ </button>
+ )}
+ </Menu.Item>
</div>
- )}
- <div className="px-1 py-1">
- <Menu.Item>
- {({ active }) => (
- <button
- type="button"
- onClick={closeApp}
- className={`${
- active ? "bg-red font-semibold text-white" : "text-gray-400"
- } group flex w-full items-center rounded-md px-2 py-2 text-sm`}
- >
- <div className="relative flex cursor-pointer select-none items-center justify-start">
- <FontAwesomeIcon
- className="ml-1.5 mr-3 text-lg"
- icon={faRightFromBracket}
- />
- {t("common.logout")}
- </div>
- </button>
- )}
- </Menu.Item>
- </div>
- </Menu.Items>
- </Transition>
- </Menu>
- </div>
+ </Menu.Items>
+ </Transition>
+ </Menu>
+ </div>
</div>
{subscription && subscription.slug === "starter" && !subscription.has_used_trial && (
- <div className="w-full mx-auto border-t border-mineshaft-500 text-center">
- <button
+ <div className="mx-auto w-full border-t border-mineshaft-500 text-center">
+ <button
type="button"
onClick={async () => {
if (!subscription || !currentOrg) return;
-
+
// direct user to start pro trial
const url = await mutateAsync({
- orgId: currentOrg.id,
+ orgId: currentOrg._id,
success_url: window.location.href
});
-
+
window.location.href = url;
}}
- className="text-center py-4 text-sm mx-auto"
+ className="mx-auto py-4 text-center text-sm"
>
- You are currently on the <span className="font-semibold">Starter</span> plan. Unlock the full power of Infisical on the <span className="font-semibold">Pro Free Trial &rarr;</span>
+ You are currently on the <span className="font-semibold">Starter</span> plan. Unlock the
+ full power of Infisical on the{" "}
+ <span className="font-semibold">Pro Free Trial &rarr;</span>
</button>
</div>
)}
</div>
);
-};
\ No newline at end of file
+};
diff --git a/frontend/src/pages/api/secret-scanning/getRisksByOrganization.ts b/frontend/src/pages/api/secret-scanning/getRisksByOrganization.ts
index 2c555191c2..d6a9b1d6d5 100644
--- a/frontend/src/pages/api/secret-scanning/getRisksByOrganization.ts
+++ b/frontend/src/pages/api/secret-scanning/getRisksByOrganization.ts
@@ -25,28 +25,28 @@ export type IGitRisks = {
isFalsePositive: boolean; // New field for marking risks as false positives
isResolved: boolean; // New field for marking risks as resolved
riskOwner: string | null; // New field for setting a risk owner (nullable string)
- installationId: string,
- repositoryId: string,
- repositoryLink: string
- repositoryFullName: string
+ installationId: string;
+ repositoryId: string;
+ repositoryLink: string;
+ repositoryFullName: string;
pusher: {
- name: string,
- email: string
- },
- createdAt: string,
- organization: string,
-}
+ name: string;
+ email: string;
+ };
+ createdAt: string;
+ organization: string;
+};
/**
* Will create a new integration session and return it for the given org
- * @returns
+ * @returns
*/
const getRisksByOrganization = (oranizationId: string): Promise<IGitRisks[]> =>
SecurityClient.fetchCall(`/api/v1/secret-scanning/organization/${oranizationId}/risks`, {
method: "GET",
headers: {
"Content-Type": "application/json"
- },
+ }
}).then(async (res) => {
if (res && res.status === 200) {
return (await res.json()).risks;
diff --git a/frontend/src/pages/dashboard.tsx b/frontend/src/pages/dashboard.tsx
index 42b55d1b36..a4909303cf 100644
--- a/frontend/src/pages/dashboard.tsx
+++ b/frontend/src/pages/dashboard.tsx
@@ -18,9 +18,9 @@ export default function DashboardRedirect() {
if (localStorage.getItem("orgData.id")) {
router.push(`/org/${localStorage.getItem("orgData.id")}/overview`);
} else if (userOrgs) {
- userOrg = userOrgs[0].id;
- router.push(`/org/${userOrg}/overview`);
- }
+ userOrg = userOrgs[0].id;
+ router.push(`/org/${userOrg}/overview`);
+ }
} catch (error) {
console.log("Error - Not logged in yet");
}
diff --git a/frontend/src/pages/integrations/aws-parameter-store/authorize.tsx b/frontend/src/pages/integrations/aws-parameter-store/authorize.tsx
index 53e8c34da2..ae94837deb 100644
--- a/frontend/src/pages/integrations/aws-parameter-store/authorize.tsx
+++ b/frontend/src/pages/integrations/aws-parameter-store/authorize.tsx
@@ -6,16 +6,14 @@ import { useRouter } from "next/router";
import { faArrowUpRightFromSquare, faBookOpen } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
export default function AWSParameterStoreAuthorizeIntegrationPage() {
const router = useRouter();
const { mutateAsync } = useSaveIntegrationAccessToken();
-
+
const [isLoading, setIsLoading] = useState(false);
const [accessKey, setAccessKey] = useState("");
@@ -63,11 +61,11 @@ export default function AWSParameterStoreAuthorizeIntegrationPage() {
<div className="flex h-full w-full items-center justify-center">
<Head>
<title>Authorize AWS Parameter Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
<Card className="max-w-lg rounded-md border border-mineshaft-600">
- <CardTitle
- className="text-left px-6 text-xl"
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="After adding the details below, you will be prompted to set up an integration for a particular Infisical project and environment."
>
<div className="flex flex-row items-center">
@@ -82,10 +80,13 @@ export default function AWSParameterStoreAuthorizeIntegrationPage() {
<span className="ml-1.5">AWS Parameter Store Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/aws-parameter-store" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -97,11 +98,7 @@ export default function AWSParameterStoreAuthorizeIntegrationPage() {
isError={accessKeyErrorText !== "" ?? false}
className="px-6"
>
- <Input
- placeholder=""
- value={accessKey}
- onChange={(e) => setAccessKey(e.target.value)}
- />
+ <Input placeholder="" value={accessKey} onChange={(e) => setAccessKey(e.target.value)} />
</FormControl>
<FormControl
label="Secret Access Key"
diff --git a/frontend/src/pages/integrations/aws-parameter-store/create.tsx b/frontend/src/pages/integrations/aws-parameter-store/create.tsx
index b9350ec03b..23fb210a0c 100644
--- a/frontend/src/pages/integrations/aws-parameter-store/create.tsx
+++ b/frontend/src/pages/integrations/aws-parameter-store/create.tsx
@@ -3,13 +3,16 @@ import Head from "next/head";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/router";
-import { faArrowUpRightFromSquare, faBookOpen, faBugs, faCircleInfo } from "@fortawesome/free-solid-svg-icons";
+import {
+ faArrowUpRightFromSquare,
+ faBookOpen,
+ faBugs,
+ faCircleInfo
+} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -62,7 +65,9 @@ export default function AWSParameterStoreCreateIntegrationPage() {
const { integrationAuthId } = queryString.parse(router.asPath.split("?")[1]);
const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
- const { data: integrationAuth, isLoading: isintegrationAuthLoading } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
+ const { data: integrationAuth, isLoading: isintegrationAuthLoading } = useGetIntegrationAuthById(
+ (integrationAuthId as string) ?? ""
+ );
const [selectedSourceEnvironment, setSelectedSourceEnvironment] = useState("");
const [secretPath, setSecretPath] = useState("/");
@@ -118,14 +123,14 @@ export default function AWSParameterStoreCreateIntegrationPage() {
};
return integrationAuth && workspace && selectedSourceEnvironment ? (
- <div className="flex flex-col h-full w-full items-center justify-center">
+ <div className="flex h-full w-full flex-col items-center justify-center">
<Head>
<title>Set Up AWS Parameter Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
<Card className="max-w-lg rounded-md border border-mineshaft-600">
- <CardTitle
- className="text-left px-6 text-xl"
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Choose which environment in Infisical you want to sync to secerts in AWS Parameter Store."
>
<div className="flex flex-row items-center">
@@ -140,10 +145,13 @@ export default function AWSParameterStoreCreateIntegrationPage() {
<span className="ml-1.5">AWS Parameter Store Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/aws-parameter-store" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -185,7 +193,12 @@ export default function AWSParameterStoreCreateIntegrationPage() {
))}
</Select>
</FormControl>
- <FormControl label="Path" errorText={pathErrorText} isError={pathErrorText !== "" ?? false} className="px-6">
+ <FormControl
+ label="Path"
+ errorText={pathErrorText}
+ isError={pathErrorText !== "" ?? false}
+ className="px-6"
+ >
<Input
placeholder={`/${workspace.name
.toLowerCase()
@@ -204,31 +217,49 @@ export default function AWSParameterStoreCreateIntegrationPage() {
Create Integration
</Button>
</Card>
- <div className="border-t border-mineshaft-800 w-full max-w-md mt-6"/>
- <div className="flex flex-col bg-mineshaft-800 border border-mineshaft-600 w-full p-4 max-w-lg mt-6 rounded-md">
- <div className="flex flex-row items-center"><FontAwesomeIcon icon={faCircleInfo} className="text-mineshaft-200 text-xl"/> <span className="ml-3 text-md text-mineshaft-100">Pro Tips</span></div>
- <span className="text-mineshaft-300 text-sm mt-4">After creating an integration, your secrets will start syncing immediately. This might cause an unexpected override of current secrets in AWS Parameter Store with secrets from Infisical.</span>
+ <div className="mt-6 w-full max-w-md border-t border-mineshaft-800" />
+ <div className="mt-6 flex w-full max-w-lg flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4">
+ <div className="flex flex-row items-center">
+ <FontAwesomeIcon icon={faCircleInfo} className="text-xl text-mineshaft-200" />{" "}
+ <span className="text-md ml-3 text-mineshaft-100">Pro Tips</span>
+ </div>
+ <span className="mt-4 text-sm text-mineshaft-300">
+ After creating an integration, your secrets will start syncing immediately. This might
+ cause an unexpected override of current secrets in AWS Parameter Store with secrets from
+ Infisical.
+ </span>
</div>
</div>
) : (
- <div className="flex justify-center items-center w-full h-full">
+ <div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up AWS Parameter Store Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- {isintegrationAuthLoading ? <img src="/images/loading/loading.gif" height={70} width={120} alt="infisical loading indicator" /> : <div className="max-w-md h-max p-6 border border-mineshaft-600 rounded-md bg-mineshaft-800 text-mineshaft-200 flex flex-col text-center">
- <FontAwesomeIcon icon={faBugs} className="text-6xl my-2 inlineli"/>
- <p>
- Something went wrong. Please contact <a
- className="inline underline underline-offset-4 decoration-primary-500 opacity-80 hover:opacity-100 text-mineshaft-100 duration-200 cursor-pointer"
- target="_blank"
- rel="noopener noreferrer"
- href="mailto:[email protected]"
- >
- </a> if the issue persists.
- </p>
- </div>}
+ {isintegrationAuthLoading ? (
+ <img
+ src="/images/loading/loading.gif"
+ height={70}
+ width={120}
+ alt="infisical loading indicator"
+ />
+ ) : (
+ <div className="flex h-max max-w-md flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6 text-center text-mineshaft-200">
+ <FontAwesomeIcon icon={faBugs} className="inlineli my-2 text-6xl" />
+ <p>
+ Something went wrong. Please contact{" "}
+ <a
+ className="inline cursor-pointer text-mineshaft-100 underline decoration-primary-500 underline-offset-4 opacity-80 duration-200 hover:opacity-100"
+ target="_blank"
+ rel="noopener noreferrer"
+ href="mailto:[email protected]"
+ >
+ </a>{" "}
+ if the issue persists.
+ </p>
+ </div>
+ )}
</div>
);
}
diff --git a/frontend/src/pages/integrations/aws-secret-manager/authorize.tsx b/frontend/src/pages/integrations/aws-secret-manager/authorize.tsx
index daf3222b47..975b98b0a8 100644
--- a/frontend/src/pages/integrations/aws-secret-manager/authorize.tsx
+++ b/frontend/src/pages/integrations/aws-secret-manager/authorize.tsx
@@ -61,11 +61,11 @@ export default function AWSSecretManagerCreateIntegrationPage() {
<div className="flex h-full w-full items-center justify-center">
<Head>
<title>Authorize AWS Secrets Manager Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
<Card className="max-w-lg rounded-md border border-mineshaft-600">
- <CardTitle
- className="text-left px-6 text-xl"
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="After adding the details below, you will be prompted to set up an integration for a particular Infisical project and environment."
>
<div className="flex flex-row items-center">
@@ -80,10 +80,13 @@ export default function AWSSecretManagerCreateIntegrationPage() {
<span className="ml-1.5">AWS Secrets Manager Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/aws-secret-manager" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
diff --git a/frontend/src/pages/integrations/aws-secret-manager/create.tsx b/frontend/src/pages/integrations/aws-secret-manager/create.tsx
index 056b0d0999..45017f0305 100644
--- a/frontend/src/pages/integrations/aws-secret-manager/create.tsx
+++ b/frontend/src/pages/integrations/aws-secret-manager/create.tsx
@@ -3,13 +3,16 @@ import Head from "next/head";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/router";
-import { faArrowUpRightFromSquare, faBookOpen, faBugs, faCircleInfo } from "@fortawesome/free-solid-svg-icons";
+import {
+ faArrowUpRightFromSquare,
+ faBookOpen,
+ faBugs,
+ faCircleInfo
+} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -62,7 +65,9 @@ export default function AWSSecretManagerCreateIntegrationPage() {
const { integrationAuthId } = queryString.parse(router.asPath.split("?")[1]);
const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
- const { data: integrationAuth, isLoading: isintegrationAuthLoading } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
+ const { data: integrationAuth, isLoading: isintegrationAuthLoading } = useGetIntegrationAuthById(
+ (integrationAuthId as string) ?? ""
+ );
const [selectedSourceEnvironment, setSelectedSourceEnvironment] = useState("");
const [secretPath, setSecretPath] = useState("/");
@@ -117,14 +122,14 @@ export default function AWSSecretManagerCreateIntegrationPage() {
};
return integrationAuth && workspace && selectedSourceEnvironment ? (
- <div className="flex flex-col h-full w-full items-center justify-center">
+ <div className="flex h-full w-full flex-col items-center justify-center">
<Head>
<title>Set Up AWS Secrets Manager Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
<Card className="max-w-lg rounded-md border border-mineshaft-600">
- <CardTitle
- className="text-left px-6 text-xl"
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Choose which environment in Infisical you want to sync to secerts in AWS Secrets Manager."
>
<div className="flex flex-row items-center">
@@ -139,10 +144,13 @@ export default function AWSSecretManagerCreateIntegrationPage() {
<span className="ml-1.5">AWS Secrets Manager Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/aws-secret-manager" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -208,31 +216,49 @@ export default function AWSSecretManagerCreateIntegrationPage() {
Create Integration
</Button>
</Card>
- <div className="border-t border-mineshaft-800 w-full max-w-md mt-6"/>
- <div className="flex flex-col bg-mineshaft-800 border border-mineshaft-600 w-full p-4 max-w-lg mt-6 rounded-md">
- <div className="flex flex-row items-center"><FontAwesomeIcon icon={faCircleInfo} className="text-mineshaft-200 text-xl"/> <span className="ml-3 text-md text-mineshaft-100">Pro Tips</span></div>
- <span className="text-mineshaft-300 text-sm mt-4">After creating an integration, your secrets will start syncing immediately. This might cause an unexpected override of current secrets in AWS Secrets Manager with secrets from Infisical.</span>
+ <div className="mt-6 w-full max-w-md border-t border-mineshaft-800" />
+ <div className="mt-6 flex w-full max-w-lg flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4">
+ <div className="flex flex-row items-center">
+ <FontAwesomeIcon icon={faCircleInfo} className="text-xl text-mineshaft-200" />{" "}
+ <span className="text-md ml-3 text-mineshaft-100">Pro Tips</span>
+ </div>
+ <span className="mt-4 text-sm text-mineshaft-300">
+ After creating an integration, your secrets will start syncing immediately. This might
+ cause an unexpected override of current secrets in AWS Secrets Manager with secrets from
+ Infisical.
+ </span>
</div>
</div>
) : (
- <div className="flex justify-center items-center w-full h-full">
+ <div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up AWS Secrets Manager Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- {isintegrationAuthLoading ? <img src="/images/loading/loading.gif" height={70} width={120} alt="infisical loading indicator" /> : <div className="max-w-md h-max p-6 border border-mineshaft-600 rounded-md bg-mineshaft-800 text-mineshaft-200 flex flex-col text-center">
- <FontAwesomeIcon icon={faBugs} className="text-6xl my-2 inlineli"/>
- <p>
- Something went wrong. Please contact <a
- className="inline underline underline-offset-4 decoration-primary-500 opacity-80 hover:opacity-100 text-mineshaft-100 duration-200 cursor-pointer"
- target="_blank"
- rel="noopener noreferrer"
- href="mailto:[email protected]"
- >
- </a> if the issue persists.
- </p>
- </div>}
+ {isintegrationAuthLoading ? (
+ <img
+ src="/images/loading/loading.gif"
+ height={70}
+ width={120}
+ alt="infisical loading indicator"
+ />
+ ) : (
+ <div className="flex h-max max-w-md flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6 text-center text-mineshaft-200">
+ <FontAwesomeIcon icon={faBugs} className="inlineli my-2 text-6xl" />
+ <p>
+ Something went wrong. Please contact{" "}
+ <a
+ className="inline cursor-pointer text-mineshaft-100 underline decoration-primary-500 underline-offset-4 opacity-80 duration-200 hover:opacity-100"
+ target="_blank"
+ rel="noopener noreferrer"
+ href="mailto:[email protected]"
+ >
+ </a>{" "}
+ if the issue persists.
+ </p>
+ </div>
+ )}
</div>
);
}
diff --git a/frontend/src/pages/integrations/azure-key-vault/create.tsx b/frontend/src/pages/integrations/azure-key-vault/create.tsx
index da160a6f87..acf2c61bda 100644
--- a/frontend/src/pages/integrations/azure-key-vault/create.tsx
+++ b/frontend/src/pages/integrations/azure-key-vault/create.tsx
@@ -2,9 +2,7 @@ import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
diff --git a/frontend/src/pages/integrations/azure-key-vault/oauth2/callback.tsx b/frontend/src/pages/integrations/azure-key-vault/oauth2/callback.tsx
index df5a500063..9027263140 100644
--- a/frontend/src/pages/integrations/azure-key-vault/oauth2/callback.tsx
+++ b/frontend/src/pages/integrations/azure-key-vault/oauth2/callback.tsx
@@ -2,9 +2,7 @@ import { useEffect } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useAuthorizeIntegration
-} from "@app/hooks/api";
+import { useAuthorizeIntegration } from "@app/hooks/api";
export default function AzureKeyVaultOAuth2CallbackPage() {
const router = useRouter();
@@ -25,9 +23,7 @@ export default function AzureKeyVaultOAuth2CallbackPage() {
integration: "azure-key-vault"
});
- router.push(
- `/integrations/azure-key-vault/create?integrationAuthId=${integrationAuth.id}`
- );
+ router.push(`/integrations/azure-key-vault/create?integrationAuthId=${integrationAuth.id}`);
} catch (err) {
console.error(err);
}
diff --git a/frontend/src/pages/integrations/bitbucket/create.tsx b/frontend/src/pages/integrations/bitbucket/create.tsx
index a9f678d9c6..86c9462327 100644
--- a/frontend/src/pages/integrations/bitbucket/create.tsx
+++ b/frontend/src/pages/integrations/bitbucket/create.tsx
@@ -2,9 +2,7 @@ import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -18,7 +16,7 @@ import {
import {
useGetIntegrationAuthApps,
useGetIntegrationAuthBitBucketWorkspaces,
- useGetIntegrationAuthById,
+ useGetIntegrationAuthById
} from "../../../hooks/api/integrationAuth";
import { useGetWorkspaceById } from "../../../hooks/api/workspace";
@@ -36,7 +34,9 @@ export default function BitBucketCreateIntegrationPage() {
const { integrationAuthId } = queryString.parse(router.asPath.split("?")[1]);
const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
- const { data: targetEnvironments } = useGetIntegrationAuthBitBucketWorkspaces((integrationAuthId as string) ?? "");
+ const { data: targetEnvironments } = useGetIntegrationAuthBitBucketWorkspaces(
+ (integrationAuthId as string) ?? ""
+ );
const { data: integrationAuthApps } = useGetIntegrationAuthApps({
integrationAuthId: (integrationAuthId as string) ?? "",
workspaceSlug: targetEnvironmentId
diff --git a/frontend/src/pages/integrations/bitbucket/oauth2/callback.tsx b/frontend/src/pages/integrations/bitbucket/oauth2/callback.tsx
index 205086c19c..bfc8628d24 100644
--- a/frontend/src/pages/integrations/bitbucket/oauth2/callback.tsx
+++ b/frontend/src/pages/integrations/bitbucket/oauth2/callback.tsx
@@ -2,9 +2,7 @@ import { useEffect } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useAuthorizeIntegration
-} from "@app/hooks/api";
+import { useAuthorizeIntegration } from "@app/hooks/api";
export default function BitBucketOAuth2CallbackPage() {
const router = useRouter();
diff --git a/frontend/src/pages/integrations/checkly/authorize.tsx b/frontend/src/pages/integrations/checkly/authorize.tsx
index 6340aac988..c15516200b 100644
--- a/frontend/src/pages/integrations/checkly/authorize.tsx
+++ b/frontend/src/pages/integrations/checkly/authorize.tsx
@@ -6,9 +6,7 @@ import { useRouter } from "next/router";
import { faArrowUpRightFromSquare, faBookOpen } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
@@ -48,11 +46,11 @@ export default function ChecklyCreateIntegrationPage() {
<div className="flex h-full w-full items-center justify-center">
<Head>
<title>Authorize Checkly Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- <Card className="max-w-lg rounded-md border border-mineshaft-600 mb-12">
- <CardTitle
- className="text-left px-6 text-xl"
+ <Card className="mb-12 max-w-lg rounded-md border border-mineshaft-600">
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="After adding your API key, you will be prompted to set up an integration for a particular Infisical project and environment."
>
<div className="flex flex-row items-center">
@@ -67,10 +65,13 @@ export default function ChecklyCreateIntegrationPage() {
<span className="ml-2.5">Checkly Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/checkly" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
diff --git a/frontend/src/pages/integrations/checkly/create.tsx b/frontend/src/pages/integrations/checkly/create.tsx
index 290ca1d1db..985ffbdbae 100644
--- a/frontend/src/pages/integrations/checkly/create.tsx
+++ b/frontend/src/pages/integrations/checkly/create.tsx
@@ -21,9 +21,7 @@ import {
TabPanel,
Tabs
} from "@app/components/v2";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
useGetIntegrationAuthApps,
@@ -54,13 +52,15 @@ export default function ChecklyCreateIntegrationPage() {
const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
- const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({
- integrationAuthId: (integrationAuthId as string) ?? ""
- });
- const { data: integrationAuthGroups, isLoading: isintegrationAuthGroupsLoading } = useGetIntegrationAuthChecklyGroups({
- integrationAuthId: (integrationAuthId as string) ?? "",
- accountId: targetAppId
- });
+ const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } =
+ useGetIntegrationAuthApps({
+ integrationAuthId: (integrationAuthId as string) ?? ""
+ });
+ const { data: integrationAuthGroups, isLoading: isintegrationAuthGroupsLoading } =
+ useGetIntegrationAuthChecklyGroups({
+ integrationAuthId: (integrationAuthId as string) ?? "",
+ accountId: targetAppId
+ });
useEffect(() => {
if (workspace) {
@@ -90,9 +90,9 @@ export default function ChecklyCreateIntegrationPage() {
const targetGroup = integrationAuthGroups?.find(
(group) => group.groupId === Number(targetGroupId)
);
-
+
if (!targetApp) return;
-
+
await mutateAsync({
integrationAuthId: integrationAuth?.id,
isActive: true,
@@ -118,17 +118,17 @@ export default function ChecklyCreateIntegrationPage() {
return integrationAuth &&
workspace &&
selectedSourceEnvironment &&
- integrationAuthApps &&
+ integrationAuthApps &&
integrationAuthGroups &&
targetAppId ? (
- <div className="flex h-full flex-col w-full py-6 items-center justify-center bg-gradient-to-tr from-mineshaft-900 to-bunker-900">
+ <div className="flex h-full w-full flex-col items-center justify-center bg-gradient-to-tr from-mineshaft-900 to-bunker-900 py-6">
<Head>
<title>Set Up Checkly Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
<Card className="max-w-lg rounded-md border border-mineshaft-600 p-0">
- <CardTitle
- className="text-left px-6 text-xl"
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Choose which environment in Infisical you want to sync to Checkly environment variables."
>
<div className="flex flex-row items-center">
@@ -143,10 +143,13 @@ export default function ChecklyCreateIntegrationPage() {
<span className="ml-2.5">Checkly Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/checkly" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -154,7 +157,7 @@ export default function ChecklyCreateIntegrationPage() {
</CardTitle>
<Tabs defaultValue={TabSections.Connection} className="px-6">
<TabList>
- <div className="flex flex-row border-b border-mineshaft-600 w-full">
+ <div className="flex w-full flex-row border-b border-mineshaft-600">
<Tab value={TabSections.Connection}>Connection</Tab>
<Tab value={TabSections.Options}>Options</Tab>
</div>
@@ -268,24 +271,35 @@ export default function ChecklyCreateIntegrationPage() {
</Card>
</div>
) : (
- <div className="flex justify-center items-center w-full h-full">
+ <div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up Checkly Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- {isIntegrationAuthAppsLoading || isintegrationAuthGroupsLoading ? <img src="/images/loading/loading.gif" height={70} width={120} alt="infisical loading indicator" /> : <div className="max-w-md h-max p-6 border border-mineshaft-600 rounded-md bg-mineshaft-800 text-mineshaft-200 flex flex-col text-center">
- <FontAwesomeIcon icon={faBugs} className="text-6xl my-2 inlineli"/>
- <p>
- Something went wrong. Please contact <a
- className="inline underline underline-offset-4 decoration-primary-500 opacity-80 hover:opacity-100 text-mineshaft-100 duration-200 cursor-pointer"
- target="_blank"
- rel="noopener noreferrer"
- href="mailto:[email protected]"
- >
- </a> if the issue persists.
- </p>
- </div>}
+ {isIntegrationAuthAppsLoading || isintegrationAuthGroupsLoading ? (
+ <img
+ src="/images/loading/loading.gif"
+ height={70}
+ width={120}
+ alt="infisical loading indicator"
+ />
+ ) : (
+ <div className="flex h-max max-w-md flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6 text-center text-mineshaft-200">
+ <FontAwesomeIcon icon={faBugs} className="inlineli my-2 text-6xl" />
+ <p>
+ Something went wrong. Please contact{" "}
+ <a
+ className="inline cursor-pointer text-mineshaft-100 underline decoration-primary-500 underline-offset-4 opacity-80 duration-200 hover:opacity-100"
+ target="_blank"
+ rel="noopener noreferrer"
+ href="mailto:[email protected]"
+ >
+ </a>{" "}
+ if the issue persists.
+ </p>
+ </div>
+ )}
</div>
);
}
diff --git a/frontend/src/pages/integrations/circleci/authorize.tsx b/frontend/src/pages/integrations/circleci/authorize.tsx
index 5d9f207bbd..fc57c19cec 100644
--- a/frontend/src/pages/integrations/circleci/authorize.tsx
+++ b/frontend/src/pages/integrations/circleci/authorize.tsx
@@ -6,9 +6,7 @@ import { useRouter } from "next/router";
import { faArrowUpRightFromSquare, faBookOpen } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
@@ -48,11 +46,11 @@ export default function CircleCICreateIntegrationPage() {
<div className="flex h-full w-full items-center justify-center">
<Head>
<title>Authorize CircleCI Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- <Card className="max-w-lg rounded-md border border-mineshaft-600 mb-12">
- <CardTitle
- className="text-left px-6 text-xl"
+ <Card className="mb-12 max-w-lg rounded-md border border-mineshaft-600">
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="After adding your API Token, you will be prompted to set up an integration for a particular Infisical project and environment."
>
<div className="flex flex-row items-center">
@@ -67,10 +65,13 @@ export default function CircleCICreateIntegrationPage() {
<span className="ml-1.5">CircleCI Integration </span>
<Link href="https://infisical.com/docs/integrations/cicd/circleci" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
diff --git a/frontend/src/pages/integrations/circleci/create.tsx b/frontend/src/pages/integrations/circleci/create.tsx
index 73bebaae8c..854846b534 100644
--- a/frontend/src/pages/integrations/circleci/create.tsx
+++ b/frontend/src/pages/integrations/circleci/create.tsx
@@ -3,13 +3,16 @@ import Head from "next/head";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/router";
-import { faArrowUpRightFromSquare, faBookOpen, faBugs, faCircleInfo } from "@fortawesome/free-solid-svg-icons";
+import {
+ faArrowUpRightFromSquare,
+ faBookOpen,
+ faBugs,
+ faCircleInfo
+} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -33,10 +36,13 @@ export default function CircleCICreateIntegrationPage() {
const { integrationAuthId } = queryString.parse(router.asPath.split("?")[1]);
const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
- const { data: integrationAuth, isLoading: isintegrationAuthLoading } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
- const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({
- integrationAuthId: (integrationAuthId as string) ?? ""
- });
+ const { data: integrationAuth, isLoading: isintegrationAuthLoading } = useGetIntegrationAuthById(
+ (integrationAuthId as string) ?? ""
+ );
+ const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } =
+ useGetIntegrationAuthApps({
+ integrationAuthId: (integrationAuthId as string) ?? ""
+ });
const [selectedSourceEnvironment, setSelectedSourceEnvironment] = useState("");
const [secretPath, setSecretPath] = useState("/");
@@ -71,7 +77,9 @@ export default function CircleCICreateIntegrationPage() {
integrationAuthId: integrationAuth?.id,
isActive: true,
app: targetApp,
- appId: integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp)?.appId,
+ appId: integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.name === targetApp
+ )?.appId,
sourceEnvironment: selectedSourceEnvironment,
secretPath
});
@@ -89,14 +97,14 @@ export default function CircleCICreateIntegrationPage() {
selectedSourceEnvironment &&
integrationAuthApps &&
targetApp ? (
- <div className="flex flex-col h-full w-full items-center justify-center">
+ <div className="flex h-full w-full flex-col items-center justify-center">
<Head>
<title>Set Up CircleCI Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
<Card className="max-w-lg rounded-md border border-mineshaft-600">
- <CardTitle
- className="text-left px-6 text-xl"
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Choose which environment or folder in Infisical you want to sync to CircleCI environment variables."
>
<div className="flex flex-row items-center">
@@ -111,10 +119,13 @@ export default function CircleCICreateIntegrationPage() {
<span className="ml-1.5">CircleCI Integration </span>
<Link href="https://infisical.com/docs/integrations/cicd/circleci" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -177,31 +188,48 @@ export default function CircleCICreateIntegrationPage() {
Create Integration
</Button>
</Card>
- <div className="border-t border-mineshaft-800 w-full max-w-md mt-6"/>
- <div className="flex flex-col bg-mineshaft-800 border border-mineshaft-600 w-full p-4 max-w-lg mt-6 rounded-md">
- <div className="flex flex-row items-center"><FontAwesomeIcon icon={faCircleInfo} className="text-mineshaft-200 text-xl"/> <span className="ml-3 text-md text-mineshaft-100">Pro Tips</span></div>
- <span className="text-mineshaft-300 text-sm mt-4">After creating an integration, your secrets will start syncing immediately. This might cause an unexpected override of current secrets in CircleCI with secrets from Infisical.</span>
+ <div className="mt-6 w-full max-w-md border-t border-mineshaft-800" />
+ <div className="mt-6 flex w-full max-w-lg flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4">
+ <div className="flex flex-row items-center">
+ <FontAwesomeIcon icon={faCircleInfo} className="text-xl text-mineshaft-200" />{" "}
+ <span className="text-md ml-3 text-mineshaft-100">Pro Tips</span>
+ </div>
+ <span className="mt-4 text-sm text-mineshaft-300">
+ After creating an integration, your secrets will start syncing immediately. This might
+ cause an unexpected override of current secrets in CircleCI with secrets from Infisical.
+ </span>
</div>
</div>
) : (
- <div className="flex justify-center items-center w-full h-full">
+ <div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up CircleCI Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- {isIntegrationAuthAppsLoading || isintegrationAuthLoading ? <img src="/images/loading/loading.gif" height={70} width={120} alt="infisical loading indicator" /> : <div className="max-w-md h-max p-6 border border-mineshaft-600 rounded-md bg-mineshaft-800 text-mineshaft-200 flex flex-col text-center">
- <FontAwesomeIcon icon={faBugs} className="text-6xl my-2 inlineli"/>
- <p>
- Something went wrong. Please contact <a
- className="inline underline underline-offset-4 decoration-primary-500 opacity-80 hover:opacity-100 text-mineshaft-100 duration-200 cursor-pointer"
- target="_blank"
- rel="noopener noreferrer"
- href="mailto:[email protected]"
- >
- </a> if the issue persists.
- </p>
- </div>}
+ {isIntegrationAuthAppsLoading || isintegrationAuthLoading ? (
+ <img
+ src="/images/loading/loading.gif"
+ height={70}
+ width={120}
+ alt="infisical loading indicator"
+ />
+ ) : (
+ <div className="flex h-max max-w-md flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6 text-center text-mineshaft-200">
+ <FontAwesomeIcon icon={faBugs} className="inlineli my-2 text-6xl" />
+ <p>
+ Something went wrong. Please contact{" "}
+ <a
+ className="inline cursor-pointer text-mineshaft-100 underline decoration-primary-500 underline-offset-4 opacity-80 duration-200 hover:opacity-100"
+ target="_blank"
+ rel="noopener noreferrer"
+ href="mailto:[email protected]"
+ >
+ </a>{" "}
+ if the issue persists.
+ </p>
+ </div>
+ )}
</div>
);
}
diff --git a/frontend/src/pages/integrations/cloud-66/authorize.tsx b/frontend/src/pages/integrations/cloud-66/authorize.tsx
index 6582cfab1b..1f4261fbcf 100644
--- a/frontend/src/pages/integrations/cloud-66/authorize.tsx
+++ b/frontend/src/pages/integrations/cloud-66/authorize.tsx
@@ -1,9 +1,7 @@
import { useState } from "react";
import { useRouter } from "next/router";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
diff --git a/frontend/src/pages/integrations/cloud-66/create.tsx b/frontend/src/pages/integrations/cloud-66/create.tsx
index 7e7d42507e..a82059ff50 100644
--- a/frontend/src/pages/integrations/cloud-66/create.tsx
+++ b/frontend/src/pages/integrations/cloud-66/create.tsx
@@ -2,9 +2,7 @@ import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -16,8 +14,8 @@ import {
SelectItem
} from "../../../components/v2";
import {
- useGetIntegrationAuthApps,
- useGetIntegrationAuthById,
+ useGetIntegrationAuthApps,
+ useGetIntegrationAuthById
} from "../../../hooks/api/integrationAuth";
import { useGetWorkspaceById } from "../../../hooks/api/workspace";
@@ -64,7 +62,9 @@ export default function Cloud66CreateIntegrationPage() {
integrationAuthId: integrationAuth?.id,
isActive: true,
app: targetApp,
- appId: integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp)?.appId,
+ appId: integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.name === targetApp
+ )?.appId,
sourceEnvironment: selectedSourceEnvironment,
secretPath
});
diff --git a/frontend/src/pages/integrations/cloudflare-pages/authorize.tsx b/frontend/src/pages/integrations/cloudflare-pages/authorize.tsx
index e526271e51..362b88afe7 100644
--- a/frontend/src/pages/integrations/cloudflare-pages/authorize.tsx
+++ b/frontend/src/pages/integrations/cloudflare-pages/authorize.tsx
@@ -1,92 +1,102 @@
import { useState } from "react";
+import Head from "next/head";
+import Image from "next/image";
+import Link from "next/link";
import { useRouter } from "next/router";
+import { faArrowUpRightFromSquare, faBookOpen } from "@fortawesome/free-solid-svg-icons";
+import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
-import { Button,Card, CardTitle, FormControl, Input } from "../../../components/v2";
+import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
-export default function CloudflarePagesIntegrationPage() {
- const router = useRouter();
- const { mutateAsync } = useSaveIntegrationAccessToken();
+export default function RenderCreateIntegrationPage() {
+ const router = useRouter();
+ const { mutateAsync } = useSaveIntegrationAccessToken();
- const [accessKey, setAccessKey] = useState("");
- const [accessKeyErrorText, setAccessKeyErrorText] = useState("");
- const [accountId, setAccountId] = useState("");
- const [accountIdErrorText, setAccountIdErrorText] = useState("");
- const [isLoading, setIsLoading] = useState(false);
+ const [apiKey, setApiKey] = useState("");
+ const [apiKeyErrorText, setApiKeyErrorText] = useState("");
+ const [isLoading, setIsLoading] = useState(false);
- const handleButtonClick = async () => {
- try {
- setAccessKeyErrorText("");
- setAccountIdErrorText("");
- if (accessKey.length === 0 || accountId.length === 0) {
- if (accessKey.length === 0) setAccessKeyErrorText("API token cannot be blank!");
- if (accountId.length === 0) setAccountIdErrorText("Account ID cannot be blank!");
- return;
- }
+ const handleButtonClick = async () => {
+ try {
+ setApiKeyErrorText("");
+ if (apiKey.length === 0) {
+ setApiKeyErrorText("API Key cannot be blank");
+ return;
+ }
- setIsLoading(true);
+ setIsLoading(true);
- const integrationAuth = await mutateAsync({
- workspaceId: localStorage.getItem("projectData.id"),
- integration: "cloudflare-pages",
- accessId: accountId,
- accessToken: accessKey
- });
+ const integrationAuth = await mutateAsync({
+ workspaceId: localStorage.getItem("projectData.id"),
+ integration: "render",
+ accessToken: apiKey
+ });
- setAccessKey("");
- setAccountId("");
- setIsLoading(false);
+ setIsLoading(false);
- router.push(`/integrations/cloudflare-pages/create?integrationAuthId=${integrationAuth.id}`);
- } catch (err) {
- console.error(err);
- }
+ router.push(`/integrations/render/create?integrationAuthId=${integrationAuth._id}`);
+ } catch (err) {
+ console.error(err);
}
+ };
- return (
- <div className="flex h-full w-full items-center justify-center">
- <Card className="max-w-lg rounded-md border border-mineshaft-600 mb-12">
- <CardTitle className="text-left px-6" subTitle="After adding your API-key, you will be prompted to set up an integration for a particular Infisical project and environment.">Cloudflare Pages Integration</CardTitle>
- <FormControl
- label="Cloudflare Pages API token"
- errorText={accessKeyErrorText}
- isError={accessKeyErrorText !== "" ?? false}
- className="mx-6"
- >
- <Input
- placeholder=""
- value={accessKey}
- onChange={(e) => setAccessKey(e.target.value)}
- />
- </FormControl>
- <FormControl
- label="Cloudflare Pages Account ID"
- errorText={accountIdErrorText}
- isError={accountIdErrorText !== "" ?? false}
- className="mx-6"
- >
- <Input
- placeholder=""
- value={accountId}
- onChange={(e) => setAccountId(e.target.value)}
- />
- </FormControl>
- <Button
- onClick={handleButtonClick}
- color="mineshaft"
- variant="outline_bg"
- className="mb-6 mt-2 ml-auto mr-6 w-min"
- isFullWidth={false}
- isLoading={isLoading}
- >
- Connect to Cloudflare Pages
- </Button>
- </Card>
- </div>
- );
+ return (
+ <div className="flex h-full w-full items-center justify-center">
+ <Head>
+ <title>Authorize Render Integration</title>
+ <link rel="icon" href="/infisical.ico" />
+ </Head>
+ <Card className="mb-12 max-w-lg rounded-md border border-mineshaft-600">
+ <CardTitle
+ className="px-6 text-left text-xl"
+ subTitle="After adding your API key, you will be prompted to set up an integration for a particular Infisical project and environment."
+ >
+ <div className="flex flex-row items-center">
+ <div className="inline flex items-center pb-0.5">
+ <Image
+ src="/images/integrations/Render.png"
+ height={30}
+ width={30}
+ alt="Render logo"
+ />
+ </div>
+ <span className="ml-2.5">Render Integration </span>
+ <Link href="https://infisical.com/docs/integrations/cloud/render" passHref>
+ <a target="_blank" rel="noopener noreferrer">
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
+ Docs
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
+ </div>
+ </a>
+ </Link>
+ </div>
+ </CardTitle>
+ <FormControl
+ label="Render API Key"
+ errorText={apiKeyErrorText}
+ isError={apiKeyErrorText !== "" ?? false}
+ className="px-6"
+ >
+ <Input placeholder="rnd_xxx" value={apiKey} onChange={(e) => setApiKey(e.target.value)} />
+ </FormControl>
+ <Button
+ onClick={handleButtonClick}
+ colorSchema="primary"
+ variant="outline_bg"
+ className="mb-6 mt-2 ml-auto mr-6 w-min"
+ isLoading={isLoading}
+ >
+ Connect to Render
+ </Button>
+ </Card>
+ </div>
+ );
}
-CloudflarePagesIntegrationPage.requireAuth = true;
\ No newline at end of file
+RenderCreateIntegrationPage.requireAuth = true;
diff --git a/frontend/src/pages/integrations/cloudflare-pages/create.tsx b/frontend/src/pages/integrations/cloudflare-pages/create.tsx
index b18d2d9bd0..637e95eca1 100644
--- a/frontend/src/pages/integrations/cloudflare-pages/create.tsx
+++ b/frontend/src/pages/integrations/cloudflare-pages/create.tsx
@@ -1,159 +1,165 @@
-import { useEffect,useState } from "react";
+import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-, useGetWorkspaceById } from "@app/hooks/api";
+import { useCreateIntegration, useGetWorkspaceById } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Select, SelectItem } from "../../../components/v2";
-import { useGetIntegrationAuthApps, useGetIntegrationAuthById } from "../../../hooks/api/integrationAuth";
+import {
+ useGetIntegrationAuthApps,
+ useGetIntegrationAuthById
+} from "../../../hooks/api/integrationAuth";
const cloudflareEnvironments = [
- { name: "Production", slug: "production" },
- { name: "Preview", slug: "preview" }
+ { name: "Production", slug: "production" },
+ { name: "Preview", slug: "preview" }
];
export default function CloudflarePagesIntegrationPage() {
- const router = useRouter();
- const { mutateAsync } = useCreateIntegration();
-
- const { integrationAuthId } = queryString.parse(router.asPath.split("?")[1]);
- const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
- const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
- const { data: integrationAuthApps } = useGetIntegrationAuthApps({
- integrationAuthId: (integrationAuthId as string) ?? ""
- });
-
- const [selectedSourceEnvironment, setSelectedSourceEnvironment] = useState("");
- const [targetApp, setTargetApp] = useState("");
- const [targetAppId, setTargetAppId] = useState("");
- const [targetEnvironment, setTargetEnvironment] = useState("");
-
- const [isLoading, setIsLoading] = useState(false);
-
- useEffect(() => {
- if (workspace) {
- setSelectedSourceEnvironment(workspace.environments[0].slug);
- }
- }, [workspace]);
-
- useEffect(() => {
- if (integrationAuthApps) {
- if (integrationAuthApps.length > 0) {
- setTargetApp(integrationAuthApps[0].name);
- setTargetAppId(String(integrationAuthApps[0].appId));
- setTargetEnvironment(cloudflareEnvironments[0].slug);
- } else {
- setTargetApp("none");
- setTargetEnvironment(cloudflareEnvironments[0].slug);
- }
- }
- }, [integrationAuthApps]);
-
- const handleButtonClick = async () => {
- try {
- if (!integrationAuth?.id) return;
-
- setIsLoading(true);
-
- await mutateAsync({
- integrationAuthId: integrationAuth?.id,
- isActive: true,
- app: targetApp,
- appId: targetAppId,
- sourceEnvironment: selectedSourceEnvironment,
- targetEnvironment,
- secretPath: "/",
- });
-
- setIsLoading(false);
-
- router.push(`/integrations/${localStorage.getItem("projectData.id")}`);
- } catch(err) {
- console.error(err);
- }
+ const router = useRouter();
+ const { mutateAsync } = useCreateIntegration();
+
+ const { integrationAuthId } = queryString.parse(router.asPath.split("?")[1]);
+ const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
+ const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
+ const { data: integrationAuthApps } = useGetIntegrationAuthApps({
+ integrationAuthId: (integrationAuthId as string) ?? ""
+ });
+
+ const [selectedSourceEnvironment, setSelectedSourceEnvironment] = useState("");
+ const [targetApp, setTargetApp] = useState("");
+ const [targetAppId, setTargetAppId] = useState("");
+ const [targetEnvironment, setTargetEnvironment] = useState("");
+
+ const [isLoading, setIsLoading] = useState(false);
+
+ useEffect(() => {
+ if (workspace) {
+ setSelectedSourceEnvironment(workspace.environments[0].slug);
}
+ }, [workspace]);
+
+ useEffect(() => {
+ if (integrationAuthApps) {
+ if (integrationAuthApps.length > 0) {
+ setTargetApp(integrationAuthApps[0].name);
+ setTargetAppId(String(integrationAuthApps[0].appId));
+ setTargetEnvironment(cloudflareEnvironments[0].slug);
+ } else {
+ setTargetApp("none");
+ setTargetEnvironment(cloudflareEnvironments[0].slug);
+ }
+ }
+ }, [integrationAuthApps]);
+
+ const handleButtonClick = async () => {
+ try {
+ if (!integrationAuth?.id) return;
- return integrationAuth &&
- workspace &&
- selectedSourceEnvironment &&
- integrationAuthApps &&
- targetEnvironment &&
- targetApp ? (
- <div className="flex h-full w-full items-center justify-center bg-gradient-to-tr from-mineshaft-900 to-bunker-900">
- <Card className="max-w-lg rounded-md p-0 border border-mineshaft-600">
- <CardTitle className="text-left px-6" subTitle="Choose which environment in Infisical you want to sync with your Cloudflare Pages project.">Cloudflare Pages Integration</CardTitle>
- <FormControl label="Infisical Project Environment" className="mt-2 px-6">
- <Select
- value={selectedSourceEnvironment}
- onValueChange={(val) => setSelectedSourceEnvironment(val)}
- className="w-full border border-mineshaft-500"
- >
- {workspace?.environments.map((sourceEnvironment) => (
- <SelectItem
- value={sourceEnvironment.slug}
- key={`source-environment-${sourceEnvironment.slug}`}
- >
- {sourceEnvironment.name}
- </SelectItem>
- ))}
- </Select>
- </FormControl>
- <FormControl label="Cloudflare Pages Project" className="mt-4 px-6">
- <Select
- value={targetApp}
- onValueChange={(val) => setTargetApp(val)}
- className="w-full border border-mineshaft-500"
- isDisabled={integrationAuthApps.length === 0}
- >
- {integrationAuthApps.length > 0 ? (
- integrationAuthApps.map((integrationAuthApp) => (
- <SelectItem
- value={integrationAuthApp.name}
- key={`target-app-${integrationAuthApp.name}`}
- >
- {integrationAuthApp.name}
- </SelectItem>
- ))
- ) : (
- <SelectItem value="none" key="target-app-none">
- No apps found
- </SelectItem>
- )}
- </Select>
- </FormControl>
- <FormControl label="Cloudflare Pages Environment" className="mt-4 px-6">
- <Select
- value={targetEnvironment}
- onValueChange={(val) => setTargetEnvironment(val)}
- className="w-full border border-mineshaft-500"
- >
- {cloudflareEnvironments.map((cloudflareEnvironment) => (
- <SelectItem
- value={cloudflareEnvironment.slug}
- key={`target-environment-${cloudflareEnvironment.slug}`}
- >
- {cloudflareEnvironment.name}
- </SelectItem>
- ))}
- </Select>
- </FormControl>
- <Button
- onClick={handleButtonClick}
- color="mineshaft"
- variant="outline_bg"
- className="mt-2 mb-6 ml-auto mr-6"
- isFullWidth={false}
- isLoading={isLoading}
+ setIsLoading(true);
+
+ await mutateAsync({
+ integrationAuthId: integrationAuth?.id,
+ isActive: true,
+ app: targetApp,
+ appId: targetAppId,
+ sourceEnvironment: selectedSourceEnvironment,
+ targetEnvironment,
+ secretPath: "/"
+ });
+
+ setIsLoading(false);
+
+ router.push(`/integrations/${localStorage.getItem("projectData.id")}`);
+ } catch (err) {
+ console.error(err);
+ }
+ };
+
+ return integrationAuth &&
+ workspace &&
+ selectedSourceEnvironment &&
+ integrationAuthApps &&
+ targetEnvironment &&
+ targetApp ? (
+ <div className="flex h-full w-full items-center justify-center bg-gradient-to-tr from-mineshaft-900 to-bunker-900">
+ <Card className="max-w-lg rounded-md border border-mineshaft-600 p-0">
+ <CardTitle
+ className="px-6 text-left"
+ subTitle="Choose which environment in Infisical you want to sync with your Cloudflare Pages project."
+ >
+ Cloudflare Pages Integration
+ </CardTitle>
+ <FormControl label="Infisical Project Environment" className="mt-2 px-6">
+ <Select
+ value={selectedSourceEnvironment}
+ onValueChange={(val) => setSelectedSourceEnvironment(val)}
+ className="w-full border border-mineshaft-500"
+ >
+ {workspace?.environments.map((sourceEnvironment) => (
+ <SelectItem
+ value={sourceEnvironment.slug}
+ key={`source-environment-${sourceEnvironment.slug}`}
+ >
+ {sourceEnvironment.name}
+ </SelectItem>
+ ))}
+ </Select>
+ </FormControl>
+ <FormControl label="Cloudflare Pages Project" className="mt-4 px-6">
+ <Select
+ value={targetApp}
+ onValueChange={(val) => setTargetApp(val)}
+ className="w-full border border-mineshaft-500"
+ isDisabled={integrationAuthApps.length === 0}
+ >
+ {integrationAuthApps.length > 0 ? (
+ integrationAuthApps.map((integrationAuthApp) => (
+ <SelectItem
+ value={integrationAuthApp.name}
+ key={`target-app-${integrationAuthApp.name}`}
>
- Create Integration
- </Button>
- </Card>
- </div>
- ) : (
- <div />
- );
+ {integrationAuthApp.name}
+ </SelectItem>
+ ))
+ ) : (
+ <SelectItem value="none" key="target-app-none">
+ No apps found
+ </SelectItem>
+ )}
+ </Select>
+ </FormControl>
+ <FormControl label="Cloudflare Pages Environment" className="mt-4 px-6">
+ <Select
+ value={targetEnvironment}
+ onValueChange={(val) => setTargetEnvironment(val)}
+ className="w-full border border-mineshaft-500"
+ >
+ {cloudflareEnvironments.map((cloudflareEnvironment) => (
+ <SelectItem
+ value={cloudflareEnvironment.slug}
+ key={`target-environment-${cloudflareEnvironment.slug}`}
+ >
+ {cloudflareEnvironment.name}
+ </SelectItem>
+ ))}
+ </Select>
+ </FormControl>
+ <Button
+ onClick={handleButtonClick}
+ color="mineshaft"
+ variant="outline_bg"
+ className="mt-2 mb-6 ml-auto mr-6"
+ isFullWidth={false}
+ isLoading={isLoading}
+ >
+ Create Integration
+ </Button>
+ </Card>
+ </div>
+ ) : (
+ <div />
+ );
}
-CloudflarePagesIntegrationPage.requireAuth = true;
\ No newline at end of file
+CloudflarePagesIntegrationPage.requireAuth = true;
diff --git a/frontend/src/pages/integrations/cloudflare-workers/authorize.tsx b/frontend/src/pages/integrations/cloudflare-workers/authorize.tsx
index 36a1aa44d9..c588a6c0b7 100644
--- a/frontend/src/pages/integrations/cloudflare-workers/authorize.tsx
+++ b/frontend/src/pages/integrations/cloudflare-workers/authorize.tsx
@@ -1,92 +1,89 @@
import { useState } from "react";
import { useRouter } from "next/router";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
-import { Button,Card, CardTitle, FormControl, Input } from "../../../components/v2";
+import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
export default function CloudflareWorkersIntegrationPage() {
- const router = useRouter();
- const { mutateAsync } = useSaveIntegrationAccessToken();
+ const router = useRouter();
+ const { mutateAsync } = useSaveIntegrationAccessToken();
- const [accessKey, setAccessKey] = useState("");
- const [accessKeyErrorText, setAccessKeyErrorText] = useState("");
- const [accountId, setAccountId] = useState("");
- const [accountIdErrorText, setAccountIdErrorText] = useState("");
- const [isLoading, setIsLoading] = useState(false);
+ const [accessKey, setAccessKey] = useState("");
+ const [accessKeyErrorText, setAccessKeyErrorText] = useState("");
+ const [accountId, setAccountId] = useState("");
+ const [accountIdErrorText, setAccountIdErrorText] = useState("");
+ const [isLoading, setIsLoading] = useState(false);
- const handleButtonClick = async () => {
- try {
- setAccessKeyErrorText("");
- setAccountIdErrorText("");
- if (accessKey.length === 0 || accountId.length === 0) {
- if (accessKey.length === 0) setAccessKeyErrorText("API token cannot be blank!");
- if (accountId.length === 0) setAccountIdErrorText("Account ID cannot be blank!");
- return;
- }
+ const handleButtonClick = async () => {
+ try {
+ setAccessKeyErrorText("");
+ setAccountIdErrorText("");
+ if (accessKey.length === 0 || accountId.length === 0) {
+ if (accessKey.length === 0) setAccessKeyErrorText("API token cannot be blank!");
+ if (accountId.length === 0) setAccountIdErrorText("Account ID cannot be blank!");
+ return;
+ }
- setIsLoading(true);
+ setIsLoading(true);
- const integrationAuth = await mutateAsync({
- workspaceId: localStorage.getItem("projectData.id"),
- integration: "cloudflare-workers",
- accessId: accountId,
- accessToken: accessKey
- });
+ const integrationAuth = await mutateAsync({
+ workspaceId: localStorage.getItem("projectData.id"),
+ integration: "cloudflare-workers",
+ accessId: accountId,
+ accessToken: accessKey
+ });
- setAccessKey("");
- setAccountId("");
- setIsLoading(false);
+ setAccessKey("");
+ setAccountId("");
+ setIsLoading(false);
- router.push(`/integrations/cloudflare-workers/create?integrationAuthId=${integrationAuth.id}`);
- } catch (err) {
- console.error(err);
- }
+ router.push(
+ `/integrations/cloudflare-workers/create?integrationAuthId=${integrationAuth.id}`
+ );
+ } catch (err) {
+ console.error(err);
}
+ };
- return (
- <div className="flex h-full w-full items-center justify-center">
- <Card className="max-w-lg rounded-md border border-mineshaft-600 mb-12">
- <CardTitle className="text-left px-6" subTitle="After adding your API-key, you will be prompted to set up an integration for a particular Infisical project and environment.">Cloudflare Workers Integration</CardTitle>
- <FormControl
- label="Cloudflare Workers API token"
- errorText={accessKeyErrorText}
- isError={accessKeyErrorText !== "" ?? false}
- className="mx-6"
- >
- <Input
- placeholder=""
- value={accessKey}
- onChange={(e) => setAccessKey(e.target.value)}
- />
- </FormControl>
- <FormControl
- label="Cloudflare Workers Account ID"
- errorText={accountIdErrorText}
- isError={accountIdErrorText !== "" ?? false}
- className="mx-6"
- >
- <Input
- placeholder=""
- value={accountId}
- onChange={(e) => setAccountId(e.target.value)}
- />
- </FormControl>
- <Button
- onClick={handleButtonClick}
- color="mineshaft"
- variant="outline_bg"
- className="mb-6 mt-2 ml-auto mr-6 w-min"
- isFullWidth={false}
- isLoading={isLoading}
- >
- Connect to Cloudflare Workers
- </Button>
- </Card>
- </div>
- );
+ return (
+ <div className="flex h-full w-full items-center justify-center">
+ <Card className="mb-12 max-w-lg rounded-md border border-mineshaft-600">
+ <CardTitle
+ className="px-6 text-left"
+ subTitle="After adding your API-key, you will be prompted to set up an integration for a particular Infisical project and environment."
+ >
+ Cloudflare Workers Integration
+ </CardTitle>
+ <FormControl
+ label="Cloudflare Workers API token"
+ errorText={accessKeyErrorText}
+ isError={accessKeyErrorText !== "" ?? false}
+ className="mx-6"
+ >
+ <Input placeholder="" value={accessKey} onChange={(e) => setAccessKey(e.target.value)} />
+ </FormControl>
+ <FormControl
+ label="Cloudflare Workers Account ID"
+ errorText={accountIdErrorText}
+ isError={accountIdErrorText !== "" ?? false}
+ className="mx-6"
+ >
+ <Input placeholder="" value={accountId} onChange={(e) => setAccountId(e.target.value)} />
+ </FormControl>
+ <Button
+ onClick={handleButtonClick}
+ color="mineshaft"
+ variant="outline_bg"
+ className="mb-6 mt-2 ml-auto mr-6 w-min"
+ isFullWidth={false}
+ isLoading={isLoading}
+ >
+ Connect to Cloudflare Workers
+ </Button>
+ </Card>
+ </div>
+ );
}
-CloudflareWorkersIntegrationPage.requireAuth = true;
\ No newline at end of file
+CloudflareWorkersIntegrationPage.requireAuth = true;
diff --git a/frontend/src/pages/integrations/cloudflare-workers/create.tsx b/frontend/src/pages/integrations/cloudflare-workers/create.tsx
index 2a07663d3f..7c41f83e89 100644
--- a/frontend/src/pages/integrations/cloudflare-workers/create.tsx
+++ b/frontend/src/pages/integrations/cloudflare-workers/create.tsx
@@ -1,133 +1,139 @@
-import { useEffect,useState } from "react";
+import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-, useGetWorkspaceById } from "@app/hooks/api";
+import { useCreateIntegration, useGetWorkspaceById } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Select, SelectItem } from "../../../components/v2";
-import { useGetIntegrationAuthApps, useGetIntegrationAuthById } from "../../../hooks/api/integrationAuth";
+import {
+ useGetIntegrationAuthApps,
+ useGetIntegrationAuthById
+} from "../../../hooks/api/integrationAuth";
export default function CloudflareWorkersIntegrationPage() {
- const router = useRouter();
- const { mutateAsync } = useCreateIntegration();
+ const router = useRouter();
+ const { mutateAsync } = useCreateIntegration();
- const { integrationAuthId } = queryString.parse(router.asPath.split("?")[1]);
- const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
- const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
- const { data: integrationAuthApps } = useGetIntegrationAuthApps({
- integrationAuthId: (integrationAuthId as string) ?? ""
- });
+ const { integrationAuthId } = queryString.parse(router.asPath.split("?")[1]);
+ const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
+ const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
+ const { data: integrationAuthApps } = useGetIntegrationAuthApps({
+ integrationAuthId: (integrationAuthId as string) ?? ""
+ });
- const [selectedSourceEnvironment, setSelectedSourceEnvironment] = useState("");
- const [targetApp, setTargetApp] = useState("");
- const [targetAppId, setTargetAppId] = useState("");
+ const [selectedSourceEnvironment, setSelectedSourceEnvironment] = useState("");
+ const [targetApp, setTargetApp] = useState("");
+ const [targetAppId, setTargetAppId] = useState("");
- const [isLoading, setIsLoading] = useState(false);
+ const [isLoading, setIsLoading] = useState(false);
- useEffect(() => {
- if (workspace) {
- setSelectedSourceEnvironment(workspace.environments[0].slug);
- }
- }, [workspace]);
+ useEffect(() => {
+ if (workspace) {
+ setSelectedSourceEnvironment(workspace.environments[0].slug);
+ }
+ }, [workspace]);
- useEffect(() => {
- if (integrationAuthApps) {
- if (integrationAuthApps.length > 0) {
- setTargetApp(integrationAuthApps[0].name);
- setTargetAppId(String(integrationAuthApps[0].appId));
- } else {
- setTargetApp("none");
- }
- }
- }, [integrationAuthApps]);
+ useEffect(() => {
+ if (integrationAuthApps) {
+ if (integrationAuthApps.length > 0) {
+ setTargetApp(integrationAuthApps[0].name);
+ setTargetAppId(String(integrationAuthApps[0].appId));
+ } else {
+ setTargetApp("none");
+ }
+ }
+ }, [integrationAuthApps]);
- const handleButtonClick = async () => {
- try {
- if (!integrationAuth?.id) return;
+ const handleButtonClick = async () => {
+ try {
+ if (!integrationAuth?._id) return;
- setIsLoading(true);
+ setIsLoading(true);
- await mutateAsync({
- integrationAuthId: integrationAuth?.id,
- isActive: true,
- app: targetApp,
- appId: targetAppId,
- sourceEnvironment: selectedSourceEnvironment,
- secretPath: "/",
- });
+ await mutateAsync({
+ integrationAuthId: integrationAuth?._id,
+ isActive: true,
+ app: targetApp,
+ appId: targetAppId,
+ sourceEnvironment: selectedSourceEnvironment,
+ secretPath: "/"
+ });
- setIsLoading(false);
+ setIsLoading(false);
- router.push(`/integrations/${localStorage.getItem("projectData.id")}`);
- } catch(err) {
- console.error(err);
- }
+ router.push(`/integrations/${localStorage.getItem("projectData.id")}`);
+ } catch (err) {
+ console.error(err);
}
+ };
- return integrationAuth &&
- workspace &&
- selectedSourceEnvironment &&
- integrationAuthApps &&
- targetApp ? (
- <div className="flex h-full w-full items-center justify-center bg-gradient-to-tr from-mineshaft-900 to-bunker-900">
- <Card className="max-w-lg rounded-md p-0 border border-mineshaft-600">
- <CardTitle className="text-left px-6" subTitle="Choose which environment in Infisical you want to sync with your Cloudflare Workers project.">Cloudflare Workers Integration</CardTitle>
- <FormControl label="Infisical Project Environment" className="mt-2 px-6">
- <Select
- value={selectedSourceEnvironment}
- onValueChange={(val) => setSelectedSourceEnvironment(val)}
- className="w-full border border-mineshaft-500"
- >
- {workspace?.environments.map((sourceEnvironment) => (
- <SelectItem
- value={sourceEnvironment.slug}
- key={`source-environment-${sourceEnvironment.slug}`}
- >
- {sourceEnvironment.name}
- </SelectItem>
- ))}
- </Select>
- </FormControl>
- <FormControl label="Cloudflare Workers Project" className="mt-4 px-6">
- <Select
- value={targetApp}
- onValueChange={(val) => setTargetApp(val)}
- className="w-full border border-mineshaft-500"
- isDisabled={integrationAuthApps.length === 0}
- >
- {integrationAuthApps.length > 0 ? (
- integrationAuthApps.map((integrationAuthApp) => (
- <SelectItem
- value={integrationAuthApp.name}
- key={`target-app-${integrationAuthApp.name}`}
- >
- {integrationAuthApp.name}
- </SelectItem>
- ))
- ) : (
- <SelectItem value="none" key="target-app-none">
- No apps found
- </SelectItem>
- )}
- </Select>
- </FormControl>
- <Button
- onClick={handleButtonClick}
- color="mineshaft"
- variant="outline_bg"
- className="mt-2 mb-6 ml-auto mr-6"
- isFullWidth={false}
- isLoading={isLoading}
+ return integrationAuth &&
+ workspace &&
+ selectedSourceEnvironment &&
+ integrationAuthApps &&
+ targetApp ? (
+ <div className="flex h-full w-full items-center justify-center bg-gradient-to-tr from-mineshaft-900 to-bunker-900">
+ <Card className="max-w-lg rounded-md border border-mineshaft-600 p-0">
+ <CardTitle
+ className="px-6 text-left"
+ subTitle="Choose which environment in Infisical you want to sync with your Cloudflare Workers project."
+ >
+ Cloudflare Workers Integration
+ </CardTitle>
+ <FormControl label="Infisical Project Environment" className="mt-2 px-6">
+ <Select
+ value={selectedSourceEnvironment}
+ onValueChange={(val) => setSelectedSourceEnvironment(val)}
+ className="w-full border border-mineshaft-500"
+ >
+ {workspace?.environments.map((sourceEnvironment) => (
+ <SelectItem
+ value={sourceEnvironment.slug}
+ key={`source-environment-${sourceEnvironment.slug}`}
+ >
+ {sourceEnvironment.name}
+ </SelectItem>
+ ))}
+ </Select>
+ </FormControl>
+ <FormControl label="Cloudflare Workers Project" className="mt-4 px-6">
+ <Select
+ value={targetApp}
+ onValueChange={(val) => setTargetApp(val)}
+ className="w-full border border-mineshaft-500"
+ isDisabled={integrationAuthApps.length === 0}
+ >
+ {integrationAuthApps.length > 0 ? (
+ integrationAuthApps.map((integrationAuthApp) => (
+ <SelectItem
+ value={integrationAuthApp.name}
+ key={`target-app-${integrationAuthApp.name}`}
>
- Create Integration
- </Button>
- </Card>
- </div>
- ) : (
- <div />
- );
+ {integrationAuthApp.name}
+ </SelectItem>
+ ))
+ ) : (
+ <SelectItem value="none" key="target-app-none">
+ No apps found
+ </SelectItem>
+ )}
+ </Select>
+ </FormControl>
+ <Button
+ onClick={handleButtonClick}
+ color="mineshaft"
+ variant="outline_bg"
+ className="mt-2 mb-6 ml-auto mr-6"
+ isFullWidth={false}
+ isLoading={isLoading}
+ >
+ Create Integration
+ </Button>
+ </Card>
+ </div>
+ ) : (
+ <div />
+ );
}
-CloudflareWorkersIntegrationPage.requireAuth = true;
\ No newline at end of file
+CloudflareWorkersIntegrationPage.requireAuth = true;
diff --git a/frontend/src/pages/integrations/codefresh/authorize.tsx b/frontend/src/pages/integrations/codefresh/authorize.tsx
index 6c73515d56..78233ca5ef 100644
--- a/frontend/src/pages/integrations/codefresh/authorize.tsx
+++ b/frontend/src/pages/integrations/codefresh/authorize.tsx
@@ -1,9 +1,7 @@
import { useState } from "react";
import { useRouter } from "next/router";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
diff --git a/frontend/src/pages/integrations/codefresh/create.tsx b/frontend/src/pages/integrations/codefresh/create.tsx
index d935512173..b500e0b554 100644
--- a/frontend/src/pages/integrations/codefresh/create.tsx
+++ b/frontend/src/pages/integrations/codefresh/create.tsx
@@ -2,9 +2,7 @@ import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -64,7 +62,9 @@ export default function CodefreshCreateIntegrationPage() {
integrationAuthId: integrationAuth?.id,
isActive: true,
app: targetApp,
- appId: integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp)?.appId,
+ appId: integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.name === targetApp
+ )?.appId,
sourceEnvironment: selectedSourceEnvironment,
secretPath
});
diff --git a/frontend/src/pages/integrations/digital-ocean-app-platform/authorize.tsx b/frontend/src/pages/integrations/digital-ocean-app-platform/authorize.tsx
index 09f06041c1..19a9e7b8e4 100644
--- a/frontend/src/pages/integrations/digital-ocean-app-platform/authorize.tsx
+++ b/frontend/src/pages/integrations/digital-ocean-app-platform/authorize.tsx
@@ -1,16 +1,14 @@
import { useState } from "react";
import { useRouter } from "next/router";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
export default function DigitalOceanAppPlatformCreateIntegrationPage() {
const router = useRouter();
const { mutateAsync } = useSaveIntegrationAccessToken();
-
+
const [apiKey, setApiKey] = useState("");
const [apiKeyErrorText, setApiKeyErrorText] = useState("");
const [isLoading, setIsLoading] = useState(false);
@@ -33,7 +31,9 @@ export default function DigitalOceanAppPlatformCreateIntegrationPage() {
setIsLoading(false);
- router.push(`/integrations/digital-ocean-app-platform/create?integrationAuthId=${integrationAuth.id}`);
+ router.push(
+ `/integrations/digital-ocean-app-platform/create?integrationAuthId=${integrationAuth.id}`
+ );
} catch (err) {
console.error(err);
}
diff --git a/frontend/src/pages/integrations/digital-ocean-app-platform/create.tsx b/frontend/src/pages/integrations/digital-ocean-app-platform/create.tsx
index 848549b220..28d7834677 100644
--- a/frontend/src/pages/integrations/digital-ocean-app-platform/create.tsx
+++ b/frontend/src/pages/integrations/digital-ocean-app-platform/create.tsx
@@ -2,9 +2,7 @@ import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -64,7 +62,9 @@ export default function DigitalOceanAppPlatformCreateIntegrationPage() {
integrationAuthId: integrationAuth?.id,
isActive: true,
app: targetApp,
- appId: integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp)?.appId,
+ appId: integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.name === targetApp
+ )?.appId,
sourceEnvironment: selectedSourceEnvironment,
secretPath
});
diff --git a/frontend/src/pages/integrations/flyio/authorize.tsx b/frontend/src/pages/integrations/flyio/authorize.tsx
index df1afca40b..c711875b04 100644
--- a/frontend/src/pages/integrations/flyio/authorize.tsx
+++ b/frontend/src/pages/integrations/flyio/authorize.tsx
@@ -9,9 +9,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { yupResolver } from "@hookform/resolvers/yup";
import * as yup from "yup";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
@@ -24,10 +22,7 @@ type FormData = yup.InferType<typeof schema>;
export default function FlyioAuthorizeIntegrationPage() {
const router = useRouter();
- const {
- control,
- handleSubmit
- } = useForm<FormData>({
+ const { control, handleSubmit } = useForm<FormData>({
resolver: yupResolver(schema),
defaultValues: {
accessToken: ""
@@ -35,38 +30,36 @@ export default function FlyioAuthorizeIntegrationPage() {
});
const { mutateAsync } = useSaveIntegrationAccessToken();
-
+
const [isLoading, setIsLoading] = useState(false);
-
- const onFormSubmit = async ({
- accessToken
- }: FormData) => {
+
+ const onFormSubmit = async ({ accessToken }: FormData) => {
try {
setIsLoading(true);
-
+
const integrationAuth = await mutateAsync({
workspaceId: localStorage.getItem("projectData.id"),
integration: "flyio",
accessToken
});
-
+
setIsLoading(false);
router.push(`/integrations/flyio/create?integrationAuthId=${integrationAuth.id}`);
} catch (err) {
setIsLoading(false);
console.error(err);
}
- }
+ };
return (
<div className="flex h-full w-full items-center justify-center">
<Head>
<title>Authorize Fly.io Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- <Card className="max-w-lg rounded-md border border-mineshaft-600 mb-12">
- <CardTitle
- className="text-left px-6 text-xl"
+ <Card className="mb-12 max-w-lg rounded-md border border-mineshaft-600">
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="After adding your access token, you will be prompted to set up an integration for a particular Infisical project and environment."
>
<div className="flex flex-row items-center">
@@ -81,19 +74,19 @@ export default function FlyioAuthorizeIntegrationPage() {
<span className="ml-2.5">Fly.io Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/flyio" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
- Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
+ Docs
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
</div>
</CardTitle>
- <form
- onSubmit={handleSubmit(onFormSubmit)}
- className="px-6 text-right pb-8"
- >
+ <form onSubmit={handleSubmit(onFormSubmit)} className="px-6 pb-8 text-right">
<Controller
control={control}
name="accessToken"
@@ -103,10 +96,7 @@ export default function FlyioAuthorizeIntegrationPage() {
errorText={error?.message}
isError={Boolean(error)}
>
- <Input
- {...field}
- placeholder=""
- />
+ <Input {...field} placeholder="" />
</FormControl>
)}
/>
diff --git a/frontend/src/pages/integrations/flyio/create.tsx b/frontend/src/pages/integrations/flyio/create.tsx
index 4fa01cefb2..baa92524a1 100644
--- a/frontend/src/pages/integrations/flyio/create.tsx
+++ b/frontend/src/pages/integrations/flyio/create.tsx
@@ -3,13 +3,16 @@ import Head from "next/head";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/router";
-import { faArrowUpRightFromSquare, faBookOpen, faBugs, faCircleInfo } from "@fortawesome/free-solid-svg-icons";
+import {
+ faArrowUpRightFromSquare,
+ faBookOpen,
+ faBugs,
+ faCircleInfo
+} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -28,16 +31,19 @@ import { useGetWorkspaceById } from "../../../hooks/api/workspace";
export default function FlyioCreateIntegrationPage() {
const router = useRouter();
-
+
const { mutateAsync } = useCreateIntegration();
const { integrationAuthId } = queryString.parse(router.asPath.split("?")[1]);
const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
- const { data: integrationAuth, isLoading: isIntegrationAuthLoading } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
- const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({
- integrationAuthId: (integrationAuthId as string) ?? ""
- });
+ const { data: integrationAuth, isLoading: isIntegrationAuthLoading } = useGetIntegrationAuthById(
+ (integrationAuthId as string) ?? ""
+ );
+ const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } =
+ useGetIntegrationAuthApps({
+ integrationAuthId: (integrationAuthId as string) ?? ""
+ });
const [selectedSourceEnvironment, setSelectedSourceEnvironment] = useState("");
const [secretPath, setSecretPath] = useState("/");
@@ -90,14 +96,14 @@ export default function FlyioCreateIntegrationPage() {
selectedSourceEnvironment &&
integrationAuthApps &&
targetApp ? (
- <div className="flex flex-col h-full w-full items-center justify-center">
+ <div className="flex h-full w-full flex-col items-center justify-center">
<Head>
<title>Set Up Fly.io Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
<Card className="max-w-lg rounded-md border border-mineshaft-600">
- <CardTitle
- className="text-left px-6 text-xl"
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Choose which environment or folder in Infisical you want to sync to Fly.io environment variables."
>
<div className="flex flex-row items-center">
@@ -112,10 +118,13 @@ export default function FlyioCreateIntegrationPage() {
<span className="ml-2.5">Fly.io Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/flyio" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -178,31 +187,48 @@ export default function FlyioCreateIntegrationPage() {
Create Integration
</Button>
</Card>
- <div className="border-t border-mineshaft-800 w-full max-w-md mt-6"/>
- <div className="flex flex-col bg-mineshaft-800 border border-mineshaft-600 w-full p-4 max-w-lg mt-6 rounded-md">
- <div className="flex flex-row items-center"><FontAwesomeIcon icon={faCircleInfo} className="text-mineshaft-200 text-xl"/> <span className="ml-3 text-md text-mineshaft-100">Pro Tips</span></div>
- <span className="text-mineshaft-300 text-sm mt-4">After creating an integration, your secrets will start syncing immediately. This might cause an unexpected override of current secrets in Fly.io with secrets from Infisical.</span>
+ <div className="mt-6 w-full max-w-md border-t border-mineshaft-800" />
+ <div className="mt-6 flex w-full max-w-lg flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4">
+ <div className="flex flex-row items-center">
+ <FontAwesomeIcon icon={faCircleInfo} className="text-xl text-mineshaft-200" />{" "}
+ <span className="text-md ml-3 text-mineshaft-100">Pro Tips</span>
+ </div>
+ <span className="mt-4 text-sm text-mineshaft-300">
+ After creating an integration, your secrets will start syncing immediately. This might
+ cause an unexpected override of current secrets in Fly.io with secrets from Infisical.
+ </span>
</div>
</div>
) : (
- <div className="flex justify-center items-center w-full h-full">
+ <div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up Fly.io Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- {isIntegrationAuthLoading || isIntegrationAuthAppsLoading ? <img src="/images/loading/loading.gif" height={70} width={120} alt="infisical loading indicator" /> : <div className="max-w-md h-max p-6 border border-mineshaft-600 rounded-md bg-mineshaft-800 text-mineshaft-200 flex flex-col text-center">
- <FontAwesomeIcon icon={faBugs} className="text-6xl my-2 inlineli"/>
- <p>
- Something went wrong. Please contact <a
- className="inline underline underline-offset-4 decoration-primary-500 opacity-80 hover:opacity-100 text-mineshaft-100 duration-200 cursor-pointer"
- target="_blank"
- rel="noopener noreferrer"
- href="mailto:[email protected]"
- >
- </a> if the issue persists.
- </p>
- </div>}
+ {isIntegrationAuthLoading || isIntegrationAuthAppsLoading ? (
+ <img
+ src="/images/loading/loading.gif"
+ height={70}
+ width={120}
+ alt="infisical loading indicator"
+ />
+ ) : (
+ <div className="flex h-max max-w-md flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6 text-center text-mineshaft-200">
+ <FontAwesomeIcon icon={faBugs} className="inlineli my-2 text-6xl" />
+ <p>
+ Something went wrong. Please contact{" "}
+ <a
+ className="inline cursor-pointer text-mineshaft-100 underline decoration-primary-500 underline-offset-4 opacity-80 duration-200 hover:opacity-100"
+ target="_blank"
+ rel="noopener noreferrer"
+ href="mailto:[email protected]"
+ >
+ </a>{" "}
+ if the issue persists.
+ </p>
+ </div>
+ )}
</div>
);
}
diff --git a/frontend/src/pages/integrations/gcp-secret-manager/authorize.tsx b/frontend/src/pages/integrations/gcp-secret-manager/authorize.tsx
index c5c633177f..72a891b7ef 100644
--- a/frontend/src/pages/integrations/gcp-secret-manager/authorize.tsx
+++ b/frontend/src/pages/integrations/gcp-secret-manager/authorize.tsx
@@ -12,9 +12,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { yupResolver } from "@hookform/resolvers/yup";
import * as yup from "yup";
-import {
- useGetCloudIntegrations,
- useSaveIntegrationAccessToken} from "@app/hooks/api";
+import { useGetCloudIntegrations, useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, TextArea } from "../../../components/v2";
@@ -27,61 +25,60 @@ type FormData = yup.InferType<typeof schema>;
export default function GCPSecretManagerAuthorizeIntegrationPage() {
const router = useRouter();
- const {
- control,
- handleSubmit
- } = useForm<FormData>({
+ const { control, handleSubmit } = useForm<FormData>({
resolver: yupResolver(schema)
});
const { data: cloudIntegrations } = useGetCloudIntegrations();
const { mutateAsync } = useSaveIntegrationAccessToken();
-
+
const [isLoading, setIsLoading] = useState(false);
-
+
const handleIntegrateWithOAuth = () => {
if (!cloudIntegrations) return;
- const integrationOption = cloudIntegrations.find((integration) => integration.slug === "gcp-secret-manager");
-
+ const integrationOption = cloudIntegrations.find(
+ (integration) => integration.slug === "gcp-secret-manager"
+ );
+
if (!integrationOption) return;
-
+
const state = crypto.randomBytes(16).toString("hex");
localStorage.setItem("latestCSRFToken", state);
-
+
const link = `https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/cloud-platform&response_type=code&access_type=offline&state=${state}&redirect_uri=${window.location.origin}/integrations/gcp-secret-manager/oauth2/callback&clientid=${integrationOption.clientId}`;
window.location.assign(link);
- }
-
- const onFormSubmit = async ({
- accessToken
- }: FormData) => {
+ };
+
+ const onFormSubmit = async ({ accessToken }: FormData) => {
try {
setIsLoading(true);
-
+
const integrationAuth = await mutateAsync({
workspaceId: localStorage.getItem("projectData.id"),
integration: "gcp-secret-manager",
refreshToken: accessToken
});
-
+
setIsLoading(false);
- router.push(`/integrations/gcp-secret-manager/create?integrationAuthId=${integrationAuth.id}`);
+ router.push(
+ `/integrations/gcp-secret-manager/create?integrationAuthId=${integrationAuth.id}`
+ );
} catch (err) {
console.error(err);
setIsLoading(false);
}
- }
+ };
return (
<div className="flex h-full w-full items-center justify-center">
<Head>
<title>Authorize GCP Secret Manager Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- <Card className="max-w-lg rounded-md border border-mineshaft-600 mb-12">
- <CardTitle
- className="text-left px-6 text-xl"
+ <Card className="mb-12 max-w-lg rounded-md border border-mineshaft-600">
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Connect Infisical to GCP Secret Manager to sync secrets."
>
<div className="flex flex-row items-center">
@@ -96,10 +93,13 @@ export default function GCPSecretManagerAuthorizeIntegrationPage() {
<span className="ml-1.5">GCP Secret Manager Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/gcp-secret-manager" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -107,24 +107,21 @@ export default function GCPSecretManagerAuthorizeIntegrationPage() {
</CardTitle>
<div className="px-6">
<Button
- colorSchema="primary"
- variant="outline_bg"
- onClick={handleIntegrateWithOAuth}
- leftIcon={<FontAwesomeIcon icon={faGoogle} className="mr-2" />}
- className="h-11 w-full mx-0 mt-4"
- >
- Continue with OAuth
+ colorSchema="primary"
+ variant="outline_bg"
+ onClick={handleIntegrateWithOAuth}
+ leftIcon={<FontAwesomeIcon icon={faGoogle} className="mr-2" />}
+ className="mx-0 mt-4 h-11 w-full"
+ >
+ Continue with OAuth
</Button>
- <div className='w-full flex flex-row items-center my-4 py-2'>
- <div className='w-full border-t border-mineshaft-400/40' />
- <span className="mx-2 text-mineshaft-400 text-xs">or</span>
- <div className='w-full border-t border-mineshaft-400/40' />
+ <div className="my-4 flex w-full flex-row items-center py-2">
+ <div className="w-full border-t border-mineshaft-400/40" />
+ <span className="mx-2 text-xs text-mineshaft-400">or</span>
+ <div className="w-full border-t border-mineshaft-400/40" />
</div>
</div>
- <form
- onSubmit={handleSubmit(onFormSubmit)}
- className="px-6 text-right pb-8"
- >
+ <form onSubmit={handleSubmit(onFormSubmit)} className="px-6 pb-8 text-right">
<Controller
control={control}
name="accessToken"
@@ -134,7 +131,7 @@ export default function GCPSecretManagerAuthorizeIntegrationPage() {
errorText={error?.message}
isError={Boolean(error)}
>
- <TextArea
+ <TextArea
{...field}
className="h-48 border border-mineshaft-600 bg-bunker-900/80"
/>
diff --git a/frontend/src/pages/integrations/gcp-secret-manager/create.tsx b/frontend/src/pages/integrations/gcp-secret-manager/create.tsx
index e171f3dba3..497f023703 100644
--- a/frontend/src/pages/integrations/gcp-secret-manager/create.tsx
+++ b/frontend/src/pages/integrations/gcp-secret-manager/create.tsx
@@ -12,9 +12,7 @@ import queryString from "query-string";
import * as yup from "yup";
import { usePopUp } from "@app/hooks";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -30,7 +28,8 @@ import {
Tab,
TabList,
TabPanel,
- Tabs} from "../../../components/v2";
+ Tabs
+} from "../../../components/v2";
import {
useGetIntegrationAuthApps,
useGetIntegrationAuthById
@@ -60,13 +59,8 @@ export default function GCPSecretManagerCreateIntegrationPage() {
const { popUp, handlePopUpOpen, handlePopUpToggle, handlePopUpClose } = usePopUp([
"confirmIntegration"
] as const);
-
- const {
- control,
- handleSubmit,
- setValue,
- watch
- } = useForm<FormData>({
+
+ const { control, handleSubmit, setValue, watch } = useForm<FormData>({
resolver: yupResolver(schema),
defaultValues: {
secretPath: "/",
@@ -77,7 +71,7 @@ export default function GCPSecretManagerCreateIntegrationPage() {
labelValue: "infisical"
}
});
-
+
const shouldLabel = watch("shouldLabel");
const selectedSourceEnvironment = watch("selectedSourceEnvironment");
@@ -87,19 +81,20 @@ export default function GCPSecretManagerCreateIntegrationPage() {
const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
- const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({
- integrationAuthId: (integrationAuthId as string) ?? ""
- });
+ const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } =
+ useGetIntegrationAuthApps({
+ integrationAuthId: (integrationAuthId as string) ?? ""
+ });
const [isLoading, setIsLoading] = useState(false);
-
+
useEffect(() => {
if (shouldLabel) {
setValue("labelName", "managed-by");
setValue("labelValue", "infisical");
return;
}
-
+
setValue("labelName", "");
setValue("labelValue", "");
}, [shouldLabel]);
@@ -119,7 +114,7 @@ export default function GCPSecretManagerCreateIntegrationPage() {
}
}
}, [integrationAuthApps]);
-
+
const onFormSubmit = async ({
selectedSourceEnvironment: sce,
secretPath,
@@ -134,56 +129,57 @@ export default function GCPSecretManagerCreateIntegrationPage() {
setIsLoading(true);
if (!integrationAuth?.id) return;
-
+
await mutateAsync({
integrationAuthId: integrationAuth?.id,
isActive: true,
- app: integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.appId === targetAppId)?.name,
+ app: integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.appId === targetAppId
+ )?.name,
appId: targetAppId,
sourceEnvironment: sce,
secretPath,
metadata: {
...(secretPrefix ? { secretPrefix } : {}),
...(secretSuffix ? { secretSuffix } : {}),
- ...(sl ? {
- secretGCPLabel: {
- labelName,
- labelValue
- }
- } : {})
+ ...(sl
+ ? {
+ secretGCPLabel: {
+ labelName,
+ labelValue
+ }
+ }
+ : {})
}
});
-
+
setIsLoading(false);
router.push(`/integrations/${localStorage.getItem("projectData.id")}`);
} catch (err) {
console.error(err);
setIsLoading(false);
}
- }
-
- return integrationAuth &&
- workspace &&
- selectedSourceEnvironment &&
- integrationAuthApps ? (
- <form
+ };
+
+ return integrationAuth && workspace && selectedSourceEnvironment && integrationAuthApps ? (
+ <form
onSubmit={handleSubmit((data: FormData) => {
if (!data.secretPrefix && !data.secretSuffix && !data.shouldLabel) {
- handlePopUpOpen("confirmIntegration", data);
+ handlePopUpOpen("confirmIntegration", data);
return;
}
-
+
onFormSubmit(data);
})}
- className="flex flex-col h-full w-full items-center justify-center"
+ className="flex h-full w-full flex-col items-center justify-center"
>
<Card className="max-w-lg rounded-md border border-mineshaft-600">
<Head>
<title>Set Up GCP Secret Manager Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- <CardTitle
- className="text-left px-6 text-xl mb-2"
+ <CardTitle
+ className="mb-2 px-6 text-left text-xl"
subTitle="Select which environment or folder in Infisical you want to sync to GCP Secret Manager."
>
<div className="flex flex-row items-center">
@@ -198,10 +194,13 @@ export default function GCPSecretManagerCreateIntegrationPage() {
<span className="ml-1.5">GCP Secret Manager Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/gcp-secret-manager" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -209,7 +208,7 @@ export default function GCPSecretManagerCreateIntegrationPage() {
</CardTitle>
<Tabs defaultValue={TabSections.Connection} className="px-6">
<TabList>
- <div className="flex flex-row border-b border-mineshaft-600 w-full">
+ <div className="flex w-full flex-row border-b border-mineshaft-600">
<Tab value={TabSections.Connection}>Connection</Tab>
<Tab value={TabSections.Options}>Options</Tab>
</div>
@@ -250,26 +249,23 @@ export default function GCPSecretManagerCreateIntegrationPage() {
)}
/>
<Controller
- control={control}
- defaultValue=""
- name="secretPath"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Secrets Path"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="/"
- />
- </FormControl>
- )}
+ control={control}
+ defaultValue=""
+ name="secretPath"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl
+ label="Secrets Path"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} placeholder="/" />
+ </FormControl>
+ )}
/>
<Controller
- control={control}
- name="targetAppId"
- render={({ field: { onChange, ...field }, fieldState: { error } }) => {
+ control={control}
+ name="targetAppId"
+ render={({ field: { onChange, ...field }, fieldState: { error } }) => {
return (
<FormControl
label="GCP Project"
@@ -280,7 +276,7 @@ export default function GCPSecretManagerCreateIntegrationPage() {
{...field}
onValueChange={(e) => {
if (e === "") return;
- onChange(e)
+ onChange(e);
}}
className="w-full"
>
@@ -300,7 +296,7 @@ export default function GCPSecretManagerCreateIntegrationPage() {
)}
</Select>
</FormControl>
- )
+ );
}}
/>
</motion.div>
@@ -317,32 +313,26 @@ export default function GCPSecretManagerCreateIntegrationPage() {
control={control}
name="secretPrefix"
render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Secret Prefix"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="INFISICAL_"
- />
- </FormControl>
+ <FormControl
+ label="Secret Prefix"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} placeholder="INFISICAL_" />
+ </FormControl>
)}
/>
<Controller
control={control}
name="secretSuffix"
render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Secret Suffix"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="_INFISICAL"
- />
- </FormControl>
+ <FormControl
+ label="Secret Suffix"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} placeholder="_INFISICAL" />
+ </FormControl>
)}
/>
<div className="mt-8 mb-[2.36rem]">
@@ -366,32 +356,26 @@ export default function GCPSecretManagerCreateIntegrationPage() {
control={control}
name="labelName"
render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Label Name"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="managed-by"
- />
- </FormControl>
+ <FormControl
+ label="Label Name"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} placeholder="managed-by" />
+ </FormControl>
)}
/>
<Controller
control={control}
name="labelValue"
render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Label Name"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="infisical"
- />
- </FormControl>
+ <FormControl
+ label="Label Name"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} placeholder="infisical" />
+ </FormControl>
)}
/>
</div>
@@ -424,56 +408,66 @@ export default function GCPSecretManagerCreateIntegrationPage() {
</span>
</div> */}
<Modal
- isOpen={popUp.confirmIntegration?.isOpen}
- onOpenChange={(isOpen) => handlePopUpToggle("confirmIntegration", isOpen)}
+ isOpen={popUp.confirmIntegration?.isOpen}
+ onOpenChange={(isOpen) => handlePopUpToggle("confirmIntegration", isOpen)}
+ >
+ <ModalContent
+ title="Heads Up"
+ footerContent={
+ <div className="flex items-center space-x-2">
+ <Button onClick={() => onFormSubmit(popUp.confirmIntegration?.data as FormData)}>
+ Continue Anyway
+ </Button>
+ <Button
+ onClick={() => handlePopUpClose("confirmIntegration")}
+ variant="outline_bg"
+ colorSchema="secondary"
+ >
+ Cancel
+ </Button>
+ </div>
+ }
>
- <ModalContent
- title="Heads Up"
- footerContent={
- <div className="flex items-center space-x-2">
- <Button onClick={() => onFormSubmit(popUp.confirmIntegration?.data as FormData)}>
- Continue Anyway
- </Button>
- <Button
- onClick={() => handlePopUpClose("confirmIntegration")}
- variant="outline_bg"
- colorSchema="secondary"
- >
- Cancel
- </Button>
- </div>
- }
- >
- <p>
- You&apos;re about to overwrite any existing secrets in GCP Secret Manager.
- </p>
- <p className="mt-4">
- To avoid this behavior, you may consider adding a secret prefix/suffix or enabling labeling in the options tab.
- </p>
- </ModalContent>
- </Modal>
+ <p>You&apos;re about to overwrite any existing secrets in GCP Secret Manager.</p>
+ <p className="mt-4">
+ To avoid this behavior, you may consider adding a secret prefix/suffix or enabling
+ labeling in the options tab.
+ </p>
+ </ModalContent>
+ </Modal>
</form>
) : (
- <div className="flex justify-center items-center w-full h-full">
+ <div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up GCP Secret Manager Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- {isIntegrationAuthAppsLoading ? <img src="/images/loading/loading.gif" height={70} width={120} alt="infisical loading indicator" /> : <div className="max-w-md h-max p-6 border border-mineshaft-600 rounded-md bg-mineshaft-800 text-mineshaft-200 flex flex-col text-center">
- <FontAwesomeIcon icon={faBugs} className="text-6xl my-2 inlineli"/>
- <p>
- Something went wrong. Please contact <a
- className="inline underline underline-offset-4 decoration-primary-500 opacity-80 hover:opacity-100 text-mineshaft-100 duration-200 cursor-pointer"
- target="_blank"
- rel="noopener noreferrer"
- href="mailto:[email protected]"
- >
- </a> if the issue persists.
- </p>
- </div>}
+ {isIntegrationAuthAppsLoading ? (
+ <img
+ src="/images/loading/loading.gif"
+ height={70}
+ width={120}
+ alt="infisical loading indicator"
+ />
+ ) : (
+ <div className="flex h-max max-w-md flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6 text-center text-mineshaft-200">
+ <FontAwesomeIcon icon={faBugs} className="inlineli my-2 text-6xl" />
+ <p>
+ Something went wrong. Please contact{" "}
+ <a
+ className="inline cursor-pointer text-mineshaft-100 underline decoration-primary-500 underline-offset-4 opacity-80 duration-200 hover:opacity-100"
+ target="_blank"
+ rel="noopener noreferrer"
+ href="mailto:[email protected]"
+ >
+ </a>{" "}
+ if the issue persists.
+ </p>
+ </div>
+ )}
</div>
);
}
-GCPSecretManagerCreateIntegrationPage.requireAuth = true;
\ No newline at end of file
+GCPSecretManagerCreateIntegrationPage.requireAuth = true;
diff --git a/frontend/src/pages/integrations/gcp-secret-manager/oauth2/callback.tsx b/frontend/src/pages/integrations/gcp-secret-manager/oauth2/callback.tsx
index 3a9486d8d3..3f2c4b7954 100644
--- a/frontend/src/pages/integrations/gcp-secret-manager/oauth2/callback.tsx
+++ b/frontend/src/pages/integrations/gcp-secret-manager/oauth2/callback.tsx
@@ -2,15 +2,13 @@ import { useEffect } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useAuthorizeIntegration
-} from "@app/hooks/api";
+import { useAuthorizeIntegration } from "@app/hooks/api";
export default function GCPSecretManagerOAuth2CallbackPage() {
- const router = useRouter();
- const { mutateAsync } = useAuthorizeIntegration();
+ const router = useRouter();
+ const { mutateAsync } = useAuthorizeIntegration();
- const { code, state } = queryString.parse(router.asPath.split("?")[1]);
+ const { code, state } = queryString.parse(router.asPath.split("?")[1]);
useEffect(() => {
(async () => {
@@ -24,8 +22,10 @@ export default function GCPSecretManagerOAuth2CallbackPage() {
code: code as string,
integration: "gcp-secret-manager"
});
-
- router.push(`/integrations/gcp-secret-manager/create?integrationAuthId=${integrationAuth.id}`);
+
+ router.push(
+ `/integrations/gcp-secret-manager/create?integrationAuthId=${integrationAuth.id}`
+ );
} catch (err) {
console.error(err);
}
diff --git a/frontend/src/pages/integrations/github/create.tsx b/frontend/src/pages/integrations/github/create.tsx
index 8c3759d909..23296cefd2 100644
--- a/frontend/src/pages/integrations/github/create.tsx
+++ b/frontend/src/pages/integrations/github/create.tsx
@@ -3,14 +3,19 @@ import Head from "next/head";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/router";
-import { faAngleDown, faArrowUpRightFromSquare, faBookOpen, faBugs, faCheckCircle, faCircleInfo } from "@fortawesome/free-solid-svg-icons";
+import {
+ faAngleDown,
+ faArrowUpRightFromSquare,
+ faBookOpen,
+ faBugs,
+ faCheckCircle,
+ faCircleInfo
+} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { motion } from "framer-motion";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -48,9 +53,10 @@ export default function GitHubCreateIntegrationPage() {
const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
- const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({
- integrationAuthId: (integrationAuthId as string) ?? ""
- });
+ const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } =
+ useGetIntegrationAuthApps({
+ integrationAuthId: (integrationAuthId as string) ?? ""
+ });
const [selectedSourceEnvironment, setSelectedSourceEnvironment] = useState("");
const [secretPath, setSecretPath] = useState("/");
@@ -81,8 +87,8 @@ export default function GitHubCreateIntegrationPage() {
if (!integrationAuth?.id) return;
- const targetApps = integrationAuthApps?.filter(
- (integrationAuthApp) => targetAppIds.includes(String(integrationAuthApp.appId))
+ const targetApps = integrationAuthApps?.filter((integrationAuthApp) =>
+ targetAppIds.includes(String(integrationAuthApp.appId))
);
if (!targetApps) return;
@@ -99,7 +105,7 @@ export default function GitHubCreateIntegrationPage() {
metadata: {
secretSuffix
}
- })
+ });
})
);
@@ -115,18 +121,18 @@ export default function GitHubCreateIntegrationPage() {
selectedSourceEnvironment &&
integrationAuthApps &&
targetAppIds ? (
- <div className="flex flex-col h-full w-full items-center justify-center">
+ <div className="flex h-full w-full flex-col items-center justify-center">
<Head>
<title>Set Up GitHub Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
<Card className="max-w-lg rounded-md border border-mineshaft-600 p-0">
- <CardTitle
- className="text-left px-6 text-xl"
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Choose which environment in Infisical you want to sync to environment variables in GitHub."
>
<div className="flex flex-row items-center">
- <div className="inline flex items-center bg-mineshaft-200 rounded-full">
+ <div className="inline flex items-center rounded-full bg-mineshaft-200">
<Image
src="/images/integrations/GitHub.png"
height={30}
@@ -137,10 +143,13 @@ export default function GitHubCreateIntegrationPage() {
<span className="ml-2.5">GitHub Integration </span>
<Link href="https://infisical.com/docs/integrations/cicd/githubactions" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -148,7 +157,7 @@ export default function GitHubCreateIntegrationPage() {
</CardTitle>
<Tabs defaultValue={TabSections.Connection} className="px-6">
<TabList>
- <div className="flex flex-row border-b border-mineshaft-600 w-full">
+ <div className="flex w-full flex-row border-b border-mineshaft-600">
<Tab value={TabSections.Connection}>Connection</Tab>
<Tab value={TabSections.Options}>Options</Tab>
</div>
@@ -187,17 +196,27 @@ export default function GitHubCreateIntegrationPage() {
<FormControl label="GitHub Repo">
<DropdownMenu>
<DropdownMenuTrigger asChild>
- {(integrationAuthApps.length > 0) ? <div className="w-full cursor-pointer border border-mineshaft-600 inline-flex items-center justify-between rounded-md bg-mineshaft-900 px-3 py-2 font-inter text-sm font-normal text-bunker-200 outline-none data-[placeholder]:text-mineshaft-200">
- {targetAppIds.length === 1 ? integrationAuthApps?.find(
- (integrationAuthApp) => targetAppIds[0] === String(integrationAuthApp.appId)
- )?.name : `${targetAppIds.length} repositories selected`}
+ {integrationAuthApps.length > 0 ? (
+ <div className="inline-flex w-full cursor-pointer items-center justify-between rounded-md border border-mineshaft-600 bg-mineshaft-900 px-3 py-2 font-inter text-sm font-normal text-bunker-200 outline-none data-[placeholder]:text-mineshaft-200">
+ {targetAppIds.length === 1
+ ? integrationAuthApps?.find(
+ (integrationAuthApp) =>
+ targetAppIds[0] === String(integrationAuthApp.appId)
+ )?.name
+ : `${targetAppIds.length} repositories selected`}
<FontAwesomeIcon icon={faAngleDown} className="text-xs" />
- </div> : <div className="w-full cursor-default border border-mineshaft-600 inline-flex items-center justify-between rounded-md bg-mineshaft-900 px-3 py-2 font-inter text-sm font-normal text-bunker-200 outline-none data-[placeholder]:text-mineshaft-200">
+ </div>
+ ) : (
+ <div className="inline-flex w-full cursor-default items-center justify-between rounded-md border border-mineshaft-600 bg-mineshaft-900 px-3 py-2 font-inter text-sm font-normal text-bunker-200 outline-none data-[placeholder]:text-mineshaft-200">
No repositories found
- </div>}
+ </div>
+ )}
</DropdownMenuTrigger>
- <DropdownMenuContent align="start" className="z-[100] max-h-80 overflow-y-scroll thin-scrollbar">
- {(integrationAuthApps.length > 0) ? (
+ <DropdownMenuContent
+ align="start"
+ className="thin-scrollbar z-[100] max-h-80 overflow-y-scroll"
+ >
+ {integrationAuthApps.length > 0 ? (
integrationAuthApps.map((integrationAuthApp) => {
const isSelected = targetAppIds.includes(String(integrationAuthApp.appId));
@@ -205,20 +224,39 @@ export default function GitHubCreateIntegrationPage() {
<DropdownMenuItem
onClick={() => {
if (targetAppIds.includes(String(integrationAuthApp.appId))) {
- setTargetAppIds(targetAppIds.filter((appId) => appId !== String(integrationAuthApp.appId)));
+ setTargetAppIds(
+ targetAppIds.filter(
+ (appId) => appId !== String(integrationAuthApp.appId)
+ )
+ );
} else {
- setTargetAppIds([...targetAppIds, String(integrationAuthApp.appId)]);
+ setTargetAppIds([
+ ...targetAppIds,
+ String(integrationAuthApp.appId)
+ ]);
}
}}
key={integrationAuthApp.appId}
- icon={isSelected ? <FontAwesomeIcon icon={faCheckCircle} className="text-primary pr-0.5" /> : <div className="pl-[1.01rem]"/>}
+ icon={
+ isSelected ? (
+ <FontAwesomeIcon
+ icon={faCheckCircle}
+ className="pr-0.5 text-primary"
+ />
+ ) : (
+ <div className="pl-[1.01rem]" />
+ )
+ }
iconPos="left"
className="w-[28.4rem] text-sm"
>
{integrationAuthApp.name}
- </DropdownMenuItem>
- )})
- ) : <div/>}
+ </DropdownMenuItem>
+ );
+ })
+ ) : (
+ <div />
+ )}
</DropdownMenuContent>
</DropdownMenu>
</FormControl>
@@ -253,31 +291,48 @@ export default function GitHubCreateIntegrationPage() {
Create Integration
</Button>
</Card>
- <div className="border-t border-mineshaft-800 w-full max-w-md mt-6"/>
- <div className="flex flex-col bg-mineshaft-800 border border-mineshaft-600 w-full p-4 max-w-lg mt-6 rounded-md">
- <div className="flex flex-row items-center"><FontAwesomeIcon icon={faCircleInfo} className="text-mineshaft-200 text-xl"/> <span className="ml-3 text-md text-mineshaft-100">Pro Tips</span></div>
- <span className="text-mineshaft-300 text-sm mt-4">After creating an integration, your secrets will start syncing immediately. This might cause an unexpected override of current secrets in GitHub with secrets from Infisical.</span>
+ <div className="mt-6 w-full max-w-md border-t border-mineshaft-800" />
+ <div className="mt-6 flex w-full max-w-lg flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4">
+ <div className="flex flex-row items-center">
+ <FontAwesomeIcon icon={faCircleInfo} className="text-xl text-mineshaft-200" />{" "}
+ <span className="text-md ml-3 text-mineshaft-100">Pro Tips</span>
+ </div>
+ <span className="mt-4 text-sm text-mineshaft-300">
+ After creating an integration, your secrets will start syncing immediately. This might
+ cause an unexpected override of current secrets in GitHub with secrets from Infisical.
+ </span>
</div>
</div>
) : (
- <div className="flex justify-center items-center w-full h-full">
+ <div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up GitHub Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- {isIntegrationAuthAppsLoading ? <img src="/images/loading/loading.gif" height={70} width={120} alt="infisical loading indicator" /> : <div className="max-w-md h-max p-6 border border-mineshaft-600 rounded-md bg-mineshaft-800 text-mineshaft-200 flex flex-col text-center">
- <FontAwesomeIcon icon={faBugs} className="text-6xl my-2 inlineli"/>
- <p>
- Something went wrong. Please contact <a
- className="inline underline underline-offset-4 decoration-primary-500 opacity-80 hover:opacity-100 text-mineshaft-100 duration-200 cursor-pointer"
- target="_blank"
- rel="noopener noreferrer"
- href="mailto:[email protected]"
- >
- </a> if the issue persists.
- </p>
- </div>}
+ {isIntegrationAuthAppsLoading ? (
+ <img
+ src="/images/loading/loading.gif"
+ height={70}
+ width={120}
+ alt="infisical loading indicator"
+ />
+ ) : (
+ <div className="flex h-max max-w-md flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6 text-center text-mineshaft-200">
+ <FontAwesomeIcon icon={faBugs} className="inlineli my-2 text-6xl" />
+ <p>
+ Something went wrong. Please contact{" "}
+ <a
+ className="inline cursor-pointer text-mineshaft-100 underline decoration-primary-500 underline-offset-4 opacity-80 duration-200 hover:opacity-100"
+ target="_blank"
+ rel="noopener noreferrer"
+ href="mailto:[email protected]"
+ >
+ </a>{" "}
+ if the issue persists.
+ </p>
+ </div>
+ )}
</div>
);
}
diff --git a/frontend/src/pages/integrations/github/oauth2/callback.tsx b/frontend/src/pages/integrations/github/oauth2/callback.tsx
index 341d0b0bd8..c603382836 100644
--- a/frontend/src/pages/integrations/github/oauth2/callback.tsx
+++ b/frontend/src/pages/integrations/github/oauth2/callback.tsx
@@ -2,9 +2,7 @@ import { useEffect } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useAuthorizeIntegration
-} from "@app/hooks/api";
+import { useAuthorizeIntegration } from "@app/hooks/api";
export default function GitHubOAuth2CallbackPage() {
const router = useRouter();
diff --git a/frontend/src/pages/integrations/gitlab/authorize.tsx b/frontend/src/pages/integrations/gitlab/authorize.tsx
index 969c3cc85a..1ce1c73683 100644
--- a/frontend/src/pages/integrations/gitlab/authorize.tsx
+++ b/frontend/src/pages/integrations/gitlab/authorize.tsx
@@ -20,10 +20,7 @@ const schema = yup.object({
type FormData = yup.InferType<typeof schema>;
export default function GitLabAuthorizeIntegrationPage() {
- const {
- control,
- handleSubmit
- } = useForm<FormData>({
+ const { control, handleSubmit } = useForm<FormData>({
resolver: yupResolver(schema),
defaultValues: {
gitLabURL: ""
@@ -31,35 +28,38 @@ export default function GitLabAuthorizeIntegrationPage() {
});
const { data: cloudIntegrations } = useGetCloudIntegrations();
-
- const onFormSubmit = ({
- gitLabURL
- }: FormData) => {
+
+ const onFormSubmit = ({ gitLabURL }: FormData) => {
if (!cloudIntegrations) return;
- const integrationOption = cloudIntegrations.find((integration) => integration.slug === "gitlab");
-
+ const integrationOption = cloudIntegrations.find(
+ (integration) => integration.slug === "gitlab"
+ );
+
if (!integrationOption) return;
-
- const baseURL = (gitLabURL as string).trim() === "" ? "https://gitlab.com" : (gitLabURL as string).trim();
-
+
+ const baseURL =
+ (gitLabURL as string).trim() === "" ? "https://gitlab.com" : (gitLabURL as string).trim();
+
const csrfToken = crypto.randomBytes(16).toString("hex");
localStorage.setItem("latestCSRFToken", csrfToken);
-
- const state = `${csrfToken}|${(gitLabURL as string).trim() === "" ? "" : (gitLabURL as string).trim()}`;
+
+ const state = `${csrfToken}|${
+ (gitLabURL as string).trim() === "" ? "" : (gitLabURL as string).trim()
+ }`;
const link = `${baseURL}/oauth/authorize?clientid=${integrationOption.clientId}&redirect_uri=${window.location.origin}/integrations/gitlab/oauth2/callback&response_type=code&state=${state}`;
-
+
window.location.assign(link);
- }
+ };
return (
<div className="flex h-full w-full items-center justify-center">
<Head>
<title>Authorize GitLab Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- <Card className="max-w-lg rounded-md border border-mineshaft-600 mb-12">
- <CardTitle
- className="text-left px-6 text-xl"
+ <Card className="mb-12 max-w-lg rounded-md border border-mineshaft-600">
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Authorize this integration to sync secrets from Infisical to GitLab. If no self-hosted GitLab URL is specified, then Infisical will connect you to GitLab Cloud."
>
<div className="flex flex-row items-center">
@@ -74,19 +74,19 @@ export default function GitLabAuthorizeIntegrationPage() {
<span className="ml-2.5">GitLab Integration </span>
<Link href="https://infisical.com/docs/integrations/cicd/gitlab" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
</div>
</CardTitle>
- <form
- onSubmit={handleSubmit(onFormSubmit)}
- className="px-6 text-right pb-8"
- >
+ <form onSubmit={handleSubmit(onFormSubmit)} className="px-6 pb-8 text-right">
<Controller
control={control}
name="gitLabURL"
@@ -96,10 +96,7 @@ export default function GitLabAuthorizeIntegrationPage() {
errorText={error?.message}
isError={Boolean(error)}
>
- <Input
- {...field}
- placeholder="https://self-hosted-gitlab.com"
- />
+ <Input {...field} placeholder="https://self-hosted-gitlab.com" />
</FormControl>
)}
/>
diff --git a/frontend/src/pages/integrations/gitlab/create.tsx b/frontend/src/pages/integrations/gitlab/create.tsx
index 421faf3645..183040341b 100644
--- a/frontend/src/pages/integrations/gitlab/create.tsx
+++ b/frontend/src/pages/integrations/gitlab/create.tsx
@@ -12,9 +12,7 @@ import queryString from "query-string";
import * as yup from "yup";
import { usePopUp } from "@app/hooks";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -49,7 +47,10 @@ enum TabSections {
}
const schema = yup.object({
- targetEntity: yup.string().oneOf(gitLabEntities.map(entity => entity.value), "Invalid entity type"),
+ targetEntity: yup.string().oneOf(
+ gitLabEntities.map((entity) => entity.value),
+ "Invalid entity type"
+ ),
targetTeamId: yup.string(),
selectedSourceEnvironment: yup.string().required("Source environment is required"),
secretPath: yup.string().required("Secret path is required"),
@@ -66,20 +67,15 @@ export default function GitLabCreateIntegrationPage() {
const { popUp, handlePopUpOpen, handlePopUpToggle, handlePopUpClose } = usePopUp([
"confirmIntegration"
] as const);
-
- const {
- control,
- handleSubmit,
- setValue,
- watch
- } = useForm<FormData>({
- resolver: yupResolver(schema),
- defaultValues: {
- targetEntity: "individual",
- secretPath: "/",
- secretPrefix: "",
- secretSuffix: ""
- }
+
+ const { control, handleSubmit, setValue, watch } = useForm<FormData>({
+ resolver: yupResolver(schema),
+ defaultValues: {
+ targetEntity: "individual",
+ secretPath: "/",
+ secretPrefix: "",
+ secretSuffix: ""
+ }
});
const selectedSourceEnvironment = watch("selectedSourceEnvironment");
const targetEntity = watch("targetEntity");
@@ -93,17 +89,16 @@ export default function GitLabCreateIntegrationPage() {
const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
- const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({
-
- integrationAuthId: (integrationAuthId as string) ?? "",
- ...(targetTeamId ? { teamId: targetTeamId } : {})
- });
- const { data: integrationAuthTeams, isLoading: isintegrationAuthTeamsLoading } = useGetIntegrationAuthTeams(
- (integrationAuthId as string) ?? ""
- );
+ const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } =
+ useGetIntegrationAuthApps({
+ integrationAuthId: (integrationAuthId as string) ?? "",
+ ...(targetTeamId ? { teamId: targetTeamId } : {})
+ });
+ const { data: integrationAuthTeams, isLoading: isintegrationAuthTeamsLoading } =
+ useGetIntegrationAuthTeams((integrationAuthId as string) ?? "");
const [isLoading, setIsLoading] = useState(false);
-
+
useEffect(() => {
if (workspace) {
setValue("selectedSourceEnvironment", workspace.environments[0].slug);
@@ -147,11 +142,13 @@ export default function GitLabCreateIntegrationPage() {
try {
setIsLoading(true);
if (!integrationAuth?.id) return;
-
+
await mutateAsync({
integrationAuthId: integrationAuth?.id,
isActive: true,
- app: integrationAuthApps?.find((integrationAuthApp) => String(integrationAuthApp.appId) === targetAppId)?.name,
+ app: integrationAuthApps?.find(
+ (integrationAuthApp) => String(integrationAuthApp.appId) === targetAppId
+ )?.name,
appId: String(targetAppId),
sourceEnvironment: sse,
targetEnvironment: targetEnvironment === "" ? "*" : targetEnvironment,
@@ -168,31 +165,31 @@ export default function GitLabCreateIntegrationPage() {
console.error(err);
setIsLoading(false);
}
- }
+ };
return integrationAuth &&
workspace &&
selectedSourceEnvironment &&
integrationAuthApps &&
integrationAuthTeams ? (
- <form
+ <form
onSubmit={handleSubmit((data: FormData) => {
if (!data.secretPrefix && !data.secretSuffix) {
- handlePopUpOpen("confirmIntegration", data);
+ handlePopUpOpen("confirmIntegration", data);
return;
}
-
+
onFormSubmit(data);
})}
- className="flex flex-col h-full w-full items-center justify-center"
+ className="flex h-full w-full flex-col items-center justify-center"
>
<Head>
<title>Set Up GitLab Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
<Card className="max-w-lg rounded-md border border-mineshaft-600">
- <CardTitle
- className="text-left px-6 text-xl"
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Select which environment or folder in Infisical you want to sync to GitLab's environment variables."
>
<div className="flex flex-row items-center">
@@ -207,10 +204,13 @@ export default function GitLabCreateIntegrationPage() {
<span className="ml-2.5">GitLab Integration </span>
<Link href="https://infisical.com/docs/integrations/cicd/gitlab" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -218,7 +218,7 @@ export default function GitLabCreateIntegrationPage() {
</CardTitle>
<Tabs defaultValue={TabSections.Connection} className="px-6">
<TabList>
- <div className="flex flex-row border-b border-mineshaft-600 w-full">
+ <div className="flex w-full flex-row border-b border-mineshaft-600">
<Tab value={TabSections.Connection}>Connection</Tab>
<Tab value={TabSections.Options}>Options</Tab>
</div>
@@ -259,21 +259,18 @@ export default function GitLabCreateIntegrationPage() {
)}
/>
<Controller
- control={control}
- defaultValue=""
- name="secretPath"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Secrets Path"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="/"
- />
- </FormControl>
- )}
+ control={control}
+ defaultValue=""
+ name="secretPath"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl
+ label="Secrets Path"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} placeholder="/" />
+ </FormControl>
+ )}
/>
<Controller
control={control}
@@ -284,11 +281,7 @@ export default function GitLabCreateIntegrationPage() {
errorText={error?.message}
isError={Boolean(error)}
>
- <Select
- {...field}
- onValueChange={(e) => onChange(e)}
- className="w-full"
- >
+ <Select {...field} onValueChange={(e) => onChange(e)} className="w-full">
{gitLabEntities.map((entity) => {
return (
<SelectItem value={entity.value} key={`target-entity-${entity.value}`}>
@@ -310,14 +303,9 @@ export default function GitLabCreateIntegrationPage() {
errorText={error?.message}
isError={Boolean(error)}
>
- <Select
- {...field}
- onValueChange={(e) => onChange(e)}
- className="w-full"
- >
+ <Select {...field} onValueChange={(e) => onChange(e)} className="w-full">
{integrationAuthTeams.length > 0 ? (
- integrationAuthTeams.map((integrationAuthTeam) =>
- (
+ integrationAuthTeams.map((integrationAuthTeam) => (
<SelectItem
value={String(integrationAuthTeam.teamId as string)}
key={`target-team-${String(integrationAuthTeam.teamId)}`}
@@ -349,7 +337,7 @@ export default function GitLabCreateIntegrationPage() {
{...field}
onValueChange={(e) => {
if (e === "") return;
- onChange(e)
+ onChange(e);
}}
className="w-full"
>
@@ -369,24 +357,22 @@ export default function GitLabCreateIntegrationPage() {
)}
</Select>
</FormControl>
- )}}
- />
- <Controller
- control={control}
- defaultValue=""
- name="targetEnvironment"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="GitLab Environment Scope (Optional)"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="*"
- />
- </FormControl>
- )}
+ );
+ }}
+ />
+ <Controller
+ control={control}
+ defaultValue=""
+ name="targetEnvironment"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl
+ label="GitLab Environment Scope (Optional)"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} placeholder="*" />
+ </FormControl>
+ )}
/>
</motion.div>
</TabPanel>
@@ -403,32 +389,26 @@ export default function GitLabCreateIntegrationPage() {
control={control}
name="secretPrefix"
render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Secret Prefix"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="INFISICAL_"
- />
- </FormControl>
+ <FormControl
+ label="Secret Prefix"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} placeholder="INFISICAL_" />
+ </FormControl>
)}
/>
<Controller
control={control}
name="secretSuffix"
render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Secret Suffix"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="_INFISICAL"
- />
- </FormControl>
+ <FormControl
+ label="Secret Suffix"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} placeholder="_INFISICAL" />
+ </FormControl>
)}
/>
</motion.div>
@@ -445,61 +425,71 @@ export default function GitLabCreateIntegrationPage() {
>
Create Integration
</Button>
- </Card>
+ </Card>
{/* <div className="border-t border-mineshaft-800 w-full max-w-md mt-6"/>
<div className="flex flex-col bg-mineshaft-800 border border-mineshaft-600 w-full p-4 max-w-lg mt-6 rounded-md">
<div className="flex flex-row items-center"><FontAwesomeIcon icon={faCircleInfo} className="text-mineshaft-200 text-xl"/> <span className="ml-3 text-md text-mineshaft-100">Pro Tips</span></div>
<span className="text-mineshaft-300 text-sm mt-4">After creating an integration, your secrets will start syncing immediately. This might cause an unexpected override of current secrets in GitLab with secrets from Infisical.</span>
</div> */}
<Modal
- isOpen={popUp.confirmIntegration?.isOpen}
- onOpenChange={(isOpen) => handlePopUpToggle("confirmIntegration", isOpen)}
+ isOpen={popUp.confirmIntegration?.isOpen}
+ onOpenChange={(isOpen) => handlePopUpToggle("confirmIntegration", isOpen)}
+ >
+ <ModalContent
+ title="Heads Up"
+ footerContent={
+ <div className="flex items-center space-x-2">
+ <Button onClick={() => onFormSubmit(popUp.confirmIntegration?.data as FormData)}>
+ Continue Anyway
+ </Button>
+ <Button
+ onClick={() => handlePopUpClose("confirmIntegration")}
+ variant="outline_bg"
+ colorSchema="secondary"
+ >
+ Cancel
+ </Button>
+ </div>
+ }
>
- <ModalContent
- title="Heads Up"
- footerContent={
- <div className="flex items-center space-x-2">
- <Button onClick={() => onFormSubmit(popUp.confirmIntegration?.data as FormData)}>
- Continue Anyway
- </Button>
- <Button
- onClick={() => handlePopUpClose("confirmIntegration")}
- variant="outline_bg"
- colorSchema="secondary"
- >
- Cancel
- </Button>
- </div>
- }
- >
- <p>
- You&apos;re about to overwrite any existing secrets in GitLab.
- </p>
- <p className="mt-4">
- To avoid this behavior, you may consider adding a secret prefix/suffix in the options tab.
- </p>
- </ModalContent>
- </Modal>
+ <p>You&apos;re about to overwrite any existing secrets in GitLab.</p>
+ <p className="mt-4">
+ To avoid this behavior, you may consider adding a secret prefix/suffix in the options
+ tab.
+ </p>
+ </ModalContent>
+ </Modal>
</form>
) : (
- <div className="flex justify-center items-center w-full h-full">
+ <div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up GitLab Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- {isIntegrationAuthAppsLoading || isintegrationAuthTeamsLoading ? <img src="/images/loading/loading.gif" height={70} width={120} alt="infisical loading indicator" /> : <div className="max-w-md h-max p-6 border border-mineshaft-600 rounded-md bg-mineshaft-800 text-mineshaft-200 flex flex-col text-center">
- <FontAwesomeIcon icon={faBugs} className="text-6xl my-2 inlineli"/>
- <p>
- Something went wrong. Please contact <a
- className="inline underline underline-offset-4 decoration-primary-500 opacity-80 hover:opacity-100 text-mineshaft-100 duration-200 cursor-pointer"
- target="_blank"
- rel="noopener noreferrer"
- href="mailto:[email protected]"
- >
- </a> if the issue persists.
- </p>
- </div>}
+ {isIntegrationAuthAppsLoading || isintegrationAuthTeamsLoading ? (
+ <img
+ src="/images/loading/loading.gif"
+ height={70}
+ width={120}
+ alt="infisical loading indicator"
+ />
+ ) : (
+ <div className="flex h-max max-w-md flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6 text-center text-mineshaft-200">
+ <FontAwesomeIcon icon={faBugs} className="inlineli my-2 text-6xl" />
+ <p>
+ Something went wrong. Please contact{" "}
+ <a
+ className="inline cursor-pointer text-mineshaft-100 underline decoration-primary-500 underline-offset-4 opacity-80 duration-200 hover:opacity-100"
+ target="_blank"
+ rel="noopener noreferrer"
+ href="mailto:[email protected]"
+ >
+ </a>{" "}
+ if the issue persists.
+ </p>
+ </div>
+ )}
</div>
);
}
diff --git a/frontend/src/pages/integrations/gitlab/oauth2/callback.tsx b/frontend/src/pages/integrations/gitlab/oauth2/callback.tsx
index ceb2fdef6e..996d6a6357 100644
--- a/frontend/src/pages/integrations/gitlab/oauth2/callback.tsx
+++ b/frontend/src/pages/integrations/gitlab/oauth2/callback.tsx
@@ -2,9 +2,7 @@ import { useEffect } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useAuthorizeIntegration
-} from "@app/hooks/api";
+import { useAuthorizeIntegration } from "@app/hooks/api";
export default function GitLabOAuth2CallbackPage() {
const router = useRouter();
@@ -16,7 +14,7 @@ export default function GitLabOAuth2CallbackPage() {
try {
// validate state
const [csrfToken, url] = (state as string).split("|", 2);
-
+
if (csrfToken !== localStorage.getItem("latestCSRFToken")) return;
localStorage.removeItem("latestCSRFToken");
@@ -24,9 +22,11 @@ export default function GitLabOAuth2CallbackPage() {
workspaceId: localStorage.getItem("projectData.id") as string,
code: code as string,
integration: "gitlab",
- ...(url === "" ? {} : {
- url
- })
+ ...(url === ""
+ ? {}
+ : {
+ url
+ })
});
router.push(`/integrations/gitlab/create?integrationAuthId=${integrationAuth.id}`);
diff --git a/frontend/src/pages/integrations/hashicorp-vault/authorize.tsx b/frontend/src/pages/integrations/hashicorp-vault/authorize.tsx
index 2c9cc35ae4..41ba3571bd 100644
--- a/frontend/src/pages/integrations/hashicorp-vault/authorize.tsx
+++ b/frontend/src/pages/integrations/hashicorp-vault/authorize.tsx
@@ -6,9 +6,7 @@ import { useRouter } from "next/router";
import { faArrowUpRightFromSquare, faBookOpen } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
@@ -18,7 +16,7 @@ export default function HashiCorpVaultAuthorizeIntegrationPage() {
const [vaultURL, setVaultURL] = useState("");
const [vaultURLErrorText, setVaultURLErrorText] = useState("");
-
+
const [vaultNamespace, setVaultNamespace] = useState("");
const [vaultNamespaceErrorText, setVaultNamespaceErrorText] = useState("");
@@ -35,44 +33,44 @@ export default function HashiCorpVaultAuthorizeIntegrationPage() {
if (vaultURL.length === 0) {
setVaultURLErrorText("Vault Cluster URL cannot be blank");
} else {
- setVaultURLErrorText("");
+ setVaultURLErrorText("");
}
-
+
if (vaultNamespace.length === 0) {
setVaultNamespaceErrorText("Vault Namespace cannot be blank");
} else {
setVaultNamespaceErrorText("");
}
-
+
if (vaultRoleID.length === 0) {
setVaultRoleIDErrorText("Vault Role ID cannot be blank");
} else {
setVaultRoleIDErrorText("");
}
-
+
if (vaultSecretID.length === 0) {
setVaultSecretIDErrorText("Vault Secret ID cannot be blank");
} else {
setVaultSecretIDErrorText("");
}
if (
- vaultURL.length === 0 ||
- vaultNamespace.length === 0 ||
- vaultRoleID.length === 0 ||
- vaultSecretID.length === 0
+ vaultURL.length === 0 ||
+ vaultNamespace.length === 0 ||
+ vaultRoleID.length === 0 ||
+ vaultSecretID.length === 0
) {
- return;
+ return;
}
setIsLoading(true);
const integrationAuth = await mutateAsync({
- workspaceId: localStorage.getItem("projectData.id"),
- integration: "hashicorp-vault",
- accessId: vaultRoleID,
- accessToken: vaultSecretID,
- url: vaultURL,
- namespace: vaultNamespace
+ workspaceId: localStorage.getItem("projectData.id"),
+ integration: "hashicorp-vault",
+ accessId: vaultRoleID,
+ accessToken: vaultSecretID,
+ url: vaultURL,
+ namespace: vaultNamespace
});
setIsLoading(false);
@@ -87,11 +85,11 @@ export default function HashiCorpVaultAuthorizeIntegrationPage() {
<div className="flex h-full w-full items-center justify-center">
<Head>
<title>Authorize Vault Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- <Card className="max-w-lg rounded-md border border-mineshaft-600 mb-12">
- <CardTitle
- className="text-left px-6 text-xl"
+ <Card className="mb-12 max-w-lg rounded-md border border-mineshaft-600">
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="After connecting to Vault, you will be prompted to set up an integration for a particular Infisical project and environment."
>
<div className="flex flex-row items-center">
@@ -106,10 +104,13 @@ export default function HashiCorpVaultAuthorizeIntegrationPage() {
<span className="ml-2.5">HashiCorp Vault Integration</span>
<Link href="https://infisical.com/docs/integrations/cloud/hashicorp-vault" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -129,11 +130,11 @@ export default function HashiCorpVaultAuthorizeIntegrationPage() {
isError={vaultNamespaceErrorText !== "" ?? false}
className="px-6"
>
- <Input
- placeholder="admin/education"
- value={vaultNamespace}
- onChange={(e) => setVaultNamespace(e.target.value)}
- />
+ <Input
+ placeholder="admin/education"
+ value={vaultNamespace}
+ onChange={(e) => setVaultNamespace(e.target.value)}
+ />
</FormControl>
<FormControl
label="Vault RoleID"
@@ -141,7 +142,11 @@ export default function HashiCorpVaultAuthorizeIntegrationPage() {
isError={vaultRoleIDErrorText !== "" ?? false}
className="px-6"
>
- <Input placeholder="" value={vaultRoleID} onChange={(e) => setVaultRoleID(e.target.value)} />
+ <Input
+ placeholder=""
+ value={vaultRoleID}
+ onChange={(e) => setVaultRoleID(e.target.value)}
+ />
</FormControl>
<FormControl
label="Vault SecretID"
@@ -149,11 +154,11 @@ export default function HashiCorpVaultAuthorizeIntegrationPage() {
isError={vaultSecretIDErrorText !== "" ?? false}
className="px-6"
>
- <Input
- placeholder=""
- value={vaultSecretID}
- onChange={(e) => setVaultSecretID(e.target.value)}
- />
+ <Input
+ placeholder=""
+ value={vaultSecretID}
+ onChange={(e) => setVaultSecretID(e.target.value)}
+ />
</FormControl>
<Button
onClick={handleButtonClick}
@@ -169,4 +174,4 @@ export default function HashiCorpVaultAuthorizeIntegrationPage() {
);
}
-HashiCorpVaultAuthorizeIntegrationPage.requireAuth = true;
\ No newline at end of file
+HashiCorpVaultAuthorizeIntegrationPage.requireAuth = true;
diff --git a/frontend/src/pages/integrations/hashicorp-vault/create.tsx b/frontend/src/pages/integrations/hashicorp-vault/create.tsx
index 73c6afbb04..5b3e11bbb6 100644
--- a/frontend/src/pages/integrations/hashicorp-vault/create.tsx
+++ b/frontend/src/pages/integrations/hashicorp-vault/create.tsx
@@ -3,13 +3,16 @@ import Head from "next/head";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/router";
-import { faArrowUpRightFromSquare, faBookOpen, faBugs, faCircleInfo } from "@fortawesome/free-solid-svg-icons";
+import {
+ faArrowUpRightFromSquare,
+ faBookOpen,
+ faBugs,
+ faCircleInfo
+} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -30,7 +33,9 @@ export default function HashiCorpVaultCreateIntegrationPage() {
const { integrationAuthId } = queryString.parse(router.asPath.split("?")[1]);
const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
- const { data: integrationAuth, isLoading: isintegrationAuthLoading } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
+ const { data: integrationAuth, isLoading: isintegrationAuthLoading } = useGetIntegrationAuthById(
+ (integrationAuthId as string) ?? ""
+ );
const [vaultEnginePath, setVaultEnginePath] = useState("");
const [vaultEnginePathErrorText, setVaultEnginePathErrorText] = useState("");
@@ -84,14 +89,14 @@ export default function HashiCorpVaultCreateIntegrationPage() {
};
return integrationAuth && workspace ? (
- <div className="flex flex-col h-full w-full items-center justify-center">
+ <div className="flex h-full w-full flex-col items-center justify-center">
<Head>
<title>Set Up Vault Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
<Card className="max-w-lg rounded-md border border-mineshaft-600">
- <CardTitle
- className="text-left px-6 text-xl"
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Select which environment or folder in Infisical you want to sync to which path in HashiCorp Vault."
>
<div className="flex flex-row items-center">
@@ -106,10 +111,13 @@ export default function HashiCorpVaultCreateIntegrationPage() {
<span className="ml-2.5">HashiCorp Vault Integration</span>
<Link href="https://infisical.com/docs/integrations/cloud/hashicorp-vault" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -173,31 +181,48 @@ export default function HashiCorpVaultCreateIntegrationPage() {
Create Integration
</Button>
</Card>
- <div className="border-t border-mineshaft-800 w-full max-w-md mt-6"/>
- <div className="flex flex-col bg-mineshaft-800 border border-mineshaft-600 w-full p-4 max-w-lg mt-6 rounded-md">
- <div className="flex flex-row items-center"><FontAwesomeIcon icon={faCircleInfo} className="text-mineshaft-200 text-xl"/> <span className="ml-3 text-md text-mineshaft-100">Pro Tips</span></div>
- <span className="text-mineshaft-300 text-sm mt-4">After creating an integration, your secrets will start syncing immediately. This might cause an unexpected override of current secrets in Vault with secrets from Infisical.</span>
+ <div className="mt-6 w-full max-w-md border-t border-mineshaft-800" />
+ <div className="mt-6 flex w-full max-w-lg flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4">
+ <div className="flex flex-row items-center">
+ <FontAwesomeIcon icon={faCircleInfo} className="text-xl text-mineshaft-200" />{" "}
+ <span className="text-md ml-3 text-mineshaft-100">Pro Tips</span>
+ </div>
+ <span className="mt-4 text-sm text-mineshaft-300">
+ After creating an integration, your secrets will start syncing immediately. This might
+ cause an unexpected override of current secrets in Vault with secrets from Infisical.
+ </span>
</div>
</div>
) : (
- <div className="flex justify-center items-center w-full h-full">
+ <div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up Vault Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- {isintegrationAuthLoading ? <img src="/images/loading/loading.gif" height={70} width={120} alt="infisical loading indicator" /> : <div className="max-w-md h-max p-6 border border-mineshaft-600 rounded-md bg-mineshaft-800 text-mineshaft-200 flex flex-col text-center">
- <FontAwesomeIcon icon={faBugs} className="text-6xl my-2 inlineli"/>
- <p>
- Something went wrong. Please contact <a
- className="inline underline underline-offset-4 decoration-primary-500 opacity-80 hover:opacity-100 text-mineshaft-100 duration-200 cursor-pointer"
- target="_blank"
- rel="noopener noreferrer"
- href="mailto:[email protected]"
- >
- </a> if the issue persists.
- </p>
- </div>}
+ {isintegrationAuthLoading ? (
+ <img
+ src="/images/loading/loading.gif"
+ height={70}
+ width={120}
+ alt="infisical loading indicator"
+ />
+ ) : (
+ <div className="flex h-max max-w-md flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6 text-center text-mineshaft-200">
+ <FontAwesomeIcon icon={faBugs} className="inlineli my-2 text-6xl" />
+ <p>
+ Something went wrong. Please contact{" "}
+ <a
+ className="inline cursor-pointer text-mineshaft-100 underline decoration-primary-500 underline-offset-4 opacity-80 duration-200 hover:opacity-100"
+ target="_blank"
+ rel="noopener noreferrer"
+ href="mailto:[email protected]"
+ >
+ </a>{" "}
+ if the issue persists.
+ </p>
+ </div>
+ )}
</div>
);
}
diff --git a/frontend/src/pages/integrations/heroku/create.tsx b/frontend/src/pages/integrations/heroku/create.tsx
index 7f051136a3..a63cc1d074 100644
--- a/frontend/src/pages/integrations/heroku/create.tsx
+++ b/frontend/src/pages/integrations/heroku/create.tsx
@@ -2,9 +2,7 @@ import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
diff --git a/frontend/src/pages/integrations/heroku/oauth2/callback.tsx b/frontend/src/pages/integrations/heroku/oauth2/callback.tsx
index 4262985bbe..f2945b3a9b 100644
--- a/frontend/src/pages/integrations/heroku/oauth2/callback.tsx
+++ b/frontend/src/pages/integrations/heroku/oauth2/callback.tsx
@@ -2,9 +2,7 @@ import { useEffect } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useAuthorizeIntegration
-} from "@app/hooks/api";
+import { useAuthorizeIntegration } from "@app/hooks/api";
export default function HerokuOAuth2CallbackPage() {
const router = useRouter();
diff --git a/frontend/src/pages/integrations/laravel-forge/authorize.tsx b/frontend/src/pages/integrations/laravel-forge/authorize.tsx
index 0c02053f7f..5c10622e0d 100644
--- a/frontend/src/pages/integrations/laravel-forge/authorize.tsx
+++ b/frontend/src/pages/integrations/laravel-forge/authorize.tsx
@@ -1,9 +1,7 @@
import { useState } from "react";
import { useRouter } from "next/router";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
@@ -26,7 +24,7 @@ export default function LaravelForgeCreateIntegrationPage() {
setApiKeyErrorText("Access Token cannot be blank");
return;
}
-
+
if (serverId.length === 0) {
setServerIdErrorText("Server Id cannot be blank");
return;
@@ -58,14 +56,22 @@ export default function LaravelForgeCreateIntegrationPage() {
errorText={apiKeyErrorText}
isError={apiKeyErrorText !== "" ?? false}
>
- <Input placeholder="Access Token" value={apiKey} onChange={(e) => setApiKey(e.target.value)} />
+ <Input
+ placeholder="Access Token"
+ value={apiKey}
+ onChange={(e) => setApiKey(e.target.value)}
+ />
</FormControl>
<FormControl
label="Laravel Forge Server ID"
errorText={serverIdErrorText}
isError={serverIdErrorText !== "" ?? false}
>
- <Input placeholder="123456" value={serverId} onChange={(e) => setServerId(e.target.value)} />
+ <Input
+ placeholder="123456"
+ value={serverId}
+ onChange={(e) => setServerId(e.target.value)}
+ />
</FormControl>
<Button
onClick={handleButtonClick}
diff --git a/frontend/src/pages/integrations/laravel-forge/create.tsx b/frontend/src/pages/integrations/laravel-forge/create.tsx
index 07e13ebf25..69f69140c6 100644
--- a/frontend/src/pages/integrations/laravel-forge/create.tsx
+++ b/frontend/src/pages/integrations/laravel-forge/create.tsx
@@ -2,9 +2,7 @@ import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -64,7 +62,10 @@ export default function LaravelForgeCreateIntegrationPage() {
integrationAuthId: integrationAuth?.id,
isActive: true,
app: targetApp,
- appId: String(integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp)?.appId),
+ appId: String(
+ integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp)
+ ?.appId
+ ),
sourceEnvironment: selectedSourceEnvironment,
secretPath
});
diff --git a/frontend/src/pages/integrations/netlify/create.tsx b/frontend/src/pages/integrations/netlify/create.tsx
index bc3ac59766..349af67ab0 100644
--- a/frontend/src/pages/integrations/netlify/create.tsx
+++ b/frontend/src/pages/integrations/netlify/create.tsx
@@ -2,9 +2,7 @@ import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -73,7 +71,9 @@ export default function NetlifyCreateIntegrationPage() {
integrationAuthId: integrationAuth?.id,
isActive: true,
app: targetApp,
- appId: integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp)?.appId,
+ appId: integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.name === targetApp
+ )?.appId,
sourceEnvironment: selectedSourceEnvironment,
targetEnvironment,
secretPath
diff --git a/frontend/src/pages/integrations/netlify/oauth2/callback.tsx b/frontend/src/pages/integrations/netlify/oauth2/callback.tsx
index 2c0d8ef1d0..c0ad035918 100644
--- a/frontend/src/pages/integrations/netlify/oauth2/callback.tsx
+++ b/frontend/src/pages/integrations/netlify/oauth2/callback.tsx
@@ -2,9 +2,7 @@ import { useEffect } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useAuthorizeIntegration
-} from "@app/hooks/api";
+import { useAuthorizeIntegration } from "@app/hooks/api";
export default function NetlifyOAuth2CallbackPage() {
const router = useRouter();
diff --git a/frontend/src/pages/integrations/northflank/authorize.tsx b/frontend/src/pages/integrations/northflank/authorize.tsx
index e34ccc0645..b662ad3289 100644
--- a/frontend/src/pages/integrations/northflank/authorize.tsx
+++ b/frontend/src/pages/integrations/northflank/authorize.tsx
@@ -1,9 +1,7 @@
import { useState } from "react";
import { useRouter } from "next/router";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
diff --git a/frontend/src/pages/integrations/northflank/create.tsx b/frontend/src/pages/integrations/northflank/create.tsx
index b2dc4ef250..388bca6b58 100644
--- a/frontend/src/pages/integrations/northflank/create.tsx
+++ b/frontend/src/pages/integrations/northflank/create.tsx
@@ -2,9 +2,7 @@ import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -44,7 +42,7 @@ export default function NorthflankCreateIntegrationPage() {
integrationAuthId: (integrationAuthId as string) ?? "",
appId: targetAppId
});
-
+
useEffect(() => {
if (workspace) {
setSelectedSourceEnvironment(workspace.environments[0].slug);
@@ -62,7 +60,7 @@ export default function NorthflankCreateIntegrationPage() {
}
}
}, [integrationAuthApps]);
-
+
useEffect(() => {
if (integrationAuthSecretGroups) {
if (integrationAuthSecretGroups.length > 0) {
@@ -73,9 +71,8 @@ export default function NorthflankCreateIntegrationPage() {
setTargetSecretGroupId("none");
}
}
-
}, [integrationAuthSecretGroups]);
-
+
const handleButtonClick = async () => {
try {
if (!integrationAuth?.id) return;
@@ -85,7 +82,9 @@ export default function NorthflankCreateIntegrationPage() {
await mutateAsync({
integrationAuthId: integrationAuth?.id,
isActive: true,
- app: integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.appId === targetAppId)?.name,
+ app: integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.appId === targetAppId
+ )?.name,
appId: targetAppId,
sourceEnvironment: selectedSourceEnvironment,
targetServiceId: targetSecretGroupId,
@@ -99,7 +98,7 @@ export default function NorthflankCreateIntegrationPage() {
console.error(err);
}
};
-
+
return integrationAuth &&
workspace &&
selectedSourceEnvironment &&
diff --git a/frontend/src/pages/integrations/qovery/authorize.tsx b/frontend/src/pages/integrations/qovery/authorize.tsx
index e49e0774ac..8927491326 100644
--- a/frontend/src/pages/integrations/qovery/authorize.tsx
+++ b/frontend/src/pages/integrations/qovery/authorize.tsx
@@ -6,9 +6,7 @@ import { useRouter } from "next/router";
import { faArrowUpRightFromSquare, faBookOpen } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
@@ -48,11 +46,11 @@ export default function QoveryCreateIntegrationPage() {
<div className="flex h-full w-full items-center justify-center">
<Head>
<title>Authorize Qovery Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- <Card className="max-w-lg rounded-md border border-mineshaft-600 mb-12">
- <CardTitle
- className="text-left px-6 text-xl"
+ <Card className="mb-12 max-w-lg rounded-md border border-mineshaft-600">
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="After adding your API key, you will be prompted to set up an integration for a particular Infisical project and environment."
>
<div className="flex flex-row items-center">
@@ -67,10 +65,13 @@ export default function QoveryCreateIntegrationPage() {
<span className="ml-2.5">Qovery Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/qovery" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
diff --git a/frontend/src/pages/integrations/qovery/create.tsx b/frontend/src/pages/integrations/qovery/create.tsx
index 0a7fa8cabb..b1568d38e0 100644
--- a/frontend/src/pages/integrations/qovery/create.tsx
+++ b/frontend/src/pages/integrations/qovery/create.tsx
@@ -21,14 +21,12 @@ import {
TabPanel,
Tabs
} from "@app/components/v2";
+import { useCreateIntegration } from "@app/hooks/api";
import {
- useCreateIntegration
-} from "@app/hooks/api";
-import {
- useGetIntegrationAuthQoveryEnvironments,
- useGetIntegrationAuthQoveryOrgs,
- useGetIntegrationAuthQoveryProjects,
- useGetIntegrationAuthQoveryScopes
+ useGetIntegrationAuthQoveryEnvironments,
+ useGetIntegrationAuthQoveryOrgs,
+ useGetIntegrationAuthQoveryProjects,
+ useGetIntegrationAuthQoveryScopes
} from "@app/hooks/api/integrationAuth/queries";
import { useGetIntegrationAuthById } from "../../../hooks/api/integrationAuth";
@@ -52,7 +50,7 @@ enum TabSections {
* -> Get projects belonging to the organization - select project
* -> Get environments belonging to the project - select environmnet
* -> Get qovery scopes / application (this is the application to sync to)
- *
+ *
* Do we even need to get organizations?
*/
@@ -69,9 +67,11 @@ export default function QoveryCreateIntegrationPage() {
const [selectedSourceEnvironment, setSelectedSourceEnvironment] = useState("");
const [secretPath, setSecretPath] = useState("/");
- const { data: integrationAuthOrgs } = useGetIntegrationAuthQoveryOrgs((integrationAuthId as string) ?? "");
+ const { data: integrationAuthOrgs } = useGetIntegrationAuthQoveryOrgs(
+ (integrationAuthId as string) ?? ""
+ );
const [targetOrgId, setTargetOrgId] = useState("");
-
+
const { data: integrationAuthProjects } = useGetIntegrationAuthQoveryProjects({
integrationAuthId: (integrationAuthId as string) ?? "",
orgId: targetOrgId
@@ -84,11 +84,12 @@ export default function QoveryCreateIntegrationPage() {
});
const [targetEnvironmentId, setTargetEnvironmentId] = useState("");
- const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = useGetIntegrationAuthQoveryScopes({
- integrationAuthId: (integrationAuthId as string) ?? "",
- environmentId: targetEnvironmentId,
- scope: (scope as ("job" | "application" | "container"))
- });
+ const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } =
+ useGetIntegrationAuthQoveryScopes({
+ integrationAuthId: (integrationAuthId as string) ?? "",
+ environmentId: targetEnvironmentId,
+ scope: scope as "job" | "application" | "container"
+ });
const [targetAppId, setTargetAppId] = useState("");
const [isLoading, setIsLoading] = useState(false);
@@ -145,10 +146,19 @@ export default function QoveryCreateIntegrationPage() {
setIsLoading(true);
- const targetOrg = integrationAuthOrgs?.find((integrationAuthOrg) => integrationAuthOrg.orgId === targetOrgId)?.name;
- const targetProject = integrationAuthProjects?.find((integrationAuthProject) => integrationAuthProject.projectId === targetProjectId)?.name;
- const targetEnvironment = integrationAuthEnvironments?.find((integrationAuthEnvironment) => integrationAuthEnvironment.environmentId === targetEnvironmentId)?.name;
- const targetApp = integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.appId === targetAppId)?.name;
+ const targetOrg = integrationAuthOrgs?.find(
+ (integrationAuthOrg) => integrationAuthOrg.orgId === targetOrgId
+ )?.name;
+ const targetProject = integrationAuthProjects?.find(
+ (integrationAuthProject) => integrationAuthProject.projectId === targetProjectId
+ )?.name;
+ const targetEnvironment = integrationAuthEnvironments?.find(
+ (integrationAuthEnvironment) =>
+ integrationAuthEnvironment.environmentId === targetEnvironmentId
+ )?.name;
+ const targetApp = integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.appId === targetAppId
+ )?.name;
await mutateAsync({
integrationAuthId: integrationAuth?.id,
@@ -172,18 +182,16 @@ export default function QoveryCreateIntegrationPage() {
console.error(err);
}
};
-
- return integrationAuth &&
- workspace &&
- selectedSourceEnvironment ? (
- <div className="flex flex-col h-full w-full items-center justify-center bg-gradient-to-tr from-mineshaft-900 to-bunker-900">
+
+ return integrationAuth && workspace && selectedSourceEnvironment ? (
+ <div className="flex h-full w-full flex-col items-center justify-center bg-gradient-to-tr from-mineshaft-900 to-bunker-900">
<Head>
<title>Set Up Qovery Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
<Card className="max-w-lg rounded-md border border-mineshaft-600 p-0">
- <CardTitle
- className="text-left px-6 text-xl"
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Choose which environment in Infisical you want to sync to Checkly environment variables."
>
<div className="flex flex-row items-center">
@@ -198,10 +206,13 @@ export default function QoveryCreateIntegrationPage() {
<span className="ml-2.5">Qovery Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/qovery" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -209,7 +220,7 @@ export default function QoveryCreateIntegrationPage() {
</CardTitle>
<Tabs defaultValue={TabSections.InfisicalSettings} className="px-6">
<TabList>
- <div className="flex flex-row border-b border-mineshaft-600 w-full">
+ <div className="flex w-full flex-row border-b border-mineshaft-600">
<Tab value={TabSections.InfisicalSettings}>Infisical Settings</Tab>
<Tab value={TabSections.QoverySettings}>Qovery Settings</Tab>
</div>
@@ -262,107 +273,112 @@ export default function QoveryCreateIntegrationPage() {
className="w-full border border-mineshaft-500"
>
{qoveryScopes.map((qoveryScope) => (
- <SelectItem
- value={qoveryScope.value}
- key={`target-app-${qoveryScope.value}`}
- >
+ <SelectItem value={qoveryScope.value} key={`target-app-${qoveryScope.value}`}>
{qoveryScope.label}
</SelectItem>
))}
</Select>
</FormControl>
- {integrationAuthOrgs && <FormControl label="Qovery Organization">
- <Select
- value={targetOrgId}
- onValueChange={(val) => setTargetOrgId(val)}
- className="w-full border border-mineshaft-500"
- isDisabled={integrationAuthOrgs.length === 0}
- >
- {integrationAuthOrgs.length > 0 ? (
- integrationAuthOrgs.map((integrationAuthOrg) => (
- <SelectItem
- value={integrationAuthOrg.orgId}
- key={`target-app-${integrationAuthOrg.orgId}`}
- >
- {integrationAuthOrg.name}
+ {integrationAuthOrgs && (
+ <FormControl label="Qovery Organization">
+ <Select
+ value={targetOrgId}
+ onValueChange={(val) => setTargetOrgId(val)}
+ className="w-full border border-mineshaft-500"
+ isDisabled={integrationAuthOrgs.length === 0}
+ >
+ {integrationAuthOrgs.length > 0 ? (
+ integrationAuthOrgs.map((integrationAuthOrg) => (
+ <SelectItem
+ value={integrationAuthOrg.orgId}
+ key={`target-app-${integrationAuthOrg.orgId}`}
+ >
+ {integrationAuthOrg.name}
+ </SelectItem>
+ ))
+ ) : (
+ <SelectItem value="none" key="target-app-none">
+ No organizaztions found
</SelectItem>
- ))
- ) : (
- <SelectItem value="none" key="target-app-none">
- No organizaztions found
- </SelectItem>
- )}
- </Select>
- </FormControl>}
- {integrationAuthProjects && <FormControl label="Qovery Project">
- <Select
- value={targetProjectId}
- onValueChange={(val) => setTargetProjectId(val)}
- className="w-full border border-mineshaft-500"
- isDisabled={integrationAuthProjects.length === 0}
- >
- {integrationAuthProjects.length > 0 ? (
- integrationAuthProjects.map((integrationAuthProject) => (
- <SelectItem
- value={integrationAuthProject.projectId}
- key={`target-app-${integrationAuthProject.projectId}`}
- >
- {integrationAuthProject.name}
+ )}
+ </Select>
+ </FormControl>
+ )}
+ {integrationAuthProjects && (
+ <FormControl label="Qovery Project">
+ <Select
+ value={targetProjectId}
+ onValueChange={(val) => setTargetProjectId(val)}
+ className="w-full border border-mineshaft-500"
+ isDisabled={integrationAuthProjects.length === 0}
+ >
+ {integrationAuthProjects.length > 0 ? (
+ integrationAuthProjects.map((integrationAuthProject) => (
+ <SelectItem
+ value={integrationAuthProject.projectId}
+ key={`target-app-${integrationAuthProject.projectId}`}
+ >
+ {integrationAuthProject.name}
+ </SelectItem>
+ ))
+ ) : (
+ <SelectItem value="none" key="target-app-none">
+ No projects found
</SelectItem>
- ))
- ) : (
- <SelectItem value="none" key="target-app-none">
- No projects found
- </SelectItem>
- )}
- </Select>
- </FormControl>}
- {integrationAuthEnvironments && <FormControl label="Qovery Environment">
- <Select
- value={targetEnvironmentId}
- onValueChange={(val) => setTargetEnvironmentId(val)}
- className="w-full border border-mineshaft-500"
- isDisabled={integrationAuthEnvironments.length === 0}
- >
- {integrationAuthEnvironments.length > 0 ? (
- integrationAuthEnvironments.map((integrationAuthEnvironment) => (
- <SelectItem
- value={integrationAuthEnvironment.environmentId}
- key={`target-app-${integrationAuthEnvironment.environmentId}`}
- >
- {integrationAuthEnvironment.name}
+ )}
+ </Select>
+ </FormControl>
+ )}
+ {integrationAuthEnvironments && (
+ <FormControl label="Qovery Environment">
+ <Select
+ value={targetEnvironmentId}
+ onValueChange={(val) => setTargetEnvironmentId(val)}
+ className="w-full border border-mineshaft-500"
+ isDisabled={integrationAuthEnvironments.length === 0}
+ >
+ {integrationAuthEnvironments.length > 0 ? (
+ integrationAuthEnvironments.map((integrationAuthEnvironment) => (
+ <SelectItem
+ value={integrationAuthEnvironment.environmentId}
+ key={`target-app-${integrationAuthEnvironment.environmentId}`}
+ >
+ {integrationAuthEnvironment.name}
+ </SelectItem>
+ ))
+ ) : (
+ <SelectItem value="none" key="target-app-none">
+ No environments found
</SelectItem>
- ))
- ) : (
- <SelectItem value="none" key="target-app-none">
- No environments found
- </SelectItem>
- )}
- </Select>
- </FormControl>}
- {(scope && integrationAuthApps) && <FormControl label={`Qovery ${scope.charAt(0).toUpperCase() + scope.slice(1)}`}>
- <Select
- value={targetAppId}
- onValueChange={(val) => setTargetAppId(val)}
- className="w-full border border-mineshaft-500"
- isDisabled={integrationAuthApps.length === 0}
- >
- {integrationAuthApps.length > 0 ? (
- integrationAuthApps.map((integrationAuthApp) => (
- <SelectItem
- value={(integrationAuthApp.appId as string)}
- key={`target-app-${integrationAuthApp.appId}`}
- >
- {integrationAuthApp.name}
+ )}
+ </Select>
+ </FormControl>
+ )}
+ {scope && integrationAuthApps && (
+ <FormControl label={`Qovery ${scope.charAt(0).toUpperCase() + scope.slice(1)}`}>
+ <Select
+ value={targetAppId}
+ onValueChange={(val) => setTargetAppId(val)}
+ className="w-full border border-mineshaft-500"
+ isDisabled={integrationAuthApps.length === 0}
+ >
+ {integrationAuthApps.length > 0 ? (
+ integrationAuthApps.map((integrationAuthApp) => (
+ <SelectItem
+ value={integrationAuthApp.appId as string}
+ key={`target-app-${integrationAuthApp.appId}`}
+ >
+ {integrationAuthApp.name}
+ </SelectItem>
+ ))
+ ) : (
+ <SelectItem value="none" key="target-app-none">
+ No {scope}s found
</SelectItem>
- ))
- ) : (
- <SelectItem value="none" key="target-app-none">
- No {scope}s found
- </SelectItem>
- )}
- </Select>
- </FormControl>}
+ )}
+ </Select>
+ </FormControl>
+ )}
</motion.div>
</TabPanel>
</Tabs>
@@ -384,24 +400,35 @@ export default function QoveryCreateIntegrationPage() {
</div> */}
</div>
) : (
- <div className="flex justify-center items-center w-full h-full">
+ <div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up Qovery Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- {isIntegrationAuthAppsLoading ? <img src="/images/loading/loading.gif" height={70} width={120} alt="infisical loading indicator" /> : <div className="max-w-md h-max p-6 border border-mineshaft-600 rounded-md bg-mineshaft-800 text-mineshaft-200 flex flex-col text-center">
- <FontAwesomeIcon icon={faBugs} className="text-6xl my-2 inlineli"/>
- <p>
- Something went wrong. Please contact <a
- className="inline underline underline-offset-4 decoration-primary-500 opacity-80 hover:opacity-100 text-mineshaft-100 duration-200 cursor-pointer"
- target="_blank"
- rel="noopener noreferrer"
- href="mailto:[email protected]"
- >
- </a> if the issue persists.
- </p>
- </div>}
+ {isIntegrationAuthAppsLoading ? (
+ <img
+ src="/images/loading/loading.gif"
+ height={70}
+ width={120}
+ alt="infisical loading indicator"
+ />
+ ) : (
+ <div className="flex h-max max-w-md flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6 text-center text-mineshaft-200">
+ <FontAwesomeIcon icon={faBugs} className="inlineli my-2 text-6xl" />
+ <p>
+ Something went wrong. Please contact{" "}
+ <a
+ className="inline cursor-pointer text-mineshaft-100 underline decoration-primary-500 underline-offset-4 opacity-80 duration-200 hover:opacity-100"
+ target="_blank"
+ rel="noopener noreferrer"
+ href="mailto:[email protected]"
+ >
+ </a>{" "}
+ if the issue persists.
+ </p>
+ </div>
+ )}
</div>
);
}
diff --git a/frontend/src/pages/integrations/railway/authorize.tsx b/frontend/src/pages/integrations/railway/authorize.tsx
index 39549c084a..78d5aa3d2f 100644
--- a/frontend/src/pages/integrations/railway/authorize.tsx
+++ b/frontend/src/pages/integrations/railway/authorize.tsx
@@ -1,9 +1,7 @@
import { useState } from "react";
import { useRouter } from "next/router";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
diff --git a/frontend/src/pages/integrations/railway/create.tsx b/frontend/src/pages/integrations/railway/create.tsx
index 3cc46dc283..2f715be4b6 100644
--- a/frontend/src/pages/integrations/railway/create.tsx
+++ b/frontend/src/pages/integrations/railway/create.tsx
@@ -2,9 +2,7 @@ import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
diff --git a/frontend/src/pages/integrations/render/authorize.tsx b/frontend/src/pages/integrations/render/authorize.tsx
index 2bb7dff7cc..6337b0d48c 100644
--- a/frontend/src/pages/integrations/render/authorize.tsx
+++ b/frontend/src/pages/integrations/render/authorize.tsx
@@ -6,7 +6,7 @@ import { useRouter } from "next/router";
import { faArrowUpRightFromSquare, faBookOpen } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import { useSaveIntegrationAccessToken} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
@@ -46,11 +46,11 @@ export default function RenderCreateIntegrationPage() {
<div className="flex h-full w-full items-center justify-center">
<Head>
<title>Authorize Render Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- <Card className="max-w-lg rounded-md border border-mineshaft-600 mb-12">
- <CardTitle
- className="text-left px-6 text-xl"
+ <Card className="mb-12 max-w-lg rounded-md border border-mineshaft-600">
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="After adding your API key, you will be prompted to set up an integration for a particular Infisical project and environment."
>
<div className="flex flex-row items-center">
@@ -65,10 +65,13 @@ export default function RenderCreateIntegrationPage() {
<span className="ml-2.5">Render Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/render" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
diff --git a/frontend/src/pages/integrations/render/create.tsx b/frontend/src/pages/integrations/render/create.tsx
index 82358544fa..a6342edd20 100644
--- a/frontend/src/pages/integrations/render/create.tsx
+++ b/frontend/src/pages/integrations/render/create.tsx
@@ -3,13 +3,16 @@ import Head from "next/head";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/router";
-import { faArrowUpRightFromSquare, faBookOpen, faBugs, faCircleInfo } from "@fortawesome/free-solid-svg-icons";
+import {
+ faArrowUpRightFromSquare,
+ faBookOpen,
+ faBugs,
+ faCircleInfo
+} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -33,10 +36,13 @@ export default function RenderCreateIntegrationPage() {
const { integrationAuthId } = queryString.parse(router.asPath.split("?")[1]);
const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
- const { data: integrationAuth, isLoading: isIntegrationAuthLoading } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
- const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({
- integrationAuthId: (integrationAuthId as string) ?? ""
- });
+ const { data: integrationAuth, isLoading: isIntegrationAuthLoading } = useGetIntegrationAuthById(
+ (integrationAuthId as string) ?? ""
+ );
+ const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } =
+ useGetIntegrationAuthApps({
+ integrationAuthId: (integrationAuthId as string) ?? ""
+ });
const [selectedSourceEnvironment, setSelectedSourceEnvironment] = useState("");
const [targetApp, setTargetApp] = useState("");
@@ -69,7 +75,9 @@ export default function RenderCreateIntegrationPage() {
integrationAuthId: integrationAuth?.id,
isActive: true,
app: targetApp,
- appId: integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp)?.appId,
+ appId: integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.name === targetApp
+ )?.appId,
sourceEnvironment: selectedSourceEnvironment,
secretPath
});
@@ -87,14 +95,14 @@ export default function RenderCreateIntegrationPage() {
selectedSourceEnvironment &&
integrationAuthApps &&
targetApp ? (
- <div className="flex flex-col h-full w-full items-center justify-center">
+ <div className="flex h-full w-full flex-col items-center justify-center">
<Head>
<title>Set Up Render Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
<Card className="max-w-lg rounded-md border border-mineshaft-600">
- <CardTitle
- className="text-left px-6 text-xl"
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Choose which environment or folder in Infisical you want to sync to Render environment variables."
>
<div className="flex flex-row items-center">
@@ -109,10 +117,13 @@ export default function RenderCreateIntegrationPage() {
<span className="ml-2.5">Render Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/render" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -175,31 +186,48 @@ export default function RenderCreateIntegrationPage() {
Create Integration
</Button>
</Card>
- <div className="border-t border-mineshaft-800 w-full max-w-md mt-6"/>
- <div className="flex flex-col bg-mineshaft-800 border border-mineshaft-600 w-full p-4 max-w-lg mt-6 rounded-md">
- <div className="flex flex-row items-center"><FontAwesomeIcon icon={faCircleInfo} className="text-mineshaft-200 text-xl"/> <span className="ml-3 text-md text-mineshaft-100">Pro Tips</span></div>
- <span className="text-mineshaft-300 text-sm mt-4">After creating an integration, your secrets will start syncing immediately. This might cause an unexpected override of current secrets in Render with secrets from Infisical.</span>
+ <div className="mt-6 w-full max-w-md border-t border-mineshaft-800" />
+ <div className="mt-6 flex w-full max-w-lg flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4">
+ <div className="flex flex-row items-center">
+ <FontAwesomeIcon icon={faCircleInfo} className="text-xl text-mineshaft-200" />{" "}
+ <span className="text-md ml-3 text-mineshaft-100">Pro Tips</span>
+ </div>
+ <span className="mt-4 text-sm text-mineshaft-300">
+ After creating an integration, your secrets will start syncing immediately. This might
+ cause an unexpected override of current secrets in Render with secrets from Infisical.
+ </span>
</div>
</div>
) : (
- <div className="flex justify-center items-center w-full h-full">
+ <div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up Render Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- {isIntegrationAuthLoading || isIntegrationAuthAppsLoading ? <img src="/images/loading/loading.gif" height={70} width={120} alt="infisical loading indicator" /> : <div className="max-w-md h-max p-6 border border-mineshaft-600 rounded-md bg-mineshaft-800 text-mineshaft-200 flex flex-col text-center">
- <FontAwesomeIcon icon={faBugs} className="text-6xl my-2 inlineli"/>
- <p>
- Something went wrong. Please contact <a
- className="inline underline underline-offset-4 decoration-primary-500 opacity-80 hover:opacity-100 text-mineshaft-100 duration-200 cursor-pointer"
- target="_blank"
- rel="noopener noreferrer"
- href="mailto:[email protected]"
- >
- </a> if the issue persists.
- </p>
- </div>}
+ {isIntegrationAuthLoading || isIntegrationAuthAppsLoading ? (
+ <img
+ src="/images/loading/loading.gif"
+ height={70}
+ width={120}
+ alt="infisical loading indicator"
+ />
+ ) : (
+ <div className="flex h-max max-w-md flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6 text-center text-mineshaft-200">
+ <FontAwesomeIcon icon={faBugs} className="inlineli my-2 text-6xl" />
+ <p>
+ Something went wrong. Please contact{" "}
+ <a
+ className="inline cursor-pointer text-mineshaft-100 underline decoration-primary-500 underline-offset-4 opacity-80 duration-200 hover:opacity-100"
+ target="_blank"
+ rel="noopener noreferrer"
+ href="mailto:[email protected]"
+ >
+ </a>{" "}
+ if the issue persists.
+ </p>
+ </div>
+ )}
</div>
);
}
diff --git a/frontend/src/pages/integrations/supabase/authorize.tsx b/frontend/src/pages/integrations/supabase/authorize.tsx
index 5af9b36846..9e860ee206 100644
--- a/frontend/src/pages/integrations/supabase/authorize.tsx
+++ b/frontend/src/pages/integrations/supabase/authorize.tsx
@@ -1,9 +1,7 @@
import { useState } from "react";
import { useRouter } from "next/router";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
diff --git a/frontend/src/pages/integrations/supabase/create.tsx b/frontend/src/pages/integrations/supabase/create.tsx
index e238f47259..1504c4d5b2 100644
--- a/frontend/src/pages/integrations/supabase/create.tsx
+++ b/frontend/src/pages/integrations/supabase/create.tsx
@@ -2,9 +2,7 @@ import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -65,7 +63,9 @@ export default function SupabaseCreateIntegrationPage() {
integrationAuthId: integrationAuth?.id,
isActive: true,
app: targetApp,
- appId: integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp)?.appId,
+ appId: integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.name === targetApp
+ )?.appId,
sourceEnvironment: selectedSourceEnvironment,
secretPath
});
diff --git a/frontend/src/pages/integrations/teamcity/authorize.tsx b/frontend/src/pages/integrations/teamcity/authorize.tsx
index 6f29641fc0..e28b5be76e 100644
--- a/frontend/src/pages/integrations/teamcity/authorize.tsx
+++ b/frontend/src/pages/integrations/teamcity/authorize.tsx
@@ -6,9 +6,7 @@ import { useRouter } from "next/router";
import { faArrowUpRightFromSquare, faBookOpen } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
@@ -43,7 +41,7 @@ export default function TeamCityCreateIntegrationPage() {
workspaceId: localStorage.getItem("projectData.id"),
integration: "teamcity",
accessToken: apiKey,
- url: serverUrl,
+ url: serverUrl
});
setIsLoading(false);
@@ -58,11 +56,11 @@ export default function TeamCityCreateIntegrationPage() {
<div className="flex h-full w-full items-center justify-center">
<Head>
<title>Authorize TeamCity Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- <Card className="max-w-lg rounded-md border border-mineshaft-600 mb-12">
- <CardTitle
- className="text-left px-6 text-xl"
+ <Card className="mb-12 max-w-lg rounded-md border border-mineshaft-600">
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="After adding the details below, you will be prompted to set up an integration for a particular Infisical project and environment."
>
<div className="flex flex-row items-center">
@@ -77,10 +75,13 @@ export default function TeamCityCreateIntegrationPage() {
<span className="ml-2">TeamCity Integration</span>
<Link href="https://infisical.com/docs/integrations/cloud/teamcity" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
diff --git a/frontend/src/pages/integrations/teamcity/create.tsx b/frontend/src/pages/integrations/teamcity/create.tsx
index 4dde4a7f15..c1b10c33f2 100644
--- a/frontend/src/pages/integrations/teamcity/create.tsx
+++ b/frontend/src/pages/integrations/teamcity/create.tsx
@@ -7,9 +7,7 @@ import { faArrowUpRightFromSquare, faBookOpen, faBugs } from "@fortawesome/free-
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -30,7 +28,7 @@ import { useGetWorkspaceById } from "../../../hooks/api/workspace";
export default function TeamCityCreateIntegrationPage() {
const router = useRouter();
const { mutateAsync } = useCreateIntegration();
-
+
const [selectedSourceEnvironment, setSelectedSourceEnvironment] = useState("");
const [targetAppId, setTargetAppId] = useState("");
const [targetBuildConfigId, setTargetBuildConfigId] = useState<string>("");
@@ -40,16 +38,19 @@ export default function TeamCityCreateIntegrationPage() {
const { integrationAuthId } = queryString.parse(router.asPath.split("?")[1]);
const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
- const { data: integrationAuth, isLoading: isIntegrationAuthLoading } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
- const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({
- integrationAuthId: (integrationAuthId as string) ?? ""
- });
-
+ const { data: integrationAuth, isLoading: isIntegrationAuthLoading } = useGetIntegrationAuthById(
+ (integrationAuthId as string) ?? ""
+ );
+ const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } =
+ useGetIntegrationAuthApps({
+ integrationAuthId: (integrationAuthId as string) ?? ""
+ });
+
const { data: targetBuildConfigs } = useGetIntegrationAuthTeamCityBuildConfigs({
integrationAuthId: (integrationAuthId as string) ?? "",
appId: targetAppId
});
-
+
useEffect(() => {
if (workspace) {
setSelectedSourceEnvironment(workspace.environments[0].slug);
@@ -65,21 +66,23 @@ export default function TeamCityCreateIntegrationPage() {
}
}
}, [integrationAuthApps]);
-
+
const handleButtonClick = async () => {
try {
if (!integrationAuth?.id) return;
setIsLoading(true);
-
+
const targetEnvironment = targetBuildConfigs?.find(
(buildConfig) => buildConfig.buildConfigId === targetBuildConfigId
);
-
+
await mutateAsync({
integrationAuthId: integrationAuth?.id,
isActive: true,
- app: integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.appId === targetAppId)?.name,
+ app: integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.appId === targetAppId
+ )?.name,
appId: targetAppId,
sourceEnvironment: selectedSourceEnvironment,
targetEnvironment: targetEnvironment?.name,
@@ -109,11 +112,11 @@ export default function TeamCityCreateIntegrationPage() {
<div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up TeamCity Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- <Card className="max-w-lg rounded-md border border-mineshaft-600 mb-12">
- <CardTitle
- className="text-left px-6 text-xl"
+ <Card className="mb-12 max-w-lg rounded-md border border-mineshaft-600">
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Choose which environment or folders in Infisical you want to sync to which project in TeamCity."
>
<div className="flex flex-row items-center">
@@ -128,10 +131,13 @@ export default function TeamCityCreateIntegrationPage() {
<span className="ml-2">TeamCity Integration</span>
<Link href="https://infisical.com/docs/integrations/cloud/teamcity" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -183,7 +189,7 @@ export default function TeamCityCreateIntegrationPage() {
)}
</Select>
</FormControl>
- <FormControl label="Team City Build Config (Optional)" className="px-6">
+ <FormControl label="Team City Build Config (Optional)" className="px-6">
<Select
value={targetBuildConfigId}
onValueChange={(val) => setTargetBuildConfigId(val)}
@@ -212,24 +218,35 @@ export default function TeamCityCreateIntegrationPage() {
</Card>
</div>
) : (
- <div className="flex justify-center items-center w-full h-full">
+ <div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up TeamCity Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- {isIntegrationAuthLoading || isIntegrationAuthAppsLoading ? <img src="/images/loading/loading.gif" height={70} width={120} alt="infisical loading indicator" /> : <div className="max-w-md h-max p-6 border border-mineshaft-600 rounded-md bg-mineshaft-800 text-mineshaft-200 flex flex-col text-center">
- <FontAwesomeIcon icon={faBugs} className="text-6xl my-2 inlineli"/>
- <p>
- Something went wrong. Please contact <a
- className="inline underline underline-offset-4 decoration-primary-500 opacity-80 hover:opacity-100 text-mineshaft-100 duration-200 cursor-pointer"
- target="_blank"
- rel="noopener noreferrer"
- href="mailto:[email protected]"
- >
- </a> if the issue persists.
- </p>
- </div>}
+ {isIntegrationAuthLoading || isIntegrationAuthAppsLoading ? (
+ <img
+ src="/images/loading/loading.gif"
+ height={70}
+ width={120}
+ alt="infisical loading indicator"
+ />
+ ) : (
+ <div className="flex h-max max-w-md flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6 text-center text-mineshaft-200">
+ <FontAwesomeIcon icon={faBugs} className="inlineli my-2 text-6xl" />
+ <p>
+ Something went wrong. Please contact{" "}
+ <a
+ className="inline cursor-pointer text-mineshaft-100 underline decoration-primary-500 underline-offset-4 opacity-80 duration-200 hover:opacity-100"
+ target="_blank"
+ rel="noopener noreferrer"
+ href="mailto:[email protected]"
+ >
+ </a>{" "}
+ if the issue persists.
+ </p>
+ </div>
+ )}
</div>
);
}
diff --git a/frontend/src/pages/integrations/terraform-cloud/authorize.tsx b/frontend/src/pages/integrations/terraform-cloud/authorize.tsx
index d5282ab182..8c9152ed36 100644
--- a/frontend/src/pages/integrations/terraform-cloud/authorize.tsx
+++ b/frontend/src/pages/integrations/terraform-cloud/authorize.tsx
@@ -1,9 +1,7 @@
import { useState } from "react";
import { useRouter } from "next/router";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
@@ -26,7 +24,7 @@ export default function TerraformCloudCreateIntegrationPage() {
setApiKeyErrorText("API Token cannot be blank");
return;
}
-
+
if (workspacesId.length === 0) {
setWorkspacesIdErrorText("Workspace Id cannot be blank");
return;
@@ -58,14 +56,22 @@ export default function TerraformCloudCreateIntegrationPage() {
errorText={apiKeyErrorText}
isError={apiKeyErrorText !== "" ?? false}
>
- <Input placeholder="API Token" value={apiKey} onChange={(e) => setApiKey(e.target.value)} />
+ <Input
+ placeholder="API Token"
+ value={apiKey}
+ onChange={(e) => setApiKey(e.target.value)}
+ />
</FormControl>
<FormControl
label="Terraform Cloud Workspace ID"
errorText={workspacesIdErrorText}
isError={workspacesIdErrorText !== "" ?? false}
>
- <Input placeholder="Workspace Id" value={workspacesId} onChange={(e) => setWorkSpacesId(e.target.value)} />
+ <Input
+ placeholder="Workspace Id"
+ value={workspacesId}
+ onChange={(e) => setWorkSpacesId(e.target.value)}
+ />
</FormControl>
<Button
onClick={handleButtonClick}
diff --git a/frontend/src/pages/integrations/terraform-cloud/create.tsx b/frontend/src/pages/integrations/terraform-cloud/create.tsx
index f86274e57e..3e9812ad0e 100644
--- a/frontend/src/pages/integrations/terraform-cloud/create.tsx
+++ b/frontend/src/pages/integrations/terraform-cloud/create.tsx
@@ -19,10 +19,7 @@ import {
} from "../../../hooks/api/integrationAuth";
import { useGetWorkspaceById } from "../../../hooks/api/workspace";
-const variableTypes = [
- { name: "env" },
- { name: "terraform" }
-];
+const variableTypes = [{ name: "env" }, { name: "terraform" }];
export default function TerraformCloudCreateIntegrationPage() {
const router = useRouter();
@@ -65,9 +62,9 @@ export default function TerraformCloudCreateIntegrationPage() {
if (!integrationAuth?.id) return;
setVariableTypeErrorText("");
- if (variableType.length === 0 ) {
- setVariableTypeErrorText("Variable Type cannot be blank!")
- return;
+ if (variableType.length === 0) {
+ setVariableTypeErrorText("Variable Type cannot be blank!");
+ return;
}
setIsLoading(true);
@@ -76,7 +73,9 @@ export default function TerraformCloudCreateIntegrationPage() {
integrationAuthId: integrationAuth?.id,
isActive: true,
app: targetApp,
- appId: integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp)?.appId,
+ appId: integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.name === targetApp
+ )?.appId,
sourceEnvironment: selectedSourceEnvironment,
targetService: variableType,
secretPath
@@ -90,7 +89,6 @@ export default function TerraformCloudCreateIntegrationPage() {
}
};
-
return integrationAuth &&
workspace &&
selectedSourceEnvironment &&
@@ -122,23 +120,22 @@ export default function TerraformCloudCreateIntegrationPage() {
placeholder="Provide a path, default is /"
/>
</FormControl>
- <FormControl label="Category" className="mt-4" errorText={variableTypeErrorText}
- isError={variableTypeErrorText !== "" ?? false}>
+ <FormControl
+ label="Category"
+ className="mt-4"
+ errorText={variableTypeErrorText}
+ isError={variableTypeErrorText !== "" ?? false}
+ >
<Select
value={variableType}
onValueChange={(val) => setVariableType(val)}
className="w-full border border-mineshaft-500"
>
- {
- variableTypes.map((variable) => (
- <SelectItem
- value={variable.name}
- key={`target-app-${variable.name}`}
- >
- {variable.name}
- </SelectItem>
- ))
- }
+ {variableTypes.map((variable) => (
+ <SelectItem value={variable.name} key={`target-app-${variable.name}`}>
+ {variable.name}
+ </SelectItem>
+ ))}
</Select>
</FormControl>
<FormControl label="Terraform Cloud Project" className="mt-4">
diff --git a/frontend/src/pages/integrations/travisci/authorize.tsx b/frontend/src/pages/integrations/travisci/authorize.tsx
index 6fddcb5ca6..5f46fbca53 100644
--- a/frontend/src/pages/integrations/travisci/authorize.tsx
+++ b/frontend/src/pages/integrations/travisci/authorize.tsx
@@ -1,9 +1,7 @@
import { useState } from "react";
import { useRouter } from "next/router";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
diff --git a/frontend/src/pages/integrations/travisci/create.tsx b/frontend/src/pages/integrations/travisci/create.tsx
index 83cc242072..493dcdaeca 100644
--- a/frontend/src/pages/integrations/travisci/create.tsx
+++ b/frontend/src/pages/integrations/travisci/create.tsx
@@ -2,9 +2,7 @@ import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -64,7 +62,9 @@ export default function TravisCICreateIntegrationPage() {
integrationAuthId: integrationAuth?.id,
isActive: true,
app: targetApp,
- appId: integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp)?.appId,
+ appId: integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.name === targetApp
+ )?.appId,
sourceEnvironment: selectedSourceEnvironment,
secretPath
});
diff --git a/frontend/src/pages/integrations/vercel/create.tsx b/frontend/src/pages/integrations/vercel/create.tsx
index 494876a426..969317f340 100644
--- a/frontend/src/pages/integrations/vercel/create.tsx
+++ b/frontend/src/pages/integrations/vercel/create.tsx
@@ -3,13 +3,16 @@ import Head from "next/head";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/router";
-import { faArrowUpRightFromSquare, faBookOpen, faBugs, faCircleInfo } from "@fortawesome/free-solid-svg-icons";
+import {
+ faArrowUpRightFromSquare,
+ faBookOpen,
+ faBugs,
+ faCircleInfo
+} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -47,9 +50,10 @@ export default function VercelCreateIntegrationPage() {
const { integrationAuthId } = queryString.parse(router.asPath.split("?")[1]);
const { data: workspace } = useGetWorkspaceById(localStorage.getItem("projectData.id") ?? "");
const { data: integrationAuth } = useGetIntegrationAuthById((integrationAuthId as string) ?? "");
- const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } = useGetIntegrationAuthApps({
- integrationAuthId: (integrationAuthId as string) ?? ""
- });
+ const { data: integrationAuthApps, isLoading: isIntegrationAuthAppsLoading } =
+ useGetIntegrationAuthApps({
+ integrationAuthId: (integrationAuthId as string) ?? ""
+ });
const { data: branches } = useGetIntegrationAuthVercelBranches({
integrationAuthId: integrationAuthId as string,
@@ -88,7 +92,8 @@ export default function VercelCreateIntegrationPage() {
if (!targetApp || !targetApp.appId) return;
- const path = targetEnvironment === "preview" && targetBranch !== "" ? targetBranch : undefined;
+ const path =
+ targetEnvironment === "preview" && targetBranch !== "" ? targetBranch : undefined;
await mutateAsync({
integrationAuthId: integrationAuth?.id,
@@ -114,14 +119,14 @@ export default function VercelCreateIntegrationPage() {
integrationAuthApps &&
targetAppId &&
targetEnvironment ? (
- <div className="flex flex-col h-full w-full items-center justify-center">
+ <div className="flex h-full w-full flex-col items-center justify-center">
<Head>
<title>Set Up Vercel Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
<Card className="max-w-lg rounded-md border border-mineshaft-600 p-0">
- <CardTitle
- className="text-left px-6 text-xl"
+ <CardTitle
+ className="px-6 text-left text-xl"
subTitle="Select which environment or folder in Infisical you want to sync to Vercel's environment variables."
>
<div className="flex flex-row items-center">
@@ -136,10 +141,13 @@ export default function VercelCreateIntegrationPage() {
<span className="ml-2">Vercel Integration </span>
<Link href="https://infisical.com/docs/integrations/cloud/vercel" passHref>
<a target="_blank" rel="noopener noreferrer">
- <div className="ml-2 mb-1 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
- <FontAwesomeIcon icon={faBookOpen} className="mr-1.5"/>
+ <div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
+ <FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
Docs
- <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="ml-1.5 text-xxs mb-[0.07rem]"/>
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="ml-1.5 mb-[0.07rem] text-xxs"
+ />
</div>
</a>
</Link>
@@ -233,31 +241,48 @@ export default function VercelCreateIntegrationPage() {
Create Integration
</Button>
</Card>
- <div className="border-t border-mineshaft-800 w-full max-w-md mt-6"/>
- <div className="flex flex-col bg-mineshaft-800 border border-mineshaft-600 w-full p-4 max-w-lg mt-6 rounded-md">
- <div className="flex flex-row items-center"><FontAwesomeIcon icon={faCircleInfo} className="text-mineshaft-200 text-xl"/> <span className="ml-3 text-md text-mineshaft-100">Pro Tips</span></div>
- <span className="text-mineshaft-300 text-sm mt-4">After creating an integration, your secrets will start syncing immediately. This might cause an unexpected override of current secrets in Vercel with secrets from Infisical.</span>
+ <div className="mt-6 w-full max-w-md border-t border-mineshaft-800" />
+ <div className="mt-6 flex w-full max-w-lg flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4">
+ <div className="flex flex-row items-center">
+ <FontAwesomeIcon icon={faCircleInfo} className="text-xl text-mineshaft-200" />{" "}
+ <span className="text-md ml-3 text-mineshaft-100">Pro Tips</span>
+ </div>
+ <span className="mt-4 text-sm text-mineshaft-300">
+ After creating an integration, your secrets will start syncing immediately. This might
+ cause an unexpected override of current secrets in Vercel with secrets from Infisical.
+ </span>
</div>
</div>
) : (
- <div className="flex justify-center items-center w-full h-full">
+ <div className="flex h-full w-full items-center justify-center">
<Head>
<title>Set Up Vercel Integration</title>
- <link rel='icon' href='/infisical.ico' />
+ <link rel="icon" href="/infisical.ico" />
</Head>
- {isIntegrationAuthAppsLoading ? <img src="/images/loading/loading.gif" height={70} width={120} alt="infisical loading indicator" /> : <div className="max-w-md h-max p-6 border border-mineshaft-600 rounded-md bg-mineshaft-800 text-mineshaft-200 flex flex-col text-center">
- <FontAwesomeIcon icon={faBugs} className="text-6xl my-2 inlineli"/>
- <p>
- Something went wrong. Please contact <a
- className="inline underline underline-offset-4 decoration-primary-500 opacity-80 hover:opacity-100 text-mineshaft-100 duration-200 cursor-pointer"
- target="_blank"
- rel="noopener noreferrer"
- href="mailto:[email protected]"
- >
- </a> if the issue persists.
- </p>
- </div>}
+ {isIntegrationAuthAppsLoading ? (
+ <img
+ src="/images/loading/loading.gif"
+ height={70}
+ width={120}
+ alt="infisical loading indicator"
+ />
+ ) : (
+ <div className="flex h-max max-w-md flex-col rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6 text-center text-mineshaft-200">
+ <FontAwesomeIcon icon={faBugs} className="inlineli my-2 text-6xl" />
+ <p>
+ Something went wrong. Please contact{" "}
+ <a
+ className="inline cursor-pointer text-mineshaft-100 underline decoration-primary-500 underline-offset-4 opacity-80 duration-200 hover:opacity-100"
+ target="_blank"
+ rel="noopener noreferrer"
+ href="mailto:[email protected]"
+ >
+ </a>{" "}
+ if the issue persists.
+ </p>
+ </div>
+ )}
</div>
);
}
diff --git a/frontend/src/pages/integrations/vercel/oauth2/callback.tsx b/frontend/src/pages/integrations/vercel/oauth2/callback.tsx
index 888593c433..f32fdcb026 100644
--- a/frontend/src/pages/integrations/vercel/oauth2/callback.tsx
+++ b/frontend/src/pages/integrations/vercel/oauth2/callback.tsx
@@ -2,9 +2,7 @@ import { useEffect } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useAuthorizeIntegration
-} from "@app/hooks/api";
+import { useAuthorizeIntegration } from "@app/hooks/api";
export default function VercelOAuth2CallbackPage() {
const router = useRouter();
@@ -18,7 +16,7 @@ export default function VercelOAuth2CallbackPage() {
// validate state
if (state !== localStorage.getItem("latestCSRFToken")) return;
localStorage.removeItem("latestCSRFToken");
-
+
const integrationAuth = await mutateAsync({
workspaceId: localStorage.getItem("projectData.id") as string,
code: code as string,
diff --git a/frontend/src/pages/integrations/windmill/authorize.tsx b/frontend/src/pages/integrations/windmill/authorize.tsx
index d2e2f92a56..ebfc5f9417 100644
--- a/frontend/src/pages/integrations/windmill/authorize.tsx
+++ b/frontend/src/pages/integrations/windmill/authorize.tsx
@@ -1,13 +1,10 @@
import { useState } from "react";
import { useRouter } from "next/router";
-import {
- useSaveIntegrationAccessToken
-} from "@app/hooks/api";
+import { useSaveIntegrationAccessToken } from "@app/hooks/api";
import { Button, Card, CardTitle, FormControl, Input } from "../../../components/v2";
-
export default function WindmillCreateIntegrationPage() {
const router = useRouter();
const { mutateAsync } = useSaveIntegrationAccessToken();
@@ -15,7 +12,7 @@ export default function WindmillCreateIntegrationPage() {
const [apiKey, setApiKey] = useState("");
const [apiKeyErrorText, setApiKeyErrorText] = useState("");
const [isLoading, setIsLoading] = useState(false);
-
+
const handleButtonClick = async () => {
try {
setApiKeyErrorText("");
@@ -23,17 +20,17 @@ export default function WindmillCreateIntegrationPage() {
setApiKeyErrorText("API Key cannot be blank");
return;
}
-
+
setIsLoading(true);
-
+
const integrationAuth = await mutateAsync({
workspaceId: localStorage.getItem("projectData.id"),
integration: "windmill",
accessToken: apiKey
});
-
+
setIsLoading(false);
-
+
router.push(`/integrations/windmill/create?integrationAuthId=${integrationAuth.id}`);
} catch (err) {
console.error(err);
@@ -41,27 +38,27 @@ export default function WindmillCreateIntegrationPage() {
};
return (
- <div className="flex h-full w-full items-center justify-center">
- <Card className="max-w-md rounded-md p-8">
- <CardTitle className="text-center">Windmill Integration</CardTitle>
- <FormControl
- label="Windmill Access Token"
- errorText={apiKeyErrorText}
- isError={apiKeyErrorText !== "" ?? false}
- >
- <Input placeholder="" value={apiKey} onChange={(e) => setApiKey(e.target.value)} />
- </FormControl>
- <Button
- onClick={handleButtonClick}
- color="mineshaft"
- className="mt-4"
- isLoading={isLoading}
- >
- Connect to Windmill
- </Button>
- </Card>
- </div>
- );
+ <div className="flex h-full w-full items-center justify-center">
+ <Card className="max-w-md rounded-md p-8">
+ <CardTitle className="text-center">Windmill Integration</CardTitle>
+ <FormControl
+ label="Windmill Access Token"
+ errorText={apiKeyErrorText}
+ isError={apiKeyErrorText !== "" ?? false}
+ >
+ <Input placeholder="" value={apiKey} onChange={(e) => setApiKey(e.target.value)} />
+ </FormControl>
+ <Button
+ onClick={handleButtonClick}
+ color="mineshaft"
+ className="mt-4"
+ isLoading={isLoading}
+ >
+ Connect to Windmill
+ </Button>
+ </Card>
+ </div>
+ );
}
-WindmillCreateIntegrationPage.requireAuth = true;
\ No newline at end of file
+WindmillCreateIntegrationPage.requireAuth = true;
diff --git a/frontend/src/pages/integrations/windmill/create.tsx b/frontend/src/pages/integrations/windmill/create.tsx
index 855f9f959e..22b9cbd207 100644
--- a/frontend/src/pages/integrations/windmill/create.tsx
+++ b/frontend/src/pages/integrations/windmill/create.tsx
@@ -2,9 +2,7 @@ import { useEffect, useState } from "react";
import { useRouter } from "next/router";
import queryString from "query-string";
-import {
- useCreateIntegration
-} from "@app/hooks/api";
+import { useCreateIntegration } from "@app/hooks/api";
import {
Button,
@@ -65,7 +63,9 @@ export default function WindmillCreateIntegrationPage() {
integrationAuthId: integrationAuth?.id,
isActive: true,
app: targetApp,
- appId: integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp)?.appId,
+ appId: integrationAuthApps?.find(
+ (integrationAuthApp) => integrationAuthApp.name === targetApp
+ )?.appId,
sourceEnvironment: selectedSourceEnvironment,
secretPath
});
diff --git a/frontend/src/pages/org/[id]/overview/index.tsx b/frontend/src/pages/org/[id]/overview/index.tsx
index 3af06fdd52..cafd9d37ad 100644
--- a/frontend/src/pages/org/[id]/overview/index.tsx
+++ b/frontend/src/pages/org/[id]/overview/index.tsx
@@ -68,7 +68,7 @@ import { usePopUp } from "@app/hooks/usePopUp";
const features = [
{
- _id: 0,
+ id: 0,
name: "Kubernetes Operator",
link: "https://infisical.com/docs/documentation/getting-started/kubernetes",
description:
@@ -519,7 +519,7 @@ const OrganizationPage = withPermission(
try {
const {
data: {
- workspace: { _id: newWorkspaceId }
+ workspace: { id: newWorkspaceId }
}
} = await createWs.mutateAsync({
organizationId: currentOrg,
@@ -537,7 +537,7 @@ const OrganizationPage = withPermission(
await uploadWsKey.mutateAsync({
encryptedKey: ciphertext,
nonce,
- userId: user?._id,
+ userId: user?.id,
workspaceId: newWorkspaceId
});
@@ -553,7 +553,7 @@ const OrganizationPage = withPermission(
.filter(
({ status, user: orgUser }) => status === "accepted" && user.email !== orgUser.email
)
- .map(({ user: orgUser, _id: orgMembershipId }) => ({
+ .map(({ user: orgUser, id: orgMembershipId }) => ({
userPublicKey: orgUser.publicKey,
orgMembershipId
}))
@@ -682,7 +682,7 @@ const OrganizationPage = withPermission(
.filter((ws) => ws?.name?.toLowerCase().includes(searchFilter.toLowerCase()))
.map((workspace) => (
<div
- key={workspace._id}
+ key={workspace.id}
className="min-w-72 flex h-40 flex-col justify-between rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4"
>
<div className="mt-0 text-lg text-mineshaft-100">{workspace.name}</div>
@@ -692,8 +692,8 @@ const OrganizationPage = withPermission(
<button
type="button"
onClick={() => {
- router.push(`/project/${workspace._id}/secrets/overview`);
- localStorage.setItem("projectData.id", workspace._id);
+ router.push(`/project/${workspace.id}/secrets/overview`);
+ localStorage.setItem("projectData.id", workspace.id);
}}
>
<div className="group ml-auto w-max cursor-pointer rounded-full border border-mineshaft-600 bg-mineshaft-900 py-2 px-4 text-sm text-mineshaft-300 hover:border-primary-500/80 hover:bg-primary-800/20 hover:text-mineshaft-200">
@@ -782,7 +782,7 @@ const OrganizationPage = withPermission(
icon={faPlus}
time="1 min"
userAction="first_time_secrets_pushed"
- link={`/project/${orgWorkspaces[0]?._id}/secrets/overview`}
+ link={`/project/${orgWorkspaces[0]?.id}/secrets/overview`}
/>
<LearningItemSquare
text="Invite your teammates"
diff --git a/frontend/src/pages/org/[id]/secret-scanning/index.tsx b/frontend/src/pages/org/[id]/secret-scanning/index.tsx
index 49cc3bbc11..d503596fc6 100644
--- a/frontend/src/pages/org/[id]/secret-scanning/index.tsx
+++ b/frontend/src/pages/org/[id]/secret-scanning/index.tsx
@@ -63,20 +63,20 @@ const SecretScanning = withPermission(
<link rel="icon" href="/infisical.ico" />
<meta property="og:image" content="/images/message.png" />
</Head>
- <div className="flex justify-center bg-bunker-800 text-white w-full h-full">
- <div className="max-w-7xl px-6 w-full">
+ <div className="flex h-full w-full justify-center bg-bunker-800 text-white">
+ <div className="w-full max-w-7xl px-6">
<div className="mt-6 text-3xl font-semibold text-gray-200">Secret Scanning</div>
<div className="mb-6 text-lg text-mineshaft-300">
Automatically monitor your GitHub activity and prevent secret leaks
</div>
- <div className="relative flex justify-between bg-mineshaft-800 border border-mineshaft-600 rounded-md p-6 mb-6">
+ <div className="relative mb-6 flex justify-between rounded-md border border-mineshaft-600 bg-mineshaft-800 p-6">
<div className="flex flex-col items-start">
- <div className="flex flex-row mb-1">
+ <div className="mb-1 flex flex-row">
Secret Scanning Status:{" "}
{integrationEnabled ? (
- <p className="text-green ml-1.5 font-semibold">Enabled</p>
+ <p className="ml-1.5 font-semibold text-green">Enabled</p>
) : (
- <p className="text-red ml-1.5 font-semibold">Not enabled</p>
+ <p className="ml-1.5 font-semibold text-red">Not enabled</p>
)}
</div>
<div>
@@ -94,12 +94,12 @@ const SecretScanning = withPermission(
</div>
{integrationEnabled ? (
<div>
- <div className="absolute right-[2.5rem] top-[2.5rem] animate-ping rounded-full h-6 w-6 bg-green flex items-center justify-center" />
- <div className="absolute right-[2.63rem] top-[2.63rem] animate-ping rounded-full h-5 w-5 bg-green flex items-center justify-center" />
- <div className="absolute right-[2.82rem] top-[2.82rem] animate-ping rounded-full h-3.5 w-3.5 bg-green flex items-center justify-center" />
+ <div className="absolute right-[2.5rem] top-[2.5rem] flex h-6 w-6 animate-ping items-center justify-center rounded-full bg-green" />
+ <div className="absolute right-[2.63rem] top-[2.63rem] flex h-5 w-5 animate-ping items-center justify-center rounded-full bg-green" />
+ <div className="absolute right-[2.82rem] top-[2.82rem] flex h-3.5 w-3.5 animate-ping items-center justify-center rounded-full bg-green" />
</div>
) : (
- <div className="flex items-center h-[3.25rem]">
+ <div className="flex h-[3.25rem] items-center">
<OrgPermissionCan
I={OrgPermissionActions.Create}
a={OrgPermissionSubjects.SecretScanning}
@@ -109,7 +109,7 @@ const SecretScanning = withPermission(
variant="solid"
colorSchema="primary"
onClick={generateNewIntegrationSession}
- className="py-2 h-min"
+ className="h-min py-2"
isDisabled={!isAllowed}
>
Integrate with GitHub
diff --git a/frontend/src/pages/signup/index.tsx b/frontend/src/pages/signup/index.tsx
index fd697bab1c..17316e1e6a 100644
--- a/frontend/src/pages/signup/index.tsx
+++ b/frontend/src/pages/signup/index.tsx
@@ -153,7 +153,7 @@ export default function SignUp() {
};
return (
- <div className="flex min-h-screen max-h-screen overflow-y-auto flex-col justify-center bg-gradient-to-tr from-mineshaft-600 via-mineshaft-800 to-bunker-700 px-6 pb-28 ">
+ <div className="flex max-h-screen min-h-screen flex-col justify-center overflow-y-auto bg-gradient-to-tr from-mineshaft-600 via-mineshaft-800 to-bunker-700 px-6 pb-28 ">
<Head>
<title>{t("common.head-title", { title: t("signup.title") })}</title>
<link rel="icon" href="/infisical.ico" />
diff --git a/frontend/src/views/IntegrationsPage/components/IntegrationsSection/IntegrationsSection.tsx b/frontend/src/views/IntegrationsPage/components/IntegrationsSection/IntegrationsSection.tsx
index 0d918d3a0f..75b0113a8a 100644
--- a/frontend/src/views/IntegrationsPage/components/IntegrationsSection/IntegrationsSection.tsx
+++ b/frontend/src/views/IntegrationsPage/components/IntegrationsSection/IntegrationsSection.tsx
@@ -162,7 +162,8 @@ export const IntegrationsSection = ({
</div>
</div>
)}
- {((integration.integration === "checkly") || (integration.integration === "github")) && (
+ {(integration.integration === "checkly" ||
+ integration.integration === "github") && (
<>
{integration.targetService && (
<div className="ml-2">
diff --git a/frontend/src/views/Login/Login.utils.tsx b/frontend/src/views/Login/Login.utils.tsx
index 1f9b0f4fed..8df93e3b9a 100644
--- a/frontend/src/views/Login/Login.utils.tsx
+++ b/frontend/src/views/Login/Login.utils.tsx
@@ -3,22 +3,22 @@ import { NextRouter } from "next/router";
import { fetchOrganizations } from "@app/hooks/api/organization/queries";
export const navigateUserToOrg = async (router: NextRouter, organizationId?: string) => {
- const userOrgs = await fetchOrganizations();
+ const userOrgs = await fetchOrganizations();
- if (organizationId) {
- localStorage.setItem("orgData.id", organizationId);
- router.push(`/org/${organizationId}/overview`);
- return;
- }
+ if (organizationId) {
+ localStorage.setItem("orgData.id", organizationId);
+ router.push(`/org/${organizationId}/overview`);
+ return;
+ }
- if (userOrgs.length > 0) {
- // user is part of at least 1 org
- const userOrg = userOrgs[0] && userOrgs[0].id;
- localStorage.setItem("orgData.id", userOrg);
- router.push(`/org/${userOrg}/overview`);
- } else {
- // user is not part of any org
- localStorage.removeItem("orgData.id");
- router.push("/org/none");
- }
-}
+ if (userOrgs.length > 0) {
+ // user is part of at least 1 org
+ const userOrg = userOrgs[0] && userOrgs[0].id;
+ localStorage.setItem("orgData.id", userOrg);
+ router.push(`/org/${userOrg}/overview`);
+ } else {
+ // user is not part of any org
+ localStorage.removeItem("orgData.id");
+ router.push("/org/none");
+ }
+};
diff --git a/frontend/src/views/Org/MembersPage/MembersPage.tsx b/frontend/src/views/Org/MembersPage/MembersPage.tsx
index 867b0a61c1..673dc28c33 100644
--- a/frontend/src/views/Org/MembersPage/MembersPage.tsx
+++ b/frontend/src/views/Org/MembersPage/MembersPage.tsx
@@ -3,11 +3,7 @@ import { Tab, TabList, TabPanel, Tabs } from "@app/components/v2";
import { OrgPermissionActions, OrgPermissionSubjects } from "@app/context";
import { withPermission } from "@app/hoc";
-import {
- OrgIdentityTab,
- OrgMembersTab,
- OrgRoleTabSection
-} from "./components";
+import { OrgIdentityTab, OrgMembersTab, OrgRoleTabSection } from "./components";
enum TabSections {
Member = "members",
@@ -19,17 +15,15 @@ export const MembersPage = withPermission(
() => {
return (
<div className="container mx-auto flex flex-col justify-between bg-bunker-800 text-white">
- <div className="mb-6 w-full py-6 px-6 max-w-7xl mx-auto">
- <p className="mr-4 mb-4 text-3xl font-semibold text-white">
- Organization Access Control
- </p>
+ <div className="mx-auto mb-6 w-full max-w-7xl py-6 px-6">
+ <p className="mr-4 mb-4 text-3xl font-semibold text-white">Organization Access Control</p>
<Tabs defaultValue={TabSections.Member}>
<TabList>
<Tab value={TabSections.Member}>People</Tab>
<Tab value={TabSections.Identities}>
<div className="flex items-center">
<p>Machine Identities</p>
- <div className="ml-2 rounded-md text-yellow text-sm inline-block bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] opacity-80 hover:opacity-100 cursor-default">
+ <div className="ml-2 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
New
</div>
</div>
diff --git a/frontend/src/views/Org/MembersPage/components/OrgMembersTable/OrgMembersTable.tsx b/frontend/src/views/Org/MembersPage/components/OrgMembersTable/OrgMembersTable.tsx
new file mode 100644
index 0000000000..2a40876782
--- /dev/null
+++ b/frontend/src/views/Org/MembersPage/components/OrgMembersTable/OrgMembersTable.tsx
@@ -0,0 +1,577 @@
+import { useCallback, useEffect, useMemo, useState } from "react";
+import { Controller, useForm } from "react-hook-form";
+import { useRouter } from "next/router";
+import {
+ faCheck,
+ faCopy,
+ faMagnifyingGlass,
+ faPlus,
+ faTrash,
+ faUsers
+} from "@fortawesome/free-solid-svg-icons";
+import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
+import { yupResolver } from "@hookform/resolvers/yup";
+import * as yup from "yup";
+
+import { useNotificationContext } from "@app/components/context/Notifications/NotificationProvider";
+import { OrgPermissionCan } from "@app/components/permissions";
+import {
+ decryptAssymmetric,
+ encryptAssymmetric
+} from "@app/components/utilities/cryptography/crypto";
+import {
+ Button,
+ DeleteActionModal,
+ EmailServiceSetupModal,
+ EmptyState,
+ FormControl,
+ IconButton,
+ Input,
+ Modal,
+ ModalContent,
+ Select,
+ SelectItem,
+ Table,
+ TableContainer,
+ TableSkeleton,
+ Tag,
+ TBody,
+ Td,
+ Th,
+ THead,
+ Tr,
+ UpgradePlanModal
+} from "@app/components/v2";
+import {
+ OrgPermissionActions,
+ OrgPermissionSubjects,
+ useOrganization,
+ useSubscription,
+ useUser,
+ useWorkspace
+} from "@app/context";
+import { usePopUp, useToggle } from "@app/hooks";
+import {
+ useAddUserToOrg,
+ useDeleteOrgMembership,
+ useGetOrgUsers,
+ useGetSSOConfig,
+ useGetUserWorkspaceMemberships,
+ useGetUserWsKey,
+ useUpdateOrgUserRole,
+ useUploadWsKey
+} from "@app/hooks/api";
+import { TRole } from "@app/hooks/api/roles/types";
+import { useFetchServerStatus } from "@app/hooks/api/serverDetails";
+
+type Props = {
+ roles?: TRole<undefined>[];
+ isRolesLoading?: boolean;
+};
+
+const addMemberFormSchema = yup.object({
+ email: yup.string().email().required().label("Email").trim().lowercase()
+});
+
+type TAddMemberForm = yup.InferType<typeof addMemberFormSchema>;
+
+export const OrgMembersTable = ({ roles = [], isRolesLoading }: Props) => {
+ const router = useRouter();
+ const { createNotification } = useNotificationContext();
+
+ const { currentOrg } = useOrganization();
+ const { workspaces, currentWorkspace } = useWorkspace();
+ const { user } = useUser();
+ const userId = user?.id || "";
+ const orgId = currentOrg?.id || "";
+ const workspaceId = currentWorkspace?.id || "";
+
+ const { data: ssoConfig, isLoading: isLoadingSSOConfig } = useGetSSOConfig(orgId);
+ const [searchMemberFilter, setSearchMemberFilter] = useState("");
+ const { data: serverDetails } = useFetchServerStatus();
+
+ const [isInviteLinkCopied, setInviteLinkCopied] = useToggle(false);
+ const { handlePopUpToggle, popUp, handlePopUpOpen, handlePopUpClose } = usePopUp([
+ "addMember",
+ "removeMember",
+ "upgradePlan",
+ "setUpEmail"
+ ] as const);
+ const { subscription } = useSubscription();
+
+ const { data: members, isLoading: isMembersLoading } = useGetOrgUsers(orgId);
+ const { data: workspaceMemberships, isLoading: IsWsMembershipLoading } =
+ useGetUserWorkspaceMemberships(orgId);
+ const { data: wsKey } = useGetUserWsKey(workspaceId);
+
+ const removeUserOrgMembership = useDeleteOrgMembership();
+ const addUserToOrg = useAddUserToOrg();
+ const updateOrgUserRole = useUpdateOrgUserRole();
+ const uploadWsKey = useUploadWsKey();
+
+ const [completeInviteLink, setCompleteInviteLink] = useState<string | undefined>("");
+
+ const isMoreUsersNotAllowed = subscription?.memberLimit
+ ? subscription.membersUsed >= subscription.memberLimit
+ : false;
+
+ useEffect(() => {
+ if (router.query.action === "invite") {
+ handlePopUpOpen("addMember");
+ }
+ }, []);
+
+ const {
+ control,
+ handleSubmit,
+ reset,
+ formState: { isSubmitting }
+ } = useForm<TAddMemberForm>({ resolver: yupResolver(addMemberFormSchema) });
+
+ const onAddMember = async ({ email }: TAddMemberForm) => {
+ if (!currentOrg?.id) return;
+
+ try {
+ const { data } = await addUserToOrg.mutateAsync({
+ organizationId: currentOrg?.id,
+ inviteeEmail: email
+ });
+ setCompleteInviteLink(data?.completeInviteLink);
+ // only show this notification when email is configured.
+ // A [completeInviteLink] will not be sent if smtp is configured
+ if (!data.completeInviteLink) {
+ createNotification({
+ text: "Successfully invited user to the organization.",
+ type: "success"
+ });
+ }
+ } catch (error) {
+ console.error(error);
+ createNotification({
+ text: "Failed to invite user to org",
+ type: "error"
+ });
+ }
+ if (serverDetails?.emailConfigured) {
+ handlePopUpClose("addMember");
+ }
+ reset();
+ };
+
+ const onAddUserToOrg = async (email: string) => {
+ if (!currentOrg?.id) return;
+
+ try {
+ const { data } = await addUserToOrg.mutateAsync({
+ organizationId: currentOrg?.id,
+ inviteeEmail: email
+ });
+ setCompleteInviteLink(data?.completeInviteLink);
+
+ // only show this notification when email is configured. A [completeInviteLink] will not be sent if smtp is configured
+ if (!data.completeInviteLink) {
+ createNotification({
+ text: "Successfully invited user to the organization.",
+ type: "success"
+ });
+ }
+ } catch (error) {
+ console.error(error);
+ createNotification({
+ text: "Failed to invite user to org",
+ type: "error"
+ });
+ }
+ };
+
+ const onRemoveOrgMemberApproved = async () => {
+ const membershipId = (popUp?.removeMember?.data as { id: string })?.id;
+ if (!currentOrg?.id) return;
+
+ try {
+ await removeUserOrgMembership.mutateAsync({ orgId: currentOrg?.id, membershipId });
+ createNotification({
+ text: "Successfully removed user from org",
+ type: "success"
+ });
+ } catch (error) {
+ console.error(error);
+ createNotification({
+ text: "Failed to remove user from the organization",
+ type: "error"
+ });
+ }
+ handlePopUpClose("removeMember");
+ };
+
+ const isIamOwner = useMemo(
+ () => members?.find(({ user: u }) => userId === u?.id)?.role === "owner",
+ [userId, members]
+ );
+
+ const findRoleFromId = useCallback(
+ (roleId: string) => {
+ return roles.find(({ id }) => id === roleId);
+ },
+ [roles]
+ );
+
+ const filterdUser = useMemo(
+ () =>
+ members?.filter(
+ ({ user: u, inviteEmail }) =>
+ u?.firstName?.toLowerCase().includes(searchMemberFilter) ||
+ u?.lastName?.toLowerCase().includes(searchMemberFilter) ||
+ u?.email?.toLowerCase().includes(searchMemberFilter) ||
+ inviteEmail?.includes(searchMemberFilter)
+ ),
+ [members, searchMemberFilter]
+ );
+
+ useEffect(() => {
+ let timer: NodeJS.Timeout;
+ if (isInviteLinkCopied) {
+ timer = setTimeout(() => setInviteLinkCopied.off(), 2000);
+ }
+ return () => clearTimeout(timer);
+ }, [isInviteLinkCopied]);
+
+ const onRoleChange = async (membershipId: string, role: string) => {
+ if (!currentOrg?.id) return;
+
+ try {
+ await updateOrgUserRole.mutateAsync({ organizationId: currentOrg?.id, membershipId, role });
+ createNotification({
+ text: "Successfully updated user role",
+ type: "success"
+ });
+ } catch (error) {
+ console.error(error);
+ createNotification({
+ text: "Failed to update user role",
+ type: "error"
+ });
+ }
+ };
+
+ const onGrantAccess = async (grantedUserId: string, publicKey: string) => {
+ try {
+ const PRIVATE_KEY = localStorage.getItem("PRIVATE_KEY") as string;
+ if (!PRIVATE_KEY || !wsKey) return;
+
+ // assymmetrically decrypt symmetric key with local private key
+ const key = decryptAssymmetric({
+ ciphertext: wsKey.encryptedKey,
+ nonce: wsKey.nonce,
+ publicKey: wsKey.sender.publicKey,
+ privateKey: PRIVATE_KEY
+ });
+
+ const { ciphertext, nonce } = encryptAssymmetric({
+ plaintext: key,
+ publicKey,
+ privateKey: PRIVATE_KEY
+ });
+
+ await uploadWsKey.mutateAsync({
+ userId: grantedUserId,
+ nonce,
+ encryptedKey: ciphertext,
+ workspaceId: currentWorkspace?.id || ""
+ });
+ } catch (err) {
+ console.error(err);
+ createNotification({
+ text: "Failed to grant access to user",
+ type: "error"
+ });
+ }
+ };
+
+ const copyTokenToClipboard = () => {
+ navigator.clipboard.writeText(completeInviteLink as string);
+ setInviteLinkCopied.on();
+ };
+
+ const isLoading = isMembersLoading || IsWsMembershipLoading || isRolesLoading;
+
+ return (
+ <div className="w-full">
+ <div className="mb-4 flex">
+ <div className="mr-4 flex-1">
+ <Input
+ value={searchMemberFilter}
+ onChange={(e) => setSearchMemberFilter(e.target.value)}
+ leftIcon={<FontAwesomeIcon icon={faMagnifyingGlass} />}
+ placeholder="Search members..."
+ />
+ </div>
+ <OrgPermissionCan I={OrgPermissionActions.Create} a={OrgPermissionSubjects.Member}>
+ {(isAllowed) => (
+ <Button
+ isDisabled={!isAllowed}
+ leftIcon={<FontAwesomeIcon icon={faPlus} />}
+ onClick={() => {
+ if (!isLoadingSSOConfig && ssoConfig && ssoConfig.isActive) {
+ createNotification({
+ text: "You cannot invite users when SAML SSO is configured for your organization",
+ type: "error"
+ });
+
+ return;
+ }
+
+ if (isMoreUsersNotAllowed) {
+ handlePopUpOpen("upgradePlan");
+ } else {
+ handlePopUpOpen("addMember");
+ }
+ }}
+ >
+ Add Member
+ </Button>
+ )}
+ </OrgPermissionCan>
+ </div>
+ <div>
+ <TableContainer>
+ <Table>
+ <THead>
+ <Tr>
+ <Th>Name</Th>
+ <Th>Email</Th>
+ <Th>Role</Th>
+ <Th>Projects</Th>
+ <Th aria-label="actions" />
+ </Tr>
+ </THead>
+ <TBody>
+ {isLoading && <TableSkeleton columns={5} innerKey="org-members" />}
+ {!isLoading &&
+ filterdUser?.map(
+ ({ user: u, inviteEmail, role, customRole, id: orgMembershipId, status }) => {
+ const name = u ? `${u.firstName} ${u.lastName}` : "-";
+ const email = u?.email || inviteEmail;
+ const userWs = workspaceMemberships?.[u?.id];
+
+ return (
+ <Tr key={`org-membership-${orgMembershipId}`} className="w-full">
+ <Td>{name}</Td>
+ <Td>{email}</Td>
+ <Td>
+ <OrgPermissionCan
+ I={OrgPermissionActions.Edit}
+ a={OrgPermissionSubjects.Member}
+ >
+ {(isAllowed) => (
+ <>
+ {status === "accepted" && (
+ <Select
+ defaultValue={
+ role === "custom" ? findRoleFromId(customRole)?.slug : role
+ }
+ isDisabled={userId === u?.id || !isAllowed}
+ className="w-40 bg-mineshaft-600"
+ dropdownContainerClassName="border border-mineshaft-600 bg-mineshaft-800"
+ onValueChange={(selectedRole) =>
+ onRoleChange(orgMembershipId, selectedRole)
+ }
+ >
+ {roles
+ .filter(({ slug }) =>
+ slug === "owner" ? isIamOwner || role === "owner" : true
+ )
+ .map(({ slug, name: roleName }) => (
+ <SelectItem value={slug} key={`owner-option-${slug}`}>
+ {roleName}
+ </SelectItem>
+ ))}
+ </Select>
+ )}
+ {(status === "invited" || status === "verified") &&
+ serverDetails?.emailConfigured && (
+ <Button
+ isDisabled={!isAllowed}
+ className="w-40"
+ colorSchema="primary"
+ variant="outline_bg"
+ onClick={() => onAddUserToOrg(email)}
+ >
+ Resend Invite
+ </Button>
+ )}
+ {status === "completed" && (
+ <Button
+ colorSchema="secondary"
+ isDisabled={!isAllowed}
+ onClick={() => onGrantAccess(u?.id, u?.publicKey)}
+ >
+ Grant Access
+ </Button>
+ )}
+ </>
+ )}
+ </OrgPermissionCan>
+ </Td>
+ <Td>
+ {userWs ? (
+ userWs?.map(({ name: wsName, id }) => (
+ <Tag key={`user-${u.id}-workspace-${id}`} className="my-1">
+ {wsName}
+ </Tag>
+ ))
+ ) : (
+ <div className="flex flex-row">
+ {(status === "invited" || status === "verified") &&
+ serverDetails?.emailConfigured ? (
+ <Tag colorSchema="red">
+ This user hasn&apos;t accepted the invite yet
+ </Tag>
+ ) : (
+ <Tag colorSchema="red">
+ This user isn&apos;t part of any projects yet
+ </Tag>
+ )}
+ {router.query.id !== "undefined" &&
+ !(
+ (status === "invited" || status === "verified") &&
+ serverDetails?.emailConfigured
+ ) && (
+ <button
+ type="button"
+ onClick={() =>
+ router.push(`/project/${workspaces[0]?.id}/members`)
+ }
+ className="w-max cursor-pointer rounded-sm bg-mineshaft px-1.5 py-0.5 text-sm duration-200 hover:bg-primary hover:text-black"
+ >
+ <FontAwesomeIcon icon={faPlus} className="mr-1" />
+ Add to projects
+ </button>
+ )}
+ </div>
+ )}
+ </Td>
+ <Td>
+ {userId !== u?.id && (
+ <OrgPermissionCan
+ I={OrgPermissionActions.Delete}
+ a={OrgPermissionSubjects.Member}
+ >
+ {(isAllowed) => (
+ <IconButton
+ ariaLabel="delete"
+ colorSchema="danger"
+ isDisabled={userId === u?.id || !isAllowed}
+ onClick={() =>
+ handlePopUpOpen("removeMember", { id: orgMembershipId })
+ }
+ >
+ <FontAwesomeIcon icon={faTrash} />
+ </IconButton>
+ )}
+ </OrgPermissionCan>
+ )}
+ </Td>
+ </Tr>
+ );
+ }
+ )}
+ </TBody>
+ </Table>
+ {!isLoading && filterdUser?.length === 0 && (
+ <EmptyState title="No project members found" icon={faUsers} />
+ )}
+ </TableContainer>
+ </div>
+ <Modal
+ isOpen={popUp?.addMember?.isOpen}
+ onOpenChange={(isOpen) => {
+ handlePopUpToggle("addMember", isOpen);
+ setCompleteInviteLink(undefined);
+ }}
+ >
+ <ModalContent
+ title={`Invite others to ${currentOrg?.name}`}
+ subTitle={
+ <div>
+ {!completeInviteLink && (
+ <div>
+ An invite is specific to an email address and expires after 1 day.
+ <br />
+ For security reasons, you will need to separately add members to projects.
+ </div>
+ )}
+ {completeInviteLink &&
+ "This Infisical instance does not have a email provider setup. Please share this invite link with the invitee manually"}
+ </div>
+ }
+ >
+ {!completeInviteLink && (
+ <form onSubmit={handleSubmit(onAddMember)}>
+ <Controller
+ control={control}
+ defaultValue=""
+ name="email"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl label="Email" isError={Boolean(error)} errorText={error?.message}>
+ <Input {...field} />
+ </FormControl>
+ )}
+ />
+ <div className="mt-8 flex items-center">
+ <Button
+ className="mr-4"
+ size="sm"
+ type="submit"
+ isLoading={isSubmitting}
+ isDisabled={isSubmitting}
+ >
+ Add Member
+ </Button>
+ <Button
+ colorSchema="secondary"
+ variant="plain"
+ onClick={() => handlePopUpClose("addMember")}
+ >
+ Cancel
+ </Button>
+ </div>
+ </form>
+ )}
+ {completeInviteLink && (
+ <div className="mt-2 mb-3 mr-2 flex items-center justify-end rounded-md bg-white/[0.07] p-2 text-base text-gray-400">
+ <p className="mr-4 break-all">{completeInviteLink}</p>
+ <IconButton
+ ariaLabel="copy icon"
+ colorSchema="secondary"
+ className="group relative"
+ onClick={copyTokenToClipboard}
+ >
+ <FontAwesomeIcon icon={isInviteLinkCopied ? faCheck : faCopy} />
+ <span className="absolute -left-8 -top-20 hidden w-28 translate-y-full rounded-md bg-bunker-800 py-2 pl-3 text-center text-sm text-gray-400 group-hover:flex group-hover:animate-fadeIn">
+ click to copy
+ </span>
+ </IconButton>
+ </div>
+ )}
+ </ModalContent>
+ </Modal>
+ <DeleteActionModal
+ isOpen={popUp.removeMember.isOpen}
+ deleteKey="remove"
+ title="Do you want to remove this user from the org?"
+ onChange={(isOpen) => handlePopUpToggle("removeMember", isOpen)}
+ onDeleteApproved={onRemoveOrgMemberApproved}
+ />
+ <UpgradePlanModal
+ isOpen={popUp.upgradePlan.isOpen}
+ onOpenChange={(isOpen) => handlePopUpToggle("upgradePlan", isOpen)}
+ text="You can add custom environments if you switch to Infisical's Team plan."
+ />
+ <EmailServiceSetupModal
+ isOpen={popUp.setUpEmail?.isOpen}
+ onOpenChange={(isOpen) => handlePopUpToggle("setUpEmail", isOpen)}
+ />
+ </div>
+ );
+};
diff --git a/frontend/src/views/Org/MembersPage/components/OrgRoleTabSection/OrgRoleModifySection/OrgRoleModifySection.tsx b/frontend/src/views/Org/MembersPage/components/OrgRoleTabSection/OrgRoleModifySection/OrgRoleModifySection.tsx
index 0b63986aa9..d5e97457b9 100644
--- a/frontend/src/views/Org/MembersPage/components/OrgRoleTabSection/OrgRoleModifySection/OrgRoleModifySection.tsx
+++ b/frontend/src/views/Org/MembersPage/components/OrgRoleTabSection/OrgRoleModifySection/OrgRoleModifySection.tsx
@@ -89,7 +89,7 @@ export const OrgRoleModifySection = ({ role, onGoBack }: Props) => {
const { createNotification } = useNotificationContext();
const { currentOrg } = useOrganization();
- const orgId = currentOrg?._id || "";
+ const orgId = currentOrg?.id || "";
const {
handleSubmit,
register,
@@ -105,12 +105,12 @@ export const OrgRoleModifySection = ({ role, onGoBack }: Props) => {
const { mutateAsync: updateRole } = useUpdateRole();
const handleRoleUpdate = async (el: TFormSchema) => {
- if (!role?._id) return;
+ if (!role?.id) return;
try {
await updateRole({
orgId,
- id: role?._id,
+ id: role?.id,
...el,
permissions: formRolePermission2API(el.permissions)
});
@@ -145,7 +145,7 @@ export const OrgRoleModifySection = ({ role, onGoBack }: Props) => {
return (
<div>
<form onSubmit={handleSubmit(handleFormSubmit)}>
- <div className="flex justify-between mb-2 items-center">
+ <div className="mb-2 flex items-center justify-between">
<h1 className="text-xl font-semibold text-mineshaft-100">
{isNewRole ? "New" : "Edit"} Role
</h1>
@@ -187,7 +187,7 @@ export const OrgRoleModifySection = ({ role, onGoBack }: Props) => {
>
<Input {...register("description")} isReadOnly={isNonEditable} />
</FormControl>
- <div className="flex justify-between items-center pt-6 border-t border-t-mineshaft-800">
+ <div className="flex items-center justify-between border-t border-t-mineshaft-800 pt-6">
<div>
<h2 className="text-xl font-medium">Add Permission</h2>
</div>
@@ -213,7 +213,7 @@ export const OrgRoleModifySection = ({ role, onGoBack }: Props) => {
</div>
))}
</div>
- <div className="flex items-center space-x-4 mt-12">
+ <div className="mt-12 flex items-center space-x-4">
<Button
type="submit"
isDisabled={isSubmitting || isNonEditable || !isDirty}
diff --git a/frontend/src/views/Org/MembersPage/components/OrgRoleTabSection/OrgRoleTable.tsx b/frontend/src/views/Org/MembersPage/components/OrgRoleTabSection/OrgRoleTable.tsx
index 3a4bc3dfd8..13688cd4b5 100644
--- a/frontend/src/views/Org/MembersPage/components/OrgRoleTabSection/OrgRoleTable.tsx
+++ b/frontend/src/views/Org/MembersPage/components/OrgRoleTabSection/OrgRoleTable.tsx
@@ -27,12 +27,10 @@ type Props = {
onSelectRole: (role?: TRole<undefined>) => void;
};
-export const OrgRoleTable = ({
- onSelectRole
-}: Props) => {
+export const OrgRoleTable = ({ onSelectRole }: Props) => {
const [searchRoles, setSearchRoles] = useState("");
const { currentOrg } = useOrganization();
- const orgId = currentOrg?._id || "";
+ const orgId = currentOrg?.id || "";
const { createNotification } = useNotificationContext();
const { popUp, handlePopUpOpen, handlePopUpClose } = usePopUp(["deleteRole"] as const);
@@ -43,7 +41,7 @@ export const OrgRoleTable = ({
const { mutateAsync: deleteRole } = useDeleteRole();
const handleRoleDelete = async () => {
- const { _id: id } = popUp?.deleteRole?.data as TRole<undefined>;
+ const { id } = popUp?.deleteRole?.data as TRole<undefined>;
try {
await deleteRole({
orgId,
@@ -93,7 +91,7 @@ export const OrgRoleTable = ({
<TBody>
{isRolesLoading && <TableSkeleton columns={4} innerKey="org-roles" />}
{(roles as TRole<undefined>[])?.map((role) => {
- const { _id: id, name, slug } = role;
+ const { id, name, slug } = role;
const isNonMutatable = ["owner", "admin", "member", "no-access"].includes(slug);
return (
diff --git a/frontend/src/views/Org/components/CreateOrgModal.tsx b/frontend/src/views/Org/components/CreateOrgModal.tsx
index b62dfb9cb2..b806b2089b 100644
--- a/frontend/src/views/Org/components/CreateOrgModal.tsx
+++ b/frontend/src/views/Org/components/CreateOrgModal.tsx
@@ -50,10 +50,10 @@ export const CreateOrgModal: FC<CreateOrgModalProps> = ({ isOpen, onClose }) =>
type: "success"
});
- if (router.isReady) router.push(`/org/${organization._id}/overview`);
- else window.location.href = `/org/${organization._id}/overview`;
+ if (router.isReady) router.push(`/org/${organization.id}/overview`);
+ else window.location.href = `/org/${organization.id}/overview`;
- localStorage.setItem("orgData.id", organization._id);
+ localStorage.setItem("orgData.id", organization.id);
reset();
onClose();
diff --git a/frontend/src/views/Project/AuditLogsPage/components/LogsFilter.tsx b/frontend/src/views/Project/AuditLogsPage/components/LogsFilter.tsx
index 59fb9af36c..57fdf46d4d 100644
--- a/frontend/src/views/Project/AuditLogsPage/components/LogsFilter.tsx
+++ b/frontend/src/views/Project/AuditLogsPage/components/LogsFilter.tsx
@@ -28,7 +28,7 @@ export const LogsFilter = ({ control, reset }: Props) => {
const [isEndDatePickerOpen, setIsEndDatePickerOpen] = useState(false);
const { currentWorkspace } = useWorkspace();
- const { data, isLoading } = useGetAuditLogActorFilterOpts(currentWorkspace?._id ?? "");
+ const { data, isLoading } = useGetAuditLogActorFilterOpts(currentWorkspace?.id ?? "");
const renderActorSelectItem = (actor: Actor) => {
switch (actor.type) {
@@ -69,7 +69,7 @@ export const LogsFilter = ({ control, reset }: Props) => {
};
return (
- <div className="flex justify-between items-center sticky top-20 z-10 bg-bunker-800">
+ <div className="sticky top-20 z-10 flex items-center justify-between bg-bunker-800">
<div className="flex items-center">
<Controller
control={control}
@@ -79,13 +79,13 @@ export const LogsFilter = ({ control, reset }: Props) => {
label="Event"
errorText={error?.message}
isError={Boolean(error)}
- className="w-40 mr-4"
+ className="mr-4 w-40"
>
<Select
{...(field.value ? { value: field.value } : { placeholder: "Select" })}
{...field}
onValueChange={(e) => onChange(e)}
- className="w-full bg-mineshaft-700 border border-mineshaft-500 text-mineshaft-100"
+ className="w-full border border-mineshaft-500 bg-mineshaft-700 text-mineshaft-100"
>
{eventTypes.map(({ label, value }) => (
<SelectItem value={String(value || "")} key={label}>
@@ -105,13 +105,13 @@ export const LogsFilter = ({ control, reset }: Props) => {
label="Actor"
errorText={error?.message}
isError={Boolean(error)}
- className="w-40 mr-4"
+ className="mr-4 w-40"
>
<Select
{...(field.value ? { value: field.value } : { placeholder: "Select" })}
{...field}
onValueChange={(e) => onChange(e)}
- className="w-full bg-mineshaft-700 border border-mineshaft-500 text-mineshaft-100"
+ className="w-full border border-mineshaft-500 bg-mineshaft-700 text-mineshaft-100"
>
{data.map((actor) => renderActorSelectItem(actor))}
</Select>
@@ -127,13 +127,13 @@ export const LogsFilter = ({ control, reset }: Props) => {
label="Source"
errorText={error?.message}
isError={Boolean(error)}
- className="w-40 mr-4"
+ className="mr-4 w-40"
>
<Select
{...(field.value ? { value: field.value } : { placeholder: "Select" })}
{...field}
onValueChange={(e) => onChange(e)}
- className="w-full bg-mineshaft-700 border border-mineshaft-500 text-mineshaft-100"
+ className="w-full border border-mineshaft-500 bg-mineshaft-700 text-mineshaft-100"
>
{userAgentTypes.map(({ label, value }) => (
<SelectItem value={String(value || "")} key={label}>
diff --git a/frontend/src/views/Project/AuditLogsPage/components/LogsTable.tsx b/frontend/src/views/Project/AuditLogsPage/components/LogsTable.tsx
index eccd843cea..b28745fa64 100644
--- a/frontend/src/views/Project/AuditLogsPage/components/LogsTable.tsx
+++ b/frontend/src/views/Project/AuditLogsPage/components/LogsTable.tsx
@@ -33,7 +33,7 @@ export const LogsTable = ({ eventType, userAgentType, actor, startDate, endDate
const { currentWorkspace } = useWorkspace();
const { data, isLoading, isFetchingNextPage, hasNextPage, fetchNextPage } = useGetAuditLogs(
- currentWorkspace?._id ?? "",
+ currentWorkspace?.id ?? "",
{
eventType,
userAgentType,
@@ -64,7 +64,7 @@ export const LogsTable = ({ eventType, userAgentType, actor, startDate, endDate
data?.pages?.map((group, i) => (
<Fragment key={`auditlog-item-${i + 1}`}>
{group.map((auditLog) => (
- <LogsTableRow auditLog={auditLog} key={`audit-log-${auditLog._id}`} />
+ <LogsTableRow auditLog={auditLog} key={`audit-log-${auditLog.id}`} />
))}
</Fragment>
))}
diff --git a/frontend/src/views/Project/AuditLogsPage/components/LogsTableRow.tsx b/frontend/src/views/Project/AuditLogsPage/components/LogsTableRow.tsx
index 153ebf33a6..7fc69400ed 100644
--- a/frontend/src/views/Project/AuditLogsPage/components/LogsTableRow.tsx
+++ b/frontend/src/views/Project/AuditLogsPage/components/LogsTableRow.tsx
@@ -1,367 +1,358 @@
-import {
- Td,
- Tr
-} from "@app/components/v2";
+import { Td, Tr } from "@app/components/v2";
import { eventToNameMap, userAgentTTypeoNameMap } from "@app/hooks/api/auditLogs/constants";
import { ActorType, EventType } from "@app/hooks/api/auditLogs/enums";
import { Actor, AuditLog, Event } from "@app/hooks/api/auditLogs/types";
type Props = {
- auditLog: AuditLog
-}
+ auditLog: AuditLog;
+};
-export const LogsTableRow = ({
- auditLog
-}: Props) => {
- const renderActor = (actor: Actor) => {
- switch (actor.type) {
- case ActorType.USER:
- return (
- <Td>
- <p>{actor.metadata.email}</p>
- <p>User</p>
- </Td>
- );
- case ActorType.SERVICE:
- return (
- <Td>
- <p>{`${actor.metadata.name}`}</p>
- <p>Service token</p>
- </Td>
- );
- case ActorType.IDENTITY:
- return (
- <Td>
- <p>{`${actor.metadata.name}`}</p>
- <p>Machine Identity</p>
- </Td>
- );
- default:
- return (
- <Td />
- );
- }
+export const LogsTableRow = ({ auditLog }: Props) => {
+ const renderActor = (actor: Actor) => {
+ switch (actor.type) {
+ case ActorType.USER:
+ return (
+ <Td>
+ <p>{actor.metadata.email}</p>
+ <p>User</p>
+ </Td>
+ );
+ case ActorType.SERVICE:
+ return (
+ <Td>
+ <p>{`${actor.metadata.name}`}</p>
+ <p>Service token</p>
+ </Td>
+ );
+ case ActorType.IDENTITY:
+ return (
+ <Td>
+ <p>{`${actor.metadata.name}`}</p>
+ <p>Machine Identity</p>
+ </Td>
+ );
+ default:
+ return <Td />;
}
-
- const renderMetadata = (event: Event) => {
- switch (event.type) {
- case EventType.GET_SECRETS:
- return (
- <Td>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`Path: ${event.metadata.secretPath}`}</p>
- <p>{`# Secrets: ${event.metadata.numberOfSecrets}`}</p>
- </Td>
- );
- case EventType.GET_SECRET:
- return (
- <Td>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`Path: ${event.metadata.secretPath}`}</p>
- <p>{`Secret: ${event.metadata.secretKey}`}</p>
- </Td>
- );
- case EventType.CREATE_SECRET:
- return (
- <Td>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`Path: ${event.metadata.secretPath}`}</p>
- <p>{`Secret: ${event.metadata.secretKey}`}</p>
- </Td>
- );
- case EventType.UPDATE_SECRET:
- return (
- <Td>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`Path: ${event.metadata.secretPath}`}</p>
- <p>{`Secret: ${event.metadata.secretKey}`}</p>
- </Td>
- );
- case EventType.DELETE_SECRET:
- return (
- <Td>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`Path: ${event.metadata.secretPath}`}</p>
- <p>{`Secret: ${event.metadata.secretKey}`}</p>
- </Td>
- );
- case EventType.AUTHORIZE_INTEGRATION:
- return (
- <Td>
- <p>{`Integration: ${event.metadata.integration}`}</p>
- </Td>
- );
- case EventType.UNAUTHORIZE_INTEGRATION:
- return (
- <Td>
- <p>{`Integration: ${event.metadata.integration}`}</p>
- </Td>
- );
- case EventType.CREATE_INTEGRATION:
- return (
- <Td>
- <p>{`Integration: ${event.metadata.integration}`}</p>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`Path: ${event.metadata.secretPath}`}</p>
- {event.metadata.app && (
- <p>{`Target app: ${event.metadata.app}`}</p>
- )}
- {event.metadata.appId && (
- <p>{`Target app: ${event.metadata.appId}`}</p>
- )}
- {event.metadata.targetEnvironment && (
- <p>{`Target environment: ${event.metadata.targetEnvironment}`}</p>
- )}
- {event.metadata.targetEnvironmentId && (
- <p>{`Target environment ID: ${event.metadata.targetEnvironmentId}`}</p>
- )}
- </Td>
- );
- case EventType.DELETE_INTEGRATION:
- return (
- <Td>
- <p>{`Integration: ${event.metadata.integration}`}</p>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`Path: ${event.metadata.secretPath}`}</p>
- {event.metadata.app && (
- <p>{`Target App: ${event.metadata.app}`}</p>
- )}
- {event.metadata.appId && (
- <p>{`Target app: ${event.metadata.appId}`}</p>
- )}
- {event.metadata.targetEnvironment && (
- <p>{`Target environment: ${event.metadata.targetEnvironment}`}</p>
- )}
- {event.metadata.targetEnvironmentId && (
- <p>{`Target environment ID: ${event.metadata.targetEnvironmentId}`}</p>
- )}
- </Td>
- );
- case EventType.ADD_TRUSTED_IP:
- return (
- <Td>
- <p>{`IP: ${event.metadata.ipAddress}${event.metadata.prefix !== undefined ? `/${event.metadata.prefix}` : ""}`}</p>
- </Td>
- );
- case EventType.UPDATE_TRUSTED_IP:
- return (
- <Td>
- <p>{`IP: ${event.metadata.ipAddress}${event.metadata.prefix !== undefined ? `/${event.metadata.prefix}` : ""}`}</p>
- </Td>
- );
- case EventType.DELETE_TRUSTED_IP:
- return (
- <Td>
- <p>{`IP: ${event.metadata.ipAddress}${event.metadata.prefix !== undefined ? `/${event.metadata.prefix}` : ""}`}</p>
- </Td>
- );
- case EventType.CREATE_SERVICE_TOKEN:
- return (
- <Td>
- <p>{`Name: ${event.metadata.name}`}</p>
- </Td>
- );
- case EventType.DELETE_SERVICE_TOKEN:
- return (
- <Td>
- <p>{`Name: ${event.metadata.name}`}</p>
- </Td>
- );
- case EventType.CREATE_IDENTITY:
- return (
- <Td>
- <p>{`ID: ${event.metadata.identityId}`}</p>
- <p>{`Name: ${event.metadata.name}`}</p>
- </Td>
- );
- case EventType.UPDATE_IDENTITY:
- return (
- <Td>
- <p>{`ID: ${event.metadata.identityId}`}</p>
- <p>{`Name: ${event.metadata.name}`}</p>
- </Td>
- );
- case EventType.DELETE_IDENTITY:
- return (
- <Td>
- <p>{`ID: ${event.metadata.identityId}`}</p>
- </Td>
- );
- case EventType.CREATE_ENVIRONMENT:
- return (
- <Td>
- <p>{`Name: ${event.metadata.name}`}</p>
- <p>{`Slug: ${event.metadata.slug}`}</p>
- </Td>
- );
- case EventType.UPDATE_ENVIRONMENT:
- return (
- <Td>
- <p>{`Old name: ${event.metadata.oldName}`}</p>
- <p>{`New name: ${event.metadata.newName}`}</p>
- <p>{`Old slug: ${event.metadata.oldSlug}`}</p>
- <p>{`New slug: ${event.metadata.newSlug}`}</p>
- </Td>
- );
- case EventType.DELETE_ENVIRONMENT:
- return (
- <Td>
- <p>{`Name: ${event.metadata.name}`}</p>
- <p>{`Slug: ${event.metadata.slug}`}</p>
- </Td>
- );
- case EventType.ADD_WORKSPACE_MEMBER:
- return (
- <Td>
- <p>{`Email: ${event.metadata.email}`}</p>
- </Td>
- );
- case EventType.REMOVE_WORKSPACE_MEMBER:
- return (
- <Td>
- <p>{`Email: ${event.metadata.email}`}</p>
- </Td>
- );
- case EventType.CREATE_FOLDER:
- return (
- <Td>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`Path: ${event.metadata.folderPath}`}</p>
- <p>{`Folder: ${event.metadata.folderName}`}</p>
- </Td>
- );
- case EventType.UPDATE_FOLDER:
- return (
- <Td>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`Path: ${event.metadata.folderPath}`}</p>
- <p>{`Old folder: ${event.metadata.oldFolderName}`}</p>
- <p>{`New folder: ${event.metadata.newFolderName}`}</p>
- </Td>
- );
- case EventType.DELETE_FOLDER:
- return (
- <Td>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`Path: ${event.metadata.folderPath}`}</p>
- <p>{`Folder: ${event.metadata.folderName}`}</p>
- </Td>
- );
- case EventType.CREATE_WEBHOOK:
- return (
- <Td>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`Secret path: ${event.metadata.secretPath}`}</p>
- <p>{`Webhook URL: ${event.metadata.webhookUrl}`}</p>
- <p>{`Disabled: ${event.metadata.isDisabled}`}</p>
- </Td>
- );
- case EventType.UPDATE_WEBHOOK_STATUS:
- return (
- <Td>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`Secret path: ${event.metadata.secretPath}`}</p>
- <p>{`Webhook URL: ${event.metadata.webhookUrl}`}</p>
- <p>{`Disabled: ${event.metadata.isDisabled}`}</p>
- </Td>
- );
- case EventType.DELETE_WEBHOOK:
- return (
- <Td>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`Secret path: ${event.metadata.secretPath}`}</p>
- <p>{`Webhook URL: ${event.metadata.webhookUrl}`}</p>
- <p>{`Disabled: ${event.metadata.isDisabled}`}</p>
- </Td>
- );
- case EventType.GET_SECRET_IMPORTS:
- return (
- <Td>
- <p>{`Environment: ${event.metadata.environment}`}</p>
- <p>{`# Imported paths: ${event.metadata.numberOfImports}`}</p>
- </Td>
- );
- case EventType.CREATE_SECRET_IMPORT:
- return (
- <Td>
- <p>{`Import from env: ${event.metadata.importFromEnvironment}`}</p>
- <p>{`Import from path: ${event.metadata.importFromSecretPath}`}</p>
- <p>{`Import to env: ${event.metadata.importToEnvironment}`}</p>
- <p>{`Import to path: ${event.metadata.importToSecretPath}`}</p>
- </Td>
- );
- case EventType.UPDATE_SECRET_IMPORT:
- return (
- <Td>
- <p>{`Import to env: ${event.metadata.importToEnvironment}`}</p>
- <p>{`Import to path: ${event.metadata.importToSecretPath}`}</p>
- </Td>
- );
- case EventType.DELETE_SECRET_IMPORT:
- return (
- <Td>
- <p>{`Import from env: ${event.metadata.importFromEnvironment}`}</p>
- <p>{`Import from path: ${event.metadata.importFromSecretPath}`}</p>
- <p>{`Import to env: ${event.metadata.importToEnvironment}`}</p>
- <p>{`Import to path: ${event.metadata.importToSecretPath}`}</p>
- </Td>
- );
- case EventType.UPDATE_USER_WORKSPACE_ROLE:
- return (
- <Td>
- <p>{`Email: ${event.metadata.email}`}</p>
- <p>{`Old role: ${event.metadata.oldRole}`}</p>
- <p>{`New role: ${event.metadata.newRole}`}</p>
- </Td>
- );
- case EventType.UPDATE_USER_WORKSPACE_DENIED_PERMISSIONS:
- return (
- <Td>
- <p>{`Email: ${event.metadata.email}`}</p>
- {event.metadata.deniedPermissions.map((permission) => {
- return (
- <p key={`audit-log-denied-permission-${event.metadata.userId}-${permission.environmentSlug}-${permission.ability}`}>
- {`Denied env-ability: ${permission.environmentSlug}-${permission.ability}`}
- </p>
- );
- })}
- </Td>
- );
- default:
- return (
- <Td />
- );
- }
+ };
+
+ const renderMetadata = (event: Event) => {
+ switch (event.type) {
+ case EventType.GET_SECRETS:
+ return (
+ <Td>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`Path: ${event.metadata.secretPath}`}</p>
+ <p>{`# Secrets: ${event.metadata.numberOfSecrets}`}</p>
+ </Td>
+ );
+ case EventType.GET_SECRET:
+ return (
+ <Td>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`Path: ${event.metadata.secretPath}`}</p>
+ <p>{`Secret: ${event.metadata.secretKey}`}</p>
+ </Td>
+ );
+ case EventType.CREATE_SECRET:
+ return (
+ <Td>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`Path: ${event.metadata.secretPath}`}</p>
+ <p>{`Secret: ${event.metadata.secretKey}`}</p>
+ </Td>
+ );
+ case EventType.UPDATE_SECRET:
+ return (
+ <Td>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`Path: ${event.metadata.secretPath}`}</p>
+ <p>{`Secret: ${event.metadata.secretKey}`}</p>
+ </Td>
+ );
+ case EventType.DELETE_SECRET:
+ return (
+ <Td>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`Path: ${event.metadata.secretPath}`}</p>
+ <p>{`Secret: ${event.metadata.secretKey}`}</p>
+ </Td>
+ );
+ case EventType.AUTHORIZE_INTEGRATION:
+ return (
+ <Td>
+ <p>{`Integration: ${event.metadata.integration}`}</p>
+ </Td>
+ );
+ case EventType.UNAUTHORIZE_INTEGRATION:
+ return (
+ <Td>
+ <p>{`Integration: ${event.metadata.integration}`}</p>
+ </Td>
+ );
+ case EventType.CREATE_INTEGRATION:
+ return (
+ <Td>
+ <p>{`Integration: ${event.metadata.integration}`}</p>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`Path: ${event.metadata.secretPath}`}</p>
+ {event.metadata.app && <p>{`Target app: ${event.metadata.app}`}</p>}
+ {event.metadata.appId && <p>{`Target app: ${event.metadata.appId}`}</p>}
+ {event.metadata.targetEnvironment && (
+ <p>{`Target environment: ${event.metadata.targetEnvironment}`}</p>
+ )}
+ {event.metadata.targetEnvironmentId && (
+ <p>{`Target environment ID: ${event.metadata.targetEnvironmentId}`}</p>
+ )}
+ </Td>
+ );
+ case EventType.DELETE_INTEGRATION:
+ return (
+ <Td>
+ <p>{`Integration: ${event.metadata.integration}`}</p>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`Path: ${event.metadata.secretPath}`}</p>
+ {event.metadata.app && <p>{`Target App: ${event.metadata.app}`}</p>}
+ {event.metadata.appId && <p>{`Target app: ${event.metadata.appId}`}</p>}
+ {event.metadata.targetEnvironment && (
+ <p>{`Target environment: ${event.metadata.targetEnvironment}`}</p>
+ )}
+ {event.metadata.targetEnvironmentId && (
+ <p>{`Target environment ID: ${event.metadata.targetEnvironmentId}`}</p>
+ )}
+ </Td>
+ );
+ case EventType.ADD_TRUSTED_IP:
+ return (
+ <Td>
+ <p>{`IP: ${event.metadata.ipAddress}${
+ event.metadata.prefix !== undefined ? `/${event.metadata.prefix}` : ""
+ }`}</p>
+ </Td>
+ );
+ case EventType.UPDATE_TRUSTED_IP:
+ return (
+ <Td>
+ <p>{`IP: ${event.metadata.ipAddress}${
+ event.metadata.prefix !== undefined ? `/${event.metadata.prefix}` : ""
+ }`}</p>
+ </Td>
+ );
+ case EventType.DELETE_TRUSTED_IP:
+ return (
+ <Td>
+ <p>{`IP: ${event.metadata.ipAddress}${
+ event.metadata.prefix !== undefined ? `/${event.metadata.prefix}` : ""
+ }`}</p>
+ </Td>
+ );
+ case EventType.CREATE_SERVICE_TOKEN:
+ return (
+ <Td>
+ <p>{`Name: ${event.metadata.name}`}</p>
+ </Td>
+ );
+ case EventType.DELETE_SERVICE_TOKEN:
+ return (
+ <Td>
+ <p>{`Name: ${event.metadata.name}`}</p>
+ </Td>
+ );
+ case EventType.CREATE_IDENTITY:
+ return (
+ <Td>
+ <p>{`ID: ${event.metadata.identityId}`}</p>
+ <p>{`Name: ${event.metadata.name}`}</p>
+ </Td>
+ );
+ case EventType.UPDATE_IDENTITY:
+ return (
+ <Td>
+ <p>{`ID: ${event.metadata.identityId}`}</p>
+ <p>{`Name: ${event.metadata.name}`}</p>
+ </Td>
+ );
+ case EventType.DELETE_IDENTITY:
+ return (
+ <Td>
+ <p>{`ID: ${event.metadata.identityId}`}</p>
+ </Td>
+ );
+ case EventType.CREATE_ENVIRONMENT:
+ return (
+ <Td>
+ <p>{`Name: ${event.metadata.name}`}</p>
+ <p>{`Slug: ${event.metadata.slug}`}</p>
+ </Td>
+ );
+ case EventType.UPDATE_ENVIRONMENT:
+ return (
+ <Td>
+ <p>{`Old name: ${event.metadata.oldName}`}</p>
+ <p>{`New name: ${event.metadata.newName}`}</p>
+ <p>{`Old slug: ${event.metadata.oldSlug}`}</p>
+ <p>{`New slug: ${event.metadata.newSlug}`}</p>
+ </Td>
+ );
+ case EventType.DELETE_ENVIRONMENT:
+ return (
+ <Td>
+ <p>{`Name: ${event.metadata.name}`}</p>
+ <p>{`Slug: ${event.metadata.slug}`}</p>
+ </Td>
+ );
+ case EventType.ADD_WORKSPACE_MEMBER:
+ return (
+ <Td>
+ <p>{`Email: ${event.metadata.email}`}</p>
+ </Td>
+ );
+ case EventType.REMOVE_WORKSPACE_MEMBER:
+ return (
+ <Td>
+ <p>{`Email: ${event.metadata.email}`}</p>
+ </Td>
+ );
+ case EventType.CREATE_FOLDER:
+ return (
+ <Td>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`Path: ${event.metadata.folderPath}`}</p>
+ <p>{`Folder: ${event.metadata.folderName}`}</p>
+ </Td>
+ );
+ case EventType.UPDATE_FOLDER:
+ return (
+ <Td>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`Path: ${event.metadata.folderPath}`}</p>
+ <p>{`Old folder: ${event.metadata.oldFolderName}`}</p>
+ <p>{`New folder: ${event.metadata.newFolderName}`}</p>
+ </Td>
+ );
+ case EventType.DELETE_FOLDER:
+ return (
+ <Td>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`Path: ${event.metadata.folderPath}`}</p>
+ <p>{`Folder: ${event.metadata.folderName}`}</p>
+ </Td>
+ );
+ case EventType.CREATE_WEBHOOK:
+ return (
+ <Td>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`Secret path: ${event.metadata.secretPath}`}</p>
+ <p>{`Webhook URL: ${event.metadata.webhookUrl}`}</p>
+ <p>{`Disabled: ${event.metadata.isDisabled}`}</p>
+ </Td>
+ );
+ case EventType.UPDATE_WEBHOOK_STATUS:
+ return (
+ <Td>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`Secret path: ${event.metadata.secretPath}`}</p>
+ <p>{`Webhook URL: ${event.metadata.webhookUrl}`}</p>
+ <p>{`Disabled: ${event.metadata.isDisabled}`}</p>
+ </Td>
+ );
+ case EventType.DELETE_WEBHOOK:
+ return (
+ <Td>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`Secret path: ${event.metadata.secretPath}`}</p>
+ <p>{`Webhook URL: ${event.metadata.webhookUrl}`}</p>
+ <p>{`Disabled: ${event.metadata.isDisabled}`}</p>
+ </Td>
+ );
+ case EventType.GET_SECRET_IMPORTS:
+ return (
+ <Td>
+ <p>{`Environment: ${event.metadata.environment}`}</p>
+ <p>{`# Imported paths: ${event.metadata.numberOfImports}`}</p>
+ </Td>
+ );
+ case EventType.CREATE_SECRET_IMPORT:
+ return (
+ <Td>
+ <p>{`Import from env: ${event.metadata.importFromEnvironment}`}</p>
+ <p>{`Import from path: ${event.metadata.importFromSecretPath}`}</p>
+ <p>{`Import to env: ${event.metadata.importToEnvironment}`}</p>
+ <p>{`Import to path: ${event.metadata.importToSecretPath}`}</p>
+ </Td>
+ );
+ case EventType.UPDATE_SECRET_IMPORT:
+ return (
+ <Td>
+ <p>{`Import to env: ${event.metadata.importToEnvironment}`}</p>
+ <p>{`Import to path: ${event.metadata.importToSecretPath}`}</p>
+ </Td>
+ );
+ case EventType.DELETE_SECRET_IMPORT:
+ return (
+ <Td>
+ <p>{`Import from env: ${event.metadata.importFromEnvironment}`}</p>
+ <p>{`Import from path: ${event.metadata.importFromSecretPath}`}</p>
+ <p>{`Import to env: ${event.metadata.importToEnvironment}`}</p>
+ <p>{`Import to path: ${event.metadata.importToSecretPath}`}</p>
+ </Td>
+ );
+ case EventType.UPDATE_USER_WORKSPACE_ROLE:
+ return (
+ <Td>
+ <p>{`Email: ${event.metadata.email}`}</p>
+ <p>{`Old role: ${event.metadata.oldRole}`}</p>
+ <p>{`New role: ${event.metadata.newRole}`}</p>
+ </Td>
+ );
+ case EventType.UPDATE_USER_WORKSPACE_DENIED_PERMISSIONS:
+ return (
+ <Td>
+ <p>{`Email: ${event.metadata.email}`}</p>
+ {event.metadata.deniedPermissions.map((permission) => {
+ return (
+ <p
+ key={`audit-log-denied-permission-${event.metadata.userId}-${permission.environmentSlug}-${permission.ability}`}
+ >
+ {`Denied env-ability: ${permission.environmentSlug}-${permission.ability}`}
+ </p>
+ );
+ })}
+ </Td>
+ );
+ default:
+ return <Td />;
}
+ };
- const formatDate = (dateToFormat: string) => {
- const date = new Date(dateToFormat);
- const year = date.getFullYear();
- const month = String(date.getMonth() + 1).padStart(2, "0");
- const day = String(date.getDate()).padStart(2, "0");
+ const formatDate = (dateToFormat: string) => {
+ const date = new Date(dateToFormat);
+ const year = date.getFullYear();
+ const month = String(date.getMonth() + 1).padStart(2, "0");
+ const day = String(date.getDate()).padStart(2, "0");
- let hours = date.getHours();
- const minutes = String(date.getMinutes()).padStart(2, "0");
+ let hours = date.getHours();
+ const minutes = String(date.getMinutes()).padStart(2, "0");
- // convert from 24h to 12h format
- const period = hours >= 12 ? "PM" : "AM";
- hours %= 12;
- hours = hours || 12; // the hour '0' should be '12'
+ // convert from 24h to 12h format
+ const period = hours >= 12 ? "PM" : "AM";
+ hours %= 12;
+ hours = hours || 12; // the hour '0' should be '12'
- const formattedDate = `${day}-${month}-${year} at ${hours}:${minutes} ${period}`;
- return formattedDate;
- }
-
- return (
- <Tr className={`log-${auditLog._id} h-10 border-b border-x-0 border-t-0`}>
- <Td>{formatDate(auditLog.createdAt)}</Td>
- <Td>{`${eventToNameMap[auditLog.event.type]}`}</Td>
- {renderActor(auditLog.actor)}
- <Td>
- <p>{userAgentTTypeoNameMap[auditLog.userAgentType]}</p>
- <p>{auditLog.ipAddress}</p>
- </Td>
- {renderMetadata(auditLog.event)}
- </Tr>
- );
-}
\ No newline at end of file
+ const formattedDate = `${day}-${month}-${year} at ${hours}:${minutes} ${period}`;
+ return formattedDate;
+ };
+
+ return (
+ <Tr className={`log-${auditLog.id} h-10 border-x-0 border-b border-t-0`}>
+ <Td>{formatDate(auditLog.createdAt)}</Td>
+ <Td>{`${eventToNameMap[auditLog.event.type]}`}</Td>
+ {renderActor(auditLog.actor)}
+ <Td>
+ <p>{userAgentTTypeoNameMap[auditLog.userAgentType]}</p>
+ <p>{auditLog.ipAddress}</p>
+ </Td>
+ {renderMetadata(auditLog.event)}
+ </Tr>
+ );
+};
diff --git a/frontend/src/views/Project/IPAllowListPage/components/IPAllowlistModal.tsx b/frontend/src/views/Project/IPAllowListPage/components/IPAllowlistModal.tsx
index 35813f492b..8cdbb11221 100644
--- a/frontend/src/views/Project/IPAllowListPage/components/IPAllowlistModal.tsx
+++ b/frontend/src/views/Project/IPAllowListPage/components/IPAllowlistModal.tsx
@@ -1,28 +1,20 @@
import { useEffect } from "react";
-import { Controller, useForm } from "react-hook-form";
+import { Controller, useForm } from "react-hook-form";
import { yupResolver } from "@hookform/resolvers/yup";
import * as yup from "yup";
import { useNotificationContext } from "@app/components/context/Notifications/NotificationProvider";
-import {
- Button,
- FormControl,
- Input,
- Modal,
- ModalContent
-} from "@app/components/v2";
+import { Button, FormControl, Input, Modal, ModalContent } from "@app/components/v2";
import { useWorkspace } from "@app/context";
-import {
- useAddTrustedIp,
- useGetMyIp,
- useUpdateTrustedIp
-} from "@app/hooks/api";
+import { useAddTrustedIp, useGetMyIp, useUpdateTrustedIp } from "@app/hooks/api";
import { UsePopUpState } from "@app/hooks/usePopUp";
-const schema = yup.object({
+const schema = yup
+ .object({
ipAddress: yup.string().required("IP address is required"),
comment: yup.string()
-}).required();
+ })
+ .required();
export type FormData = yup.InferType<typeof schema>;
@@ -32,162 +24,146 @@ type Props = {
handlePopUpToggle: (popUpName: keyof UsePopUpState<["trustedIp"]>, state?: boolean) => void;
};
-export const IPAllowlistModal = ({
- popUp,
- handlePopUpClose,
- handlePopUpToggle
-}: Props) => {
- const { createNotification } = useNotificationContext();
- const { data, isLoading } = useGetMyIp();
-
- const { currentWorkspace } = useWorkspace();
- const addTrustedIp = useAddTrustedIp();
- const updateTrustedIp = useUpdateTrustedIp();
+export const IPAllowlistModal = ({ popUp, handlePopUpClose, handlePopUpToggle }: Props) => {
+ const { createNotification } = useNotificationContext();
+ const { data, isLoading } = useGetMyIp();
- const {
- control,
- setValue,
- handleSubmit,
- reset,
- formState: { isSubmitting }
- } = useForm<FormData>({
- resolver: yupResolver(schema)
- });
-
- useEffect(() => {
- const trustedIpData = popUp?.trustedIp?.data as {
- ipAddress: string;
- comment: string;
- prefix: number;
- };
+ const { currentWorkspace } = useWorkspace();
+ const addTrustedIp = useAddTrustedIp();
+ const updateTrustedIp = useUpdateTrustedIp();
- if (popUp?.trustedIp?.data) {
- reset({
- ipAddress: `${trustedIpData.ipAddress}${trustedIpData.prefix !== undefined ? `/${trustedIpData.prefix}` : ""}`,
- comment: trustedIpData.comment
- });
- } else {
- reset({
- ipAddress: "",
- comment: ""
- });
- }
-
- }, [popUp?.trustedIp?.data]);
-
- const onIPAllowlistModalSubmit = async ({
- ipAddress,
- comment
- }: FormData) => {
- try {
- if (!currentWorkspace?.id) return;
-
- if (popUp?.trustedIp?.data) {
- await updateTrustedIp.mutateAsync({
- workspaceId: currentWorkspace.id,
- trustedIpId: (popUp?.trustedIp?.data as { trustedIpId: string })?.trustedIpId,
- ipAddress,
- comment,
- isActive: true
- });
- } else {
- await addTrustedIp.mutateAsync({
- workspaceId: currentWorkspace.id,
- ipAddress,
- comment,
- isActive: true
- });
- }
-
- createNotification({
- text: `Successfully ${popUp?.trustedIp?.data ? "updated" : "added"} trusted IP`,
- type: "success"
- });
-
- reset();
- handlePopUpClose("trustedIp");
- } catch (err) {
- createNotification({
- text: `Failed to ${popUp?.trustedIp?.data ? "update" : "add"} trusted IP`,
- type: "error"
- });
- }
+ const {
+ control,
+ setValue,
+ handleSubmit,
+ reset,
+ formState: { isSubmitting }
+ } = useForm<FormData>({
+ resolver: yupResolver(schema)
+ });
+
+ useEffect(() => {
+ const trustedIpData = popUp?.trustedIp?.data as {
+ ipAddress: string;
+ comment: string;
+ prefix: number;
+ };
+
+ if (popUp?.trustedIp?.data) {
+ reset({
+ ipAddress: `${trustedIpData.ipAddress}${
+ trustedIpData.prefix !== undefined ? `/${trustedIpData.prefix}` : ""
+ }`,
+ comment: trustedIpData.comment
+ });
+ } else {
+ reset({
+ ipAddress: "",
+ comment: ""
+ });
+ }
+ }, [popUp?.trustedIp?.data]);
+
+ const onIPAllowlistModalSubmit = async ({ ipAddress, comment }: FormData) => {
+ try {
+ if (!currentWorkspace?.id) return;
+
+ if (popUp?.trustedIp?.data) {
+ await updateTrustedIp.mutateAsync({
+ workspaceId: currentWorkspace.id,
+ trustedIpId: (popUp?.trustedIp?.data as { trustedIpId: string })?.trustedIpId,
+ ipAddress,
+ comment,
+ isActive: true
+ });
+ } else {
+ await addTrustedIp.mutateAsync({
+ workspaceId: currentWorkspace.id,
+ ipAddress,
+ comment,
+ isActive: true
+ });
+ }
+
+ createNotification({
+ text: `Successfully ${popUp?.trustedIp?.data ? "updated" : "added"} trusted IP`,
+ type: "success"
+ });
+
+ reset();
+ handlePopUpClose("trustedIp");
+ } catch (err) {
+ createNotification({
+ text: `Failed to ${popUp?.trustedIp?.data ? "update" : "add"} trusted IP`,
+ type: "error"
+ });
}
+ };
- return (
- <Modal
- isOpen={popUp?.trustedIp?.isOpen}
- onOpenChange={(isOpen) => {
- handlePopUpToggle("trustedIp", isOpen);
- reset();
- }}
- >
- <ModalContent title={popUp?.trustedIp?.data ? "Update IP" : "Add IP"}>
- <form onSubmit={handleSubmit(onIPAllowlistModalSubmit)}>
- <Controller
- control={control}
- defaultValue=""
- name="ipAddress"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="IPv4/IPv6 Address / CIDR Notation"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="123.456.789.0"
- />
- </FormControl>
- )}
- />
- {!isLoading && data && (
- <Button
- colorSchema="secondary"
- type="button"
- onClick={() => setValue("ipAddress", data)}
- className="mb-8"
- >
- Add current IP address
- </Button>
- )}
- <Controller
- control={control}
- defaultValue=""
- name="comment"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Comment"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="My IP address"
- />
- </FormControl>
- )}
- />
- <div className="mt-8 flex items-center">
- <Button
- className="mr-4"
- size="sm"
- type="submit"
- isLoading={isSubmitting}
- isDisabled={isSubmitting}
- >
- {popUp?.trustedIp?.data ? "Update" : "Add"}
- </Button>
- <Button
- colorSchema="secondary"
- variant="plain"
- onClick={() => handlePopUpClose("trustedIp")}
- >
- Cancel
- </Button>
- </div>
- </form>
- </ModalContent>
- </Modal>
- );
-}
\ No newline at end of file
+ return (
+ <Modal
+ isOpen={popUp?.trustedIp?.isOpen}
+ onOpenChange={(isOpen) => {
+ handlePopUpToggle("trustedIp", isOpen);
+ reset();
+ }}
+ >
+ <ModalContent title={popUp?.trustedIp?.data ? "Update IP" : "Add IP"}>
+ <form onSubmit={handleSubmit(onIPAllowlistModalSubmit)}>
+ <Controller
+ control={control}
+ defaultValue=""
+ name="ipAddress"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl
+ label="IPv4/IPv6 Address / CIDR Notation"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} placeholder="123.456.789.0" />
+ </FormControl>
+ )}
+ />
+ {!isLoading && data && (
+ <Button
+ colorSchema="secondary"
+ type="button"
+ onClick={() => setValue("ipAddress", data)}
+ className="mb-8"
+ >
+ Add current IP address
+ </Button>
+ )}
+ <Controller
+ control={control}
+ defaultValue=""
+ name="comment"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl label="Comment" isError={Boolean(error)} errorText={error?.message}>
+ <Input {...field} placeholder="My IP address" />
+ </FormControl>
+ )}
+ />
+ <div className="mt-8 flex items-center">
+ <Button
+ className="mr-4"
+ size="sm"
+ type="submit"
+ isLoading={isSubmitting}
+ isDisabled={isSubmitting}
+ >
+ {popUp?.trustedIp?.data ? "Update" : "Add"}
+ </Button>
+ <Button
+ colorSchema="secondary"
+ variant="plain"
+ onClick={() => handlePopUpClose("trustedIp")}
+ >
+ Cancel
+ </Button>
+ </div>
+ </form>
+ </ModalContent>
+ </Modal>
+ );
+};
diff --git a/frontend/src/views/Project/IPAllowListPage/components/IPAllowlistSection.tsx b/frontend/src/views/Project/IPAllowListPage/components/IPAllowlistSection.tsx
index 4d98528017..8723512044 100644
--- a/frontend/src/views/Project/IPAllowListPage/components/IPAllowlistSection.tsx
+++ b/frontend/src/views/Project/IPAllowListPage/components/IPAllowlistSection.tsx
@@ -53,9 +53,9 @@ export const IPAllowlistSection = () => {
};
return (
- <div className="p-4 bg-mineshaft-900 mb-6 rounded-lg border border-mineshaft-600">
- <div className="flex items-center mb-8">
- <h2 className="text-xl font-semibold flex-1 text-white">IP Allowlist</h2>
+ <div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
+ <div className="mb-8 flex items-center">
+ <h2 className="flex-1 text-xl font-semibold text-white">IP Allowlist</h2>
<ProjectPermissionCan
I={ProjectPermissionActions.Create}
a={ProjectPermissionSub.IpAllowList}
diff --git a/frontend/src/views/Project/MembersPage/components/MemberListTab/MemberListTab.tsx b/frontend/src/views/Project/MembersPage/components/MemberListTab/MemberListTab.tsx
index a5c500081a..60949233c3 100644
--- a/frontend/src/views/Project/MembersPage/components/MemberListTab/MemberListTab.tsx
+++ b/frontend/src/views/Project/MembersPage/components/MemberListTab/MemberListTab.tsx
@@ -2,7 +2,7 @@ import { useCallback, useMemo, useState } from "react";
import { Controller, useForm } from "react-hook-form";
import { useTranslation } from "react-i18next";
import Link from "next/link";
-import { faMagnifyingGlass, faPlus, faUsers,faXmark } from "@fortawesome/free-solid-svg-icons";
+import { faMagnifyingGlass, faPlus, faUsers, faXmark } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { zodResolver } from "@hookform/resolvers/zod";
import { z } from "zod";
@@ -40,7 +40,8 @@ import {
useOrganization,
useSubscription,
useUser,
- useWorkspace} from "@app/context";
+ useWorkspace
+} from "@app/context";
import { usePopUp } from "@app/hooks";
import {
useAddUserToWs,
@@ -50,7 +51,8 @@ import {
useGetUserWsKey,
useGetWorkspaceUsers,
useUpdateUserWorkspaceRole,
- useUploadWsKey} from "@app/hooks/api";
+ useUploadWsKey
+} from "@app/hooks/api";
const addMemberFormSchema = z.object({
orgMembershipId: z.string().trim()
@@ -67,9 +69,9 @@ export const MemberListTab = () => {
const { currentWorkspace } = useWorkspace();
const { user } = useUser();
- const userId = user?._id || "";
- const orgId = currentOrg?._id || "";
- const workspaceId = currentWorkspace?._id || "";
+ const userId = user?.id || "";
+ const orgId = currentOrg?.id || "";
+ const workspaceId = currentWorkspace?.id || "";
const { data: roles, isLoading: isRolesLoading } = useGetRoles({
orgId,
@@ -79,7 +81,7 @@ export const MemberListTab = () => {
const { data: wsKey } = useGetUserWsKey(workspaceId);
const { data: members, isLoading: isMembersLoading } = useGetWorkspaceUsers(workspaceId);
const { data: orgUsers } = useGetOrgUsers(orgId);
-
+
const [searchMemberFilter, setSearchMemberFilter] = useState("");
const { handlePopUpToggle, popUp, handlePopUpOpen, handlePopUpClose } = usePopUp([
@@ -101,7 +103,7 @@ export const MemberListTab = () => {
const { mutateAsync: updateUserWorkspaceRole } = useUpdateUserWorkspaceRole();
const onAddMember = async ({ orgMembershipId }: TAddMemberForm) => {
- if (!currentOrg?._id) return;
+ if (!currentOrg?.id) return;
// TODO(akhilmhdh): Move to memory storage
const userPrivateKey = localStorage.getItem("PRIVATE_KEY");
if (!userPrivateKey || !wsKey) {
@@ -110,7 +112,7 @@ export const MemberListTab = () => {
});
return;
}
- const orgUser = (orgUsers || []).find(({ _id }) => _id === orgMembershipId);
+ const orgUser = (orgUsers || []).find(({ id }) => id === orgMembershipId);
if (!orgUser) return;
try {
@@ -137,7 +139,7 @@ export const MemberListTab = () => {
const handleRemoveUser = async () => {
const membershipId = (popUp?.removeMember?.data as { id: string })?.id;
- if (!currentOrg?._id) return;
+ if (!currentOrg?.id) return;
try {
await removeUserFromWorkspace(membershipId);
@@ -156,30 +158,30 @@ export const MemberListTab = () => {
};
const isIamOwner = useMemo(
- () => members?.find(({ user: u }) => userId === u?._id)?.role === "owner",
+ () => members?.find(({ user: u }) => userId === u?.id)?.role === "owner",
[userId, members]
);
const findRoleFromId = useCallback(
(roleId: string) => {
- return (roles || []).find(({ _id: id }) => id === roleId);
+ return (roles || []).find(({ id }) => id === roleId);
},
[roles]
);
const onRoleChange = async (membershipId: string, role: string) => {
- if (!currentOrg?._id) return;
+ if (!currentOrg?.id) return;
try {
const isCustomRole = !["admin", "member", "viewer"].includes(role);
-
+
if (isCustomRole && subscription && !subscription?.rbac) {
handlePopUpOpen("upgradePlan", {
description: "You can assign custom roles to members if you upgrade your Infisical plan."
});
return;
}
-
+
await updateUserWorkspaceRole({ membershipId, role });
createNotification({
text: "Successfully updated user role",
@@ -215,7 +217,7 @@ export const MemberListTab = () => {
({ status, user: u }) => status === "accepted" && !wsUserEmails.has(u.email)
);
}, [orgUsers, members]);
-
+
const onGrantAccess = async (grantedUserId: string, publicKey: string) => {
try {
const PRIVATE_KEY = localStorage.getItem("PRIVATE_KEY") as string;
@@ -239,7 +241,7 @@ export const MemberListTab = () => {
userId: grantedUserId,
nonce,
encryptedKey: ciphertext,
- workspaceId: currentWorkspace?._id || ""
+ workspaceId: currentWorkspace?.id || ""
});
} catch (err) {
console.error(err);
@@ -254,25 +256,20 @@ export const MemberListTab = () => {
return (
<div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
- <div className="flex justify-between items-center mb-4">
- <p className="text-xl font-semibold text-mineshaft-100">
- Members
- </p>
- <ProjectPermissionCan
- I={ProjectPermissionActions.Create}
- a={ProjectPermissionSub.Member}
- >
- {(isAllowed) => (
- <Button
- colorSchema="primary"
- type="submit"
- leftIcon={<FontAwesomeIcon icon={faPlus} />}
- onClick={() => handlePopUpOpen("addMember")}
- isDisabled={!isAllowed}
- >
- Add Member
- </Button>
- )}
+ <div className="mb-4 flex items-center justify-between">
+ <p className="text-xl font-semibold text-mineshaft-100">Members</p>
+ <ProjectPermissionCan I={ProjectPermissionActions.Create} a={ProjectPermissionSub.Member}>
+ {(isAllowed) => (
+ <Button
+ colorSchema="primary"
+ type="submit"
+ leftIcon={<FontAwesomeIcon icon={faPlus} />}
+ onClick={() => handlePopUpOpen("addMember")}
+ isDisabled={!isAllowed}
+ >
+ Add Member
+ </Button>
+ )}
</ProjectPermissionCan>
</div>
<Input
@@ -296,7 +293,7 @@ export const MemberListTab = () => {
{isLoading && <TableSkeleton columns={4} innerKey="project-members" />}
{!isLoading &&
filterdUsers?.map(
- ({ user: u, inviteEmail, _id: membershipId, status, customRole, role }) => {
+ ({ user: u, inviteEmail, id: membershipId, status, customRole, role }) => {
const name = u ? `${u.firstName} ${u.lastName}` : "-";
const email = u?.email || inviteEmail;
@@ -315,7 +312,7 @@ export const MemberListTab = () => {
value={
role === "custom" ? findRoleFromId(customRole)?.slug : role
}
- isDisabled={userId === u?._id || !isAllowed}
+ isDisabled={userId === u?.id || !isAllowed}
className="w-40 bg-mineshaft-600"
dropdownContainerClassName="border border-mineshaft-600 bg-mineshaft-800"
onValueChange={(selectedRole) =>
@@ -337,7 +334,7 @@ export const MemberListTab = () => {
<Button
colorSchema="secondary"
isDisabled={!isAllowed}
- onClick={() => onGrantAccess(u?._id, u?.publicKey)}
+ onClick={() => onGrantAccess(u?.id, u?.publicKey)}
>
Grant Access
</Button>
@@ -348,7 +345,7 @@ export const MemberListTab = () => {
</ProjectPermissionCan>
</Td>
<Td>
- {userId !== u?._id && (
+ {userId !== u?.id && (
<ProjectPermissionCan
I={ProjectPermissionActions.Delete}
a={ProjectPermissionSub.Member}
@@ -360,7 +357,7 @@ export const MemberListTab = () => {
variant="plain"
ariaLabel="update"
className="ml-4"
- isDisabled={userId === u?._id || !isAllowed}
+ isDisabled={userId === u?.id || !isAllowed}
onClick={() =>
handlePopUpOpen("removeMember", { id: membershipId })
}
@@ -405,7 +402,7 @@ export const MemberListTab = () => {
value={field.value}
onValueChange={field.onChange}
>
- {filteredOrgUsers.map(({ _id: orgUserId, user: u }) => (
+ {filteredOrgUsers.map(({ id: orgUserId, user: u }) => (
<SelectItem value={orgUserId} key={`org-membership-join-${orgUserId}`}>
{u?.email}
</SelectItem>
diff --git a/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx b/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
index 7f432c1923..2e3a91a61d 100644
--- a/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
+++ b/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
@@ -38,9 +38,9 @@ export const ProjectRoleList = ({ onSelectRole }: Props) => {
const { popUp, handlePopUpOpen, handlePopUpClose } = usePopUp(["deleteRole"] as const);
const { currentOrg } = useOrganization();
const { currentWorkspace } = useWorkspace();
- const orgId = currentOrg?._id || "";
- const workspaceId = currentWorkspace?._id || "";
-
+ const orgId = currentOrg?.id || "";
+ const workspaceId = currentWorkspace?.id || "";
+
const { data: roles, isLoading: isRolesLoading } = useGetRoles({
orgId,
workspaceId
@@ -49,7 +49,7 @@ export const ProjectRoleList = ({ onSelectRole }: Props) => {
const { mutateAsync: deleteRole } = useDeleteRole();
const handleRoleDelete = async () => {
- const { _id: id } = popUp?.deleteRole?.data as TRole<string>;
+ const { id } = popUp?.deleteRole?.data as TRole<string>;
try {
await deleteRole({
orgId,
@@ -100,7 +100,7 @@ export const ProjectRoleList = ({ onSelectRole }: Props) => {
<TBody>
{isRolesLoading && <TableSkeleton columns={4} innerKey="org-roles" />}
{(roles as TRole<string>[])?.map((role) => {
- const { _id: id, name, slug } = role;
+ const { id, name, slug } = role;
const isNonMutatable = ["admin", "member", "viewer", "no-access"].includes(slug);
return (
@@ -108,7 +108,7 @@ export const ProjectRoleList = ({ onSelectRole }: Props) => {
<Td>{name}</Td>
<Td>{slug}</Td>
<Td>
- <div className="flex space-x-2 justify-end">
+ <div className="flex justify-end space-x-2">
<ProjectPermissionCan
I={ProjectPermissionActions.Edit}
a={ProjectPermissionSub.Role}
diff --git a/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleModifySection/ProjectRoleModifySection.tsx b/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleModifySection/ProjectRoleModifySection.tsx
index a550d4e33a..0c0f935c1b 100644
--- a/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleModifySection/ProjectRoleModifySection.tsx
+++ b/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleModifySection/ProjectRoleModifySection.tsx
@@ -121,9 +121,9 @@ export const ProjectRoleModifySection = ({ role, onGoBack }: Props) => {
const { createNotification } = useNotificationContext();
const { currentOrg } = useOrganization();
- const orgId = currentOrg?._id || "";
+ const orgId = currentOrg?.id || "";
const { currentWorkspace } = useWorkspace();
- const workspaceId = currentWorkspace?._id || "";
+ const workspaceId = currentWorkspace?.id || "";
const {
handleSubmit,
@@ -139,12 +139,12 @@ export const ProjectRoleModifySection = ({ role, onGoBack }: Props) => {
const { mutateAsync: updateRole } = useUpdateRole();
const handleRoleUpdate = async (el: TFormSchema) => {
- if (!role?._id) return;
-
+ if (!role?.id) return;
+
try {
await updateRole({
orgId,
- id: role?._id,
+ id: role?.id,
workspaceId,
...el,
permissions: formRolePermission2API(el.permissions)
diff --git a/frontend/src/views/Project/MembersPage/components/ServiceTokenTab/components/ServiceTokenV3Section/AddServiceTokenV3Modal.tsx b/frontend/src/views/Project/MembersPage/components/ServiceTokenTab/components/ServiceTokenV3Section/AddServiceTokenV3Modal.tsx
index faca3ba5d9..d52b42ecf6 100644
--- a/frontend/src/views/Project/MembersPage/components/ServiceTokenTab/components/ServiceTokenV3Section/AddServiceTokenV3Modal.tsx
+++ b/frontend/src/views/Project/MembersPage/components/ServiceTokenTab/components/ServiceTokenV3Section/AddServiceTokenV3Modal.tsx
@@ -1,6 +1,6 @@
import { useEffect, useState } from "react";
-import { Controller, useFieldArray, useForm } from "react-hook-form";
-import { faCheck, faCopy,faPlus, faXmark } from "@fortawesome/free-solid-svg-icons";
+import { Controller, useFieldArray, useForm } from "react-hook-form";
+import { faCheck, faCopy, faPlus, faXmark } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { yupResolver } from "@hookform/resolvers/yup";
import { motion } from "framer-motion";
@@ -10,530 +10,534 @@ import * as yup from "yup";
import { useNotificationContext } from "@app/components/context/Notifications/NotificationProvider";
import {
- decryptAssymmetric,
- encryptAssymmetric
+ decryptAssymmetric,
+ encryptAssymmetric
} from "@app/components/utilities/cryptography/crypto";
import {
- Button,
- FormControl,
- IconButton,
- Input,
- Modal,
- ModalContent,
- Select,
- SelectItem,
- Switch,
- Tab,
- TabList,
- TabPanel,
- Tabs,
- UpgradePlanModal} from "@app/components/v2";
-import {
- useOrganization,
- useSubscription,
- useWorkspace
-} from "@app/context";
+ Button,
+ FormControl,
+ IconButton,
+ Input,
+ Modal,
+ ModalContent,
+ Select,
+ SelectItem,
+ Switch,
+ Tab,
+ TabList,
+ TabPanel,
+ Tabs,
+ UpgradePlanModal
+} from "@app/components/v2";
+import { useOrganization, useSubscription, useWorkspace } from "@app/context";
import { useToggle } from "@app/hooks";
-import {
- useCreateServiceTokenV3,
- useGetRoles,
- useGetUserWsKey,
- useUpdateServiceTokenV3} from "@app/hooks/api";
+import {
+ useCreateServiceTokenV3,
+ useGetRoles,
+ useGetUserWsKey,
+ useUpdateServiceTokenV3
+} from "@app/hooks/api";
import { ServiceTokenV3TrustedIp } from "@app/hooks/api/serviceTokens/types";
import { UsePopUpState } from "@app/hooks/usePopUp";
enum TabSections {
- General = "general",
- Advanced = "advanced"
+ General = "general",
+ Advanced = "advanced"
}
const expirations = [
- { label: "Never", value: "" },
- { label: "1 day", value: "86400" },
- { label: "7 days", value: "604800" },
- { label: "1 month", value: "2592000" },
- { label: "6 months", value: "15552000" },
- { label: "12 months", value: "31104000" }
+ { label: "Never", value: "" },
+ { label: "1 day", value: "86400" },
+ { label: "7 days", value: "604800" },
+ { label: "1 month", value: "2592000" },
+ { label: "6 months", value: "15552000" },
+ { label: "12 months", value: "31104000" }
];
-const schema = yup.object({
+const schema = yup
+ .object({
name: yup.string().required("ST V3 name is required"),
expiresIn: yup.string(),
accessTokenTTL: yup
- .string()
- .test("is-positive-integer", "Access Token TTL must be a positive integer", (value) => {
- if (typeof value === "undefined") {
- return false;
- }
-
- const num = parseInt(value, 10);
- return !Number.isNaN(num) && num > 0 && String(num) === value;
- })
- .required("Access Token TTL is required"),
+ .string()
+ .test("is-positive-integer", "Access Token TTL must be a positive integer", (value) => {
+ if (typeof value === "undefined") {
+ return false;
+ }
+
+ const num = parseInt(value, 10);
+ return !Number.isNaN(num) && num > 0 && String(num) === value;
+ })
+ .required("Access Token TTL is required"),
role: yup.string().required("ST V3 role is required"),
trustedIps: yup
- .array(
+ .array(
yup.object({
- ipAddress: yup.string().max(50).required().label("IP Address")
+ ipAddress: yup.string().max(50).required().label("IP Address")
})
- )
- .min(1)
- .required()
- .label("Trusted IP"),
+ )
+ .min(1)
+ .required()
+ .label("Trusted IP"),
isRefreshTokenRotationEnabled: yup.boolean().default(false)
-}).required();
+ })
+ .required();
export type FormData = yup.InferType<typeof schema>;
type Props = {
popUp: UsePopUpState<["serviceTokenV3", "upgradePlan"]>;
handlePopUpOpen: (popUpName: keyof UsePopUpState<["upgradePlan"]>) => void;
- handlePopUpToggle: (popUpName: keyof UsePopUpState<["serviceTokenV3", "upgradePlan"]>, state?: boolean) => void;
+ handlePopUpToggle: (
+ popUpName: keyof UsePopUpState<["serviceTokenV3", "upgradePlan"]>,
+ state?: boolean
+ ) => void;
};
-export const AddServiceTokenV3Modal = ({
- popUp,
- handlePopUpOpen,
- handlePopUpToggle
-}: Props) => {
- const [newServiceTokenJSON, setNewServiceTokenJSON] = useState("");
- const [isServiceTokenJSONCopied, setIsServiceTokenJSONCopied] = useToggle(false);
-
- const { subscription } = useSubscription();
- const { currentOrg } = useOrganization();
- const { currentWorkspace } = useWorkspace();
-
- const orgId = currentOrg?.id || "";
- const workspaceId = currentWorkspace?.id || "";
-
- const { data: roles } = useGetRoles({
- orgId,
- workspaceId
- });
-
- const { data: latestFileKey } = useGetUserWsKey(workspaceId);
- const { mutateAsync: createMutateAsync } = useCreateServiceTokenV3();
- const { mutateAsync: updateMutateAsync } = useUpdateServiceTokenV3();
- const { createNotification } = useNotificationContext();
- const {
- control,
- handleSubmit,
- reset,
- formState: { isSubmitting }
- } = useForm<FormData>({
- resolver: yupResolver(schema),
- defaultValues: {
- name: "",
- accessTokenTTL: "7200",
- trustedIps: [{
- ipAddress: "0.0.0.0/0"
- }]
- }
- });
+export const AddServiceTokenV3Modal = ({ popUp, handlePopUpOpen, handlePopUpToggle }: Props) => {
+ const [newServiceTokenJSON, setNewServiceTokenJSON] = useState("");
+ const [isServiceTokenJSONCopied, setIsServiceTokenJSONCopied] = useToggle(false);
- useEffect(() => {
- let timer: NodeJS.Timeout;
+ const { subscription } = useSubscription();
+ const { currentOrg } = useOrganization();
+ const { currentWorkspace } = useWorkspace();
- if (isServiceTokenJSONCopied) {
- timer = setTimeout(() => setIsServiceTokenJSONCopied.off(), 2000);
+ const orgId = currentOrg?.id || "";
+ const workspaceId = currentWorkspace?.id || "";
+
+ const { data: roles } = useGetRoles({
+ orgId,
+ workspaceId
+ });
+
+ const { data: latestFileKey } = useGetUserWsKey(workspaceId);
+ const { mutateAsync: createMutateAsync } = useCreateServiceTokenV3();
+ const { mutateAsync: updateMutateAsync } = useUpdateServiceTokenV3();
+ const { createNotification } = useNotificationContext();
+ const {
+ control,
+ handleSubmit,
+ reset,
+ formState: { isSubmitting }
+ } = useForm<FormData>({
+ resolver: yupResolver(schema),
+ defaultValues: {
+ name: "",
+ accessTokenTTL: "7200",
+ trustedIps: [
+ {
+ ipAddress: "0.0.0.0/0"
}
+ ]
+ }
+ });
+
+ useEffect(() => {
+ let timer: NodeJS.Timeout;
+
+ if (isServiceTokenJSONCopied) {
+ timer = setTimeout(() => setIsServiceTokenJSONCopied.off(), 2000);
+ }
+
+ return () => clearTimeout(timer);
+ }, [setIsServiceTokenJSONCopied]);
- return () => clearTimeout(timer);
- }, [setIsServiceTokenJSONCopied]);
+ const copyTokenToClipboard = () => {
+ navigator.clipboard.writeText(newServiceTokenJSON);
+ setIsServiceTokenJSONCopied.on();
+ };
- const copyTokenToClipboard = () => {
- navigator.clipboard.writeText(newServiceTokenJSON);
- setIsServiceTokenJSONCopied.on();
+ useEffect(() => {
+ const serviceTokenData = popUp?.serviceTokenV3?.data as {
+ serviceTokenDataId: string;
+ name: string;
+ role: string;
+ customRole: {
+ name: string;
+ slug: string;
+ };
+ trustedIps: ServiceTokenV3TrustedIp[];
+ accessTokenTTL: number;
+ isRefreshTokenRotationEnabled: boolean;
};
-
- useEffect(() => {
- const serviceTokenData = popUp?.serviceTokenV3?.data as {
- serviceTokenDataId: string;
- name: string;
- role: string;
- customRole: {
- name: string;
- slug: string;
+
+ if (!roles?.length) return;
+
+ if (serviceTokenData) {
+ reset({
+ name: serviceTokenData.name,
+ role: serviceTokenData?.customRole?.slug ?? serviceTokenData.role,
+ trustedIps: serviceTokenData.trustedIps.map(
+ ({ ipAddress, prefix }: ServiceTokenV3TrustedIp) => {
+ return {
+ ipAddress: `${ipAddress}${prefix !== undefined ? `/${prefix}` : ""}`
};
- trustedIps: ServiceTokenV3TrustedIp[];
- accessTokenTTL: number;
- isRefreshTokenRotationEnabled: boolean;
+ }
+ ),
+ accessTokenTTL: String(serviceTokenData.accessTokenTTL),
+ isRefreshTokenRotationEnabled: serviceTokenData.isRefreshTokenRotationEnabled
+ });
+ } else {
+ reset({
+ name: "",
+ accessTokenTTL: "7200",
+ role: roles[0].slug,
+ trustedIps: [
+ {
+ ipAddress: "0.0.0.0/0"
+ }
+ ]
+ });
+ }
+ }, [popUp?.serviceTokenV3?.data, roles]);
+
+ const {
+ fields: tokenTrustedIps,
+ append: appendTrustedIp,
+ remove: removeTrustedIp
+ } = useFieldArray({ control, name: "trustedIps" });
+
+ const onFormSubmit = async ({
+ name,
+ expiresIn,
+ accessTokenTTL,
+ role,
+ trustedIps,
+ isRefreshTokenRotationEnabled
+ }: FormData) => {
+ try {
+ const serviceTokenData = popUp?.serviceTokenV3?.data as {
+ serviceTokenDataId: string;
+ name: string;
+ role: string;
+ };
+
+ if (serviceTokenData) {
+ // update
+
+ await updateMutateAsync({
+ serviceTokenDataId: serviceTokenData.serviceTokenDataId,
+ name,
+ role,
+ trustedIps,
+ expiresIn: expiresIn === "" ? undefined : Number(expiresIn),
+ accessTokenTTL: Number(accessTokenTTL),
+ isRefreshTokenRotationEnabled
+ });
+
+ handlePopUpToggle("serviceTokenV3", false);
+ } else {
+ // create
+ if (!workspaceId) return;
+ if (!latestFileKey) return;
+
+ const pair = nacl.box.keyPair();
+ const secretKeyUint8Array = pair.secretKey;
+ const publicKeyUint8Array = pair.publicKey;
+ const privateKey = encodeBase64(secretKeyUint8Array);
+ const publicKey = encodeBase64(publicKeyUint8Array);
+
+ const key = decryptAssymmetric({
+ ciphertext: latestFileKey.encryptedKey,
+ nonce: latestFileKey.nonce,
+ publicKey: latestFileKey.sender.publicKey,
+ privateKey: localStorage.getItem("PRIVATE_KEY") as string
+ });
+
+ const { ciphertext, nonce } = encryptAssymmetric({
+ plaintext: key,
+ publicKey,
+ privateKey: localStorage.getItem("PRIVATE_KEY") as string
+ });
+
+ const { refreshToken } = await createMutateAsync({
+ name,
+ role,
+ workspaceId,
+ publicKey,
+ trustedIps,
+ expiresIn: expiresIn === "" ? undefined : Number(expiresIn),
+ accessTokenTTL: Number(accessTokenTTL),
+ encryptedKey: ciphertext,
+ nonce,
+ isRefreshTokenRotationEnabled
+ });
+
+ const downloadData = {
+ public_key: publicKey,
+ private_key: privateKey,
+ refresh_token: refreshToken
};
-
- if (!roles?.length) return;
-
- if (serviceTokenData) {
- reset({
- name: serviceTokenData.name,
- role: serviceTokenData?.customRole?.slug ?? serviceTokenData.role,
- trustedIps: serviceTokenData.trustedIps.map(({
- ipAddress,
- prefix
- }: ServiceTokenV3TrustedIp) => {
- return ({
- ipAddress: `${ipAddress}${prefix !== undefined ? `/${prefix}` : ""}`
- });
- }),
- accessTokenTTL: String(serviceTokenData.accessTokenTTL),
- isRefreshTokenRotationEnabled: serviceTokenData.isRefreshTokenRotationEnabled
- });
- } else {
- reset({
- name: "",
- accessTokenTTL: "7200",
- role: roles[0].slug,
- trustedIps: [{
- ipAddress: "0.0.0.0/0"
- }]
- });
- }
- }, [popUp?.serviceTokenV3?.data, roles]);
-
- const { fields: tokenTrustedIps, append: appendTrustedIp, remove: removeTrustedIp } = useFieldArray({ control, name: "trustedIps" });
-
- const onFormSubmit = async ({
- name,
- expiresIn,
- accessTokenTTL,
- role,
- trustedIps,
- isRefreshTokenRotationEnabled
- }: FormData) => {
- try {
- const serviceTokenData = popUp?.serviceTokenV3?.data as {
- serviceTokenDataId: string;
- name: string;
- role: string;
- };
-
- if (serviceTokenData) {
- // update
-
- await updateMutateAsync({
- serviceTokenDataId: serviceTokenData.serviceTokenDataId,
- name,
- role,
- trustedIps,
- expiresIn: expiresIn === "" ? undefined : Number(expiresIn),
- accessTokenTTL: Number(accessTokenTTL),
- isRefreshTokenRotationEnabled
- });
-
- handlePopUpToggle("serviceTokenV3", false);
- } else {
- // create
- if (!workspaceId) return;
- if (!latestFileKey) return;
-
- const pair = nacl.box.keyPair();
- const secretKeyUint8Array = pair.secretKey;
- const publicKeyUint8Array = pair.publicKey;
- const privateKey = encodeBase64(secretKeyUint8Array);
- const publicKey = encodeBase64(publicKeyUint8Array);
-
- const key = decryptAssymmetric({
- ciphertext: latestFileKey.encryptedKey,
- nonce: latestFileKey.nonce,
- publicKey: latestFileKey.sender.publicKey,
- privateKey: localStorage.getItem("PRIVATE_KEY") as string
- });
-
- const { ciphertext, nonce } = encryptAssymmetric({
- plaintext: key,
- publicKey,
- privateKey: localStorage.getItem("PRIVATE_KEY") as string
- });
-
- const { refreshToken } = await createMutateAsync({
- name,
- role,
- workspaceId,
- publicKey,
- trustedIps,
- expiresIn: expiresIn === "" ? undefined : Number(expiresIn),
- accessTokenTTL: Number(accessTokenTTL),
- encryptedKey: ciphertext,
- nonce,
- isRefreshTokenRotationEnabled
- });
-
- const downloadData = {
- public_key: publicKey,
- private_key: privateKey,
- refresh_token: refreshToken
- };
-
- const serviceTokenJSON = JSON.stringify(downloadData, null, 2);
- setNewServiceTokenJSON(serviceTokenJSON);
-
- const blob = new Blob([serviceTokenJSON], { type: "application/json" });
- const href = URL.createObjectURL(blob);
- const link = document.createElement("a");
- link.href = href;
- link.download = `infisical_${name}.json`;
- document.body.appendChild(link);
- link.click();
- document.body.removeChild(link);
- }
-
- createNotification({
- text: `Successfully ${popUp?.serviceTokenV3?.data ? "updated" : "created"} ST V3`,
- type: "success"
- });
-
- reset();
- } catch (err) {
- console.error(err);
- createNotification({
- text: `Failed to ${popUp?.serviceTokenV3?.data ? "updated" : "created"} ST V3`,
- type: "error"
- });
- }
+
+ const serviceTokenJSON = JSON.stringify(downloadData, null, 2);
+ setNewServiceTokenJSON(serviceTokenJSON);
+
+ const blob = new Blob([serviceTokenJSON], { type: "application/json" });
+ const href = URL.createObjectURL(blob);
+ const link = document.createElement("a");
+ link.href = href;
+ link.download = `infisical_${name}.json`;
+ document.body.appendChild(link);
+ link.click();
+ document.body.removeChild(link);
+ }
+
+ createNotification({
+ text: `Successfully ${popUp?.serviceTokenV3?.data ? "updated" : "created"} ST V3`,
+ type: "success"
+ });
+
+ reset();
+ } catch (err) {
+ console.error(err);
+ createNotification({
+ text: `Failed to ${popUp?.serviceTokenV3?.data ? "updated" : "created"} ST V3`,
+ type: "error"
+ });
}
+ };
- const hasServiceTokenJSON = Boolean(newServiceTokenJSON);
-
- return (
- <Modal
- isOpen={popUp?.serviceTokenV3?.isOpen}
- onOpenChange={(isOpen) => {
- handlePopUpToggle("serviceTokenV3", isOpen);
- reset();
- setNewServiceTokenJSON("");
- }}
- >
- <ModalContent title={`${popUp?.serviceTokenV3?.data ? "Update" : "Create"} Service Token V3`}>
- {!hasServiceTokenJSON ? (
- <form onSubmit={handleSubmit(onFormSubmit)}>
- <Tabs defaultValue={TabSections.General}>
- <TabList>
- <div className="flex flex-row border-b border-mineshaft-600 w-full">
- <Tab value={TabSections.General}>General</Tab>
- <Tab value={TabSections.Advanced}>Advanced</Tab>
- </div>
- </TabList>
- <TabPanel value={TabSections.General}>
- <motion.div
- key="panel-1"
- transition={{ duration: 0.15 }}
- initial={{ opacity: 0, translateX: 30 }}
- animate={{ opacity: 1, translateX: 0 }}
- exit={{ opacity: 0, translateX: 30 }}
- >
- <Controller
- control={control}
- defaultValue=""
- name="name"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Name"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="My ST V3"
- />
- </FormControl>
- )}
- />
- <Controller
- control={control}
- name="role"
- defaultValue=""
- render={({ field: { onChange, ...field }, fieldState: { error } }) => (
- <FormControl
- label={`${popUp?.serviceTokenV3?.data ? "Update" : ""} Role`}
- errorText={error?.message}
- isError={Boolean(error)}
- className="mt-4"
- >
- <Select
- defaultValue={field.value}
- {...field}
- onValueChange={(e) => onChange(e)}
- className="w-full"
- >
- {(roles || []).map(({ name, slug }) => (
- <SelectItem value={slug} key={`st-role-${slug}`}>
- {name}
- </SelectItem>
- ))}
- </Select>
- </FormControl>
- )}
- />
- <Controller
- control={control}
- name="expiresIn"
- defaultValue=""
- render={({ field: { onChange, ...field }, fieldState: { error } }) => (
- <FormControl
- label={`${popUp?.serviceTokenV3?.data ? "Update" : ""} Refresh Token Expires In`}
- errorText={error?.message}
- isError={Boolean(error)}
- className="mt-4"
- >
- <Select
- defaultValue={field.value}
- {...field}
- onValueChange={(e) => onChange(e)}
- className="w-full"
- >
- {expirations.map(({ label, value }) => (
- <SelectItem value={String(value || "")} key={`api-key-expiration-${label}`}>
- {label}
- </SelectItem>
- ))}
- </Select>
- </FormControl>
- )}
- />
- </motion.div>
- </TabPanel>
- <TabPanel value={TabSections.Advanced}>
- <div>
- {tokenTrustedIps.map(({ id }, index) => (
- <div className="flex items-end space-x-2 mb-3" key={id}>
- <Controller
- control={control}
- name={`trustedIps.${index}.ipAddress`}
- defaultValue="0.0.0.0/0"
- render={({ field, fieldState: { error } }) => {
- return (
- <FormControl
- className="mb-0 flex-grow"
- label={index === 0 ? "Trusted IP" : undefined}
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- value={field.value}
- onChange={(e) => {
- if (subscription?.ipAllowlisting) {
- field.onChange(e);
- return;
- }
-
- handlePopUpOpen("upgradePlan");
- }}
- placeholder="123.456.789.0"
- />
- </FormControl>
- );
- }}
- />
- <IconButton
- onClick={() => {
- if (subscription?.ipAllowlisting) {
- removeTrustedIp(index);
- return;
- }
-
- handlePopUpOpen("upgradePlan");
- }}
- size="lg"
- colorSchema="danger"
- variant="plain"
- ariaLabel="update"
- className="p-3"
- >
- <FontAwesomeIcon icon={faXmark} />
- </IconButton>
- </div>
- ))}
- <div className="my-4 ml-1">
- <Button
- variant="outline_bg"
- onClick={() => {
- if (subscription?.ipAllowlisting) {
- appendTrustedIp({
- ipAddress: "0.0.0.0/0"
- })
- return;
- }
-
- handlePopUpOpen("upgradePlan");
- }}
- leftIcon={<FontAwesomeIcon icon={faPlus} />}
- size="xs"
- >
- Add IP Address
- </Button>
- </div>
- <Controller
- control={control}
- defaultValue="7200"
- name="accessTokenTTL"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Access Token TTL (seconds)"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="7200"
- />
- </FormControl>
- )}
- />
- <div className="mt-8">
- <Controller
- control={control}
- name="isRefreshTokenRotationEnabled"
- render={({ field: { onChange, value } }) => (
- <Switch
- id="label-refresh-token-rotation"
- onCheckedChange={(isChecked) => onChange(isChecked)}
- isChecked={value}
- >
- Refresh Token Rotation
- </Switch>
- )}
- />
- <p className="mt-4 text-sm font-normal text-mineshaft-400">When enabled, as a result of exchanging a refresh token, a new refresh token will be issued and the existing token will be invalidated.</p>
- </div>
- </div>
- </TabPanel>
- </Tabs>
- <div className="flex items-center">
- <Button
- className="mr-4"
- size="sm"
- type="submit"
- isLoading={isSubmitting}
- isDisabled={isSubmitting}
- >
- {popUp?.serviceTokenV3?.data ? "Update" : "Create"}
- </Button>
- <Button colorSchema="secondary" variant="plain">
- Cancel
- </Button>
- </div>
- </form>
- ) : (
- <div className="mt-2 mb-3 mr-2 flex items-center justify-end rounded-md bg-white/[0.07] p-2 text-base text-gray-400">
- <p className="mr-4 break-all">{newServiceTokenJSON}</p>
- <IconButton
- ariaLabel="copy icon"
- colorSchema="secondary"
- className="group relative"
- onClick={copyTokenToClipboard}
+ const hasServiceTokenJSON = Boolean(newServiceTokenJSON);
+
+ return (
+ <Modal
+ isOpen={popUp?.serviceTokenV3?.isOpen}
+ onOpenChange={(isOpen) => {
+ handlePopUpToggle("serviceTokenV3", isOpen);
+ reset();
+ setNewServiceTokenJSON("");
+ }}
+ >
+ <ModalContent title={`${popUp?.serviceTokenV3?.data ? "Update" : "Create"} Service Token V3`}>
+ {!hasServiceTokenJSON ? (
+ <form onSubmit={handleSubmit(onFormSubmit)}>
+ <Tabs defaultValue={TabSections.General}>
+ <TabList>
+ <div className="flex w-full flex-row border-b border-mineshaft-600">
+ <Tab value={TabSections.General}>General</Tab>
+ <Tab value={TabSections.Advanced}>Advanced</Tab>
+ </div>
+ </TabList>
+ <TabPanel value={TabSections.General}>
+ <motion.div
+ key="panel-1"
+ transition={{ duration: 0.15 }}
+ initial={{ opacity: 0, translateX: 30 }}
+ animate={{ opacity: 1, translateX: 0 }}
+ exit={{ opacity: 0, translateX: 30 }}
+ >
+ <Controller
+ control={control}
+ defaultValue=""
+ name="name"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl label="Name" isError={Boolean(error)} errorText={error?.message}>
+ <Input {...field} placeholder="My ST V3" />
+ </FormControl>
+ )}
+ />
+ <Controller
+ control={control}
+ name="role"
+ defaultValue=""
+ render={({ field: { onChange, ...field }, fieldState: { error } }) => (
+ <FormControl
+ label={`${popUp?.serviceTokenV3?.data ? "Update" : ""} Role`}
+ errorText={error?.message}
+ isError={Boolean(error)}
+ className="mt-4"
+ >
+ <Select
+ defaultValue={field.value}
+ {...field}
+ onValueChange={(e) => onChange(e)}
+ className="w-full"
+ >
+ {(roles || []).map(({ name, slug }) => (
+ <SelectItem value={slug} key={`st-role-${slug}`}>
+ {name}
+ </SelectItem>
+ ))}
+ </Select>
+ </FormControl>
+ )}
+ />
+ <Controller
+ control={control}
+ name="expiresIn"
+ defaultValue=""
+ render={({ field: { onChange, ...field }, fieldState: { error } }) => (
+ <FormControl
+ label={`${
+ popUp?.serviceTokenV3?.data ? "Update" : ""
+ } Refresh Token Expires In`}
+ errorText={error?.message}
+ isError={Boolean(error)}
+ className="mt-4"
+ >
+ <Select
+ defaultValue={field.value}
+ {...field}
+ onValueChange={(e) => onChange(e)}
+ className="w-full"
>
- <FontAwesomeIcon icon={isServiceTokenJSONCopied ? faCheck : faCopy} />
- <span className="absolute -left-8 -top-20 hidden w-28 translate-y-full rounded-md bg-bunker-800 py-2 pl-3 text-center text-sm text-gray-400 group-hover:flex group-hover:animate-fadeIn">
- Click to copy
- </span>
- </IconButton>
+ {expirations.map(({ label, value }) => (
+ <SelectItem
+ value={String(value || "")}
+ key={`api-key-expiration-${label}`}
+ >
+ {label}
+ </SelectItem>
+ ))}
+ </Select>
+ </FormControl>
+ )}
+ />
+ </motion.div>
+ </TabPanel>
+ <TabPanel value={TabSections.Advanced}>
+ <div>
+ {tokenTrustedIps.map(({ id }, index) => (
+ <div className="mb-3 flex items-end space-x-2" key={id}>
+ <Controller
+ control={control}
+ name={`trustedIps.${index}.ipAddress`}
+ defaultValue="0.0.0.0/0"
+ render={({ field, fieldState: { error } }) => {
+ return (
+ <FormControl
+ className="mb-0 flex-grow"
+ label={index === 0 ? "Trusted IP" : undefined}
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input
+ value={field.value}
+ onChange={(e) => {
+ if (subscription?.ipAllowlisting) {
+ field.onChange(e);
+ return;
+ }
+
+ handlePopUpOpen("upgradePlan");
+ }}
+ placeholder="123.456.789.0"
+ />
+ </FormControl>
+ );
+ }}
+ />
+ <IconButton
+ onClick={() => {
+ if (subscription?.ipAllowlisting) {
+ removeTrustedIp(index);
+ return;
+ }
+
+ handlePopUpOpen("upgradePlan");
+ }}
+ size="lg"
+ colorSchema="danger"
+ variant="plain"
+ ariaLabel="update"
+ className="p-3"
+ >
+ <FontAwesomeIcon icon={faXmark} />
+ </IconButton>
</div>
- )}
- <UpgradePlanModal
- isOpen={popUp?.upgradePlan?.isOpen}
- onOpenChange={(isOpen) => handlePopUpToggle("upgradePlan", isOpen)}
- text="You can use IP allowlisting if you switch to Infisical's Pro plan."
- />
- </ModalContent>
- </Modal>
- );
-}
\ No newline at end of file
+ ))}
+ <div className="my-4 ml-1">
+ <Button
+ variant="outline_bg"
+ onClick={() => {
+ if (subscription?.ipAllowlisting) {
+ appendTrustedIp({
+ ipAddress: "0.0.0.0/0"
+ });
+ return;
+ }
+
+ handlePopUpOpen("upgradePlan");
+ }}
+ leftIcon={<FontAwesomeIcon icon={faPlus} />}
+ size="xs"
+ >
+ Add IP Address
+ </Button>
+ </div>
+ <Controller
+ control={control}
+ defaultValue="7200"
+ name="accessTokenTTL"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl
+ label="Access Token TTL (seconds)"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} placeholder="7200" />
+ </FormControl>
+ )}
+ />
+ <div className="mt-8">
+ <Controller
+ control={control}
+ name="isRefreshTokenRotationEnabled"
+ render={({ field: { onChange, value } }) => (
+ <Switch
+ id="label-refresh-token-rotation"
+ onCheckedChange={(isChecked) => onChange(isChecked)}
+ isChecked={value}
+ >
+ Refresh Token Rotation
+ </Switch>
+ )}
+ />
+ <p className="mt-4 text-sm font-normal text-mineshaft-400">
+ When enabled, as a result of exchanging a refresh token, a new refresh token
+ will be issued and the existing token will be invalidated.
+ </p>
+ </div>
+ </div>
+ </TabPanel>
+ </Tabs>
+ <div className="flex items-center">
+ <Button
+ className="mr-4"
+ size="sm"
+ type="submit"
+ isLoading={isSubmitting}
+ isDisabled={isSubmitting}
+ >
+ {popUp?.serviceTokenV3?.data ? "Update" : "Create"}
+ </Button>
+ <Button colorSchema="secondary" variant="plain">
+ Cancel
+ </Button>
+ </div>
+ </form>
+ ) : (
+ <div className="mt-2 mb-3 mr-2 flex items-center justify-end rounded-md bg-white/[0.07] p-2 text-base text-gray-400">
+ <p className="mr-4 break-all">{newServiceTokenJSON}</p>
+ <IconButton
+ ariaLabel="copy icon"
+ colorSchema="secondary"
+ className="group relative"
+ onClick={copyTokenToClipboard}
+ >
+ <FontAwesomeIcon icon={isServiceTokenJSONCopied ? faCheck : faCopy} />
+ <span className="absolute -left-8 -top-20 hidden w-28 translate-y-full rounded-md bg-bunker-800 py-2 pl-3 text-center text-sm text-gray-400 group-hover:flex group-hover:animate-fadeIn">
+ Click to copy
+ </span>
+ </IconButton>
+ </div>
+ )}
+ <UpgradePlanModal
+ isOpen={popUp?.upgradePlan?.isOpen}
+ onOpenChange={(isOpen) => handlePopUpToggle("upgradePlan", isOpen)}
+ text="You can use IP allowlisting if you switch to Infisical's Pro plan."
+ />
+ </ModalContent>
+ </Modal>
+ );
+};
diff --git a/frontend/src/views/Project/MembersPage/components/ServiceTokenTab/components/ServiceTokenV3Section/ServiceTokenV3Table.tsx b/frontend/src/views/Project/MembersPage/components/ServiceTokenTab/components/ServiceTokenV3Section/ServiceTokenV3Table.tsx
index 43fb841e34..4057d3f1d9 100644
--- a/frontend/src/views/Project/MembersPage/components/ServiceTokenTab/components/ServiceTokenV3Section/ServiceTokenV3Table.tsx
+++ b/frontend/src/views/Project/MembersPage/components/ServiceTokenTab/components/ServiceTokenV3Section/ServiceTokenV3Table.tsx
@@ -1,47 +1,44 @@
-import { faKey, faPencil,faXmark } from "@fortawesome/free-solid-svg-icons";
+import { faKey, faPencil, faXmark } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { format } from "date-fns";
import { useNotificationContext } from "@app/components/context/Notifications/NotificationProvider";
import { ProjectPermissionCan } from "@app/components/permissions";
import {
- EmptyState,
- IconButton,
- Switch,
- Table,
- TableContainer,
- TableSkeleton,
- TBody,
- Td,
- Th,
- THead,
- Tr
+ EmptyState,
+ IconButton,
+ Switch,
+ Table,
+ TableContainer,
+ TableSkeleton,
+ TBody,
+ Td,
+ Th,
+ THead,
+ Tr
} from "@app/components/v2";
-import { ProjectPermissionActions, ProjectPermissionSub , useWorkspace } from "@app/context";
-import {
- useGetWorkspaceServiceTokenDataV3,
- useUpdateServiceTokenV3
-} from "@app/hooks/api";
-import { ServiceTokenV3TrustedIp } from "@app/hooks/api/serviceTokens/types"
+import { ProjectPermissionActions, ProjectPermissionSub, useWorkspace } from "@app/context";
+import { useGetWorkspaceServiceTokenDataV3, useUpdateServiceTokenV3 } from "@app/hooks/api";
+import { ServiceTokenV3TrustedIp } from "@app/hooks/api/serviceTokens/types";
import { UsePopUpState } from "@app/hooks/usePopUp";
type Props = {
- handlePopUpOpen: (
- popUpName: keyof UsePopUpState<["deleteServiceTokenV3", "serviceTokenV3"]>,
- data?: {
- serviceTokenDataId?: string;
- name?: string;
- role?: string;
- customRole?: {
- name: string;
- slug: string;
- };
- trustedIps?: ServiceTokenV3TrustedIp[];
- accessTokenTTL?: number;
- isRefreshTokenRotationEnabled?: boolean;
- }
- ) => void;
- };
+ handlePopUpOpen: (
+ popUpName: keyof UsePopUpState<["deleteServiceTokenV3", "serviceTokenV3"]>,
+ data?: {
+ serviceTokenDataId?: string;
+ name?: string;
+ role?: string;
+ customRole?: {
+ name: string;
+ slug: string;
+ };
+ trustedIps?: ServiceTokenV3TrustedIp[];
+ accessTokenTTL?: number;
+ isRefreshTokenRotationEnabled?: boolean;
+ }
+ ) => void;
+};
export const ServiceTokenV3Table = ({
handlePopUpOpen
@@ -51,30 +48,29 @@ export const ServiceTokenV3Table = ({
const { data, isLoading } = useGetWorkspaceServiceTokenDataV3(currentWorkspace?.id || "");
const { mutateAsync: updateMutateAsync } = useUpdateServiceTokenV3();
- const handleToggleServiceTokenDataStatus = async ({
+ const handleToggleServiceTokenDataStatus = async ({
+ serviceTokenDataId,
+ isActive
+ }: {
+ serviceTokenDataId: string;
+ isActive: boolean;
+ }) => {
+ try {
+ await updateMutateAsync({
serviceTokenDataId,
isActive
- }: {
- serviceTokenDataId: string;
- isActive: boolean;
- }) => {
- try {
- await updateMutateAsync({
- serviceTokenDataId,
- isActive
- });
+ });
- createNotification({
- text: `Successfully ${isActive ? "enabled" : "disabled"} service token v3`,
- type: "success"
- });
- } catch (err) {
- console.log(err);
- createNotification({
- text: `Failed to ${isActive ? "enable" : "disable"} service token v3`,
- type: "error"
- });
- }
+ createNotification({
+ text: `Successfully ${isActive ? "enabled" : "disabled"} service token v3`,
+ type: "success"
+ });
+ } catch (err) {
+ console.log(err);
+ createNotification({
+ text: `Failed to ${isActive ? "enable" : "disable"} service token v3`,
+ type: "error"
+ });
}
return (
@@ -203,16 +199,76 @@ export const ServiceTokenV3Table = ({
</Td>
</Tr>
);
- })}
- {!isLoading && data && data?.length === 0 && (
- <Tr>
- <Td colSpan={7}>
- <EmptyState title="No service token v3 on file" icon={faKey} />
- </Td>
- </Tr>
- )}
- </TBody>
- </Table>
- </TableContainer>
- );
-}
\ No newline at end of file
+ })}
+ </Td>
+ <Td>{accessTokenTTL}</Td>
+ <Td>{format(new Date(createdAt), "yyyy-MM-dd")}</Td>
+ <Td>{expiresAt ? format(new Date(expiresAt), "yyyy-MM-dd") : "-"}</Td>
+ <Td className="flex justify-end">
+ <ProjectPermissionCan
+ I={ProjectPermissionActions.Edit}
+ a={ProjectPermissionSub.ServiceTokens}
+ >
+ {(isAllowed) => (
+ <IconButton
+ onClick={async () => {
+ handlePopUpOpen("serviceTokenV3", {
+ serviceTokenDataId: id,
+ name,
+ role,
+ customRole,
+ trustedIps,
+ accessTokenTTL,
+ isRefreshTokenRotationEnabled
+ });
+ }}
+ size="lg"
+ colorSchema="primary"
+ variant="plain"
+ ariaLabel="update"
+ isDisabled={!isAllowed}
+ >
+ <FontAwesomeIcon icon={faPencil} />
+ </IconButton>
+ )}
+ </ProjectPermissionCan>
+ <ProjectPermissionCan
+ I={ProjectPermissionActions.Delete}
+ a={ProjectPermissionSub.ServiceTokens}
+ >
+ {(isAllowed) => (
+ <IconButton
+ onClick={() => {
+ handlePopUpOpen("deleteServiceTokenV3", {
+ serviceTokenDataId: id,
+ name
+ });
+ }}
+ size="lg"
+ colorSchema="danger"
+ variant="plain"
+ ariaLabel="update"
+ className="ml-4"
+ isDisabled={!isAllowed}
+ >
+ <FontAwesomeIcon icon={faXmark} />
+ </IconButton>
+ )}
+ </ProjectPermissionCan>
+ </Td>
+ </Tr>
+ );
+ }
+ )}
+ {!isLoading && data && data?.length === 0 && (
+ <Tr>
+ <Td colSpan={7}>
+ <EmptyState title="No service token v3 on file" icon={faKey} />
+ </Td>
+ </Tr>
+ )}
+ </TBody>
+ </Table>
+ </TableContainer>
+ );
+};
diff --git a/frontend/src/views/SecretApprovalPage/SecretApprovalPage.tsx b/frontend/src/views/SecretApprovalPage/SecretApprovalPage.tsx
index 5a96498971..ce1896efa4 100644
--- a/frontend/src/views/SecretApprovalPage/SecretApprovalPage.tsx
+++ b/frontend/src/views/SecretApprovalPage/SecretApprovalPage.tsx
@@ -18,18 +18,25 @@ export const SecretApprovalPage = () => {
const workspaceId = currentWorkspace?.id || "";
return (
- <div className="container mx-auto bg-bunker-800 text-white w-full h-full max-w-7xl px-6">
- <div className="py-6 flex justify-between items-center">
- <div className="flex flex-col w-full">
+ <div className="container mx-auto h-full w-full max-w-7xl bg-bunker-800 px-6 text-white">
+ <div className="flex items-center justify-between py-6">
+ <div className="flex w-full flex-col">
<h2 className="text-3xl font-semibold text-gray-200">Secret Approval Workflows</h2>
- <p className="text-bunker-300">Create approval policies for any modifications to secrets in sensitive environments and folders.</p>
+ <p className="text-bunker-300">
+ Create approval policies for any modifications to secrets in sensitive environments and
+ folders.
+ </p>
</div>
- <div className="flex justify-center w-max">
+ <div className="flex w-max justify-center">
<Link href="https://infisical.com/docs/documentation/platform/pr-workflows">
- <span className="rounded-md px-4 py-2 w-max text-mineshaft-200 hover:text-white bg-mineshaft-600 border border-mineshaft-500 hover:bg-primary/10 hover:border-primary/40 duration-200 cursor-pointer">
- Documentation <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="text-xs mb-[0.06rem] ml-1"/>
+ <span className="w-max cursor-pointer rounded-md border border-mineshaft-500 bg-mineshaft-600 px-4 py-2 text-mineshaft-200 duration-200 hover:border-primary/40 hover:bg-primary/10 hover:text-white">
+ Documentation{" "}
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="mb-[0.06rem] ml-1 text-xs"
+ />
</span>
- </Link>
+ </Link>
</div>
</div>
<Tabs defaultValue={TabSection.ApprovalRequests}>
diff --git a/frontend/src/views/SecretApprovalPage/components/SecretApprovalPolicyList/SecretApprovalPolicyList.tsx b/frontend/src/views/SecretApprovalPage/components/SecretApprovalPolicyList/SecretApprovalPolicyList.tsx
index 2ea6a67f8d..27f649bdd8 100644
--- a/frontend/src/views/SecretApprovalPage/components/SecretApprovalPolicyList/SecretApprovalPolicyList.tsx
+++ b/frontend/src/views/SecretApprovalPage/components/SecretApprovalPolicyList/SecretApprovalPolicyList.tsx
@@ -59,7 +59,7 @@ export const SecretApprovalPolicyList = ({ workspaceId }: Props) => {
const { mutateAsync: deleteSecretApprovalPolicy } = useDeleteSecretApprovalPolicy();
const handleDeletePolicy = async () => {
- const { id: id } = popUp.deletePolicy.data as TSecretApprovalPolicy;
+ const { id } = popUp.deletePolicy.data as TSecretApprovalPolicy;
try {
await deleteSecretApprovalPolicy({
workspaceId,
@@ -81,10 +81,10 @@ export const SecretApprovalPolicyList = ({ workspaceId }: Props) => {
return (
<div>
- <div className="flex justify-between mb-6">
+ <div className="mb-6 flex justify-between">
<div className="flex flex-col">
<span className="text-xl font-semibold text-mineshaft-100">Approval Policies</span>
- <div className="text-bunker-300 mt-2 text-sm">
+ <div className="mt-2 text-sm text-bunker-300">
Implement policies to prevent unauthorized secret changes.
</div>
</div>
diff --git a/frontend/src/views/SecretApprovalPage/components/SecretApprovalPolicyList/components/SecretApprovalPolicyRow.tsx b/frontend/src/views/SecretApprovalPage/components/SecretApprovalPolicyList/components/SecretApprovalPolicyRow.tsx
index 2ed186272d..d4d85927b9 100644
--- a/frontend/src/views/SecretApprovalPage/components/SecretApprovalPolicyList/components/SecretApprovalPolicyRow.tsx
+++ b/frontend/src/views/SecretApprovalPage/components/SecretApprovalPolicyList/components/SecretApprovalPolicyRow.tsx
@@ -50,7 +50,7 @@ export const SecretApprovalPolicyRow = ({
updateSecretApprovalPolicy(
{
workspaceId,
- id: policy._id,
+ id: policy.id,
approvers: selectedApprovers
},
{
@@ -81,18 +81,20 @@ export const SecretApprovalPolicyRow = ({
style={{ width: "var(--radix-dropdown-menu-trigger-width)" }}
align="start"
>
- <DropdownMenuLabel>Select members that are allowed to approve changes</DropdownMenuLabel>
- {members?.map(({ _id, user }) => {
- const isChecked = selectedApprovers.includes(_id);
+ <DropdownMenuLabel>
+ Select members that are allowed to approve changes
+ </DropdownMenuLabel>
+ {members?.map(({ id, user }) => {
+ const isChecked = selectedApprovers.includes(id);
return (
<DropdownMenuItem
onClick={(evt) => {
evt.preventDefault();
setSelectedApprovers((state) =>
- isChecked ? state.filter((el) => el !== _id) : [...state, _id]
+ isChecked ? state.filter((el) => el !== id) : [...state, id]
);
}}
- key={`create-policy-members-${_id}`}
+ key={`create-policy-members-${id}`}
iconPos="right"
icon={isChecked && <FontAwesomeIcon icon={faCheckCircle} />}
>
diff --git a/frontend/src/views/SecretApprovalPage/components/SecretApprovalPolicyList/components/SecretPolicyForm.tsx b/frontend/src/views/SecretApprovalPage/components/SecretApprovalPolicyList/components/SecretPolicyForm.tsx
index 35ce44aee0..5dc85f03fc 100644
--- a/frontend/src/views/SecretApprovalPage/components/SecretApprovalPolicyList/components/SecretPolicyForm.tsx
+++ b/frontend/src/views/SecretApprovalPage/components/SecretApprovalPolicyList/components/SecretPolicyForm.tsx
@@ -98,10 +98,10 @@ export const SecretPolicyForm = ({
};
const handleUpdatePolicy = async (data: TFormSchema) => {
- if (!editValues?._id) return;
+ if (!editValues?.id) return;
try {
await updateSecretApprovalPolicy({
- id: editValues?._id,
+ id: editValues?.id,
...data,
secretPath: data.secretPath || null,
workspaceId
@@ -199,20 +199,20 @@ export const SecretPolicyForm = ({
style={{ width: "var(--radix-dropdown-menu-trigger-width)" }}
align="start"
>
- <DropdownMenuLabel>Select members that are allowed to approve changes</DropdownMenuLabel>
- {members.map(({ _id, user }) => {
- const isChecked = value?.includes(_id);
+ <DropdownMenuLabel>
+ Select members that are allowed to approve changes
+ </DropdownMenuLabel>
+ {members.map(({ id, user }) => {
+ const isChecked = value?.includes(id);
return (
<DropdownMenuItem
onClick={(evt) => {
evt.preventDefault();
onChange(
- isChecked
- ? value?.filter((el) => el !== _id)
- : [...(value || []), _id]
+ isChecked ? value?.filter((el) => el !== id) : [...(value || []), id]
);
}}
- key={`create-policy-members-${_id}`}
+ key={`create-policy-members-${id}`}
iconPos="right"
icon={isChecked && <FontAwesomeIcon icon={faCheckCircle} />}
>
@@ -243,7 +243,7 @@ export const SecretPolicyForm = ({
</FormControl>
)}
/>
- <div className="flex mt-8 space-x-4 items-center">
+ <div className="mt-8 flex items-center space-x-4">
<Button type="submit" isLoading={isSubmitting} isDisabled={isSubmitting}>
Save
</Button>
diff --git a/frontend/src/views/SecretApprovalPage/components/SecretApprovalRequest/SecretApprovalRequest.tsx b/frontend/src/views/SecretApprovalPage/components/SecretApprovalRequest/SecretApprovalRequest.tsx
index f6a7345225..355c4319d5 100644
--- a/frontend/src/views/SecretApprovalPage/components/SecretApprovalRequest/SecretApprovalRequest.tsx
+++ b/frontend/src/views/SecretApprovalPage/components/SecretApprovalRequest/SecretApprovalRequest.tsx
@@ -34,7 +34,7 @@ import {
export const SecretApprovalRequest = () => {
const { currentWorkspace } = useWorkspace();
- const workspaceId = currentWorkspace?._id || "";
+ const workspaceId = currentWorkspace?.id || "";
const [selectedApproval, setSelectedApproval] = useState<TSecretApprovalRequest | null>(null);
// filters
@@ -60,10 +60,10 @@ export const SecretApprovalRequest = () => {
const { user: presentUser } = useUser();
const { data: members } = useGetWorkspaceUsers(workspaceId);
const membersGroupById = members?.reduce<Record<string, TWorkspaceUser>>(
- (prev, curr) => ({ ...prev, [curr._id]: curr }),
+ (prev, curr) => ({ ...prev, [curr.id]: curr }),
{}
);
- const myMembershipId = members?.find(({ user }) => user._id === presentUser?._id)?._id;
+ const myMembershipId = members?.find(({ user }) => user.id === presentUser.id)?.id;
const isSecretApprovalScreen = Boolean(selectedApproval);
const handleGoBackSecretRequestDetail = () => {
@@ -87,7 +87,7 @@ export const SecretApprovalRequest = () => {
<SecretApprovalRequestChanges
workspaceId={workspaceId}
members={membersGroupById}
- approvalRequestId={selectedApproval?._id || ""}
+ approvalRequestId={selectedApproval?.id || ""}
onGoBack={handleGoBackSecretRequestDetail}
committer={membersGroupById?.[selectedApproval?.committer || ""]}
/>
@@ -169,13 +169,11 @@ export const SecretApprovalRequest = () => {
</DropdownMenuTrigger>
<DropdownMenuContent align="end">
<DropdownMenuLabel>Select an author</DropdownMenuLabel>
- {members?.map(({ user, _id }) => (
+ {members?.map(({ user, id }) => (
<DropdownMenuItem
- onClick={() =>
- setCommitterFilter((state) => (state === _id ? undefined : _id))
- }
- key={`request-filter-member-${_id}`}
- icon={committerFilter === _id && <FontAwesomeIcon icon={faCheckCircle} />}
+ onClick={() => setCommitterFilter((state) => (state === id ? undefined : id))}
+ key={`request-filter-member-${id}`}
+ icon={committerFilter === id && <FontAwesomeIcon icon={faCheckCircle} />}
iconPos="right"
>
{user.email}
@@ -195,7 +193,7 @@ export const SecretApprovalRequest = () => {
<Fragment key={`secret-approval-request-${i + 1}`}>
{group?.map((secretApproval) => {
const {
- _id: reqId,
+ id: reqId,
commits,
committer,
createdAt,
diff --git a/frontend/src/views/SecretApprovalPage/components/SecretApprovalRequest/components/SecretApprovalRequestChangeItem.tsx b/frontend/src/views/SecretApprovalPage/components/SecretApprovalRequest/components/SecretApprovalRequestChangeItem.tsx
index 99d06c9c13..69223e1d5b 100644
--- a/frontend/src/views/SecretApprovalPage/components/SecretApprovalRequest/components/SecretApprovalRequestChangeItem.tsx
+++ b/frontend/src/views/SecretApprovalPage/components/SecretApprovalRequest/components/SecretApprovalRequestChangeItem.tsx
@@ -58,17 +58,17 @@ export const SecretApprovalRequestChangeItem = ({
const hasConflict = Boolean(itemConflict);
return (
- <div className="bg-bunker-500 rounded-lg pt-2 pb-4 px-4">
- <div className="py-3 px-1 flex items-center">
+ <div className="rounded-lg bg-bunker-500 px-4 pt-2 pb-4">
+ <div className="flex items-center py-3 px-1">
<div className="flex-grow">{generateItemTitle(op)}</div>
{!hasMerged && isStale && (
<div className="flex items-center">
- <FontAwesomeIcon icon={faInfo} className="text-primary-600 text-sm" />
- <span className="text-xs ml-2">Secret has been changed(stale)</span>
+ <FontAwesomeIcon icon={faInfo} className="text-sm text-primary-600" />
+ <span className="ml-2 text-xs">Secret has been changed(stale)</span>
</div>
)}
{hasMerged && hasConflict && (
- <div className="flex items-center text-sm text-bunker-300 space-x-2">
+ <div className="flex items-center space-x-2 text-sm text-bunker-300">
<Tooltip content="Merge Conflict">
<FontAwesomeIcon icon={faExclamationTriangle} className="text-red-700" />
</Tooltip>
@@ -99,11 +99,11 @@ export const SecretApprovalRequestChangeItem = ({
<Td>
{secretVersion?.tags?.map(({ name, id: tagId, tagColor }) => (
<Tag
- className="flex items-center space-x-2 w-min"
+ className="flex w-min items-center space-x-2"
key={`${secretVersion.id}-${tagId}`}
>
<div
- className="w-3 h-3 rounded-full"
+ className="h-3 w-3 rounded-full"
style={{ backgroundColor: tagColor || "#bec2c8" }}
/>
<div className="text-sm">{name}</div>
@@ -121,11 +121,11 @@ export const SecretApprovalRequestChangeItem = ({
<Td>
{newVersion?.tags?.map(({ name, id: tagId, tagColor }) => (
<Tag
- className="flex items-center space-x-2 w-min"
+ className="flex w-min items-center space-x-2"
key={`${newVersion.id}-${tagId}`}
>
<div
- className="w-3 h-3 rounded-full"
+ className="h-3 w-3 rounded-full"
style={{ backgroundColor: tagColor || "#bec2c8" }}
/>
<div className="text-sm">{name}</div>
@@ -153,13 +153,13 @@ export const SecretApprovalRequestChangeItem = ({
{(op === CommitType.CREATE ? newVersion?.tags : secretVersion?.tags)?.map(
({ name, id: tagId, tagColor }) => (
<Tag
- className="flex items-center space-x-2 w-min"
+ className="flex w-min items-center space-x-2"
key={`${
op === CommitType.CREATE ? newVersion?.id : secretVersion?.id
}-${tagId}`}
>
<div
- className="w-3 h-3 rounded-full"
+ className="h-3 w-3 rounded-full"
style={{ backgroundColor: tagColor || "#bec2c8" }}
/>
<div className="text-sm">{name}</div>
diff --git a/frontend/src/views/SecretApprovalPage/components/SecretApprovalRequest/components/SecretApprovalRequestChanges.tsx b/frontend/src/views/SecretApprovalPage/components/SecretApprovalRequest/components/SecretApprovalRequestChanges.tsx
index 4818b3cca8..86cb26073d 100644
--- a/frontend/src/views/SecretApprovalPage/components/SecretApprovalRequest/components/SecretApprovalRequestChanges.tsx
+++ b/frontend/src/views/SecretApprovalPage/components/SecretApprovalRequest/components/SecretApprovalRequestChanges.tsx
@@ -107,7 +107,7 @@ export const SecretApprovalRequestChanges = ({
const myMembership = Object.values(members).find(
({ user: membershipUser }) => membershipUser.email === user.email
);
- const myMembershipId = myMembership?._id || "";
+ const myMembershipId = myMembership?.id || "";
const canApprove = secretApprovalRequestDetails?.policy?.approvers?.includes(myMembershipId);
const reviewedMembers = secretApprovalRequestDetails?.reviewers?.reduce<
Record<string, ApprovalStatus>
@@ -226,7 +226,7 @@ export const SecretApprovalRequestChanges = ({
secretVersion={secretVersion}
presentSecretVersionNumber={secret?.version || 0}
newVersion={newVersion}
- key={`${op}-${index + 1}-${secretVersion?._id}`}
+ key={`${op}-${index + 1}-${secretVersion?.id}`}
/>
)
)}
@@ -234,7 +234,7 @@ export const SecretApprovalRequestChanges = ({
<div className="mt-8 flex items-center space-x-6 rounded-lg bg-mineshaft-800 px-5 py-6">
<SecretApprovalRequestAction
canApprove={canApprove}
- approvalRequestId={secretApprovalRequestDetails._id}
+ approvalRequestId={secretApprovalRequestDetails.id}
hasMerged={hasMerged}
approvals={secretApprovalRequestDetails.policy.approvals || 0}
status={secretApprovalRequestDetails.status}
diff --git a/frontend/src/views/SecretMainPage/SecretMainPage.tsx b/frontend/src/views/SecretMainPage/SecretMainPage.tsx
index 6381fea7cd..2c85ba9161 100644
--- a/frontend/src/views/SecretMainPage/SecretMainPage.tsx
+++ b/frontend/src/views/SecretMainPage/SecretMainPage.tsx
@@ -205,7 +205,7 @@ export const SecretMainPage = () => {
return (
<StoreProvider>
- <div className="container flex flex-col mx-auto h-full px-6 text-mineshaft-50 dark:[color-scheme:dark]">
+ <div className="container mx-auto flex h-full flex-col px-6 text-mineshaft-50 dark:[color-scheme:dark]">
<div className="relative right-6 -top-2 mb-2 ml-6">
<NavHeader
pageName={t("dashboard.title")}
@@ -238,13 +238,13 @@ export const SecretMainPage = () => {
isSnapshotCountLoading={isSnapshotCountLoading}
onClickRollbackMode={() => handlePopUpToggle("snapshots", true)}
/>
- <div className="mt-3 overflow-y-auto overflow-x-hidden thin-scrollbar bg-mineshaft-800 text-left text-bunker-300 rounded-md text-sm">
+ <div className="thin-scrollbar mt-3 overflow-y-auto overflow-x-hidden rounded-md bg-mineshaft-800 text-left text-sm text-bunker-300">
<div className="flex flex-col" id="dashboard">
{isNotEmtpy && (
- <div className="flex font-medium border-b border-mineshaft-600">
- <div style={{ width: "2.8rem" }} className="px-4 py-3 flex-shrink-0" />
+ <div className="flex border-b border-mineshaft-600 font-medium">
+ <div style={{ width: "2.8rem" }} className="flex-shrink-0 px-4 py-3" />
<div
- className="w-80 flex-shrink-0 border-r flex items-center border-mineshaft-600 px-4 py-2"
+ className="flex w-80 flex-shrink-0 items-center border-r border-mineshaft-600 px-4 py-2"
role="button"
tabIndex={0}
onClick={handleSortToggle}
diff --git a/frontend/src/views/SecretMainPage/components/ActionBar/ActionBar.tsx b/frontend/src/views/SecretMainPage/components/ActionBar/ActionBar.tsx
index e530ea68fa..bb75d496b9 100644
--- a/frontend/src/views/SecretMainPage/components/ActionBar/ActionBar.tsx
+++ b/frontend/src/views/SecretMainPage/components/ActionBar/ActionBar.tsx
@@ -188,7 +188,7 @@ export const ActionBar = ({
return (
<>
- <div className="flex items-center space-x-2 mt-4">
+ <div className="mt-4 flex items-center space-x-2">
<div className="w-2/5">
<Input
className="bg-mineshaft-800 placeholder-mineshaft-50 duration-200 focus:bg-mineshaft-700/80"
@@ -206,7 +206,7 @@ export const ActionBar = ({
ariaLabel="Download"
className={twMerge(
"transition-all",
- Object.keys(filter.tags).length && "text-primary border-primary/50"
+ Object.keys(filter.tags).length && "border-primary/50 text-primary"
)}
>
<FontAwesomeIcon icon={faFilter} />
@@ -245,7 +245,7 @@ export const ActionBar = ({
>
<div className="flex items-center">
<div
- className="w-2 h-2 rounded-full mr-2"
+ className="mr-2 h-2 w-2 rounded-full"
style={{ background: tagColor || "#bec2c8" }}
/>
{name}
@@ -304,7 +304,7 @@ export const ActionBar = ({
variant="outline_bg"
leftIcon={<FontAwesomeIcon icon={faPlus} />}
onClick={() => openPopUp(PopUpNames.CreateSecretForm)}
- className="rounded-r-none h-10"
+ className="h-10 rounded-r-none"
isDisabled={!isAllowed}
>
Add Secret
@@ -326,7 +326,7 @@ export const ActionBar = ({
</IconButton>
</DropdownMenuTrigger>
<DropdownMenuContent align="end">
- <div className="p-1.5 flex flex-col space-y-1">
+ <div className="flex flex-col space-y-1 p-1.5">
<ProjectPermissionCan
I={ProjectPermissionActions.Create}
a={subject(ProjectPermissionSub.Secrets, { environment, secretPath })}
@@ -374,17 +374,17 @@ export const ActionBar = ({
</div>
<div
className={twMerge(
- "overflow-hidden transition-all h-0 flex-shrink-0",
+ "h-0 flex-shrink-0 overflow-hidden transition-all",
isMultiSelectActive && "h-16"
)}
>
- <div className="text-bunker-300 flex items-center bg-mineshaft-800 mt-3.5 py-2 px-4 rounded-md border border-mineshaft-600">
+ <div className="mt-3.5 flex items-center rounded-md border border-mineshaft-600 bg-mineshaft-800 py-2 px-4 text-bunker-300">
<Tooltip content="Clear">
<IconButton variant="plain" ariaLabel="clear-selection" onClick={resetSelectedSecret}>
<FontAwesomeIcon icon={faMinusSquare} size="lg" />
</IconButton>
</Tooltip>
- <div className="text-sm ml-4 px-2 flex-grow">
+ <div className="ml-4 flex-grow px-2 text-sm">
{Object.keys(selectedSecrets).length} Selected
</div>
<ProjectPermissionCan
diff --git a/frontend/src/views/SecretMainPage/components/SecretDropzone/CopySecretsFromBoard.tsx b/frontend/src/views/SecretMainPage/components/SecretDropzone/CopySecretsFromBoard.tsx
index 9606f8141c..574b8da946 100644
--- a/frontend/src/views/SecretMainPage/components/SecretDropzone/CopySecretsFromBoard.tsx
+++ b/frontend/src/views/SecretMainPage/components/SecretDropzone/CopySecretsFromBoard.tsx
@@ -199,7 +199,7 @@ export const CopySecretsFromBoard = ({
<div className="border-t border-mineshaft-600 pt-4">
<div className="mb-4 flex items-center justify-between">
<div>Secrets</div>
- <div className="w-1/2 flex items-center space-x-2">
+ <div className="flex w-1/2 items-center space-x-2">
<Input
placeholder="Search for secret"
value={searchFilter}
@@ -232,7 +232,7 @@ export const CopySecretsFromBoard = ({
{!isSecretsLoading && !secrets?.length && (
<EmptyState title="No secrets found" icon={faKey} />
)}
- <div className="grid grid-cols-2 gap-4 max-h-64 overflow-auto thin-scrollbar ">
+ <div className="thin-scrollbar grid max-h-64 grid-cols-2 gap-4 overflow-auto ">
{isSecretsLoading &&
Array.apply(0, Array(2)).map((_x, i) => (
<Skeleton key={`secret-pull-loading-${i + 1}`} className="bg-mineshaft-700" />
diff --git a/frontend/src/views/SecretMainPage/components/SecretListView/SecretDetaiSidebar.tsx b/frontend/src/views/SecretMainPage/components/SecretListView/SecretDetaiSidebar.tsx
index 1c8063f430..4b022e9eea 100644
--- a/frontend/src/views/SecretMainPage/components/SecretListView/SecretDetaiSidebar.tsx
+++ b/frontend/src/views/SecretMainPage/components/SecretListView/SecretDetaiSidebar.tsx
@@ -165,7 +165,7 @@ export const SecretDetailSidebar = ({
>
<DrawerContent title="Secret">
<form onSubmit={handleSubmit(handleFormSubmit)} className="h-full">
- <div className="flex flex-col h-full">
+ <div className="flex h-full flex-col">
<FormControl label="Key">
<Input isDisabled {...register("key")} />
</FormControl>
@@ -226,22 +226,22 @@ export const SecretDetailSidebar = ({
/>
)}
<FormControl label="Tags" className="">
- <div className="overflow-hidden grid gap-2 grid-flow-col auto-cols-min pt-2">
+ <div className="grid auto-cols-min grid-flow-col gap-2 overflow-hidden pt-2">
{fields.map(({ tagColor, id: formId, name, id }) => (
<Tag
- className="flex items-center space-x-2 w-min"
+ className="flex w-min items-center space-x-2"
key={formId}
onClose={() => {
if (cannotEditSecret) {
createNotification({ type: "error", text: "Access denied" });
return;
}
- const tag = tags?.find(({ id: id }) => id === id);
+ const tag = tags?.find(({ id: tagId }) => id === tagId);
if (tag) handleTagSelect(tag);
}}
>
<div
- className="w-3 h-3 rounded-full"
+ className="h-3 w-3 rounded-full"
style={{ backgroundColor: tagColor || "#bec2c8" }}
/>
<div className="text-sm">{name}</div>
@@ -281,7 +281,7 @@ export const SecretDetailSidebar = ({
>
<div className="flex items-center">
<div
- className="w-2 h-2 rounded-full mr-2"
+ className="mr-2 h-2 w-2 rounded-full"
style={{ background: tagColor || "#bec2c8" }}
/>
{name}
@@ -352,7 +352,7 @@ export const SecretDetailSidebar = ({
)}
/>
</div>
- <div className="dark mb-4 text-sm text-bunker-300 flex-grow">
+ <div className="dark mb-4 flex-grow text-sm text-bunker-300">
<div className="mb-2">Version History</div>
<div className="flex h-48 flex-col space-y-2 overflow-y-auto overflow-x-hidden rounded-md border border-mineshaft-600 bg-bunker-800 p-2 dark:[color-scheme:dark]">
{secretVersion?.map(({ createdAt, value, id }, i) => (
@@ -372,7 +372,7 @@ export const SecretDetailSidebar = ({
</div>
</div>
<div className="flex flex-col space-y-4">
- <div className="flex space-x-4 items-center">
+ <div className="flex items-center space-x-4">
<ProjectPermissionCan
I={ProjectPermissionActions.Edit}
a={subject(ProjectPermissionSub.Secrets, { environment, secretPath })}
diff --git a/frontend/src/views/SecretMainPage/components/SecretListView/SecretListView.tsx b/frontend/src/views/SecretMainPage/components/SecretListView/SecretListView.tsx
index 2a52329304..5054fbad4b 100644
--- a/frontend/src/views/SecretMainPage/components/SecretListView/SecretListView.tsx
+++ b/frontend/src/views/SecretMainPage/components/SecretListView/SecretListView.tsx
@@ -72,7 +72,7 @@ export const filterSecrets = (secrets: DecryptedSecret[], filter: Filter) =>
const isTagFilterActive = Boolean(Object.keys(filter.tags).length);
const searchTerm = filter.searchFilter.toLowerCase();
return (
- (!isTagFilterActive || tags.some(({ _id }) => filter.tags?.[_id])) &&
+ (!isTagFilterActive || tags.some(({ id }) => filter.tags?.[id])) &&
(key.toLowerCase().includes(searchTerm) || value.toLowerCase().includes(searchTerm))
);
});
@@ -191,7 +191,7 @@ export const SecretListView = ({
const handleSaveSecret = useCallback(
async (
orgSecret: DecryptedSecret,
- modSecret: Omit<DecryptedSecret, "tags"> & { tags: { _id: string }[] },
+ modSecret: Omit<DecryptedSecret, "tags"> & { tags: { id: string }[] },
cb?: () => void
) => {
const { key: oldKey } = orgSecret;
@@ -208,8 +208,8 @@ export const SecretListView = ({
} = modSecret;
const hasKeyChanged = oldKey !== key;
- const tagIds = tags.map(({ _id }) => _id);
- const oldTagIds = orgSecret.tags.map(({ _id }) => _id);
+ const tagIds = tags.map(({ id }) => id);
+ const oldTagIds = orgSecret.tags.map(({ id }) => id);
const isSameTags = JSON.stringify(tagIds) === JSON.stringify(oldTagIds);
const isSharedSecUnchanged =
(
@@ -248,7 +248,7 @@ export const SecretListView = ({
comment,
reminderRepeatDays,
reminderNote,
- secretId: orgSecret._id,
+ secretId: orgSecret.id,
newKey: hasKeyChanged ? key : undefined,
skipMultilineEncoding: modSecret.skipMultilineEncoding
});
@@ -283,7 +283,7 @@ export const SecretListView = ({
);
const handleSecretDelete = useCallback(async () => {
- const { key, _id: secretId } = popUp.deleteSecret?.data as DecryptedSecret;
+ const { key, id: secretId } = popUp.deleteSecret?.data as DecryptedSecret;
try {
await handleSecretOperation("delete", "shared", key, { secretId });
// wrap this in another function and then reuse
@@ -346,11 +346,11 @@ export const SecretListView = ({
environment={environment}
secretPath={secretPath}
tags={wsTags}
- isSelected={selectedSecrets?.[secret._id]}
+ isSelected={selectedSecrets?.[secret.id]}
onToggleSecretSelect={toggleSelectedSecret}
isVisible={isVisible}
secret={secret}
- key={secret._id}
+ key={secret.id}
onSaveSecret={handleSaveSecret}
onDeleteSecret={onDeleteSecret}
onDetailViewSecret={onDetailViewSecret}
diff --git a/frontend/src/views/SecretMainPage/components/SnapshotView/SecretItem.tsx b/frontend/src/views/SecretMainPage/components/SnapshotView/SecretItem.tsx
index 2b0110ee77..977924c6b2 100644
--- a/frontend/src/views/SecretMainPage/components/SnapshotView/SecretItem.tsx
+++ b/frontend/src/views/SecretMainPage/components/SnapshotView/SecretItem.tsx
@@ -60,7 +60,7 @@ export const SecretItem = ({ mode, preSecret, postSecret }: Props) => {
return (
<>
<div
- className="flex group border-b border-mineshaft-600 hover:bg-mineshaft-700 cursor-pointer"
+ className="group flex cursor-pointer border-b border-mineshaft-600 hover:bg-mineshaft-700"
role="button"
tabIndex={0}
onClick={setIsExpanded.toggle}
@@ -74,17 +74,17 @@ export const SecretItem = ({ mode, preSecret, postSecret }: Props) => {
<div className="w-12 flex-shrink-0 px-4 py-3">
<FontAwesomeIcon icon={faKey} />
</div>
- <div className="flex-grow px-4 py-3 flex items-center space-x-4">
+ <div className="flex flex-grow items-center space-x-4 px-4 py-3">
{mode === "modified" ? (
<>
<div>{preSecret?.key}</div>
- <div className="bg-primary text-black rounded-lg font-bold px-1 py-0.5 text-xs">
+ <div className="rounded-lg bg-primary px-1 py-0.5 text-xs font-bold text-black">
v{preSecret?.version}
</div>
<div>
<FontAwesomeIcon icon={faChevronRight} size="sm" className="text-orange-700" />
</div>
- <div className="bg-primary text-black rounded-lg font-bold px-1 py-0.5 text-xs">
+ <div className="rounded-lg bg-primary px-1 py-0.5 text-xs font-bold text-black">
v{postSecret?.version}
</div>
</>
@@ -94,7 +94,7 @@ export const SecretItem = ({ mode, preSecret, postSecret }: Props) => {
</div>
</div>
{isExpanded && (
- <div className="flex bg-bunker-600 cursor-pointer p-4">
+ <div className="flex cursor-pointer bg-bunker-600 p-4">
<TableContainer>
<Table>
<THead>
@@ -153,11 +153,11 @@ export const SecretItem = ({ mode, preSecret, postSecret }: Props) => {
<Td className="border-r border-mineshaft-600">
{preSecret?.tags?.map(({ name, id: tagId, tagColor }) => (
<Tag
- className="flex items-center space-x-2 w-min"
+ className="flex w-min items-center space-x-2"
key={`${preSecret.id}-${tagId}`}
>
<div
- className="w-3 h-3 rounded-full"
+ className="h-3 w-3 rounded-full"
style={{ backgroundColor: tagColor || "#bec2c8" }}
/>
<div className="text-sm">{name}</div>
@@ -168,11 +168,11 @@ export const SecretItem = ({ mode, preSecret, postSecret }: Props) => {
<Td>
{postSecret?.tags?.map(({ name, id: tagId, tagColor }) => (
<Tag
- className="flex items-center space-x-2 w-min"
+ className="flex w-min items-center space-x-2"
key={`${postSecret.id}-${tagId}`}
>
<div
- className="w-3 h-3 rounded-full"
+ className="h-3 w-3 rounded-full"
style={{ backgroundColor: tagColor || "#bec2c8" }}
/>
<div className="text-sm">{name}</div>
diff --git a/frontend/src/views/SecretMainPage/components/SnapshotView/SnapshotView.tsx b/frontend/src/views/SecretMainPage/components/SnapshotView/SnapshotView.tsx
index 9c2ea32d16..4235cd2a30 100644
--- a/frontend/src/views/SecretMainPage/components/SnapshotView/SnapshotView.tsx
+++ b/frontend/src/views/SecretMainPage/components/SnapshotView/SnapshotView.tsx
@@ -98,7 +98,7 @@ export const SnapshotView = ({
);
const diffView: Array<TDiffView<DecryptedSecret>> = [];
rollingSecrets.forEach((rollSecret) => {
- const { id: id } = rollSecret;
+ const { id } = rollSecret;
const doesExist = Boolean(secretGroupById?.[id]);
if (doesExist) {
diffView.push({
@@ -154,11 +154,11 @@ export const SnapshotView = ({
return (
<>
- <div className="flex space-x-4 items-center">
+ <div className="flex items-center space-x-4">
<h6 className="text-2xl">Snapshot</h6>
<Tag colorSchema="green">{new Date(snapshotData?.createdAt || "").toLocaleString()}</Tag>
</div>
- <div className="flex items-center space-x-2 mt-4">
+ <div className="mt-4 flex items-center space-x-2">
<div className="w-2/5">
<Input
className="bg-mineshaft-800 placeholder-mineshaft-50 duration-200 focus:bg-mineshaft-700/80"
@@ -210,19 +210,19 @@ export const SnapshotView = ({
</ProjectPermissionCan>
</div>
</div>
- <div className="mt-4 bg-mineshaft-800 text-left text-bunker-300 rounded-md text-sm">
+ <div className="mt-4 rounded-md bg-mineshaft-800 text-left text-sm text-bunker-300">
<div className="flex flex-col ">
- <div className="flex font-medium border-b border-mineshaft-600">
+ <div className="flex border-b border-mineshaft-600 font-medium">
<div className="w-12 flex-shrink-0" />
<div className="w-12 flex-shrink-0" />
- <div className="flex-grow px-4 py-2 flex items-center">Changes</div>
+ <div className="flex flex-grow items-center px-4 py-2">Changes</div>
</div>
{folderDiffView
.sort((a, b) => a.post.name.toLowerCase().localeCompare(b.post.name.toLowerCase()))
.filter((a) => a.post.name.toLowerCase().includes(search.toLowerCase()))
.map(({ mode, pre, post }, index) => (
<div
- className="flex group border-b border-mineshaft-600 hover:bg-mineshaft-700 cursor-pointer"
+ className="group flex cursor-pointer border-b border-mineshaft-600 hover:bg-mineshaft-700"
key={`folder-${mode}-${index + 1}`}
>
<div className="w-12 flex-shrink-0 px-4 py-3">
@@ -231,7 +231,7 @@ export const SnapshotView = ({
<div className="w-12 flex-shrink-0 px-4 py-3">
<FontAwesomeIcon icon={faFolder} />
</div>
- <div className="flex-grow px-4 py-3 flex items-center space-x-4">
+ <div className="flex flex-grow items-center space-x-4 px-4 py-3">
{mode === "modified" ? (
<>
<div>{pre?.name}</div>
diff --git a/frontend/src/views/SecretRotationPage/SecretRotationPage.tsx b/frontend/src/views/SecretRotationPage/SecretRotationPage.tsx
index cdce4f0b12..19c0a50405 100644
--- a/frontend/src/views/SecretRotationPage/SecretRotationPage.tsx
+++ b/frontend/src/views/SecretRotationPage/SecretRotationPage.tsx
@@ -182,22 +182,28 @@ export const SecretRotationPage = withProjectPermission(
};
return (
- <div className="container mx-auto bg-bunker-800 text-white w-full h-full max-w-7xl px-6">
- <div className="py-6 flex justify-between items-center">
- <div className="flex flex-col w-full">
+ <div className="container mx-auto h-full w-full max-w-7xl bg-bunker-800 px-6 text-white">
+ <div className="flex items-center justify-between py-6">
+ <div className="flex w-full flex-col">
<h2 className="text-3xl font-semibold text-gray-200">Secret Rotation</h2>
- <p className="text-bunker-300">Stop manually rotating secrets and automate credential rotation.</p>
+ <p className="text-bunker-300">
+ Stop manually rotating secrets and automate credential rotation.
+ </p>
</div>
- <div className="flex justify-center w-max">
+ <div className="flex w-max justify-center">
<Link href="https://infisical.com/docs/documentation/platform/secret-rotation/overview">
- <span className="rounded-md px-4 py-2 w-max text-mineshaft-200 hover:text-white bg-mineshaft-600 border border-mineshaft-500 hover:bg-primary/10 hover:border-primary/40 duration-200 cursor-pointer">
- Documentation <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="text-xs mb-[0.06rem] ml-1"/>
+ <span className="w-max cursor-pointer rounded-md border border-mineshaft-500 bg-mineshaft-600 px-4 py-2 text-mineshaft-200 duration-200 hover:border-primary/40 hover:bg-primary/10 hover:text-white">
+ Documentation{" "}
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="mb-[0.06rem] ml-1 text-xs"
+ />
</span>
- </Link>
+ </Link>
</div>
</div>
<div className="mb-6">
- <div className="text-xl font-semibold text-gray-200 mb-2 mt-6">Rotated Secrets</div>
+ <div className="mb-2 mt-6 text-xl font-semibold text-gray-200">Rotated Secrets</div>
<div className="flex flex-col space-y-2">
<TableContainer>
<Table>
@@ -249,9 +255,9 @@ export const SecretRotationPage = withProjectPermission(
.toUpperCase()}
</Td>
<Td>
- <div className="flex items-center border border-bunker-400 rounded p-1 px-2 w-min">
+ <div className="flex w-min items-center rounded border border-bunker-400 p-1 px-2">
<div>{environment}</div>
- <div className="flex items-center border-l border-bunker-400 pl-1 ml-1 text-xs">
+ <div className="ml-1 flex items-center border-l border-bunker-400 pl-1 text-xs">
<FontAwesomeIcon icon={faFolder} className="mr-1" />
{secretPath}
</div>
@@ -278,7 +284,7 @@ export const SecretRotationPage = withProjectPermission(
: "-"}
</Td>
<Td>
- <div className="flex space-x-2 justify-end">
+ <div className="flex justify-end space-x-2">
<ProjectPermissionCan
I={ProjectPermissionActions.Edit}
a={ProjectPermissionSub.SecretRotation}
@@ -313,7 +319,7 @@ export const SecretRotationPage = withProjectPermission(
colorSchema="danger"
ariaLabel="delete-rotation"
isDisabled={isDeleting || !isAllowed}
- onClick={() => handlePopUpOpen("deleteRotation", { id: id })}
+ onClick={() => handlePopUpOpen("deleteRotation", { id })}
>
{isDeleting ? (
<Spinner size="xs" />
@@ -334,8 +340,10 @@ export const SecretRotationPage = withProjectPermission(
</TableContainer>
</div>
</div>
- <div className="text-xl font-semibold text-gray-200 mb-2 mt-12">Infisical Rotation Providers</div>
- <div className="grid grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 gap-4">
+ <div className="mb-2 mt-12 text-xl font-semibold text-gray-200">
+ Infisical Rotation Providers
+ </div>
+ <div className="grid grid-cols-2 gap-4 lg:grid-cols-3 2xl:grid-cols-4">
{isRotationProviderLoading &&
Array.from({ length: 12 }).map((_, index) => (
<Skeleton className="h-32" key={`rotation-provider-skeleton-${index + 1}`} />
@@ -343,7 +351,7 @@ export const SecretRotationPage = withProjectPermission(
{!isRotationProviderLoading &&
secretRotationProviders?.providers.map((provider) => (
<div
- className="group relative cursor-pointer h-32 flex flex-row items-center rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4 hover:border-primary/40 hover:bg-primary/10"
+ className="group relative flex h-32 cursor-pointer flex-row items-center rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4 hover:border-primary/40 hover:bg-primary/10"
key={`infisical-rotation-provider-${provider.name}`}
tabIndex={0}
role="button"
@@ -361,21 +369,21 @@ export const SecretRotationPage = withProjectPermission(
<div className="ml-4 max-w-xs text-xl font-semibold text-gray-300 duration-200 group-hover:text-gray-200">
{provider.title}
</div>
- <div className="group-hover:opacity-100 transition-all opacity-0 absolute top-1 right-1.5">
+ <div className="absolute top-1 right-1.5 opacity-0 transition-all group-hover:opacity-100">
<Tooltip content={provider.description} sideOffset={10}>
<FontAwesomeIcon icon={faInfoCircle} className="text-primary" />
</Tooltip>
</div>
</div>
))}
- <Link href="https://github.com/Infisical/infisical/issues">
- <div className="group relative cursor-pointer h-32 flex flex-row items-center rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4 hover:border-primary/40 hover:bg-primary/10">
- <FontAwesomeIcon icon={faPlus} className="text-gray-300 text-3xl pl-3 pr-2" />
- <div className="ml-4 max-w-xs text-xl font-semibold text-gray-300 duration-200 group-hover:text-gray-200">
- Request or create your own template
- </div>
+ <Link href="https://github.com/Infisical/infisical/issues">
+ <div className="group relative flex h-32 cursor-pointer flex-row items-center rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4 hover:border-primary/40 hover:bg-primary/10">
+ <FontAwesomeIcon icon={faPlus} className="pl-3 pr-2 text-3xl text-gray-300" />
+ <div className="ml-4 max-w-xs text-xl font-semibold text-gray-300 duration-200 group-hover:text-gray-200">
+ Request or create your own template
</div>
- </Link>
+ </div>
+ </Link>
</div>
<CreateRotationForm
isOpen={popUp.createRotation.isOpen}
diff --git a/frontend/src/views/SecretRotationPage/components/CreateRotationForm/steps/RotationOutputForm.tsx b/frontend/src/views/SecretRotationPage/components/CreateRotationForm/steps/RotationOutputForm.tsx
index e41bac258f..4b6449a337 100644
--- a/frontend/src/views/SecretRotationPage/components/CreateRotationForm/steps/RotationOutputForm.tsx
+++ b/frontend/src/views/SecretRotationPage/components/CreateRotationForm/steps/RotationOutputForm.tsx
@@ -97,9 +97,9 @@ export const RotationOutputForm = ({ onSubmit, onCancel, outputSchema = {} }: Pr
</FormControl>
)}
/>
- <div className="flex flex-col mt-4 pt-4 mb-2 border-t border-bunker-300/30">
+ <div className="mt-4 mb-2 flex flex-col border-t border-bunker-300/30 pt-4">
<div>Mapping</div>
- <div className="text-bunker-300 text-sm">Select keys for rotated value to get saved</div>
+ <div className="text-sm text-bunker-300">Select keys for rotated value to get saved</div>
</div>
{Object.keys(outputSchema).map((outputName) => (
<Controller
@@ -117,8 +117,7 @@ export const RotationOutputForm = ({ onSubmit, onCancel, outputSchema = {} }: Pr
{!isSecretsLoading &&
secrets
?.filter(
- ({ id }) =>
- value === id || !Object.values(selectedSecrets || {}).includes(id)
+ ({ id }) => value === id || !Object.values(selectedSecrets || {}).includes(id)
)
?.map(({ key, id }) => (
<SelectItem value={id} key={id}>
diff --git a/frontend/src/views/Settings/BillingSettingsPage/components/BillingCloudTab/PreviewSection.tsx b/frontend/src/views/Settings/BillingSettingsPage/components/BillingCloudTab/PreviewSection.tsx
index e833692631..58c2b07d08 100644
--- a/frontend/src/views/Settings/BillingSettingsPage/components/BillingCloudTab/PreviewSection.tsx
+++ b/frontend/src/views/Settings/BillingSettingsPage/components/BillingCloudTab/PreviewSection.tsx
@@ -71,7 +71,7 @@ export const PreviewSection = () => {
console.error(err);
}
};
-
+
return (
<div>
{subscription &&
@@ -79,10 +79,15 @@ export const PreviewSection = () => {
subscription?.slug !== "pro" &&
subscription?.slug !== "pro-annual" && (
<div className="flex flex-row space-x-6">
- <div className="p-4 rounded-lg flex-1 border border-primary/40 mb-6 flex items-center bg-primary/10">
+ <div className="mb-6 flex flex-1 items-center rounded-lg border border-primary/40 bg-primary/10 p-4">
<div className="flex-1">
- <h2 className="text-xl font-medium text-mineshaft-100">Unleash the full power of <span className="text-transparent font-semibold bg-clip-text bg-gradient-to-r from-primary-500 to-yellow">Infisical</span></h2>
- <p className="text-gray-400 mt-4">
+ <h2 className="text-xl font-medium text-mineshaft-100">
+ Unleash the full power of{" "}
+ <span className="bg-gradient-to-r from-primary-500 to-yellow bg-clip-text font-semibold text-transparent">
+ Infisical
+ </span>
+ </h2>
+ <p className="mt-4 text-gray-400">
Get unlimited members, projects, RBAC, smart alerts, and so much more.
</p>
</div>
@@ -98,23 +103,29 @@ export const PreviewSection = () => {
)}
</OrgPermissionCan>
</div>
- <div className="flex flex-col max-w-[12rem] w-full items-start border border-mineshaft-600 mb-6 flex items-center bg-mineshaft-800 p-4 rounded-lg">
- <div className="mb-4 flex justify-center w-full font-semibold text-mineshaft-200">Want to learn more? </div>
- <div className="flex justify-center w-full">
+ <div className="mb-6 flex flex w-full max-w-[12rem] flex-col items-start items-center rounded-lg border border-mineshaft-600 bg-mineshaft-800 p-4">
+ <div className="mb-4 flex w-full justify-center font-semibold text-mineshaft-200">
+ Want to learn more?{" "}
+ </div>
+ <div className="flex w-full justify-center">
<Link href="https://infisical.com/schedule-demo">
- <span className="rounded-full px-4 py-2 bg-mineshaft-600 border border-mineshaft-500 hover:bg-primary/10 hover:border-primary/40 duration-200 cursor-pointer">
- Book a demo <FontAwesomeIcon icon={faArrowUpRightFromSquare} className="text-xs mb-[0.06rem] ml-1"/>
+ <span className="cursor-pointer rounded-full border border-mineshaft-500 bg-mineshaft-600 px-4 py-2 duration-200 hover:border-primary/40 hover:bg-primary/10">
+ Book a demo{" "}
+ <FontAwesomeIcon
+ icon={faArrowUpRightFromSquare}
+ className="mb-[0.06rem] ml-1 text-xs"
+ />
</span>
- </Link>
+ </Link>
</div>
</div>
</div>
)}
{!isLoading && subscription && data && (
- <div className="flex mb-6">
- <div className="p-4 bg-mineshaft-900 rounded-lg flex-1 mr-4 border border-mineshaft-600">
+ <div className="mb-6 flex">
+ <div className="mr-4 flex-1 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
<p className="mb-2 text-gray-400">Current plan</p>
- <p className="text-2xl text-mineshaft-50 font-semibold mb-8">
+ <p className="mb-8 text-2xl font-semibold text-mineshaft-50">
{`${formatPlanSlug(subscription.slug)} ${
subscription.status === "trialing" ? "(Trial)" : ""
}`}
@@ -136,17 +147,17 @@ export const PreviewSection = () => {
)}
</OrgPermissionCan>
</div>
- <div className="p-4 bg-mineshaft-900 rounded-lg flex-1 border border-mineshaft-600 mr-4">
+ <div className="mr-4 flex-1 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
<p className="mb-2 text-gray-400">Price</p>
- <p className="text-2xl mb-8 text-mineshaft-50 font-semibold">
+ <p className="mb-8 text-2xl font-semibold text-mineshaft-50">
{subscription.status === "trialing"
? "$0.00 / month"
: `${formatAmount(data.amount)} / ${data.interval}`}
</p>
</div>
- <div className="p-4 bg-mineshaft-900 rounded-lg flex-1 border border-mineshaft-600">
+ <div className="flex-1 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
<p className="mb-2 text-gray-400">Subscription renews on</p>
- <p className="text-2xl mb-8 text-mineshaft-50 font-semibold">
+ <p className="mb-8 text-2xl font-semibold text-mineshaft-50">
{formatDate(data.currentPeriodEnd)}
</p>
</div>
diff --git a/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/CompanyNameSection.tsx b/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/CompanyNameSection.tsx
index 4e7486a10c..68360cc706 100644
--- a/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/CompanyNameSection.tsx
+++ b/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/CompanyNameSection.tsx
@@ -24,7 +24,7 @@ export const CompanyNameSection = () => {
},
resolver: yupResolver(schema)
});
- const { data } = useGetOrgBillingDetails(currentOrg?._id ?? "");
+ const { data } = useGetOrgBillingDetails(currentOrg?.id ?? "");
const { mutateAsync, isLoading } = useUpdateOrgBillingDetails();
useEffect(() => {
@@ -37,11 +37,11 @@ export const CompanyNameSection = () => {
const onFormSubmit = async ({ name }: { name: string }) => {
try {
- if (!currentOrg?._id) return;
+ if (!currentOrg?.id) return;
if (name === "") return;
await mutateAsync({
name,
- organizationId: currentOrg._id
+ organizationId: currentOrg.id
});
createNotification({
@@ -60,9 +60,9 @@ export const CompanyNameSection = () => {
return (
<form
onSubmit={handleSubmit(onFormSubmit)}
- className="p-4 bg-mineshaft-900 mb-6 rounded-lg border border-mineshaft-600"
+ className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4"
>
- <h2 className="text-xl font-semibold flex-1 text-mineshaft-100 mb-8">Business name</h2>
+ <h2 className="mb-8 flex-1 text-xl font-semibold text-mineshaft-100">Business name</h2>
<div className="max-w-md">
<Controller
defaultValue=""
diff --git a/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/InvoiceEmailSection.tsx b/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/InvoiceEmailSection.tsx
index fae11574f8..47d4444641 100644
--- a/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/InvoiceEmailSection.tsx
+++ b/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/InvoiceEmailSection.tsx
@@ -24,7 +24,7 @@ export const InvoiceEmailSection = () => {
},
resolver: yupResolver(schema)
});
- const { data } = useGetOrgBillingDetails(currentOrg?._id ?? "");
+ const { data } = useGetOrgBillingDetails(currentOrg?.id ?? "");
const { mutateAsync, isLoading } = useUpdateOrgBillingDetails();
useEffect(() => {
@@ -37,12 +37,12 @@ export const InvoiceEmailSection = () => {
const onFormSubmit = async ({ email }: { email: string }) => {
try {
- if (!currentOrg?._id) return;
+ if (!currentOrg?.id) return;
if (email === "") return;
await mutateAsync({
email,
- organizationId: currentOrg._id
+ organizationId: currentOrg.id
});
createNotification({
@@ -61,9 +61,9 @@ export const InvoiceEmailSection = () => {
return (
<form
onSubmit={handleSubmit(onFormSubmit)}
- className="p-4 bg-mineshaft-900 mb-6 rounded-lg border border-mineshaft-600"
+ className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4"
>
- <h2 className="text-xl font-semibold flex-1 text-white mb-8">Invoice email recipient</h2>
+ <h2 className="mb-8 flex-1 text-xl font-semibold text-white">Invoice email recipient</h2>
<div className="max-w-md">
<Controller
defaultValue=""
diff --git a/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/PmtMethodsSection.tsx b/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/PmtMethodsSection.tsx
index d3303898f3..266e529995 100644
--- a/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/PmtMethodsSection.tsx
+++ b/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/PmtMethodsSection.tsx
@@ -13,9 +13,9 @@ export const PmtMethodsSection = () => {
const { mutateAsync, isLoading } = useAddOrgPmtMethod();
const handleAddPmtMethodBtnClick = async () => {
- if (!currentOrg?._id) return;
+ if (!currentOrg?.id) return;
const url = await mutateAsync({
- organizationId: currentOrg._id,
+ organizationId: currentOrg.id,
success_url: window.location.href,
cancel_url: window.location.href
});
@@ -24,9 +24,9 @@ export const PmtMethodsSection = () => {
};
return (
- <div className="p-4 bg-mineshaft-900 mb-6 rounded-lg border border-mineshaft-600">
- <div className="flex items-center mb-8">
- <h2 className="text-xl font-semibold flex-1 text-white">Payment methods</h2>
+ <div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
+ <div className="mb-8 flex items-center">
+ <h2 className="flex-1 text-xl font-semibold text-white">Payment methods</h2>
<OrgPermissionCan I={OrgPermissionActions.Create} a={OrgPermissionSubjects.Billing}>
{(isAllowed) => (
<Button
diff --git a/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/PmtMethodsTable.tsx b/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/PmtMethodsTable.tsx
index a4b457e243..5ccfef1d38 100644
--- a/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/PmtMethodsTable.tsx
+++ b/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/PmtMethodsTable.tsx
@@ -19,13 +19,13 @@ import { useDeleteOrgPmtMethod, useGetOrgPmtMethods } from "@app/hooks/api";
export const PmtMethodsTable = () => {
const { currentOrg } = useOrganization();
- const { data, isLoading } = useGetOrgPmtMethods(currentOrg?._id ?? "");
+ const { data, isLoading } = useGetOrgPmtMethods(currentOrg?.id ?? "");
const deleteOrgPmtMethod = useDeleteOrgPmtMethod();
const handleDeletePmtMethodBtnClick = async (pmtMethodId: string) => {
- if (!currentOrg?._id) return;
+ if (!currentOrg?.id) return;
await deleteOrgPmtMethod.mutateAsync({
- organizationId: currentOrg._id,
+ organizationId: currentOrg.id,
pmtMethodId
});
};
@@ -46,8 +46,8 @@ export const PmtMethodsTable = () => {
{!isLoading &&
data &&
data?.length > 0 &&
- data.map(({ _id, brand, exp_month, exp_year, funding, last4 }) => (
- <Tr key={`pmt-method-${_id}`} className="h-10">
+ data.map(({ id, brand, exp_month, exp_year, funding, last4 }) => (
+ <Tr key={`pmt-method-${id}`} className="h-10">
<Td>{brand.charAt(0).toUpperCase() + brand.slice(1)}</Td>
<Td>{funding.charAt(0).toUpperCase() + funding.slice(1)}</Td>
<Td>{last4}</Td>
@@ -60,7 +60,7 @@ export const PmtMethodsTable = () => {
{(isAllowed) => (
<IconButton
onClick={async () => {
- await handleDeletePmtMethodBtnClick(_id);
+ await handleDeletePmtMethodBtnClick(id);
}}
size="lg"
isDisabled={!isAllowed}
diff --git a/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/TaxIDModal.tsx b/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/TaxIDModal.tsx
index a6e039a9b6..78810e0a05 100644
--- a/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/TaxIDModal.tsx
+++ b/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/TaxIDModal.tsx
@@ -1,4 +1,4 @@
-import { Controller, useForm } from "react-hook-form";
+import { Controller, useForm } from "react-hook-form";
import { yupResolver } from "@hookform/resolvers/yup";
import * as yup from "yup";
@@ -69,10 +69,12 @@ const taxIDTypes = [
{ label: "South Africa VAT", value: "za_vat" }
];
-const schema = yup.object({
+const schema = yup
+ .object({
type: yup.string().required("Tax ID type is required"),
value: yup.string().required("Tax ID value is required")
-}).required();
+ })
+ .required();
export type AddTaxIDFormData = yup.InferType<typeof schema>;
@@ -82,115 +84,100 @@ type Props = {
handlePopUpToggle: (popUpName: keyof UsePopUpState<["addTaxID"]>, state?: boolean) => void;
};
-export const TaxIDModal = ({
- popUp,
- handlePopUpClose,
- handlePopUpToggle
-}: Props) => {
- const { createNotification } = useNotificationContext();
- const { currentOrg } = useOrganization();
- const addOrgTaxId = useAddOrgTaxId();
+export const TaxIDModal = ({ popUp, handlePopUpClose, handlePopUpToggle }: Props) => {
+ const { createNotification } = useNotificationContext();
+ const { currentOrg } = useOrganization();
+ const addOrgTaxId = useAddOrgTaxId();
- const {
- control,
- handleSubmit,
- reset,
- formState: { isSubmitting }
- } = useForm<AddTaxIDFormData>({
- resolver: yupResolver(schema)
- });
+ const {
+ control,
+ handleSubmit,
+ reset,
+ formState: { isSubmitting }
+ } = useForm<AddTaxIDFormData>({
+ resolver: yupResolver(schema)
+ });
- const onTaxIDModalSubmit = async ({ type, value }: AddTaxIDFormData) => {
- try {
- if (!currentOrg?._id) return;
- await addOrgTaxId.mutateAsync({
- organizationId: currentOrg._id,
- type,
- value
- });
+ const onTaxIDModalSubmit = async ({ type, value }: AddTaxIDFormData) => {
+ try {
+ if (!currentOrg?.id) return;
+ await addOrgTaxId.mutateAsync({
+ organizationId: currentOrg.id,
+ type,
+ value
+ });
- createNotification({
- text: "Successfully added Tax ID",
- type: "success"
- });
- handlePopUpClose("addTaxID");
- } catch (err) {
- console.error(err);
- createNotification({
- text: "Failed to add Tax ID",
- type: "error"
- });
- }
+ createNotification({
+ text: "Successfully added Tax ID",
+ type: "success"
+ });
+ handlePopUpClose("addTaxID");
+ } catch (err) {
+ console.error(err);
+ createNotification({
+ text: "Failed to add Tax ID",
+ type: "error"
+ });
}
+ };
- return (
- <Modal
- isOpen={popUp?.addTaxID?.isOpen}
- onOpenChange={(isOpen) => {
- handlePopUpToggle("addTaxID", isOpen);
- reset();
- }}
- >
- <ModalContent title="Add Tax ID">
- <form onSubmit={handleSubmit(onTaxIDModalSubmit)}>
- <Controller
- control={control}
- name="type"
- defaultValue="eu_vat"
- render={({ field: { onChange, ...field }, fieldState: { error } }) => (
- <FormControl
- label="Type"
- errorText={error?.message}
- isError={Boolean(error)}
- >
- <Select
- defaultValue={field.value}
- {...field}
- onValueChange={(e) => onChange(e)}
- className="w-full"
- >
- {taxIDTypes.map(({ label, value }) => (
- <SelectItem value={String(value || "")} key={label}>
- {label}
- </SelectItem>
- ))}
- </Select>
- </FormControl>
- )}
- />
- <Controller
- control={control}
- defaultValue=""
- name="value"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Value"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input
- {...field}
- placeholder="DE000000000"
- />
- </FormControl>
- )}
- />
- <div className="mt-8 flex items-center">
- <Button
- className="mr-4"
- size="sm"
- type="submit"
- isLoading={isSubmitting}
- isDisabled={isSubmitting}
+ return (
+ <Modal
+ isOpen={popUp?.addTaxID?.isOpen}
+ onOpenChange={(isOpen) => {
+ handlePopUpToggle("addTaxID", isOpen);
+ reset();
+ }}
+ >
+ <ModalContent title="Add Tax ID">
+ <form onSubmit={handleSubmit(onTaxIDModalSubmit)}>
+ <Controller
+ control={control}
+ name="type"
+ defaultValue="eu_vat"
+ render={({ field: { onChange, ...field }, fieldState: { error } }) => (
+ <FormControl label="Type" errorText={error?.message} isError={Boolean(error)}>
+ <Select
+ defaultValue={field.value}
+ {...field}
+ onValueChange={(e) => onChange(e)}
+ className="w-full"
>
- Add
- </Button>
- <Button colorSchema="secondary" variant="plain">
- Cancel
- </Button>
- </div>
- </form>
- </ModalContent>
- </Modal>
- );
-}
\ No newline at end of file
+ {taxIDTypes.map(({ label, value }) => (
+ <SelectItem value={String(value || "")} key={label}>
+ {label}
+ </SelectItem>
+ ))}
+ </Select>
+ </FormControl>
+ )}
+ />
+ <Controller
+ control={control}
+ defaultValue=""
+ name="value"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl label="Value" isError={Boolean(error)} errorText={error?.message}>
+ <Input {...field} placeholder="DE000000000" />
+ </FormControl>
+ )}
+ />
+ <div className="mt-8 flex items-center">
+ <Button
+ className="mr-4"
+ size="sm"
+ type="submit"
+ isLoading={isSubmitting}
+ isDisabled={isSubmitting}
+ >
+ Add
+ </Button>
+ <Button colorSchema="secondary" variant="plain">
+ Cancel
+ </Button>
+ </div>
+ </form>
+ </ModalContent>
+ </Modal>
+ );
+};
diff --git a/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/TaxIDTable.tsx b/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/TaxIDTable.tsx
index b5c5b0a9b2..7a6362da2d 100644
--- a/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/TaxIDTable.tsx
+++ b/frontend/src/views/Settings/BillingSettingsPage/components/BillingDetailsTab/TaxIDTable.tsx
@@ -72,13 +72,13 @@ const taxIDTypeLabelMap: { [key: string]: string } = {
export const TaxIDTable = () => {
const { currentOrg } = useOrganization();
- const { data, isLoading } = useGetOrgTaxIds(currentOrg?._id ?? "");
+ const { data, isLoading } = useGetOrgTaxIds(currentOrg?.id ?? "");
const deleteOrgTaxId = useDeleteOrgTaxId();
const handleDeleteTaxIdBtnClick = async (taxId: string) => {
- if (!currentOrg?._id) return;
+ if (!currentOrg?.id) return;
await deleteOrgTaxId.mutateAsync({
- organizationId: currentOrg._id,
+ organizationId: currentOrg.id,
taxId
});
};
@@ -97,8 +97,8 @@ export const TaxIDTable = () => {
{!isLoading &&
data &&
data?.length > 0 &&
- data.map(({ _id, type, value }) => (
- <Tr key={`tax-id-${_id}`} className="h-10">
+ data.map(({ id, type, value }) => (
+ <Tr key={`tax-id-${id}`} className="h-10">
<Td>{taxIDTypeLabelMap[type]}</Td>
<Td>{value}</Td>
<Td>
@@ -109,7 +109,7 @@ export const TaxIDTable = () => {
{(isAllowed) => (
<IconButton
onClick={async () => {
- await handleDeleteTaxIdBtnClick(_id);
+ await handleDeleteTaxIdBtnClick(id);
}}
size="lg"
colorSchema="danger"
diff --git a/frontend/src/views/Settings/BillingSettingsPage/components/BillingReceiptsTab/InvoicesTable.tsx b/frontend/src/views/Settings/BillingSettingsPage/components/BillingReceiptsTab/InvoicesTable.tsx
index 23a0852801..bc6032a676 100644
--- a/frontend/src/views/Settings/BillingSettingsPage/components/BillingReceiptsTab/InvoicesTable.tsx
+++ b/frontend/src/views/Settings/BillingSettingsPage/components/BillingReceiptsTab/InvoicesTable.tsx
@@ -18,7 +18,7 @@ import { useGetOrgInvoices } from "@app/hooks/api";
export const InvoicesTable = () => {
const { currentOrg } = useOrganization();
- const { data, isLoading } = useGetOrgInvoices(currentOrg?._id ?? "");
+ const { data, isLoading } = useGetOrgInvoices(currentOrg?.id ?? "");
return (
<TableContainer className="mt-8">
<Table>
@@ -35,7 +35,7 @@ export const InvoicesTable = () => {
{!isLoading &&
data &&
data?.length > 0 &&
- data.map(({ _id, created, paid, number, total, invoice_pdf }) => {
+ data.map(({ id, created, paid, number, total, invoice_pdf }) => {
const formattedTotal = (Math.floor(total) / 100).toLocaleString("en-US", {
style: "currency",
currency: "USD"
@@ -47,7 +47,7 @@ export const InvoicesTable = () => {
const formattedDate: string = `${day}/${month}/${year}`;
return (
- <Tr key={`invoice-${_id}`} className="h-10">
+ <Tr key={`invoice-${id}`} className="h-10">
<Td>{number}</Td>
<Td>{formattedDate}</Td>
<Td>{paid ? "Paid" : "Not Paid"}</Td>
diff --git a/frontend/src/views/Settings/BillingSettingsPage/components/BillingSelfHostedTab/LicensesSection.tsx b/frontend/src/views/Settings/BillingSettingsPage/components/BillingSelfHostedTab/LicensesSection.tsx
index 706975dd40..919d8eabbe 100644
--- a/frontend/src/views/Settings/BillingSettingsPage/components/BillingSelfHostedTab/LicensesSection.tsx
+++ b/frontend/src/views/Settings/BillingSettingsPage/components/BillingSelfHostedTab/LicensesSection.tsx
@@ -12,57 +12,52 @@ import {
Tr
} from "@app/components/v2";
import { useOrganization } from "@app/context";
-import {
- useGetOrgLicenses
-} from "@app/hooks/api";
+import { useGetOrgLicenses } from "@app/hooks/api";
export const LicensesSection = () => {
- const { currentOrg } = useOrganization();
- const { data, isLoading } = useGetOrgLicenses(currentOrg?.id ?? "");
-
- return (
- <div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
- <h2 className="mb-8 flex-1 text-xl font-semibold text-white">Enterprise licenses</h2>
- <TableContainer className="mt-4">
- <Table>
- <THead>
- <Tr>
- <Th>License Key</Th>
- <Th>Status</Th>
- <Th>Issued Date</Th>
- <Th>Expiry Date</Th>
- </Tr>
- </THead>
- <TBody>
- {!isLoading && data && data?.length > 0 && data.map(({
- id,
- licenseKey,
- isActivated,
- createdAt,
- expiresAt
- }) => {
- const formattedCreatedAt = new Date(createdAt).toISOString().split("T")[0];
- const formattedExpiresAt = new Date(expiresAt).toISOString().split("T")[0];
- return (
- <Tr key={`license-${id}`} className="h-10">
- <Td>{licenseKey}</Td>
- <Td>{isActivated ? "Active" : "Inactive"}</Td>
- <Td>{formattedCreatedAt}</Td>
- <Td>{formattedExpiresAt}</Td>
- </Tr>
- );
- })}
- {isLoading && <TableSkeleton columns={4} innerKey="licenses" />}
- {!isLoading && data && data?.length === 0 && (
- <Tr>
- <Td colSpan={4}>
- <EmptyState title="No enterprise licenses on file" icon={faFileContract} />
- </Td>
- </Tr>
- )}
- </TBody>
- </Table>
- </TableContainer>
- </div>
- );
-}
\ No newline at end of file
+ const { currentOrg } = useOrganization();
+ const { data, isLoading } = useGetOrgLicenses(currentOrg?.id ?? "");
+
+ return (
+ <div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
+ <h2 className="mb-8 flex-1 text-xl font-semibold text-white">Enterprise licenses</h2>
+ <TableContainer className="mt-4">
+ <Table>
+ <THead>
+ <Tr>
+ <Th>License Key</Th>
+ <Th>Status</Th>
+ <Th>Issued Date</Th>
+ <Th>Expiry Date</Th>
+ </Tr>
+ </THead>
+ <TBody>
+ {!isLoading &&
+ data &&
+ data?.length > 0 &&
+ data.map(({ id, licenseKey, isActivated, createdAt, expiresAt }) => {
+ const formattedCreatedAt = new Date(createdAt).toISOString().split("T")[0];
+ const formattedExpiresAt = new Date(expiresAt).toISOString().split("T")[0];
+ return (
+ <Tr key={`license-${id}`} className="h-10">
+ <Td>{licenseKey}</Td>
+ <Td>{isActivated ? "Active" : "Inactive"}</Td>
+ <Td>{formattedCreatedAt}</Td>
+ <Td>{formattedExpiresAt}</Td>
+ </Tr>
+ );
+ })}
+ {isLoading && <TableSkeleton columns={4} innerKey="licenses" />}
+ {!isLoading && data && data?.length === 0 && (
+ <Tr>
+ <Td colSpan={4}>
+ <EmptyState title="No enterprise licenses on file" icon={faFileContract} />
+ </Td>
+ </Tr>
+ )}
+ </TBody>
+ </Table>
+ </TableContainer>
+ </div>
+ );
+};
diff --git a/frontend/src/views/Settings/OrgSettingsPage/components/OrgAuthTab/OrgSSOSection.tsx b/frontend/src/views/Settings/OrgSettingsPage/components/OrgAuthTab/OrgSSOSection.tsx
index 784788ae33..ab28ec127a 100644
--- a/frontend/src/views/Settings/OrgSettingsPage/components/OrgAuthTab/OrgSSOSection.tsx
+++ b/frontend/src/views/Settings/OrgSettingsPage/components/OrgAuthTab/OrgSSOSection.tsx
@@ -82,9 +82,9 @@ export const OrgSSOSection = (): JSX.Element => {
};
return (
- <div className="p-4 bg-mineshaft-900 mb-6 rounded-lg border border-mineshaft-600">
- <div className="flex items-center mb-8">
- <h2 className="text-xl font-semibold flex-1 text-white">SAML SSO Configuration</h2>
+ <div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
+ <div className="mb-8 flex items-center">
+ <h2 className="flex-1 text-xl font-semibold text-white">SAML SSO Configuration</h2>
{!isLoading && (
<OrgPermissionCan I={OrgPermissionActions.Create} a={OrgPermissionSubjects.Sso}>
{(isAllowed) => (
@@ -117,24 +117,24 @@ export const OrgSSOSection = (): JSX.Element => {
</div>
)}
<div className="mb-4">
- <h3 className="text-mineshaft-400 text-sm">SSO identifier</h3>
- <p className="text-gray-400 text-md">{data && data.id !== "" ? data.id : "-"}</p>
+ <h3 className="text-sm text-mineshaft-400">SSO identifier</h3>
+ <p className="text-md text-gray-400">{data && data.id !== "" ? data.id : "-"}</p>
</div>
<div className="mb-4">
- <h3 className="text-mineshaft-400 text-sm">Type</h3>
- <p className="text-gray-400 text-md">
+ <h3 className="text-sm text-mineshaft-400">Type</h3>
+ <p className="text-md text-gray-400">
{data && data.authProvider !== "" ? ssoAuthProviderMap[data.authProvider] : "-"}
</p>
</div>
<div className="mb-4">
- <h3 className="text-mineshaft-400 text-sm">Entrypoint</h3>
- <p className="text-gray-400 text-md">
+ <h3 className="text-sm text-mineshaft-400">Entrypoint</h3>
+ <p className="text-md text-gray-400">
{data && data.entryPoint !== "" ? data.entryPoint : "-"}
</p>
</div>
<div className="mb-4">
- <h3 className="text-mineshaft-400 text-sm">Issuer</h3>
- <p className="text-gray-400 text-md">{data && data.issuer !== "" ? data.issuer : "-"}</p>
+ <h3 className="text-sm text-mineshaft-400">Issuer</h3>
+ <p className="text-md text-gray-400">{data && data.issuer !== "" ? data.issuer : "-"}</p>
</div>
<SSOModal
popUp={popUp}
diff --git a/frontend/src/views/Settings/OrgSettingsPage/components/OrgAuthTab/SSOModal.tsx b/frontend/src/views/Settings/OrgSettingsPage/components/OrgAuthTab/SSOModal.tsx
index 98191cf73c..6901e45896 100644
--- a/frontend/src/views/Settings/OrgSettingsPage/components/OrgAuthTab/SSOModal.tsx
+++ b/frontend/src/views/Settings/OrgSettingsPage/components/OrgAuthTab/SSOModal.tsx
@@ -1,44 +1,43 @@
import { useEffect } from "react";
-import { Controller, useForm } from "react-hook-form";
+import { Controller, useForm } from "react-hook-form";
import { yupResolver } from "@hookform/resolvers/yup";
import * as yup from "yup";
import { useNotificationContext } from "@app/components/context/Notifications/NotificationProvider";
import {
- Button,
- FormControl,
- Input,
- Modal,
- ModalContent,
- Select,
- SelectItem,
- TextArea} from "@app/components/v2";
+ Button,
+ FormControl,
+ Input,
+ Modal,
+ ModalContent,
+ Select,
+ SelectItem,
+ TextArea
+} from "@app/components/v2";
import { useOrganization } from "@app/context";
-import {
- useCreateSSOConfig,
- useGetSSOConfig,
- useUpdateSSOConfig
-} from "@app/hooks/api";
+import { useCreateSSOConfig, useGetSSOConfig, useUpdateSSOConfig } from "@app/hooks/api";
import { UsePopUpState } from "@app/hooks/usePopUp";
enum AuthProvider {
- OKTA_SAML = "okta-saml",
- AZURE_SAML = "azure-saml",
- JUMPCLOUD_SAML = "jumpcloud-saml"
+ OKTA_SAML = "okta-saml",
+ AZURE_SAML = "azure-saml",
+ JUMPCLOUD_SAML = "jumpcloud-saml"
}
const ssoAuthProviders = [
- { label: "Okta SAML", value: AuthProvider.OKTA_SAML },
- { label: "Azure SAML", value: AuthProvider.AZURE_SAML },
- { label: "JumpCloud SAML", value: AuthProvider.JUMPCLOUD_SAML }
+ { label: "Okta SAML", value: AuthProvider.OKTA_SAML },
+ { label: "Azure SAML", value: AuthProvider.AZURE_SAML },
+ { label: "JumpCloud SAML", value: AuthProvider.JUMPCLOUD_SAML }
];
-const schema = yup.object({
+const schema = yup
+ .object({
authProvider: yup.string().required("SSO Type is required"),
entryPoint: yup.string().required("IdP entrypoint is required"),
issuer: yup.string().required("Issuer string is required"),
cert: yup.string().required("IdP's public signing certificate is required")
-}).required();
+ })
+ .required();
export type AddSSOFormData = yup.InferType<typeof schema>;
@@ -48,243 +47,221 @@ type Props = {
handlePopUpToggle: (popUpName: keyof UsePopUpState<["addSSO"]>, state?: boolean) => void;
};
-export const SSOModal = ({
- popUp,
- handlePopUpClose,
- handlePopUpToggle
-}: Props) => {
- const { currentOrg } = useOrganization();
- const { createNotification } = useNotificationContext();
- const { mutateAsync: createMutateAsync, isLoading: createIsLoading } = useCreateSSOConfig();
- const { mutateAsync: updateMutateAsync, isLoading: updateIsLoading } = useUpdateSSOConfig();
- const { data } = useGetSSOConfig(currentOrg?.id ?? "");
-
- const {
- control,
- handleSubmit,
- reset,
- watch,
- } = useForm<AddSSOFormData>({
- defaultValues: {
- authProvider: AuthProvider.OKTA_SAML
- },
- resolver: yupResolver(schema)
- });
-
- useEffect(() => {
- if (data) {
- reset({
- authProvider: data?.authProvider ?? "",
- entryPoint: data?.entryPoint ?? "",
- issuer: data?.issuer ?? "",
- cert: data?.cert ?? ""
- });
- }
- }, [data]);
-
- const onSSOModalSubmit = async ({
- authProvider,
- entryPoint,
- issuer,
- cert
- }: AddSSOFormData) => {
- try {
- if (!currentOrg) return;
-
- if (!data) {
- await createMutateAsync({
- organizationId: currentOrg.id,
- authProvider,
- isActive: false,
- entryPoint,
- issuer,
- cert
- });
- } else {
- await updateMutateAsync({
- organizationId: currentOrg.id,
- authProvider,
- isActive: false,
- entryPoint,
- issuer,
- cert
- });
- }
+export const SSOModal = ({ popUp, handlePopUpClose, handlePopUpToggle }: Props) => {
+ const { currentOrg } = useOrganization();
+ const { createNotification } = useNotificationContext();
+ const { mutateAsync: createMutateAsync, isLoading: createIsLoading } = useCreateSSOConfig();
+ const { mutateAsync: updateMutateAsync, isLoading: updateIsLoading } = useUpdateSSOConfig();
+ const { data } = useGetSSOConfig(currentOrg?.id ?? "");
+
+ const { control, handleSubmit, reset, watch } = useForm<AddSSOFormData>({
+ defaultValues: {
+ authProvider: AuthProvider.OKTA_SAML
+ },
+ resolver: yupResolver(schema)
+ });
+
+ useEffect(() => {
+ if (data) {
+ reset({
+ authProvider: data?.authProvider ?? "",
+ entryPoint: data?.entryPoint ?? "",
+ issuer: data?.issuer ?? "",
+ cert: data?.cert ?? ""
+ });
+ }
+ }, [data]);
+
+ const onSSOModalSubmit = async ({ authProvider, entryPoint, issuer, cert }: AddSSOFormData) => {
+ try {
+ if (!currentOrg) return;
- handlePopUpClose("addSSO");
+ if (!data) {
+ await createMutateAsync({
+ organizationId: currentOrg.id,
+ authProvider,
+ isActive: false,
+ entryPoint,
+ issuer,
+ cert
+ });
+ } else {
+ await updateMutateAsync({
+ organizationId: currentOrg.id,
+ authProvider,
+ isActive: false,
+ entryPoint,
+ issuer,
+ cert
+ });
+ }
- createNotification({
- text: `Successfully ${!data ? "added" : "updated"} SAML SSO configuration`,
- type: "success"
- });
- } catch (err) {
- console.error(err);
- createNotification({
- text: `Failed to ${!data ? "add" : "update"} SAML SSO configuration`,
- type: "error"
- });
- }
+ handlePopUpClose("addSSO");
+
+ createNotification({
+ text: `Successfully ${!data ? "added" : "updated"} SAML SSO configuration`,
+ type: "success"
+ });
+ } catch (err) {
+ console.error(err);
+ createNotification({
+ text: `Failed to ${!data ? "add" : "update"} SAML SSO configuration`,
+ type: "error"
+ });
}
+ };
+
+ const renderLabels = (authProvider: string) => {
+ switch (authProvider) {
+ case AuthProvider.OKTA_SAML:
+ return {
+ acsUrl: "Single sign-on URL",
+ entityId: "Audience URI (SP Entity ID)",
+ entryPoint: "Identity Provider Single Sign-On URL",
+ entryPointPlaceholder: "https://your-domain.okta.com/app/app-name/xxx/sso/saml",
+ issuer: "Identity Provider Issuer",
+ issuerPlaceholder: "http://www.okta.com/xxx"
+ };
+ case AuthProvider.AZURE_SAML:
+ return {
+ acsUrl: "Reply URL (Assertion Consumer Service URL)",
+ entityId: "Identifier (Entity ID)",
+ entryPoint: "Login URL",
+ entryPointPlaceholder: "https://login.microsoftonline.com/xxx/saml2",
+ issuer: "Azure Application ID",
+ issuerPlaceholder: "abc-def-ghi-jkl-mno"
+ };
+ case AuthProvider.JUMPCLOUD_SAML:
+ return {
+ acsUrl: "ACS URL",
+ entityId: "SP Entity ID",
+ entryPoint: "IDP URL",
+ entryPointPlaceholder: "https://sso.jumpcloud.com/saml2/xxx",
+ issuer: "IdP Entity ID",
+ issuerPlaceholder: "xxx"
+ };
- const renderLabels = (authProvider: string) => {
- switch (authProvider){
- case AuthProvider.OKTA_SAML:
- return ({
- acsUrl: "Single sign-on URL",
- entityId: "Audience URI (SP Entity ID)",
- entryPoint: "Identity Provider Single Sign-On URL",
- entryPointPlaceholder: "https://your-domain.okta.com/app/app-name/xxx/sso/saml",
- issuer: "Identity Provider Issuer",
- issuerPlaceholder: "http://www.okta.com/xxx"
- });
- case AuthProvider.AZURE_SAML:
- return ({
- acsUrl: "Reply URL (Assertion Consumer Service URL)",
- entityId: "Identifier (Entity ID)",
- entryPoint: "Login URL",
- entryPointPlaceholder: "https://login.microsoftonline.com/xxx/saml2",
- issuer: "Azure Application ID",
- issuerPlaceholder: "abc-def-ghi-jkl-mno"
- });
- case AuthProvider.JUMPCLOUD_SAML:
- return ({
- acsUrl: "ACS URL",
- entityId: "SP Entity ID",
- entryPoint: "IDP URL",
- entryPointPlaceholder: "https://sso.jumpcloud.com/saml2/xxx",
- issuer: "IdP Entity ID",
- issuerPlaceholder: "xxx"
- });
-
- default:
- return ({
- acsUrl: "ACS URL",
- entityId: "Entity ID",
- entryPoint: "Entrypoint",
- entryPointPlaceholder: "Enter entrypoint...",
- issuer: "Issuer",
- issuerPlaceholder: "Enter placeholder..."
- });
- }
+ default:
+ return {
+ acsUrl: "ACS URL",
+ entityId: "Entity ID",
+ entryPoint: "Entrypoint",
+ entryPointPlaceholder: "Enter entrypoint...",
+ issuer: "Issuer",
+ issuerPlaceholder: "Enter placeholder..."
+ };
}
-
- const authProvider = watch("authProvider");
+ };
+
+ const authProvider = watch("authProvider");
- return (
- <Modal
- isOpen={popUp?.addSSO?.isOpen}
- onOpenChange={(isOpen) => {
- handlePopUpToggle("addSSO", isOpen);
- reset();
- }}
- >
- <ModalContent title="Add SSO">
- <form onSubmit={handleSubmit(onSSOModalSubmit)}>
- <Controller
- control={control}
- name="authProvider"
- defaultValue="okta-saml"
- render={({ field: { onChange, ...field }, fieldState: { error } }) => (
- <FormControl
- label="Type"
- errorText={error?.message}
- isError={Boolean(error)}
- >
- <Select
- defaultValue={field.value}
- {...field}
- onValueChange={(e) => onChange(e)}
- className="w-full"
- >
- {ssoAuthProviders.map(({ label, value }) => (
- <SelectItem value={String(value || "")} key={label}>
- {label}
- </SelectItem>
- ))}
- </Select>
- </FormControl>
- )}
+ return (
+ <Modal
+ isOpen={popUp?.addSSO?.isOpen}
+ onOpenChange={(isOpen) => {
+ handlePopUpToggle("addSSO", isOpen);
+ reset();
+ }}
+ >
+ <ModalContent title="Add SSO">
+ <form onSubmit={handleSubmit(onSSOModalSubmit)}>
+ <Controller
+ control={control}
+ name="authProvider"
+ defaultValue="okta-saml"
+ render={({ field: { onChange, ...field }, fieldState: { error } }) => (
+ <FormControl label="Type" errorText={error?.message} isError={Boolean(error)}>
+ <Select
+ defaultValue={field.value}
+ {...field}
+ onValueChange={(e) => onChange(e)}
+ className="w-full"
+ >
+ {ssoAuthProviders.map(({ label, value }) => (
+ <SelectItem value={String(value || "")} key={label}>
+ {label}
+ </SelectItem>
+ ))}
+ </Select>
+ </FormControl>
+ )}
+ />
+ {authProvider && data && (
+ <>
+ <div className="mb-4">
+ <h3 className="text-sm text-mineshaft-400">{renderLabels(authProvider).acsUrl}</h3>
+ <p className="text-md break-all text-gray-400">{`${window.origin}/api/v1/sso/saml2/${data._id}`}</p>
+ </div>
+ <div className="mb-4">
+ <h3 className="text-sm text-mineshaft-400">
+ {renderLabels(authProvider).entityId}
+ </h3>
+ <p className="text-md text-gray-400">{window.origin}</p>
+ </div>
+ <Controller
+ control={control}
+ name="entryPoint"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl
+ label={renderLabels(authProvider).entryPoint}
+ errorText={error?.message}
+ isError={Boolean(error)}
+ >
+ <Input
+ {...field}
+ placeholder={renderLabels(authProvider).entryPointPlaceholder}
/>
- {authProvider && data && (
- <>
- <div className="mb-4">
- <h3 className="text-mineshaft-400 text-sm">{renderLabels(authProvider).acsUrl}</h3>
- <p className="text-gray-400 text-md break-all">{`${window.origin}/api/v1/sso/saml2/${data.id}`}</p>
- </div>
- <div className="mb-4">
- <h3 className="text-mineshaft-400 text-sm">{renderLabels(authProvider).entityId}</h3>
- <p className="text-gray-400 text-md">{window.origin}</p>
- </div>
- <Controller
- control={control}
- name="entryPoint"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label={renderLabels(authProvider).entryPoint}
- errorText={error?.message}
- isError={Boolean(error)}
- >
- <Input
- {...field}
- placeholder={renderLabels(authProvider).entryPointPlaceholder}
- />
- </FormControl>
- )}
- />
- <Controller
- control={control}
- name="issuer"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label={renderLabels(authProvider).issuer}
- errorText={error?.message}
- isError={Boolean(error)}
- >
- <Input
- {...field}
- placeholder={renderLabels(authProvider).issuerPlaceholder}
- />
- </FormControl>
- )}
- />
- <Controller
- control={control}
- name="cert"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Certificate"
- errorText={error?.message}
- isError={Boolean(error)}
- >
- <TextArea
- {...field}
- placeholder="-----BEGIN CERTIFICATE----- ..."
- />
- </FormControl>
- )}
- />
- </>
- )}
-
- <div className="mt-8 flex items-center">
- <Button
- className="mr-4"
- size="sm"
- type="submit"
- isLoading={createIsLoading || updateIsLoading}
- >
- {!data ? "Add" : "Update"}
- </Button>
- <Button
- colorSchema="secondary"
- variant="plain"
- onClick={() => handlePopUpClose("addSSO")}
- >
- Cancel
- </Button>
- </div>
- </form>
- </ModalContent>
- </Modal>
- );
-}
\ No newline at end of file
+ </FormControl>
+ )}
+ />
+ <Controller
+ control={control}
+ name="issuer"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl
+ label={renderLabels(authProvider).issuer}
+ errorText={error?.message}
+ isError={Boolean(error)}
+ >
+ <Input {...field} placeholder={renderLabels(authProvider).issuerPlaceholder} />
+ </FormControl>
+ )}
+ />
+ <Controller
+ control={control}
+ name="cert"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl
+ label="Certificate"
+ errorText={error?.message}
+ isError={Boolean(error)}
+ >
+ <TextArea {...field} placeholder="-----BEGIN CERTIFICATE----- ..." />
+ </FormControl>
+ )}
+ />
+ </>
+ )}
+
+ <div className="mt-8 flex items-center">
+ <Button
+ className="mr-4"
+ size="sm"
+ type="submit"
+ isLoading={createIsLoading || updateIsLoading}
+ >
+ {!data ? "Add" : "Update"}
+ </Button>
+ <Button
+ colorSchema="secondary"
+ variant="plain"
+ onClick={() => handlePopUpClose("addSSO")}
+ >
+ Cancel
+ </Button>
+ </div>
+ </form>
+ </ModalContent>
+ </Modal>
+ );
+};
diff --git a/frontend/src/views/Settings/OrgSettingsPage/components/OrgDeleteSection/OrgDeleteSection.tsx b/frontend/src/views/Settings/OrgSettingsPage/components/OrgDeleteSection/OrgDeleteSection.tsx
index 3e0f52ba21..3b1ac8f631 100644
--- a/frontend/src/views/Settings/OrgSettingsPage/components/OrgDeleteSection/OrgDeleteSection.tsx
+++ b/frontend/src/views/Settings/OrgSettingsPage/components/OrgDeleteSection/OrgDeleteSection.tsx
@@ -45,8 +45,8 @@ export const OrgDeleteSection = () => {
};
return (
- <div className="p-4 bg-mineshaft-900 rounded-lg border border-mineshaft-600 mb-6">
- <p className="text-xl font-semibold text-mineshaft-100 mb-4">Danger Zone</p>
+ <div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
+ <p className="mb-4 text-xl font-semibold text-mineshaft-100">Danger Zone</p>
<Button
isLoading={isLoading}
colorSchema="danger"
diff --git a/frontend/src/views/Settings/OrgSettingsPage/components/OrgNameChangeSection/OrgNameChangeSection.tsx b/frontend/src/views/Settings/OrgSettingsPage/components/OrgNameChangeSection/OrgNameChangeSection.tsx
index edf30e296a..42265505fa 100644
--- a/frontend/src/views/Settings/OrgSettingsPage/components/OrgNameChangeSection/OrgNameChangeSection.tsx
+++ b/frontend/src/views/Settings/OrgSettingsPage/components/OrgNameChangeSection/OrgNameChangeSection.tsx
@@ -51,9 +51,9 @@ export const OrgNameChangeSection = (): JSX.Element => {
return (
<form
onSubmit={handleSubmit(onFormSubmit)}
- className="p-4 bg-mineshaft-900 mb-6 rounded-lg border border-mineshaft-600"
+ className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4"
>
- <p className="text-xl font-semibold text-mineshaft-100 mb-4">Name</p>
+ <p className="mb-4 text-xl font-semibold text-mineshaft-100">Name</p>
<div className="mb-2 max-w-md">
<Controller
defaultValue=""
diff --git a/frontend/src/views/Settings/PersonalSettingsPage/APIKeySection/APIKeyTable.tsx b/frontend/src/views/Settings/PersonalSettingsPage/APIKeySection/APIKeyTable.tsx
index 3c08c04cdf..346d917223 100644
--- a/frontend/src/views/Settings/PersonalSettingsPage/APIKeySection/APIKeyTable.tsx
+++ b/frontend/src/views/Settings/PersonalSettingsPage/APIKeySection/APIKeyTable.tsx
@@ -55,9 +55,9 @@ export const APIKeyTable = () => {
{!isLoading &&
data &&
data.length > 0 &&
- data.map(({ _id, name, createdAt, expiresAt, lastUsed }) => {
+ data.map(({ id, name, createdAt, expiresAt, lastUsed }) => {
return (
- <Tr className="h-10" key={`api-key-${_id}`}>
+ <Tr className="h-10" key={`api-key-${id}`}>
<Td>{name}</Td>
<Td>{format(new Date(lastUsed), "yyyy-MM-dd")}</Td>
<Td>{format(new Date(createdAt), "yyyy-MM-dd")}</Td>
@@ -65,7 +65,7 @@ export const APIKeyTable = () => {
<Td>
<IconButton
onClick={async () => {
- await handleDeleteAPIKeyDataClick(_id);
+ await handleDeleteAPIKeyDataClick(id);
}}
size="lg"
colorSchema="danger"
diff --git a/frontend/src/views/Settings/PersonalSettingsPage/APIKeyV2Section/APIKeyV2Table.tsx b/frontend/src/views/Settings/PersonalSettingsPage/APIKeyV2Section/APIKeyV2Table.tsx
index 9361e3be63..878e091c94 100644
--- a/frontend/src/views/Settings/PersonalSettingsPage/APIKeyV2Section/APIKeyV2Table.tsx
+++ b/frontend/src/views/Settings/PersonalSettingsPage/APIKeyV2Section/APIKeyV2Table.tsx
@@ -3,105 +3,96 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { format } from "date-fns";
import {
- EmptyState,
- IconButton,
- Table,
- TableContainer,
- TableSkeleton,
- TBody,
- Td,
- Th,
- THead,
- Tr
+ EmptyState,
+ IconButton,
+ Table,
+ TableContainer,
+ TableSkeleton,
+ TBody,
+ Td,
+ Th,
+ THead,
+ Tr
} from "@app/components/v2";
-import {
- useGetMyAPIKeysV2
-} from "@app/hooks/api";
+import { useGetMyAPIKeysV2 } from "@app/hooks/api";
import { UsePopUpState } from "@app/hooks/usePopUp";
type Props = {
- handlePopUpOpen: (
- popUpName: keyof UsePopUpState<["deleteAPIKeyV2", "apiKeyV2"]>,
- data?: {
- apiKeyDataId?: string;
- name?: string;
- }
- ) => void;
- };
+ handlePopUpOpen: (
+ popUpName: keyof UsePopUpState<["deleteAPIKeyV2", "apiKeyV2"]>,
+ data?: {
+ apiKeyDataId?: string;
+ name?: string;
+ }
+ ) => void;
+};
-export const APIKeyV2Table = ({
- handlePopUpOpen
-}: Props) => {
- const { data, isLoading } = useGetMyAPIKeysV2();
- return (
- <TableContainer>
- <Table>
- <THead>
- <Tr>
- <Th className="">Name</Th>
- <Th className="">Last Used</Th>
- <Th className="">Created At</Th>
- <Th className="w-5" />
- </Tr>
- </THead>
- <TBody>
- {isLoading && <TableSkeleton columns={4} innerKey="api-keys-v2" />}
- {!isLoading &&
- data &&
- data.length > 0 &&
- data.map(({
- id,
- name,
- lastUsed,
- createdAt
- }) => {
- return (
- <Tr className="h-10" key={`api-key-v2-${id}`}>
- <Td>{name}</Td>
- <Td>{lastUsed ? format(new Date(lastUsed), "yyyy-MM-dd") : "-"}</Td>
- <Td>{format(new Date(createdAt), "yyyy-MM-dd")}</Td>
- <Td className="flex justify-end">
- <IconButton
- onClick={async () => {
- handlePopUpOpen("apiKeyV2", {
- apiKeyDataId: id,
- name
- });
- }}
- size="lg"
- colorSchema="primary"
- variant="plain"
- ariaLabel="update"
- >
- <FontAwesomeIcon icon={faPencil} />
- </IconButton>
- <IconButton
- onClick={() => {
- handlePopUpOpen("deleteAPIKeyV2", {
- apiKeyDataId: id
- });
- }}
- size="lg"
- colorSchema="danger"
- variant="plain"
- ariaLabel="update"
- className="ml-4"
- >
- <FontAwesomeIcon icon={faXmark} />
- </IconButton>
- </Td>
- </Tr>
- );
- })}
- {!isLoading && data && data?.length === 0 && (
- <Tr>
- <Td colSpan={4}>
- <EmptyState title="No API key v2 on file" icon={faKey} />
- </Td>
- </Tr>
- )}
- </TBody>
- </Table>
- </TableContainer>
- );
-}
\ No newline at end of file
+export const APIKeyV2Table = ({ handlePopUpOpen }: Props) => {
+ const { data, isLoading } = useGetMyAPIKeysV2();
+ return (
+ <TableContainer>
+ <Table>
+ <THead>
+ <Tr>
+ <Th className="">Name</Th>
+ <Th className="">Last Used</Th>
+ <Th className="">Created At</Th>
+ <Th className="w-5" />
+ </Tr>
+ </THead>
+ <TBody>
+ {isLoading && <TableSkeleton columns={4} innerKey="api-keys-v2" />}
+ {!isLoading &&
+ data &&
+ data.length > 0 &&
+ data.map(({ id, name, lastUsed, createdAt }) => {
+ return (
+ <Tr className="h-10" key={`api-key-v2-${id}`}>
+ <Td>{name}</Td>
+ <Td>{lastUsed ? format(new Date(lastUsed), "yyyy-MM-dd") : "-"}</Td>
+ <Td>{format(new Date(createdAt), "yyyy-MM-dd")}</Td>
+ <Td className="flex justify-end">
+ <IconButton
+ onClick={async () => {
+ handlePopUpOpen("apiKeyV2", {
+ apiKeyDataId: id,
+ name
+ });
+ }}
+ size="lg"
+ colorSchema="primary"
+ variant="plain"
+ ariaLabel="update"
+ >
+ <FontAwesomeIcon icon={faPencil} />
+ </IconButton>
+ <IconButton
+ onClick={() => {
+ handlePopUpOpen("deleteAPIKeyV2", {
+ apiKeyDataId: id
+ });
+ }}
+ size="lg"
+ colorSchema="danger"
+ variant="plain"
+ ariaLabel="update"
+ className="ml-4"
+ >
+ <FontAwesomeIcon icon={faXmark} />
+ </IconButton>
+ </Td>
+ </Tr>
+ );
+ })}
+ {!isLoading && data && data?.length === 0 && (
+ <Tr>
+ <Td colSpan={4}>
+ <EmptyState title="No API key v2 on file" icon={faKey} />
+ </Td>
+ </Tr>
+ )}
+ </TBody>
+ </Table>
+ </TableContainer>
+ );
+};
diff --git a/frontend/src/views/Settings/PersonalSettingsPage/SessionsSection/SessionsTable.tsx b/frontend/src/views/Settings/PersonalSettingsPage/SessionsSection/SessionsTable.tsx
index 8a964b8d64..dfb6576401 100644
--- a/frontend/src/views/Settings/PersonalSettingsPage/SessionsSection/SessionsTable.tsx
+++ b/frontend/src/views/Settings/PersonalSettingsPage/SessionsSection/SessionsTable.tsx
@@ -43,9 +43,9 @@ export const SessionsTable = () => {
{!isLoading &&
data &&
data.length > 0 &&
- data.map(({ _id, createdAt, lastUsed, ip, userAgent }) => {
+ data.map(({ id, createdAt, lastUsed, ip, userAgent }) => {
return (
- <Tr className="h-10" key={`session-${_id}`}>
+ <Tr className="h-10" key={`session-${id}`}>
<Td>{formatDate(createdAt)}</Td>
<Td>{formatDate(lastUsed)}</Td>
<Td>{ip}</Td>
diff --git a/frontend/src/views/Settings/PersonalSettingsPage/UserNameSection/UserNameSection.tsx b/frontend/src/views/Settings/PersonalSettingsPage/UserNameSection/UserNameSection.tsx
index 722112bf9b..04f40f48ca 100644
--- a/frontend/src/views/Settings/PersonalSettingsPage/UserNameSection/UserNameSection.tsx
+++ b/frontend/src/views/Settings/PersonalSettingsPage/UserNameSection/UserNameSection.tsx
@@ -9,7 +9,7 @@ import { useUser } from "@app/context";
import { useRenameUser } from "@app/hooks/api/users/queries";
const formSchema = yup.object({
- name: yup.string().required().label("User Name"),
+ name: yup.string().required().label("User Name")
});
type FormData = yup.InferType<typeof formSchema>;
@@ -17,11 +17,7 @@ type FormData = yup.InferType<typeof formSchema>;
export const UserNameSection = (): JSX.Element => {
const { user } = useUser();
const { createNotification } = useNotificationContext();
- const {
- handleSubmit,
- control,
- reset
- } = useForm<FormData>({ resolver: yupResolver(formSchema) });
+ const { handleSubmit, control, reset } = useForm<FormData>({ resolver: yupResolver(formSchema) });
const { mutateAsync, isLoading } = useRenameUser();
useEffect(() => {
@@ -32,10 +28,10 @@ export const UserNameSection = (): JSX.Element => {
const onFormSubmit = async ({ name }: FormData) => {
try {
- if (!user?._id) return;
+ if (!user?.id) return;
if (name === "") return;
- await mutateAsync({ newName: name});
+ await mutateAsync({ newName: name });
createNotification({
text: "Successfully renamed user",
type: "success"
@@ -50,33 +46,26 @@ export const UserNameSection = (): JSX.Element => {
};
return (
- <form
+ <form
onSubmit={handleSubmit(onFormSubmit)}
- className="p-4 bg-mineshaft-900 mb-6 rounded-lg border border-mineshaft-600"
+ className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4"
>
- <p className="text-xl font-semibold text-mineshaft-100 mb-4">
- Name
- </p>
- <div className="mb-2 max-w-md">
- <Controller
- defaultValue=""
- render={({ field, fieldState: { error } }) => (
- <FormControl isError={Boolean(error)} errorText={error?.message}>
- <Input placeholder={`${user?.firstName} ${user?.lastName}`} {...field} />
- </FormControl>
- )}
- control={control}
- name="name"
- />
- </div>
- <Button
- isLoading={isLoading}
- colorSchema="primary"
- variant="outline_bg"
- type="submit"
- >
- Save
- </Button>
+ <p className="mb-4 text-xl font-semibold text-mineshaft-100">Name</p>
+ <div className="mb-2 max-w-md">
+ <Controller
+ defaultValue=""
+ render={({ field, fieldState: { error } }) => (
+ <FormControl isError={Boolean(error)} errorText={error?.message}>
+ <Input placeholder={`${user?.firstName} ${user?.lastName}`} {...field} />
+ </FormControl>
+ )}
+ control={control}
+ name="name"
+ />
+ </div>
+ <Button isLoading={isLoading} colorSchema="primary" variant="outline_bg" type="submit">
+ Save
+ </Button>
</form>
);
};
diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/AutoCapitalizationSection/AutoCapitalizationSection.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/AutoCapitalizationSection/AutoCapitalizationSection.tsx
index 58e345a120..b0eda82045 100644
--- a/frontend/src/views/Settings/ProjectSettingsPage/components/AutoCapitalizationSection/AutoCapitalizationSection.tsx
+++ b/frontend/src/views/Settings/ProjectSettingsPage/components/AutoCapitalizationSection/AutoCapitalizationSection.tsx
@@ -14,10 +14,10 @@ export const AutoCapitalizationSection = () => {
const handleToggleCapitalizationToggle = async (state: boolean) => {
try {
- if (!currentWorkspace?._id) return;
+ if (!currentWorkspace?.id) return;
await mutateAsync({
- workspaceID: currentWorkspace._id,
+ workspaceID: currentWorkspace.id,
state
});
@@ -36,7 +36,7 @@ export const AutoCapitalizationSection = () => {
};
return (
- <div className="mb-6 p-4 bg-mineshaft-900 rounded-lg border border-mineshaft-600">
+ <div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
<p className="mb-3 text-xl font-semibold">{t("settings.project.auto-capitalization")}</p>
<ProjectPermissionCan I={ProjectPermissionActions.Edit} a={ProjectPermissionSub.Settings}>
{(isAllowed) => (
diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/DeleteProjectSection/DeleteProjectSection.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/DeleteProjectSection/DeleteProjectSection.tsx
index 0dba6ce6c9..a6b7b17b1f 100644
--- a/frontend/src/views/Settings/ProjectSettingsPage/components/DeleteProjectSection/DeleteProjectSection.tsx
+++ b/frontend/src/views/Settings/ProjectSettingsPage/components/DeleteProjectSection/DeleteProjectSection.tsx
@@ -2,10 +2,7 @@ import { useRouter } from "next/router";
import { useNotificationContext } from "@app/components/context/Notifications/NotificationProvider";
import { ProjectPermissionCan } from "@app/components/permissions";
-import {
- Button,
- DeleteActionModal,
-} from "@app/components/v2";
+import { Button, DeleteActionModal } from "@app/components/v2";
import {
ProjectPermissionActions,
ProjectPermissionSub,
@@ -19,30 +16,30 @@ import { usePopUp } from "@app/hooks/usePopUp";
export const DeleteProjectSection = () => {
const router = useRouter();
const { createNotification } = useNotificationContext();
- const { popUp, handlePopUpOpen, handlePopUpClose, handlePopUpToggle } = usePopUp([
+ const { popUp, handlePopUpOpen, handlePopUpClose, handlePopUpToggle } = usePopUp([
"deleteWorkspace"
-] as const);
+ ] as const);
const { currentOrg } = useOrganization();
const { currentWorkspace } = useWorkspace();
const [isDeleting, setIsDeleting] = useToggle();
const deleteWorkspace = useDeleteWorkspace();
-
+
const handleDeleteWorkspaceSubmit = async () => {
setIsDeleting.on();
try {
- if (!currentWorkspace?._id) return;
-
+ if (!currentWorkspace?.id) return;
+
await deleteWorkspace.mutateAsync({
- workspaceID: currentWorkspace?._id
+ workspaceID: currentWorkspace?.id
});
-
+
createNotification({
text: "Successfully deleted project",
type: "success"
});
-
- router.push(`/org/${currentOrg?._id}/overview`);
+
+ router.push(`/org/${currentOrg?.id}/overview`);
handlePopUpClose("deleteWorkspace");
} catch (err) {
console.error(err);
@@ -53,36 +50,34 @@ export const DeleteProjectSection = () => {
} finally {
setIsDeleting.off();
}
- }
+ };
return (
- <div className="p-4 bg-mineshaft-900 rounded-lg border border-mineshaft-600 mb-6">
- <p className="text-xl font-semibold text-mineshaft-100 mb-4">
- Danger Zone
- </p>
- <ProjectPermissionCan I={ProjectPermissionActions.Delete} a={ProjectPermissionSub.Workspace}>
- {(isAllowed) => (
- <Button
- isLoading={isDeleting}
- isDisabled={!isAllowed || isDeleting}
- colorSchema="danger"
- variant="outline_bg"
- type="submit"
- onClick={() => handlePopUpOpen("deleteWorkspace")}
- >
- {`Delete ${currentWorkspace?.name}`}
- </Button>
- )}
- </ProjectPermissionCan>
- <DeleteActionModal
- isOpen={popUp.deleteWorkspace.isOpen}
- title="Are you sure want to delete this project?"
- subTitle={`Permanently delete ${currentWorkspace?.name} and all of its data. This action is not reversible, so please be careful.`}
- onChange={(isOpen) => handlePopUpToggle("deleteWorkspace", isOpen)}
- deleteKey="confirm"
- buttonText="Delete Project"
- onDeleteApproved={handleDeleteWorkspaceSubmit}
- />
+ <div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
+ <p className="mb-4 text-xl font-semibold text-mineshaft-100">Danger Zone</p>
+ <ProjectPermissionCan I={ProjectPermissionActions.Delete} a={ProjectPermissionSub.Workspace}>
+ {(isAllowed) => (
+ <Button
+ isLoading={isDeleting}
+ isDisabled={!isAllowed || isDeleting}
+ colorSchema="danger"
+ variant="outline_bg"
+ type="submit"
+ onClick={() => handlePopUpOpen("deleteWorkspace")}
+ >
+ {`Delete ${currentWorkspace?.name}`}
+ </Button>
+ )}
+ </ProjectPermissionCan>
+ <DeleteActionModal
+ isOpen={popUp.deleteWorkspace.isOpen}
+ title="Are you sure want to delete this project?"
+ subTitle={`Permanently delete ${currentWorkspace?.name} and all of its data. This action is not reversible, so please be careful.`}
+ onChange={(isOpen) => handlePopUpToggle("deleteWorkspace", isOpen)}
+ deleteKey="confirm"
+ buttonText="Delete Project"
+ onDeleteApproved={handleDeleteWorkspaceSubmit}
+ />
</div>
);
};
diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/E2EESection/E2EESection.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/E2EESection/E2EESection.tsx
index 2d62034d67..b636355822 100644
--- a/frontend/src/views/Settings/ProjectSettingsPage/components/E2EESection/E2EESection.tsx
+++ b/frontend/src/views/Settings/ProjectSettingsPage/components/E2EESection/E2EESection.tsx
@@ -9,9 +9,9 @@ import { useGetUserWsKey, useGetWorkspaceBot, useUpdateBotActiveStatus } from "@
export const E2EESection = () => {
const { currentWorkspace } = useWorkspace();
- const { data: bot } = useGetWorkspaceBot(currentWorkspace?._id ?? "");
+ const { data: bot } = useGetWorkspaceBot(currentWorkspace?.id ?? "");
const { mutateAsync: updateBotActiveStatus } = useUpdateBotActiveStatus();
- const { data: wsKey } = useGetUserWsKey(currentWorkspace?._id ?? "");
+ const { data: wsKey } = useGetUserWsKey(currentWorkspace?.id ?? "");
/**
* Activate bot for project by performing the following steps:
@@ -23,7 +23,7 @@ export const E2EESection = () => {
const toggleBotActivate = async () => {
let botKey;
try {
- if (!currentWorkspace?._id) return;
+ if (!currentWorkspace?.id) return;
if (bot && wsKey) {
// case: there is a bot
@@ -56,17 +56,17 @@ export const E2EESection = () => {
};
await updateBotActiveStatus({
- workspaceId: currentWorkspace._id,
+ workspaceId: currentWorkspace.id,
botKey,
isActive: true,
- botId: bot._id
+ botId: bot.id
});
} else {
// bot is active -> deactivate bot
await updateBotActiveStatus({
isActive: false,
- botId: bot._id,
- workspaceId: currentWorkspace._id
+ botId: bot.id,
+ workspaceId: currentWorkspace.id
});
}
}
diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/AddEnvironmentModal.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/AddEnvironmentModal.tsx
index 21834c3708..51f92d6fb8 100644
--- a/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/AddEnvironmentModal.tsx
+++ b/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/AddEnvironmentModal.tsx
@@ -3,21 +3,15 @@ import { yupResolver } from "@hookform/resolvers/yup";
import * as yup from "yup";
import { useNotificationContext } from "@app/components/context/Notifications/NotificationProvider";
-import {
- Button,
- FormControl,
- Input,
- Modal,
- ModalContent,
-} from "@app/components/v2";
+import { Button, FormControl, Input, Modal, ModalContent } from "@app/components/v2";
import { useWorkspace } from "@app/context";
import { useCreateWsEnvironment } from "@app/hooks/api";
import { UsePopUpState } from "@app/hooks/usePopUp";
type Props = {
- popUp: UsePopUpState<["createEnv"]>;
- handlePopUpClose: (popUpName: keyof UsePopUpState<["createEnv"]>) => void;
- handlePopUpToggle: (popUpName: keyof UsePopUpState<["createEnv"]>, state?: boolean) => void;
+ popUp: UsePopUpState<["createEnv"]>;
+ handlePopUpClose: (popUpName: keyof UsePopUpState<["createEnv"]>) => void;
+ handlePopUpToggle: (popUpName: keyof UsePopUpState<["createEnv"]>, state?: boolean) => void;
};
const schema = yup.object({
@@ -27,106 +21,95 @@ const schema = yup.object({
export type FormData = yup.InferType<typeof schema>;
-export const AddEnvironmentModal = ({
- popUp,
- handlePopUpClose,
- handlePopUpToggle
-}: Props) => {
+export const AddEnvironmentModal = ({ popUp, handlePopUpClose, handlePopUpToggle }: Props) => {
const { createNotification } = useNotificationContext();
const { currentWorkspace } = useWorkspace();
- const { mutateAsync, isLoading } = useCreateWsEnvironment();
- const {
- control,
- handleSubmit,
- reset
- } = useForm<FormData>({
- resolver: yupResolver(schema)
- });
+ const { mutateAsync, isLoading } = useCreateWsEnvironment();
+ const { control, handleSubmit, reset } = useForm<FormData>({
+ resolver: yupResolver(schema)
+ });
- const onFormSubmit = async ({
+ const onFormSubmit = async ({ environmentName, environmentSlug }: FormData) => {
+ try {
+ if (!currentWorkspace?.id) return;
+
+ await mutateAsync({
+ workspaceID: currentWorkspace.id,
environmentName,
environmentSlug
- }: FormData) => {
- try {
- if (!currentWorkspace?._id) return;
+ });
- await mutateAsync({
- workspaceID: currentWorkspace._id,
- environmentName,
- environmentSlug
- });
+ createNotification({
+ text: "Successfully created environment",
+ type: "success"
+ });
- createNotification({
- text: "Successfully created environment",
- type: "success"
- });
-
- handlePopUpClose("createEnv");
- } catch (err) {
- console.error(err);
- createNotification({
- text: "Failed to create environment",
- type: "error"
- });
- }
- };
+ handlePopUpClose("createEnv");
+ } catch (err) {
+ console.error(err);
+ createNotification({
+ text: "Failed to create environment",
+ type: "error"
+ });
+ }
+ };
- return (
- <Modal
- isOpen={popUp?.createEnv?.isOpen}
- onOpenChange={(isOpen) => {
- handlePopUpToggle("createEnv", isOpen);
- reset();
- }}
- >
- <ModalContent title="Create a new environment">
- <form onSubmit={handleSubmit(onFormSubmit)}>
- <Controller
- control={control}
- defaultValue=""
- name="environmentName"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Environment Name"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input {...field} />
- </FormControl>
- )}
- />
- <Controller
- control={control}
- defaultValue=""
- name="environmentSlug"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Environment Slug"
- helperText="Slugs are shorthands used in cli to access environment"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input {...field} />
- </FormControl>
- )}
- />
- <div className="mt-8 flex items-center">
- <Button
- className="mr-4"
- size="sm"
- type="submit"
- isLoading={isLoading}
- isDisabled={isLoading}
- >
- Create
- </Button>
+ return (
+ <Modal
+ isOpen={popUp?.createEnv?.isOpen}
+ onOpenChange={(isOpen) => {
+ handlePopUpToggle("createEnv", isOpen);
+ reset();
+ }}
+ >
+ <ModalContent title="Create a new environment">
+ <form onSubmit={handleSubmit(onFormSubmit)}>
+ <Controller
+ control={control}
+ defaultValue=""
+ name="environmentName"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl
+ label="Environment Name"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} />
+ </FormControl>
+ )}
+ />
+ <Controller
+ control={control}
+ defaultValue=""
+ name="environmentSlug"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl
+ label="Environment Slug"
+ helperText="Slugs are shorthands used in cli to access environment"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} />
+ </FormControl>
+ )}
+ />
+ <div className="mt-8 flex items-center">
+ <Button
+ className="mr-4"
+ size="sm"
+ type="submit"
+ isLoading={isLoading}
+ isDisabled={isLoading}
+ >
+ Create
+ </Button>
- <Button colorSchema="secondary" variant="plain">
- Cancel
- </Button>
- </div>
- </form>
- </ModalContent>
- </Modal>
- );
-}
\ No newline at end of file
+ <Button colorSchema="secondary" variant="plain">
+ Cancel
+ </Button>
+ </div>
+ </form>
+ </ModalContent>
+ </Modal>
+ );
+};
diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/EnvironmentSection.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/EnvironmentSection.tsx
index 1676ce62b1..29945922b1 100644
--- a/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/EnvironmentSection.tsx
+++ b/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/EnvironmentSection.tsx
@@ -40,10 +40,10 @@ export const EnvironmentSection = () => {
const onEnvDeleteSubmit = async (environmentSlug: string) => {
try {
- if (!currentWorkspace?._id) return;
+ if (!currentWorkspace?.id) return;
await deleteWsEnvironment.mutateAsync({
- workspaceID: currentWorkspace._id,
+ workspaceID: currentWorkspace.id,
environmentSlug
});
@@ -63,8 +63,8 @@ export const EnvironmentSection = () => {
};
return (
- <div className="mb-6 p-4 bg-mineshaft-900 rounded-lg border border-mineshaft-600">
- <div className="flex justify-between mb-8">
+ <div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
+ <div className="mb-8 flex justify-between">
<p className="text-xl font-semibold text-mineshaft-100">Environments</p>
<div>
<ProjectPermissionCan
@@ -90,7 +90,7 @@ export const EnvironmentSection = () => {
</ProjectPermissionCan>
</div>
</div>
- <p className="text-gray-400 mb-8">
+ <p className="mb-8 text-gray-400">
Choose which environments will show up in your dashboard like development, staging,
production
</p>
diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/EnvironmentTable.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/EnvironmentTable.tsx
index fb892bb7e5..bd1525b4a9 100644
--- a/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/EnvironmentTable.tsx
+++ b/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/EnvironmentTable.tsx
@@ -39,7 +39,7 @@ export const EnvironmentTable = ({ handlePopUpOpen }: Props) => {
const handleReorderEnv = async (shouldMoveUp: boolean, name: string, slug: string) => {
try {
- if (!currentWorkspace?._id) return;
+ if (!currentWorkspace?.id) return;
const indexOfEnv = currentWorkspace.environments.findIndex(
(env) => env.name === name && env.slug === slug
@@ -56,7 +56,7 @@ export const EnvironmentTable = ({ handlePopUpOpen }: Props) => {
const indexToSwap = shouldMoveUp ? indexOfEnv - 1 : indexOfEnv + 1;
await reorderWsEnvironment.mutateAsync({
- workspaceID: currentWorkspace._id,
+ workspaceID: currentWorkspace.id,
environmentSlug: slug,
environmentName: name,
otherEnvironmentSlug: currentWorkspace.environments[indexToSwap].slug,
diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/UpdateEnvironmentModal.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/UpdateEnvironmentModal.tsx
index ec6e556c9a..be4f195955 100644
--- a/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/UpdateEnvironmentModal.tsx
+++ b/frontend/src/views/Settings/ProjectSettingsPage/components/EnvironmentSection/UpdateEnvironmentModal.tsx
@@ -3,21 +3,15 @@ import { yupResolver } from "@hookform/resolvers/yup";
import * as yup from "yup";
import { useNotificationContext } from "@app/components/context/Notifications/NotificationProvider";
-import {
- Button,
- FormControl,
- Input,
- Modal,
- ModalContent,
-} from "@app/components/v2";
+import { Button, FormControl, Input, Modal, ModalContent } from "@app/components/v2";
import { useWorkspace } from "@app/context";
import { useUpdateWsEnvironment } from "@app/hooks/api";
import { UsePopUpState } from "@app/hooks/usePopUp";
type Props = {
- popUp: UsePopUpState<["updateEnv"]>;
- handlePopUpClose: (popUpName: keyof UsePopUpState<["updateEnv"]>) => void;
- handlePopUpToggle: (popUpName: keyof UsePopUpState<["updateEnv"]>, state?: boolean) => void;
+ popUp: UsePopUpState<["updateEnv"]>;
+ handlePopUpClose: (popUpName: keyof UsePopUpState<["updateEnv"]>) => void;
+ handlePopUpToggle: (popUpName: keyof UsePopUpState<["updateEnv"]>, state?: boolean) => void;
};
const schema = yup.object({
@@ -27,109 +21,98 @@ const schema = yup.object({
export type FormData = yup.InferType<typeof schema>;
-export const UpdateEnvironmentModal = ({
- popUp,
- handlePopUpClose,
- handlePopUpToggle
-}: Props) => {
+export const UpdateEnvironmentModal = ({ popUp, handlePopUpClose, handlePopUpToggle }: Props) => {
const { createNotification } = useNotificationContext();
const { currentWorkspace } = useWorkspace();
- const { mutateAsync, isLoading } = useUpdateWsEnvironment();
- const {
- control,
- handleSubmit,
- reset
- } = useForm<FormData>({
- resolver: yupResolver(schema)
- });
+ const { mutateAsync, isLoading } = useUpdateWsEnvironment();
+ const { control, handleSubmit, reset } = useForm<FormData>({
+ resolver: yupResolver(schema)
+ });
- const oldEnvironmentSlug = (popUp?.updateEnv?.data as { slug: string })?.slug;
-
- const onFormSubmit = async ({
+ const oldEnvironmentSlug = (popUp?.updateEnv?.data as { slug: string })?.slug;
+
+ const onFormSubmit = async ({ environmentName, environmentSlug }: FormData) => {
+ try {
+ if (!currentWorkspace?.id) return;
+
+ await mutateAsync({
+ workspaceID: currentWorkspace.id,
environmentName,
- environmentSlug
- }: FormData) => {
- try {
- if (!currentWorkspace?._id) return;
-
- await mutateAsync({
- workspaceID: currentWorkspace._id,
- environmentName,
- environmentSlug,
- oldEnvironmentSlug
- });
+ environmentSlug,
+ oldEnvironmentSlug
+ });
- createNotification({
- text: "Successfully updated environment",
- type: "success"
- });
-
- handlePopUpClose("updateEnv");
- } catch (err) {
- console.error(err);
- createNotification({
- text: "Failed to update environment",
- type: "error"
- });
- }
- };
+ createNotification({
+ text: "Successfully updated environment",
+ type: "success"
+ });
- return (
- <Modal
- isOpen={popUp?.updateEnv?.isOpen}
- onOpenChange={(isOpen) => {
- handlePopUpToggle("updateEnv", isOpen);
- reset();
- }}
- >
- <ModalContent title="Update environment">
- <form onSubmit={handleSubmit(onFormSubmit)}>
- <Controller
- control={control}
- defaultValue=""
- name="environmentName"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Environment Name"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input {...field} />
- </FormControl>
- )}
- />
- <Controller
- control={control}
- defaultValue=""
- name="environmentSlug"
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Environment Slug"
- helperText="Slugs are shorthands used in cli to access environment"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input {...field} />
- </FormControl>
- )}
- />
- <div className="mt-8 flex items-center">
- <Button
- className="mr-4"
- size="sm"
- type="submit"
- isLoading={isLoading}
- isDisabled={isLoading}
- >
- Update
- </Button>
+ handlePopUpClose("updateEnv");
+ } catch (err) {
+ console.error(err);
+ createNotification({
+ text: "Failed to update environment",
+ type: "error"
+ });
+ }
+ };
- <Button colorSchema="secondary" variant="plain">
- Cancel
- </Button>
- </div>
- </form>
- </ModalContent>
- </Modal>
- );
-}
\ No newline at end of file
+ return (
+ <Modal
+ isOpen={popUp?.updateEnv?.isOpen}
+ onOpenChange={(isOpen) => {
+ handlePopUpToggle("updateEnv", isOpen);
+ reset();
+ }}
+ >
+ <ModalContent title="Update environment">
+ <form onSubmit={handleSubmit(onFormSubmit)}>
+ <Controller
+ control={control}
+ defaultValue=""
+ name="environmentName"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl
+ label="Environment Name"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} />
+ </FormControl>
+ )}
+ />
+ <Controller
+ control={control}
+ defaultValue=""
+ name="environmentSlug"
+ render={({ field, fieldState: { error } }) => (
+ <FormControl
+ label="Environment Slug"
+ helperText="Slugs are shorthands used in cli to access environment"
+ isError={Boolean(error)}
+ errorText={error?.message}
+ >
+ <Input {...field} />
+ </FormControl>
+ )}
+ />
+ <div className="mt-8 flex items-center">
+ <Button
+ className="mr-4"
+ size="sm"
+ type="submit"
+ isLoading={isLoading}
+ isDisabled={isLoading}
+ >
+ Update
+ </Button>
+
+ <Button colorSchema="secondary" variant="plain">
+ Cancel
+ </Button>
+ </div>
+ </form>
+ </ModalContent>
+ </Modal>
+ );
+};
diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/ProjectNameChangeSection/ProjectNameChangeSection.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/ProjectNameChangeSection/ProjectNameChangeSection.tsx
index 137674ef0c..6055a9f330 100644
--- a/frontend/src/views/Settings/ProjectSettingsPage/components/ProjectNameChangeSection/ProjectNameChangeSection.tsx
+++ b/frontend/src/views/Settings/ProjectSettingsPage/components/ProjectNameChangeSection/ProjectNameChangeSection.tsx
@@ -32,10 +32,10 @@ export const ProjectNameChangeSection = () => {
const onFormSubmit = async ({ name }: FormData) => {
try {
- if (!currentWorkspace?._id) return;
+ if (!currentWorkspace?.id) return;
await mutateAsync({
- workspaceID: currentWorkspace._id,
+ workspaceID: currentWorkspace.id,
newWorkspaceName: name
});
@@ -55,9 +55,9 @@ export const ProjectNameChangeSection = () => {
return (
<form
onSubmit={handleSubmit(onFormSubmit)}
- className="p-4 bg-mineshaft-900 mb-6 rounded-lg border border-mineshaft-600"
+ className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4"
>
- <h2 className="text-xl font-semibold flex-1 text-mineshaft-100 mb-8">Project Name</h2>
+ <h2 className="mb-8 flex-1 text-xl font-semibold text-mineshaft-100">Project Name</h2>
<div className="max-w-md">
<Controller
defaultValue=""
diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/SecretTagsSection/AddSecretTagModal.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/SecretTagsSection/AddSecretTagModal.tsx
index ca395423bd..9218af1291 100644
--- a/frontend/src/views/Settings/ProjectSettingsPage/components/SecretTagsSection/AddSecretTagModal.tsx
+++ b/frontend/src/views/Settings/ProjectSettingsPage/components/SecretTagsSection/AddSecretTagModal.tsx
@@ -3,120 +3,108 @@ import { yupResolver } from "@hookform/resolvers/yup";
import * as yup from "yup";
import { useNotificationContext } from "@app/components/context/Notifications/NotificationProvider";
-import {
- Button,
- FormControl,
- Input,
- Modal,
- ModalClose,
- ModalContent
-} from "@app/components/v2";
+import { Button, FormControl, Input, Modal, ModalClose, ModalContent } from "@app/components/v2";
import { useWorkspace } from "@app/context";
import { useCreateWsTag } from "@app/hooks/api";
import { UsePopUpState } from "@app/hooks/usePopUp";
const schema = yup.object({
- name: yup.string().required().label("Tag Name")
+ name: yup.string().required().label("Tag Name")
});
export type FormData = yup.InferType<typeof schema>;
type Props = {
- popUp: UsePopUpState<["CreateSecretTag", "deleteTagConfirmation"]>;
- handlePopUpClose: (popUpName: keyof UsePopUpState<["CreateSecretTag", "deleteTagConfirmation"]>) => void;
- handlePopUpToggle: (popUpName: keyof UsePopUpState<["CreateSecretTag", "deleteTagConfirmation"]>, state?: boolean) => void;
+ popUp: UsePopUpState<["CreateSecretTag", "deleteTagConfirmation"]>;
+ handlePopUpClose: (
+ popUpName: keyof UsePopUpState<["CreateSecretTag", "deleteTagConfirmation"]>
+ ) => void;
+ handlePopUpToggle: (
+ popUpName: keyof UsePopUpState<["CreateSecretTag", "deleteTagConfirmation"]>,
+ state?: boolean
+ ) => void;
};
-export const AddSecretTagModal = ({
- popUp,
- handlePopUpClose,
- handlePopUpToggle
-}: Props) => {
- const { createNotification } = useNotificationContext();
- const { currentWorkspace }= useWorkspace();
- const createWsTag = useCreateWsTag();
- const {
- control,
- reset,
- handleSubmit,
- formState: { isSubmitting }
- } = useForm<FormData>({
- resolver: yupResolver(schema)
- });
-
- const onFormSubmit = async ({
- name
- }: FormData) => {
- try {
- if (!currentWorkspace?._id) return;
+export const AddSecretTagModal = ({ popUp, handlePopUpClose, handlePopUpToggle }: Props) => {
+ const { createNotification } = useNotificationContext();
+ const { currentWorkspace } = useWorkspace();
+ const createWsTag = useCreateWsTag();
+ const {
+ control,
+ reset,
+ handleSubmit,
+ formState: { isSubmitting }
+ } = useForm<FormData>({
+ resolver: yupResolver(schema)
+ });
- await createWsTag.mutateAsync({
- workspaceID: currentWorkspace?._id,
- tagName: name,
- tagSlug: name.replace(/\s+/g, " ").replace(" ", "_"),
- tagColor: ""
- });
+ const onFormSubmit = async ({ name }: FormData) => {
+ try {
+ if (!currentWorkspace?.id) return;
- handlePopUpClose("CreateSecretTag");
+ await createWsTag.mutateAsync({
+ workspaceID: currentWorkspace?.id,
+ tagName: name,
+ tagSlug: name.replace(/\s+/g, " ").replace(" ", "_"),
+ tagColor: ""
+ });
- createNotification({
- text: "Successfully created a tag",
- type: "success"
- });
- reset()
- } catch (err) {
- console.error(err);
- createNotification({
- text: "Failed to create a tag",
- type: "error"
- });
- }
+ handlePopUpClose("CreateSecretTag");
+
+ createNotification({
+ text: "Successfully created a tag",
+ type: "success"
+ });
+ reset();
+ } catch (err) {
+ console.error(err);
+ createNotification({
+ text: "Failed to create a tag",
+ type: "error"
+ });
}
+ };
- return (
- <Modal
- isOpen={popUp?.CreateSecretTag?.isOpen}
- onOpenChange={(open) => {
- handlePopUpToggle("CreateSecretTag", open);
- reset();
- }}
- >
- <ModalContent
- title={`Add a tag for ${currentWorkspace?.name ?? ""}`}
- subTitle="Specify your tag name, and the slug will be created automatically."
+ return (
+ <Modal
+ isOpen={popUp?.CreateSecretTag?.isOpen}
+ onOpenChange={(open) => {
+ handlePopUpToggle("CreateSecretTag", open);
+ reset();
+ }}
+ >
+ <ModalContent
+ title={`Add a tag for ${currentWorkspace?.name ?? ""}`}
+ subTitle="Specify your tag name, and the slug will be created automatically."
+ >
+ <form onSubmit={handleSubmit(onFormSubmit)}>
+ <Controller
+ control={control}
+ name="name"
+ defaultValue=""
+ render={({ field, fieldState: { error } }) => (
+ <FormControl label="Tag Name" isError={Boolean(error)} errorText={error?.message}>
+ <Input {...field} placeholder="Type your tag name" />
+ </FormControl>
+ )}
+ />
+ <div className="mt-8 flex items-center">
+ <Button
+ className="mr-4"
+ type="submit"
+ isDisabled={isSubmitting}
+ isLoading={isSubmitting}
>
- <form onSubmit={handleSubmit(onFormSubmit)}>
- <Controller
- control={control}
- name="name"
- defaultValue=""
- render={({ field, fieldState: { error } }) => (
- <FormControl
- label="Tag Name"
- isError={Boolean(error)}
- errorText={error?.message}
- >
- <Input {...field} placeholder="Type your tag name" />
- </FormControl>
- )}
- />
- <div className="mt-8 flex items-center">
- <Button
- className="mr-4"
- type="submit"
- isDisabled={isSubmitting}
- isLoading={isSubmitting}
- >
- Create
- </Button>
- <ModalClose asChild>
- <Button variant="plain" colorSchema="secondary">
- Cancel
- </Button>
- </ModalClose>
- </div>
- </form>
- </ModalContent>
- </Modal>
- );
-}
\ No newline at end of file
+ Create
+ </Button>
+ <ModalClose asChild>
+ <Button variant="plain" colorSchema="secondary">
+ Cancel
+ </Button>
+ </ModalClose>
+ </div>
+ </form>
+ </ModalContent>
+ </Modal>
+ );
+};
diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/SecretTagsSection/SecretTagsTable.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/SecretTagsSection/SecretTagsTable.tsx
index e20e605fa2..d0655f9843 100644
--- a/frontend/src/views/Settings/ProjectSettingsPage/components/SecretTagsSection/SecretTagsTable.tsx
+++ b/frontend/src/views/Settings/ProjectSettingsPage/components/SecretTagsSection/SecretTagsTable.tsx
@@ -33,7 +33,7 @@ type Props = {
export const SecretTagsTable = ({ handlePopUpOpen }: Props) => {
const { currentWorkspace } = useWorkspace();
- const { data, isLoading } = useGetWsTags(currentWorkspace?._id ?? "");
+ const { data, isLoading } = useGetWsTags(currentWorkspace?.id ?? "");
return (
<TableContainer className="mt-4">
@@ -49,7 +49,7 @@ export const SecretTagsTable = ({ handlePopUpOpen }: Props) => {
{isLoading && <TableSkeleton columns={3} innerKey="secret-tags" />}
{!isLoading &&
data &&
- data.map(({ _id, name, slug }) => (
+ data.map(({ id, name, slug }) => (
<Tr key={name}>
<Td>{name}</Td>
<Td>{slug}</Td>
@@ -63,7 +63,7 @@ export const SecretTagsTable = ({ handlePopUpOpen }: Props) => {
onClick={() =>
handlePopUpOpen("deleteTagConfirmation", {
name,
- id: _id
+ id
})
}
colorSchema="danger"
diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/WebhooksTab/WebhooksTab.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/WebhooksTab/WebhooksTab.tsx
index 6fc6b230c1..159768e338 100644
--- a/frontend/src/views/Settings/ProjectSettingsPage/components/WebhooksTab/WebhooksTab.tsx
+++ b/frontend/src/views/Settings/ProjectSettingsPage/components/WebhooksTab/WebhooksTab.tsx
@@ -36,7 +36,7 @@ export const WebhooksTab = withProjectPermission(
const { t } = useTranslation();
const { createNotification } = useNotificationContext();
const { currentWorkspace } = useWorkspace();
- const workspaceId = currentWorkspace?._id || "";
+ const workspaceId = currentWorkspace?.id || "";
const { popUp, handlePopUpOpen, handlePopUpToggle, handlePopUpClose } = usePopUp([
"addWebhook",
"deleteWebhook"
@@ -182,7 +182,7 @@ export const WebhooksTab = withProjectPermission(
{!isWebhooksLoading &&
webhooks?.map(
({
- _id: id,
+ id,
url,
environment,
secretPath,
diff --git a/frontend/src/views/admin/DashboardPage/DashboardPage.tsx b/frontend/src/views/admin/DashboardPage/DashboardPage.tsx
index cbf5f9ce86..d55eba78b1 100644
--- a/frontend/src/views/admin/DashboardPage/DashboardPage.tsx
+++ b/frontend/src/views/admin/DashboardPage/DashboardPage.tsx
@@ -42,7 +42,7 @@ export const AdminDashboardPage = () => {
<div>
<Tabs defaultValue={TabSections.Settings}>
<TabList>
- <div className="flex flex-row border-b border-mineshaft-600 w-full">
+ <div className="flex w-full flex-row border-b border-mineshaft-600">
<Tab value={TabSections.Settings}>General</Tab>
</div>
</TabList>
diff --git a/frontend/tsconfig.tsbuildinfo b/frontend/tsconfig.tsbuildinfo
new file mode 100644
index 0000000000..4a5d82d537
--- /dev/null
+++ b/frontend/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/typescript/lib/lib.es2021.d.ts","./node_modules/typescript/lib/lib.es2022.d.ts","./node_modules/typescript/lib/lib.esnext.d.ts","./node_modules/typescript/lib/lib.dom.d.ts","./node_modules/typescript/lib/lib.dom.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/typescript/lib/lib.es2021.promise.d.ts","./node_modules/typescript/lib/lib.es2021.string.d.ts","./node_modules/typescript/lib/lib.es2021.weakref.d.ts","./node_modules/typescript/lib/lib.es2021.intl.d.ts","./node_modules/typescript/lib/lib.es2022.array.d.ts","./node_modules/typescript/lib/lib.es2022.error.d.ts","./node_modules/typescript/lib/lib.es2022.intl.d.ts","./node_modules/typescript/lib/lib.es2022.object.d.ts","./node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2022.string.d.ts","./node_modules/typescript/lib/lib.esnext.intl.d.ts","./node_modules/next/dist/styled-jsx/types/css.d.ts","./node_modules/@types/react/ts5.0/global.d.ts","./node_modules/csstype/index.d.ts","./node_modules/@types/prop-types/index.d.ts","./node_modules/@types/scheduler/tracing.d.ts","./node_modules/@types/react/ts5.0/index.d.ts","./node_modules/next/dist/styled-jsx/types/index.d.ts","./node_modules/next/dist/styled-jsx/types/macro.d.ts","./node_modules/next/dist/styled-jsx/types/style.d.ts","./node_modules/next/dist/styled-jsx/types/global.d.ts","./node_modules/next/dist/shared/lib/amp.d.ts","./node_modules/next/amp.d.ts","./node_modules/@types/node/assert.d.ts","./node_modules/@types/node/assert/strict.d.ts","./node_modules/@types/node/globals.d.ts","./node_modules/@types/node/async_hooks.d.ts","./node_modules/@types/node/buffer.d.ts","./node_modules/@types/node/child_process.d.ts","./node_modules/@types/node/cluster.d.ts","./node_modules/@types/node/console.d.ts","./node_modules/@types/node/constants.d.ts","./node_modules/@types/node/crypto.d.ts","./node_modules/@types/node/dgram.d.ts","./node_modules/@types/node/diagnostics_channel.d.ts","./node_modules/@types/node/dns.d.ts","./node_modules/@types/node/dns/promises.d.ts","./node_modules/@types/node/domain.d.ts","./node_modules/@types/node/dom-events.d.ts","./node_modules/@types/node/events.d.ts","./node_modules/@types/node/fs.d.ts","./node_modules/@types/node/fs/promises.d.ts","./node_modules/@types/node/http.d.ts","./node_modules/@types/node/http2.d.ts","./node_modules/@types/node/https.d.ts","./node_modules/@types/node/inspector.d.ts","./node_modules/@types/node/module.d.ts","./node_modules/@types/node/net.d.ts","./node_modules/@types/node/os.d.ts","./node_modules/@types/node/path.d.ts","./node_modules/@types/node/perf_hooks.d.ts","./node_modules/@types/node/process.d.ts","./node_modules/@types/node/punycode.d.ts","./node_modules/@types/node/querystring.d.ts","./node_modules/@types/node/readline.d.ts","./node_modules/@types/node/readline/promises.d.ts","./node_modules/@types/node/repl.d.ts","./node_modules/@types/node/stream.d.ts","./node_modules/@types/node/stream/promises.d.ts","./node_modules/@types/node/stream/consumers.d.ts","./node_modules/@types/node/stream/web.d.ts","./node_modules/@types/node/string_decoder.d.ts","./node_modules/@types/node/test.d.ts","./node_modules/@types/node/timers.d.ts","./node_modules/@types/node/timers/promises.d.ts","./node_modules/@types/node/tls.d.ts","./node_modules/@types/node/trace_events.d.ts","./node_modules/@types/node/tty.d.ts","./node_modules/@types/node/url.d.ts","./node_modules/@types/node/util.d.ts","./node_modules/@types/node/v8.d.ts","./node_modules/@types/node/vm.d.ts","./node_modules/@types/node/wasi.d.ts","./node_modules/@types/node/worker_threads.d.ts","./node_modules/@types/node/zlib.d.ts","./node_modules/@types/node/globals.global.d.ts","./node_modules/@types/node/index.d.ts","./node_modules/next/dist/server/get-page-files.d.ts","./node_modules/next/dist/compiled/webpack/webpack.d.ts","./node_modules/next/dist/server/config.d.ts","./node_modules/next/dist/lib/load-custom-routes.d.ts","./node_modules/next/dist/shared/lib/image-config.d.ts","./node_modules/next/dist/build/webpack/plugins/subresource-integrity-plugin.d.ts","./node_modules/next/dist/server/config-shared.d.ts","./node_modules/next/dist/server/base-http/index.d.ts","./node_modules/next/dist/server/api-utils/index.d.ts","./node_modules/next/dist/shared/lib/router/utils/route-regex.d.ts","./node_modules/next/dist/shared/lib/router/utils/route-matcher.d.ts","./node_modules/next/dist/server/body-streams.d.ts","./node_modules/next/dist/server/request-meta.d.ts","./node_modules/next/dist/server/router.d.ts","./node_modules/next/dist/build/analysis/get-page-static-info.d.ts","./node_modules/next/dist/build/webpack/loaders/get-module-build-info.d.ts","./node_modules/next/dist/build/webpack/plugins/middleware-plugin.d.ts","./node_modules/next/dist/server/render-result.d.ts","./node_modules/next/dist/server/web/next-url.d.ts","./node_modules/next/dist/server/web/spec-extension/cookies.d.ts","./node_modules/next/dist/server/web/spec-extension/request.d.ts","./node_modules/next/dist/server/web/spec-extension/fetch-event.d.ts","./node_modules/next/dist/server/web/spec-extension/response.d.ts","./node_modules/next/dist/server/web/types.d.ts","./node_modules/next/dist/build/index.d.ts","./node_modules/next/dist/build/webpack/plugins/pages-manifest-plugin.d.ts","./node_modules/next/dist/server/send-payload/revalidate-headers.d.ts","./node_modules/next/dist/server/send-payload/index.d.ts","./node_modules/next/dist/server/base-http/node.d.ts","./node_modules/next/dist/server/font-utils.d.ts","./node_modules/next/dist/server/load-components.d.ts","./node_modules/next/dist/server/render.d.ts","./node_modules/next/dist/shared/lib/router/utils/parse-url.d.ts","./node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.d.ts","./node_modules/next/dist/server/response-cache/types.d.ts","./node_modules/next/dist/server/response-cache/index.d.ts","./node_modules/next/dist/server/base-server.d.ts","./node_modules/next/dist/server/image-optimizer.d.ts","./node_modules/next/dist/server/next-server.d.ts","./node_modules/next/dist/server/dev/static-paths-worker.d.ts","./node_modules/next/dist/server/dev/next-dev-server.d.ts","./node_modules/next/dist/server/next.d.ts","./node_modules/next/types/index.d.ts","./node_modules/next/dist/shared/lib/html-context.d.ts","./node_modules/@next/env/types/index.d.ts","./node_modules/next/dist/shared/lib/mitt.d.ts","./node_modules/next/dist/client/with-router.d.ts","./node_modules/next/dist/client/router.d.ts","./node_modules/next/dist/client/route-loader.d.ts","./node_modules/next/dist/client/page-loader.d.ts","./node_modules/next/dist/shared/lib/router/router.d.ts","./node_modules/next/dist/shared/lib/constants.d.ts","./node_modules/next/dist/shared/lib/utils.d.ts","./node_modules/next/dist/pages/_app.d.ts","./node_modules/next/app.d.ts","./node_modules/next/dist/shared/lib/runtime-config.d.ts","./node_modules/next/config.d.ts","./node_modules/next/dist/pages/_document.d.ts","./node_modules/next/document.d.ts","./node_modules/next/dist/shared/lib/dynamic.d.ts","./node_modules/next/dynamic.d.ts","./node_modules/next/dist/pages/_error.d.ts","./node_modules/next/error.d.ts","./node_modules/next/dist/shared/lib/head.d.ts","./node_modules/next/head.d.ts","./node_modules/next/dist/client/image.d.ts","./node_modules/next/image.d.ts","./node_modules/next/dist/client/link.d.ts","./node_modules/next/link.d.ts","./node_modules/next/router.d.ts","./node_modules/next/dist/client/script.d.ts","./node_modules/next/script.d.ts","./node_modules/next/dist/server/web/spec-extension/user-agent.d.ts","./node_modules/next/dist/compiled/@edge-runtime/primitives/url.d.ts","./node_modules/next/server.d.ts","./node_modules/next/types/global.d.ts","./node_modules/next/index.d.ts","./node_modules/next/image-types/global.d.ts","./next-env.d.ts","./src/const.ts","./node_modules/i18next/index.d.ts","./node_modules/react-i18next/transwithoutcontext.d.ts","./node_modules/react-i18next/initreacti18next.d.ts","./node_modules/react-i18next/index.d.ts","./node_modules/i18next-browser-languagedetector/index.d.ts","./node_modules/i18next-http-backend/index.d.ts","./src/i18n.ts","./node_modules/@tanstack/react-query/build/lib/setbatchupdatesfn.d.ts","./node_modules/@tanstack/query-core/build/lib/subscribable.d.ts","./node_modules/@tanstack/query-core/build/lib/queryobserver.d.ts","./node_modules/@tanstack/query-core/build/lib/querycache.d.ts","./node_modules/@tanstack/query-core/build/lib/logger.d.ts","./node_modules/@tanstack/query-core/build/lib/removable.d.ts","./node_modules/@tanstack/query-core/build/lib/query.d.ts","./node_modules/@tanstack/query-core/build/lib/utils.d.ts","./node_modules/@tanstack/query-core/build/lib/queryclient.d.ts","./node_modules/@tanstack/query-core/build/lib/mutationobserver.d.ts","./node_modules/@tanstack/query-core/build/lib/mutationcache.d.ts","./node_modules/@tanstack/query-core/build/lib/mutation.d.ts","./node_modules/@tanstack/query-core/build/lib/types.d.ts","./node_modules/@tanstack/query-core/build/lib/retryer.d.ts","./node_modules/@tanstack/query-core/build/lib/queriesobserver.d.ts","./node_modules/@tanstack/query-core/build/lib/infinitequeryobserver.d.ts","./node_modules/@tanstack/query-core/build/lib/notifymanager.d.ts","./node_modules/@tanstack/query-core/build/lib/focusmanager.d.ts","./node_modules/@tanstack/query-core/build/lib/onlinemanager.d.ts","./node_modules/@tanstack/query-core/build/lib/hydration.d.ts","./node_modules/@tanstack/query-core/build/lib/index.d.ts","./node_modules/@tanstack/react-query/build/lib/types.d.ts","./node_modules/@tanstack/react-query/build/lib/usequeries.d.ts","./node_modules/@tanstack/react-query/build/lib/usequery.d.ts","./node_modules/@tanstack/react-query/build/lib/queryclientprovider.d.ts","./node_modules/@tanstack/react-query/build/lib/queryerrorresetboundary.d.ts","./node_modules/@tanstack/react-query/build/lib/hydrate.d.ts","./node_modules/@tanstack/react-query/build/lib/useisfetching.d.ts","./node_modules/@tanstack/react-query/build/lib/useismutating.d.ts","./node_modules/@tanstack/react-query/build/lib/usemutation.d.ts","./node_modules/@tanstack/react-query/build/lib/useinfinitequery.d.ts","./node_modules/@tanstack/react-query/build/lib/isrestoring.d.ts","./node_modules/@tanstack/react-query/build/lib/index.d.ts","./src/reactquery.ts","./node_modules/posthog-js/dist/module.d.ts","./src/components/utilities/config/index.ts","./src/components/analytics/posthog.ts","./src/components/utilities/securityclient.ts","./node_modules/@types/jsrp/index.d.ts","./node_modules/axios/index.d.ts","./src/config/request.ts","./src/hooks/api/auth/types.ts","./src/hooks/api/auth/queries.tsx","./src/components/utilities/cryptography/aes-256-gcm.ts","./node_modules/@types/argon2-browser/index.d.ts","./src/components/utilities/cryptography/crypto.ts","./src/components/utilities/savetokentolocalstorage.ts","./src/components/utilities/attemptchangepassword.ts","./src/helpers/key.ts","./src/services/keyservice.ts","./src/components/utilities/telemetry/telemetry.ts","./src/components/utilities/attemptclilogin.ts","./src/components/utilities/attemptcliloginmfa.ts","./src/components/utilities/attemptlogin.ts","./src/components/utilities/attemptloginmfa.ts","./node_modules/jspdf/types/index.d.ts","./src/components/utilities/generatebackuppdf.ts","./src/components/utilities/isvalidhexcolor.ts","./src/components/utilities/parsedotenv.ts","./src/components/utilities/randomid.ts","./src/hooks/api/apikeys/types.ts","./src/hooks/api/keys/types.ts","./src/hooks/api/users/types.ts","./src/hooks/api/users/queries.tsx","./src/components/utilities/checks/onboardingcheck.ts","./src/components/utilities/checks/templocalstorage.ts","./src/components/utilities/checks/password/checkispasswordbreached.ts","./src/components/utilities/checks/password/passwordregexes.ts","./src/components/utilities/checks/password/passwordcheck.ts","./src/components/utilities/checks/password/checkpassword.ts","./src/components/utilities/cryptography/issuebackupkey.ts","./src/components/utilities/intercom/intercom.ts","./src/hooks/usedebounce.tsx","./src/hooks/useleaveconfirm.tsx","./src/hooks/usepersistentstate.ts","./src/hooks/usepopup.tsx","./node_modules/@fortawesome/fontawesome-common-types/index.d.ts","./node_modules/@fortawesome/free-solid-svg-icons/index.d.ts","./node_modules/@fortawesome/fontawesome-svg-core/index.d.ts","./node_modules/@fortawesome/react-fontawesome/index.d.ts","./src/hooks/usesyntaxhighlight.tsx","./src/hooks/usetoggle.tsx","./src/hooks/index.ts","./src/hooks/api/apikeys/queries.tsx","./src/hooks/api/apikeys/index.ts","./src/hooks/api/admin/types.ts","./src/hooks/api/admin/queries.ts","./src/hooks/api/admin/mutation.ts","./src/hooks/api/admin/index.ts","./src/hooks/api/auditlogs/enums.tsx","./src/hooks/api/auditlogs/types.tsx","./src/hooks/api/auditlogs/queries.tsx","./src/hooks/api/auditlogs/index.tsx","./src/hooks/api/auth/index.tsx","./src/hooks/api/bots/types.ts","./src/hooks/api/bots/queries.tsx","./src/hooks/api/bots/index.tsx","./src/hooks/api/incidentcontacts/types.ts","./src/hooks/api/incidentcontacts/queries.tsx","./src/hooks/api/incidentcontacts/index.tsx","./src/hooks/api/integrationauth/types.ts","./src/hooks/api/integrations/types.ts","./src/hooks/api/tags/types.ts","./src/hooks/api/secrets/types.ts","./src/hooks/api/servicetokens/types.ts","./src/hooks/api/workspace/types.ts","./src/hooks/api/workspace/queries.tsx","./src/hooks/api/integrationauth/queries.tsx","./src/hooks/api/integrationauth/index.tsx","./src/hooks/api/integrations/queries.tsx","./src/hooks/api/integrations/index.tsx","./src/hooks/api/keys/queries.tsx","./src/hooks/api/keys/index.tsx","./src/hooks/api/organization/types.ts","./src/hooks/api/organization/queries.tsx","./src/hooks/api/organization/index.ts","./node_modules/@ucast/core/dist/types/condition.d.ts","./node_modules/@ucast/core/dist/types/types.d.ts","./node_modules/@ucast/core/dist/types/interpreter.d.ts","./node_modules/@ucast/core/dist/types/translator.d.ts","./node_modules/@ucast/core/dist/types/builder.d.ts","./node_modules/@ucast/core/dist/types/utils.d.ts","./node_modules/@ucast/core/dist/types/parsers/objectqueryparser.d.ts","./node_modules/@ucast/core/dist/types/parsers/defaultinstructionparsers.d.ts","./node_modules/@ucast/core/dist/types/index.d.ts","./node_modules/@ucast/mongo/dist/types/types.d.ts","./node_modules/@ucast/mongo/dist/types/instructions.d.ts","./node_modules/@ucast/mongo/dist/types/mongoqueryparser.d.ts","./node_modules/@ucast/mongo/dist/types/index.d.ts","./node_modules/@ucast/js/dist/types/types.d.ts","./node_modules/@ucast/js/dist/types/utils.d.ts","./node_modules/@ucast/js/dist/types/interpreters.d.ts","./node_modules/@ucast/js/dist/types/interpreter.d.ts","./node_modules/@ucast/js/dist/types/defaults.d.ts","./node_modules/@ucast/js/dist/types/index.d.ts","./node_modules/@ucast/mongo2js/dist/types/factory.d.ts","./node_modules/@ucast/mongo2js/dist/types/index.d.ts","./node_modules/@casl/ability/dist/types/hkt.d.ts","./node_modules/@casl/ability/dist/types/types.d.ts","./node_modules/@casl/ability/dist/types/rawrule.d.ts","./node_modules/@casl/ability/dist/types/rule.d.ts","./node_modules/@casl/ability/dist/types/structures/linkeditem.d.ts","./node_modules/@casl/ability/dist/types/ruleindex.d.ts","./node_modules/@casl/ability/dist/types/pureability.d.ts","./node_modules/@casl/ability/dist/types/matchers/conditions.d.ts","./node_modules/@casl/ability/dist/types/ability.d.ts","./node_modules/@casl/ability/dist/types/abilitybuilder.d.ts","./node_modules/@casl/ability/dist/types/forbiddenerror.d.ts","./node_modules/@casl/ability/dist/types/matchers/field.d.ts","./node_modules/@casl/ability/dist/types/utils.d.ts","./node_modules/@casl/ability/dist/types/index.d.ts","./node_modules/@casl/ability/index.d.ts","./node_modules/@casl/ability/dist/types/extra.d.ts","./node_modules/@casl/ability/extra/extra.d.ts","./node_modules/@casl/ability/extra.d.ts","./node_modules/@types/picomatch/lib/constants.d.ts","./node_modules/@types/picomatch/lib/parse.d.ts","./node_modules/@types/picomatch/lib/scan.d.ts","./node_modules/@types/picomatch/lib/picomatch.d.ts","./node_modules/@types/picomatch/index.d.ts","./src/context/orgpermissioncontext/types.ts","./src/context/projectpermissioncontext/types.ts","./src/hooks/api/roles/types.ts","./src/hooks/api/roles/queries.tsx","./src/hooks/api/roles/mutation.tsx","./src/hooks/api/roles/index.tsx","./src/hooks/api/secretapproval/types.ts","./src/hooks/api/secretapproval/queries.tsx","./src/hooks/api/secretapproval/mutation.tsx","./src/hooks/api/secretapproval/index.tsx","./src/hooks/api/secrets/queries.tsx","./src/hooks/api/secretapprovalrequest/types.ts","./src/hooks/api/secretapprovalrequest/queries.tsx","./src/hooks/api/secretapprovalrequest/mutation.tsx","./src/hooks/api/secretapprovalrequest/index.tsx","./src/hooks/api/secretsnapshots/types.ts","./src/hooks/api/secretsnapshots/queries.tsx","./src/hooks/api/secretfolders/types.ts","./src/hooks/api/secretfolders/queries.tsx","./src/hooks/api/secretfolders/index.tsx","./src/hooks/api/secretimports/types.ts","./src/hooks/api/secretimports/queries.tsx","./src/hooks/api/secretimports/mutation.tsx","./src/hooks/api/secretimports/index.ts","./src/hooks/api/secretrotation/types.ts","./src/hooks/api/secretrotation/queries.tsx","./src/hooks/api/secretrotation/mutation.tsx","./src/hooks/api/secretrotation/index.ts","./src/hooks/api/secrets/mutations.tsx","./src/hooks/api/secrets/index.ts","./src/hooks/api/secretsnapshots/index.tsx","./src/hooks/api/servicetokens/queries.tsx","./src/hooks/api/servicetokens/index.ts","./src/hooks/api/ssoconfig/queries.tsx","./src/hooks/api/ssoconfig/index.tsx","./src/hooks/api/subscriptions/types.ts","./src/hooks/api/subscriptions/queries.tsx","./src/hooks/api/subscriptions/index.tsx","./src/hooks/api/tags/queries.tsx","./src/hooks/api/tags/index.tsx","./src/hooks/api/trustedips/types.ts","./src/hooks/api/trustedips/queries.ts","./src/hooks/api/trustedips/index.ts","./src/hooks/api/users/mutation.tsx","./src/hooks/api/users/index.tsx","./src/hooks/api/webhooks/types.ts","./src/hooks/api/webhooks/query.tsx","./src/hooks/api/webhooks/mutation.tsx","./src/hooks/api/webhooks/index.tsx","./src/hooks/api/workspace/index.tsx","./src/hooks/api/index.tsx","./src/context/authcontext/authcontext.tsx","./src/context/authcontext/index.tsx","./src/hooks/api/types.ts","./src/context/organizationcontext/organizationcontext.tsx","./src/context/organizationcontext/index.tsx","./src/context/orgpermissioncontext/orgpermissioncontext.tsx","./src/context/orgpermissioncontext/index.tsx","./src/context/workspacecontext/workspacecontext.tsx","./src/context/workspacecontext/index.tsx","./src/context/projectpermissioncontext/projectpermissioncontext.tsx","./src/context/projectpermissioncontext/index.tsx","./node_modules/popmotion/lib/easing/types.d.ts","./node_modules/popmotion/lib/animations/types.d.ts","./node_modules/popmotion/lib/animations/index.d.ts","./node_modules/popmotion/lib/animations/inertia.d.ts","./node_modules/popmotion/lib/animations/generators/decay.d.ts","./node_modules/popmotion/lib/animations/generators/spring.d.ts","./node_modules/popmotion/lib/animations/generators/keyframes.d.ts","./node_modules/popmotion/lib/types.d.ts","./node_modules/popmotion/lib/utils/angle.d.ts","./node_modules/popmotion/lib/utils/apply-offset.d.ts","./node_modules/popmotion/lib/utils/attract.d.ts","./node_modules/popmotion/lib/utils/clamp.d.ts","./node_modules/popmotion/lib/utils/degrees-to-radians.d.ts","./node_modules/popmotion/lib/utils/distance.d.ts","./node_modules/popmotion/lib/utils/interpolate.d.ts","./node_modules/popmotion/lib/utils/is-point-3d.d.ts","./node_modules/popmotion/lib/utils/is-point.d.ts","./node_modules/style-value-types/lib/types.d.ts","./node_modules/style-value-types/lib/numbers/index.d.ts","./node_modules/style-value-types/lib/numbers/units.d.ts","./node_modules/style-value-types/lib/color/hsla.d.ts","./node_modules/style-value-types/lib/color/rgba.d.ts","./node_modules/style-value-types/lib/color/hex.d.ts","./node_modules/style-value-types/lib/color/index.d.ts","./node_modules/style-value-types/lib/complex/index.d.ts","./node_modules/style-value-types/lib/complex/filter.d.ts","./node_modules/style-value-types/lib/index.d.ts","./node_modules/popmotion/lib/utils/mix-color.d.ts","./node_modules/popmotion/lib/utils/mix-complex.d.ts","./node_modules/popmotion/lib/utils/mix.d.ts","./node_modules/popmotion/lib/utils/pipe.d.ts","./node_modules/popmotion/lib/utils/point-from-vector.d.ts","./node_modules/popmotion/lib/utils/progress.d.ts","./node_modules/popmotion/lib/utils/radians-to-degrees.d.ts","./node_modules/popmotion/lib/utils/smooth-frame.d.ts","./node_modules/popmotion/lib/utils/smooth.d.ts","./node_modules/popmotion/lib/utils/snap.d.ts","./node_modules/popmotion/lib/utils/to-decimal.d.ts","./node_modules/popmotion/lib/utils/velocity-per-frame.d.ts","./node_modules/popmotion/lib/utils/velocity-per-second.d.ts","./node_modules/popmotion/lib/utils/wrap.d.ts","./node_modules/popmotion/lib/easing/index.d.ts","./node_modules/popmotion/lib/easing/cubic-bezier.d.ts","./node_modules/popmotion/lib/easing/steps.d.ts","./node_modules/popmotion/lib/easing/utils.d.ts","./node_modules/popmotion/lib/index.d.ts","./node_modules/@motionone/types/types/motionvalue.d.ts","./node_modules/@motionone/types/types/index.d.ts","./node_modules/@motionone/dom/types/types.d.ts","./node_modules/@motionone/dom/types/timeline/types.d.ts","./node_modules/@motionone/dom/types/animate/types.d.ts","./node_modules/@motionone/dom/types/animate/index.d.ts","./node_modules/@motionone/dom/types/animate/animate-style.d.ts","./node_modules/@motionone/dom/types/timeline/index.d.ts","./node_modules/@motionone/dom/types/utils/stagger.d.ts","./node_modules/@motionone/generators/types/glide/types.d.ts","./node_modules/@motionone/generators/types/glide/index.d.ts","./node_modules/@motionone/generators/types/spring/types.d.ts","./node_modules/@motionone/generators/types/spring/index.d.ts","./node_modules/@motionone/generators/types/utils/pregenerate-keyframes.d.ts","./node_modules/@motionone/generators/types/utils/velocity.d.ts","./node_modules/@motionone/generators/types/index.d.ts","./node_modules/@motionone/dom/types/easing/spring/index.d.ts","./node_modules/@motionone/dom/types/easing/glide/index.d.ts","./node_modules/@motionone/dom/types/animate/style.d.ts","./node_modules/@motionone/dom/types/gestures/in-view.d.ts","./node_modules/@motionone/dom/types/gestures/resize/types.d.ts","./node_modules/@motionone/dom/types/gestures/resize/index.d.ts","./node_modules/@motionone/dom/types/gestures/scroll/types.d.ts","./node_modules/@motionone/dom/types/gestures/scroll/index.d.ts","./node_modules/@motionone/dom/types/gestures/scroll/offsets/presets.d.ts","./node_modules/@motionone/dom/types/animate/utils/controls.d.ts","./node_modules/@motionone/dom/types/animate/data.d.ts","./node_modules/@motionone/dom/types/animate/utils/get-style-name.d.ts","./node_modules/@motionone/dom/types/state/types.d.ts","./node_modules/@motionone/dom/types/state/index.d.ts","./node_modules/@motionone/dom/types/animate/utils/style-object.d.ts","./node_modules/@motionone/dom/types/animate/utils/style-string.d.ts","./node_modules/@motionone/dom/types/index.d.ts","./node_modules/framer-motion/dist/index.d.ts","./node_modules/tailwind-merge/dist/lib/tw-join.d.ts","./node_modules/tailwind-merge/dist/lib/tw-merge.d.ts","./node_modules/tailwind-merge/dist/lib/validators.d.ts","./node_modules/tailwind-merge/dist/lib/types.d.ts","./node_modules/tailwind-merge/dist/lib/default-config.d.ts","./node_modules/tailwind-merge/dist/lib/extend-tailwind-merge.d.ts","./node_modules/tailwind-merge/dist/lib/create-tailwind-merge.d.ts","./node_modules/tailwind-merge/dist/lib/merge-configs.d.ts","./node_modules/tailwind-merge/dist/lib/from-theme.d.ts","./node_modules/tailwind-merge/dist/index.d.ts","./src/components/v2/contentloader/contentloader.tsx","./src/components/v2/contentloader/index.tsx","./src/context/serverconfigcontext/serverconfigcontext.tsx","./src/context/serverconfigcontext/index.tsx","./src/context/subscriptioncontext/subscriptioncontext.tsx","./src/context/subscriptioncontext/index.tsx","./src/context/usercontext/usercontext.tsx","./src/context/usercontext/index.tsx","./src/context/index.tsx","./src/components/utilities/intercom/intercomprovider.ts","./public/data/frequentinterfaces.ts","./src/components/utilities/secrets/checkoverrides.ts","./src/components/utilities/secrets/downloaddotenv.ts","./src/components/utilities/secrets/downloadyaml.ts","./src/components/utilities/secrets/encryptsecrets.ts","./src/ee/api/memberships/updateuserprojectpermission.ts","./src/ee/api/secrets/getactiondata.ts","./src/ee/api/secrets/getprojectsercetshanpshots.ts","./src/ee/api/secrets/getprojectsercetsnapshotscount.ts","./src/ee/api/secrets/getsecretsnapshotdata.ts","./src/ee/api/secrets/getsecretversions.ts","./src/ee/api/secrets/performsecretrollback.ts","./src/ee/utilities/findtextdifferences.ts","./src/ee/utilities/timesince.ts","./src/helpers/project.ts","./src/hooks/api/serverdetails/types.ts","./src/hooks/api/serverdetails/queries.tsx","./src/hooks/api/serverdetails/index.ts","./src/hooks/api/servicetokens/enums.ts","./node_modules/tweetnacl/nacl.d.ts","./node_modules/tweetnacl-util/nacl-util.d.ts","./src/lib/crypto/index.ts","./src/pages/api/auth/checkauth.ts","./src/pages/api/secret-scanning/createsecretscanningsession.ts","./src/pages/api/secret-scanning/getinstallationstatus.ts","./src/pages/api/secret-scanning/getrisksbyorganization.ts","./src/pages/api/secret-scanning/linkgitappinstallationwithorganization.ts","./src/pages/api/secret-scanning/updateriskstatus.ts","./src/services/projectservice.ts","./src/services/index.ts","./node_modules/zod/lib/helpers/typealiases.d.ts","./node_modules/zod/lib/helpers/util.d.ts","./node_modules/zod/lib/zoderror.d.ts","./node_modules/zod/lib/locales/en.d.ts","./node_modules/zod/lib/errors.d.ts","./node_modules/zod/lib/helpers/parseutil.d.ts","./node_modules/zod/lib/helpers/enumutil.d.ts","./node_modules/zod/lib/helpers/errorutil.d.ts","./node_modules/zod/lib/helpers/partialutil.d.ts","./node_modules/zod/lib/types.d.ts","./node_modules/zod/lib/external.d.ts","./node_modules/zod/lib/index.d.ts","./node_modules/zod/index.d.ts","./src/views/org/memberspage/components/orgroletabsection/orgrolemodifysection/orgrolemodifysection.utils.ts","./src/views/project/memberspage/components/projectrolelisttab/components/projectrolemodifysection/projectrolemodifysection.utils.ts","./src/views/secretmainpage/secretmainpage.types.ts","./src/views/secretmainpage/components/secretlistview/secretlistview.utils.ts","./src/views/secretrotationpage/secretrotationpage.utils.ts","./src/components/routeguard.tsx","./node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-primitive/dist/index.d.ts","./node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-primitive/dist/index.d.ts","./node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-context/dist/index.d.ts","./node_modules/@radix-ui/react-collapsible/dist/index.d.ts","./node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-context/dist/index.d.ts","./node_modules/@radix-ui/react-accordion/dist/index.d.ts","./src/components/v2/accordion/accordion.tsx","./src/components/v2/accordion/index.tsx","./node_modules/cva/dist/types.d.ts","./node_modules/cva/dist/index.d.ts","./src/components/v2/alert/alert.tsx","./src/components/v2/alert/index.tsx","./src/components/v2/button/button.tsx","./src/components/v2/button/index.tsx","./src/components/v2/card/card.tsx","./src/components/v2/card/index.tsx","./node_modules/@radix-ui/react-primitive/dist/index.d.ts","./node_modules/@radix-ui/react-context/dist/index.d.ts","./node_modules/@radix-ui/react-checkbox/dist/index.d.ts","./src/components/v2/checkbox/checkbox.tsx","./src/components/v2/checkbox/index.tsx","./node_modules/date-fns/typings.d.ts","./node_modules/react-day-picker/dist/index.d.ts","./node_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts","./node_modules/@radix-ui/react-focus-scope/dist/index.d.ts","./node_modules/@radix-ui/react-arrow/dist/index.d.ts","./node_modules/@radix-ui/rect/dist/index.d.ts","./node_modules/@radix-ui/react-popper/dist/index.d.ts","./node_modules/@radix-ui/react-portal/dist/index.d.ts","./node_modules/@radix-ui/react-popover/dist/index.d.ts","./src/components/v2/iconbutton/iconbutton.tsx","./src/components/v2/iconbutton/index.tsx","./src/components/v2/popoverv2/popoverv2.tsx","./src/components/v2/popoverv2/index.tsx","./src/components/v2/datepicker/datepicker.tsx","./src/components/v2/datepicker/index.tsx","./node_modules/@radix-ui/react-label/dist/index.d.ts","./src/components/v2/formcontrol/formcontrol.tsx","./src/components/v2/formcontrol/index.tsx","./src/components/v2/input/input.tsx","./src/components/v2/input/index.tsx","./node_modules/@radix-ui/react-dialog/dist/index.d.ts","./src/components/v2/modal/modal.tsx","./src/components/v2/modal/index.tsx","./src/components/v2/deleteactionmodal/deleteactionmodal.tsx","./src/components/v2/deleteactionmodal/index.tsx","./src/components/v2/drawer/drawer.tsx","./src/components/v2/drawer/index.tsx","./node_modules/@radix-ui/react-roving-focus/dist/index.d.ts","./node_modules/@radix-ui/react-menu/dist/index.d.ts","./node_modules/@radix-ui/react-dropdown-menu/dist/index.d.ts","./src/components/v2/dropdown/dropdown.tsx","./src/components/v2/dropdown/index.tsx","./src/components/v2/emailservicesetupmodal/emailservicesetupmodal.tsx","./src/components/v2/emailservicesetupmodal/index.tsx","./src/components/v2/emptystate/emptystate.tsx","./src/components/v2/emptystate/index.tsx","./node_modules/@radix-ui/react-hover-card/dist/index.d.ts","./src/components/v2/hovercardv2/hovercardv2.tsx","./src/components/v2/hovercardv2/index.tsx","./node_modules/lottie-web/index.d.ts","./node_modules/lottie-react/build/index.d.ts","./src/components/v2/menu/menu.tsx","./src/components/v2/menu/index.tsx","./src/components/v2/pagination/pagination.tsx","./src/components/v2/pagination/index.tsx","./node_modules/@types/sanitize-html/node_modules/htmlparser2/lib/tokenizer.d.ts","./node_modules/@types/sanitize-html/node_modules/htmlparser2/lib/parser.d.ts","./node_modules/domelementtype/lib/index.d.ts","./node_modules/@types/sanitize-html/node_modules/domhandler/lib/node.d.ts","./node_modules/@types/sanitize-html/node_modules/domhandler/lib/index.d.ts","./node_modules/@types/sanitize-html/node_modules/dom-serializer/lib/index.d.ts","./node_modules/@types/sanitize-html/node_modules/domutils/lib/stringify.d.ts","./node_modules/@types/sanitize-html/node_modules/domutils/lib/traversal.d.ts","./node_modules/@types/sanitize-html/node_modules/domutils/lib/manipulation.d.ts","./node_modules/@types/sanitize-html/node_modules/domutils/lib/querying.d.ts","./node_modules/@types/sanitize-html/node_modules/domutils/lib/legacy.d.ts","./node_modules/@types/sanitize-html/node_modules/domutils/lib/helpers.d.ts","./node_modules/@types/sanitize-html/node_modules/domutils/lib/feeds.d.ts","./node_modules/@types/sanitize-html/node_modules/domutils/lib/index.d.ts","./node_modules/@types/sanitize-html/node_modules/htmlparser2/lib/index.d.ts","./node_modules/@types/sanitize-html/index.d.ts","./src/components/v2/secretinput/secretinput.tsx","./src/components/v2/secretinput/index.tsx","./node_modules/@radix-ui/react-select/dist/index.d.ts","./src/components/v2/spinner/spinner.tsx","./src/components/v2/spinner/index.tsx","./src/components/v2/select/select.tsx","./src/components/v2/select/index.tsx","./src/components/v2/skeleton/skeleton.tsx","./src/components/v2/skeleton/index.tsx","./src/components/v2/stepper/stepper.tsx","./src/components/v2/stepper/index.tsx","./node_modules/@radix-ui/react-switch/dist/index.d.ts","./src/components/v2/switch/switch.tsx","./src/components/v2/switch/index.tsx","./src/components/v2/table/table.tsx","./src/components/v2/table/index.tsx","./node_modules/@radix-ui/react-tabs/dist/index.d.ts","./src/components/v2/tabs/tabs.tsx","./src/components/v2/tabs/index.tsx","./src/components/v2/tag/tag.tsx","./src/components/v2/tag/index.tsx","./src/components/v2/textarea/textarea.tsx","./src/components/v2/textarea/index.tsx","./node_modules/@radix-ui/react-tooltip/dist/index.d.ts","./src/components/v2/tooltip/tooltip.tsx","./src/components/v2/tooltip/index.tsx","./src/components/v2/upgradeplanmodal/upgradeplanmodal.tsx","./src/components/v2/upgradeplanmodal/index.tsx","./src/components/v2/index.tsx","./node_modules/@casl/react/dist/types/can.d.ts","./node_modules/@casl/react/dist/types/factory.d.ts","./node_modules/@casl/react/dist/types/hooks/useability.d.ts","./node_modules/@casl/react/dist/types/hooks/index.d.ts","./node_modules/@casl/react/dist/types/index.d.ts","./node_modules/@casl/react/index.d.ts","./src/components/permissions/orgpermissioncan.tsx","./src/components/permissions/permissiondeniedbanner.tsx","./src/components/permissions/projectpermissioncan.tsx","./src/components/permissions/index.tsx","./src/components/addtagpopovercontent/addtagpopovercontent.tsx","./src/components/basic/error.tsx","./src/components/basic/inputfield.tsx","./node_modules/@headlessui/react/dist/types.d.ts","./node_modules/@headlessui/react/dist/utils/render.d.ts","./node_modules/@headlessui/react/dist/components/combobox/combobox.d.ts","./node_modules/@headlessui/react/dist/components/description/description.d.ts","./node_modules/@headlessui/react/dist/components/dialog/dialog.d.ts","./node_modules/@headlessui/react/dist/components/disclosure/disclosure.d.ts","./node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.d.ts","./node_modules/@headlessui/react/dist/components/listbox/listbox.d.ts","./node_modules/@headlessui/react/dist/components/menu/menu.d.ts","./node_modules/@headlessui/react/dist/components/popover/popover.d.ts","./node_modules/@headlessui/react/dist/components/portal/portal.d.ts","./node_modules/@headlessui/react/dist/components/label/label.d.ts","./node_modules/@headlessui/react/dist/components/radio-group/radio-group.d.ts","./node_modules/@headlessui/react/dist/components/switch/switch.d.ts","./node_modules/@headlessui/react/dist/components/tabs/tabs.d.ts","./node_modules/@headlessui/react/dist/components/transitions/transition.d.ts","./node_modules/@headlessui/react/dist/index.d.ts","./src/components/basic/listbox.tsx","./src/components/basic/toggle.tsx","./src/components/basic/buttons/button.tsx","./src/components/basic/dialog/activatebotdialog.tsx","./src/components/basic/dialog/addprojectmemberdialog.tsx","./src/components/basic/dialog/addupdateenvironmentdialog.tsx","./src/components/basic/dialog/adduserdialog.tsx","./src/components/basic/table/checkbox.tsx","./src/components/basic/dialog/addworkspacedialog.tsx","./src/components/basic/dialog/deleteactionmodal.tsx","./src/components/basic/dialog/deleteenvvar.tsx","./src/components/basic/dialog/deleteuserdialog.tsx","./src/components/basic/dialog/upgradeplan.tsx","./src/components/basic/popups/bottomrightpopup.tsx","./src/components/basic/popups/globpatternexamples.tsx","./src/components/context/notifications/notification.tsx","./src/components/context/notifications/notifications.tsx","./src/components/context/notifications/notificationprovider.tsx","./src/components/basic/table/projectuserstable.tsx","./src/components/dashboard/addtagsmenu.tsx","./src/components/dashboard/commentfield.tsx","./src/components/dashboard/confirmenvoverwritemodal.tsx","./src/components/v2/hovercard/hovercard.tsx","./src/components/v2/hovercard/index.tsx","./src/components/v2/popover/popover.tsx","./src/components/dashboard/dashboardinputfield.tsx","./src/components/dashboard/deleteactionbutton.tsx","./src/components/dashboard/downloadsecretsmenu.tsx","./node_modules/yaml/dist/parse/line-counter.d.ts","./node_modules/yaml/dist/errors.d.ts","./node_modules/yaml/dist/doc/applyreviver.d.ts","./node_modules/yaml/dist/log.d.ts","./node_modules/yaml/dist/nodes/tojs.d.ts","./node_modules/yaml/dist/nodes/scalar.d.ts","./node_modules/yaml/dist/nodes/collection.d.ts","./node_modules/yaml/dist/nodes/yamlmap.d.ts","./node_modules/yaml/dist/nodes/yamlseq.d.ts","./node_modules/yaml/dist/schema/types.d.ts","./node_modules/yaml/dist/schema/schema.d.ts","./node_modules/yaml/dist/doc/createnode.d.ts","./node_modules/yaml/dist/nodes/addpairtojsmap.d.ts","./node_modules/yaml/dist/nodes/pair.d.ts","./node_modules/yaml/dist/schema/tags.d.ts","./node_modules/yaml/dist/options.d.ts","./node_modules/yaml/dist/stringify/stringify.d.ts","./node_modules/yaml/dist/nodes/node.d.ts","./node_modules/yaml/dist/parse/cst-scalar.d.ts","./node_modules/yaml/dist/parse/cst-stringify.d.ts","./node_modules/yaml/dist/parse/cst-visit.d.ts","./node_modules/yaml/dist/parse/cst.d.ts","./node_modules/yaml/dist/nodes/alias.d.ts","./node_modules/yaml/dist/doc/document.d.ts","./node_modules/yaml/dist/doc/directives.d.ts","./node_modules/yaml/dist/compose/composer.d.ts","./node_modules/yaml/dist/parse/lexer.d.ts","./node_modules/yaml/dist/parse/parser.d.ts","./node_modules/yaml/dist/public-api.d.ts","./node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts","./node_modules/yaml/dist/schema/yaml-1.1/set.d.ts","./node_modules/yaml/dist/visit.d.ts","./node_modules/yaml/dist/index.d.ts","./src/components/dashboard/dropzone.tsx","./src/components/dashboard/generatesecretmenu.tsx","./src/components/dashboard/keypair.tsx","./src/components/navigation/navheader.tsx","./src/components/navigation/navheadersecrets.tsx","./node_modules/react-code-input/src/reactcodeinput.d.ts","./src/components/signup/codeinputstep.tsx","./src/components/signup/donwloadbackuppdfstep.tsx","./src/components/signup/enteremailstep.tsx","./node_modules/@fortawesome/free-brands-svg-icons/index.d.ts","./node_modules/@fortawesome/free-regular-svg-icons/index.d.ts","./src/components/signup/initialsignupstep.tsx","./src/components/signup/teaminvitestep.tsx","./src/components/signup/userinfostep.tsx","./node_modules/react-hook-form/dist/utils/createsubject.d.ts","./node_modules/react-hook-form/dist/types/events.d.ts","./node_modules/react-hook-form/dist/types/path/common.d.ts","./node_modules/react-hook-form/dist/types/path/eager.d.ts","./node_modules/react-hook-form/dist/types/path/index.d.ts","./node_modules/react-hook-form/dist/types/fieldarray.d.ts","./node_modules/react-hook-form/dist/types/resolvers.d.ts","./node_modules/react-hook-form/dist/types/form.d.ts","./node_modules/react-hook-form/dist/types/utils.d.ts","./node_modules/react-hook-form/dist/types/fields.d.ts","./node_modules/react-hook-form/dist/types/errors.d.ts","./node_modules/react-hook-form/dist/types/validator.d.ts","./node_modules/react-hook-form/dist/types/controller.d.ts","./node_modules/react-hook-form/dist/types/index.d.ts","./node_modules/react-hook-form/dist/controller.d.ts","./node_modules/react-hook-form/dist/logic/appenderrors.d.ts","./node_modules/react-hook-form/dist/logic/index.d.ts","./node_modules/react-hook-form/dist/usecontroller.d.ts","./node_modules/react-hook-form/dist/usefieldarray.d.ts","./node_modules/react-hook-form/dist/useform.d.ts","./node_modules/react-hook-form/dist/useformcontext.d.ts","./node_modules/react-hook-form/dist/useformstate.d.ts","./node_modules/react-hook-form/dist/usewatch.d.ts","./node_modules/react-hook-form/dist/utils/get.d.ts","./node_modules/react-hook-form/dist/utils/set.d.ts","./node_modules/react-hook-form/dist/utils/index.d.ts","./node_modules/react-hook-form/dist/index.d.ts","./node_modules/@hookform/resolvers/zod/dist/types.d.ts","./node_modules/@hookform/resolvers/zod/dist/zod.d.ts","./node_modules/@hookform/resolvers/zod/dist/index.d.ts","./src/components/tags/createtagmodal/createtagmodal.tsx","./src/components/tags/createtagmodal/index.tsx","./node_modules/file-system-cache/lib/filesystemcache.d.ts","./node_modules/file-system-cache/lib/index.d.ts","./node_modules/@babel/types/lib/index.d.ts","./node_modules/@types/babel__generator/index.d.ts","./node_modules/@babel/parser/typings/babel-parser.d.ts","./node_modules/@types/babel__template/index.d.ts","./node_modules/@types/babel__traverse/index.d.ts","./node_modules/@types/babel__core/index.d.ts","./node_modules/@types/mime/index.d.ts","./node_modules/@types/send/index.d.ts","./node_modules/@types/range-parser/index.d.ts","./node_modules/@types/qs/index.d.ts","./node_modules/@types/express-serve-static-core/index.d.ts","./node_modules/@types/http-errors/index.d.ts","./node_modules/@types/serve-static/index.d.ts","./node_modules/@types/connect/index.d.ts","./node_modules/@types/body-parser/index.d.ts","./node_modules/@types/express/index.d.ts","./node_modules/@storybook/channels/dist/index.d.ts","./node_modules/@storybook/types/dist/index.d.ts","./node_modules/@storybook/react/dist/types-0a347bb9.d.ts","./node_modules/type-fest/source/primitive.d.ts","./node_modules/type-fest/source/typed-array.d.ts","./node_modules/type-fest/source/basic.d.ts","./node_modules/type-fest/source/observable-like.d.ts","./node_modules/type-fest/source/internal.d.ts","./node_modules/type-fest/source/except.d.ts","./node_modules/type-fest/source/simplify.d.ts","./node_modules/type-fest/source/writable.d.ts","./node_modules/type-fest/source/mutable.d.ts","./node_modules/type-fest/source/merge.d.ts","./node_modules/type-fest/source/merge-exclusive.d.ts","./node_modules/type-fest/source/require-at-least-one.d.ts","./node_modules/type-fest/source/require-exactly-one.d.ts","./node_modules/type-fest/source/require-all-or-none.d.ts","./node_modules/type-fest/source/remove-index-signature.d.ts","./node_modules/type-fest/source/partial-deep.d.ts","./node_modules/type-fest/source/partial-on-undefined-deep.d.ts","./node_modules/type-fest/source/readonly-deep.d.ts","./node_modules/type-fest/source/literal-union.d.ts","./node_modules/type-fest/source/promisable.d.ts","./node_modules/type-fest/source/opaque.d.ts","./node_modules/type-fest/source/invariant-of.d.ts","./node_modules/type-fest/source/set-optional.d.ts","./node_modules/type-fest/source/set-required.d.ts","./node_modules/type-fest/source/set-non-nullable.d.ts","./node_modules/type-fest/source/value-of.d.ts","./node_modules/type-fest/source/promise-value.d.ts","./node_modules/type-fest/source/async-return-type.d.ts","./node_modules/type-fest/source/conditional-keys.d.ts","./node_modules/type-fest/source/conditional-except.d.ts","./node_modules/type-fest/source/conditional-pick.d.ts","./node_modules/type-fest/source/union-to-intersection.d.ts","./node_modules/type-fest/source/stringified.d.ts","./node_modules/type-fest/source/fixed-length-array.d.ts","./node_modules/type-fest/source/multidimensional-array.d.ts","./node_modules/type-fest/source/multidimensional-readonly-array.d.ts","./node_modules/type-fest/source/iterable-element.d.ts","./node_modules/type-fest/source/entry.d.ts","./node_modules/type-fest/source/entries.d.ts","./node_modules/type-fest/source/set-return-type.d.ts","./node_modules/type-fest/source/asyncify.d.ts","./node_modules/type-fest/source/numeric.d.ts","./node_modules/type-fest/source/jsonify.d.ts","./node_modules/type-fest/source/schema.d.ts","./node_modules/type-fest/source/literal-to-primitive.d.ts","./node_modules/type-fest/source/string-key-of.d.ts","./node_modules/type-fest/source/exact.d.ts","./node_modules/type-fest/source/readonly-tuple.d.ts","./node_modules/type-fest/source/optional-keys-of.d.ts","./node_modules/type-fest/source/has-optional-keys.d.ts","./node_modules/type-fest/source/required-keys-of.d.ts","./node_modules/type-fest/source/has-required-keys.d.ts","./node_modules/type-fest/source/spread.d.ts","./node_modules/type-fest/source/split.d.ts","./node_modules/type-fest/source/camel-case.d.ts","./node_modules/type-fest/source/camel-cased-properties.d.ts","./node_modules/type-fest/source/camel-cased-properties-deep.d.ts","./node_modules/type-fest/source/delimiter-case.d.ts","./node_modules/type-fest/source/kebab-case.d.ts","./node_modules/type-fest/source/delimiter-cased-properties.d.ts","./node_modules/type-fest/source/kebab-cased-properties.d.ts","./node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts","./node_modules/type-fest/source/kebab-cased-properties-deep.d.ts","./node_modules/type-fest/source/pascal-case.d.ts","./node_modules/type-fest/source/pascal-cased-properties.d.ts","./node_modules/type-fest/source/pascal-cased-properties-deep.d.ts","./node_modules/type-fest/source/snake-case.d.ts","./node_modules/type-fest/source/snake-cased-properties.d.ts","./node_modules/type-fest/source/snake-cased-properties-deep.d.ts","./node_modules/type-fest/source/includes.d.ts","./node_modules/type-fest/source/screaming-snake-case.d.ts","./node_modules/type-fest/source/join.d.ts","./node_modules/type-fest/source/trim.d.ts","./node_modules/type-fest/source/replace.d.ts","./node_modules/type-fest/source/get.d.ts","./node_modules/type-fest/source/last-array-element.d.ts","./node_modules/type-fest/source/package-json.d.ts","./node_modules/type-fest/source/tsconfig-json.d.ts","./node_modules/type-fest/index.d.ts","./node_modules/@storybook/react/dist/index.d.ts","./src/components/v2/accordion/accordion.stories.tsx","./src/components/v2/alert/alert.stories.tsx","./src/components/v2/button/button.stories.tsx","./src/components/v2/card/card.stories.tsx","./src/components/v2/checkbox/checkbox.stories.tsx","./src/components/v2/datepicker/datepicker.stories.tsx","./src/components/v2/drawer/drawer.stories.tsx","./src/components/v2/dropdown/dropdown.stories.tsx","./src/components/v2/emptystate/emptystate.stories.tsx","./src/components/v2/formcontrol/formcontrol.stories.tsx","./src/components/v2/hovercardv2/hovercardv2.stories.tsx","./src/components/v2/iconbutton/iconbutton.stories.tsx","./src/components/v2/input/input.stories.tsx","./src/components/v2/menu/menu.stories.tsx","./src/components/v2/modal/modal.stories.tsx","./node_modules/@storybook/client-api/node_modules/@storybook/channels/dist/main-c55d8855.d.ts","./node_modules/@storybook/client-api/node_modules/@storybook/channels/dist/postmessage/index.d.ts","./node_modules/@storybook/client-api/node_modules/@storybook/channels/dist/websocket/index.d.ts","./node_modules/@storybook/client-api/node_modules/@storybook/channels/dist/index.d.ts","./node_modules/@storybook/client-api/node_modules/@storybook/types/dist/index.d.ts","./node_modules/synchronous-promise/index.d.ts","./node_modules/@storybook/client-api/node_modules/@storybook/preview-api/dist/hooks-655fa363.d.ts","./node_modules/@storybook/client-api/node_modules/@storybook/preview-api/dist/storystore-9da974c1.d.ts","./node_modules/@storybook/client-api/node_modules/@storybook/preview-api/dist/clientapi-05c010e0.d.ts","./node_modules/@storybook/client-api/node_modules/@storybook/preview-api/dist/sortstories-243da0ce.d.ts","./node_modules/@storybook/client-api/node_modules/@storybook/preview-api/dist/composeconfigs-62a04721.d.ts","./node_modules/@storybook/client-api/node_modules/@storybook/preview-api/dist/store.d.ts","./node_modules/@storybook/client-api/node_modules/@storybook/preview-api/dist/queryparams-d12445b8.d.ts","./node_modules/@storybook/client-api/node_modules/@storybook/preview-api/dist/client-api.d.ts","./node_modules/@storybook/client-api/dist/entry.d.ts","./src/components/v2/pagination/pagination.stories.tsx","./src/components/v2/popover/index.tsx","./src/components/v2/popoverv2/popoverv2.stories.tsx","./src/components/v2/select/select.stories.tsx","./src/components/v2/skeleton/skeleton.stories.tsx","./src/components/v2/switch/switch.stories.tsx","./src/components/v2/table/table.stories.tsx","./src/components/v2/textarea/textarea.stories.tsx","./src/components/v2/tooltip/tooltip.stories.tsx","./src/hoc/withpermission/withpermission.tsx","./src/hoc/withpermission/index.tsx","./src/hoc/withprojectpermission/withprojectpermission.tsx","./src/hoc/withprojectpermission/index.tsx","./src/hoc/index.tsx","./src/hooks/api/auditlogs/constants.tsx","./src/layouts/adminlayout/adminlayout.tsx","./src/layouts/adminlayout/index.tsx","./node_modules/yup/lib/reference.d.ts","./node_modules/yup/lib/condition.d.ts","./node_modules/yup/lib/validationerror.d.ts","./node_modules/yup/lib/util/createvalidation.d.ts","./node_modules/yup/lib/util/types.d.ts","./node_modules/yup/lib/util/referenceset.d.ts","./node_modules/yup/lib/schema.d.ts","./node_modules/yup/lib/lazy.d.ts","./node_modules/yup/lib/types.d.ts","./node_modules/yup/lib/locale.d.ts","./node_modules/yup/lib/mixed.d.ts","./node_modules/yup/lib/boolean.d.ts","./node_modules/yup/lib/string.d.ts","./node_modules/yup/lib/number.d.ts","./node_modules/yup/lib/date.d.ts","./node_modules/yup/lib/object.d.ts","./node_modules/yup/lib/array.d.ts","./node_modules/yup/lib/util/reach.d.ts","./node_modules/yup/lib/util/isschema.d.ts","./node_modules/yup/lib/setlocale.d.ts","./node_modules/yup/lib/index.d.ts","./node_modules/@hookform/resolvers/yup/dist/types.d.ts","./node_modules/@hookform/resolvers/yup/dist/yup.d.ts","./node_modules/@hookform/resolvers/yup/dist/index.d.ts","./src/views/org/components/createorgmodal.tsx","./src/views/org/components/index.tsx","./src/layouts/applayout/applayout.tsx","./src/layouts/applayout/index.tsx","./src/layouts/index.tsx","./src/layouts/applayout/components/navbar/navbar.tsx","./src/pages/404.tsx","./node_modules/react-day-picker/dist/style.css.d.ts","./src/pages/_app.tsx","./src/pages/cli-redirect.tsx","./src/pages/dashboard.tsx","./src/pages/email-not-verified.tsx","./src/pages/index.tsx","./node_modules/query-string/index.d.ts","./src/pages/password-reset.tsx","./src/views/settings/personalsettingspage/apikeysection/addapikeymodal.tsx","./src/views/settings/personalsettingspage/apikeysection/apikeytable.tsx","./src/views/settings/personalsettingspage/apikeysection/apikeysection.tsx","./src/views/settings/personalsettingspage/apikeysection/index.tsx","./src/views/settings/personalsettingspage/personalapikeytab/personalapikeytab.tsx","./src/views/settings/personalsettingspage/personalapikeytab/index.tsx","./src/views/settings/personalsettingspage/authmethodsection/authmethodsection.tsx","./src/views/settings/personalsettingspage/authmethodsection/index.tsx","./src/views/settings/personalsettingspage/changepasswordsection/changepasswordsection.tsx","./src/views/settings/personalsettingspage/changepasswordsection/index.tsx","./src/views/settings/personalsettingspage/securitysection/mfasection.tsx","./src/views/settings/personalsettingspage/securitysection/index.tsx","./src/views/settings/personalsettingspage/personalauthtab/personalauthtab.tsx","./src/views/settings/personalsettingspage/personalauthtab/index.tsx","./src/views/settings/personalsettingspage/changelanguagesection/changelanguagesection.tsx","./src/views/settings/personalsettingspage/changelanguagesection/index.tsx","./src/views/settings/personalsettingspage/deleteaccountsection/deleteaccountsection.tsx","./src/views/settings/personalsettingspage/deleteaccountsection/index.tsx","./src/views/settings/personalsettingspage/emergencykitsection/emergencykitsection.tsx","./src/views/settings/personalsettingspage/emergencykitsection/index.tsx","./src/views/settings/personalsettingspage/sessionssection/sessionstable.tsx","./src/views/settings/personalsettingspage/sessionssection/sessionssection.tsx","./src/views/settings/personalsettingspage/sessionssection/index.tsx","./src/views/settings/personalsettingspage/usernamesection/usernamesection.tsx","./src/views/settings/personalsettingspage/usernamesection/index.tsx","./src/views/settings/personalsettingspage/personalgeneraltab/personalgeneraltab.tsx","./src/views/settings/personalsettingspage/personalgeneraltab/index.tsx","./src/views/settings/personalsettingspage/personaltabgroup/personaltabgroup.tsx","./src/views/settings/personalsettingspage/personaltabgroup/index.tsx","./src/views/settings/personalsettingspage/personalsettingspage.tsx","./src/views/settings/personalsettingspage/index.tsx","./src/pages/personal-settings.tsx","./src/pages/requestnewinvite.tsx","./src/pages/secret-scanning.tsx","./src/pages/signupinvite.tsx","./src/pages/verify-email.tsx","./src/views/admin/dashboardpage/dashboardpage.tsx","./src/views/admin/dashboardpage/index.tsx","./src/pages/admin/index.tsx","./src/views/admin/signuppage/components/downloadbackupkeys/downloadbackupkeys.tsx","./src/views/admin/signuppage/components/downloadbackupkeys/index.tsx","./src/views/admin/signuppage/signuppage.tsx","./src/views/admin/signuppage/index.tsx","./src/pages/admin/signup.tsx","./public/json/frameworkintegrations.json","./src/views/integrationspage/components/cloudintegrationsection/cloudintegrationsection.tsx","./src/views/integrationspage/components/cloudintegrationsection/index.tsx","./src/views/integrationspage/components/frameworkintegrationsection/frameworkintegrationsection.tsx","./src/views/integrationspage/components/frameworkintegrationsection/index.tsx","./public/data/frequentconstants.ts","./src/views/integrationspage/components/integrationssection/integrationssection.tsx","./src/views/integrationspage/components/integrationssection/index.tsx","./src/views/integrationspage/integrationpage.utils.tsx","./src/views/integrationspage/integrationspage.tsx","./src/views/integrationspage/index.tsx","./src/pages/integrations/[id].tsx","./src/pages/integrations/aws-parameter-store/authorize.tsx","./src/pages/integrations/aws-parameter-store/create.tsx","./src/pages/integrations/aws-secret-manager/authorize.tsx","./src/pages/integrations/aws-secret-manager/create.tsx","./src/pages/integrations/azure-key-vault/create.tsx","./src/pages/integrations/azure-key-vault/oauth2/callback.tsx","./src/pages/integrations/bitbucket/create.tsx","./src/pages/integrations/bitbucket/oauth2/callback.tsx","./src/pages/integrations/checkly/authorize.tsx","./src/pages/integrations/checkly/create.tsx","./src/pages/integrations/circleci/authorize.tsx","./src/pages/integrations/circleci/create.tsx","./src/pages/integrations/cloud-66/authorize.tsx","./src/pages/integrations/cloud-66/create.tsx","./src/pages/integrations/cloudflare-pages/authorize.tsx","./src/pages/integrations/cloudflare-pages/create.tsx","./src/pages/integrations/cloudflare-workers/authorize.tsx","./src/pages/integrations/cloudflare-workers/create.tsx","./src/pages/integrations/codefresh/authorize.tsx","./src/pages/integrations/codefresh/create.tsx","./src/pages/integrations/digital-ocean-app-platform/authorize.tsx","./src/pages/integrations/digital-ocean-app-platform/create.tsx","./src/pages/integrations/flyio/authorize.tsx","./src/pages/integrations/flyio/create.tsx","./src/pages/integrations/gcp-secret-manager/authorize.tsx","./src/pages/integrations/gcp-secret-manager/create.tsx","./src/pages/integrations/gcp-secret-manager/oauth2/callback.tsx","./src/pages/integrations/github/create.tsx","./src/pages/integrations/github/oauth2/callback.tsx","./src/pages/integrations/gitlab/authorize.tsx","./src/pages/integrations/gitlab/create.tsx","./src/pages/integrations/gitlab/oauth2/callback.tsx","./src/pages/integrations/hashicorp-vault/authorize.tsx","./src/pages/integrations/hashicorp-vault/create.tsx","./src/pages/integrations/hasura-cloud/authorize.tsx","./src/pages/integrations/hasura-cloud/create.tsx","./src/pages/integrations/heroku/create.tsx","./src/pages/integrations/heroku/oauth2/callback.tsx","./src/pages/integrations/laravel-forge/authorize.tsx","./src/pages/integrations/laravel-forge/create.tsx","./src/pages/integrations/netlify/create.tsx","./src/pages/integrations/netlify/oauth2/callback.tsx","./src/pages/integrations/northflank/authorize.tsx","./src/pages/integrations/northflank/create.tsx","./src/pages/integrations/qovery/authorize.tsx","./src/pages/integrations/qovery/create.tsx","./src/pages/integrations/railway/authorize.tsx","./src/pages/integrations/railway/create.tsx","./src/pages/integrations/render/authorize.tsx","./src/pages/integrations/render/create.tsx","./src/pages/integrations/supabase/authorize.tsx","./src/pages/integrations/supabase/create.tsx","./src/pages/integrations/teamcity/authorize.tsx","./src/pages/integrations/teamcity/create.tsx","./src/pages/integrations/terraform-cloud/authorize.tsx","./src/pages/integrations/terraform-cloud/create.tsx","./src/pages/integrations/travisci/authorize.tsx","./src/pages/integrations/travisci/create.tsx","./src/pages/integrations/vercel/create.tsx","./src/pages/integrations/vercel/oauth2/callback.tsx","./src/pages/integrations/windmill/authorize.tsx","./src/pages/integrations/windmill/create.tsx","./src/views/login/login.utils.tsx","./src/views/login/components/initialstep/initialstep.tsx","./src/views/login/components/initialstep/index.tsx","./node_modules/jwt-decode/index.d.ts","./src/views/login/components/mfastep/mfastep.tsx","./src/views/login/components/mfastep/index.tsx","./src/views/login/components/samlssostep/samlssostep.tsx","./src/views/login/components/samlssostep/index.tsx","./src/views/login/components/passwordstep/passwordstep.tsx","./src/views/login/components/passwordstep/index.tsx","./src/views/login/components/index.tsx","./src/views/login/login.tsx","./src/views/login/loginsso.tsx","./src/views/login/index.tsx","./src/pages/login/index.tsx","./src/pages/login/provider/error.tsx","./src/pages/login/provider/success.tsx","./src/pages/login/sso/index.tsx","./src/views/settings/billingsettingspage/components/billingcloudtab/currentplansection.tsx","./src/views/settings/billingsettingspage/components/billingcloudtab/manageplanstable.tsx","./src/views/settings/billingsettingspage/components/billingcloudtab/manageplansmodal.tsx","./src/views/settings/billingsettingspage/components/billingcloudtab/previewsection.tsx","./src/views/settings/billingsettingspage/components/billingcloudtab/billingcloudtab.tsx","./src/views/settings/billingsettingspage/components/billingcloudtab/index.tsx","./src/views/settings/billingsettingspage/components/billingdetailstab/companynamesection.tsx","./src/views/settings/billingsettingspage/components/billingdetailstab/invoiceemailsection.tsx","./src/views/settings/billingsettingspage/components/billingdetailstab/pmtmethodstable.tsx","./src/views/settings/billingsettingspage/components/billingdetailstab/pmtmethodssection.tsx","./src/views/settings/billingsettingspage/components/billingdetailstab/taxidmodal.tsx","./src/views/settings/billingsettingspage/components/billingdetailstab/taxidtable.tsx","./src/views/settings/billingsettingspage/components/billingdetailstab/taxidsection.tsx","./src/views/settings/billingsettingspage/components/billingdetailstab/billingdetailstab.tsx","./src/views/settings/billingsettingspage/components/billingdetailstab/index.tsx","./src/views/settings/billingsettingspage/components/billingreceiptstab/invoicestable.tsx","./src/views/settings/billingsettingspage/components/billingreceiptstab/billingreceiptstab.tsx","./src/views/settings/billingsettingspage/components/billingreceiptstab/index.tsx","./src/views/settings/billingsettingspage/components/billingselfhostedtab/licensessection.tsx","./src/views/settings/billingsettingspage/components/billingselfhostedtab/billingselfhostedtab.tsx","./src/views/settings/billingsettingspage/components/billingselfhostedtab/index.tsx","./src/views/settings/billingsettingspage/components/billingtabgroup/billingtabgroup.tsx","./src/views/settings/billingsettingspage/components/billingtabgroup/index.tsx","./src/views/settings/billingsettingspage/components/index.tsx","./src/views/settings/billingsettingspage/billingsettingspage.tsx","./src/views/settings/billingsettingspage/index.tsx","./src/pages/org/[id]/billing/index.tsx","./src/views/org/memberspage/components/orgmemberstable/orgmemberstable.tsx","./src/views/org/memberspage/components/orgmemberstable/index.tsx","./src/views/org/memberspage/components/orgroletabsection/orgrolemodifysection/simplelevelpermissionoptions.tsx","./src/views/org/memberspage/components/orgroletabsection/orgrolemodifysection/workspacepermission.tsx","./src/views/org/memberspage/components/orgroletabsection/orgrolemodifysection/orgrolemodifysection.tsx","./src/views/org/memberspage/components/orgroletabsection/orgrolemodifysection/index.tsx","./src/views/org/memberspage/components/orgroletabsection/orgroletable.tsx","./src/views/org/memberspage/components/orgroletabsection/orgroletabsection.tsx","./src/views/org/memberspage/components/orgroletabsection/index.tsx","./src/views/org/memberspage/memberspage.tsx","./src/views/org/memberspage/index.tsx","./src/pages/org/[id]/members/index.tsx","./src/pages/org/[id]/overview/index.tsx","./src/views/secretscanning/components/riskstatusselection.tsx","./src/views/secretscanning/components/secretscanninglogstable.tsx","./src/views/secretscanning/components/index.tsx","./src/pages/org/[id]/secret-scanning/index.tsx","./src/views/settings/orgsettingspage/components/orgauthtab/ssomodal.tsx","./src/views/settings/orgsettingspage/components/orgauthtab/orgssosection.tsx","./src/views/settings/orgsettingspage/components/orgauthtab/orgauthtab.tsx","./src/views/settings/orgsettingspage/components/orgauthtab/index.tsx","./src/views/settings/orgsettingspage/components/orgdeletesection/orgdeletesection.tsx","./src/views/settings/orgsettingspage/components/orgdeletesection/index.tsx","./src/views/settings/orgsettingspage/components/orgincidentcontactssection/addorgincidentcontactmodal.tsx","./src/views/settings/orgsettingspage/components/orgincidentcontactssection/orgincidentcontactstable.tsx","./src/views/settings/orgsettingspage/components/orgincidentcontactssection/orgincidentcontactssection.tsx","./src/views/settings/orgsettingspage/components/orgincidentcontactssection/index.tsx","./src/views/settings/orgsettingspage/components/orgnamechangesection/orgnamechangesection.tsx","./src/views/settings/orgsettingspage/components/orgnamechangesection/index.tsx","./src/views/settings/orgsettingspage/components/orggeneraltab/orggeneraltab.tsx","./src/views/settings/orgsettingspage/components/orggeneraltab/index.tsx","./src/views/settings/orgsettingspage/components/orgtabgroup/orgtabgroup.tsx","./src/views/settings/orgsettingspage/components/orgtabgroup/index.tsx","./src/views/settings/orgsettingspage/components/index.tsx","./src/views/settings/orgsettingspage/orgsettingspage.tsx","./src/views/settings/orgsettingspage/index.tsx","./src/pages/org/[id]/settings/index.tsx","./src/views/org/nonepage/nonepage.tsx","./src/views/org/nonepage/index.tsx","./src/pages/org/none/index.tsx","./src/views/project/ipallowlistpage/components/ipallowlistmodal.tsx","./src/views/project/ipallowlistpage/components/ipallowlisttable.tsx","./src/views/project/ipallowlistpage/components/ipallowlistsection.tsx","./src/views/project/ipallowlistpage/components/index.tsx","./src/views/project/ipallowlistpage/ipallowlistpage.tsx","./src/views/project/ipallowlistpage/index.tsx","./src/pages/project/[id]/allowlist/index.tsx","./src/views/secretapprovalpage/components/secretapprovalpolicylist/components/secretapprovalpolicyrow.tsx","./src/views/secretapprovalpage/components/secretapprovalpolicylist/components/secretpolicyform.tsx","./src/views/secretapprovalpage/components/secretapprovalpolicylist/secretapprovalpolicylist.tsx","./src/views/secretapprovalpage/components/secretapprovalpolicylist/index.tsx","./src/views/secretapprovalpage/components/secretapprovalrequest/components/secretapprovalrequestaction.tsx","./src/views/secretapprovalpage/components/secretapprovalrequest/components/secretapprovalrequestchangeitem.tsx","./src/views/secretapprovalpage/components/secretapprovalrequest/components/secretapprovalrequestchanges.tsx","./src/views/secretapprovalpage/components/secretapprovalrequest/secretapprovalrequest.tsx","./src/views/secretapprovalpage/components/secretapprovalrequest/index.tsx","./src/views/secretapprovalpage/secretapprovalpage.tsx","./src/views/secretapprovalpage/index.tsx","./src/pages/project/[id]/approval/index.tsx","./src/views/project/auditlogspage/components/types.tsx","./src/views/project/auditlogspage/components/logsfilter.tsx","./src/views/project/auditlogspage/components/logstablerow.tsx","./src/views/project/auditlogspage/components/logstable.tsx","./src/views/project/auditlogspage/components/logssection.tsx","./src/views/project/auditlogspage/components/index.tsx","./src/views/project/auditlogspage/auditlogspage.tsx","./src/views/project/auditlogspage/index.tsx","./src/pages/project/[id]/audit-logs/index.tsx","./src/views/project/memberspage/components/memberlisttab/memberlisttab.tsx","./src/views/project/memberspage/components/memberlisttab/index.tsx","./src/views/project/memberspage/components/projectrolelisttab/components/projectrolelist/projectrolelist.tsx","./src/views/project/memberspage/components/projectrolelisttab/components/projectrolelist/index.tsx","./src/views/project/memberspage/components/projectrolelisttab/components/projectrolemodifysection/multienvprojectpermission.tsx","./src/views/project/memberspage/components/projectrolelisttab/components/projectrolemodifysection/secretrollbackpermission.tsx","./src/views/project/memberspage/components/projectrolelisttab/components/projectrolemodifysection/singleprojectpermission.tsx","./src/views/project/memberspage/components/projectrolelisttab/components/projectrolemodifysection/wsprojectpermission.tsx","./src/views/project/memberspage/components/projectrolelisttab/components/projectrolemodifysection/projectrolemodifysection.tsx","./src/views/project/memberspage/components/projectrolelisttab/components/projectrolemodifysection/index.tsx","./src/views/project/memberspage/components/projectrolelisttab/projectrolelisttab.tsx","./src/views/project/memberspage/components/projectrolelisttab/index.tsx","./src/views/project/memberspage/components/servicetokentab/components/servicetokensection/addservicetokenmodal.tsx","./src/views/project/memberspage/components/servicetokentab/components/servicetokensection/servicetokentable.tsx","./src/views/project/memberspage/components/servicetokentab/components/servicetokensection/servicetokensection.tsx","./src/views/project/memberspage/components/servicetokentab/components/servicetokensection/index.tsx","./src/views/project/memberspage/components/servicetokentab/components/servicetokenv3section/addservicetokenv3modal.tsx","./src/views/project/memberspage/components/servicetokentab/components/servicetokenv3section/servicetokenv3table.tsx","./src/views/project/memberspage/components/servicetokentab/components/servicetokenv3section/servicetokenv3section.tsx","./src/views/project/memberspage/components/servicetokentab/components/servicetokenv3section/index.tsx","./src/views/project/memberspage/components/servicetokentab/components/index.tsx","./src/views/project/memberspage/components/servicetokentab/servicetokentab.tsx","./src/views/project/memberspage/components/servicetokentab/index.tsx","./src/views/project/memberspage/memberspage.tsx","./src/views/project/memberspage/index.tsx","./src/pages/project/[id]/members/index.tsx","./src/views/secretrotationpage/components/createrotationform/steps/rotationinputform.tsx","./src/views/secretrotationpage/components/createrotationform/steps/rotationoutputform.tsx","./src/views/secretrotationpage/components/createrotationform/createrotationform.tsx","./src/views/secretrotationpage/components/createrotationform/index.tsx","./src/views/secretrotationpage/secretrotationpage.tsx","./src/views/secretrotationpage/index.tsx","./src/pages/project/[id]/secret-rotation/index.tsx","./node_modules/@types/file-saver/index.d.ts","./node_modules/zustand/vanilla.d.ts","./node_modules/zustand/react.d.ts","./node_modules/zustand/index.d.ts","./src/views/secretmainpage/secretmainpage.store.tsx","./src/views/secretmainpage/components/actionbar/createsecretimportform.tsx","./src/views/secretmainpage/components/actionbar/folderform.tsx","./src/views/secretmainpage/components/actionbar/actionbar.tsx","./src/views/secretmainpage/components/actionbar/index.tsx","./src/views/secretmainpage/components/createsecretform/createsecretform.tsx","./src/views/secretmainpage/components/createsecretform/index.tsx","./src/views/secretmainpage/components/folderlistview/folderlistview.tsx","./src/views/secretmainpage/components/folderlistview/index.tsx","./src/views/secretmainpage/components/pitdrawer/pitdrawer.tsx","./src/views/secretmainpage/components/pitdrawer/index.tsx","./src/views/secretmainpage/components/secretdropzone/copysecretsfromboard.tsx","./src/views/secretmainpage/components/secretdropzone/secretdropzone.tsx","./src/views/secretmainpage/components/secretdropzone/index.tsx","./node_modules/@dnd-kit/utilities/dist/hooks/usecombinedrefs.d.ts","./node_modules/@dnd-kit/utilities/dist/hooks/useevent.d.ts","./node_modules/@dnd-kit/utilities/dist/hooks/useisomorphiclayouteffect.d.ts","./node_modules/@dnd-kit/utilities/dist/hooks/useinterval.d.ts","./node_modules/@dnd-kit/utilities/dist/hooks/uselatestvalue.d.ts","./node_modules/@dnd-kit/utilities/dist/hooks/uselazymemo.d.ts","./node_modules/@dnd-kit/utilities/dist/hooks/usenoderef.d.ts","./node_modules/@dnd-kit/utilities/dist/hooks/useprevious.d.ts","./node_modules/@dnd-kit/utilities/dist/hooks/useuniqueid.d.ts","./node_modules/@dnd-kit/utilities/dist/hooks/index.d.ts","./node_modules/@dnd-kit/utilities/dist/adjustment.d.ts","./node_modules/@dnd-kit/utilities/dist/coordinates/types.d.ts","./node_modules/@dnd-kit/utilities/dist/coordinates/geteventcoordinates.d.ts","./node_modules/@dnd-kit/utilities/dist/coordinates/index.d.ts","./node_modules/@dnd-kit/utilities/dist/css.d.ts","./node_modules/@dnd-kit/utilities/dist/event/hasviewportrelativecoordinates.d.ts","./node_modules/@dnd-kit/utilities/dist/event/iskeyboardevent.d.ts","./node_modules/@dnd-kit/utilities/dist/event/istouchevent.d.ts","./node_modules/@dnd-kit/utilities/dist/event/index.d.ts","./node_modules/@dnd-kit/utilities/dist/execution-context/canusedom.d.ts","./node_modules/@dnd-kit/utilities/dist/execution-context/getownerdocument.d.ts","./node_modules/@dnd-kit/utilities/dist/execution-context/getwindow.d.ts","./node_modules/@dnd-kit/utilities/dist/execution-context/index.d.ts","./node_modules/@dnd-kit/utilities/dist/focus/findfirstfocusablenode.d.ts","./node_modules/@dnd-kit/utilities/dist/focus/index.d.ts","./node_modules/@dnd-kit/utilities/dist/type-guards/isdocument.d.ts","./node_modules/@dnd-kit/utilities/dist/type-guards/ishtmlelement.d.ts","./node_modules/@dnd-kit/utilities/dist/type-guards/isnode.d.ts","./node_modules/@dnd-kit/utilities/dist/type-guards/issvgelement.d.ts","./node_modules/@dnd-kit/utilities/dist/type-guards/iswindow.d.ts","./node_modules/@dnd-kit/utilities/dist/type-guards/index.d.ts","./node_modules/@dnd-kit/utilities/dist/types.d.ts","./node_modules/@dnd-kit/utilities/dist/index.d.ts","./node_modules/@dnd-kit/core/dist/types/coordinates.d.ts","./node_modules/@dnd-kit/core/dist/types/direction.d.ts","./node_modules/@dnd-kit/core/dist/utilities/algorithms/types.d.ts","./node_modules/@dnd-kit/core/dist/utilities/algorithms/closestcenter.d.ts","./node_modules/@dnd-kit/core/dist/utilities/algorithms/closestcorners.d.ts","./node_modules/@dnd-kit/core/dist/utilities/algorithms/rectintersection.d.ts","./node_modules/@dnd-kit/core/dist/utilities/algorithms/pointerwithin.d.ts","./node_modules/@dnd-kit/core/dist/utilities/algorithms/helpers.d.ts","./node_modules/@dnd-kit/core/dist/utilities/algorithms/index.d.ts","./node_modules/@dnd-kit/core/dist/types/events.d.ts","./node_modules/@dnd-kit/core/dist/types/other.d.ts","./node_modules/@dnd-kit/core/dist/types/react.d.ts","./node_modules/@dnd-kit/core/dist/types/rect.d.ts","./node_modules/@dnd-kit/core/dist/types/index.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/useautoscroller.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/usecachednode.d.ts","./node_modules/@dnd-kit/core/dist/sensors/types.d.ts","./node_modules/@dnd-kit/core/dist/sensors/usesensor.d.ts","./node_modules/@dnd-kit/core/dist/sensors/usesensors.d.ts","./node_modules/@dnd-kit/core/dist/sensors/pointer/abstractpointersensor.d.ts","./node_modules/@dnd-kit/core/dist/sensors/pointer/pointersensor.d.ts","./node_modules/@dnd-kit/core/dist/sensors/pointer/index.d.ts","./node_modules/@dnd-kit/core/dist/sensors/mouse/mousesensor.d.ts","./node_modules/@dnd-kit/core/dist/sensors/mouse/index.d.ts","./node_modules/@dnd-kit/core/dist/sensors/touch/touchsensor.d.ts","./node_modules/@dnd-kit/core/dist/sensors/touch/index.d.ts","./node_modules/@dnd-kit/core/dist/sensors/keyboard/types.d.ts","./node_modules/@dnd-kit/core/dist/sensors/keyboard/keyboardsensor.d.ts","./node_modules/@dnd-kit/core/dist/sensors/keyboard/index.d.ts","./node_modules/@dnd-kit/core/dist/sensors/index.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/usesyntheticlisteners.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/usecombineactivators.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/usedroppablemeasuring.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/useinitialvalue.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/useinitialrect.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/userect.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/userectdelta.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/useresizeobserver.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/usescrollableancestors.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/usescrollintoviewifneeded.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/usescrolloffsets.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/usescrolloffsetsdelta.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/usesensorsetup.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/userects.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/usewindowrect.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/usedragoverlaymeasuring.d.ts","./node_modules/@dnd-kit/core/dist/hooks/utilities/index.d.ts","./node_modules/@dnd-kit/core/dist/store/constructors.d.ts","./node_modules/@dnd-kit/core/dist/store/types.d.ts","./node_modules/@dnd-kit/core/dist/store/actions.d.ts","./node_modules/@dnd-kit/core/dist/store/context.d.ts","./node_modules/@dnd-kit/core/dist/store/reducer.d.ts","./node_modules/@dnd-kit/core/dist/store/index.d.ts","./node_modules/@dnd-kit/core/dist/components/accessibility/types.d.ts","./node_modules/@dnd-kit/core/dist/components/accessibility/accessibility.d.ts","./node_modules/@dnd-kit/core/dist/components/accessibility/components/restorefocus.d.ts","./node_modules/@dnd-kit/core/dist/components/accessibility/components/index.d.ts","./node_modules/@dnd-kit/core/dist/components/accessibility/defaults.d.ts","./node_modules/@dnd-kit/core/dist/components/accessibility/index.d.ts","./node_modules/@dnd-kit/core/dist/utilities/coordinates/constants.d.ts","./node_modules/@dnd-kit/core/dist/utilities/coordinates/distancebetweenpoints.d.ts","./node_modules/@dnd-kit/core/dist/utilities/coordinates/getrelativetransformorigin.d.ts","./node_modules/@dnd-kit/core/dist/utilities/coordinates/index.d.ts","./node_modules/@dnd-kit/core/dist/utilities/rect/adjustscale.d.ts","./node_modules/@dnd-kit/core/dist/utilities/rect/getrectdelta.d.ts","./node_modules/@dnd-kit/core/dist/utilities/rect/rectadjustment.d.ts","./node_modules/@dnd-kit/core/dist/utilities/rect/getrect.d.ts","./node_modules/@dnd-kit/core/dist/utilities/rect/getwindowclientrect.d.ts","./node_modules/@dnd-kit/core/dist/utilities/rect/rect.d.ts","./node_modules/@dnd-kit/core/dist/utilities/rect/index.d.ts","./node_modules/@dnd-kit/core/dist/utilities/other/noop.d.ts","./node_modules/@dnd-kit/core/dist/utilities/other/index.d.ts","./node_modules/@dnd-kit/core/dist/utilities/scroll/getscrollableancestors.d.ts","./node_modules/@dnd-kit/core/dist/utilities/scroll/getscrollableelement.d.ts","./node_modules/@dnd-kit/core/dist/utilities/scroll/getscrollcoordinates.d.ts","./node_modules/@dnd-kit/core/dist/utilities/scroll/getscrolldirectionandspeed.d.ts","./node_modules/@dnd-kit/core/dist/utilities/scroll/getscrollelementrect.d.ts","./node_modules/@dnd-kit/core/dist/utilities/scroll/getscrolloffsets.d.ts","./node_modules/@dnd-kit/core/dist/utilities/scroll/getscrollposition.d.ts","./node_modules/@dnd-kit/core/dist/utilities/scroll/documentscrollingelement.d.ts","./node_modules/@dnd-kit/core/dist/utilities/scroll/isscrollable.d.ts","./node_modules/@dnd-kit/core/dist/utilities/scroll/scrollintoviewifneeded.d.ts","./node_modules/@dnd-kit/core/dist/utilities/scroll/index.d.ts","./node_modules/@dnd-kit/core/dist/utilities/index.d.ts","./node_modules/@dnd-kit/core/dist/modifiers/types.d.ts","./node_modules/@dnd-kit/core/dist/modifiers/applymodifiers.d.ts","./node_modules/@dnd-kit/core/dist/modifiers/index.d.ts","./node_modules/@dnd-kit/core/dist/components/dndcontext/types.d.ts","./node_modules/@dnd-kit/core/dist/components/dndcontext/dndcontext.d.ts","./node_modules/@dnd-kit/core/dist/components/dndcontext/index.d.ts","./node_modules/@dnd-kit/core/dist/components/dndmonitor/types.d.ts","./node_modules/@dnd-kit/core/dist/components/dndmonitor/context.d.ts","./node_modules/@dnd-kit/core/dist/components/dndmonitor/usedndmonitor.d.ts","./node_modules/@dnd-kit/core/dist/components/dndmonitor/usedndmonitorprovider.d.ts","./node_modules/@dnd-kit/core/dist/components/dndmonitor/index.d.ts","./node_modules/@dnd-kit/core/dist/components/dragoverlay/components/animationmanager/animationmanager.d.ts","./node_modules/@dnd-kit/core/dist/components/dragoverlay/components/animationmanager/index.d.ts","./node_modules/@dnd-kit/core/dist/components/dragoverlay/components/nullifiedcontextprovider/nullifiedcontextprovider.d.ts","./node_modules/@dnd-kit/core/dist/components/dragoverlay/components/nullifiedcontextprovider/index.d.ts","./node_modules/@dnd-kit/core/dist/components/dragoverlay/components/positionedoverlay/positionedoverlay.d.ts","./node_modules/@dnd-kit/core/dist/components/dragoverlay/components/positionedoverlay/index.d.ts","./node_modules/@dnd-kit/core/dist/components/dragoverlay/components/index.d.ts","./node_modules/@dnd-kit/core/dist/components/dragoverlay/hooks/usedropanimation.d.ts","./node_modules/@dnd-kit/core/dist/components/dragoverlay/hooks/usekey.d.ts","./node_modules/@dnd-kit/core/dist/components/dragoverlay/hooks/index.d.ts","./node_modules/@dnd-kit/core/dist/components/dragoverlay/dragoverlay.d.ts","./node_modules/@dnd-kit/core/dist/components/dragoverlay/index.d.ts","./node_modules/@dnd-kit/core/dist/components/index.d.ts","./node_modules/@dnd-kit/core/dist/hooks/usedraggable.d.ts","./node_modules/@dnd-kit/core/dist/hooks/usedndcontext.d.ts","./node_modules/@dnd-kit/core/dist/hooks/usedroppable.d.ts","./node_modules/@dnd-kit/core/dist/hooks/index.d.ts","./node_modules/@dnd-kit/core/dist/index.d.ts","./node_modules/@dnd-kit/modifiers/dist/createsnapmodifier.d.ts","./node_modules/@dnd-kit/modifiers/dist/restricttohorizontalaxis.d.ts","./node_modules/@dnd-kit/modifiers/dist/restricttoparentelement.d.ts","./node_modules/@dnd-kit/modifiers/dist/restricttofirstscrollableancestor.d.ts","./node_modules/@dnd-kit/modifiers/dist/restricttoverticalaxis.d.ts","./node_modules/@dnd-kit/modifiers/dist/restricttowindowedges.d.ts","./node_modules/@dnd-kit/modifiers/dist/snapcentertocursor.d.ts","./node_modules/@dnd-kit/modifiers/dist/index.d.ts","./node_modules/@dnd-kit/sortable/dist/types/disabled.d.ts","./node_modules/@dnd-kit/sortable/dist/types/data.d.ts","./node_modules/@dnd-kit/sortable/dist/types/strategies.d.ts","./node_modules/@dnd-kit/sortable/dist/types/type-guard.d.ts","./node_modules/@dnd-kit/sortable/dist/types/index.d.ts","./node_modules/@dnd-kit/sortable/dist/components/sortablecontext.d.ts","./node_modules/@dnd-kit/sortable/dist/components/index.d.ts","./node_modules/@dnd-kit/sortable/dist/hooks/types.d.ts","./node_modules/@dnd-kit/sortable/dist/hooks/usesortable.d.ts","./node_modules/@dnd-kit/sortable/dist/hooks/defaults.d.ts","./node_modules/@dnd-kit/sortable/dist/hooks/index.d.ts","./node_modules/@dnd-kit/sortable/dist/strategies/horizontallistsorting.d.ts","./node_modules/@dnd-kit/sortable/dist/strategies/rectsorting.d.ts","./node_modules/@dnd-kit/sortable/dist/strategies/rectswapping.d.ts","./node_modules/@dnd-kit/sortable/dist/strategies/verticallistsorting.d.ts","./node_modules/@dnd-kit/sortable/dist/strategies/index.d.ts","./node_modules/@dnd-kit/sortable/dist/sensors/keyboard/sortablekeyboardcoordinates.d.ts","./node_modules/@dnd-kit/sortable/dist/sensors/keyboard/index.d.ts","./node_modules/@dnd-kit/sortable/dist/sensors/index.d.ts","./node_modules/@dnd-kit/sortable/dist/utilities/arraymove.d.ts","./node_modules/@dnd-kit/sortable/dist/utilities/arrayswap.d.ts","./node_modules/@dnd-kit/sortable/dist/utilities/getsortedrects.d.ts","./node_modules/@dnd-kit/sortable/dist/utilities/isvalidindex.d.ts","./node_modules/@dnd-kit/sortable/dist/utilities/itemsequal.d.ts","./node_modules/@dnd-kit/sortable/dist/utilities/normalizedisabled.d.ts","./node_modules/@dnd-kit/sortable/dist/utilities/index.d.ts","./node_modules/@dnd-kit/sortable/dist/index.d.ts","./src/views/secretmainpage/components/secretimportlistview/secretimportitem.tsx","./src/views/secretmainpage/components/secretimportlistview/secretimportlistview.tsx","./src/views/secretmainpage/components/secretimportlistview/index.tsx","./src/views/secretmainpage/components/secretlistview/secretdetaisidebar.tsx","./src/views/secretmainpage/components/secretlistview/createreminderform.tsx","./src/views/secretmainpage/components/secretlistview/secretitem.tsx","./src/views/secretmainpage/components/secretlistview/secretlistview.tsx","./src/views/secretmainpage/components/secretlistview/index.tsx","./src/views/secretmainpage/components/snapshotview/secretitem.tsx","./src/views/secretmainpage/components/snapshotview/snapshotview.tsx","./src/views/secretmainpage/components/snapshotview/index.tsx","./src/views/secretmainpage/secretmainpage.tsx","./src/views/secretmainpage/index.tsx","./src/pages/project/[id]/secrets/[env].tsx","./src/views/secretoverviewpage/components/folderbreadcrumbs/folderbreadcrumbs.tsx","./src/views/secretoverviewpage/components/folderbreadcrumbs/index.tsx","./src/views/secretoverviewpage/components/secretoverviewfolderrow/secretoverviewfolderrow.tsx","./src/views/secretoverviewpage/components/secretoverviewfolderrow/index.tsx","./src/views/secretoverviewpage/components/secretoverviewtablerow/secreteditrow.tsx","./src/views/secretoverviewpage/components/secretoverviewtablerow/secretoverviewtablerow.tsx","./src/views/secretoverviewpage/components/secretoverviewtablerow/index.tsx","./src/views/secretoverviewpage/secretoverviewpage.tsx","./src/views/secretoverviewpage/index.tsx","./src/pages/project/[id]/secrets/overview.tsx","./src/pages/project/[id]/secrets/v2/[env].tsx","./src/views/settings/projectsettingspage/components/autocapitalizationsection/autocapitalizationsection.tsx","./src/views/settings/projectsettingspage/components/autocapitalizationsection/index.tsx","./src/views/settings/projectsettingspage/components/deleteprojectsection/deleteprojectsection.tsx","./src/views/settings/projectsettingspage/components/deleteprojectsection/index.tsx","./src/views/settings/projectsettingspage/components/e2eesection/e2eesection.tsx","./src/views/settings/projectsettingspage/components/e2eesection/index.tsx","./src/views/settings/projectsettingspage/components/environmentsection/addenvironmentmodal.tsx","./src/views/settings/projectsettingspage/components/environmentsection/environmenttable.tsx","./src/views/settings/projectsettingspage/components/environmentsection/updateenvironmentmodal.tsx","./src/views/settings/projectsettingspage/components/environmentsection/environmentsection.tsx","./src/views/settings/projectsettingspage/components/environmentsection/index.tsx","./src/views/settings/projectsettingspage/components/projectnamechangesection/projectnamechangesection.tsx","./src/views/settings/projectsettingspage/components/projectnamechangesection/index.tsx","./src/views/settings/projectsettingspage/components/secrettagssection/addsecrettagmodal.tsx","./src/views/settings/projectsettingspage/components/secrettagssection/secrettagstable.tsx","./src/views/settings/projectsettingspage/components/secrettagssection/secrettagssection.tsx","./src/views/settings/projectsettingspage/components/secrettagssection/index.tsx","./src/views/settings/projectsettingspage/components/projectgeneraltab/projectgeneraltab.tsx","./src/views/settings/projectsettingspage/components/projectgeneraltab/index.tsx","./src/views/settings/projectsettingspage/components/webhookstab/addwebhookform.tsx","./src/views/settings/projectsettingspage/components/webhookstab/webhookstab.tsx","./src/views/settings/projectsettingspage/components/webhookstab/index.tsx","./src/views/settings/projectsettingspage/projectsettingspage.tsx","./src/views/settings/projectsettingspage/index.tsx","./src/pages/project/[id]/settings/index.tsx","./src/pages/signup/index.tsx","./src/views/signup/components/backuppdfstep/backuppdfstep.tsx","./src/views/signup/components/backuppdfstep/index.tsx","./src/views/signup/components/userinfossostep/userinfossostep.tsx","./src/views/signup/components/userinfossostep/index.tsx","./src/views/signup/components/index.tsx","./src/views/signup/signupsso.tsx","./src/views/signup/index.tsx","./src/pages/signup/sso/index.tsx","./src/views/secretmainpage/components/secretlistview/genrandomnumber.tsx","./src/views/secretoverviewpage/components/projectindexsecretssection/projectindexsecretssection.tsx","./src/views/secretoverviewpage/components/projectindexsecretssection/index.tsx","./src/views/settings/personalsettingspage/apikeyv2section/apikeyv2modal.tsx","./src/views/settings/personalsettingspage/apikeyv2section/apikeyv2table.tsx","./src/views/settings/personalsettingspage/apikeyv2section/apikeyv2section.tsx","./src/views/settings/personalsettingspage/apikeyv2section/index.tsx","./src/views/settings/projectsettingspage/components/index.tsx","./.eslintrc.js","./node_modules/@types/aria-query/index.d.ts","./node_modules/@types/ms/index.d.ts","./node_modules/@types/debug/index.d.ts","./node_modules/@types/detect-port/index.d.ts","./node_modules/@types/doctrine/index.d.ts","./node_modules/@types/ejs/index.d.ts","./node_modules/@types/escodegen/index.d.ts","./node_modules/@types/eslint/helpers.d.ts","./node_modules/@types/estree/index.d.ts","./node_modules/@types/json-schema/index.d.ts","./node_modules/@types/eslint/index.d.ts","./node_modules/@types/eslint-scope/index.d.ts","./node_modules/@types/find-cache-dir/index.d.ts","./node_modules/@types/minimatch/index.d.ts","./node_modules/@types/glob/index.d.ts","./node_modules/@types/graceful-fs/index.d.ts","./node_modules/@types/unist/index.d.ts","./node_modules/@types/hast/index.d.ts","./node_modules/@types/hoist-non-react-statics/index.d.ts","./node_modules/@types/html-minifier-terser/index.d.ts","./node_modules/@types/istanbul-lib-coverage/index.d.ts","./node_modules/@types/istanbul-lib-report/index.d.ts","./node_modules/@types/istanbul-reports/index.d.ts","./node_modules/@types/json5/index.d.ts","./node_modules/@types/lodash/common/common.d.ts","./node_modules/@types/lodash/common/array.d.ts","./node_modules/@types/lodash/common/collection.d.ts","./node_modules/@types/lodash/common/date.d.ts","./node_modules/@types/lodash/common/function.d.ts","./node_modules/@types/lodash/common/lang.d.ts","./node_modules/@types/lodash/common/math.d.ts","./node_modules/@types/lodash/common/number.d.ts","./node_modules/@types/lodash/common/object.d.ts","./node_modules/@types/lodash/common/seq.d.ts","./node_modules/@types/lodash/common/string.d.ts","./node_modules/@types/lodash/common/util.d.ts","./node_modules/@types/lodash/index.d.ts","./node_modules/@types/mdast/index.d.ts","./node_modules/@types/mdx/types.d.ts","./node_modules/@types/mdx/index.d.ts","./node_modules/@types/mime-types/index.d.ts","./node_modules/@types/node-fetch/node_modules/form-data/index.d.ts","./node_modules/@types/node-fetch/externals.d.ts","./node_modules/@types/node-fetch/index.d.ts","./node_modules/@types/normalize-package-data/index.d.ts","./node_modules/@types/npmlog/index.d.ts","./node_modules/@types/parse-json/index.d.ts","./node_modules/@types/pretty-hrtime/index.d.ts","./node_modules/@types/raf/index.d.ts","./node_modules/redux/index.d.ts","./node_modules/@types/react-redux/index.d.ts","./node_modules/@types/scheduler/index.d.ts","./node_modules/@types/semver/classes/semver.d.ts","./node_modules/@types/semver/functions/parse.d.ts","./node_modules/@types/semver/functions/valid.d.ts","./node_modules/@types/semver/functions/clean.d.ts","./node_modules/@types/semver/functions/inc.d.ts","./node_modules/@types/semver/functions/diff.d.ts","./node_modules/@types/semver/functions/major.d.ts","./node_modules/@types/semver/functions/minor.d.ts","./node_modules/@types/semver/functions/patch.d.ts","./node_modules/@types/semver/functions/prerelease.d.ts","./node_modules/@types/semver/functions/compare.d.ts","./node_modules/@types/semver/functions/rcompare.d.ts","./node_modules/@types/semver/functions/compare-loose.d.ts","./node_modules/@types/semver/functions/compare-build.d.ts","./node_modules/@types/semver/functions/sort.d.ts","./node_modules/@types/semver/functions/rsort.d.ts","./node_modules/@types/semver/functions/gt.d.ts","./node_modules/@types/semver/functions/lt.d.ts","./node_modules/@types/semver/functions/eq.d.ts","./node_modules/@types/semver/functions/neq.d.ts","./node_modules/@types/semver/functions/gte.d.ts","./node_modules/@types/semver/functions/lte.d.ts","./node_modules/@types/semver/functions/cmp.d.ts","./node_modules/@types/semver/functions/coerce.d.ts","./node_modules/@types/semver/classes/comparator.d.ts","./node_modules/@types/semver/classes/range.d.ts","./node_modules/@types/semver/functions/satisfies.d.ts","./node_modules/@types/semver/ranges/max-satisfying.d.ts","./node_modules/@types/semver/ranges/min-satisfying.d.ts","./node_modules/@types/semver/ranges/to-comparators.d.ts","./node_modules/@types/semver/ranges/min-version.d.ts","./node_modules/@types/semver/ranges/valid.d.ts","./node_modules/@types/semver/ranges/outside.d.ts","./node_modules/@types/semver/ranges/gtr.d.ts","./node_modules/@types/semver/ranges/ltr.d.ts","./node_modules/@types/semver/ranges/intersects.d.ts","./node_modules/@types/semver/ranges/simplify.d.ts","./node_modules/@types/semver/ranges/subset.d.ts","./node_modules/@types/semver/internals/identifiers.d.ts","./node_modules/@types/semver/index.d.ts","./node_modules/@types/use-sync-external-store/index.d.ts","./node_modules/@types/uuid/index.d.ts","./node_modules/@types/yargs-parser/index.d.ts","./node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"0990a7576222f248f0a3b888adcb7389f957928ce2afb1cd5128169086ff4d29",{"version":"549df62b64a71004aee17685b445a8289013daf96246ce4d9b087d13d7a27a61","affectsGlobalScope":true},"4c68749a564a6facdf675416d75789ee5a557afda8960e0803cf6711fa569288","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"41333f3d476800f515bd357fec50fd2f8e7a309aab46d2cf2f22bcfe31210832","affectsGlobalScope":true},"cc69795d9954ee4ad57545b10c7bf1a7260d990231b1685c147ea71a6faa265c","54bd71c625e111b058159fc737c8f9a7170acfdb63cdb9a178558fb70e9fa9e9","1b61d259de5350f8b1e5db06290d31eaebebc6baafd5f79d314b5af9256d7153","57194e1f007f3f2cbef26fa299d4c6b21f4623a2eddc63dfeef79e38e187a36e","0f6666b58e9276ac3a38fdc80993d19208442d6027ab885580d93aec76b4ef00","05fd364b8ef02fb1e174fbac8b825bdb1e5a36a016997c8e421f5fab0a6da0a0","7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"bb65c6267c5d6676be61acbf6604cf0a4555ac4b505df58ac15c831fcbff4e3e","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","afcc1c426b76db7ec80e563d4fb0ba9e6bcc6e63c2d7e9342e649dc56d26347f","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","b01a80007e448d035a16c74b5c95a5405b2e81b12fabcf18b75aa9eb9ef28990","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","dbe5aa5a5dd8bd1c6a8d11b1310c3f0cdabaacc78a37b394a8c7b14faeb5fb84","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"d076fede3cb042e7b13fc29442aaa03a57806bc51e2b26a67a01fbc66a7c0c12","7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","213fc4f2b172d8beb74b77d7c1b41488d67348066d185e4263470cbb010cd6e8",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"f7db71191aa7aac5d6bc927ed6e7075c2763d22c7238227ec0c63c8cf5cb6a8b","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"e9a8d4274033cb520ee12d6f68d161ba2b9128b87399645d3916b71187032836","30a1b56068b3820c91a055425a6af2294f8ef2bb10a59dcda413f6437093620d","db6d2d9daad8a6d83f281af12ce4355a20b9a3e71b82b9f57cddcca0a8964a96","54be1e9fa1341e79190896d0b79279b681714d79126b7e012777e328385cacb6","625e5d5e9e25017d53e65c62ff944d812d48ec1bbaaf7395c8f8cdf6c9218061","d9eb71e7c70837921557ecc76865043734dac2cd1bf1d3a7b24879de47befc89","39a3fc61a65aee8c90cd81bb2c9b508be6c5cc745cd40eaed95954a07c11bb82","254a9b57801e4f45ef7576236e5984e4abd95a03ea06b2018801ae3200e1617e","3150ee51540bdf0d4e0ccb05de6f905962dc3505bd28b7385c6924f7d9eeba11","2302818e3723d16f85c3d75de67247a1bacc23f5399b8235fde025737a6cc5b8","a13e414841a16a10e8637397f2551c52e1025278f4d8d2397824546dc272441b","98e00fba67d4b527de2929778f96c7f9453fbbb8c50968ff096dddd29057450b","b8d57d43415dc08b757f7bdfa382b596bf3627565dcb11bc325956f351abc813","481317b3d14426c2145b2a9a368f27278b20a76115bcc58ac5eb8649791e66b0","e5fe42c833993ca99b2e7628fd90bc3c0d30c9447a925d332ab90a53dff5743a","e264129e63c4e4c13586d8e166ee80c90a7da663b3d3e2a40f0fcaf89e267685","22082ac39501b626f8b4322d6bd6fb0424de438777b141f663286cf8bd048398","7efab7f15be1969d9e92bab327ec311d0bf7fc972f793cc8ca25ee95d7b720ad","bd53743631e1afc700defefceea03658ce7fa4a5a0a42622daed233b8c8d8473","16a510a8408f5a845b3e5dbe17a731b9e6dfdcd416410c36f8afcd8cf60c57a4","85cc7ba47f064d73b53d98e5384dad6e88809b8c0ecbf155846203d8736e99bb","be5dfb4c5c1bdfb0d853370c0de9a995cb39eef0f277d645a7f43caaea423d18","58902668adae2e5eb67efbccb4048afa02308fa684f1a4e4c7d47668ecf58c1b","2e14bcdfb0fd8cf0f6397a641018bb3d1409870af299707126302bd264cb3d42","11206290b4d52fa4a2ce697aef740ebb4514c58ac73a7c792e5b241b24d03c1b","837acd3f64bcd556da76827c292e82ad812170d880a490a7deb3f2de0ffa7c9a","2e94503b5076c161c7aac50b99bc5244ffc4cc3c4b699d079ce24b86208ebd18","17937316a2f7f362dd6375251a9ce9e4960cfdc0aa7ba6cbd00656f7ab92334b","2a878850cefd50fcb86b1164005cc48294edf62fc3bb100301378a448e3d2112","4e0528cf15ca199d8b363895c38e4f7b45ccd79d34f84861e8800cbd41eb2d37","8e64a4268cab5c9790d4895275ffbe654d75b877601ecb0ffadb66f95132b3bd","eaf9ff519bd303bff935b04d60d1269708fd2b5ce41b3d1d8ced373e2c02b76d","71cad090e94ca13ef78b9f4275159a76fb950ad33b47ea24f4874d1df5ad3dfa","6e5f5cee603d67ee1ba6120815497909b73399842254fc1e77a0d5cdc51d8c9c","f6404e7837b96da3ea4d38c4f1a3812c96c9dcdf264e93d5bdb199f983a3ef4b","37ac25883371c238e6c4575498d3517a25433382ed77f5181af60f9fa06eb2c4","1d5b8dfb36cd7234b297aeb66435f37ddb7579b1ef5e94a13e195d51b09c92cd","7a18dff83add08d87a614e3c28b07e919def3d72928dc846d557be176fc9e3a5","ecdfa1a2faf120fe24d456616945fee5c950b55ca60e3936592524b737a0623a","90e20fced750a875bb86a6b781a43593647f11bbb979511a4d7051d2d21f90db","7d03f9b34192444d1ae3d2dce4f88a126e51fb8e0cb0ce5a92019ff6212dc1ca","45f80f549a22887e9f85ad3c6a24a382d1e825c8e7fa72a2d1e7c53e0c4e623f","5cab8fa167ee711e4dfcd22ed632c60be36bd49dc6eea8cfdd3613c59d00c43d",{"version":"a5b7d9811cb310f8abaebedbd80023cea0c9b4011984ca0c58a52f25fee67495","affectsGlobalScope":true},"22671c0bd8afbe9238285b94a9f6bf447838f290ff054850145989d347099192","00357bb70a10782936bbfdf7c87ad632e5c2694b6714224ea0995299db1885ed","2766dee26ea113e9b491b7842cb44df57c4d79b17057b42607e09fc174bd411d","cb4047ce260c2f4585b2d592d04a1d9a9c2a1ba32679a688523ec314a977989a","0511c61c22d677da1b6bab4d3844aead1d7e27028d2f0ed1ed315e0860ed5357",{"version":"b4610d904ab939109aa8bcee6f795de8da780b6b4a4d8ff2ff9d2e3b699f55b7","affectsGlobalScope":true},{"version":"8b20e6ed022d1615533cacba5ff84521a86e86e98ef79318415235d64858a0e9","affectsGlobalScope":true},{"version":"37b859e0b3e9c67252710e6135a3e80daa5ccc5d9eaadd7728ede7ccde2d1263","affectsGlobalScope":true},"b7f9c8b05e3a56b80f6a8362b3f084ea887d3f857bc885a5f1dbc03150b981dd","1329c41c13694c2d89f4576fc3d0f04e07f311a682bf958bde5b79e6c76c0137","f77d46ee52fbe94069be9a6b7d7345144d9b64fceb68c4fd27578ba333b66b6a","65c24a8baa2cca1de069a0ba9fba82a173690f52d7e2d0f1f7542d59d5eb4db0","b7fff2d004c5879cae335db8f954eb1d61242d9f2d28515e67902032723caeab","8303df69e9d100e3df8f2d67ec77348cb6494dc406356fdd9b56e61aa7c3c758","8de50542d92f9ac659c30ead0a97e9c107dd3404a3b4fd4bf3504589a026221a","4545c1a1ceca170d5d83452dd7c4994644c35cf676a671412601689d9a62da35","7e3327a4bd457a8949d15cc317b76fc394732519b09facac6836a726b58f277e","a2d648d333cf67b9aeac5d81a1a379d563a8ffa91ddd61c6179f68de724260ff","c3a905a7fa93ca648349e934fb19356cf7b40e48d65658de3e0c77d67696fd40","a3f41ed1b4f2fc3049394b945a68ae4fdefd49fa1739c32f149d32c0545d67f5","c2489c80994d62e5b51370a6f02f537db4c37af5f914fcb5b2755b81f1906cae","47699512e6d8bebf7be488182427189f999affe3addc1c87c882d36b7f2d0b0e","38f19e920e7f0babb44119ed394e1916a16cf04b17b6724e07e1497cd5ea1445","42c686ce08bf5576ed178f4a6a62d1b580d941334fb53bdff7054e0980f2dc75","f5daecf7f124d12e92b3f640dabe6fe5f0444bb4d471fc2ee1811a5d8ba17981","cdf21eee8007e339b1b9945abf4a7b44930b1d695cc528459e68a3adc39a622e","1d079c37fa53e3c21ed3fa214a27507bda9991f2a41458705b19ed8c2b61173d","26a451bf3a5f87ebaaa7694c5b664c3d9cec296f3fa8b797b872aee0f302b3a0","5835a6e0d7cd2738e56b671af0e561e7c1b4fb77751383672f4b009f4e161d70","c0eeaaa67c85c3bb6c52b629ebbfd3b2292dc67e8c0ffda2fc6cd2f78dc471e6","195aae3bcd7fa56c83e3242a6b613be4e70bbebbeebcf366140200750a7bd05e","5b5399e88bf15a6fbf4ac3660ae8c3df467932531f6940a914987faad103072e",{"version":"7a87441a419deeff2165cf497fed7c3600c886cd41e92bce644320b9a01f5c5c","affectsGlobalScope":true},"9c00f78ac4e60d1c34d0fb415df6b2fea5f6eea200076dff4d782256a4c2802d","79d056984a8964d3917c7587067447d7565d9da696fcf6ecaa5e8437a214f04e","9269d492817e359123ac64c8205e5d05dab63d71a3a7a229e68b5d9a0e8150bf","ab5b87a775a1a04cc0af0dce5c92742f59fec05ac0def71d1d6f9d9d239909eb","3d9241250ff79102e2eee92162852175846a82f759d53b1ed989cca72bca4f08","020e7d842030c4d8bd2d0e3b44b8aeda578acd938e3b2de09cc5d16eb6c5fdc8","ed1b0831d5ef141a09ce4244268533c39f09b69a1e2da190234ba37ebe760f44","dfcf1598ddcdc3c5e405165acc86e0508ef9e704bc5724794633a827a4dbcd35","446bba16e0299d6d64b2df158b8405a9bd3cbaa56a8a0bbb7840df712c84a6e9","6ffb1d252c75bc2ffe5d4a4ea66a3fad1488ed818639866d08d93f3ff0ee576e","2e968a8f4143f1a945b08fade200aa678b0e3c11e6481edc9cb49c7b872ded7a","5c50309c58cebe2ba277209b72c0101fabe143168a31ba9a7c587bf4265eae57","76a1caf3c5f2b86391fa6935e01cc087d3f52a744dc066487e89ad9c85a1ac23","fcbf5dde512d4e92df33eb9b6f5347bb5e22434996189c167d3f82be6ab417ec","ee862a4c933eac0e00d2f66f2d7d0f840880163af51e385991fdc7d71b57fb73","c7aacb74fe0dd4765d701a71f60fc51a299ca1be0f2b940861755416875b134d","8d5513afe1424fee821141f264d658243bd99dab101f3ee407b7bb7a434e1a74","461a6d4df2b98684624f2ca77d1cc3e8e5d0ca1f2b236537067335433097db05","f08cc8cb46f73a3199389c68844b0469497f8c1efcc0012d6b18fdd5ae3e2527","cb5d8d2db432271be3bfe5f430eb3ad9f90d5f70958fb7bfcf9a93da9b971e77","778643fa8466066d93884d734c484b8fffa313b925dc8bc41cc1b74f0b939177","e04263fc0e5a60501cbbf51e52d6119e7662ac25e229990accfb5065f40209d3","59a20bf01eaa3592f96a2b89f462fa25de33203256a66397f266d2ffcc3f7830","3860e117c5beca3cffa6b7040456feebca1132574d8f1cce376b2b1fb33529c6","64923c5e9096261144df4e30c1a109b86a2518b3c5cfc568169b2b4cd6f887f3","b2f7720f13a8bb7eed1f4e546dbf98e3ba2966b89e638835d50838609b2e78e7","4e9729c330bfa89a9dfbf23b3bce6860fdf089cbc6fb398de7caa087d136827e","b0cbc8925db6eaf08fc5f4fb67f0973c0bf88f4f9285b8f737e4270d0efcc4fd","362f7b1789bd8284a7c2d850735f8f915359c30ce4f796adbc6bb19c2dba4f0c","11c3248bd1ca0cea998f94024ab50544b3427fdf90931820355cbb1ef5d95b4a","8aa0a8b48ab298a60f93241341ffbd3a4e9f25a06e6a01cf3c819db8d26029f9","c89a3ad01c26038d80f086b97496e79a94097e3cdffde751834bdcd0d1daa66b","8823deb4062863db8a3a40dd0acead7ec48e2aeba07704d9ae20a6f04dedf889","578a8b13b5d98caf78e643b52eca911358f90a1dc5c29a0ad97ce4a090cb6591","a7fa06b1f8659eb5a9dc0fbd012ab54d6525d980274aa420eedddf5b9a6a1aaa",{"version":"0937a61fce5d863806015280ecc91a2f27b5a5f7c27941f9f287015d681307ee","affectsGlobalScope":true},"27cf48e9e738bb616deef23a1eda9903b0b66717767e8b3f027a0107f634026d","8edc974a1d2ad2fdd901f152606a6eb5911658b393325d88af6731adcfd47ac5","b40897a0c614a803fd24794c43f3814ec7b3e9f232d82f82be7143dc619fb455","fb45f1dc196a6d0f0f1351c8e29198cdc13b49446934941f8ce37822b258b71f","f68dd76b8b2becf269d0b64e4dbceaec4b9a5d33097d33c7e7f930cf94693e06","839e18b4e1e2c9b5ae7e51fde765e49f507790a2a331b4d3f330eaa29faa43d7","953b006ff3fdfbf381a4abac3388dfdd3f07c841dddd723f8b854647781187d3","8cfff1065bc5210922d4bc4fe1f3c197071112a3d156ea89188730426e41f557","7fb2ced69f73204d1ca084b7a18cf9eba7452b8a60d3667fe9b5b41f5ecffe6a",{"version":"35fb9e042a1fdac44320bb449b42fd798b4bc1f2a8eee0c1cdb634a115dd49f4","affectsGlobalScope":true},{"version":"584412a58387dd8ef4c852c3a39a22225d78bddba88a9fa696a8289b60097058","signature":"440b18bc875fab88363d1aeaa4c3a57e39face566a9c47dfeccbff05fbf8b446"},"ffbcd6746978be85902c5ec6b0ddc9ae3f1f1e36136c08ba6cd246d758a3cae2","34da77041d4c35d39968585c8809aaa52053300008eb678f21412cb2ce05a981","b46ea79d948287ec30466aa8d806242a96b7fdc69ab2157fcccd8d7195ba1c51","d88dc05fd345b7a4e1816bbfd2dd087eefa9b9e36096818c2348f5b246971125","ef6ed5634adeb1c22c06f8d3608ad46574abb1850f82b0cbc39378d3fb59adef","6b3ee5a8b9feea477da8695b8bd4fc4105b8f1e7fb8592eaf83df45ab6fc48ea","05c0faa563f55c7695f78358928a996bb80882ed9a8641a0a20d6df078da3316","1f39c22416eaa0edb00297b5150cede1de62c73c9683de450701dc2acf41d37d","8fb40894a0b24314c7c7d4f4671991b12907e2b76baf7997a8c684af715b923e","785aca1d0032ff4823a42c9f91aa1d6bf3153b0108facdb1ba642a9684e1930c","0b9544c3e68408e098a5b77d9b57207d518b5936a1ffee814d4b7247081a61c8","c01129c9b478f32f657710bf3bc64d5dcd26f3888d810cdf099ab2acef858379","37c4c3129ef09c4ccc048f631e1c78363923d297aeb095cdbdd6017cd35ee854","a20422d6d7e40a02bde1d82d0971eea2f2948e1e99c627d642e1c8bd6c79f7e4","a74386a253362aa913ecee27855418fe5fd644e65a14863499b3187d3ca293b0","2d4481b6782e9e64e7b561838cb0c369f18b96058b36511861ad867d0a10430c","e6c16b8f5a570e35cad6025e29d6b23d98ee06822b5f81fc619e4d752c1fb520","81fbf86c83c2ed5c540734056c462cbbbe26c0b947b0c7b3ab53b1dcac55b44b","549915ebbc937ac837f459f7001778b08e84a346cf4d48490af26b618dcf6417","caef5b191982cd88619282b10e1c52c3cde8c81d4eaf4650b4e62d73f77483d4","8045fbd1c17221d04a958857ec839d001de7c7c6664b44f2c9e859d2436931ad","2bf39b3a1cabcfbaa8614b29aa84bd7a312bb4befec78ce5bf863ffab3eef392","79adecc701235f6fcdfc53699b7c318e4a4f669dc26df12b1ad35dde6d028611","90f5d634ecae022f7978cfbf36c96fbdd5279d3c9e4272e9c11dddd4a2c8e03b",{"version":"c9dcfe44bf8b28996f8edfd93bc8e84cf84998d0407105beac9196ef4a2d205e","signature":"45b7b72d735ab6b31cee279a4bb7ae7313b80a745fd638a8814730e30a74dabe"},{"version":"9b66ef8c3a1c5def38680aa5e7396460ce7bd771da1d310e80177da5f608bb8d","signature":"a07a7d1f7e2d6ac0a9f6777fef0207156e0d93963847a5593699d7f4dab1f772"},"c0ccef9b6877028c211f2378ee347210653675417ab9b613ab71dea61057d71b","e47ba365fdba2abdae7635373d9ad200b8ee5b9147db85c0da869f9c5d22a732","0a3e13f1e00ed97b318a1c26844a0d6a67a1f604dd86ae2eba715c7b3d57754d","c55274a912a6c3b2f6bf7585ea9975aa50fc01e395cb2d3d0258aa23053612c6","66d23f8ee459e996ca79319611ffa2424a296e45956bbc601aece5b9f323b34e","be77e125806e6eb83777f76a52b9909130d41a1f0b1c73a50de53f2b01bb6081","2ca5180f409e32b992202cc7538ef70882d64fcac33f4bb221e55ec435a523af","288b0dcbb0de1a8e66b3d6f2e6bd179f21601c62ac359704e51397485c8ed7d3","ae13173e6f1c3824a731c452baa35e7a5546211137dd0999c37850d9c660bd77",{"version":"6b17b6134cdc4e6ce16badfea1041ae3d327da4adeea2105d09e7e1f08a4728a","signature":"2e204fdf4b872c89ea8fbbf8053dbb67f52ab72fd3d4d80573c58405eb07eadc"},"ed45fb86a819ce07c8a005dcf7336d025f95a937e33f77394555e0fc9b9d4617","6e0447e2c2be60707706d42b79cf281cbcba8aaf80dc57f4a8313106154ef670","5f4d50ff5e84da3cc58452aa3ac68a572ed7b1927de62a20d37470087af5c692","a8f27b8439bae7025d20eee22bb8bf38d4b4d1a33fa5cedf34013e40d8c3ba64","d14ea11284f2915f11490a78ddefe3bbd40e65acb1dd3c8c4d4149982d6eb7b8","be25d1ff8e9d092ee3d010c62f5aa00b1474ab6bff62de307beb928b5543c994","41045c9571b4ce67b52f9f81ea9ba29b105af178a1701de465a74a034dd93174","2955c4cbf3b5e39f2a9dba75a237272ce6ab3a9bcbe06cd4e59ee0a2dcf72da1","b0c23a44aecdba873edeac49dbeda909ced3e73da262fb6d7e03b93f2e0ec016","2830128292df2bef652009832a159a2c85bcbb260b7b5fa617a455ebc7e20b9c","8c6a0258f66fe98e9bc9bfea6a27756da7c9c3e7c4e0412e69d9644ee70d923b","acb56957794733060d27812da847a44107c6f9c1a3b9b1f04471ff0884346c97","38afd16ab8901af93156d92becf2871d3e68e4efdb931641d4b6ab957f72b8c0","b997a80fb537e0a83eb93d51fdc6d490fb580905d7c6ea8d4b9a4f57ebf9a9c6","f238956aaa2aad92ee324500a9c6ea1d7cdad9e3691f4d6d86555ea56c292bae","c87544c20e3a5396d0305c7ae7e7f8769840f10bbf0af4f796d5c863f2244aec","1f1f9ee60b4ba35e18ea730671f667d7bc5c4c02f0eb3b36d1a709ed74161af5","f0e67ef0fc39665738c3d28b722edfe24491a8de31af9830f1906c68926ffe50",{"version":"4ec867959cf359f8242a08fcae0bc3637fa635210ee3cef8bd6c1fa6dad81fb1","signature":"7eb5b34e071e410349fef0838d64676841bc6f0c5fa40828384d5b8d762043a6"},"04ea208e207e8c5a619da734bac68e6d537e72b98f30a7e09067421e40248dd2","162ae925b659833cdeeb5ffdef97a37b8f5d6ca466eff1edea2d6a7d696834e5","a6acf459b731b8e8ddcaef11a23bb00e91b3fe9bcb28efba118e55fa75ee413e",{"version":"a770841ffe685690767c121255eade88d100dd5dacbc2aa561fbcebf6cb41a75","signature":"9285a5d938b4f5d3792421d0c4832330cd99d66c422a0b07f94500f286a69cd9"},"2037cce9791adbf9da998ba6ff9664bded9146897a65abb8764d7cb69deb0e12","48cae5ad93aac60d68c73fe1b328120a6fb925727c8e4ded6f1cc26181e4c4c9",{"version":"148bc8e7e499db008da09713ea1e039cfea824cbf802f8d09814fe3b73ac277e","signature":"02e9e670cc351a1e5f166ad63a1781072b48d1a323c2aef4511deb9112d458fa"},"c27ce12691dbd0d79be05a298c85549623f3790f232e176c598b95596f8346cb","477bb80181151d63aa9a3b44d745016e51a28b1365cbfca258aff6efb34bed02",{"version":"58c82fe44a09d5839629b02268eedb407b7eace45d557ce95c67e77030cca656","signature":"9df46711d447cebb0cc46599b5a41c51d12eee3215a1a36e0c9f6250903c877a"},{"version":"7a944afe898843b8ed10a6ee387e7c1fb326d5b9fc1357a4dc82d13edcf5b823","signature":"cf47f7bab39a8343a78517c5a3aec6904f6a7b4e809f18c8542d4a1e5b35aa90"},{"version":"dbc0e930a989a710441e84daff3dff743f462396450285938538e8cc39198391","signature":"115cc4c185def5ee791d0a5a230b345aff49967621bf3bbd6bf39aa010c7c477"},"3e3e83cb4f2bbff5cb728f0056d5f8fd8e93977a11122d828c6d1e57ff6c832b",{"version":"f0e336957f558353bb26a56996966dd2f5161236d2e3df5e4a3fc1cf7cafdbe6","signature":"3590fa77d781ac65a25a368e9d88a6dcd4e825ff8f4d6f21694ab9cc08a17c86"},{"version":"a6854110baeae8fc4aa9c05299d67dee7e99575111bec5ae6a67f5c7ae78519c","signature":"18001e738d73d7846bce92e92402556920c5958f486729d29cab633e63bb7726"},"e1384bb177a3eb4f029a41faad21f494e9478dc215f91cdfcafb6f81ef8ab0ca","8dcee946e9ec64ede2098ba6d60860b4e1253771b5c27f7ecd94cabc38f50eea","bb2fff6f77d9dc1d13d3eb2a67ee239a9d28aa5910aa48230d3476c1ac04afbc","96e1defb53c69d0be2ee241354fa947eadb529cb3e3d1b4f353f09f49e7e73e9","d87f560cabbada307cfc8401d3381216ed5f50f4e7250ceea7786861da7b99df","0e854431fec591234db790731e5fe47effa64745822cd67f61051590b1435749","2ea2f7f5d9e6d7594eb611924162198906455f737dfdb7d7a0ce6acfb9ba9552",{"version":"c10ebe3a6eef308aacf2a5aeb86005fade7951af6fd4483631debfce402b695d","signature":"d9b58e1777ec18f927947290d2b2c84546aee30ade53891338b1a8688b349fcd"},"46c1c283aee7c88c7d578545914d1cb7d2cda1f4bdd67be918f43013504a947c","282a4bb46fdcdfcd2b05fb9618cd4039ea4bb4704898822018ca775e49764ce7","7d630f207a66aaa4ad2e3e5e6dac1dc40585ca012ea60cb8ccb292e425882899","cc42f8b3aeaf33e44edcc6ac736d81a1cfb10611832d25701ab96f389db4adf5","51858552745d17efa808ac92b37b0ad7a151e0a4dd2898987e0ddaac43ed875e","3991442ac433a969fb5a453979cf62917d3997bedbc508525ae8e439523ef76b","e5d0c5dcdff8b4b7dbcc1b1d6d06fa2f0905a33869b8cd0b8d3dbd085d7b56d5","a85b6368a73819f345b8e75cf73c5dce69d41fd5984afbbbb70de5085fcb27c0","46ba72d2350cc0bd82f6a2a80cf0a95665ec42f2e1303fb0a104b0622df2a320","3814a023edef4bd7ce0b5ff309ba955bd045779fccf87834acf72fa3394afcaa","9778da922b0fea985c1c57eed0294d3ee3cad4af31f7a1af88eb19e90495e976","e7d2e8448600b8605597199b1d83c93db15d80367a03e0b58ac08ef76cf9d237","85ea7c3e9f3b7d93d11e8082e2aac95a0c56c28cad863108d94ac7660027e23c","6dd643f03f95644c51ade4d1569d4b6af7d701d7cc2b456b23c0ac27fae63aed","87d444caec5135116657d8cfd09fc3a9a4a8bd1e375cc80325459de4a598f22e","1ecd2a7fd8ba4a1d18c4933a2216b4ffc1fcbc5f97ce6cbc55f5588b092dcf50","272aa6064ef79f6d561e1111cc0269f0daffafef6550c59d42f4b235d362de71","d3faf237654bb007931951f8a783b8c1982a3a62659ce6833d23eefd1bf2a7ec","9cb4625b02253cf3c0818f59c70d19c542175ceba18ec1e18318de0bc0932727","45c48571bfd80f129ef9e5f143c7dc8f228b381d87af7cb9a796f4865b30bc33","e9da0698eb51c586e4f210be87cd7ce957d403517dba89b3697fec2f539413a4","5a85c6c8966322f562748f32a0e30ed212fa08661d4d8759ee56e660fd04be9c","966f01c60963e2c2e1a455d187feff969fd13768dda55542d77bb57e266910b2","6e6fcdaa0430e3146d284a497007168aaade41e17c174faf6127b477df6269f6","148ad7e52856c6460d8d3b3d5d591dec56f079893a2ceea50f3e2d5cd0d8123f","6929240c1a63a9b345c994ae24ffb36a22ec635289edbd022cdc56cc0d594f36","c0b13d633194ecebddcc6ec4579f2bd1b76aff9af6ebd59005b0488a7dd83669","0c2323f5b4f199bb05dabde25a2482a54cdd85ae4a4bda168a117a704bb216cf","bc5004d0f2cbd492f1bd751cda5676b4a509d0d9491e644cfbc787fe7a1e2702","db44af901ae5759d2d93c3f08eee22aa657dde26686aaa52d7c804605c3487b9","b4e5f7d51cc72f51759916b311f42cd698f45e95b22305ad285aeb4cb275e444","ed1227c3fec8eb4708eb484c48f14552a0af67bec7c710d009310f672ec2793f","b38f7cee19b160c8251568112a7e4ccedefed8f8c4e9a34e19b9f942858cdd7b","7ec2d9b26ce9effad7d2aeab41bbbfc1436cff3c6a517da53c78283abc640952","bed94765baccbd1c3a797d09836ae7ecd5a3408cb7bcf8d39262f970bedc3a77","e34917229731cf48264fc6f017fc19ad302ac3510e5ec02531711e23da2a5e94","651049fa0972283d78f0c77d0538c404c0da5beed42c6d75674b77ab72d00b5a","33ca55bdff472d604b62d87cf15440de57d634b27da84b457ae13ab106414a77","0e56976f80fc0c4ad1d2cfb6452c8fcf53e60688160bb6943ec1202926c87d3d","67b86b57a1e993cd345ef6027d4c7e84e2d0301cfae737ce7765ff3f5345d2d6","55815388a569fa3f7a2565bd3e1fa6411ef817fd900d253e4db8e2dcfc9b3b60","3e4001643b64a3a4722718c5a778ae73f3dd43487e39508ce2f9dd7cfb1d40b7","b90c23a457c16f77a282531a5caba5c911d2252eb097f3193a8ee2df6a3f21a2","8f9aa0f1f409380d4dbd5c9f5f2e4af828e123095891dd0efc5bb999f8d1a301","bdab62a006260d5fd3c623f0b635140bf48d7a8f87f0eeca5fb188b5ac66770f","c0dd6b46374a90bbb701cc4888a9d6b698a479a2acce11969c5583ba6127f5d5","d2b5f65bdd6ff5c66c18222e67e39dbbcb8a760934a09d344975ecca7c1db023","4da5dff43e4f0f7ee01ccc6b703be4aca239c72432f5ee0b249860dfae7f9ae3",{"version":"a955671407458b19a2f983ca56d1ca42639d853f40904ff03f1cea0cc23520ab","signature":"b929cc690d2758dbf85f81562486fef208207d72b151e1f583534bec32a581a3"},"f6d0a5d214329673aa9d4926cfd71f29ed5aa97884cfe1752cef5d5fd24a5e63","6a40e2a93a39c473261a2f646bfdc508b77697f533740bfc666b219bc88f1953","78d46b99d7a768eb68b19be14c46faea91603a5685e93f31a9b4b9c79dd5e506",{"version":"6db0ab30d6c396a85cb76a252614c069b10821d03d56508eb5d8cbbde4ef746b","signature":"128255da15c76f6713f05c8d016d18b08ac394d8d1376341269308594683c7a5"},"7e9d372589b1df6c80f11cf04dbe1eae5df37304e99191356bb1040cc855ce11","156dbbf04321fb4de4b4d6fde3443b60b911261f5edb8d642da61cdfd4a4f0f3","fc63296ec5775fe714e5cbc23a3251b2df878739876f06d0895ece1a0e11bcb3","38fc69c339ffa1b1d7c66cbce3aa6f90daa3f649fd6910952b33912918bf537c","ec1a1b8814c01c5f857530bc4ca4bd64a91c4c05fc63f548922967fe8eb43923","d64dc06b74e2e8113fc8ffb7142ab3ac9b244f50052873289028a0e332f9ad43","57d9de2a60d42e8c3179f3d6b25d05d8ac56439d91e9fdf6a7098f8251c246e0","1b703f633f52582a2e4c0ba9bb8aea69f1861f2006b2e734ea96aa554394115b","08fe5b1a169cc0e532010dce4eab6312a31b7f2c990e8c3384767d37418da1f7","b53573490950bcb12f0446dc0c4e19cc51ee436eb3c75ac790effcf3cd060db7","97a039ec0b8af81823f7796c29f2058eeb0e76cdcbe107510938aa642dd4cd6f","63e17213d9f592c2fbe932768556c9faaa5ee382428d65b0d8a8b4c26ec798b7","832a75668831072c2ec2e503d64bb586b8832ce192e5791e2c918ca1573fd412","51865dc87b3b97388da5b27ae8b103eae8385a6daf549a4f14a7c47e0a0785c9","3788a3310cf9bde429af2edaf4f42760652958a554156985d550bbbec4062d77","cb94f7e99e793d344e2350a44edb167035d62ddf1ed8ceb4d016f8c7b9b17b26","1216b748312ebaa9eb0ad1188aa1d065f6842653193e560f8b196fc60f38dee2","101cce1651a878e728ee4f9a5502007315dd9551666d197f25d67dcfd6fbf67c","98d2e531ef839c98fbd3bf89668e14af7746ea157eb2d7a55649ce8463ab68cb","f1261a17371637ef765b99510bf295d184e221f97b12a836bb5974cdfbd6a45e","cfe03aa8d8c2901828965073d97468046733bce37151d8d037ec2e4f7f0eb948","d442b0987da5bc5551aa7db958656149a592ff2e50d7ea0577ca4705b138b91c","4ff85943ea69ed14db4093de7faeb225fa901ec06d0d4164028b317a06ec70a7","6591ed883c8325bd9fb9c52ecb8eff99fb1aeb8583b72c5dac043871ef82dfe7","27c4b9aa281d23e4ae46ec453b36d1286678dfa23d896cdae7f09987313011dd","8fdaa470e350496f41c8f9f3e058d02478cbff0543668c5a479f40b72df3917f","464338b4ce0539fe88b3068d204226f6edd3e4eac24b5f85ff24025c8c836fb2","bd63d75fc0ef5fce02da143d828993d5b11a0f33cf995e45cc58ede3037b18e3",{"version":"8a0fa3ee856a971002227777c46c9be1fdff76186582f48db32e383d1e7e03e1","signature":"b169cc3933c1a030c92f63876257ceb048f75992de823852f5e5c2fafd4a1e80"},"f02675add00b63333c4359256998877516524fd81b0863a77eb408fd01cc7e6e","ce022d3a2d947e8a330b2d2a099479be04c5a76474ad9f4cca790ae27959136e","ed8e65799c78bcd4c08cc345095868c3935ba386b647c573ac94e9fa0a76bd47","a759ea900cf212eed0a790522ab154a623babdd3f568e4f0ed28538c10a7b833",{"version":"ceb48bba74ba05c24f9dcbfb9a0093ba829ed658e9188016786c67083b320ed8","signature":"15ede4cfd9d46089e9eabf23a7837aceb447591a7f61322dd6ac2134caf6204a"},"524d82915b6e276e251daca1ac392fa959031bde6dd4a46d86dbce13bf33ab42","4bf37f322fbf980dd07fee29088c2ad8111d434dbf1fb343918f228d7d2cc723","8ae2210f1270cc40c460ff2105d45d1f4f51efbbc48babbd43b6456f7cd068fe","436c87a67b068013672921700139480affb5dbf30a26f2f6f4b54e417f5de2c1",{"version":"ffbc53869e60d467b6ccab841107373433d86b89a6201a34e51ddef8af5b41a2","signature":"2eaf237aac865ca200f93874d87845d60368123ddbc44764795dcbf4414e0552"},"15b923db99f590dae65b5d872fc40945b492d16ebe01d5cdc32a19e3dbe83c15","f5e1d2b9599d14ff630a929ab7c6c67ab657af2efc155dcb8fa7f0987860e63a","4a3ddba8ff57f05573d8ef6422f354c27330b8893698988b170f8eca7562a7c0","ea1aca8d56ae14ec360aafe660b72c9e40eb5c470e00703e2bdb9e1268f67e13","7efb65adb9d19517694c5d2b3d7c4c8dfc1e7bec0ba312e52d4d71bd926111ea","55d833f8b27fca2c0ffcda6c92b64e75c41fed0a291a63c62ca1755de28b9f99","6bbcccc9dff3ca38e2959e052a559c2504596f5d2cf86a326e835a7c67d3d04b","e57bb785f5a70adb9123feccd2a02578dde9ad8948c48b3727d3a5a5d4af34db","01855b0cede5c5b8c6aa42154a4fed77d669f9369214e2ba19088674e8995986","786063459dffac84ed8d23348297317e78e335703e9ebf152270293b8c3a809f","a088d11d2cd36614e83a187417413671166261459cb2f5fe82e93dbc753e1e4b","53b1001652283a004d569f5aaf3703595139643ed8840009deb100072dfd7bd6","06c96f3334e08d5b379b09892d2d16dbb86aeb63d5dd0c510b169cdaef1d6dbc","cdad23a60aa907c194edcb9859c3d963b6a768183b71f9b1aa703edf9397c173","ef3d252dede092125bc4ef413b4e79109ea8873be87423aa3dd88ee7d747762f","93517383c5c51b51f9e551ea277c7f305790ea222015f280db1c5f6c32772542","d0c0f39ab9ff6b7ef1a6e7e96bc3cd8b94d9b85b3190c235b731c2ac203af5ab","50ce876315b294d9e536e21ccd653e034d7129fadb430e9f12269db502fcabfc","22432c85bd10343496fb7510e9cd6bda21abe640e1d8b14392d4b8863fde73b8","f63f208e5a1c8e723d2232ca6264d2fa095408eef61cce6191d5dac7e59b041f","616529ae35413a62a111b9a345d90c7393960e18b40495e5f99ae5dc60887b34","e6083cad1cb01d506b5221e8bcc877bac06d50ce5bba051290da923e912bfa5d","571a269060ef4f9cb70cb0c9f9b5f687ba8de57378faadbc95dcf57e23d5c99c","36ed747f279f781eea7a4bcbe36a4266690117da19ed69d74143ab7478071f94","10200d2aa597f0ce3810557e42bfd153b65d4ac268fc215ee44cca4ea27f4b1c","e9f1c10b02d4304a398d619833075fa700b7a709670d3c50a2704da36ee8b956","739cebd3176e883f5ca52b3099bec6ce82b5d749778d46aafce05ab0e668c36f","7c1cb7263183e242692f734f084d2fcebb64c7a0c6f6d332c10dd1fb53ced89d","58306029d64e91ccd8528d5280995b596c2076e4f1ff59dcf9e22fb2cfbd06c5","704664819dcf8f038a1e563bff31a5c00e9c97770859701167de5980ad166628","945a95c635233b1320d09bff0777027a224727316d93a3f29c1fc1cc4552164b","b04c2d7befeab1a1d0bc9b26e3261fee8b5c4502a3f017bf506b898469149e62","e9397d9f81f80045e9e0afe5b5b807e2d5d6263835972386300909671d6a379f","7dae1f56f2ad91a37d341423e35c9f737469db6b3f6707f479a1e4c036eeeb8d","ee9a66192fc46684233cf346f836c51f96a37c7102c0e5680c0d81beda08cd89","9d3387d1a7743f49728e60e549705491c774026ff195e395e5dc2779cdc719a5","6dcc2abf9117a817b6e9a040eaf16bb86d47933f19ddf0099af90a45040ed7e6","08ed3fc2ceb7a3345f5ff2387462b8f78d6629b301677f289efba430915f58ce","55b959c573990335960449ee933cf2ffac70b2c84437f6cb47466dccd8ae148a","c677ddf3c889ad7412b0a64c2e3eded211d6dab3dc3b2652edfb58cb5d0e4e3e","192d6b489e9c1552980130416798cd34bbb688a6cf08f6720714b6e32e8094e9","f89ff4c7315436b913e30b002527c4f37e9daee37866a4ff682a4e604910f70e","fae41f78c04c439a699584133d775b88cdd449ed5eb2e7fd5ef8a0871f90be45","00b8301ed453affb1cc59cc61e12840dfd522c3d676aa52ec542d17bbbd6beff","3098ac9fd34b5cdf3f1d4a819ca226f2c783343fb0cbdc19b34f0f9e65b0384b","293dc5e0bf75e05d1af76f678680d918cb2634635964c045608a434b5f827509","2f5a55632d11abc7295a4222b7e36803198bd81ddd53216d3e2c81a0e884b3a3","c0eb11f60460e79a7c375d74c151858a43cc4ddd99bb6f66f5363b8a83a490f3","fe4f7d6b40437cdbb6dee740257e2bc9fef9a77dc516e311123a2647c1e5c1a6","3b5822aded1f0c62ee415e8af3ac58bdfc70ff55183b219795b864332721ea32","d145750461607d32cbeb58bd505cc6fe6ab70f5fa364a53ad2df07abbbeb30bb","b01c9fe13775edd76bbdfbb512c82275d096009ee768445d27cdd0ea0e63c74e","e6c47282cdfb4e0b6f72e818e423ca8ab78ac5a9368fbef3bec02141cd0861df","b7a975db95f61a13ca580d157caacf64719b58569fc53582b3b483e72f50ca71","b25ab7a31344397cbdbbd85a01f6fae14d637318bc8b52e264e4845633b26b99","3aeb7be40c1a8c231f1e79dff97d817e62641c003c459d0c526c8ced973fdce6","53e69d594dcd9c43af52dab87ce6d43808481aca3b1861deeb12fa6a909ceb4c","a31a955df7193c6bd1d012666f0c512332567b008d1a9bac651bfc3c80c49e89","d8dcc9ee97f3b4935c8d6927c8fe6097f10c7fc9d645ea50ee680011652553eb","e34a06b91aef600d04e7aceb73ed2719b1571bd824b1cfdd8ce88029bede276b","3e904fe58a671e89d0631aff68b9d2d9fd8105f415b92954eb7bf1e0b87f81fa","08b54b613fc0c2da5677c5dfe46bec0300d508b6046721266d3466e803707f43","af9a33e5cbda4425c47e2c5d0018b8abcb29594a9e9497f349dc75059b615349","17d33dbbedafadc0066da21ddf1dbe5c6c95cd5dfd74e39a68f16fa9113f94bc","67224d6746d3201fe64f68aac8c1f2f6f46165abb227d5535c4834730b600170","df9544701dbd5b155c49270dcda6910560966db4b5c39a4df064158ca4f7ca8b","5817580a2acc84e6402689727cab56bd44e2ddd216e80021cf2ed984151a42f3","ec412142805b24f2559e172075bc417367837c781b9bd98754087d6fd9c8ee45","15f158e955356eba0e4361977a011fb011a978703dfdf0c2b0e33bffa0507f3d","acc6d55044664cb440e941f3aba27387c5100113588f4cd8c778bcd6b4132eb6","2e8956c5bb023d9f01599a0d52788b4fd287504ef742a0b83fe454f6a397bcf4","40d7f55193687caddb0cda280156791956639f28d3f48ec3f2de8767cb33bbc2","efeafa7af3f22248894ab41b898713c36dd0f146730b6e3b425bc9d16a0bc04f","107118a212b508f069f9dd89b9d295e586f32233f06eaeca6ffd6237a5127391","07fe9a18b2390fb55a78b004a9fe3365f4cc88f6ea4b579b9ff4a1384bf1f301","d46e6af4026cf60503394c4780319c4bd7c4b8d50a3dd7cda847b487ab9b3836","a6459f595d5f0651bd1dc0f105ea1f09538ef69f35d43496c6ceacd9af01a3df","f21d08a4d4ace3471950a04568d544de5c55bc99d0358bb6d7fe207410d9099c","4b11eb3c94309f64f594b943cce9a20bac9a190e70db5ffee9005da96f2f0b8b","6490298fc09c9548f4bda686cf50269a84dcf36391f2e3724f48a73701ff15a2","8c32b53e699f27529d71a50684d333912ae026fdf87a537bdf779483a0b57d1e","58086e61ec2c670b1da6dd03860e846668551f1002ea2198667e6ce23a89b662","61addcb3dfe058f66f936e2632b26be52ce17e4e25bc384607aea10243310bb3","11fa37a52ff0400a2a667bffb020fb379477cd64f45b2696c998d24ebb0a7017","75534f116f683ace9040b80d37f295b43c4bc2f06f06ac696c3c911ae56b348e","55889acabdbaf9db91d5e4484b41ae78544d079aea79972937694e224339b82f","3175ff4d6c3ab3d38c4a0547a23be194d0c5af4795ef21777b9a6cf4c349c7b1","24ce9939b0db32990e987e1ff70755f9bb9e5d7c58b4aff6b048f3150d148ed8","e3390591bf164db68f8973cfed212b20a2fc63360e07188c4ad389dedde4bab7","e3a3af32067f8b1189491ce402553d9aa1c4e7572e7334443a35d5a531673140",{"version":"94fde642a9ba9d443b640a314de039285f22a4b3709532a925c4174c0dbd6127","affectsGlobalScope":true},"dc377f1f70d876f4e7af5ce4df0588a967c33289127034d507befd34c8741619","2162bf16904d19269087b93322d561a8c03dc341106dd4fdfbaa0956f11c872f","c1a50af428793ec81efbf845042eacd64241a5f80fb026639ca01648875e427e","28f6339ba9c41add09764b4e23a982c841740d2280118e328572e43ef45477c8","9d48c9a25aa12b4cb2cfd11c269fbec3febfe78810df9e9dab98d8a7b451ca33","0165115e3c8788801fb59e9c3cca0c7ba573515a8b7ce010c7d75deba92b455f","0e000fd63bd08abc96dbd4746c371b8a0368f351629590ee7ba12c9787cdc8e6","463ed32d194c6bd58c35083d76af0170ad1b04f7b3ef91c9803593bd089c2864","84936ce43e5e01db3ee57c205d244181d85cd0e1fadbc6e1f94b3d9bd9a3aae5","802417aed26cb50faf8b7176fa00279bdb5acbb53bf4a63ae00d47d25d904516","bc1899efe6dcdce9c9c8bd9ce97d58b197facb7f4a516e5d13a804fa5f77cf4f","4d080c54c10ec25e6e84337dbaff7953066150baf94fd48db6c70a37cdd43a8a","3ad4660add51c3c3adf49524d61cc1e3ed57e16274c62c6cfb047b64aab973aa","22f25ec27fa1c1ca03010aa71b8077c742ab5bf6a08a44663a287a296be34481","74ac2c0b3fa70bb0cf47f80fabc73f6b868ba177ced233e294068fc099cf5a06","afef18dcbece0d86f23ea7afa24d4159108d5c178acaf010d68ed4c25d86a852","66ae7f63463b914d6f49504e98edd481440b5b318ac67f45b14efd1b477792c5","cfb8f948495a9661d76cb8a8c1ce7942bfc4ea84d84c22dabdeaa6d74757753e","014bcf8b9a349efe7d960c33d0fa5a3400ad21af44255b1ca9be20ef52b018d1","f69920ee9413b51ac28f29c5187f3665ea458bf80287b350772dc09c5461c9ad","f2042d6d142d32c2b237976c20afda4f8faa66f89fe7cb8f40bcf96befd24f1b","7b064c42f3bd6bc0945f66f67e0675e2172fc28e38422f6641a13e5f9e147389","6c955b4d5ad4e010cffbefda725fe0df25288e2e0056e7a240c37ebd10b206c6","6b130c8eb99a189695fe974c6d1ff7a46612c8cee340d71095b89226a37da055","0050403995e3f85d7843736eec619359cf2ac9abe92fe1396ad3c50bc2c118c5",{"version":"559add25bef102090adf9dad7d55b659e00d13a6757deab690f28fa6ffca4252","signature":"b06ecf2caf3968cf81ce28d79f5d16b6f8c52076d33062c3f51ae9b5be3ec00e"},"713fd77a5ec35bed9a7e8c31463dc9d72e56bbe1364c74aa7ba16c5116ecfb43","c82e14ca999c4efa255736b59953492144ae34eff06ef3a2f76b2b33ea337350","909e6cec04e00398b28c9221e7f80d7a60e3ee017c32f852b29ff6f6bb69b7a4","9db9687c480934bd4bc1bc471b9107c1b551b434fa2057a79caa606acd293187","f73ada65be09d61d7c115d1d5579ce2929f8dc51ba9e37e2ad5492975708f2a6","a4a0faaf9fb9ffd25482a6357658d139f9e380e5ba87cf57f18ad0a47831fc22","82b31e6a7d799311c90fc8764c2ebb178b6036a93940a7c92ac126eb72abfc6b","0827841733a2142be48c537793209e9867010ff92b67b755fe92d3b7d7c9da33","eb94dd436f0becb9ad14f40d695dfe6ae44d6637dbcc4259bdbad3bebf756e93","8c566dee4191ae336a9a6e8cae1ff38c3f9f75dc6f0fc4d1427d73cc84461370","c9f5600ff51a06900c46930a3149c82119275a951cc4f5b67496ff8ef248339e","2475d209536cd12402c52d212c844f38c72c067aebb0f8549fe9d7c03ecf0ae0","f49e3e4d2bea01d48702099dc77c787e73db822461f273f7e779463120dd32c2","b86bad54c269c82348ce2ff063c9bcc3050a7cda539a16fa711cca7b8d7d4ec1","21045a60387f23613595df2a7913cd51b4ec7ecfd81a95d0ca376587482cdbeb","93e56a846ed0f85c86db9dd6213071a0d40255b0d31168966cd86df6f368218d","5cc56b6d61fe288a7b97a92c2dabc4e90264c302af5d8fe9de3935cc721bd537","bc6b78ceb41b700236700629791e1ad126b7921feb352c63a28c06c4ca595cd3","60592f5ae1b739c9607a99895d4a3ad5c865b16903e4180e50b256e360a4a104","025c0a40f0eeae72a5d19de49ca03cec7d05f5ecf136cf2fda109cb419a67e24","6ec05a4dc7f09481e787383118734bb57d205856b68578f06021cd7c9337c625","8c07502730377af4ddaf5cf0d36445691202c644b662ec364a3d75e639d03a25","c68b2bfeeeb9d39f0df3f10eb77a24b56eed0371b003a39bda780a69907bb8ff","7b71b3cc627b80ee1da9a63b7a694b23bfb3e57c3d127936d0700c21bfb6d44b",{"version":"baa692176c8b7b36b4dbe18e7927f558502594bc6ca4f6b701d79c1f24c8a2f3","signature":"f35c517f2d06756bb2d2e0db34ed0b430c9293aaa0d10d80f2052f34dc1bab92"},"3117cd86a85a0be7449f4ddc3054e4a83be5596ae9c9dc1596fa86d5501ebc4a","aa90f6c57451531e4eee978b2f1103e1cab9ba885f397a33b58a06fa8b324a71","a198763d4967070cf2f07a4f5528b54615f2c443533e4a8be86434f5847b36c6","7847d717bf0e72c27f71fb68048149313a0120a212a9d5feea99b70cbd6e2cd4","5487b97cfa28b26b4a9ef0770f872bdbebd4c46124858de00f242c3eed7519f4","7a01f546ace66019156e4232a1bee2fabc2f8eabeb052473d926ee1693956265","fb53b1c6a6c799b7e3cc2de3fb5c9a1c04a1c60d4380a37792d84c5f8b33933b","8485b6da53ec35637d072e516631d25dae53984500de70a6989058f24354666f","ebe80346928736532e4a822154eb77f57ef3389dbe2b3ba4e571366a15448ef2","c2cb3c8ff388781258ea9ddbcd8a947f751bddd6886e1d3b3ea09ddaa895df80","f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","98a9cc18f661d28e6bd31c436e1984f3980f35e0f0aa9cf795c54f8ccb667ffe","c76b0c5727302341d0bdfa2cc2cee4b19ff185b554edb6e8543f0661d8487116","9bc713121b23cb9444ebb423f99124656d8754361f7cc4b0bbedfb7ac919241e","f5ef066942e4f0bd98200aa6a6694b831e73200c9b3ade77ad0aa2409e8fe1b1","b9e99cd94f4166a245f5158f7286c05406e2a4c694619bceb7a4f3519d1d768e","5568d7c32e5cf5f35e092649f4e5e168c3114c800b1d7545b7ae5e0415704802","772d2159388730b6fcb3074a85ff7f20b56e2828c7234340b2919491c5c35a20","d6fea412902724972e3d9cf42ab25e1f6d1a3d86b9bd9a06a980b11f16bdf244","fec455d932712d28abfae6d3082fb69727720f49dfaea82af1e90194266e6f26",{"version":"2baf4a6d01bd2bc2aa87002948ff40333e90c138a9bc158ac27f2fbe3aa96b7d","signature":"b7377b7972f9ad272ead963d27cd15a7e298c0ecf9f358b3e80a25eaec3437f3"},"10474a612afb9cf11d6a2e25f7db0731ebd2a228af21c1f35bb4edce07ecd8d3","9fea3bfd84cb0e366ef794835ccb6ba215b64b061ca310bb26381dea544144d2","9972b8827e2855baffdae0caab1a24d5ec98fedb9f989485adbe62e34db3a64f","9972b8827e2855baffdae0caab1a24d5ec98fedb9f989485adbe62e34db3a64f","bd409b19dd2d7fc2d965e2fe7758d8af696150f3300d7d7f83c1a82eecda9979","722d4727af4198e7ce7d3fbebad7aac5df5453c778e924ddcc930f7b79856ade","bd409b19dd2d7fc2d965e2fe7758d8af696150f3300d7d7f83c1a82eecda9979","c99cd6cf0ea5d98aa5b759670f0ca78c74683b391895fb817dd70659b6e057a3","95312661d032f3da83bd8f38e33b2930a973677680fb1625a604336356503493","4a5151c647aa04cde269def3800e82f21212f9e189be009622c46537b438ae1d","951a918a753179bf5c018065e3302c8e2d899600ac1e7e5dfc1c2d9867a643c5","842454d0222fa151b62f4f18c893335993829311367f4502270d449bd32c1b72","75c0e72455e8723af256f8814c8e12612f63fab2573643e437ef1567e7a866a7","641f3a1fd084f1af63fba4b252699f6a50e8dd1fb8f82298d517648b8f300dac","4e104e21e99511f610902f2ea0820bb72b7dcdb8ae6ba1669b62f9d27b81d727","10d8b5f6f85e08fcc38dc55c06aebfd96e07420847aca0a485d651a68b4e7301","d1e51545ae50032455c35ee685c0f2dedc2a36221bea068f1a9fe9b0fe6761d5","9efc3d93119dfc01465240d8754d95f1631d24ae1006931f72b5d10ccd56f155","9972b8827e2855baffdae0caab1a24d5ec98fedb9f989485adbe62e34db3a64f","bd409b19dd2d7fc2d965e2fe7758d8af696150f3300d7d7f83c1a82eecda9979","7de7e156bed4a97d5cf802347a97e358f97399e49f187aa9bdfbfa10b1699695","8cd66dfe0b3a3941ebe6075f2e1ecfc4c9fcb4e8244066eb6c900daa054c2b03","3681e43953302fb0844ab8cf5286e1fdd32da67243e5c6636567e9490daf2b16",{"version":"d204bd5d20ca52a553f7ba993dc2a422e9d1fce0b8178ce2bfe55fbd027c11ae","affectsGlobalScope":true},"ade24abb6886d5f78ec5843cb094512c02bf7e0cbe4c5c02f6daee76586afcbf","f3095dfa3cf7be7b80dee24765c5213d51ed3f954a925839963da606ee6df74d","1616b4d2596ae32500e2087bd0d80b3a3d9098c808854ec4e4932ae0dcb59469","76b9a2fc8918f9b852911d4c311941581bca1448c6a29b831cfa1f54378dbeb0","f6333512273b449f40a9c1a7809fc9a6abc518c03ab8f2738e8ff8f9ddc41acd","010d7414f0f9d740d26633d45654516e3564e2592b95c4bfa16c0f95f9fe3158","f234afe14bc84b3711e7b4e7efd0e4b73151a0538b62b69b176b01a08141c7d9","2407343a1be41804b1f4a86adfe928735a256a060710f6583ac00c1693f7e15e","f38f69b96b0944a90d87692e10dd53310f8dd1a5876d68e1db84e22db4a926b3","ee65a26110f4c5cebc4de26acf764e921cdb41e962d1ddf9e25bd12af3e96252","5107b8693f057df90c28a2b5e527bae5e626661ab288e9029b83f11c3ba84480","bbca22283f2b1ba0860bae6a225030e3683b50a40bfc6c9b84238e32fef1e38c","7e3d52a544cfce985d4182d2534d505ab0c8c33e6bacbc4ed79abc416bfb483b","bb8f408e77815356f895b8e6ec87f292ef83f00cdbaff98975f4aa3e91784920","82e7e7faeedffe629d0c088e305814b19011aa84ad1b1b5f6ffc368354dc0a9f","e5dcfdf5b4b6e484f561a17d9308d0a6f0a4b1564fc238cb9603519d6356c152","7899cc0b81715385936dd406dd455aa49d064ccdaaaa00048eff4e9e560b701d","cfdfae0ff8a8e64627e95e7447ed1a698dc759e4ae652119b9ae1f17109e285c","4d6f9c16e78f38fb3c1cac4c77c138ef0815a1e9ee9c42e76e69c5de0f95b3ac","da44c89678d93683d56a71e4ea63f968ee1402d81df44d5947fa1be2f99f0341","0f97e91d850c6e2bcbaecb680aaa7a369b313e92a9ad6779c5b5480ca8e81ffb","6e508cfc0ecf68c60099b567aa7d06b1a584cbe3cbe98271b15ae98e14206fb7","4bc01469a421635152b470dc2cb750e395f0ecc3bb8c1e80620382796cd03d13","210c12ec2c8c41417f6aa9993f76d4dd1cff821369c0929c80221dd6b2249cb6","79ee25f01aed587823838f1bd89e2576b8ec44181e9a24caf6cc5930dcc566c8","7c2094ee3415e97bdf51a07bdeb0dd595d980b3f2912cd4321f7fb330961dce5","db7a6e485a0b24096dce703b9240b24d84e654f0994984571f3c4ba9b34a3a09","32b68364a69d12a33617e13d04c84be0c297a900e8bb888c12b9006eddc2e809","c2c49ff1191747d52aa9602aeb6f17677b4cc10d0f862d8eeaca3d8fa4727188","928c1b5ce63334a81c0146dbfad68f2a40d378abfa744dcd3ee97bf0f046f75e","93ef92bfe8fb406bad417efec1d342b999b278798d50e5737a443b9ef149ab55","79a21c5337a61957d6e03966609272e22fd4fdc501ba549b0d04b16804514de6","7ed46684d3604b9918eda5d8c2a1f22642cd3688c1b833b022659426b5ac51e0","3cb9aacc4ed20aa1d5f6457408e03e35280880fff934864ca653ee27d315d557","d6f462387049a8b767e06edb870310726993f5ba163eebfb9135e497d8cdf6b1","2f15e8e7cfbf830cf96176e23bd802684eb6d96be9cd480d0db008f8eb9ea95f","c5653b86e1aad2ebefa911480578c8a7f043d1403f4134204e411660a6d0be27","7a0b74beb1df1b806c39d44c206680e116c2acaf239f7e3ffe29f02469e6d515","e0cf974515cf71dd5b2d27db12b9fa9b37c1bf5670ac926e67265858bd7de1f2","34bb58f041ca8711312960f56aad4a1d85f16bb270ed3177cf9e73e9b73b439a","044e8f522bd229508eab9df01dd8e1e9903d9a3192488a9b0b11c0a418217f6f","983decb862d2dd889de20fd6fe4b77973d9b1d2f1a1b9bfcec021190de8b4c55","ecd4e232bbbdd032ba3414dc33b469ffb14c35e95c1e826aad8b2b00e0ca6982","5ad6706bed285ae90b68a062a0fbbece73d9b194326f71edbde868f09e208f5f","a9f87332c75ff064d1113454a108c237cc9f2c792c8175a1ca432cd81fcc6e2b","21f4b283586d94c6df8e71a811d8cadc32e7510ce8027b7901a22524de2b7cca","cbe4c1c3102db917851a77fe8fce9f00365da63876e4f0822f4bb4bd954f5ef8","622fa89fbaee1b771e58517dbbb3ed8bf60aa4bd501a81b129032c981e825df4","261bd352b27231e30932efafb4e163919c64aad439b7bd19c819c1b2b033885f","1c12378cf61ec63760cf5dacea71d7f3372ffce3be36fa06f40b2cd6ce580b76","300089d670fb821ab229218307330be2f71cc6917b550b4f6d915b3f13ee5b45","7d27c68bf0ffa6e7906eb99540ac506dbe25454ea60f705b561b91c9e5449864","648a19f8cd734a9448d9a70c968c793d00cb573d2b4258269db1a4e67d9cf84c","55173f8ae914f540b17307bbd0f96b0ec5debafa94eaa5a185d2b57cec64dff1","88b4ebb3cdd1df4a29fb82a1c7e5ef66a0ee652fc33e7ab619037c73431e0a5c","aecfe4c19ff5bd1d3e3735a007e96dacfe71e22605ce10d782d1e001d11d071a","6132270ffd0016d6c16cdaaf2aeae132982ec2e4d2b655b4cf1bb4107148c6aa","50cf61a7d6c89a070a90bd8a86c19157a7e66ba44362c1b00264e3644498bd87","ddad45d65ef8133e1f0cbd4b541219c70bcfc7c460d3deef668a2b7dc65309c2","3c9eab11d61a50d32d0988d13d89f370402ae96cdefc0995682515a7d508ecae","1f36b93365c881b027fbc0561c478bf3d806f2a14ec6e4d3a6ad2b9a410da7c3","4ef3ac2ca912004987f47a7e80760875341ffb6835f980cb2e117347421af709","72a22437a50c66c93e984469dd2a0320acd986b3400d4b32e995221e4f751474","de0c6faf1c331c80bac77d1d01efbecd1358fd728484ca4d0d540ba66e119b45","5b1fb9c65c20be2e54b7c205fd3d246af33577673bde5ef08ca9ab8d429863bf","1c1353fcbf3b673ba74b90a2373de1680ff39a363b069cc6cfd6c52543c76bbe","4560af648fe3eb343a7a09a184f708abd66592cbe75164ab6a2ad008a40c15eb","cd2ecbd78f385e178c280accac1e122946798a40a046af14fd06717616d2dae6","9fe3082868dd70ff636a93d1c36ab637dc55315db370ec5195a51f6b8a030d06","97b9edc90f27454a2a57b20a10547d92cdbcf62fa693014f17101e73abb6965e","9a98a512078567ff154b0c8b2e0cfafeb4e4e7982d70613ac35b6b65ad862116","0af9a710edac568fecbb213a6a46a48b078ed7605d803faba6325efcf79219eb","cb307802eea5bddbbd561d766657937785bf233f1d1f329f00a2225127019cdd","925cb194e6124ba1c39667279e9861b62f346403e9fae7296c244c1c93a08076","80d9cc70dc1b24f8d5286f18231fcb023f6e9ca792153417d8c6b225f2b2c64a","826dde3f933f2c8917d82c02d6ad28d274721ed8638ba766262795bfaa5c530c","e4dc0c1cb9e413990fb37ed3ceb2c957d4071e527372dc6e6926a4ee3c98e7e9","4a42dbb73adc88fd2199166ff95b82b04de45a107cb29a664ff5b78b9e631505","8296a70f8961107fc247d6f80eb28a6843f0a08ebeae89631767533817cf6317","7220b37a0be65948fa0e2f00065946bd27158099f2dce084586bf5bc6381804b","f8e929811394ca6f3d74bebbeaebe7b9018a6769ecb2e98e8191e7271f5b65c8","01fe870dcd12f47fa4cfda37a7a7bd762d2d3413b7659e7ae46b9469e4539c87","c55730e2e7281ec28ef6903d2efa778cd8f3466afbe4ae0bb3b98923665597ce","513b53524e6080141f59e27f3f72130412a62446d7aa63efdbf788c0981fc46f","391252bb0daad23a581eb93e1a609077b42d4e4ee14d238866198c51062501c8","2ad856616738579eab8b198de07e5c1f1f8c0408f02ccab8d5d93da29aa8b008","d230491c82203ab0b37abd92ddd0f783a01e8f6db595e8967371afdf7e4b89da","7dd7642f44ec8be8929a25f532c9417a714fcef92ba01b53e501ee919f47542e","d43d3da1d262dae79ea40de558c57b85e6ba3288fc4c8ddfc96d14d3a588e267","47598073b26d96f76e3d9ce8ef3c0be68281611a92bc71f68234e8dd66b8b617","b8a560b7e3a8c2b82f6c2fd0e06e687595ae425581a1c73d37ed80b21e362cd1","82dadd4bd3866634bd030c930afd128cc09dc89cb5cae485e5f02b854c2f88f1","cdc2ee3eee914daa77a95dde10f7f678aa63f407dc09d7b74ceecd84ec3acb69","723c2d4f65b01e68327da829fb21e1642d0670e312e2fb0d87bac2e56b361797","33ca55bdff472d604b62d87cf15440de57d634b27da84b457ae13ab106414a77","3c53f919742923f01cfb23dc615687879980dcd37d14c2fd9ba5e662d518870e","9226362c668b198deac5a781b2240b4eb80dba5d5f18f55a6a392da56d9af223","0258fd6458d65658b3ba4e3b4e69cb6ac7cdc6c20c9906ad36f1518a2abfeda5","777f100c62102bd2b36ae5d68123d9807f8495c258d6e08f5aa5fc45325e494d","19401bb692d428fbb1a6f8ea738cc5c1be7f2d9e16d446beaa718452f3d6eb93","a01f4a2b8b9cca9ae46eee687cd6fb5ed165117fe240c5e20bfe55f5a84aa908","601d43743c2a3c21c7dcd5f571268488b106fd6894e57c5d6433087d9dae85e7","91abf7588ddcb2d8db61667a4b847b74cb0b176f7fa185bd9a19c9c8a7feaa29","0f364877296493dc3a6e555ee42fb4f6bc92581062d3ccf4c3db683ab41f77f6","3a8acfc4feb8f66c54abbca3aebcb6e74118a44d40e023008e76ecafdaff8ef4","42bad430c32e1102c7be93eb7edde2bea1515442dc27da002f4a98fa0dbaf48b","6859e5ec9c22393f2e26402e486cf66d1827273e544c1b41fc79d180ef315d2d","1d5021e72a927fc238ee35d3b921c3a99cdbaad9b6fff6d35a9a5bf30ccb6952","3af343b35829dd6cca35d57a4f17012c007f04e03269f6c73ecf1ac2309b48e2","1d7bb144264966ca671c6f1fc63227b191494c78ca38b46dd85592799aae6a12","7773bc500011465c40bc06d915ea22a10c81b9b883bdff222237b833429778a0","0e17e12fdaee449eb4a362518ab90ea6b901c606e717b43c177aa6e3909d390e","357f775512deee7f1c94b2f4856527b441b9333641b21d7876e2812778b04cd6","3d5ca31daec9984e2f1c2b612b2d46e471f2df3d4750bea0b8f257aff44ba60e","c34000ff372bf51a3f5bd9a1e0aaf5c3c2433c5dcd429340233076f559465b37","b75af34c501d360f3d9a77d7f61d8d247bbdfeee0ee97f411247e8bfdb55131b","4a35960f91350a6951b7acd156b96ff0eeb5d89ed4c98cf2f247396b79227f46","5d0b04156ea6d7b741945e92a0be9e25936d97943df84ecb7e7893084d5ceed9","8f3b5ca1c9ece1f72e30d821044c014ecbbf8a2cf72a5cc34b529da983c5dbad","2f1f1d44b6822c13ecf01f5a5a4e501761a1c158b1f539851e1038c1a64b8178","dd423b451733f698f777e8b2e3e28cd8bf78547f976c52cf0de8798316dca45e","7224719b164f5578f1bbb3bb0fbbf0542c38217e86bfa0bf51549b5dc228eeeb","d3a516ff086a07f0ee22ca7c20ba7ab2df7427ca4f06ba9270444d4175ef2d44","32559993b426d82b57879b0517fcb3a3a179be25fcf7a9a7d2df4da3c3f339b0","00cfd61af24aea2cc740ce95854c8e88fa6a8b574a28030b10d04258b7c75047","e7a752e6a7d9a3b0b8a81e9dabcb5f09b260be7c9cc793b4015ff4e62269393e","7e7ca9202d8c4e21e313b0110a9a646427b450d1fc951920333d6aa2cfcb9a31","51b1354f4192f4ea5c5d0d1ae247b89db662fcb302860dd9872766cce6be0780","d214363770f783df2c000cc2e4213058823081ab321a7a569e55f9f474c66164","214fa75aa96ce5753675e439a7087342e1d1dda19b9b126ea4e9c182b0ce8d6e","1c16ab310faf7083c01fb90b73702ed7f8fa45a0caaf7feaf92125e36467e7dd","685adc3843c5aa3cb88f34f3f2acc2c46666fbbe6a4ccdd458bf9ae06e71041d","920d745bb8754626b764ef07951a333ebd28c233315f221131a7e30d27f62ab1","42767282d67b82b6efb5c9010a2a4ec405e07dcc393c27c73f3ab71e57a62318","fff4a949724b1bd7e305682f21b115461deb6c950a6a443f194a6222a1a91519","74b2072d421b2024e0eed3cecfefb32195932b7e74b464d23be1169429d376e7","d88fa871a92e13b4527e5cb45d313f65b30d00518b78ce228122f6f844f1ecd1","95aad277136d177f39ea0cf4b65afbba150ae37c3bd3a82d63962a8ceef584a5","15047cb6b66e2ebd099b8a4ab75ea0bedecdc79489b1a5286ed9a496a8517c7e","a225de304d61f295e66663d5a10b11494d21a4c97f03062a14276568e660de09","2820a02b78b77f0b70f54302a378773193f6f7617a19a909634fa6e2568cd980","e4a977d67d848654b224987fa285f4d683a9e796a7bebdc4914a5099242afcf4","f73083fa66ba297530b184e56495a74b653cc65696ba3259b6a7ccff350327cb","207bfd35422a1c73b6e8896d6bfb3c65d32889fde911f639e549426c64de5ee6","029a006666971e978fa7871e4356cb250ba3d108a5d1856a2bcc253b4155ff6c","83ab9fbe8be34da47e3870277b54f5172527269b39a33782544a229adac8c3c2","389e5bd16a127495626fd58fd4df838f0f18a46146030b08b77149011614c0bc","3dfcd0a3bfa70b53135db3cf2e4ddcb7eccc3e4418ce833ae24eecd06928328f","b26f93d773cf3aa4dc421c45323adccaead92598594a56f4a84d77910ee4f510","bc41a8e33caf4d193b0c49ec70d1e8db5ce3312eafe5447c6c1d5a2084fece12","7c33f11a56ba4e79efc4ddae85f8a4a888e216d2bf66c863f344d403437ffc74","2bb86e343b4109c784b11070735fa881af5c870a409a3b87b13800ca2afef421","fc9d4e784c9e7569911d8a6a01e1de90617942639c7c260beffdef1548b1ce06","37c1aeea4ec8df37bbe5d96bda46831acab3f70b2001ec9f51cb3146a101de89","5ac83af1a323158abc8627462fe987f7c67f957f88cdcf2237ae4dddc26677a8","df486e591f21d229d75df323fb9cf34f4b5cdbccee6a9b42227be738a13755d6","69ebf923204206eecef4310dc8bf28ab07feddaa3542066cdafbe67adf45f811","ae8189514ed306971ac9aa7d917487ee51dc3590aa5735f23c1d71811c373ea6","6de9d8858034d3197c1525e1c29c942cf7912f807d4d7f14dea247b7c05b59b0","394b4927dcc6eda44eb759f395da17b6e07f4daf272216b5cfc92eb32239f561","1adcc285d2d477ec6c51d0282d891fdf9d04a5fa8dfa479eab153ae17376f1b4","0ad294cdc42fb1f99cc94db8f77364ddc516643d9c69d4e66942f2cfd783213b","3956f34170e48abf902bc81055fb35a7e8b87109dbf3ca272d096d6d42cf7b84","f3acf8cff186f71a3a9b2da63f1378de6fe68a8578cb47d097776143cc84cd7d","1db170e5dad144b639ddf3d32710491c583f48c6e522580c8d5a8c249a611338","960923ce078ecfef6e5c34468cdba5c552b064c0db7cb0fdd3eafd1bb9d3d7e9","42f034630b3a866d4a88b37cf0f8357b36af2f7298b319d536b7413ba99f979b","33d1d46d7789bebdf9b78cd54f39022aad5d7d1d03a58bdad4fe98658acfef06","b3956ba310c0bcd45b1c77455a9754a35b49642be91bfbb412e04d378fad83a1","052854468e3d8142f440fa9a0da1d743abef903dff09597025d07703c25b601e","284147c679272283a4bea7ccaecbbab198bb1854e19269b2e59d4b5cedd5894a","325994b6f6c7598c73bbd0294bf1e3f1e229772669b3c8a08fe3170442f600b8","581656e45b2555b764e2880a39859e25ac6c0c9a74cff83dd22d3859b2231982","843563f951d16e850a0be806010f630a4a71f0a55810bb9aced67c6d7774bf2f","9af1c478e5403b39b922df9132d779bc6e1ef88cafec17fcecf26356d90ecbd6","a95a6135f2d195c93d930ba01049c33579328e55612477c0ae5652429d3974ad","24ead5861f4400218aeaafa477082022f244e3df46d18831411f3a47fc3ff515","65ce9342063fcf793e7baea7526a5a9a2f6ce05dea0cf4ae726d02eae2b98fa3","b932682e049f41e294a3429aca3b0adb4d2eed8047b4c22f91565e9353d6940c","5a1755f317ac2c0d708fbf7c1dbf076ba3a31f624c534b44275c9c43033fdc2e","7fdfe38d84879bc93efb8881b6d73f5a58e7390578663f36d1c1553d5b7b0f4c","9b838b2f71e1f8aad65ba627c60d2253a8b7c127246cde519a2d1723b67ede19","656d80385b979b6a7dd80820a38783d14a81c3c1eb0e1fa1a8da3045eebcd889","35b90d0a35cce0158bc702bae9fdf5b1b8f9b4c4ba892f5846397cc0df04f045","8c2c50a7321f022fa1a8652d62918e67d5cefef60cb7e8bd37a6f51e0aea0573","73d50a45c94263390f2b8237a2a04535ce1946f3b23da5dcf31a2831fb88a2f1","5175b1abcf7f54c218d49202c765fdb42133e930128c0112919108e7516020e8","a13b9692706fc78070f7484032ab4f144ab8e7171a00718c8703fb485824b900","3889b31558dba4f7c20fc3b79d4ca1ba7f63fc1411fbd0e240c68fbc69077285","ba43bcbeff724be2422fc6e2e99d315d40743d29aac432c199a1ce4dd3faa314","ce5a3e6db4c03cdea4f81bb90eff65e0cdddb13736a29f8679d899871860933e","bdb9549bad302661b46da515b3c88f9fc98ee2d903562d1b0131d9d2fca0a109","dd5485f0f511f281b3fd2826c9fb1a0beb6d953b6efb9ef63eeff07e745b555e","0104580883c18505ce1d405216723e136bfa92dfabdaaf74e4c4bdf16a357ab0","68092d78f8cda72397123db7d41d1f3ec6befda682bd9f45585cc4d68df98fba","9cf804daa8eeff29e9b5391fc3af02361d0a061d42aec817d7515e25efee0ea9","41203e7eaac85191495fa19301bf071390674c438808ecda31fc427089d9dd6d","5348d2a12035141bb504ccd734b93806571b3755597635c3037b075393cf8c1f","837af7afae161ac3927c08c0cb293889c14c896e5d654a2eb2ba19ce18a75fc4","6675284d3fd385df0086b030b32f036c113fe62c6fe81605bd699582aede684d","4638b0bc43d9286eb41ae9e6942f305e76e24c242ca6d17397410d2034a4f53f","6c8c7290da7f5a53a6354bc949392098b2360a79e70571435fe38234e94ab1cb","08089c0aca2846d165d0130b22f2fe9916be389d85caf80f6ff696c6fe06fb8a","cd908906f52c2bc1969a97889d1b11445609d08a131512b3ed439d93fd8c526d","9b4b0d63a2c53f7b311624cc1b4105c9fd024cf790e6f9cb7873a946db2cb9c1","c13c3fd053628171aa37be26b20849af999d6d89952a020786e7ffceceea22af","bbba07aee0d5d8486a9cb5967850b1c108fa481691a6d69d445c7110ccd3e2cf","50397cd5096cec1976d218e54ef6a5258964674d446ac846dd34a449ceb336e3","19fa611977628574c4c1271432052ee44344e9ca2bba4310337f5667cb59f3ea","a4483c0eba02976e4878be97e3c212c254044279c191063450f3ec8bb32185b9","1aa59e5dbd2cb17946f931d716c83f87b8268b84c23a2d5eab1aa9a3a4d1e80e","704ba5b2d4dd2a125b477ab12d05fa0a8b8f9bb53180bcbf1c668d3f2b1588ef","133c872ba30190d18127ef122a74dec14819bb3e0c1103680ae1eb282caec56c","54508a0ac5ae2bb9c52aee627fd7051ee399f1e635e58e62b3db91f971ec9790","b57986fda301fe6558642406835cee54d127f1bd71e64a9088f656b971744b40","5437ca6a9c5098b29fd1e0f9697c8bf1cccea7dd78c12bf4d975d99275004bc5","d4c9a42742a72a0bf541f35fa3129e627d755ca372d131f9b4b5c0ca5e601501","a964369564cc6fcc56076ace8089f4221dc257674e28c51b255ec6f356d5b953","b4a30fef335b3c7af43f21e22c86fc52b8dd70681108be79110e0d42085e0ba3","f321877ff179fe542a54a39d6aa5320b20b5c8751530e6a0ebf429f2758c32e6","6da63914700f9362c92a87a5af3242b140aafee2c4215a1e06983381328a8f41","1801d0552fdccf1437f652ba306c211929324f630afa9f5d96a0ce470b735a6a","83159783a5f8872db7aa20c6d46a92203fa55abcadc9ca02c461db11c56c3ceb","8c076cf405ca66be2b5177147550abff08b0bbcda35bd4093caaf184beec1029","1f210b5484a39e1b852366a700fec865e0ddae3349bf019c998364c14c494bf3","678f6eebce6d4573d404e33db092f2f5113d2f9d3924714dfac6b74913b54ad6","76473bcf4c38aeed6cde4eaaf8dcc808741dbe5280b957b982603a85421163a6","40c4f089842382be316ea12fd4304184b83181ab0a6aa1050d3014d3a34c5f8f","a20fc1fcd9cd7c2b79d5f00d14802c1d58c3848e09ee4f84b350591af88b7636","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","b4f76b34637d79cefad486127115fed843762c69512d7101b7096e1293699679","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","6704f0b54df85640baaeebd86c9d4a1dbb661d5a4d57a75bc84162f562f6531d","9d255af1b09c6697089d3c9bf438292a298d8b7a95c68793c9aae80afc9e5ca7","84e3bbd6f80983d468260fdbfeeb431cc81f7ea98d284d836e4d168e36875e86","aad5ffa61406b8e19524738fcf0e6fda8b3485bba98626268fdf252d1b2b630a","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"352fc8497a30bc806d7defa0043d85802e5f35a7688731ee9a21456f5cb32a94","affectsGlobalScope":true},"f463d61cf39c3a6a5f96cdf7adfdb72a0b1d663f7b5d5b6dd042adba835430c2","f7a9cb83c8fbc081a8b605880d191e0d0527cde2c1b2b2b623beca8f0203a2cd","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","43cdd474c5aa3340da4816bb8f1ae7f3b1bcf9e70d997afc36a0f2c432378c84","a4375c211767f80a920891f8be884e13181bac6bca513a59905eb348e9a2df84",{"version":"192206f23b9d2185c9293de6f92123da8e9a8f5d17d1e947017af4a1bec8a8ba","affectsGlobalScope":true},"6ab2bed6464f1255f88827fe28d9752f53770314e5aaaa91e8ade80e83f75efa","cd51ceafea7762ad639afb3ca5b68e1e4ffeaacaa402d7ef2cae17016e29e098","1b8357b3fef5be61b5de6d6a4805a534d68fe3e040c11f1944e27d4aec85936a","4a15fc59b27b65b9894952048be2afc561865ec37606cd0f5e929ee4a102233b",{"version":"744e7c636288493667d553c8f8ebd666ccbc0e715df445a4a7c4a48812f20544","affectsGlobalScope":true},"c05dcfbd5bd0abcefa3ad7d2931424d4d8090bc55bbe4f5c8acb8d2ca5886b2e","326da4aebf555d54b995854ff8f3432f63ba067be354fa16c6e1f50daa0667de","90748076a143bbeb455f8d5e8ad1cc451424c4856d41410e491268a496165256","76e3f3a30c533bf20840d4185ce2d143dc18ca955b64400ac09670a89d388198","144dfcee38ebc38aae93a85bc47211c9268d529b099127b74d61242ec5c17f35","2cf38989b23031694f04308b6797877534a49818b2f5257f4a5d824e7ea82a5a","f981ffdbd651f67db134479a5352dac96648ca195f981284e79dc0a1dbc53fd5","e4ace1cf5316aa7720e58c8dd511ba86bab1c981336996fb694fa64b8231d5f0","a1c85a61ff2b66291676ab84ae03c1b1ff7139ffde1942173f6aee8dc4ee357b","f35a727758da36dd885a70dd13a74d9167691aaff662d50eaaf66ed591957702","116205156fb819f2afe33f9c6378ea11b6123fa3090f858211c23f667fff75da","8fe68442c15f8952b8816fa4e7e6bd8d5c45542832206bd7bcf3ebdc77d1c3f3","3add9402f56a60e9b379593f69729831ac0fc9eae604b6fafde5fa86d2f8a4b9","cc28c8b188905e790de427f3cd00b96734c9c662fb849d68ff9d5f0327165c0d","da2aa652d2bf03cc042e2ff31e4194f4f18f042b8344dcb2568f761daaf7869f","03ed68319c97cd4ce8f1c4ded110d9b40b8a283c3242b9fe934ccfa834e45572","de2b56099545de410af72a7e430ead88894e43e4f959de29663d4d0ba464944d","eec9e706eef30b4f1c6ff674738d3fca572829b7fa1715f37742863dabb3d2f2","cec67731fce8577b0a90aa67ef0522ddb9f1fd681bece50cdcb80a833b4ed06f","a14679c24962a81ef24b6f4e95bbc31601551f150d91af2dc0bce51f7961f223","3f4d43bb3f61d173a4646c19557e090a06e9a2ec9415313a6d84af388df64923","18b86125c67d99150f54225df07349ddd07acde086b55f3eeac1c34c81e424d8","d5a5025f04e7a3264ecfa3030ca9a3cb0353450f1915a26d5b84f596240a11cd","03f4449c691dd9c51e42efd51155b63c8b89a5f56b5cf3015062e2f818be8959","23b213ec3af677b3d33ec17d9526a88d5f226506e1b50e28ce4090fb7e4050a8","f0abf96437a6e57b9751a792ba2ebb765729a40d0d573f7f6800b305691b1afb","7d30aee3d35e64b4f49c235d17a09e7a7ce2961bebb3996ee1db5aa192f3feba","eb1625bab70cfed00931a1e09ecb7834b61a666b0011913b0ec24a8e219023ef","1a923815c127b27f7f375c143bb0d9313ccf3c66478d5d2965375eeb7da72a4c","4f92df9d64e5413d4b34020ae6b382edda84347daec97099e7c008a9d5c0910b","fcc438e50c00c9e865d9c1777627d3fdc1e13a4078c996fb4b04e67e462648c8","d0f07efa072420758194c452edb3f04f8eabc01cd4b3884a23e7274d4e2a7b69","7086cca41a87b3bf52c6abfc37cda0a0ec86bb7e8e5ef166b07976abec73fa5e","4571a6886b4414403eacdd1b4cdbd854453626900ece196a173e15fb2b795155","c122227064c2ebf6a5bd2800383181395b56bb71fd6683d5e92add550302e45f","60f476f1c4de44a08d6a566c6f1e1b7de6cbe53d9153c9cc2284ca0022e21fba","84315d5153613eeb4b34990fb3bc3a1261879a06812ee7ae481141e30876d8dc","4f0781ec008bb24dc1923285d25d648ea48fb5a3c36d0786e2ee82eb00eff426","8fefaef4be2d484cdfc35a1b514ee7e7bb51680ef998fb9f651f532c0b169e6b","8be5c5be3dbf0003a628f99ad870e31bebc2364c28ea3b96231089a94e09f7a6","6626bbc69c25a92f6d32e6d2f25038f156b4c2380cbf29a420f7084fb1d2f7d7","f351eaa598ba2046e3078e5480a7533be7051e4db9212bb40f4eeb84279aa24d","5126032fe6e999f333827ee8e67f7ca1d5f3d6418025878aa5ebf13b499c2024","4ce53edb8fb1d2f8b2f6814084b773cdf5846f49bf5a426fbe4029327bda95bf","1edc9192dfc277c60b92525cdfa1980e1bfd161ae77286c96777d10db36be73c","1573cae51ae8a5b889ec55ecb58e88978fe251fd3962efa5c4fdb69ce00b23ba","75a7db3b7ddf0ca49651629bb665e0294fda8d19ba04fddc8a14d32bb35eb248","f2d1ac34b05bb6ce326ea1702befb0216363f1d5eccdd1b4b0b2f5a7e953ed8a","789665f0cd78bc675a31140d8f133ec6a482d753a514012fe1bb7f86d0a21040","bb30fb0534dceb2e41a884c1e4e2bb7a0c668dadd148092bba9ff15aafb94790","6ef829366514e4a8f75ce55fa390ebe080810b347e6f4a87bbeecb41e612c079","8f313aa8055158f08bd75e3a57161fa473a50884c20142f3318f89f19bfc0373","e789eb929b46299187312a01ff71905222f67907e546e491952c384b6f956a63","a0147b607f8c88a5433a5313cdc10443c6a45ed430e1b0a335a413dc2b099fd5","a86492d82baf906c071536e8de073e601eaa5deed138c2d9c42d471d72395d7e","6b1071c06abcbe1c9f60638d570fdbfe944b6768f95d9f28ebc06c7eec9b4087","92eb8a98444729aa61be5e6e489602363d763da27d1bcfdf89356c1d360484da","1285ddb279c6d0bc5fe46162a893855078ae5b708d804cd93bfc4a23d1e903d9","d729b8b400507b9b51ff40d11e012379dbf0acd6e2f66bf596a3bc59444d9bf1","fc3ee92b81a6188a545cba5c15dc7c5d38ee0aaca3d8adc29af419d9bdb1fdb9","a14371dc39f95c27264f8eb02ce2f80fd84ac693a2750983ac422877f0ae586d","755bcc456b4dd032244b51a8b4fe68ee3b2d2e463cf795f3fde970bb3f269fb1","c00b402135ef36fb09d59519e34d03445fd6541c09e68b189abb64151f211b12","e08e58ac493a27b29ceee80da90bb31ec64341b520907d480df6244cdbec01f8","c0fe2b1135ca803efa203408c953e1e12645b8065e1a4c1336ad8bb11ea1101b","f3dedc92d06e0fdc43e76c2e1acca21759dd63d2572c9ec78a5188249965d944","25b1108faedaf2043a97a76218240b1b537459bbca5ae9e2207c236c40dcfdef","a1d1e49ccd2ac07ed8a49a3f98dfd2f7357cf03649b9e348b58b97bb75116f18","7ad042f7d744ccfbcf6398216203c7712f01359d6fd4348c8bd8df8164e98096","0e0b8353d6d7f7cc3344adbabf3866e64f2f2813b23477254ba51f69e8fdf0eb","8e7653c13989dca094412bc4de20d5c449457fc92735546331d5e9cdd79ac16e","189dedb255e41c8556d0d61d7f1c18506501896354d0925cbd47060bcddccab1","48f0819c2e14214770232f1ab0058125bafdde1d04c4be84339d5533098bf60a","2641aff32336e35a5b702aa2d870a0891da29dc1c19ae48602678e2050614041","e133066d15e9e860ca96220a548dee28640039a8ac33a9130d0f83c814a78605","60684b492e1f9434c82991260c03dfe10425b2c3b03378f70a989d5b1b921b45","fe5f53d7945881a1683b293932542d5841af3b3f9268587a89099c20b016e68e","4826cdfca1ee42914c5aeac9cd84417af696651bbe0c850e8cb958e3f031eff0","9e68ab9c2ff790f19cc073f92cf1a4f41d39a45fa10df46cb3ffd9ce631ea447","21fb0ff1c84ee9d1883a39efe26f3d2dbc33798f550a359d5ed702fcad8aa351","83124c481eacf9327dd8f94849b5462a9c81152f98261e96d75bd69463ebd538","b86d143a2f4c79ddca0453fd90778449b1a38cd60026186752a40637a305c321","7362bd03f89700cfe79fa728a6f4b62799a89e85c3cc5ba23470a7074491ee8a","fc6347732d26933b991f83a5eef0b817a44aaafb825f0db11140fa677a54451b","62a07405ef879cac8e7fae86769bd9615099ecb96bf1530174d64824711107b3","004f589b27e410bd02e9a6ccba70b1c54f0b9603d8553394e5775f176c9d1abd","e595d9f06d29026b113665de96d5488f486e87deebac5eef54d1681e7b8d6634","ef5ba7f9beb1748b6739b0c30bd825f1256dc23788f71dc54918823ef76aa0ad","a5223d7574dfa4912698078b5a4d5be2b41222d59f7f6d2c6752b0ad65aa158a","ccdb134d6a1540aff17a03082af1475d745637b7c25ae401c7e3f6ee54bff0bb","80ab776d8fb1c03126a4fbce71bcba8a072a87ae50dd2226d253de204a52e127","62f2d6b25ff2f5a3e73023781800892ff84ea55e9f97c1b23e1a32890a0d1487","858c5fcc43edd48a3795281bd611d0ccc0ff9d7fdce15007be9e30dad87feb8e","7d1466792b53ca98aa82a54dbed78b778a3996d4cbda4c1f3ba3e2ed7ba5683a","1828d8c12af983359ea7d8b87ec847bbaf0f7e6f3c62fb306098467720072354",{"version":"13a6896719ea2d6326f89633dbe2fb65f1c5527931f60473dcf3838be8a15e50","affectsGlobalScope":true},"aa9e4a9713ef35a17d2c37648e6bca646b94d80e8109b792c6e199f2d76803ce","02d40a867567059ad385de906f54bc57a1636461d3b89fad09536d364e88608d","3a500ad283fd8b0717af6758e3833189ba246d7442940383e353e16bb415de9a","0a0ebc5fa977ecda11f5c8f087402ed8bef6e4e9667eecddd4ac76b9ac9d4917","2f2132b7b7874698371e2fa5f92c3354606eaceeaed6004475250660e7e26d71","b4245d9dae00de76458c93cb0f119bfeec97dc66056a1566ffe0cf9ea5ca2853","32dd72f8fbd6e8d65cd04e5f1edd3236481996a4c669dc633fd1bcfbb548c831","88be15d094531f48904548d10c6f31ceb1033f430b1e595f0c5823d0ab429df7","2630064dd94f62458f91937addeef737fbd794d802a07d7d7ac6299b5513053a","4c48972138a594d448dc91a0f7a05cfb31d520ca1e4f9f115753f374d2934ecc","e4bcc2f68baef9d98ae2919e4daf5dc794fe05fae6a8f44d33cfc094addf57c7","f5127f4f1afeb00b79880c3f54e26b7ec1e627dad9eca51dc34238f14d2884b2","c8a3822887b9badc7265b4f8a24e38e498af5b256ac943553d4efbf70f96eea5","98c721ba16b3605cf5d2204b87f3f84d10dc5a1312ab4d5cf9d891e36c6c100f","7dca83d5309fdeb4e325ccd36690846edc5d6cb9399d514afc220ab520640af1","da1050e12e13b6917a45beae0557fc17283e408d0b981897fc6bf8afb17811d6","04bd14338e3a485dd2fb1e42742b356d34c3264ed6b78d995c342e0d83e735a0","ef584491fc6479103691ac59efe07fcba0fe98122dcbd5e1e4876d490ac1c318","8326b5f110f608837d68668114875fc3d515f93e4b1fdf439be11759eb50aec8","c849f6c5306aaa58d23624007affee52d098215c0e10fb259f41ef0d86518393","e7746278a27b4241f2e5bac34555228264b1e4245c6b5b138b286cb77579e1be","4059ad77e3b47ee7ed9e2613b410b2ccbeaad8d1a2cf5d5b5d4cdd161f0e8299","df011f99284ee0d8a04bc25f36c061512dd8b5d5674b5122af155f23dc7210d3","64da8a97a7bedb3b86acde05d31c86129317dd1c8f0fe2ddd30e905ed8c7671d","983bfa59b6a93cbc6c8f82413825109abe145fd16b151409d695edca0f30d7a1","b350ff8ccae3dc42ee7b2abf59e5333ce06bd76e554928801154d14a1768465a","f6cb2168941cad2ecc37d17d17a3126ef14a562e0731013677488d9adb15d0fe","08955a210c63ab8cd7e27028403a54760dcf9010b401946664627acc8d14cd4c","0baf3b364a794c5d00e97fdfa6da7298ce3533cbf4c7b0b3d831f85936d75aef","6c9bb2e6a6bbd1f2a97d23ffa80f9b583f6883a92e670e6f02ebe20234e2509a","0a93a88c97b04ae8f7e5260b18b369241ab292032d7622afa7a914cc07eba3ee","09b369e0621728733772ab1277891812cbfc71f0a0e520c21b55c3bdf4e94464","d0c3475089ca6e0e4db3b6f2f07e613c6ce44fe48dac112c8b4e13953a8b13ba","161e73719adcf55a378341b87611b146ff76b96c53c228ad0c9e48c876bcbf40","024d77dfe9faa588e031051d5cc667bdc77ff521f84ee0d39186140fa1704149","c95f7fc243bd30b30ce21fa0712a198f5d24c86d5fbdb43dc6563942141b67a0","b17a560a212278c7637d389caeddea89a382e03abfe62606be49a1baedaf8dfc","fabf8c56ae89c20931cdb1b73ce6f616d0278dd6cfc307989f1da0dfb8f55825","0d0e527597ed839aa40470e76d74986bc7efa845b0d518c1f16efc2bb05b11cc","a2d9d943eef68669e7718cd1de4f27dd25415265518dd5da5402666119a75a88","e3bd4f7fca64f279413d04eb09ac103b5f2881f6c57588d81413a217ffc9398b","446f332f928d0dce38a3fdbcadca1736bd0cd803cfd922c91c230d9f0015914c","a7f33b03586f5c94752d25c5d21487eb5561cd420bc983bc9f697bbdbef57509","08a80c8e6621da115605805b13ed0ffd38fb93f9ac4e38f10263c21deda53e2c","9f52a7a1692f4728eed184232c433e2d02873c395a45166c81b143c41a091000","4f827fe2ab5958e2196213d5f4503391ca2d57e4f3a4d5193821abb83eaf6f6f","57366c8ef1c5f0ece5bbd3378cce12f69f082c10433908b7fb467d3b2b923d6a","511401f94123d90d1b40b0e4bb43e4cc4fcf30ae639c77f77de89e56b51bde6b","d7b56c4b6926fb93a8e2e0a680059555077f9780038bd0f22628efd1121872f2","22f7636e32f3efc1cc3199da217757696cb76bfc4ea2556a6dacd2d9077f887f","98691e68caf4be6c384e29efc5bbc524dfd96f19ddc6d16847bc4ad132651233","c60c701f9ff0b45e25bdf8fa55239e61071ed9ebed04e4431b93cd2986157163","026a1eec4d876f16555b40c69f1ebc67b5ff2bf82ee67f857770ecfd15d8b5e6","a33c557d7d8269f060f5048e2ce0d298287e4531cbca2df7ace0806e92ef4387","7b554ae844fe55890c7fd0644f86f1d058903614f1bd0376e78ab48044befb9e","806e0602f68448ceca5c3c3c5a3216f41d85dbeb6b01fafd0b01ed60b33137f2","849f1748c0491ba186b563e31438ae863c77489071919a849a90106f1d3d42ff","a94658940c185564758a865c633ff49dec648708e0273a21073ee57eadb6547a","917af37888c0ba677ef15c683e82af1935f091738516961731212468d74c1e0f","c918f67370941afe434d625a86f96f87ff45263cfe70b3666f238b61457bc19a","de2a51a9ad6b3113b66a680f04037480914d0acb4f1fcb9ccc7c97269f880580","0706c86f55d7b8db602ce06b850cfcd6c59f8a5bf7f173c223636afff503d553","cf67446cadef3ffe090df1a54bcb8c3a23b3bd8dc8058954026af15b1d4290c7","fcebd46b3119fd3c5d7c996ce98801c155267124a89d84b14c7348450f342ebf","27975250d16d95779140c1c2231e2f7b9d7764f4bb716b19880c01eeea715452","7d59325a50a743a36c6d0f4e9e475189efed02102901847e85d29e3f80058466","fc5ea8ae23137173c81f6b1cef3c326bd6b3d62350c4b6febd10b60b1c0f9fab","b4507ee95f8936a07c0d3db0f22d48fdc703ecc49617d996f5dba25b8562ce82","c88576f983fb2163abf23f7f499ef2a2a126c4120915c7bfd48e0c7253bae9f0","59665e3796c596b0c8baf55f7bc264b9c67f950b2f8876316cf05e2c46d6105f","fd88696bb1fd8d8b439f8d438b716e1b3379792540949ca517ae13ee780c5daf","50b39263f9431908a3564ed0c4f13e60e7208c22398e282448ece53c4f062925","809c3ad9d152bfd0e5c480227fc054bcc32ac257f97d43da6260e1e718496286","7f3492dc7932a227c1fec742d263a8f359970761a9dedb1dd107c61e26431ce1","fafee1076c16aa6e44743227a87f7b2c0b75f2383cb3c2cfeb2ce2b94d6c25d8","0684944d38c41701d141e1b4da33851e9d61eb7510eefb0b95483dee536ab3b8","271eff5e6f4184ce1f80558cb844d19f54ab5c83f24d493fb4269ea2e7d1125c","5e98f50f1fe5c9f51a7228f8f50b252350b7eeb84160c85dfe89b17273330607","044ad3b32c845a2a52d172460df475509a359f98769fee62bb1636edced017de","a9845c625035f055aa8cd54dd7faa7129683382e2fdfef94b38d38086d593818","6bff4612944fb13b6a737a9b1aa5abb7508ac341698338450d713a0757be92ae","f1b0951db5dce1bf9effd25aafb9395a48c072b88f22e5070e3de50f0389e315","89e9a48bd2aadf96d40e1d63f558c724aee9696e9216bda06fa8219c38ede72b","0fb021f2c5ac2525427741512fd6a48eca7137dc598f66a76edf6c7c8838c408","f4d154514a86990a6d368d9faa0fc53bd70c7e1050d9e69849e34126b40382d3","4d582f0a330e58a24e0aee65d7da51547772dee458ccc050a02d94c376c222e2","cb7b9f6ce4dc61c068393222b5b07d9a120bbcf3eb76a263d5db6b93a0273d4a","08b4486950ba4d0154259057a526296baa002ed51ad3bb619a095a1caa51d925","94d6800c710d9772d1927862897d79c87219ad1b0974b572fe6abfea72255a28","cafd7187cf961ca2e1c9b66293d85e54db6d6da8d3f898e88ada38d9da794205","fb8f01ca6304eed2eb2053752de24c029536d65f5cecd475d53991f4e76a2cc1","2a09f01be0c23e87885cb5ab838445d73426901ee5584a6b312becf916b92f2e","d7aad45253455d6f504c1347581b046dee12ef4547932028a95f46ceed045533","eb6068ef30475dfccd3ece2f3c0249f595f5f860893d7bffd28f90acbba87820","55b85f23e74f9d03a4233f2692d750fc56659382aa77e959ce7d668fc114ea7c","caa9957acdef20fa774f339b834d463bb685f7fdd0ac33512cdf1390fc922da0","7dcbcb4912c12e8917fb6035aee990f5076e28a0e59d162bf9ad5be4e5878a85","5d9f6205d1ca0bacc2b7f79f9d1ac64fd7fdab335977046d6213539722701340","201d9bae7163947fc8124f5183fa6dc0787b88f8c39f79920c7d7318b244eb7d","632a291816247a45f799d43c9dd3292e58ed222390a5864c19cefccd282a0665",{"version":"162db86f83f9a177d179a5d788a744c806eef17c315becb06b4af3213a1f7c12","signature":"3f371c5dba61cc3165c15e80122468b74241a1a5f4e86a8e636552bf8cb99fe7"},"a8dfcc0f038ad710d74f909bf4e320fbe29cef9e31dbb06ef7fd07a05f98f8e8","b48f493d11d9066eb30cfa90de09c2dcc510034fccc3f42634a8ca6f83c947ac","8681a2f5154fdcbb62c64c1b7706921df70ecab11c9c95b1d27832353c7079ef","035ae4212705efef4a1236126ae5b83f122d7c82cced76cb283d9162278048a4","c7a625147e378e877a930f820ac82ad60a2d3b4b0f716d693f80b6f9ca16d5b4","1f65aaf07de2e938647984d0480002c42d29f65f8038fbe5619034adfb04779b","2d174eedc9d9519663287e411b3dab4a9212951ec8693e4f3e0b6be2b68aa71a","3d49cc1293987aede7dcecf1d3eb1ae82f059845557fff5c29b32a138a49332c","61cec9020cf74ab8ad76d8b673a8cf66475c9ad11ef61cddd40b732875b0cc1e","97cda12d7285bbaa6e0ed1f58acc64120bb6f48d175e17f0b27e812aa4f4ed12","e056b9f47ffbf4fca1d8d636f187f776009c8009853856fadb10673d6043192d","c600b9aeb33db06fb621db92fb41018da38d32710410720fd81788a5fe127d20","c8d13c689b313d59a099c3837bb45fb3304fc02e3e07dc3113c5946fde0e804a","44b87b20c476b5efca5a9c504fa1a09f189735ed9db19a5e0e2da15b6eedbce1","936c6bde1b4856708c7d1d682857f7918957b3514bf29c8c6419bceb57b35aab","f03c4ec6f4b3b3ab624f01478fc4e85ed32f490960420fb0532a45464a11e781","2fe665f928ec6518b63bc638680162d4fc697006690b3fff88bfceb455ef4fe6","54c84535c77e35f1cd90591fdc05ea5300bff2a6695d6bbeff67e570a315fdc4","b25d8453c4990264caebd1c02c8fbc5ac116eac00ee916159c283d7a83902987","9618a33dd2cbca85d5b896052271b28889e26482cf6100e4ab02aa7d23befb65","1a8f61fa2beb93ff0fbea30e7a86c6d535c6a5d4c8e20cc5372cbe381c47f7a1","2ee12905eb56856fde4d0d25c9eda97108537419f41ad2ea71876b453910a68e","f29b4b6aa1c91a5f219445e0eb25f253e16ad1b3b399f110892fab0a6e82a5b6","5227198d7cedd4d661045dc588b22fb1111a6a0b955deec9d6da6d6e2cde2358","35b7cc9070f55b4b8f6e9d332754a70bd59c8741cfb9ed1c7f0b2c69c63d0019","4cef2363c5fcfd3f64786807a3f27662b4751f5d00858d75542a9487be3cd26c","3d2f9dd348adced015f53a72fedaab23af27ad17cc0e7709c7a723abec4df659","57ab9c76ae61757503186b272ad0ceb2951f36a989dcd0daa1436fc3eaaef9ab","ffaee6c19ca3dd470e0b1d2b7a6ec579513d5381f878d47f4cca5a7a09b35d60","b1c2edbafbd0d34f8a99c14f162ef284497c4ac027f8bf5490bef9877ab2c430","74ca8c30895e711376b404a1f90b7cf44208260cc7138ec513b8d8d8c12b1e4c","e90227dedbb2aa3ae2898284befdec226466f5e70783446a2b832db5d22e6ed2","32e821d6aaf356096b2bbcdecd8abe8269926ace4e2f730c2979cdd4f4831321","b29ebab4a6ed4e72441f35ac6685df54fc55f93cdaffbeb9caa2932c56d9fed3","388b22e6da844cc7b2742f592ae86655a801adae5aaa3216c3785458b377eeaf","8c376f0a5a22070c82304c00591a40ceac86466489e91df1e90a241d8479fa16","53d1a779579748af6a18bcdf8ac10747256390b34579e733c6842ed0b4011b5b","b17e0a8ed6164480d9ebb7d183f502f37a3498871aefebf784f70c22b2209143","f052d1b5d8c40ce09cb6a74c39559a94c856648f84db2348ffd35c1791fca0da","d87c7801124bedb822301025ebc29e7a0fd3af4b5098d706451571cc91da2761","4fc47a84fd2becde683686da7c69f3833e1d5c23885b45bb0ed61165d10d3ff3","733933d6b983828ae6af17e50f756a4b463549246705fc8aeb0d857cb2925c78","4dbd7d7063a5e6f575724090abcd699719559fc02cf80ecef93ed637b479d09d","8fb21b2f10675763be95397320158d989a05e409a3535a67998ed5bf01cca23c","48eebb6cbc411c365f68ead396b6393200ff94bf432f9fd34a9f6e6bc85066ec","cf3801d5874c22d86338b25f3b495e76d44ac33b528be5ec2ddda49670ec1003","542fe85d80ef23d1668d44cbffde88eb496ba0ecdc3a5f45f20bacce2c658c08","2d8d8c5bf4d3fd0aa8d3776ea0b88076ff15ead377ce843dd9c27878d70ff59e","84357d413ac040035a8ba2d05c7fa43f47281223ba8c5adfa085adb0de003d9a","0e58d5dc509f6e3bfc99e647c58861255e1ad2ba696b2486ef6e0b016c9be8e6","d04f12dd84075b893632b008317dfc7eb8fb6b7a7bf97960e7e5872d26328a14","0fc4cde3e80920150b9e6f3fdb59545370b1492283eed7a5e32a94e2c513f261","dfb43acd6f96993d759abfcee8ca19d398fb4ccebc84efc00eb70bbdfaeede5a","e4c8acc467befed1cba369d06346f58b3230e303f6ba695ff17f31015750f590","c596931b7ebbb5128630e4a7ae239bb3750e0e0de54b71b9d78dfcfb6cf8d4a9","935ae26a06750e306d2c5081d57ed3a165221e4b368cb202422298a3c0fe8590","346252e77cb88dd27d5d6512e50a6b41b2a200cfdf1952ab459871972905e492","a22a5d491d7baa7388dcdb864085d3b31d07eb3c3993a63a459fe31b178069db","694ce43cc3c68b9197a755d7da3d23989d0f30a8a8139c63644c860a7e15c8e8","6e003917696b477b57cab6d633dc30d6073805a828990fa5e660a468d9c5fbeb","daa3a6f1ad8b49cc9437368217642d053bf2bffa8bdb4057e57f08297911a7e5","2a3806e6700f5f980faeb652a1b29a9d1fd936b8c093f0c22ccce673b779e46e","563b95acf087453b9a7827830560f1e8f2eb07df05c7e60a2c01095622912433","3dcfe7c3594ca258e06bbf063363b376b8913bb7c69d97d1ba6a723cab6540a8","42536450eebd2cd11fc49e53f83961c0992c3fc4a2709ab6763ad126200351f9","fd0229ebec32429080b75e17eedf373de6652ddd4220514d9d6b7fd795cbcfa6","0bce38a51035fdfd0433bc06c3592b40505d73528f1be71eab0cdb622442fb2b","6f652cd67ebb272141d60328af20662bccb4612d54d4b43bdc1b1765aa469587","887521cdcbb33c0db2bd8c993bfef03481d9d06a8da2f451f59a6b01693b05e6","49f9b5d00523de91996e9e6a4b7375b1050c8eecc2cf24d3524fdefdf88198d6","681b8c2cbc2167942df62809486b8ebc0374b1709e5e4f6b35a916216f8d2b3e","12f27dae142f210299aa069321b50df6e8fa9a14237742c0abdcd03996bcdb4c","d75a0f3fa6aff9665a5445ee1412f803328d26f6b7095aa32bfe413513e86760","de15d103981e53838016611500343a7ec71d79af019b27db7b8dc190df4d2ee2","6f4e6cd06c034284125c24a5776a6dabbd2c31b1cce2729b2fc687f0a91430a0","59f67edee4766bd8e1c6b8474257bfd7ae519d82f38a341530ec23190bd2574f","aaadd8fcb0b2abe835848a9967925c4528823b2e296e6efb7cb7c63b7fc5779c","0f9077b64c63436eb452034401e217bf8438a1832820d6e61e1118dacc96f2dd","e5ab8fadcea36b61bee7412b5f00f6d722a2051e8269680dbcb1c6161e7cd6a5","a60a5d7f52a378d83d308257a215d02584d92eb0dc51baf7986a6339344224c5","519d1cea3aa9295afbea68660cf60f47e0d53b3aeaa719d1d7437386e6bd886d","49d905440e836042932b6515db2b6ba6ce4af2339349883c8da44fe533918148","dae18eee8838b829bb58c6aea296035857b0cf97b8ae2287d832b2c7cc6acad6",{"version":"8bbe162e9763cbf6684e71702455e6fa97a592c7439cf239977240cce394eea9","signature":"6cc9cf62f2e2efcbf33bd63cdced078f3c592e52a1c83123c1b01cbdad7f64da"},"be97b630720a8cfc2cd275280bcd30c9736d341054038f98c93a6ff8b81b3979","4488aba9006fae7cc9ca3cda57fc6844e09eb3e7942f586ed0fcff86de2d79ed","40fe31095a51cef76ed9e3b535933a2cf89963630e38f267047c70e1af30effa","195c52855728ed2e45e5afca8276fc4410ebf7dd02df261aaec3c334c7da6016","764b6cfb69e9398881bb94f1e47a3ccd10bb2b6aa859d967c5dc28ec1846c340","714f1fc85fb1f29286b6dcaeb7365a31e36804157b53cf000b46f62c89f825dd","254aac38ec65bc5610aea212e58ddadd01f4a065836c9f3497c41afdf08b3c19","d33233bf08aeb7bf4340301be267b4eb4e04f1c6dd47822a342047cad403f871","46707f84389861c2273f12cf3e940b6c776e052a2b12531939ddd2396e928621","0bf99b98870654fabd6c904582ff62d7c98e7362be14683581bf686d700e10ff","82d022a4cba495935df0acfbb6c3ec3480a8a7cb8df43d78fc63000b0c7c06c4","a5bb9378742e27a4b0d7df164e8b3bf3f650e03d3d3cefd27ace5adbdaf1b52d","ec247cfa818d8aafdd12629aa8db81c6f9dc65e9ed0f714a525da4632ee1911f","467cd38a40fadd35156ea6ebf3cc3dbb7e848f9c08d0cf685c97f85a37a91514","c81c29595e596206be2960ef6d6a7f9d5fae6435a6d6b672fc0815e34b0386cc","d473294c8f02de0e245b519a2fc950366b00c74ba4ae945f36fe05e75d0fa1e9","2a9e25c3979fec69cc47f625a0c92a7be0c9070046dc72a668be515ddf2d65cf","77ee75737e62c1a3c9ea4c163bb9941a8265798495990ecf737920d7782014e2","c16fb80db0589c5ead4f87061976feb114725a203ea3e1cbdc5c57bce6a88ec9","3d70ee28cbf39af1b2966737ad4eb66c465e07d236f21d13866b81898729b001","12d04eaa01330bc2e80232cfa374da7566320fb4a9f40ff2131c155af4cd79ab","43dbb0dd38a2fc7f8602ed1c3ab9d58208d313abe5af3745f24c024a02266ad5","9f1d64a7e2f0f2de4f5a3a1bf1f1ae9b52dc72b452c3f035f1d97f00ee96fe1d","9e6e1bf171795beb021a2753b5ecb0187be289b920c666f3f5b9fcb75c202cb0","72848d3ab7504ab282dcaead148abe149f100f2ceb4f54028406e21f68da79aa","0a0ca589db2e72a39476ed5ce9ae3e9a8b920dcbd858a81f1fa2822174fc1806","b63836e03fc475e330f78da354e4fa4c974e87bcd12c6bd8bb960d2c2f30adb5","48d0bcc297ad270d86f3f7a606dcdfb1a837320fc4addb98c81ebfaa91785dff","fee6bb1a64791c6ce982069de316af450f1c05afa6d288e5fb9a09623d8acb42","f2a6347e5ab352db86e91e99baa45c4feacf038b282db6f1d20fe557c3f2a2ba","d9978cd2be0541dfd8d7b5904f33d7472e5f6b34678225417a215ee8c5122fbc","5d6ed3146c411b87bf64618df96620974af7bdbe4abfa84674988731c201aa01","3ddcd1ea2b2151cf30652a476f2c7b65db12cdcd1b94dd7f606d3dc9d7fd31ee","0a15eeacf8e44f9873827a62c96f473915cf84bf06e980061db7ef407454124a","2526b8ab84a8076e3573deb0835e499c60f29eb611ba6371c1080db83a10cd15","8f6760ded2a7246b766ce24b76c0bbe721dc4be8ea2941bc541d5c4a505682b1","bec774038e0667e9ca8d17c416c7a1633d372548daaf5181f416f0ba7331d598","eb5498fff8142a6a9981ca323cc2e7db71d0ef4240efbe7cc0e8601f9352e923","75fd1e3b9d429f337590439b731bb70fa3d4d3c55c5208d7483fdfbcf23644e8","3b5cab00e0841fb5d2db32390bb69b86dc2579351b7d7ad58dd5fc2804e01189","3b5cab00e0841fb5d2db32390bb69b86dc2579351b7d7ad58dd5fc2804e01189","5d7f7caec132af5b50876834bf3ffd30064b58ed2464d97742239d334746dd58","ba3e144c8a5ac51b1c10b2de8e7fbed091a6e3f9142d3292b15a3c32b7a08ee3","ece9579d09be4a893cd4a92334ed8803a0fc5b48f8cdf15109c6dba52b7281c3","dfbfb592881cbaae29635580dc721fdd2be19d4c78cff4f66fc062dae5a1446b","fb1b5e8124fc23402807af72dc9b753eeda23d6524fef6beeeb49f174c446cf8","b45993dd360f845e7c8bb80fc5105800374da063fef851645971ba7103015b72","8fb406ebfe2eb75015249b8e889ff59bb1afac7d614e98b8601838ec54268347","dbfe39040661dc216d7450ec7f7d423ada140aa56e3fa530f49598e0dcb8d5ba","0b0f14fc56fbf588a53529bdcbbd8362edd4b0396eaa0b3f497e3a980a2305b8","38c9c62a2e84d9b806745ead58b2f2a75d91fefc6af7742207e320a0c3294e22","40b0322c0af2f755632b8693d8ccb05bddb65caa8f3542b2b90ef210bca7a35d","a9faa1027e1f3351eba0f72d0e61c3853b34d70e008a00460c7f40f460a0b160","28645691611cf88b97b32794add1bbb279a3a19783b448862679631fd458d35d","61b140da15087d96b9139321dc589a1a182bccf912dad561db40c993ccd7e153","5708591bfc2319ec3d550e921173abc4f3e443d8f01fbe15a7dca386f2e94212","acf270438c1e623c772e8bb22f2969264afd458528556c7aa03c78ccd1cc41e8","69f0a61ce2d74ec058c08f0132e608f30785ba98c0639ab658f463880eb60934","3e42faae378e0a2d567941650bcba4e627cab33079fbd9b39e0a1f979e00206f","8abd461079a7090ca6a43618f38b2174c2920a514d659ca394ed4ebb01d316f4","a67d7e22b9a3683ec511761c479757e27042083ef33e613d8cda564075d4a338","04e7110e5f6e6bdf8b7b4de117433da03b7ccc935e5fd52d16bf2b671a176ec1","efe71cc1a08fa81482cbb1e718f4d677aa10f3a6d84cb9bab98f391c0b4ad6f3","dc43245cba53c9aa990e660517478ee5bc10357a5a4da902c25075ca3565d45c","29eba867bd3031de4d18422ccf6d2170544f0f3611e2477ef8c5a980fb7e8d2a","312c3d55915c9e221e241547ce5395c3ffb648f084404747b89e47c36946157c","ae05c7f88bf8cf606b1e49b0cf71fc1b19f16d25d678a7ddc7eeb5cced0e5624","fc8b36a871cf9f6f4b65fd5117cad80cb3c401915f9bee245c9b8cfc9e737172","bb60a2a97f525dae03ec496c79d8cccbca7fa892930d339190a65115f3aaf022","b552f871ee873d6a065dbfe07cc3f59a37f25761c62d1230304f9ff3eaec1d5a","de01cca0f13fd8e52da13c6f937dfc3173b241b16688619477ef0fc90c990761","43ba5cbd82dc229736db293ada43ca50dc57955b667cbde4069e232354e68bfc","e3c70c81a1778fe64c8e0911e3f318ce0917a288eaf82e188de7c9562dda32da","11a90b788c9b7ae2d091d02325736ada137ee180ac06593b539df26968235430","cc382eacc233ae059a00b35d85292ab8e06f63b74cb9c9224d18be4b68b36aac","b18c9fa53a9b8597e7a1f5798c735efa4ed06ec1539eb0d9b54b03a192dc62f2","47b91ce3f88562a0d8330b75cc338f613f4dce1e337cfb64fd5aad06ad3a7c03","47b91ce3f88562a0d8330b75cc338f613f4dce1e337cfb64fd5aad06ad3a7c03","bec0250ac109dad48e85ee803c9450366f5a428a51370b2ed6474041e7c953dd","c090fb3fd9bd9316387a37bbe3a6e412aa548c8a42071e535fefc7ef450027c6","fe88bd52b35dd20135f7926a4d87feed6596166959ecd26aa463a50245d619d0","92cd621909601c371e89e71104e3fc189314493dd3a9cb11cf4490ad39178c7b","c75c89918709b6cf68713b1af1db17c5893281e3f67d4b86f1dd7c2228096785","3ba920ce0729fb7fb03236f09cd18d16fa4e18dd8211d64c1d2993030beb09f2","abf7303e384f2bae89b599997a905db833b9f6027af1107d8d0c8844c5b9e61e","970f5a8d86364f8a2db3871a09e1875860e418dddf8dfe3872974b692992cb44","409dfbce44a831b5d346b46485c681816486c0fb7697f12a0e4778f07db7ef2b","fc3878dcc870e33ecd3631394f93d9dbe7e6c68a8d121ad3f621f1fd1e5d4100","b60dbba99799b9b0dd349e82626f42f3a9cb42aee9204f7339d8c10f828282e0","ba7cd943edbdab3d7cbd3713b271debf36c00511f47fb3aead69408a62e319a6","75ed44926cb5aa8d880dc45a4436d86f9a8f7f5163c506e9a359b5e57d7bc703","d2b089e7849d7a768891682abe8ac00a88b5a23949497b12632c066575ad1632","1679efbc74fb9a8ed3cf6696d7cb25dbe6845f3723a9babb65f4d8fc02d18151","8c7efce390f6042088f73ec3b04afc2a6ffeb94de3718ff0948fd9c795b76079","9946959ccfe5493277bdfaf7c8c3ce1adc394c6926a17db3b0d6c609b2c5e267","ac47f5ba46b50b5b6474bd54e8e29fb4036423b7bff0f6b98c0ad812de2a6460","8e2799accf039361d2cf46c4afc2a2f5abfb62a3456970423f56a1596f34f223","a1a1dadd72064616c9b6a12032fa6ffc1108c5d4614e1f2a26be6f53eeb882f2","dd82f54d6a3a158634460801731c4caa4209d0646b1a80023d2b9443b6fd88e9","70efabde0d1fae6c4e8c7ac496a1f3a3ba08f0f0d887fe67bedc2ed9e0bc4fdf","eec9b06fcd2b1d01c5c54c35c6be779e1ca7d2fea84cb1599fc940cb8db9ca85","ff57771de875e32fefd38a536eb451db9527e9a71aff47ff7e4b1863db317045","c5acb5b185b6a68d07e4e397969be3fa208388f0bdab934c72b6c1177be7daac","51312f42e9a04ed375246b26e83a8879e2c653b8020911d724eb346e554959ae","af1af436c44dbd324e95db5bd4f06c151a79e3b271cac9c3ed6a37f96092a8e6","5d0b766240d78a47bebe406db448ae49234326760fdd78d7a4c85dd01bb4a5da","6658f305b065745c2fe906fc8ff6ad640da4cab59886db86a4b686c805efff3f","2c53a16c1656f90201f5c4cda79f01b06fadf54149ac45483e7c63dd9fabcba7","f9584baa1b8c17b25f57fab4ecc1a3dc3454b3569cf7579c7f6fa12b603aabf6","a1d73075b1db4ac2930bdc4f0ea7093c52552aec33fe2e5d1903464b5ffeaa38","5ebc46dc03141ed59ef606a81ecad88baf11bd31318c66cedbe5ed89746664ae","da28ed921d30da5dfe138400a67c08d93ce3080d55ca9ecbc2f33273e3722a17","67331d22a4f8adc0f339c57daa3d7fabbb891cb01a03c4ac5e17970bbabaa207","e2c99abfbe661c19b8a6a31327aa6a7149519eb41170c0827c2478ce4d414d70","78d95274d7dd8858de5e331229b0935694d32d1493b17e570a388d67f7e5aeff","c00451f4306bcedd504bde69a902af75255a4eb3406e9a6d2bd36a0544479326","7d981ba070b92ba4bfe1f272ea01b736722b9bb6b652f9b0ba580da3fdb6bc33","dc5108968a35f11c80718f123b6e2d74f3d45ea8e9f5e543a411240cbe492a5c","04cbb2b4d7473203d035d175c95ed5258f58e8cd10e54fb8f0576a5c14c08939","b396cebcf6fb2e59597ebd9d3ea7a400fbdcb324c48913f6952ea2f0b2a02dfc","287708f72153a1588f8e809f278d5d96e845959a40bc3a28b1eefdf70f89522b","374d0ab953ba11ecd12602629430bd7d5d3b8b521a62aa0c58d5adcce707e6f3","366c50a2f615d862096eb1e8324cdfbe78c87dd8aba9466610359b31a7c2790f","38e6b745ddf09a7fa3998554082bf96b37b8ade3410f6d74ab8a571ec7900e6d","57f0d6532d3acf092db37947295694f308cf612ee3d176ea1bbe141173497fb6","8f141ed94da9a3d2da56d03e8560a4d7fbf824fa7b7b6cee1c81ca7d14877032","b8e49f7241ebe96f1cd574acf12f51a6e463ad86ba97e28cf9510baaa0f307f8","72a82292852365d99a65acd91bfbbb7c99ecd6dcb27e22b987c96df9830b8d70","2b70a0305bd4da6ce78f51c0dfda342bd7a8ebb785e3c6c0f695bcbca0bb9123","2e54272257295ca465034702e581779e3ee058b929a5b2cb964b8a8dae789554","088fb417cf83656407b9708afc54fc83d393590e6e2e83deee46205c7c187b61","de803255e53fd5946abc7d09efb6c84a330588b0e0d606e2ff41c850e42c93ea","10798f4b895f380d5239654a014058eec53336f5c8e3139e6380ab5363bf9845","c158f08a55b4dd77377fcdbadc7fbf0c3de25613c42197ac26820bb2201c8fca","c7847301f8055887a10cf34adae83df316867ae788283f64a9f0de0d68f3e16b","76f37f6672a7153a80ef1f888496e2ac5ebf332afac87c095c05510eafb7d589","61b140da15087d96b9139321dc589a1a182bccf912dad561db40c993ccd7e153","ec4b96e17bc5673d20392652f466054a2de57e608250193eaf34d0a57446b753","faa6db6be0ec96ff74fc373a48ed33af7eb179ae5a16c35d411db043fcf4e750","af0d827b405a53111ec0b50eac1bff205b37aa8ab49084d2289fda67fe693a8b","68585f6e701fde9859e30a711a28be2f3e5da91fabea969b5e2e229e75978e61","0e2afe600db9530258458349380d5a9779aa44315215445947279fd3156a3cc2","6f0b90fbdfa63767cc4d29e8ee2e2c6c521a0004c1a16ef3a488bfad73587bfe","1a222054d0069c25515b648b0e20775ecd4f834eab1a39e01d5b6a9da7e53640","e852684e294e4e4712788b19d2992ec4e04cf2f20b10e372c781e283c25dad66","c91397074e95b112320dded35cbfed25c5c783b05a265e4c3f7c8f5abaec1fb2","44d3810b6d2227703f3dafbc353a6b80913d1681c52e3eaab04a38ebf7eb8553","557532021a8cb6858b8bf9c9999988e7f812a01235ea83b10578e0f277dfed0e","bec45e0777e88662fdbb5e8ef48f3fd1a474768075abe838b184973025c94244","dbc64f3108732ba4e05689b6e2548f929d64ade2e98165b2ffc8626ea4beb640","209aaa1c003cd5369725f8b6c121c5c9fced86b7cd30e10779c8be918a3cd7e4","2e584ac8ec196397732bc98da935f474d0f1e76507ea47f088e4d078e7b30d2c","3a31cdd3f8b694ef78fd1c9258348c685809fb02598c6789d2ac1d474f5c4017","afd57e6c181dcbbc0588e35fa5adafe8e96c75d88a2623bcf1e2e20bdba2973a","2b3a79b5cd3150b0ac3395490f60d8785f5acf59f082e5d7333065a346b8f572","57c09a0f43f6a08a5adb374784151b02b34c00f0c5f4c855aba8a5d4c708b7f6","81448a1fc8cdc27caaf2bef5ba440abb14405bb2dfd31030091a0586f60dec53","297b1481cef9f631a1284a4046a04deff41b1d6478bf80e49203c44d2700c0cd","11f7bf834fdde3c05c5cf003625dd2fbd712d625ef670ebf31184d2e0856b76c","039528c29320e7a6f672b104fa457369daef4487ad12a8197e862b802cfbc509","3e2e906217c6c53ed8b684a6c377834afc0fa677fdbddec8e132e3d982b6db09","ffacba648b04adb8ffa0966e027332bcd6f1cade91c9186537629e826e0d4732","672627bcd3674eaa4206b80fdbf4029b1cc5c696e989f6539faaea8f25339b1e","dd332252bb45677533cd5553e0c35340cee4c485c90c63360f8e653901286a4f","dddde95f3dea44dc49c9095a861298e829122a54a3f56b3b815e615501e2ed16","794a88237c94d74302df12ebb02f521cf5389a5bf046a3fdbdd3afb21dc02511","66a08d30c55a7aefa847c1f5958924a3ef9bea6cd1c962a8ff1b2548f66a6ce0","0790ae78f92ab08c9d7e66b59733a185a9681be5d0dc90bd20ab5d84e54dcb86","1046cd42ec19e4fd038c803b4fc1aff31e51e6e48a6b8237a0240a11c1c27792","8f93c7e1084de38a142085c7f664b0eb463428601308fb51c68b25cb687e0887","83f69c968d32101f8690845f47bcae016cbea049e222a5946889eb3ae37e7582","59c3f3ed18de1c7f5927e0eafcdc0e545db88bfae4168695a89e38a85943a86d","32e6c27fd3ef2b1ddbf2bf833b2962d282eb07d9d9d3831ca7f4ff63937268e1","406ebb72aa8fdd9227bfce7a1b3e390e2c15b27f5da37ea9e3ed19c7fb78d298","197109f63a34b5f9379b2d7ba82fc091659d6878db859bd428ea64740cb06669","059871a743c0ca4ae511cbd1e356548b4f12e82bc805ab2e1197e15b5588d1c4","8ccefe3940a2fcb6fef502cdbc7417bb92a19620a848f81abc6caa146ab963e9","44d8ec73d503ae1cb1fd7c64252ffa700243b1b2cc0afe0674cd52fe37104d60","67ea5a827a2de267847bb6f1071a56431aa58a4c28f8af9b60d27d5dc87b7289","e33bb784508856827448a22947f2cac69e19bc6e9d6ef1c4f42295f7bd4ce293","383bb09bfeb8c6ef424c7fbce69ec7dc59b904446f8cfec838b045f0143ce917","83508492e3fc5977bc73e63541e92c5a137db076aafc59dcf63e9c6ad34061c7","ef064b9a331b7fc9fe0b368499c52623fb85d37d8972d5758edc26064189d14d","d64457d06ab06ad5e5f693123ee2f17594f00e6d5481517058569deac326fea0","e92ea29d716c5fe1977a34e447866d5cfbd94b3f648e3b9c550603fdae0e94fb","3d10f47c6b1e9225c68c140235657a0cdd4fc590c18faf87dcd003fd4e22c67f","13989f79ff8749a8756cac50f762f87f153e3fb1c35768cc6df15968ec1adb1a","e014c2f91e94855a52dd9fc88867ee641a7d795cfe37e6045840ecf93dab2e6b","74b9f867d1cc9f4e6122f81b59c77cbd6ff39f482fb16cffdc96e4cda1b5fdb1","7c8574cfc7cb15a86db9bf71a7dc7669593d7f62a68470adc01b05f246bd20ff","c8f49d91b2669bf9414dfc47089722168602e5f64e9488dbc2b6fe1a0f6688da","3abee758d3d415b3b7b03551f200766c3e5dd98bb1e4ff2c696dc6f0c5f93191","79bd7f60a080e7565186cfdfd84eac7781fc4e7b212ab4cd315b9288c93b7dc7","4a2f281330a7b5ed71ebc4624111a832cd6835f3f92ad619037d06b944398cf4","ea8130014cb8ee30621bf521f58d036bff3b9753b2f6bd090cc88ac15836d33c","c740d49c5a0ecc553ddfc14b7c550e6f5a2971be9ed6e4f2280b1f1fa441551d","886a56c6252e130f3e4386a6d3340cf543495b54c67522d21384ed6fb80b7241","4b7424620432be60792ede80e0763d4b7aab9fe857efc7bbdb374e8180f4092a","e407db365f801ee8a693eca5c21b50fefd40acafda5a1fa67f223800319f98a8","529660b3de2b5246c257e288557b2cfa5d5b3c8d2240fa55a4f36ba272b57d18","0f6646f9aba018d0a48b8df906cb05fa4881dc7f026f27ab21d26118e5aa15de","b3620fcf3dd90a0e6a07268553196b65df59a258fe0ec860dfac0169e0f77c52","08135e83e8d9e34bab71d0cf35b015c21d0fd930091b09706c6c9c0e766aca28","96e14f2fdc1e3a558462ada79368ed49b004efce399f76f084059d50121bb9a9","56f2ade178345811f0c6c4e63584696071b1bd207536dc12384494254bc1c386","72c3535621ce0d03c1f2164ef5b374cea7b0ef74f0a43e4e25c6b196b6ee2531","a9679a2147c073267943d90a0a736f271e9171de8fbc9c378803dd4b921f5ed3","a8a2529eec61b7639cce291bfaa2dd751cac87a106050c3c599fccb86cc8cf7f","bfc46b597ca6b1f6ece27df3004985c84807254753aaebf8afabd6a1a28ed506","29d367403d3770c9f486a4ba87786957a479e93116905c55a22c2d5f9fd1206b","b8f3eafeaf04ba3057f574a568af391ca808bdcb7b031e35505dd857db13e951","30b38ae72b1169c4b0d6d84c91016a7f4c8b817bfe77539817eac099081ce05c","055eb244114cb0c9243e78f682e9e428ba7d2d1a1b96bfdcb1055a10c242fa01","426c3234f768c89ba4810896c1ee4f97708692727cfecba85712c25982e7232b","ee12dd75feac91bb075e2cb0760279992a7a8f5cf513b1cffaa935825e3c58be","bb8ad53203286ff368a4f22c9af9588775243ae6f2dba3b007ec821c09ae8fa5","4763ce202300b838eb045923eaeb32d9cf86092eee956ca2d4e223cef6669b13","7cff5fff5d1a92ae954bf587e5c35987f88cacaa006e45331b3164c4e26369de","3e51868ea728ceb899bbfd7a4c7b7ad6dd24896b66812ea35893e2301fd3b23f","781e8669b80a9de58083ca1f1c6245ef9fb04d98add79667e3ed70bde034dfd5","cfd35b460a1e77a73f218ebf7c4cd1e2eeeaf3fa8d0d78a0a314c6514292e626","452d635c0302a0e1c5108edebcca06fc704b2f8132123b1e98a5220afa61a965","ede58c3483c998fb5ce80f178522a4dd531900262eddd513898f3dba6ee77f0a","b87d65da85871e6d8c27038146044cffe40defd53e5113dbd198b8bce62c32db","ca1159f3677ea301f52a7e302b8ce2b287556d559c3b8c770cf5540bab175be5","5ff885be3e07a88697343a4741ccd8c919102ec096da574ea3f6caa5d8b52b94","c9f17e24cb01635d6969577113be7d5307f7944209205cb7e5ffc000d27a8362","685ead6d773e6c63db1df41239c29971a8d053f2524bfabdef49b829ae014b9a","b7bdabcd93148ae1aecdc239b6459dfbe35beb86d96c4bd0aca3e63a10680991","e83cfc51d3a6d3f4367101bfdb81283222a2a1913b3521108dbaf33e0baf764a","95f397d5a1d9946ca89598e67d44a214408e8d88e76cf9e5aecbbd4956802070","74042eac50bc369a2ed46afdd7665baf48379cf1a659c080baec52cc4e7c3f13","1541765ce91d2d80d16146ca7c7b3978bd696dc790300a4c2a5d48e8f72e4a64","ec6acc4492c770e1245ade5d4b6822b3df3ba70cf36263770230eac5927cf479","4c39ee6ae1d2aeda104826dd4ce1707d3d54ac34549d6257bea5d55ace844c29","deb099454aabad024656e1fc033696d49a9e0994fc3210b56be64c81b59c2b20","80eec3c0a549b541de29d3e46f50a3857b0b90552efeeed90c7179aba7215e2f","a4153fbd5c9c2f03925575887c4ce96fc2b3d2366a2d80fad5efdb75056e5076","6f7c70ca6fa1a224e3407eb308ec7b894cfc58042159168675ccbe8c8d4b3c80","4b56181b844219895f36cfb19100c202e4c7322569dcda9d52f5c8e0490583c9","5609530206981af90de95236ce25ddb81f10c5a6a346bf347a86e2f5c40ae29b","632ce3ee4a6b320a61076aeca3da8432fb2771280719fde0936e077296c988a9","8b293d772aff6db4985bd6b33b364d971399993abb7dc3f19ceed0f331262f04","4eb7bad32782df05db4ba1c38c6097d029bed58f0cb9cda791b8c104ccfdaa1f","c6a8aa80d3dde8461b2d8d03711dbdf40426382923608aac52f1818a3cead189","bf5e79170aa7fc005b5bf87f2fe3c28ca8b22a1f7ff970aa2b1103d690593c92","ba3c92c785543eba69fbd333642f5f7da0e8bce146dec55f06cfe93b41e7e12f","c6d72ececae6067e65c78076a5d4a508f16c806577a3d206259a0d0bfeedc8d1","b6429631df099addfcd4a5f33a046cbbde1087e3fc31f75bfbbd7254ef98ea3c","4e9cf1b70c0faf6d02f1849c4044368dc734ad005c875fe7957b7df5afe867c9","7498b7d83674a020bd6be46aeed3f0717610cb2ae76d8323e560e964eb122d0c","b80405e0473b879d933703a335575858b047e38286771609721c6ab1ea242741","7193dfd01986cd2da9950af33229f3b7c5f7b1bee0be9743ad2f38ec3042305e","1ccb40a5b22a6fb32e28ffb3003dea3656a106dd3ed42f955881858563776d2c","8d97d5527f858ae794548d30d7fc78b8b9f6574892717cc7bc06307cc3f19c83","ccb4ecdc8f28a4f6644aa4b5ab7337f9d93ff99c120b82b1c109df12915292ac","8bbcf9cecabe7a70dcb4555164970cb48ba814945cb186493d38c496f864058f","7d57bdfb9d227f8a388524a749f5735910b3f42adfe01bfccca9999dc8cf594c","3508810388ea7c6585496ee8d8af3479880aba4f19c6bbd61297b17eb30428f4","56931daef761e6bdd586358664ccd37389baabeb5d20fe39025b9af90ea169a5","abb48247ab33e8b8f188ef2754dfa578129338c0f2e277bfc5250b14ef1ab7c5","beaba1487671ed029cf169a03e6d680540ea9fa8b810050bc94cb95d5e462db2","1418ef0ba0a978a148042bc460cf70930cd015f7e6d41e4eb9348c4909f0e16d","56be4f89812518a2e4f0551f6ef403ffdeb8158a7c271b681096a946a25227e9","bbb0937150b7ab2963a8bc260e86a8f7d2f10dc5ee7ddb1b4976095a678fdaa4","862301d178172dc3c6f294a9a04276b30b6a44d5f44302a6e9d7dc1b4145b20b","cbf20c7e913c08cb08c4c3f60dae4f190abbabaa3a84506e75e89363459952f0","0f3333443f1fea36c7815601af61cb3184842c06116e0426d81436fc23479cb8","421d3e78ed21efcbfa86a18e08d5b6b9df5db65340ef618a9948c1f240859cc1","b1225bc77c7d2bc3bad15174c4fd1268896a90b9ab3b306c99b1ade2f88cddcc","ca46e113e95e7c8d2c659d538b25423eac6348c96e94af3b39382330b3929f2a","03ca07dbb8387537b242b3add5deed42c5143b90b5a10a3c51f7135ca645bd63","ca936efd902039fda8a9fc3c7e7287801e7e3d5f58dd16bf11523dc848a247d7","2c7b3bfa8b39ed4d712a31e24a8f4526b82eeca82abb3828f0e191541f17004c","5ffaae8742b1abbe41361441aa9b55a4e42aee109f374f9c710a66835f14a198","ecab0f43679211efc9284507075e0b109c5ad024e49b190bb28da4adfe791e49","967109d5bc55face1aaa67278fc762ac69c02f57277ab12e5d16b65b9023b04f","36d25571c5c35f4ce81c9dcae2bdd6bbaf12e8348d57f75b3ef4e0a92175cd41","fde94639a29e3d16b84ea50d5956ee76263f838fa70fe793c04d9fce2e7c85b9","5f4c286fea005e44653b760ebfc81162f64aabc3d1712fd4a8b70a982b8a5458","e02dabe428d1ffd638eccf04a6b5fba7b2e8fccee984e4ef2437afc4e26f91c2","60dc0180bd223aa476f2e6329dca42fb0acaa71b744a39eb3f487ab0f3472e1c","b6fdbecf77dcbf1b010e890d1a8d8bfa472aa9396e6c559e0fceee05a3ef572f","e1bf9d73576e77e3ae62695273909089dbbb9c44fb52a1471df39262fe518344","fad7dc36fbac24ae2c643c8250bd2f428755258d365cd95943970ba17f9c7c4c","fdcd692f0ac95e72a0c6d1e454e13d42349086649828386fe7368ac08c989288","58fcf404770f5648652d2a9eb02601348fd1d7b7469cb89a97e3044551201e9b","b0641d9de5eaa90bff6645d754517260c3536c925b71c15cb0f189b68c5386b4","9899a0434bd02881d19cb08b98ddd0432eb0dafbfe5566fa4226bdd15624b56f","4496c81ce10a0a9a2b9cb1dd0e0ddf63169404a3fb116eb65c52b4892a2c91b9","ecdb4312822f5595349ec7696136e92ecc7de4c42f1ea61da947807e3f11ebfc","42edbfb7198317dd7359ce3e52598815b5dc5ca38af5678be15a4086cccd7744","8105321e64143a22ed5411258894fb0ba3ec53816dad6be213571d974542feeb","d1b34c4f74d3da4bdf5b29bb930850f79fd5a871f498adafb19691e001c4ea42","9a1caf586e868bf47784176a62bf71d4c469ca24734365629d3198ebc80858d7","35a443f013255b33d6b5004d6d7e500548536697d3b6ba1937fd788ca4d5d37b","b591c69f31d30e46bc0a2b383b713f4b10e63e833ec42ee352531bbad2aadfaa","31e686a96831365667cbd0d56e771b19707bad21247d6759f931e43e8d2c797d","dfc3b8616bece248bf6cd991987f723f19c0b9484416835a67a8c5055c5960e0","03b64b13ecf5eb4e015a48a01bc1e70858565ec105a5639cfb2a9b63db59b8b1","c56cc01d91799d39a8c2d61422f4d5df44fab62c584d86c8a4469a5c0675f7c6","5205951312e055bc551ed816cbb07e869793e97498ef0f2277f83f1b13e50e03","50b1aeef3e7863719038560b323119f9a21f5bd075bb97efe03ee7dec23e9f1b","0cc13970d688626da6dce92ae5d32edd7f9eabb926bb336668e5095031833b7c","3be9c1368c34165ba541027585f438ed3e12ddc51cdc49af018e4646d175e6a1","7d617141eb3f89973b1e58202cdc4ba746ea086ef35cdedf78fb04a8bb9b8236","ea6d9d94247fd6d72d146467070fe7fc45e4af6e0f6e046b54438fd20d3bd6a2","d584e4046091cdef5df0cb4de600d46ba83ff3a683c64c4d30f5c5a91edc6c6c","e79d0c35c071d7d2c8b5b97f7502c017ed9e5bed489f9f414bb4073fc9e596ac","0fdcf43fd0f1d8cacc83da11ba56bda5697fd2be7d3f282141903212169dad34","015ba7d990cac24d4ff045d75e5b1e74edd306223bae571e3862c92cec7e6515","59cd834d4204f5467061c56e16cd3c68eb2d5ce15e27d2b4c0a30a68a9bbb870","a8761b5c12f6b4fdfb6bb5698935397e81df493e15c067752f1193b28ca1aa01","760a3050427dc1e3d3228fbcfb17f5e9f9c62b7a21af098da05e5d7f1c110fd6","cac3a87600ffc325e1e2bff3830e3e9977de05b66e4384f3625e1378222575bb","14826ddd521dfed918eead9e6f65fd33f1d37a1f5723a647c0fcebde5fb2680b","5da3fd402befb210af1893188bd9199d8193bbf24cceeb7bb0c5262eae410ab4","d48ac7569126b1bc3cd899c3930ef9cf22a72d51cf45b60fc129380ae840c2f2","e4f0d7556fda4b2288e19465aa787a57174b93659542e3516fd355d965259712","756b471ce6ec8250f0682e4ad9e79c2fddbe40618ba42e84931dbb65d7ac9ab0","ce9635a3551490c9acdbcb9a0491991c3d9cd472e04d4847c94099252def0c94","b70ee10430cc9081d60eb2dc3bee49c1db48619d1269680e05843fdaba4b2f7a","9b78500996870179ab99cbbc02dffbb35e973d90ab22c1fb343ed8958598a36c","c6ee8f32bb16015c07b17b397e1054d6906bc916ab6f9cd53a1f9026b7080dbf","67e913fa79af629ee2805237c335ea5768ea09b0b541403e8a7eaef253e014d9","0b8a688a89097bd4487a78c33e45ca2776f5aedaa855a5ba9bc234612303c40e","188e5381ed8c466256937791eab2cc2b08ddcc5e4aaf6b4b43b8786ed1ab5edd","8559f8d381f1e801133c61d329df80f7fdab1cbad5c69ebe448b6d3c104a65bd","00a271352b854c5d07123587d0bb1e18b54bf2b45918ab0e777d95167fd0cb0b","10c4be0feeac95619c52d82e31a24f102b593b4a9eba92088c6d40606f95b85d","e1385f59b1421fceba87398c3eb16064544a0ce7a01b3a3f21fa06601dc415dc","bacf2c0f8cbfc5537b3c64fc79d3636a228ccbb00d769fb1426b542efe273585","3103c479ff634c3fbd7f97a1ccbfb645a82742838cb949fdbcf30dd941aa7c85","4b37b3fab0318aaa1d73a6fde1e3d886398345cff4604fe3c49e19e7edd8a50d","bf429e19e155685bda115cc7ea394868f02dec99ee51cfad8340521a37a5867a","72116c0e0042fd5aa020c2c121e6decfa5414cf35d979f7db939f15bb50d2943","20510f581b0ee148a80809122f9bcaa38e4691d3183a4ed585d6d02ffe95a606","71f4b56ed57bbdea38e1b12ad6455653a1fbf5b1f1f961d75d182bff544a9723","b3e1c5db2737b0b8357981082b7c72fe340edf147b68f949413fee503a5e2408","396e64a647f4442a770b08ed23df3c559a3fa7e35ffe2ae0bbb1f000791bda51","698551f7709eb21c3ddec78b4b7592531c3e72e22e0312a128c40bb68692a03f","662b28f09a4f60e802023b3a00bdd52d09571bc90bf2e5bfbdbc04564731a25e","e6b8fb8773eda2c898e414658884c25ff9807d2fce8f3bdb637ab09415c08c3c","528288d7682e2383242090f09afe55f1a558e2798ceb34dc92ae8d6381e3504a","e4a66dc0ae6332340657716c07b848a86500d665eb4cb41db94ab6c4adc07093","4e94410c76baf82f03d1a2f7be0179d059409a9b1f073879ecfe56211c2db0dd","c0c3630f2e945c1de1e320888d7f30333b7774e3bc3aef411eb141fa31b1777d","a900de8ae988ad0ef1f03127d54a31facf07db7970b91047d78815c7acd238ca","c73e51d41d9839c08b4dc66e9d76ad7f487a7369387ae320084d07183a74f8cf","fc9586df78a6904eacfc2bdbb5bda3eb276c972eefebd8044e545ee705ffda7a","5971df533a260b67caba307846848d4166ad403e13eecbbe9bee1f72c99457af","806a3c2c16f4289f1444d3679c66dfa23f128cf5b7ea7938486b34465350d0bb","4837509e8acec2a385b85cc9c1564777e1044e96a0aa9a487c9e3c00f75b0d1c","f8053df0118e093ad6d579c4e04a47c41201f302c5439253f78f45866af6513a","67dec6886768c7157d0c707faefa964fd87e3d43677fb49e2131dd996c847ecf","a513bd5df5bbce9d96178a5004e8772946964cd789edfcfa5b7458d1e2eec357","ca97c250244cab0ebdcea34c5324d0e71be269d6eeccac7684f66716264f2975","88b9b8cb7ec68c9ca701d91f3eb7ce12bff28d9ffbe011d555a073c9a758dd90","217729e60dc3e4e6d8ba15d9accc1b6416cb1f6ed2069c4a9e2b6eaef11966f2","eb197fa6e1b0ddc57661546071ae7dc1aca673e2e43f18e9ce0eb6c7f235b101","65a642ee1b4fa894143c809fc2d117beea9a32c0c4d8ded3c5dec206adec2813","87f1c499e6e43c69877ce2f3d05e56a426bb56dd68d11f3c148ebeadbd6d38d8","ef99225ceb0d37954a9b0b7f792eab4b02a4afd2020323a08ef58e174b56e384","494cd93d122826fafecbe2cef3216d68c1acbf3490552518884a46c4771e990e","9b6e1f902021702448b14b40c51614ad79ccd1a5063514e9924811cbec8fa2a6","69585fbd3dc82f36d9e40abc40b90a53b1d02741f6caa9eb8b9af0cbf1c6c5df","a2536fb046bf63eac7f280e2c8d1abfb983ebb4ec872a49796173f1b806b8d87","205609c63916dffddf9516511cbfa5ecaa736d9fe16ce478ee369386fa4e008e","88b9b8cb7ec68c9ca701d91f3eb7ce12bff28d9ffbe011d555a073c9a758dd90","1e3e960d3396c6474e361aa0f247188dfaae422fca1a885f068940068833820a","934c0ba34c032e70786f3612d06e9defdf44c53922cd9891a0b95555416d6e50","52ab50707b9fb2063b10b652cc77fbe9f69e242acdb93480d5d804fcdf1e5e17","ec3f65422b7f3382af2e510c1d036ba0d53c22aa25fb4cc3e216f7616ac0f85a","5826b74197b8e8abd0b3caef29f5df05d59a51b86daf8b3014feb5e550ef4050","9c77e17374e0a69994367d3fd6b1c38a439efc0c1893d2d9349091a744a4a26d","8aba8b3d502aba6cc1fd103b1d4e36efb95f3cc0cd8a8f835627035cb845269a","174aa64477f19260c10a029ee3979cdfeefca1c121f0c2418fd274f1124ac791","4ec4f7d878b5df87a620d02d2346c6b7b734fbcfbd87c4de5a15ddf46e0187f2","0e65bc93c314da5dd99df2f007c9565334fcaed06f68294f864840275e838ba9","d95da726ca1e9c9d6a4cd61e7eda9c8cc79e870ae0a16acb6ce9947e87a2772b","de0c34d8f1841892beb9b80b19523d04842c3a7ab4b3412d9f4f52da059cc541","8e0396b1a41838f0e226609d9da9894bf8f1ed91168e5cc43a40170c855435fc","1eca959a3534d757121a29f87031e924f5647e9667a543e8b068a373c761e1c4","3c1fe170531bdf35b1dfe3a1f4000f0d5265d94f6089fffa784a0c3db11de4c9","e1d86bff5598c66e0e89d22509d2734a798be009b77dd2f03360b5c2b4b98776","195ecdcb86d2610a2db97d28d419001085fae9b0a5d76ed163aa8234c448c5eb","8c49425c457b039bce226af28535070427956f9c0240058789f0a553c719100e","2eaa161a16fe4bafed6d687e5fe28c917ab956242a1146b0cd9e763ff6bbdbbe","99a8e54855bc74445f30f000e064f0ae02c70e4b4bfc7391a8e226613fef496b","1f59fb0bd1947df762847d66f52eef7bd15da42c2e5fed5d4444f61067a915d4","287e21add48686cb7fb010f4d36a55a6fe94db52be6604c4bd4b459be69377bf","0fb4e9ab76972782e9cf80b8601814bb6791ee63b74235008c9c33a4e39c1f40","055bdd0e7c988df7db9cca58639389a1445d1abfaabc1c4f5bf47b82a78aaf17","8201128b0472de00f0b8573450bdc8f109ce2db5e5bb133147e0bd62469ed913","ef54281e44853afcccdae512683f0214b217216726f215f050ef22cf3831f08c","0af72ed3399e7bbed2138a95ce2f6c7c7f5572818d6edb65f64ed33fc320fbae","6be8a3793203926e581bbe5b99bb98fa0da55888493704152ae91c2bbd3270e1","d76a1f4d45ecda5cd185ec822bd3c69fa00ae4ce3de4218bd8e8b371769a0bd9","fb0b8171f88ba93d5469e97ff80a8543b132d9314c50ed03fa87a3bc06f32f84","9ae8c45b0449bd937718439a30e6f5338c607da6c38349d3c7d00d14c1e34839","47abbfbfc888449ddf4e3c107766988aa14d1209d2aa2f7a00040a88a75a23fe","ba6da6d3e825b98d7cc529579c5dad44f9d0e538ab5f222f7007787b8ba4659c","b4901c24011e8ac0d39e6d7bfcb7999471fdcd5e35401281104d6fd2cc408fd2","2e69fc64ceeb87116f5f6d9f15fb38c93bdea08ed38e1f821ba88db84dfed2e3","65110ce0e18bd7dd5f5c333c98c6f3b4eb4e10b4f9297243df3124ca6e585a79","fb584e728c84544318fcccddc86c590f74c462f11f0ca998a019b5d1086976d0","35ab2b72f362d8980b26392301eea87c9dafbf2e801fd9138e741b3927a09fea","d965e8f0fea860f2c1fd922339186a18133d167b06dbf8d0a2d438245e8b9adf","b9d3e135603ceb9d4bdbe0e6d691fe7aa0f6acaed67fc86792672ff70a2fb033","3536ca6db420149c49cdb12463cf364a374ae916a290a8cf6259bf865145bacf","f019273f2dfcc70b083e83315d78b1f3e9b71b70c3669c8e6cd1e8636a52a02f","47d7ffee7912708409bf2bf9a225d6546e3de7bd581766f43ac0a153c74ae2ad","21522c0f405e58c8dd89cd97eb3d1aa9865ba017fde102d01f86ab50b44e5610","6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","78828b06c0d3b586954015e9ebde5480b009e166c71244763bda328ec0920f41","4b4c4c74c41b52cada66c85638633d2b0fe7c43445daf877cfddb310d3f5e998","febcc45f9517827496659c229a21b058831eef4cf9b71b77fd9a364ae12c3b9e","de8877483ce1e67bced3ad1f4ac877fd5066f8465ab6a9e8b716662d727553e5","9dffc5c0859e5aeba5e40b079d2f5e8047bdff91d0b3477d77b6fb66ee76c99d",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"a1c79f857f5c7754e14c93949dad8cfefcd7df2ecc0dc9dd79a30fd493e28449","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","dea2650c477f53d503a27f78ed17b13d7184c2f922eb4d3367ccf52634765467","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","19f1159e1fa24300e2eaf72cb53f0815f5879ec53cad3c606802f0c55f0917e9","963d59066dd6742da1918a6213a209bcc205b8ee53b1876ee2b4e6d80f97c85e","9c5c92b7fb8c38ff1b46df69701f2d1ea8e2d6468e3cd8f73d8af5e6f7864576","bf88ef4208a770ca39a844b182b3695df536326ea566893fdc5b8418702a331e","cddf5c26907c0b8378bc05543161c11637b830da9fadf59e02a11e675d11e180","3d2cd8f3047fff04a71e7037a6a4cb9f4accb28dbd8c0d83164d414811025af0","bfe1b52cf71aea9bf8815810cc5d9490fa9617313e3d3c2ee3809a28b80d0bb4","ee65fe452abe1309389c5f50710f24114e08a302d40708101c4aa950a2a7d044","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"5774751340e987a6a9e4a5dcc03ff68a6515adc2b91423e1af2f660fc8f30e81","bb5c385d6290f1ad2da7576e186810f23dce6d6bc7fb38ad565a4eb8cfed3541","6571f33cd3c23ee70fb48839c9a7486381cd3f439e17d97d10fc908e41468052","c757372a092924f5c16eaf11a1475b80b95bb4dae49fe3242d2ad908f97d5abe","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","626bccaba2f61f03abe558a39501631565389a748bc47dd52b305c80176333c1","3663d1b50f356656a314e5df169bb51cb9d5fd75905fa703f75db6bb32030568","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","df38da6685578ac3d0e4ce2d20f3d59462ee53959b8263d2532ec9cec48ae098","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","c0a3ea3aee13c4946a6aefce3a6ab9292a40a29f6622cde0fda0b1067a1a1f5f","bd85e061719661505dc7c273cb72a4c7fba05fb4e24520e8caca9f9f074462c3",{"version":"fd624f7d7b264922476685870f08c5e1c6d6a0f05dee2429a9747b41f6b699d4","affectsGlobalScope":true},"bc0fcbd1d24fc838fbbadaef30b05ff0c49d3a1f4037e9534d0b93907a071bc5","7ccce4adb23a87a044c257685613126b47160f6975b224cea5f6af36c7f37514","2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","b9f96255e1048ed2ea33ec553122716f0e57fc1c3ad778e9aa15f5b46547bd23","7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3","38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","a1a261624efb3a00ff346b13580f70f3463b8cdcc58b60f5793ff11785d52cab","61f41da9aaa809e5142b1d849d4e70f3e09913a5cb32c629bf6e61ef27967ff7","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","e9eb1b173aa166892f3eddab182e49cfe59aa2e14d33aedb6b49d175ed6a3750"],"options":{"esModuleInterop":true,"jsx":1,"module":99,"noImplicitAny":true,"skipLibCheck":true,"strict":true,"target":99},"fileIdsList":[[115,602],[115,199,200,602],[115,602,831],[115,348,349,352,353,354,602],[115,347,348,352,353,355,602],[115,346,348,349,350,352,353,602],[115,348,352,353,602],[115,347,348,349,352,353,354,355,356,357,358,359,602],[115,346,347,348,602],[115,348,602],[115,348,350,352,602],[115,346,348,349,602],[115,348,349,350,351,602],[115,346,347,602],[115,363,602],[115,362,602],[115,360,602],[62,115,361,602],[62,115,361,602,692],[115,602,694],[115,602,692,693,695],[115,602,696],[62,115,602,1384],[115,602,1386],[115,602,1384],[115,602,1384,1385,1387,1388],[115,602,1383],[62,115,602,1330,1344,1360,1377,1389,1414,1417,1418],[115,602,1418,1419],[115,602,1344,1377],[62,115,602,1421],[115,602,1421,1422,1423,1424],[115,602,1344],[115,602,1421],[62,115,602,1344],[115,602,1426],[115,602,1427,1429,1431],[115,602,1428],[62,115,602],[115,602,1430],[62,115,602,1330,1344],[62,115,602,1417,1432,1435],[115,602,1433,1434],[115,602,1330,1344,1383,1420],[115,602,1435,1436],[115,602,1389,1420,1425,1437],[115,602,1377,1439,1440,1441],[62,115,602,1383],[62,115,602,1330,1344,1377,1383],[62,115,602,1344,1383],[115,602,1345,1346,1361,1362,1363,1364,1365,1366,1367,1368,1369,1370,1371,1372,1373,1374,1375,1376],[115,602,1344,1383],[115,602,1360,1361],[115,602,1344,1379],[115,602,1309,1344],[115,602,1330],[115,602,1360],[115,602,1443],[115,602,1344,1360,1383,1414,1417,1438,1442],[115,602,1330,1415],[115,602,1415,1416],[115,602,1330,1344,1383],[115,602,1347,1348,1349,1352,1354,1356,1359],[115,602,1357,1358],[115,602,1347,1357],[115,602,1344,1347],[115,602,1353],[62,115,602,1347,1352],[115,602,1350,1351],[62,115,602,1347,1350],[115,602,1355],[62,115,602,1339,1344,1383],[115,602,1347],[62,115,602,1379],[115,602,1379,1380,1381,1382],[115,602,1379,1380],[62,115,602,1330,1339,1344,1377,1378,1380,1438],[115,602,1331,1339,1383],[115,602,1331,1332,1340,1341,1342,1343],[62,115,602,1330],[115,602,1333],[115,602,1333,1344],[115,602,1333,1334,1335,1336,1337,1338],[115,602,1390,1391,1392],[115,602,1339,1393,1400,1402,1413],[115,602,1401],[115,602,1330,1344],[115,602,1394,1395,1396,1397,1398,1399],[115,602,1343],[115,602,1403,1404,1405,1406,1407,1408,1409,1410,1411,1412],[115,602,1444,1445,1446,1447,1448,1449,1450],[115,602,1457],[62,115,602,1443,1456],[115,602,1459],[115,602,1459,1460,1461],[115,602,1330,1443],[62,115,602,1330,1377,1443,1456,1459],[115,602,1456,1458,1462,1467,1470,1477],[115,602,1469],[115,602,1468],[115,602,1456],[115,602,1463,1464,1465,1466],[115,602,1452,1453,1454,1455],[115,602,1443,1453],[115,602,1471,1472,1473,1474,1475,1476],[115,602,1309],[115,602,1309,1310],[115,602,1313,1314,1315],[115,602,1317,1318,1319],[115,602,1321],[115,602,1298,1299,1300,1301,1302,1303,1304,1305,1306],[115,602,1307,1308,1311,1312,1316,1320,1322,1328,1329],[115,602,1323,1324,1325,1326,1327],[115,286,602],[62,115,288,602],[62,115,602,705,706],[62,115,602,705,706,708],[62,115,602,705,706,708,716],[115,602,707,709,710,711,712,713,714,715,717,718,719,720],[62,115,602,705],[115,602,998,999],[115,602,823,984,997],[115,602,998],[115,602,824,825],[115,574,602,823],[115,602,824],[115,479,482,602],[115,479,480,602],[115,479,480,482,602],[115,479,481,602],[115,482,602],[115,479,493,602],[115,480,602],[115,480,498,602],[115,479,500,602],[115,500,602],[115,479,602],[115,480,482,483,484,485,486,494,495,496,497,499,500,501,502,503,504,505,506,507,508,509,602],[115,506,602],[115,482,497,602],[115,479,481,482,602],[115,479,487,602],[115,487,488,489,490,491,492,602],[115,479,489,602],[115,478,602],[62,115,581,583,584,602],[62,115,597,602],[62,115,597,598,602],[62,115,581,583,602],[62,115,597,598,602,604,605,609],[62,115,597,598,602,630],[62,115,597,598,602,604,608,609],[62,115,597,598,602,604,605,608,609,629],[62,115,597,598,602,604,605,608,609],[62,115,597,598,602,606,607],[62,115,597,598,602,629],[115,602,958],[115,602,945,946,947],[115,602,945],[115,602,840,949,950,951,952,953,954,955,956,957],[115,602,949,952],[115,602,949],[115,602,840],[115,602,949,950,951,952,954,955],[115,602,949,950,951],[62,88,115,602,830,836,846,948],[62,115,602,848,849,928],[62,115,602,848],[88,115,602,830,836,846,847],[115,211,602],[115,216,218,221,222,602],[115,212,213,214,216,217,218,219,220,221,222,223,224,225,226,227,228,229,602],[115,212,216,218,222,602],[115,214,215,219,220,222,602],[115,211,217,218,219,221,222,602],[115,211,218,221,222,602],[115,211,212,216,218,222,602],[115,212,213,214,215,222,602],[115,211,212,216,217,218,222,602],[115,213,214,216,217,220,222,602],[115,211,216,218,222,602],[115,222,602],[115,213,214,216,217,220,221,223,602],[115,216,221,222,602],[62,115,230,231,602],[115,210,230,231,232,233,234,235,236,237,238,239,240,241,602],[62,115,230,602],[115,230,231,602],[115,602,831,832,833,834,835],[115,602,831,833],[88,115,122,602,844],[88,115,122,602],[115,602,1548],[115,602,1555,1557],[115,602,1554,1555,1556],[85,88,115,122,602,838,839,840],[115,602,840,841,843,845],[85,86,115,122,602,1560],[86,115,122,602],[115,602,1563],[115,602,1567],[115,602,1568],[115,602,1571,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583],[115,602,1571,1572,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583],[115,602,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583],[115,602,1571,1572,1573,1575,1576,1577,1578,1579,1580,1581,1582,1583],[115,602,1571,1572,1573,1574,1576,1577,1578,1579,1580,1581,1582,1583],[115,602,1571,1572,1573,1574,1575,1577,1578,1579,1580,1581,1582,1583],[115,602,1571,1572,1573,1574,1575,1576,1578,1579,1580,1581,1582,1583],[115,602,1571,1572,1573,1574,1575,1576,1577,1579,1580,1581,1582,1583],[115,602,1571,1572,1573,1574,1575,1576,1577,1578,1580,1581,1582,1583],[115,602,1571,1572,1573,1574,1575,1576,1577,1578,1579,1581,1582,1583],[115,602,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1582,1583],[115,602,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1583],[115,602,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582],[115,602,1585,1586],[88,114,115,122,602,1588,1589],[88,103,115,122,602],[69,115,602],[72,115,602],[73,78,106,115,602],[74,85,86,93,103,114,115,602],[74,75,85,93,115,602],[76,115,602],[77,78,86,94,115,602],[78,103,111,115,602],[79,81,85,93,115,602],[80,115,602],[81,82,115,602],[85,115,602],[83,85,115,602],[85,86,87,103,114,115,602],[85,86,87,100,103,106,115,602],[115,119,602],[88,93,103,114,115,602],[85,86,88,89,93,103,111,114,115,602],[88,90,103,111,114,115,602],[69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,602],[85,91,115,602],[92,114,115,602],[81,85,93,103,115,602],[94,115,602],[95,115,602],[72,96,115,602],[97,113,115,119,602],[98,115,602],[99,115,602],[85,100,101,115,602],[100,102,115,117,602],[73,85,103,104,105,106,115,602],[73,103,105,115,602],[103,104,115,602],[106,115,602],[107,115,602],[85,109,110,115,602],[109,110,115,602],[78,93,103,111,115,602],[112,115,602],[93,113,115,602],[73,88,99,114,115,602],[78,115,602],[103,115,116,602],[115,117,602],[115,118,602],[73,78,85,87,96,103,114,115,117,119,602],[103,115,120,602],[115,368,602],[115,365,366,367,602],[62,115,602,1565,1596],[58,59,60,61,115,602],[115,602,661],[115,602,651],[115,602,650],[115,602,649],[115,602,651,653,654,655,656,657,658,659],[115,602,649,651],[115,602,651,652],[115,602,647,648,649,651,660],[115,602,647],[115,602,1599,1638],[115,602,1599,1623,1638],[115,602,1638],[115,602,1599],[115,602,1599,1624,1638],[115,602,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1611,1612,1613,1614,1615,1616,1617,1618,1619,1620,1621,1622,1623,1624,1625,1626,1627,1628,1629,1630,1631,1632,1633,1634,1635,1636,1637],[115,602,1624,1638],[86,103,115,122,602,837],[88,115,122,602,837,842],[115,602,1641],[115,326,602],[115,326,327,328,329,330,331,332,333,602],[115,327,602],[115,326,327,602],[115,326,327,328,602],[115,334,339,602],[115,339,341,342,343,602],[115,334,339,340,602],[115,334,602],[115,334,335,336,337,602],[115,334,335,602],[115,334,338,344,602],[115,334,338,344,345,602],[115,589,602],[115,602,829],[62,115,477,510,602],[115,203,206,207,602],[62,115,602,641],[67,115,602],[115,176,602],[115,178,602],[115,126,129,165,602],[115,131,602],[115,124,137,602],[115,124,137,138,602],[115,124,602],[62,114,115,122,602],[62,115,137,171,602],[62,115,137,602],[115,169,173,602],[62,115,170,175,602],[115,125,602],[62,115,166,175,602],[62,115,175,602],[88,115,122,130,175,602],[88,115,122,129,131,602],[88,103,115,122,130,131,135,602],[88,99,114,115,122,125,126,127,129,130,131,133,135,136,137,140,147,148,150,152,153,154,156,158,165,602],[115,124,126,127,128,165,602],[115,129,602],[99,114,115,122,126,129,130,131,133,136,146,151,153,155,159,161,162,602],[88,114,115,122,129,135,158,602],[115,123,165,175,602],[88,99,114,115,122,126,129,130,133,135,136,139,140,146,147,148,150,151,152,154,155,158,159,160,175,602],[88,115,122,135,161,163,602],[62,88,99,115,122,125,127,131,135,140,152,153,165,602],[88,99,114,115,122,130,134,602],[115,157,602],[115,122,140,602],[99,115,122,125,126,130,133,135,602],[88,115,122,140,149,602],[88,115,122,130,150,602],[115,146,602],[115,143,602],[115,129,141,142,146,602],[115,129,141,142,602],[115,129,134,143,144,145,602],[62,115,123,152,165,175,602],[62,99,114,115,122,125,168,170,172,175,602],[115,130,133,137,602],[99,115,122,602],[115,132,602],[62,88,99,115,122,125,165,166,167,173,174,602],[57,62,63,64,65,115,165,206,602],[115,180,602],[115,182,602],[115,184,602],[115,186,602],[115,188,602],[66,68,115,165,177,179,181,183,185,187,189,191,192,194,197,198,602],[115,190,602],[115,170,602],[115,193,602],[115,143,144,145,146,195,196,602],[115,122,602],[62,66,88,99,115,122,125,131,164,175,206,602],[115,433,602],[115,432,433,602],[115,432,602],[115,432,433,434,435,436,437,438,440,441,442,443,444,445,446,447,448,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,602],[115,439,602],[115,458,602],[62,115,602,810],[115,602,810,811,813,814,815,816,817,818,819,822],[115,602,810],[115,602,812],[62,115,602,808,810],[115,602,805,806,808],[115,602,801,804,806,808],[115,602,805,808],[62,115,602,797,798,801,802,803,805,806,807,808],[115,602,798,801,802,803,804,805,806,807,808,809],[115,602,805],[115,602,799,805,806],[115,602,799,800],[115,602,804,806,807],[115,602,804],[115,602,801,806,807],[115,602,820,821],[62,66,115,165,203,204,205,206,207,602],[62,115,203,206,207,602],[115,449,602],[115,449,450,451,452,453,454,455,456,457,602],[115,512,513,514,515,516,517,518,519,520,602],[115,512,515,602],[115,514,515,602],[115,515,602],[115,512,602],[115,602,850,851,852,853,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879,880,881,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,897,898,899,900,901,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927],[115,602,876],[115,602,876,889],[115,602,854,903],[115,602,904],[115,602,855,878],[115,602,878],[115,602,854],[115,602,907],[115,602,887],[115,602,854,895,903],[115,602,898],[115,602,900],[115,602,850],[115,602,870],[115,602,851,852,891],[115,602,911],[115,602,909],[115,602,855,856],[115,602,857],[115,602,868],[115,602,854,859],[115,602,913],[115,602,855],[115,602,907,916,919],[115,602,855,856,900],[115,602,751,765,767,771,773,774],[115,602,759,760,767,773],[115,602,773],[115,602,751,755,757,758,760,763,765,767,772,774],[115,602,750],[115,602,750,751,755,757,758,759,760,763,764,765,767,771,772,773,775,776,777,778,779,780,781],[115,602,754,757,763],[115,602,754,755,757,758,766,767,771,773],[115,602,760,767],[115,602,755,757,758,763,766,771,772,773],[115,602,754,755,757,758,760,761,762,766,767,771,772],[115,602,754,767,771],[115,602,766,767,773],[115,602,754,755,756,760,763,766,767,771],[115,602,750,752,753,755,759,760,763,764,767,774],[115,602,751,755,767,771],[115,602,771],[115,602,768,769,770],[115,602,752,765,767,773,775],[115,602,759,763,765,767],[115,602,759,765],[115,602,755,757,758,760,761,765,766,767],[115,602,754,758,759,782],[115,602,754,755,757,759,760,763,766],[115,602,765,772,773],[115,602,755,757,758,763,767,772,773],[115,602,977,981,983,984,985,986],[115,602,981,983,985,986],[115,602,977,985],[115,602,977,981,983,985,986],[115,602,977,979,980,981,983,984,985,987,988,989,990,991,992,993,994,995,996],[115,602,978,981,983,985],[115,602,985],[115,602,983],[115,602,977,978,980,981,982,985],[115,602,986],[115,602,983,984],[115,602,977,979,983,985],[115,602,977],[115,573,602],[115,564,565,602],[115,562,563,564,566,567,571,602],[115,563,564,602],[115,572,602],[115,564,602],[115,562,563,564,567,568,569,570,602],[115,562,563,573,602],[115,602,1281,1282],[115,602,1281],[115,287,289,312,530,602,691,701],[115,244,245,602],[62,115,189,288,289,602],[62,115,206,602,721,724],[62,115,192,206,602,721,722,724],[62,115,602,704,721,724],[62,115,602,704,721,724,729],[62,115,602,704,721],[62,115,206,602,721],[62,115,602,721],[62,115,192,530,602,721],[115,287,289,602],[62,115,269,287,289,602],[62,115,287,289,602,721],[62,115,287,289,602,688],[62,115,192,255,269,287,420,530,537,602,691,724,734,739],[115,602,721],[62,115,287,289,602],[62,115,602,737,738],[115,602,737],[62,115,192,287,289,532,602,721],[115,206,602],[115,602,691],[62,115,269,287,289,602,745,746],[62,115,206,287,289,602,724],[62,115,287,532,534,535,602,721,724],[62,115,189,206,268,269,287,289,602,703,724,739,782],[62,115,206,287,289,602,721],[115,287,289,532,602,741,747,748],[115,191,192,287,289,530,602,691],[115,192,287,289,530,602,691],[115,602,698,699,700],[62,115,427,602,691,697],[62,115,287,289,521,602],[62,115,431,602,691,697],[62,115,192,202,554,602],[62,115,206,420,602,691,703,788],[115,206,266,287,289,292,553,602,691,739],[62,115,191,206,420,602,691],[115,191,192,206,287,289,602,691,792,793],[62,115,192,206,285,420,549,602,691],[62,78,115,206,247,248,252,253,255,256,279,287,289,324,551,552,560,602,691,704],[62,115,287,289,420,530,574,602,691,739,823,826],[115,602,827],[78,115,248,252,253,255,256,602],[115,247,248,252,256,259,260,602],[115,247,248,252,256,259,602],[115,273,602],[115,249,602],[115,276,277,602],[115,253,254,602],[78,115,248,252,253,266,602],[115,265,602],[115,245,602],[62,115,192,281,530,602],[115,532,602],[115,532,533,602],[78,115,255,321,532,602],[115,243,602],[115,244,245,246,602],[115,587,602,929],[62,115,287,289,521,586,602],[115,587,602],[115,287,289,591,602,929],[62,115,287,289,521,590,602],[115,591,602],[115,287,289,593,602,929],[62,115,521,590,602],[115,593,602],[115,595,602,929],[62,115,521,602],[115,595,602],[115,600,602,929],[62,115,287,289,521,599,602],[115,600,602],[62,115,511,521,602],[115,522,602],[115,602,615,929],[115,287,289,594,602,603,610,614],[115,602,615],[62,115,292,594,602,619,621,624],[115,602,625],[115,594,602,627,929],[62,115,287,289,521,590,596,602,612,622],[115,602,627],[115,287,289,602,612,632,929],[62,115,521,602,631],[115,602,632],[115,594,602,624],[115,602,634],[115,602,636,929],[62,115,287,288,289,521,602],[115,602,636],[115,602,618,620,929],[62,115,287,289,521,602,617],[115,602,618],[115,288,289,602,638],[115,602,744],[115,594,602,639,929],[62,115,521,602,638],[115,602,639],[115,287,289,602,611,929],[115,602,611],[115,523,588,592,594,596,601,602,612,614,616,619,621,624,626,628,633,635,637,640,644,646,664,667,669,671,673,676,678,681,683,685,688,690],[115,602,620],[115,287,289,602,620,929],[115,602,643],[115,602,643,929],[62,115,511,521,602,642],[115,602,623],[115,594,602,623,929],[62,115,287,289,521,596,602,612,622],[115,602,645],[115,602,645,929,959],[115,287,289,521,602,612,633],[115,602,746],[115,287,289,602,610],[115,602,613],[115,594,602,613,929],[62,115,287,289,521,602,610,612],[115,602,663],[62,115,292,521,602,662],[115,602,668],[62,115,602,665,668,929],[62,115,287,288,289,521,602,665,667],[115,602,670],[115,602,670,929],[115,521,602],[115,602,666],[115,602,672],[115,602,675],[115,602,675,929],[62,115,521,602,674],[115,602,677],[115,602,677,929],[62,115,521,602,671],[115,602,680],[115,521,602,679],[115,602,682],[115,602,684],[115,602,684,929],[115,602,687],[115,602,687,929],[62,115,521,602,686],[115,602,689],[115,420,530,594,602,624],[115,243,247,249,602],[62,115,192,202,243,292,420,602],[115,421,602],[115,422,425,427,429,431,525,527,529,602],[115,424,602],[62,115,420,423,602],[115,370,426,602],[62,115,370,420,423,425,602],[115,361,602],[115,371,430,602],[62,115,371,420,429,602],[115,524,602],[62,115,192,295,420,523,602],[115,526,602],[62,115,420,423,425,602],[115,528,602],[115,428,602],[62,115,192,315,420,602],[115,247,602],[115,253,255,602],[78,115,255,273,316,321,398,536,602],[115,602,970,972],[115,602,969],[62,115,287,289,361,521,530,602],[115,602,971],[115,296,297,602],[115,242,250,272,295,296,602],[115,242,250,295,602],[115,293,602],[115,242,250,270,273,602],[115,299,602],[115,301,602],[115,242,250,300,602],[115,252,602],[115,242,243,250,251,602],[115,305,602],[115,242,250,304,602],[115,308,602],[115,242,250,307,602],[115,294,298,302,303,306,309,318,320,322,325,375,379,384,389,393,397,399,400,402,404,407,409,412,414,418,419,602],[115,317,602],[115,242,250,310,316,602],[115,319,602],[115,242,250,311,316,602],[115,321,602],[115,242,250,271,602],[115,324,602],[115,242,250,323,602],[115,373,374,602],[115,242,250,372,373,602],[115,242,250,272,346,361,364,369,370,371,372,602],[115,377,378,602],[115,242,250,376,377,602],[115,242,250,376,602],[115,382,383,602],[115,242,250,381,382,602],[115,242,250,255,271,313,380,381,602],[115,271,312,313,376,602],[115,388,602],[62,115,242,250,386,387,602],[115,391,392,602],[115,242,250,390,391,602],[62,115,242,250,255,390,602],[115,271,313,602],[115,395,396,602],[115,242,250,394,395,602],[62,115,242,250,255,394,602],[115,380,398,602],[78,115,242,250,255,313,380,382,386,602],[62,115,242,250,255,271,313,602],[115,271,312,602],[115,386,602],[115,242,250,255,313,385,602],[115,548,602],[115,242,250,547,602],[115,401,602],[115,242,250,314,316,602],[115,403,602],[115,242,250,602],[115,406,602],[115,242,250,405,602],[115,408,602],[115,242,250,312,602],[115,411,602],[115,242,250,410,602],[115,251,271,272,307,310,311,312,313,314,315,323,376,381,387,390,394,405,415,602],[115,273,413,602],[115,242,250,255,272,316,602],[115,242,243,250,270,272,602],[115,271,602],[115,416,417,602],[115,242,250,415,416,602],[115,242,250,415,602],[115,316,602],[115,242,250,272,310,311,313,314,315,602],[115,282,283,284,285,290,291,602],[62,115,192,202,602],[115,203,206,207,208,602],[115,189,191,192,206,287,289,420,530,602,631,691,792],[115,602,975],[62,78,115,189,191,192,206,255,275,287,289,292,321,420,530,602,631,691,701,739,792,823,997,1000,1002],[62,115,189,192,203,206,207,269,287,289,420,530,602,721,792,793],[115,602,1003],[115,602,976,1004],[78,115,248,252,253,255,551,552,602],[115,187,189,191,602],[62,115,177,192,202,209,242,243,260,288,530,602,691,739,1005,1008],[115,187,206,602,1005,1053],[115,187,206,602,1058],[115,187,189,602],[62,115,192,420,602],[62,115,187,602],[62,115,192,602],[115,187,206,602,1060,1070],[62,115,187,189,191,192,287,289,420,602,691],[62,115,187,189,191,192,287,289,318,419,420,602,691,1014],[62,115,192,318,419,420,602,691,1014],[62,115,192,420,602,1014],[62,115,187,189,191,192,287,289,318,419,420,511,602,691,1014],[62,115,192,420,602,691],[62,115,192,318,420,602,691,1014],[62,115,187,189,191,192,287,289,420,602,691,823,997,1000],[62,78,115,187,189,191,192,287,289,420,602,691,792,823,997,1000],[62,115,187,189,191,192,287,289,292,318,419,420,511,602,691,823,997,1000,1014],[78,115,187,189,191,287,289,420,602,691,823,997,1000],[115,187,189,191,192,287,289,318,419,420,602,691,823,997,1000,1014],[62,115,187,189,191,192,287,289,317,318,419,420,511,602,691,1014],[115,187,189,191,206,602,1147],[62,115,192,247,602],[115,187,189,191,192,206,602,1147],[115,187,206,530,602,973,1177],[115,187,206,602,1189],[62,78,115,187,191,192,206,255,274,285,287,288,289,321,420,530,549,602,679,691,701,739,792,793,823,973,997,1000],[62,115,187,192,530,555,556,558,602,691,701,973,1194],[115,187,206,602,1214],[115,187,206,602,1217],[62,78,115,189,192,248,252,253,255,278,287,289,420,602,704,724,1014],[115,187,206,602,1046],[115,187,206,602,1224],[115,187,206,602,1236],[115,187,206,602,1245],[115,187,206,602,1271],[115,187,206,602,1278],[115,187,206,602,1491],[115,187,206,602,1501],[115,187,206,602,1527],[62,115,187,189,192,206,247,324,420,530,549,602,789,790,791,794,795,796],[115,187,189,192,206,602,1536],[62,78,115,187,189,191,192,247,248,252,253,255,256,279,280,287,289,324,551,552,602,704,724,1014],[62,115,187,189,191,292,420,549,602,691,704,724],[115,242,602],[115,259,560,602],[115,255,258,602],[115,546,602],[62,115,192,420,530,602,691],[115,602,1052],[115,206,287,289,292,602,691],[115,602,1055],[115,602,1057],[62,115,192,243,247,256,266,420,511,530,553,574,602,691,739,823,826,1056],[115,206,287,289,292,423,530,602,691,739],[115,602,1061],[115,602,1063],[115,602,1066],[115,191,287,289,292,423,530,602,691,701,1065],[115,602,1069],[78,115,255,423,602],[62,115,192,206,292,420,423,530,602,691,739,973,1062,1064,1067,1068],[115,602,1136,1139,1141,1143],[115,602,1135],[62,115,191,192,206,249,261,263,287,289,530,602,691,703,739,792,1134],[115,602,1138],[62,115,192,206,249,262,264,272,273,303,420,602,691,703,739,788,1134,1137],[115,602,1142],[62,115,191,192,206,249,261,263,273,420,602,691,739,1134,1137],[115,602,1140],[62,115,206,602,691],[115,602,1145,1146],[62,115,192,243,249,273,602,1134,1144],[115,192,324,602],[62,115,602,1137,1144],[62,115,192,420,574,602,691,739,823,826],[115,602,1001],[115,602,1179],[62,115,192,255,287,289,292,372,420,530,549,602,691,701,739,823,997,1000],[115,602,1186],[115,602,1183],[115,287,289,292,372,420,530,575,602,691,739,823,826,1181,1182],[115,372,574,602],[62,115,288,289,292,511,521,575,602,691,823],[62,115,287,289,292,511,521,575,602,691,823],[62,115,287,289,292,372,420,530,602,691,701,739],[115,292,372,511,602,1184,1185],[115,602,1188],[115,206,372,420,511,530,602,691,973,1180,1187],[115,602,1216],[115,285,602,1002],[115,530,602,973,1243],[115,602,1242],[62,115,287,289,299,300,420,530,602,691,823,974,1238],[62,115,192,285,299,530,602,691,823,1000,1238,1239,1241],[62,115,287,299,420,530,602,691,1240],[115,299,300,602,691,974],[115,299,602,997],[115,602,1244],[115,602,1221],[62,115,285,420,530,602,691,739,823,997,1000],[115,285,287,289,420,530,602,691,701,739,1219,1220],[115,285,287,289,420,530,602,691,701],[115,602,1223],[115,530,602,973,1222],[115,602,1247],[62,115,191,206,255,287,289,292,420,530,574,602,691,701,739,823,826],[115,602,1249],[115,602,1255],[62,115,288,289,511,521,530,576,602,691,736,823],[115,287,289,292,372,420,530,576,602,691,739,792,823,826,1251,1252,1253,1254],[115,372,530,574,602],[62,115,287,289,292,511,521,576,602,691,823],[62,115,288,289,292,511,521,530,576,602,691,823],[115,602,1257],[115,292,372,511,530,602,973,1250,1256],[115,602,1262,1266],[62,78,115,206,255,285,287,289,292,420,530,602,691,739,823,997,1000],[115,602,1261],[115,206,287,289,292,420,530,602,691,701,739,973,1259,1260],[62,115,255,285,287,289,292,314,420,511,530,551,552,602,691,739,823,997,1000],[115,602,1265],[115,285,287,289,420,530,602,691,701,739,973,1263,1264],[115,285,287,289,314,420,530,602,691,701,739],[115,602,1268],[115,511,602,1267],[115,602,1270],[115,511,530,602,691,973,1248,1258,1269],[62,115,272,287,289,420,423,530,602,691,701],[62,115,272,287,289,420,423,530,574,602,691,739,823,826],[115,602,1228],[115,287,289,292,420,423,530,602,691,701,739,1226,1227],[115,287,289,420,521,602,691,739],[115,287,289,423,602,691],[62,115,287,289,420,423,530,602,691,739,1230,1231],[115,602,1233],[62,115,287,289,420,423,511,530,602,691,1232],[115,602,1235],[115,530,602,691,1229,1234],[115,287,289,292,361,420,423,521,530,577,602,691,701,739,1280,1284,1285,1286],[115,420,530,574,602,691,739,823,826],[115,574,602,691,823,826],[115,602,1287],[115,420,423,574,602,691,739,823,826,1284],[115,602,1289],[115,192,287,289,292,361,387,420,530,577,602,691,701,739,1286],[115,602,1291],[115,602,1293],[62,115,242,385,545,602,691],[62,115,287,289,292,361,420,423,530,574,602,691,701,823,826],[115,602,1296],[62,115,206,242,268,287,289,292,361,380,420,423,521,530,602,691,701,739,1284,1295],[115,602,1480],[62,115,287,289,292,361,530,602,691,701,1478],[62,115,292,390,420,423,530,602,691,739,1443,1451,1478,1479],[62,115,287,289,521,574,602,691,823,826],[62,78,115,206,287,289,602,691],[115,602,1485],[115,287,289,361,420,423,530,578,602,691,701,739,793,823,826],[62,115,287,289,292,313,361,423,511,521,530,578,602,691,701,793,823,826,1483],[62,115,242,292,313,380,386,420,423,521,577,602,691,739,828,1284,1482,1484],[115,574,602],[115,602,1488],[115,287,289,292,423,602,691],[62,115,287,289,420,423,530,602,691,701,739,1487],[115,602,1490],[62,115,192,602,1283],[62,115,192,206,287,289,292,361,420,530,577,602,691,701,786,1284,1288,1290,1292,1294,1297,1481,1486,1489],[115,192,287,289,602],[115,602,1493],[115,602,1539],[115,255,292,316,420,423,530,602,691,701],[115,602,1495],[115,287,289,521,602,691],[115,602,1498],[115,287,289,292,361,530,602,691,701,739,823],[115,287,289,292,313,521,602,691,793,1497],[115,602,1500],[62,115,191,192,206,287,289,420,530,602,691,701,739,786,1494,1496,1499],[62,115,420,423,511,602,691,739,1273,1274],[115,602,1275],[115,287,289,574,602,691,823,826],[115,420,530,574,602,691,823,826],[115,602,1277],[115,206,287,289,292,420,423,530,579,602,691,701,739,973,1276],[115,255,423,602],[115,602,1193],[62,115,530,559,602,701],[62,115,287,545,557,602,691,1192],[115,206,602,1175],[115,602,1152,1155],[115,287,289,420,530,602,691],[115,602,1156],[62,115,285,602,691,721,1153],[115,191,285,287,289,420,530,602,691,701,1154],[115,602,1158,1159,1161,1164],[62,115,420,530,602,691,701,739,823,997,1000],[115,602,1165],[115,287,289,420,530,602,691,701,1160],[115,287,289,420,530,602,691,701],[115,285,420,530,602,691,739,823,997,1000],[115,285,287,289,530,602,691,701,1162,1163],[115,602,1167],[115,602,1168],[115,602,1170],[115,602,1171],[115,287,420,530,602,691],[62,115,530,602,721,973,1157,1166,1169,1172],[115,602,1173],[115,602,1174],[115,602,1176],[115,602,1211],[115,602,1198],[115,530,602,973,1197],[115,285,287,289,420,530,602,691,701,739,1196],[115,602,1200],[115,192,285,420,530,602,691,739,1134],[115,602,1208],[115,530,602,1201,1205,1207],[115,285,420,530,549,602,691,739,823,997,1000],[115,602,1202,1204],[115,206,287,289,292,530,602,691,701,1202,1203],[62,115,287,289,292,420,530,602,691,701,739],[115,602,1206],[115,602,1210],[62,115,602,721,1199,1209],[115,602,1213],[115,206,602,1212],[62,115,285,287,289,292,420,602,691,739,823,997,1000],[115,206,285,287,289,602,691,1016,1017],[115,287,289,420,602,691,739],[115,602,1018],[115,285,287,289,420,602,691,739,1541,1542],[115,285,287,289,420,602,691],[115,602,1543],[62,115,272,289,420,530,602,691,739,792,793,823,997,1000],[115,602,1022],[115,192,206,602,722],[115,602,1030],[62,115,206,257,279,287,289,530,602,691,739,823,997,1000],[115,602,1024],[115,192,285,420,602,691,739],[115,602,1032],[115,280,530,602,691,739,823,997,1000],[115,602,1034],[115,602,1045],[115,602,1020],[115,602,1019],[115,602,1028],[115,602,1023,1025,1027],[115,602,1041],[115,602,1031,1033,1035,1038,1040],[115,206,602,1044],[115,602,1043],[62,115,602,721,1021,1029,1042],[115,602,1026],[115,285,420,549,602,691,739],[115,602,1037],[115,287,289,420,602,691,1036],[115,287,420,602,691],[115,602,1039],[62,115,273,530,602,691,739,823,997,1000],[115,206,420,530,602,691,701,739],[115,602,1504],[115,192,285,292,420,530,602,691,701,739],[115,602,1506],[115,255,420,530,602,691,701],[115,602,1508],[115,285,287,289,420,530,602,691,701,739,1510,1511,1512],[115,285,287,289,420,530,602,691,701,739],[115,602,1513],[115,602,1505,1507,1509,1514,1516,1520],[115,602,1521],[115,602,1515],[115,602,1519],[115,287,289,292,420,530,602,691,701,739,1517,1518],[62,115,602,691,736,823,997,1000],[115,602,1524],[115,206,287,289,292,420,530,602,691,701,739,973,1523],[115,602,1526],[62,115,206,602,721,1522,1525],[115,192,206,280,287,289,602,691],[115,602,1530],[115,602,1531,1533],[115,602,1532],[115,602,1535],[62,115,602,1137,1534],[299],[62],[192],[574]],"referencedMap":[[1546,1],[201,2],[833,3],[831,1],[355,4],[356,5],[362,6],[357,7],[347,1],[360,8],[354,9],[358,10],[353,11],[349,10],[350,12],[352,13],[351,1],[348,14],[359,10],[364,15],[363,16],[361,17],[692,18],[693,19],[695,20],[694,18],[696,21],[697,22],[1385,23],[1387,24],[1386,1],[1388,25],[1389,26],[1384,27],[1419,28],[1420,29],[1418,30],[1422,31],[1425,32],[1421,33],[1423,34],[1424,34],[1426,35],[1427,36],[1432,37],[1429,38],[1428,39],[1431,40],[1430,41],[1436,42],[1435,43],[1433,44],[1434,33],[1437,45],[1438,46],[1442,47],[1440,48],[1439,49],[1441,50],[1377,51],[1345,33],[1346,52],[1362,53],[1376,52],[1363,54],[1365,33],[1364,1],[1366,33],[1367,55],[1374,33],[1368,1],[1369,1],[1370,1],[1371,33],[1372,56],[1373,57],[1361,35],[1375,58],[1443,59],[1416,60],[1417,61],[1415,62],[1360,63],[1359,64],[1358,65],[1357,66],[1354,67],[1353,68],[1350,66],[1352,69],[1351,70],[1356,71],[1355,68],[1347,72],[1348,73],[1349,73],[1380,54],[1378,54],[1381,74],[1383,75],[1382,76],[1379,77],[1331,56],[1332,1],[1340,78],[1344,79],[1341,1],[1342,80],[1343,1],[1334,81],[1335,81],[1338,82],[1339,83],[1337,81],[1336,82],[1333,52],[1390,33],[1391,33],[1392,33],[1393,84],[1414,85],[1402,86],[1401,1],[1394,87],[1397,33],[1395,33],[1398,33],[1400,88],[1399,89],[1396,33],[1410,1],[1403,1],[1404,1],[1405,33],[1406,33],[1407,1],[1408,33],[1409,1],[1413,90],[1411,1],[1412,33],[1444,58],[1451,91],[1447,58],[1445,58],[1446,58],[1448,58],[1449,58],[1450,58],[1458,92],[1457,93],[1461,94],[1462,95],[1459,96],[1460,97],[1478,98],[1470,99],[1469,100],[1468,58],[1463,101],[1467,102],[1464,101],[1465,101],[1466,101],[1453,58],[1452,1],[1456,103],[1454,96],[1455,104],[1471,1],[1472,1],[1473,58],[1477,105],[1474,1],[1475,58],[1476,101],[1308,1],[1310,106],[1311,107],[1309,1],[1312,1],[1313,1],[1316,108],[1314,1],[1315,1],[1317,1],[1318,1],[1319,1],[1320,109],[1321,1],[1322,110],[1307,111],[1298,1],[1299,1],[1301,1],[1300,39],[1302,39],[1303,1],[1304,39],[1305,1],[1306,1],[1330,112],[1328,113],[1323,1],[1324,1],[1325,1],[1326,1],[1327,1],[1329,1],[286,1],[288,114],[792,114],[793,114],[287,114],[289,115],[707,116],[708,116],[709,117],[710,116],[711,116],[716,116],[712,116],[713,116],[714,116],[715,116],[717,118],[718,118],[719,116],[720,116],[721,119],[705,39],[706,120],[1000,121],[998,122],[999,123],[826,124],[824,125],[825,126],[484,127],[504,128],[483,129],[496,1],[482,130],[503,127],[505,1],[508,131],[509,131],[495,132],[494,132],[497,133],[499,134],[498,1],[501,135],[502,136],[500,137],[510,138],[507,139],[506,140],[485,141],[481,129],[480,137],[486,137],[488,142],[487,1],[493,143],[490,144],[489,1],[491,137],[492,1],[479,145],[478,137],[167,1],[586,146],[585,39],[581,39],[606,147],[599,148],[584,149],[583,39],[582,39],[598,39],[622,150],[604,147],[631,151],[605,147],[638,152],[617,147],[630,153],[610,154],[608,155],[609,147],[597,39],[629,148],[665,154],[674,148],[679,156],[686,152],[607,1],[847,1],[959,157],[948,158],[945,1],[946,159],[947,159],[958,160],[953,161],[955,162],[951,162],[957,163],[954,162],[956,164],[952,165],[949,166],[929,167],[849,168],[848,169],[227,170],[229,171],[230,172],[225,173],[214,1],[221,174],[220,175],[219,176],[226,1],[228,170],[224,177],[216,178],[213,179],[218,180],[212,181],[215,1],[223,182],[211,1],[222,183],[217,184],[236,185],[242,186],[241,39],[234,185],[235,39],[210,1],[231,187],[240,188],[237,188],[238,188],[239,188],[232,188],[233,188],[254,1],[1547,1],[836,189],[832,3],[834,190],[835,3],[845,191],[844,192],[1549,193],[1550,1],[1551,1],[1552,1],[1553,1],[1558,194],[1554,1],[1557,195],[1555,1],[841,196],[846,197],[1280,1],[1559,1],[1561,198],[1562,199],[1564,200],[1565,39],[1566,1],[842,1],[1567,1],[1568,201],[1569,202],[1556,1],[1570,1],[248,1],[1572,203],[1573,204],[1571,205],[1574,206],[1575,207],[1576,208],[1577,209],[1578,210],[1579,211],[1580,212],[1581,213],[1582,214],[1583,215],[1584,200],[1586,216],[1585,1],[1587,1],[837,1],[1560,1],[1548,1],[1589,1],[1590,217],[1588,218],[69,219],[70,219],[72,220],[73,221],[74,222],[75,223],[76,224],[77,225],[78,226],[79,227],[80,228],[81,229],[82,229],[84,230],[83,231],[85,230],[86,232],[87,233],[71,234],[121,1],[88,235],[89,236],[90,237],[122,238],[91,239],[92,240],[93,241],[94,242],[95,243],[96,244],[97,245],[98,246],[99,247],[100,248],[101,248],[102,249],[103,250],[105,251],[104,252],[106,253],[107,254],[108,1],[109,255],[110,256],[111,257],[112,258],[113,259],[114,260],[115,261],[116,262],[117,263],[118,264],[119,265],[120,266],[1591,1],[1592,230],[1593,1],[369,267],[365,1],[366,1],[368,268],[367,1],[1594,1],[60,1],[840,1],[1595,1],[839,1],[1597,269],[58,1],[62,270],[662,271],[652,272],[651,273],[650,274],[659,272],[658,272],[660,275],[657,276],[655,272],[656,272],[653,277],[654,272],[661,278],[648,279],[647,1],[1598,1],[61,1],[1623,280],[1624,281],[1599,282],[1602,282],[1621,280],[1622,280],[1612,280],[1611,283],[1609,280],[1604,280],[1617,280],[1615,280],[1619,280],[1603,280],[1616,280],[1620,280],[1605,280],[1606,280],[1618,280],[1600,280],[1607,280],[1608,280],[1610,280],[1614,280],[1625,284],[1613,280],[1601,280],[1638,285],[1637,1],[1632,284],[1634,286],[1633,284],[1626,284],[1627,284],[1629,284],[1631,284],[1635,286],[1636,286],[1628,286],[1630,286],[838,287],[843,288],[1563,1],[1639,1],[1640,1],[1641,1],[1642,289],[330,290],[326,1],[334,291],[328,290],[333,292],[332,293],[329,294],[327,290],[331,290],[343,295],[344,296],[342,297],[341,297],[339,298],[340,295],[338,299],[336,300],[337,300],[335,298],[345,301],[346,302],[249,1],[59,1],[590,303],[589,1],[602,1],[649,1],[829,1],[830,304],[511,305],[207,306],[208,306],[203,1],[265,1],[1137,1],[642,307],[641,1],[68,308],[177,309],[179,310],[137,311],[147,312],[138,313],[139,314],[148,315],[128,315],[188,39],[190,316],[172,317],[171,318],[170,319],[193,39],[169,320],[196,1],[124,1],[126,321],[176,320],[180,322],[184,323],[131,324],[130,325],[151,326],[159,327],[134,218],[129,328],[125,329],[163,330],[162,329],[152,1],[123,1],[160,331],[153,332],[161,333],[164,334],[140,192],[154,335],[135,336],[158,337],[157,338],[136,339],[150,340],[149,341],[141,329],[142,342],[144,343],[143,344],[145,345],[195,1],[146,346],[67,1],[174,1],[182,39],[186,39],[166,347],[127,1],[168,1],[173,348],[156,349],[155,350],[133,351],[132,1],[178,1],[175,352],[57,1],[66,353],[63,39],[64,1],[65,1],[181,354],[183,355],[185,356],[187,357],[200,358],[189,358],[199,359],[191,360],[192,361],[194,362],[197,363],[198,364],[165,365],[436,366],[438,367],[437,366],[434,366],[435,366],[433,368],[474,368],[473,368],[475,368],[432,1],[476,368],[477,369],[439,1],[440,370],[441,1],[442,1],[443,1],[444,1],[445,370],[446,368],[447,370],[448,370],[459,371],[460,371],[461,1],[462,1],[463,370],[464,1],[465,1],[466,1],[467,1],[468,1],[469,1],[470,1],[471,1],[472,1],[244,1],[1014,1],[788,39],[603,39],[1008,1],[811,372],[823,373],[812,374],[813,375],[809,376],[807,377],[798,1],[802,378],[806,379],[804,380],[810,381],[799,382],[800,383],[801,384],[803,385],[805,386],[808,387],[814,374],[815,374],[816,374],[817,372],[818,374],[819,374],[797,374],[820,1],[822,388],[821,374],[206,389],[205,306],[204,390],[1596,1],[454,391],[452,391],[455,391],[453,391],[457,371],[456,391],[458,392],[450,391],[451,391],[449,1],[950,1],[521,393],[518,394],[516,395],[517,394],[520,396],[519,396],[512,1],[513,397],[515,1],[514,1],[552,1],[551,1],[928,398],[877,399],[890,400],[852,1],[904,401],[906,402],[905,402],[879,403],[878,1],[880,404],[907,405],[911,406],[909,406],[888,407],[887,1],[896,405],[855,405],[883,1],[924,408],[899,409],[901,410],[919,405],[854,411],[871,412],[886,1],[921,1],[892,413],[908,406],[912,414],[910,415],[925,1],[894,1],[868,411],[860,1],[859,416],[884,405],[885,405],[858,417],[891,1],[853,1],[870,1],[898,1],[926,418],[865,405],[866,419],[913,402],[915,420],[914,420],[850,1],[869,1],[876,1],[867,405],[897,1],[864,1],[923,1],[863,1],[861,421],[862,1],[900,1],[893,1],[920,422],[874,416],[872,416],[873,416],[889,1],[856,1],[916,406],[918,414],[917,415],[903,1],[902,423],[895,1],[882,1],[922,1],[927,1],[851,1],[881,1],[875,1],[857,416],[11,1],[12,1],[14,1],[13,1],[2,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[3,1],[4,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[5,1],[30,1],[31,1],[32,1],[33,1],[6,1],[37,1],[34,1],[35,1],[36,1],[38,1],[7,1],[39,1],[44,1],[45,1],[40,1],[41,1],[42,1],[43,1],[8,1],[49,1],[46,1],[47,1],[48,1],[50,1],[9,1],[51,1],[52,1],[53,1],[54,1],[55,1],[1,1],[10,1],[56,1],[775,424],[752,1],[761,425],[774,426],[773,427],[751,428],[782,429],[753,1],[762,430],[772,431],[756,432],[767,433],[763,434],[755,435],[754,436],[757,437],[758,437],[765,438],[768,439],[769,440],[770,440],[771,441],[776,1],[750,1],[777,440],[778,442],[760,443],[764,444],[759,445],[779,446],[780,447],[766,448],[781,449],[993,450],[988,451],[978,452],[991,453],[997,454],[984,455],[986,456],[987,451],[990,453],[992,450],[977,457],[983,458],[996,459],[989,453],[985,460],[980,461],[995,456],[994,1],[982,462],[981,1],[979,1],[574,463],[566,464],[572,465],[568,1],[569,1],[567,466],[570,463],[562,1],[563,1],[573,467],[565,468],[571,469],[564,470],[1283,471],[1282,472],[1281,1],[1065,1],[532,1],[1060,1],[702,473],[246,474],[724,475],[725,476],[726,477],[727,478],[728,478],[730,479],[731,480],[732,481],[733,482],[734,483],[703,484],[704,485],[722,486],[735,484],[736,487],[729,1],[740,488],[723,489],[737,490],[739,491],[738,492],[741,493],[742,494],[743,495],[747,496],[748,497],[749,498],[783,499],[784,500],[785,501],[786,502],[787,503],[701,504],[698,505],[699,506],[700,507],[580,508],[789,509],[790,510],[791,511],[794,512],[795,513],[796,514],[827,515],[828,516],[257,517],[261,518],[262,519],[263,518],[264,519],[274,520],[276,521],[279,522],[278,522],[277,1],[275,1],[245,1],[253,261],[255,523],[280,524],[266,525],[281,526],[531,527],[267,1],[268,1],[269,1],[256,1],[533,528],[534,529],[535,528],[536,530],[247,531],[260,532],[930,533],[587,534],[588,535],[931,536],[591,537],[592,538],[932,539],[593,540],[594,541],[933,542],[595,543],[596,544],[934,545],[600,546],[601,547],[522,548],[523,549],[935,550],[615,551],[616,552],[625,553],[626,554],[936,555],[627,556],[628,557],[937,558],[632,559],[633,560],[634,561],[635,562],[938,563],[636,564],[637,565],[939,566],[618,567],[619,568],[744,569],[745,570],[940,571],[639,572],[640,573],[941,574],[611,540],[612,575],[691,576],[621,577],[942,578],[620,540],[644,579],[943,580],[643,581],[624,582],[944,583],[623,584],[646,585],[960,586],[645,587],[961,588],[746,589],[614,590],[962,591],[613,592],[664,593],[663,594],[669,595],[963,596],[668,597],[671,598],[964,599],[670,600],[667,601],[666,600],[673,602],[672,506],[676,603],[965,604],[675,605],[678,606],[966,607],[677,608],[681,609],[680,610],[683,611],[682,537],[685,612],[967,613],[684,540],[688,614],[968,615],[687,616],[690,617],[689,618],[250,619],[202,1],[421,620],[422,621],[530,622],[425,623],[424,624],[427,625],[426,626],[370,627],[431,628],[430,629],[371,627],[525,630],[524,631],[527,632],[526,633],[529,634],[528,624],[429,635],[428,636],[537,637],[538,637],[539,637],[540,637],[541,637],[542,637],[543,637],[544,1],[545,1],[258,638],[546,639],[973,640],[970,641],[969,642],[972,643],[971,642],[298,644],[297,645],[296,646],[295,1],[294,647],[293,648],[270,1],[974,649],[299,1],[302,650],[301,651],[300,649],[303,652],[252,653],[251,1],[306,654],[305,655],[304,1],[309,656],[308,657],[307,1],[420,658],[318,659],[317,660],[310,1],[320,661],[319,662],[311,1],[322,663],[321,664],[271,1],[325,665],[324,666],[323,1],[375,667],[374,668],[373,669],[372,1],[379,670],[378,671],[377,672],[376,1],[384,673],[383,674],[382,675],[381,676],[389,677],[388,678],[387,1],[393,679],[392,680],[391,681],[390,682],[397,683],[396,684],[395,685],[394,682],[399,686],[398,687],[380,688],[313,689],[400,690],[386,691],[385,682],[549,692],[548,693],[547,1],[550,1],[402,694],[401,695],[314,1],[404,696],[403,697],[407,698],[406,699],[405,1],[409,700],[408,701],[312,1],[412,702],[411,703],[410,1],[423,704],[414,705],[413,706],[273,707],[272,708],[418,709],[417,710],[416,711],[415,1],[419,712],[316,713],[315,1],[292,714],[282,39],[283,715],[284,39],[285,39],[290,490],[291,39],[209,716],[975,717],[976,718],[1003,719],[1006,720],[1004,721],[1005,722],[553,723],[1007,724],[1009,725],[1054,726],[1059,727],[554,637],[555,637],[556,637],[557,637],[558,637],[559,637],[1010,728],[1011,729],[1012,730],[1013,731],[1071,732],[1072,733],[1073,734],[1074,733],[1075,734],[1076,735],[1077,736],[1078,735],[1079,736],[1080,733],[1081,737],[1082,733],[1083,734],[1084,738],[1085,735],[1086,738],[1087,739],[1088,738],[1089,739],[1090,738],[1091,735],[1092,738],[1093,735],[1094,740],[1095,734],[1096,741],[1097,742],[1098,736],[1099,737],[1100,736],[1101,743],[1102,742],[1103,736],[1104,733],[1105,734],[1106,740],[1107,744],[1108,735],[1109,736],[1110,738],[1111,735],[1112,735],[1113,736],[1114,738],[1115,735],[1116,733],[1117,745],[1118,738],[1119,735],[1120,733],[1121,734],[1122,738],[1123,735],[1124,733],[1125,734],[1126,738],[1127,735],[1128,738],[1129,735],[1130,734],[1131,736],[1132,738],[1133,735],[1148,746],[1149,39],[1150,747],[1151,748],[1178,749],[1190,750],[1191,751],[1195,752],[1215,753],[1218,754],[1015,755],[1047,756],[1225,757],[1237,758],[1246,759],[1272,760],[1279,761],[1492,762],[1502,763],[1503,762],[1528,764],[1048,728],[1049,731],[1529,765],[1537,766],[1050,767],[1051,768],[243,769],[561,770],[259,771],[560,772],[1052,773],[1053,774],[1055,775],[1056,776],[1058,777],[1057,778],[1061,779],[1062,780],[1063,494],[1064,781],[1067,782],[1066,783],[1070,784],[1068,785],[1069,786],[1144,787],[1136,788],[1135,789],[1139,790],[1138,791],[1143,792],[1142,793],[1141,794],[1140,795],[1147,796],[1145,797],[1134,798],[1146,799],[1001,800],[1002,801],[1180,802],[1179,803],[1187,804],[1184,805],[1183,806],[575,807],[1181,808],[1182,809],[1185,810],[1186,811],[1189,812],[1188,813],[1217,814],[1216,815],[1244,816],[1243,817],[1239,818],[1242,819],[1241,820],[1240,821],[1238,822],[1245,823],[1222,824],[1219,825],[1221,826],[1220,827],[1224,828],[1223,829],[1248,830],[1247,831],[1250,832],[1249,810],[1256,833],[1251,834],[1255,835],[576,836],[1252,837],[1253,838],[1254,837],[1258,839],[1257,840],[1267,841],[1259,842],[1262,843],[1261,844],[1260,827],[1263,845],[1266,846],[1265,847],[1264,848],[1269,849],[1268,850],[1271,851],[1270,852],[1226,853],[1227,854],[1229,855],[1228,856],[1230,857],[1231,858],[1232,859],[1234,860],[1233,861],[1236,862],[1235,863],[1287,864],[1285,865],[1286,866],[1288,867],[1289,868],[1290,869],[1291,870],[1292,871],[1294,872],[1293,873],[1295,874],[1297,875],[1296,876],[1481,877],[1479,878],[1480,879],[1483,880],[1538,881],[1486,882],[1482,883],[1484,884],[1485,885],[578,886],[1489,887],[1487,888],[1488,889],[1491,890],[1284,891],[1490,892],[577,1],[1493,893],[1494,894],[1540,895],[1539,896],[1496,897],[1495,898],[1499,899],[1497,900],[1498,901],[1501,902],[1500,903],[1275,904],[1276,905],[1273,906],[1274,907],[1278,908],[1277,909],[579,910],[1194,911],[1192,912],[1193,913],[1176,914],[1156,915],[1152,916],[1157,917],[1154,918],[1153,916],[1155,919],[1165,920],[1158,921],[1166,922],[1159,921],[1161,923],[1160,924],[1162,925],[1164,926],[1163,924],[1168,927],[1169,928],[1167,916],[1171,929],[1172,930],[1170,931],[1173,932],[1174,933],[1175,934],[1177,935],[1212,936],[1199,937],[1198,938],[1197,939],[1196,825],[1201,940],[1200,941],[1209,942],[1208,943],[1202,944],[1205,945],[1204,946],[1203,947],[1207,948],[1206,921],[1211,949],[1210,950],[1214,951],[1213,952],[1016,953],[1018,954],[1017,955],[1019,956],[1541,953],[1543,957],[1542,958],[1544,959],[1022,960],[1023,961],[1030,962],[1031,963],[1024,964],[1025,965],[1032,966],[1033,967],[1034,968],[1035,969],[1046,970],[1021,971],[1020,972],[1029,973],[1028,974],[1042,975],[1041,976],[1045,977],[1044,978],[1043,979],[1027,980],[1026,981],[1038,982],[1037,983],[1036,984],[1040,985],[1039,986],[1504,987],[1505,988],[1506,989],[1507,990],[1508,991],[1509,992],[1510,925],[1513,993],[1511,994],[1514,995],[1512,925],[1545,996],[1522,997],[1521,996],[1516,998],[1515,921],[1517,925],[1520,999],[1519,1000],[1518,827],[1523,1001],[1525,1002],[1524,1003],[1527,1004],[1526,1005],[1530,1006],[1531,1007],[1534,1008],[1533,1009],[1532,514],[1536,1010],[1535,1011]],"exportedModulesMap":[[1546,1],[201,2],[833,3],[831,1],[355,4],[356,5],[362,6],[357,7],[347,1],[360,8],[354,9],[358,10],[353,11],[349,10],[350,12],[352,13],[351,1],[348,14],[359,10],[364,15],[363,16],[361,17],[692,18],[693,19],[695,20],[694,18],[696,21],[697,22],[1385,23],[1387,24],[1386,1],[1388,25],[1389,26],[1384,27],[1419,28],[1420,29],[1418,30],[1422,31],[1425,32],[1421,33],[1423,34],[1424,34],[1426,35],[1427,36],[1432,37],[1429,38],[1428,39],[1431,40],[1430,41],[1436,42],[1435,43],[1433,44],[1434,33],[1437,45],[1438,46],[1442,47],[1440,48],[1439,49],[1441,50],[1377,51],[1345,33],[1346,52],[1362,53],[1376,52],[1363,54],[1365,33],[1364,1],[1366,33],[1367,55],[1374,33],[1368,1],[1369,1],[1370,1],[1371,33],[1372,56],[1373,57],[1361,35],[1375,58],[1443,59],[1416,60],[1417,61],[1415,62],[1360,63],[1359,64],[1358,65],[1357,66],[1354,67],[1353,68],[1350,66],[1352,69],[1351,70],[1356,71],[1355,68],[1347,72],[1348,73],[1349,73],[1380,54],[1378,54],[1381,74],[1383,75],[1382,76],[1379,77],[1331,56],[1332,1],[1340,78],[1344,79],[1341,1],[1342,80],[1343,1],[1334,81],[1335,81],[1338,82],[1339,83],[1337,81],[1336,82],[1333,52],[1390,33],[1391,33],[1392,33],[1393,84],[1414,85],[1402,86],[1401,1],[1394,87],[1397,33],[1395,33],[1398,33],[1400,88],[1399,89],[1396,33],[1410,1],[1403,1],[1404,1],[1405,33],[1406,33],[1407,1],[1408,33],[1409,1],[1413,90],[1411,1],[1412,33],[1444,58],[1451,91],[1447,58],[1445,58],[1446,58],[1448,58],[1449,58],[1450,58],[1458,92],[1457,93],[1461,94],[1462,95],[1459,96],[1460,97],[1478,98],[1470,99],[1469,100],[1468,58],[1463,101],[1467,102],[1464,101],[1465,101],[1466,101],[1453,58],[1452,1],[1456,103],[1454,96],[1455,104],[1471,1],[1472,1],[1473,58],[1477,105],[1474,1],[1475,58],[1476,101],[1308,1],[1310,106],[1311,107],[1309,1],[1312,1],[1313,1],[1316,108],[1314,1],[1315,1],[1317,1],[1318,1],[1319,1],[1320,109],[1321,1],[1322,110],[1307,111],[1298,1],[1299,1],[1301,1],[1300,39],[1302,39],[1303,1],[1304,39],[1305,1],[1306,1],[1330,112],[1328,113],[1323,1],[1324,1],[1325,1],[1326,1],[1327,1],[1329,1],[286,1],[288,114],[792,114],[793,114],[287,114],[289,115],[707,116],[708,116],[709,117],[710,116],[711,116],[716,116],[712,116],[713,116],[714,116],[715,116],[717,118],[718,118],[719,116],[720,116],[721,119],[705,39],[706,120],[1000,121],[998,122],[999,123],[826,124],[824,125],[825,126],[484,127],[504,128],[483,129],[496,1],[482,130],[503,127],[505,1],[508,131],[509,131],[495,132],[494,132],[497,133],[499,134],[498,1],[501,135],[502,136],[500,137],[510,138],[507,139],[506,140],[485,141],[481,129],[480,137],[486,137],[488,142],[487,1],[493,143],[490,144],[489,1],[491,137],[492,1],[479,145],[478,137],[167,1],[586,146],[585,39],[581,39],[606,147],[599,148],[584,149],[583,39],[582,39],[598,39],[622,150],[604,147],[631,151],[605,147],[638,152],[617,147],[630,153],[610,154],[608,155],[609,147],[597,39],[629,148],[665,154],[674,148],[679,156],[686,152],[607,1],[847,1],[959,157],[948,158],[945,1],[946,159],[947,159],[958,160],[953,161],[955,162],[951,162],[957,163],[954,162],[956,164],[952,165],[949,166],[929,167],[849,168],[848,169],[227,170],[229,171],[230,172],[225,173],[214,1],[221,174],[220,175],[219,176],[226,1],[228,170],[224,177],[216,178],[213,179],[218,180],[212,181],[215,1],[223,182],[211,1],[222,183],[217,184],[236,185],[242,186],[241,39],[234,185],[235,39],[210,1],[231,187],[240,188],[237,188],[238,188],[239,188],[232,188],[233,188],[254,1],[1547,1],[836,189],[832,3],[834,190],[835,3],[845,191],[844,192],[1549,193],[1550,1],[1551,1],[1552,1],[1553,1],[1558,194],[1554,1],[1557,195],[1555,1],[841,196],[846,197],[1280,1],[1559,1],[1561,198],[1562,199],[1564,200],[1565,39],[1566,1],[842,1],[1567,1],[1568,201],[1569,202],[1556,1],[1570,1],[248,1],[1572,203],[1573,204],[1571,205],[1574,206],[1575,207],[1576,208],[1577,209],[1578,210],[1579,211],[1580,212],[1581,213],[1582,214],[1583,215],[1584,200],[1586,216],[1585,1],[1587,1],[837,1],[1560,1],[1548,1],[1589,1],[1590,217],[1588,218],[69,219],[70,219],[72,220],[73,221],[74,222],[75,223],[76,224],[77,225],[78,226],[79,227],[80,228],[81,229],[82,229],[84,230],[83,231],[85,230],[86,232],[87,233],[71,234],[121,1],[88,235],[89,236],[90,237],[122,238],[91,239],[92,240],[93,241],[94,242],[95,243],[96,244],[97,245],[98,246],[99,247],[100,248],[101,248],[102,249],[103,250],[105,251],[104,252],[106,253],[107,254],[108,1],[109,255],[110,256],[111,257],[112,258],[113,259],[114,260],[115,261],[116,262],[117,263],[118,264],[119,265],[120,266],[1591,1],[1592,230],[1593,1],[369,267],[365,1],[366,1],[368,268],[367,1],[1594,1],[60,1],[840,1],[1595,1],[839,1],[1597,269],[58,1],[62,270],[662,271],[652,272],[651,273],[650,274],[659,272],[658,272],[660,275],[657,276],[655,272],[656,272],[653,277],[654,272],[661,278],[648,279],[647,1],[1598,1],[61,1],[1623,280],[1624,281],[1599,282],[1602,282],[1621,280],[1622,280],[1612,280],[1611,283],[1609,280],[1604,280],[1617,280],[1615,280],[1619,280],[1603,280],[1616,280],[1620,280],[1605,280],[1606,280],[1618,280],[1600,280],[1607,280],[1608,280],[1610,280],[1614,280],[1625,284],[1613,280],[1601,280],[1638,285],[1637,1],[1632,284],[1634,286],[1633,284],[1626,284],[1627,284],[1629,284],[1631,284],[1635,286],[1636,286],[1628,286],[1630,286],[838,287],[843,288],[1563,1],[1639,1],[1640,1],[1641,1],[1642,289],[330,290],[326,1],[334,291],[328,290],[333,292],[332,293],[329,294],[327,290],[331,290],[343,295],[344,296],[342,297],[341,297],[339,298],[340,295],[338,299],[336,300],[337,300],[335,298],[345,301],[346,302],[249,1],[59,1],[590,303],[589,1],[602,1],[649,1],[829,1],[830,304],[511,305],[207,306],[208,306],[203,1],[265,1],[1137,1],[642,307],[641,1],[68,308],[177,309],[179,310],[137,311],[147,312],[138,313],[139,314],[148,315],[128,315],[188,39],[190,316],[172,317],[171,318],[170,319],[193,39],[169,320],[196,1],[124,1],[126,321],[176,320],[180,322],[184,323],[131,324],[130,325],[151,326],[159,327],[134,218],[129,328],[125,329],[163,330],[162,329],[152,1],[123,1],[160,331],[153,332],[161,333],[164,334],[140,192],[154,335],[135,336],[158,337],[157,338],[136,339],[150,340],[149,341],[141,329],[142,342],[144,343],[143,344],[145,345],[195,1],[146,346],[67,1],[174,1],[182,39],[186,39],[166,347],[127,1],[168,1],[173,348],[156,349],[155,350],[133,351],[132,1],[178,1],[175,352],[57,1],[66,353],[63,39],[64,1],[65,1],[181,354],[183,355],[185,356],[187,357],[200,358],[189,358],[199,359],[191,360],[192,361],[194,362],[197,363],[198,364],[165,365],[436,366],[438,367],[437,366],[434,366],[435,366],[433,368],[474,368],[473,368],[475,368],[432,1],[476,368],[477,369],[439,1],[440,370],[441,1],[442,1],[443,1],[444,1],[445,370],[446,368],[447,370],[448,370],[459,371],[460,371],[461,1],[462,1],[463,370],[464,1],[465,1],[466,1],[467,1],[468,1],[469,1],[470,1],[471,1],[472,1],[244,1],[1014,1],[788,39],[603,39],[1008,1],[811,372],[823,373],[812,374],[813,375],[809,376],[807,377],[798,1],[802,378],[806,379],[804,380],[810,381],[799,382],[800,383],[801,384],[803,385],[805,386],[808,387],[814,374],[815,374],[816,374],[817,372],[818,374],[819,374],[797,374],[820,1],[822,388],[821,374],[206,389],[205,306],[204,390],[1596,1],[454,391],[452,391],[455,391],[453,391],[457,371],[456,391],[458,392],[450,391],[451,391],[449,1],[950,1],[521,393],[518,394],[516,395],[517,394],[520,396],[519,396],[512,1],[513,397],[515,1],[514,1],[552,1],[551,1],[928,398],[877,399],[890,400],[852,1],[904,401],[906,402],[905,402],[879,403],[878,1],[880,404],[907,405],[911,406],[909,406],[888,407],[887,1],[896,405],[855,405],[883,1],[924,408],[899,409],[901,410],[919,405],[854,411],[871,412],[886,1],[921,1],[892,413],[908,406],[912,414],[910,415],[925,1],[894,1],[868,411],[860,1],[859,416],[884,405],[885,405],[858,417],[891,1],[853,1],[870,1],[898,1],[926,418],[865,405],[866,419],[913,402],[915,420],[914,420],[850,1],[869,1],[876,1],[867,405],[897,1],[864,1],[923,1],[863,1],[861,421],[862,1],[900,1],[893,1],[920,422],[874,416],[872,416],[873,416],[889,1],[856,1],[916,406],[918,414],[917,415],[903,1],[902,423],[895,1],[882,1],[922,1],[927,1],[851,1],[881,1],[875,1],[857,416],[11,1],[12,1],[14,1],[13,1],[2,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[3,1],[4,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[5,1],[30,1],[31,1],[32,1],[33,1],[6,1],[37,1],[34,1],[35,1],[36,1],[38,1],[7,1],[39,1],[44,1],[45,1],[40,1],[41,1],[42,1],[43,1],[8,1],[49,1],[46,1],[47,1],[48,1],[50,1],[9,1],[51,1],[52,1],[53,1],[54,1],[55,1],[1,1],[10,1],[56,1],[775,424],[752,1],[761,425],[774,426],[773,427],[751,428],[782,429],[753,1],[762,430],[772,431],[756,432],[767,433],[763,434],[755,435],[754,436],[757,437],[758,437],[765,438],[768,439],[769,440],[770,440],[771,441],[776,1],[750,1],[777,440],[778,442],[760,443],[764,444],[759,445],[779,446],[780,447],[766,448],[781,449],[993,450],[988,451],[978,452],[991,453],[997,454],[984,455],[986,456],[987,451],[990,453],[992,450],[977,457],[983,458],[996,459],[989,453],[985,460],[980,461],[995,456],[994,1],[982,462],[981,1],[979,1],[574,463],[566,464],[572,465],[568,1],[569,1],[567,466],[570,463],[562,1],[563,1],[573,467],[565,468],[571,469],[564,470],[1283,471],[1282,472],[1281,1],[1065,1],[1060,1],[702,473],[246,474],[724,475],[725,476],[726,477],[727,478],[728,478],[730,479],[731,480],[732,481],[733,482],[734,483],[703,484],[704,485],[722,486],[735,484],[736,487],[729,1],[740,488],[723,489],[737,490],[739,491],[738,492],[741,493],[742,494],[743,495],[747,496],[748,497],[749,498],[783,499],[784,500],[785,501],[786,502],[787,503],[701,504],[698,505],[699,506],[700,507],[580,508],[789,509],[790,510],[791,511],[794,512],[795,513],[796,514],[827,515],[828,516],[257,517],[261,518],[262,519],[263,518],[264,519],[274,520],[276,521],[279,522],[278,522],[277,1],[275,1],[253,261],[255,523],[280,524],[266,525],[531,527],[267,1],[268,1],[269,1],[256,1],[533,528],[534,529],[535,528],[536,530],[247,531],[260,532],[930,533],[587,534],[588,535],[931,536],[591,537],[592,538],[932,539],[593,540],[594,541],[933,542],[595,543],[596,544],[934,545],[600,546],[601,547],[522,548],[523,549],[935,550],[615,551],[616,552],[625,553],[626,554],[936,555],[627,556],[628,557],[937,558],[632,559],[633,560],[634,561],[635,562],[938,563],[636,564],[637,565],[939,566],[618,567],[619,568],[744,569],[745,570],[940,571],[639,572],[640,573],[941,574],[611,540],[612,575],[691,576],[621,577],[942,578],[620,540],[644,579],[943,580],[643,581],[624,582],[944,583],[623,584],[646,585],[960,586],[645,587],[961,588],[746,589],[614,590],[962,591],[613,592],[664,593],[663,594],[669,595],[963,596],[668,597],[671,598],[964,599],[670,600],[667,601],[666,600],[673,602],[672,506],[676,603],[965,604],[675,605],[678,606],[966,607],[677,608],[681,609],[680,610],[683,611],[682,537],[685,612],[967,613],[684,540],[688,614],[968,615],[687,616],[690,617],[689,618],[250,619],[202,1],[421,620],[422,621],[530,622],[425,623],[424,624],[427,625],[426,626],[370,627],[431,628],[430,629],[371,627],[525,630],[524,631],[527,632],[526,633],[529,634],[528,624],[429,635],[428,636],[537,637],[538,637],[539,637],[540,637],[541,637],[542,637],[543,637],[544,1],[545,1],[258,638],[546,639],[973,640],[970,641],[969,642],[972,643],[971,642],[298,644],[297,645],[296,646],[295,1],[294,647],[293,648],[974,649],[299,1],[302,650],[301,651],[300,1012],[303,652],[252,653],[251,1],[306,654],[305,655],[309,656],[308,657],[420,658],[318,659],[317,660],[320,661],[319,662],[322,663],[321,664],[325,665],[324,666],[375,667],[374,668],[373,669],[379,670],[378,671],[377,672],[384,673],[383,674],[382,675],[381,676],[389,677],[388,678],[387,1],[393,679],[392,680],[391,681],[390,682],[397,683],[396,684],[395,685],[394,682],[399,686],[398,687],[380,688],[313,689],[400,690],[386,691],[385,682],[549,692],[548,693],[547,1],[550,1],[402,694],[401,695],[404,696],[403,697],[407,698],[406,699],[409,700],[408,701],[412,702],[411,703],[423,704],[414,705],[413,706],[273,707],[272,708],[418,709],[417,710],[416,711],[419,712],[316,713],[292,714],[282,39],[283,715],[284,39],[285,39],[290,490],[291,39],[209,716],[975,717],[976,718],[1003,719],[1006,720],[1004,721],[1005,722],[553,723],[1007,724],[1009,725],[1054,726],[1059,727],[554,637],[555,637],[556,637],[558,637],[559,637],[1010,728],[1011,729],[1012,730],[1013,731],[1071,732],[1072,733],[1073,734],[1074,733],[1075,734],[1076,735],[1077,736],[1078,735],[1079,736],[1080,733],[1081,737],[1082,733],[1083,734],[1084,738],[1085,735],[1086,738],[1087,739],[1088,738],[1089,739],[1090,738],[1091,735],[1092,738],[1093,735],[1094,740],[1095,734],[1096,741],[1097,742],[1098,736],[1099,737],[1100,736],[1101,743],[1102,742],[1103,736],[1104,733],[1105,734],[1106,740],[1107,744],[1108,735],[1109,736],[1110,738],[1111,735],[1112,735],[1113,736],[1114,738],[1115,735],[1116,733],[1117,745],[1118,738],[1119,735],[1120,733],[1121,734],[1122,738],[1123,735],[1124,733],[1125,734],[1126,738],[1127,735],[1128,738],[1129,735],[1130,734],[1131,736],[1132,738],[1133,735],[1148,746],[1149,39],[1150,747],[1151,748],[1178,749],[1190,750],[1191,751],[1195,752],[1215,753],[1218,754],[1015,755],[1047,756],[1225,757],[1237,758],[1246,759],[1272,760],[1279,761],[1492,762],[1502,763],[1503,762],[1528,764],[1048,728],[1049,731],[1529,765],[1537,766],[1050,1013],[1051,768],[243,769],[561,770],[259,771],[560,772],[1052,773],[1053,774],[1055,775],[1056,776],[1058,777],[1057,778],[1061,779],[1062,780],[1063,494],[1064,781],[1067,782],[1066,783],[1070,784],[1068,785],[1069,786],[1144,787],[1136,788],[1135,789],[1139,790],[1138,791],[1143,792],[1142,793],[1141,794],[1140,795],[1147,796],[1145,797],[1134,1014],[1146,799],[1001,800],[1002,801],[1180,802],[1179,803],[1187,804],[1184,805],[1183,806],[575,807],[1181,808],[1182,809],[1185,810],[1186,811],[1189,812],[1188,813],[1217,814],[1216,815],[1244,816],[1243,817],[1239,818],[1242,819],[1241,820],[1240,821],[1238,822],[1245,823],[1222,824],[1219,825],[1221,826],[1220,827],[1224,828],[1223,829],[1248,830],[1247,831],[1250,832],[1249,810],[1256,833],[1251,834],[1255,835],[576,836],[1252,837],[1253,838],[1254,837],[1258,839],[1257,840],[1267,841],[1259,842],[1262,843],[1261,844],[1260,827],[1263,845],[1266,846],[1265,847],[1264,848],[1269,849],[1268,850],[1271,851],[1270,852],[1226,853],[1227,854],[1229,855],[1228,856],[1230,857],[1231,858],[1232,859],[1234,860],[1233,861],[1236,862],[1235,863],[1287,864],[1285,865],[1286,866],[1288,867],[1289,868],[1290,869],[1291,870],[1292,871],[1294,872],[1293,873],[1295,874],[1297,875],[1296,876],[1481,877],[1479,878],[1480,879],[1483,880],[1538,881],[1486,882],[1482,883],[1484,884],[1485,885],[578,1015],[1489,887],[1487,888],[1488,889],[1491,890],[1284,891],[1490,892],[577,1],[1493,893],[1494,894],[1540,895],[1539,896],[1496,897],[1495,898],[1499,899],[1497,900],[1498,901],[1501,902],[1500,903],[1275,904],[1276,905],[1273,906],[1274,907],[1278,908],[1277,909],[579,910],[1194,911],[1192,912],[1193,913],[1176,914],[1156,915],[1152,916],[1157,917],[1154,918],[1153,916],[1155,919],[1165,920],[1158,921],[1166,922],[1159,921],[1161,923],[1160,924],[1162,925],[1164,926],[1163,924],[1168,927],[1169,928],[1167,916],[1171,929],[1172,930],[1170,931],[1173,932],[1174,933],[1175,934],[1177,935],[1212,936],[1199,937],[1198,938],[1197,939],[1196,825],[1201,940],[1200,941],[1209,942],[1208,943],[1202,944],[1205,945],[1204,946],[1203,947],[1207,948],[1206,921],[1211,949],[1210,950],[1214,951],[1213,952],[1016,953],[1018,954],[1017,955],[1019,956],[1541,953],[1543,957],[1542,958],[1544,959],[1022,960],[1023,961],[1030,962],[1031,963],[1024,964],[1025,965],[1032,966],[1033,967],[1034,968],[1035,969],[1046,970],[1021,971],[1020,972],[1029,973],[1028,974],[1042,975],[1041,976],[1045,977],[1044,978],[1043,979],[1027,980],[1026,981],[1038,982],[1037,983],[1036,984],[1040,985],[1039,986],[1504,987],[1505,988],[1506,989],[1507,990],[1508,991],[1509,992],[1510,925],[1513,993],[1511,994],[1514,995],[1512,925],[1545,996],[1522,997],[1521,996],[1516,998],[1515,921],[1517,925],[1520,999],[1519,1000],[1518,827],[1523,1001],[1525,1002],[1524,1003],[1527,1004],[1526,1005],[1530,1006],[1531,1007],[1534,1008],[1533,1009],[1532,514],[1536,1010],[1535,1011]],"semanticDiagnosticsPerFile":[1546,201,833,831,355,356,362,357,347,360,354,358,353,349,350,352,351,348,359,364,363,361,692,693,695,694,696,697,1385,1387,1386,1388,1389,1384,1419,1420,1418,1422,1425,1421,1423,1424,1426,1427,1432,1429,1428,1431,1430,1436,1435,1433,1434,1437,1438,1442,1440,1439,1441,1377,1345,1346,1362,1376,1363,1365,1364,1366,1367,1374,1368,1369,1370,1371,1372,1373,1361,1375,1443,1416,1417,1415,1360,1359,1358,1357,1354,1353,1350,1352,1351,1356,1355,1347,1348,1349,1380,1378,1381,1383,1382,1379,1331,1332,1340,1344,1341,1342,1343,1334,1335,1338,1339,1337,1336,1333,1390,1391,1392,1393,1414,1402,1401,1394,1397,1395,1398,1400,1399,1396,1410,1403,1404,1405,1406,1407,1408,1409,1413,1411,1412,1444,1451,1447,1445,1446,1448,1449,1450,1458,1457,1461,1462,1459,1460,1478,1470,1469,1468,1463,1467,1464,1465,1466,1453,1452,1456,1454,1455,1471,1472,1473,1477,1474,1475,1476,1308,1310,1311,1309,1312,1313,1316,1314,1315,1317,1318,1319,1320,1321,1322,1307,1298,1299,1301,1300,1302,1303,1304,1305,1306,1330,1328,1323,1324,1325,1326,1327,1329,286,288,792,793,287,289,707,708,709,710,711,716,712,713,714,715,717,718,719,720,721,705,706,1000,998,999,826,824,825,484,504,483,496,482,503,505,508,509,495,494,497,499,498,501,502,500,510,507,506,485,481,480,486,488,487,493,490,489,491,492,479,478,167,586,585,581,606,599,584,583,582,598,622,604,631,605,638,617,630,610,608,609,597,629,665,674,679,686,607,847,959,948,945,946,947,958,953,955,951,957,954,956,952,949,929,849,848,227,229,230,225,214,221,220,219,226,228,224,216,213,218,212,215,223,211,222,217,236,242,241,234,235,210,231,240,237,238,239,232,233,254,1547,836,832,834,835,845,844,1549,1550,1551,1552,1553,1558,1554,1557,1555,841,846,1280,1559,1561,1562,1564,1565,1566,842,1567,1568,1569,1556,1570,248,1572,1573,1571,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1586,1585,1587,837,1560,1548,1589,1590,1588,69,70,72,73,74,75,76,77,78,79,80,81,82,84,83,85,86,87,71,121,88,89,90,122,91,92,93,94,95,96,97,98,99,100,101,102,103,105,104,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,1591,1592,1593,369,365,366,368,367,1594,60,840,1595,839,1597,58,62,662,652,651,650,659,658,660,657,655,656,653,654,661,648,647,1598,61,1623,1624,1599,1602,1621,1622,1612,1611,1609,1604,1617,1615,1619,1603,1616,1620,1605,1606,1618,1600,1607,1608,1610,1614,1625,1613,1601,1638,1637,1632,1634,1633,1626,1627,1629,1631,1635,1636,1628,1630,838,843,1563,1639,1640,1641,1642,330,326,334,328,333,332,329,327,331,343,344,342,341,339,340,338,336,337,335,345,346,249,59,590,589,602,649,829,830,511,207,208,203,265,1137,642,641,68,177,179,137,147,138,139,148,128,188,190,172,171,170,193,169,196,124,126,176,180,184,131,130,151,159,134,129,125,163,162,152,123,160,153,161,164,140,154,135,158,157,136,150,149,141,142,144,143,145,195,146,67,174,182,186,166,127,168,173,156,155,133,132,178,175,57,66,63,64,65,181,183,185,187,200,189,199,191,192,194,197,198,165,436,438,437,434,435,433,474,473,475,432,476,477,439,440,441,442,443,444,445,446,447,448,459,460,461,462,463,464,465,466,467,468,469,470,471,472,244,1014,788,603,1008,811,823,812,813,809,807,798,802,806,804,810,799,800,801,803,805,808,814,815,816,817,818,819,797,820,822,821,206,205,204,1596,454,452,455,453,457,456,458,450,451,449,950,521,518,516,517,520,519,512,513,515,514,552,551,928,877,890,852,904,906,905,879,878,880,907,911,909,888,887,896,855,883,924,899,901,919,854,871,886,921,892,908,912,910,925,894,868,860,859,884,885,858,891,853,870,898,926,865,866,913,915,914,850,869,876,867,897,864,923,863,861,862,900,893,920,874,872,873,889,856,916,918,917,903,902,895,882,922,927,851,881,875,857,11,12,14,13,2,15,16,17,18,19,20,21,22,3,4,26,23,24,25,27,28,29,5,30,31,32,33,6,37,34,35,36,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,54,55,1,10,56,775,752,761,774,773,751,782,753,762,772,756,767,763,755,754,757,758,765,768,769,770,771,776,750,777,778,760,764,759,779,780,766,781,993,988,978,991,997,984,986,987,990,992,977,983,996,989,985,980,995,994,982,981,979,574,566,572,568,569,567,570,562,563,573,565,571,564,1283,1282,1281,1065,532,1060,702,246,724,725,726,727,728,730,731,732,733,734,703,704,722,735,736,729,740,723,737,739,738,741,742,743,747,748,749,783,784,785,786,787,701,698,699,700,580,789,790,791,794,795,796,827,828,257,261,262,263,264,274,276,279,278,277,275,245,253,255,280,266,281,531,267,268,269,256,533,534,535,536,247,260,930,587,588,931,591,592,932,593,594,933,595,596,934,600,601,522,523,935,615,616,625,626,936,627,628,937,632,633,634,635,938,636,637,939,618,619,744,745,940,639,640,941,611,612,691,621,942,620,644,943,643,624,944,623,646,960,645,961,746,614,962,613,664,663,669,963,668,671,964,670,667,666,673,672,676,965,675,678,966,677,681,680,683,682,685,967,684,688,968,687,690,689,250,202,421,422,530,425,424,427,426,370,431,430,371,525,524,527,526,529,528,429,428,537,538,539,540,541,542,543,544,545,258,546,973,970,969,972,971,298,297,296,295,294,293,270,974,299,302,301,300,303,252,251,306,305,304,309,308,307,420,318,317,310,320,319,311,322,321,271,325,324,323,375,374,373,372,379,378,377,376,384,383,382,381,389,388,387,393,392,391,390,397,396,395,394,399,398,380,313,400,386,385,549,548,547,550,402,401,314,404,403,407,406,405,409,408,312,412,411,410,423,414,413,273,272,418,417,416,415,419,316,315,292,282,283,284,285,290,291,209,975,976,1003,1006,1004,1005,553,1007,1009,1054,1059,554,555,556,557,558,559,1010,1011,1012,1013,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1120,1121,1122,1123,1124,1125,1126,1127,1128,1129,1130,1131,1132,1133,1148,1149,1150,1151,1178,1190,1191,1195,1215,1218,1015,1047,1225,1237,1246,1272,1279,1492,1502,1503,1528,1048,1049,1529,1537,1050,1051,243,561,259,560,1052,1053,1055,1056,1058,1057,1061,1062,1063,1064,1067,1066,1070,1068,1069,1144,1136,1135,1139,1138,1143,1142,1141,1140,1147,1145,1134,1146,1001,1002,1180,1179,1187,1184,1183,575,1181,1182,1185,1186,1189,1188,1217,1216,1244,1243,1239,1242,1241,1240,1238,1245,1222,1219,1221,1220,1224,1223,1248,1247,1250,1249,1256,1251,1255,576,1252,1253,1254,1258,1257,1267,1259,1262,1261,1260,1263,1266,1265,1264,1269,1268,1271,1270,1226,1227,1229,1228,1230,1231,1232,1234,1233,1236,1235,1287,1285,1286,1288,1289,1290,1291,1292,1294,1293,1295,1297,1296,1481,1479,1480,1483,1538,1486,1482,1484,1485,578,1489,1487,1488,1491,1284,1490,577,1493,1494,1540,1539,1496,1495,1499,1497,1498,1501,1500,1275,1276,1273,1274,1278,1277,579,1194,1192,1193,1176,1156,1152,1157,1154,1153,1155,1165,1158,1166,1159,1161,1160,1162,1164,1163,1168,1169,1167,1171,1172,1170,1173,1174,1175,1177,1212,1199,1198,1197,1196,1201,1200,1209,1208,1202,1205,1204,1203,1207,1206,1211,1210,1214,1213,1016,1018,1017,1019,1541,1543,1542,1544,1022,1023,1030,1031,1024,1025,1032,1033,1034,1035,1046,1021,1020,1029,1028,1042,1041,1045,1044,1043,1027,1026,1038,1037,1036,1040,1039,1504,1505,1506,1507,1508,1509,1510,1513,1511,1514,1512,1545,1522,1521,1516,1515,1517,1520,1519,1518,1523,1525,1524,1527,1526,1530,1531,1534,1533,1532,1536,1535],"affectedFilesPendingEmit":[[1546,1],[201,1],[833,1],[831,1],[355,1],[356,1],[362,1],[357,1],[347,1],[360,1],[354,1],[358,1],[353,1],[349,1],[350,1],[352,1],[351,1],[348,1],[359,1],[364,1],[363,1],[361,1],[692,1],[693,1],[695,1],[694,1],[696,1],[697,1],[1385,1],[1387,1],[1386,1],[1388,1],[1389,1],[1384,1],[1419,1],[1420,1],[1418,1],[1422,1],[1425,1],[1421,1],[1423,1],[1424,1],[1426,1],[1427,1],[1432,1],[1429,1],[1428,1],[1431,1],[1430,1],[1436,1],[1435,1],[1433,1],[1434,1],[1437,1],[1438,1],[1442,1],[1440,1],[1439,1],[1441,1],[1377,1],[1345,1],[1346,1],[1362,1],[1376,1],[1363,1],[1365,1],[1364,1],[1366,1],[1367,1],[1374,1],[1368,1],[1369,1],[1370,1],[1371,1],[1372,1],[1373,1],[1361,1],[1375,1],[1443,1],[1416,1],[1417,1],[1415,1],[1360,1],[1359,1],[1358,1],[1357,1],[1354,1],[1353,1],[1350,1],[1352,1],[1351,1],[1356,1],[1355,1],[1347,1],[1348,1],[1349,1],[1380,1],[1378,1],[1381,1],[1383,1],[1382,1],[1379,1],[1331,1],[1332,1],[1340,1],[1344,1],[1341,1],[1342,1],[1343,1],[1334,1],[1335,1],[1338,1],[1339,1],[1337,1],[1336,1],[1333,1],[1390,1],[1391,1],[1392,1],[1393,1],[1414,1],[1402,1],[1401,1],[1394,1],[1397,1],[1395,1],[1398,1],[1400,1],[1399,1],[1396,1],[1410,1],[1403,1],[1404,1],[1405,1],[1406,1],[1407,1],[1408,1],[1409,1],[1413,1],[1411,1],[1412,1],[1444,1],[1451,1],[1447,1],[1445,1],[1446,1],[1448,1],[1449,1],[1450,1],[1458,1],[1457,1],[1461,1],[1462,1],[1459,1],[1460,1],[1478,1],[1470,1],[1469,1],[1468,1],[1463,1],[1467,1],[1464,1],[1465,1],[1466,1],[1453,1],[1452,1],[1456,1],[1454,1],[1455,1],[1471,1],[1472,1],[1473,1],[1477,1],[1474,1],[1475,1],[1476,1],[1308,1],[1310,1],[1311,1],[1309,1],[1312,1],[1313,1],[1316,1],[1314,1],[1315,1],[1317,1],[1318,1],[1319,1],[1320,1],[1321,1],[1322,1],[1307,1],[1298,1],[1299,1],[1301,1],[1300,1],[1302,1],[1303,1],[1304,1],[1305,1],[1306,1],[1330,1],[1328,1],[1323,1],[1324,1],[1325,1],[1326,1],[1327,1],[1329,1],[286,1],[288,1],[792,1],[793,1],[287,1],[289,1],[707,1],[708,1],[709,1],[710,1],[711,1],[716,1],[712,1],[713,1],[714,1],[715,1],[717,1],[718,1],[719,1],[720,1],[721,1],[705,1],[706,1],[1000,1],[998,1],[999,1],[826,1],[824,1],[825,1],[484,1],[504,1],[483,1],[496,1],[482,1],[503,1],[505,1],[508,1],[509,1],[495,1],[494,1],[497,1],[499,1],[498,1],[501,1],[502,1],[500,1],[510,1],[507,1],[506,1],[485,1],[481,1],[480,1],[486,1],[488,1],[487,1],[493,1],[490,1],[489,1],[491,1],[492,1],[479,1],[478,1],[167,1],[586,1],[585,1],[581,1],[606,1],[599,1],[584,1],[583,1],[582,1],[598,1],[622,1],[604,1],[631,1],[605,1],[638,1],[617,1],[630,1],[610,1],[608,1],[609,1],[597,1],[629,1],[665,1],[674,1],[679,1],[686,1],[607,1],[847,1],[959,1],[948,1],[945,1],[946,1],[947,1],[958,1],[953,1],[955,1],[951,1],[957,1],[954,1],[956,1],[952,1],[949,1],[929,1],[849,1],[848,1],[227,1],[229,1],[230,1],[225,1],[214,1],[221,1],[220,1],[219,1],[226,1],[228,1],[224,1],[216,1],[213,1],[218,1],[212,1],[215,1],[223,1],[211,1],[222,1],[217,1],[236,1],[242,1],[241,1],[234,1],[235,1],[210,1],[231,1],[240,1],[237,1],[238,1],[239,1],[232,1],[233,1],[254,1],[1547,1],[836,1],[832,1],[834,1],[835,1],[845,1],[844,1],[1549,1],[1550,1],[1551,1],[1552,1],[1553,1],[1558,1],[1554,1],[1557,1],[1555,1],[841,1],[846,1],[1280,1],[1559,1],[1561,1],[1562,1],[1564,1],[1565,1],[1566,1],[842,1],[1567,1],[1568,1],[1569,1],[1556,1],[1570,1],[248,1],[1572,1],[1573,1],[1571,1],[1574,1],[1575,1],[1576,1],[1577,1],[1578,1],[1579,1],[1580,1],[1581,1],[1582,1],[1583,1],[1584,1],[1586,1],[1585,1],[1587,1],[837,1],[1560,1],[1548,1],[1589,1],[1590,1],[1588,1],[69,1],[70,1],[72,1],[73,1],[74,1],[75,1],[76,1],[77,1],[78,1],[79,1],[80,1],[81,1],[82,1],[84,1],[83,1],[85,1],[86,1],[87,1],[71,1],[121,1],[88,1],[89,1],[90,1],[122,1],[91,1],[92,1],[93,1],[94,1],[95,1],[96,1],[97,1],[98,1],[99,1],[100,1],[101,1],[102,1],[103,1],[105,1],[104,1],[106,1],[107,1],[108,1],[109,1],[110,1],[111,1],[112,1],[113,1],[114,1],[115,1],[116,1],[117,1],[118,1],[119,1],[120,1],[1591,1],[1592,1],[1593,1],[369,1],[365,1],[366,1],[368,1],[367,1],[1594,1],[60,1],[840,1],[1595,1],[839,1],[1597,1],[58,1],[62,1],[662,1],[652,1],[651,1],[650,1],[659,1],[658,1],[660,1],[657,1],[655,1],[656,1],[653,1],[654,1],[661,1],[648,1],[647,1],[1598,1],[61,1],[1623,1],[1624,1],[1599,1],[1602,1],[1621,1],[1622,1],[1612,1],[1611,1],[1609,1],[1604,1],[1617,1],[1615,1],[1619,1],[1603,1],[1616,1],[1620,1],[1605,1],[1606,1],[1618,1],[1600,1],[1607,1],[1608,1],[1610,1],[1614,1],[1625,1],[1613,1],[1601,1],[1638,1],[1637,1],[1632,1],[1634,1],[1633,1],[1626,1],[1627,1],[1629,1],[1631,1],[1635,1],[1636,1],[1628,1],[1630,1],[838,1],[843,1],[1563,1],[1639,1],[1640,1],[1641,1],[1642,1],[330,1],[326,1],[334,1],[328,1],[333,1],[332,1],[329,1],[327,1],[331,1],[343,1],[344,1],[342,1],[341,1],[339,1],[340,1],[338,1],[336,1],[337,1],[335,1],[345,1],[346,1],[249,1],[59,1],[590,1],[589,1],[602,1],[649,1],[829,1],[830,1],[511,1],[207,1],[208,1],[203,1],[265,1],[1137,1],[642,1],[641,1],[68,1],[177,1],[179,1],[137,1],[147,1],[138,1],[139,1],[148,1],[128,1],[188,1],[190,1],[172,1],[171,1],[170,1],[193,1],[169,1],[196,1],[124,1],[126,1],[176,1],[180,1],[184,1],[131,1],[130,1],[151,1],[159,1],[134,1],[129,1],[125,1],[163,1],[162,1],[152,1],[123,1],[160,1],[153,1],[161,1],[164,1],[140,1],[154,1],[135,1],[158,1],[157,1],[136,1],[150,1],[149,1],[141,1],[142,1],[144,1],[143,1],[145,1],[195,1],[146,1],[67,1],[174,1],[182,1],[186,1],[166,1],[127,1],[168,1],[173,1],[156,1],[155,1],[133,1],[132,1],[178,1],[175,1],[57,1],[66,1],[63,1],[64,1],[65,1],[181,1],[183,1],[185,1],[187,1],[200,1],[189,1],[199,1],[191,1],[192,1],[194,1],[197,1],[198,1],[165,1],[436,1],[438,1],[437,1],[434,1],[435,1],[433,1],[474,1],[473,1],[475,1],[432,1],[476,1],[477,1],[439,1],[440,1],[441,1],[442,1],[443,1],[444,1],[445,1],[446,1],[447,1],[448,1],[459,1],[460,1],[461,1],[462,1],[463,1],[464,1],[465,1],[466,1],[467,1],[468,1],[469,1],[470,1],[471,1],[472,1],[244,1],[1014,1],[788,1],[603,1],[1008,1],[811,1],[823,1],[812,1],[813,1],[809,1],[807,1],[798,1],[802,1],[806,1],[804,1],[810,1],[799,1],[800,1],[801,1],[803,1],[805,1],[808,1],[814,1],[815,1],[816,1],[817,1],[818,1],[819,1],[797,1],[820,1],[822,1],[821,1],[206,1],[205,1],[204,1],[1596,1],[454,1],[452,1],[455,1],[453,1],[457,1],[456,1],[458,1],[450,1],[451,1],[449,1],[950,1],[521,1],[518,1],[516,1],[517,1],[520,1],[519,1],[512,1],[513,1],[515,1],[514,1],[552,1],[551,1],[928,1],[877,1],[890,1],[852,1],[904,1],[906,1],[905,1],[879,1],[878,1],[880,1],[907,1],[911,1],[909,1],[888,1],[887,1],[896,1],[855,1],[883,1],[924,1],[899,1],[901,1],[919,1],[854,1],[871,1],[886,1],[921,1],[892,1],[908,1],[912,1],[910,1],[925,1],[894,1],[868,1],[860,1],[859,1],[884,1],[885,1],[858,1],[891,1],[853,1],[870,1],[898,1],[926,1],[865,1],[866,1],[913,1],[915,1],[914,1],[850,1],[869,1],[876,1],[867,1],[897,1],[864,1],[923,1],[863,1],[861,1],[862,1],[900,1],[893,1],[920,1],[874,1],[872,1],[873,1],[889,1],[856,1],[916,1],[918,1],[917,1],[903,1],[902,1],[895,1],[882,1],[922,1],[927,1],[851,1],[881,1],[875,1],[857,1],[2,1],[3,1],[4,1],[5,1],[6,1],[7,1],[8,1],[9,1],[10,1],[775,1],[752,1],[761,1],[774,1],[773,1],[751,1],[782,1],[753,1],[762,1],[772,1],[756,1],[767,1],[763,1],[755,1],[754,1],[757,1],[758,1],[765,1],[768,1],[769,1],[770,1],[771,1],[776,1],[750,1],[777,1],[778,1],[760,1],[764,1],[759,1],[779,1],[780,1],[766,1],[781,1],[993,1],[988,1],[978,1],[991,1],[997,1],[984,1],[986,1],[987,1],[990,1],[992,1],[977,1],[983,1],[996,1],[989,1],[985,1],[980,1],[995,1],[994,1],[982,1],[981,1],[979,1],[574,1],[566,1],[572,1],[568,1],[569,1],[567,1],[570,1],[562,1],[563,1],[573,1],[565,1],[571,1],[564,1],[1283,1],[1282,1],[1281,1],[1065,1],[532,1],[1060,1],[702,1],[246,1],[724,1],[725,1],[726,1],[727,1],[728,1],[730,1],[731,1],[732,1],[733,1],[734,1],[703,1],[704,1],[722,1],[735,1],[736,1],[729,1],[740,1],[723,1],[737,1],[739,1],[738,1],[741,1],[742,1],[743,1],[747,1],[748,1],[749,1],[783,1],[784,1],[785,1],[786,1],[787,1],[701,1],[698,1],[699,1],[700,1],[580,1],[789,1],[790,1],[791,1],[794,1],[795,1],[796,1],[827,1],[828,1],[257,1],[261,1],[262,1],[263,1],[264,1],[274,1],[276,1],[279,1],[278,1],[277,1],[275,1],[245,1],[253,1],[255,1],[280,1],[266,1],[281,1],[531,1],[267,1],[268,1],[269,1],[256,1],[533,1],[534,1],[535,1],[536,1],[247,1],[260,1],[930,1],[587,1],[588,1],[931,1],[591,1],[592,1],[932,1],[593,1],[594,1],[933,1],[595,1],[596,1],[934,1],[600,1],[601,1],[522,1],[523,1],[935,1],[615,1],[616,1],[625,1],[626,1],[936,1],[627,1],[628,1],[937,1],[632,1],[633,1],[634,1],[635,1],[938,1],[636,1],[637,1],[939,1],[618,1],[619,1],[744,1],[745,1],[940,1],[639,1],[640,1],[941,1],[611,1],[612,1],[691,1],[621,1],[942,1],[620,1],[644,1],[943,1],[643,1],[624,1],[944,1],[623,1],[646,1],[960,1],[645,1],[961,1],[746,1],[614,1],[962,1],[613,1],[664,1],[663,1],[669,1],[963,1],[668,1],[671,1],[964,1],[670,1],[667,1],[666,1],[673,1],[672,1],[676,1],[965,1],[675,1],[678,1],[966,1],[677,1],[681,1],[680,1],[683,1],[682,1],[685,1],[967,1],[684,1],[688,1],[968,1],[687,1],[690,1],[689,1],[250,1],[202,1],[421,1],[422,1],[530,1],[425,1],[424,1],[427,1],[426,1],[370,1],[431,1],[430,1],[371,1],[525,1],[524,1],[527,1],[526,1],[529,1],[528,1],[429,1],[428,1],[537,1],[538,1],[539,1],[540,1],[541,1],[542,1],[543,1],[544,1],[545,1],[258,1],[546,1],[973,1],[970,1],[969,1],[972,1],[971,1],[298,1],[297,1],[296,1],[295,1],[294,1],[293,1],[270,1],[974,1],[299,1],[302,1],[301,1],[300,1],[303,1],[252,1],[251,1],[306,1],[305,1],[304,1],[309,1],[308,1],[307,1],[420,1],[318,1],[317,1],[310,1],[320,1],[319,1],[311,1],[322,1],[321,1],[271,1],[325,1],[324,1],[323,1],[375,1],[374,1],[373,1],[372,1],[379,1],[378,1],[377,1],[376,1],[384,1],[383,1],[382,1],[381,1],[389,1],[388,1],[387,1],[393,1],[392,1],[391,1],[390,1],[397,1],[396,1],[395,1],[394,1],[399,1],[398,1],[380,1],[313,1],[400,1],[386,1],[385,1],[549,1],[548,1],[547,1],[550,1],[402,1],[401,1],[314,1],[404,1],[403,1],[407,1],[406,1],[405,1],[409,1],[408,1],[312,1],[412,1],[411,1],[410,1],[423,1],[414,1],[413,1],[273,1],[272,1],[418,1],[417,1],[416,1],[415,1],[419,1],[316,1],[315,1],[292,1],[282,1],[283,1],[284,1],[285,1],[290,1],[291,1],[209,1],[975,1],[976,1],[1003,1],[1006,1],[1004,1],[1005,1],[553,1],[1007,1],[1009,1],[1054,1],[1059,1],[554,1],[555,1],[556,1],[557,1],[558,1],[559,1],[1010,1],[1011,1],[1012,1],[1013,1],[1071,1],[1072,1],[1073,1],[1074,1],[1075,1],[1076,1],[1077,1],[1078,1],[1079,1],[1080,1],[1081,1],[1082,1],[1083,1],[1084,1],[1085,1],[1086,1],[1087,1],[1088,1],[1089,1],[1090,1],[1091,1],[1092,1],[1093,1],[1094,1],[1095,1],[1096,1],[1097,1],[1098,1],[1099,1],[1100,1],[1101,1],[1102,1],[1103,1],[1104,1],[1105,1],[1106,1],[1107,1],[1108,1],[1109,1],[1110,1],[1111,1],[1112,1],[1113,1],[1114,1],[1115,1],[1116,1],[1117,1],[1118,1],[1119,1],[1120,1],[1121,1],[1122,1],[1123,1],[1124,1],[1125,1],[1126,1],[1127,1],[1128,1],[1129,1],[1130,1],[1131,1],[1132,1],[1133,1],[1148,1],[1149,1],[1150,1],[1151,1],[1178,1],[1190,1],[1191,1],[1195,1],[1215,1],[1218,1],[1015,1],[1047,1],[1225,1],[1237,1],[1246,1],[1272,1],[1279,1],[1492,1],[1502,1],[1503,1],[1528,1],[1048,1],[1049,1],[1529,1],[1537,1],[1050,1],[1051,1],[243,1],[561,1],[259,1],[560,1],[1052,1],[1053,1],[1055,1],[1056,1],[1058,1],[1057,1],[1061,1],[1062,1],[1063,1],[1064,1],[1067,1],[1066,1],[1070,1],[1068,1],[1069,1],[1144,1],[1136,1],[1135,1],[1139,1],[1138,1],[1143,1],[1142,1],[1141,1],[1140,1],[1147,1],[1145,1],[1134,1],[1146,1],[1001,1],[1002,1],[1180,1],[1179,1],[1187,1],[1184,1],[1183,1],[575,1],[1181,1],[1182,1],[1185,1],[1186,1],[1189,1],[1188,1],[1217,1],[1216,1],[1244,1],[1243,1],[1239,1],[1242,1],[1241,1],[1240,1],[1238,1],[1245,1],[1222,1],[1219,1],[1221,1],[1220,1],[1224,1],[1223,1],[1248,1],[1247,1],[1250,1],[1249,1],[1256,1],[1251,1],[1255,1],[576,1],[1252,1],[1253,1],[1254,1],[1258,1],[1257,1],[1267,1],[1259,1],[1262,1],[1261,1],[1260,1],[1263,1],[1266,1],[1265,1],[1264,1],[1269,1],[1268,1],[1271,1],[1270,1],[1226,1],[1227,1],[1229,1],[1228,1],[1230,1],[1231,1],[1232,1],[1234,1],[1233,1],[1236,1],[1235,1],[1287,1],[1285,1],[1286,1],[1288,1],[1289,1],[1290,1],[1291,1],[1292,1],[1294,1],[1293,1],[1295,1],[1297,1],[1296,1],[1481,1],[1479,1],[1480,1],[1483,1],[1538,1],[1486,1],[1482,1],[1484,1],[1485,1],[578,1],[1489,1],[1487,1],[1488,1],[1491,1],[1284,1],[1490,1],[577,1],[1493,1],[1494,1],[1540,1],[1539,1],[1496,1],[1495,1],[1499,1],[1497,1],[1498,1],[1501,1],[1500,1],[1275,1],[1276,1],[1273,1],[1274,1],[1278,1],[1277,1],[579,1],[1194,1],[1192,1],[1193,1],[1176,1],[1156,1],[1152,1],[1157,1],[1154,1],[1153,1],[1155,1],[1165,1],[1158,1],[1166,1],[1159,1],[1161,1],[1160,1],[1162,1],[1164,1],[1163,1],[1168,1],[1169,1],[1167,1],[1171,1],[1172,1],[1170,1],[1173,1],[1174,1],[1175,1],[1177,1],[1212,1],[1199,1],[1198,1],[1197,1],[1196,1],[1201,1],[1200,1],[1209,1],[1208,1],[1202,1],[1205,1],[1204,1],[1203,1],[1207,1],[1206,1],[1211,1],[1210,1],[1214,1],[1213,1],[1016,1],[1018,1],[1017,1],[1019,1],[1541,1],[1543,1],[1542,1],[1544,1],[1022,1],[1023,1],[1030,1],[1031,1],[1024,1],[1025,1],[1032,1],[1033,1],[1034,1],[1035,1],[1046,1],[1021,1],[1020,1],[1029,1],[1028,1],[1042,1],[1041,1],[1045,1],[1044,1],[1043,1],[1027,1],[1026,1],[1038,1],[1037,1],[1036,1],[1040,1],[1039,1],[1504,1],[1505,1],[1506,1],[1507,1],[1508,1],[1509,1],[1510,1],[1513,1],[1511,1],[1514,1],[1512,1],[1545,1],[1522,1],[1521,1],[1516,1],[1515,1],[1517,1],[1520,1],[1519,1],[1518,1],[1523,1],[1525,1],[1524,1],[1527,1],[1526,1],[1530,1],[1531,1],[1534,1],[1533,1],[1532,1],[1536,1],[1535,1]]},"version":"4.9.5"}
\ No newline at end of file