mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 03:28:58 +00:00
feat(gateways): gateway and relay deployment CLI command interactive
helper
This commit is contained in:
@@ -66,7 +66,11 @@ export const ROUTE_PATHS = Object.freeze({
|
|||||||
"/organization/app-connections/$appConnection/oauth/callback",
|
"/organization/app-connections/$appConnection/oauth/callback",
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/app-connections/$appConnection/oauth/callback"
|
"/_authenticate/_inject-org-details/_org-layout/organization/app-connections/$appConnection/oauth/callback"
|
||||||
)
|
)
|
||||||
}
|
},
|
||||||
|
NetworkingPage: setRoute(
|
||||||
|
"/organization/networking",
|
||||||
|
"/_authenticate/_inject-org-details/_org-layout/organization/networking"
|
||||||
|
)
|
||||||
},
|
},
|
||||||
SecretManager: {
|
SecretManager: {
|
||||||
ApprovalPage: setRoute(
|
ApprovalPage: setRoute(
|
||||||
|
|||||||
+18
-2
@@ -8,6 +8,7 @@ import {
|
|||||||
faEllipsisV,
|
faEllipsisV,
|
||||||
faInfoCircle,
|
faInfoCircle,
|
||||||
faMagnifyingGlass,
|
faMagnifyingGlass,
|
||||||
|
faPlus,
|
||||||
faSearch,
|
faSearch,
|
||||||
faTrash
|
faTrash
|
||||||
} from "@fortawesome/free-solid-svg-icons";
|
} from "@fortawesome/free-solid-svg-icons";
|
||||||
@@ -17,6 +18,7 @@ import { useQuery } from "@tanstack/react-query";
|
|||||||
import { createNotification } from "@app/components/notifications";
|
import { createNotification } from "@app/components/notifications";
|
||||||
import { OrgPermissionCan } from "@app/components/permissions";
|
import { OrgPermissionCan } from "@app/components/permissions";
|
||||||
import {
|
import {
|
||||||
|
Button,
|
||||||
DeleteActionModal,
|
DeleteActionModal,
|
||||||
DropdownMenu,
|
DropdownMenu,
|
||||||
DropdownMenuContent,
|
DropdownMenuContent,
|
||||||
@@ -47,6 +49,7 @@ import { gatewaysQueryKeys, useDeleteGatewayById } from "@app/hooks/api/gateways
|
|||||||
import { useDeleteGatewayV2ById } from "@app/hooks/api/gateways-v2";
|
import { useDeleteGatewayV2ById } from "@app/hooks/api/gateways-v2";
|
||||||
|
|
||||||
import { EditGatewayDetailsModal } from "./components/EditGatewayDetailsModal";
|
import { EditGatewayDetailsModal } from "./components/EditGatewayDetailsModal";
|
||||||
|
import { DeployGatewayModal } from "./components/DeployGatewayModal";
|
||||||
|
|
||||||
const GatewayHealthStatus = ({ heartbeat }: { heartbeat?: string }) => {
|
const GatewayHealthStatus = ({ heartbeat }: { heartbeat?: string }) => {
|
||||||
const heartbeatDate = heartbeat ? new Date(heartbeat) : null;
|
const heartbeatDate = heartbeat ? new Date(heartbeat) : null;
|
||||||
@@ -73,6 +76,7 @@ export const GatewayTab = withPermission(
|
|||||||
const { data: gateways, isPending: isGatewaysLoading } = useQuery(gatewaysQueryKeys.list());
|
const { data: gateways, isPending: isGatewaysLoading } = useQuery(gatewaysQueryKeys.list());
|
||||||
|
|
||||||
const { popUp, handlePopUpOpen, handlePopUpToggle } = usePopUp([
|
const { popUp, handlePopUpOpen, handlePopUpToggle } = usePopUp([
|
||||||
|
"deployGateway",
|
||||||
"deleteGateway",
|
"deleteGateway",
|
||||||
"editDetails"
|
"editDetails"
|
||||||
] as const);
|
] as const);
|
||||||
@@ -101,8 +105,8 @@ export const GatewayTab = withPermission(
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
|
<div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
|
||||||
<div className="mb-4 flex items-center justify-between">
|
<div className="mb-2 flex items-center justify-between">
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex grow items-center gap-2">
|
||||||
<h3 className="text-lg font-medium text-mineshaft-100">Gateways</h3>
|
<h3 className="text-lg font-medium text-mineshaft-100">Gateways</h3>
|
||||||
<a
|
<a
|
||||||
href="https://infisical.com/docs/documentation/platform/gateways/overview"
|
href="https://infisical.com/docs/documentation/platform/gateways/overview"
|
||||||
@@ -118,6 +122,14 @@ export const GatewayTab = withPermission(
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
<div className="flex grow" />
|
||||||
|
<Button
|
||||||
|
variant="outline_bg"
|
||||||
|
leftIcon={<FontAwesomeIcon icon={faPlus} />}
|
||||||
|
onClick={() => handlePopUpOpen("deployGateway")}
|
||||||
|
>
|
||||||
|
Deploy Gateway
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p className="mb-4 text-sm text-mineshaft-400">
|
<p className="mb-4 text-sm text-mineshaft-400">
|
||||||
@@ -257,6 +269,10 @@ export const GatewayTab = withPermission(
|
|||||||
deleteKey="confirm"
|
deleteKey="confirm"
|
||||||
onDeleteApproved={() => handleDeleteGateway()}
|
onDeleteApproved={() => handleDeleteGateway()}
|
||||||
/>
|
/>
|
||||||
|
<DeployGatewayModal
|
||||||
|
isOpen={popUp.deployGateway.isOpen}
|
||||||
|
onOpenChange={(isOpen) => handlePopUpToggle("deployGateway", isOpen)}
|
||||||
|
/>
|
||||||
</TableContainer>
|
</TableContainer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+243
@@ -0,0 +1,243 @@
|
|||||||
|
import { createNotification } from "@app/components/notifications";
|
||||||
|
import {
|
||||||
|
FilterableSelect,
|
||||||
|
FormLabel,
|
||||||
|
IconButton,
|
||||||
|
Input,
|
||||||
|
Modal,
|
||||||
|
ModalContent
|
||||||
|
} from "@app/components/v2";
|
||||||
|
import { useOrganization } from "@app/context";
|
||||||
|
import {
|
||||||
|
useAddIdentityTokenAuth,
|
||||||
|
useCreateTokenIdentityTokenAuth,
|
||||||
|
useGetIdentityMembershipOrgs,
|
||||||
|
useGetIdentityTokenAuth
|
||||||
|
} from "@app/hooks/api";
|
||||||
|
import { useGetRelays } from "@app/hooks/api/relays";
|
||||||
|
import { slugSchema } from "@app/lib/schemas";
|
||||||
|
import { faCopy, faUpRightFromSquare } from "@fortawesome/free-solid-svg-icons";
|
||||||
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
|
import { useEffect, useMemo, useState } from "react";
|
||||||
|
import { SingleValue } from "react-select";
|
||||||
|
import { RelayOption } from "./RelayOption";
|
||||||
|
import { useNavigate } from "@tanstack/react-router";
|
||||||
|
import { ROUTE_PATHS } from "@app/const/routes";
|
||||||
|
import { twMerge } from "tailwind-merge";
|
||||||
|
|
||||||
|
type Props = {
|
||||||
|
isOpen: boolean;
|
||||||
|
onOpenChange: (isOpen: boolean) => void;
|
||||||
|
};
|
||||||
|
|
||||||
|
export const DeployGatewayModal = ({ isOpen, onOpenChange }: Props) => {
|
||||||
|
const { protocol, hostname, port } = window.location;
|
||||||
|
const portSuffix = port && port !== "80" ? `:${port}` : "";
|
||||||
|
const siteURL = `${protocol}//${hostname}${portSuffix}`;
|
||||||
|
|
||||||
|
const navigate = useNavigate({
|
||||||
|
from: ROUTE_PATHS.Organization.NetworkingPage.path
|
||||||
|
});
|
||||||
|
|
||||||
|
const [name, setName] = useState("");
|
||||||
|
const [relay, setRelay] = useState<null | {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}>(null);
|
||||||
|
const [identity, setIdentity] = useState<null | {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}>(null);
|
||||||
|
const [identityToken, setIdentityToken] = useState("");
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (!isOpen) {
|
||||||
|
setName("");
|
||||||
|
setRelay(null);
|
||||||
|
setIdentity(null);
|
||||||
|
setIdentityToken("");
|
||||||
|
}
|
||||||
|
}, [isOpen]);
|
||||||
|
|
||||||
|
const { data: relays, isPending: isRelaysLoading } = useGetRelays();
|
||||||
|
|
||||||
|
const { currentOrg } = useOrganization();
|
||||||
|
const organizationId = currentOrg?.id || "";
|
||||||
|
|
||||||
|
const { data: identityMembershipOrgsData, isPending: isIdentitiesLoading } =
|
||||||
|
useGetIdentityMembershipOrgs({
|
||||||
|
organizationId,
|
||||||
|
limit: 20000
|
||||||
|
});
|
||||||
|
const identityMembershipOrgs = identityMembershipOrgsData?.identityMemberships || [];
|
||||||
|
|
||||||
|
const { mutateAsync: createToken } = useCreateTokenIdentityTokenAuth();
|
||||||
|
const { mutateAsync: addIdentityTokenAuth } = useAddIdentityTokenAuth();
|
||||||
|
const { refetch } = useGetIdentityTokenAuth(identity?.id ?? "");
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const generateToken = async () => {
|
||||||
|
if (!identity) return;
|
||||||
|
|
||||||
|
try {
|
||||||
|
const { data: identityTokenAuth } = await refetch();
|
||||||
|
if (!identityTokenAuth) {
|
||||||
|
await addIdentityTokenAuth({
|
||||||
|
identityId: identity.id,
|
||||||
|
organizationId,
|
||||||
|
accessTokenTTL: 2592000,
|
||||||
|
accessTokenMaxTTL: 2592000,
|
||||||
|
accessTokenNumUsesLimit: 0,
|
||||||
|
accessTokenTrustedIps: [{ ipAddress: "0.0.0.0/0" }, { ipAddress: "::/0" }]
|
||||||
|
});
|
||||||
|
createNotification({
|
||||||
|
text: "Automatically enabled token authentication for this identity.",
|
||||||
|
type: "info"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
const token = await createToken({
|
||||||
|
identityId: identity.id,
|
||||||
|
name: "gateway token (autogenerated)"
|
||||||
|
});
|
||||||
|
setIdentityToken(token.accessToken);
|
||||||
|
createNotification({
|
||||||
|
text: "Automatically generated a token for this identity.",
|
||||||
|
type: "info"
|
||||||
|
});
|
||||||
|
} catch (err) {
|
||||||
|
console.error(err);
|
||||||
|
createNotification({
|
||||||
|
text: "Failed to generate token for identity",
|
||||||
|
type: "error"
|
||||||
|
});
|
||||||
|
setIdentityToken("");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
generateToken();
|
||||||
|
}, [identity, organizationId, refetch, addIdentityTokenAuth, createToken]);
|
||||||
|
|
||||||
|
const handleIdentityChange = (selectedIdentity: SingleValue<{ id: string; name: string }>) => {
|
||||||
|
setIdentity(selectedIdentity);
|
||||||
|
setIdentityToken("");
|
||||||
|
};
|
||||||
|
|
||||||
|
const isNameValid = useMemo(() => !name || slugSchema().safeParse(name).success, [name]);
|
||||||
|
|
||||||
|
const isCommandReady = useMemo(
|
||||||
|
() => !!name && isNameValid && !!relay && !!identityToken,
|
||||||
|
[name, isNameValid, relay, identityToken]
|
||||||
|
);
|
||||||
|
|
||||||
|
const command = useMemo(
|
||||||
|
() =>
|
||||||
|
`infisical gateway start --name=${name} --relay=${
|
||||||
|
relay?.name || ""
|
||||||
|
} --domain=${siteURL} --token=${identityToken}`,
|
||||||
|
[name, relay, identityToken, siteURL]
|
||||||
|
);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Modal isOpen={isOpen} onOpenChange={onOpenChange}>
|
||||||
|
<ModalContent
|
||||||
|
className="max-w-2xl"
|
||||||
|
title="Deploy Gateway"
|
||||||
|
subTitle="Configure and run the CLI command to deploy your gateway."
|
||||||
|
bodyClassName="overflow-visible"
|
||||||
|
>
|
||||||
|
<FormLabel label="Name" tooltipText="The name for your gateway." />
|
||||||
|
<Input
|
||||||
|
value={name}
|
||||||
|
onChange={(e) => setName(e.target.value)}
|
||||||
|
placeholder="Enter gateway name..."
|
||||||
|
isError={!isNameValid}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<FormLabel
|
||||||
|
label="Relay"
|
||||||
|
tooltipText="The relay to use with your gateway."
|
||||||
|
className="mt-4"
|
||||||
|
/>
|
||||||
|
<FilterableSelect
|
||||||
|
value={relay}
|
||||||
|
onChange={(newValue) => {
|
||||||
|
if ((newValue as SingleValue<{ id: string }>)?.id === "_create") {
|
||||||
|
navigate({
|
||||||
|
search: { selectedTab: "relays" }
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
setRelay(newValue as SingleValue<{ id: string; name: string }>);
|
||||||
|
}}
|
||||||
|
isLoading={isRelaysLoading}
|
||||||
|
options={[
|
||||||
|
{
|
||||||
|
id: "_create",
|
||||||
|
name: "Deploy New Relay"
|
||||||
|
},
|
||||||
|
...(relays || [])
|
||||||
|
]}
|
||||||
|
placeholder="Select relay..."
|
||||||
|
getOptionLabel={(option) => option.name}
|
||||||
|
getOptionValue={(option) => option.id}
|
||||||
|
components={{ Option: RelayOption }}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<FormLabel
|
||||||
|
label="Identity"
|
||||||
|
tooltipText="The identity to use with your gateway."
|
||||||
|
className="mt-4"
|
||||||
|
/>
|
||||||
|
<FilterableSelect
|
||||||
|
value={identity}
|
||||||
|
onChange={(e) =>
|
||||||
|
handleIdentityChange(
|
||||||
|
e as SingleValue<{
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
isLoading={isIdentitiesLoading}
|
||||||
|
placeholder="Select identity..."
|
||||||
|
options={identityMembershipOrgs.map((membership) => membership.identity)}
|
||||||
|
getOptionValue={(option) => option.id}
|
||||||
|
getOptionLabel={(option) => option.name}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<FormLabel label="CLI Command" className="mt-4" />
|
||||||
|
<div className="flex gap-2">
|
||||||
|
<Input value={command} isDisabled isError={!isCommandReady} className="opacity-50" />
|
||||||
|
<IconButton
|
||||||
|
ariaLabel="copy"
|
||||||
|
variant="outline_bg"
|
||||||
|
colorSchema="secondary"
|
||||||
|
onClick={() => {
|
||||||
|
navigator.clipboard.writeText(command);
|
||||||
|
|
||||||
|
createNotification({
|
||||||
|
text: "Command copied to clipboard",
|
||||||
|
type: "info"
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
className={twMerge("w-10", !isCommandReady && "pointer-events-none opacity-50")}
|
||||||
|
isDisabled={!isCommandReady}
|
||||||
|
>
|
||||||
|
<FontAwesomeIcon icon={faCopy} />
|
||||||
|
</IconButton>
|
||||||
|
</div>
|
||||||
|
<a
|
||||||
|
href="https://infisical.com/docs/cli/overview"
|
||||||
|
target="_blank"
|
||||||
|
className="mt-2 flex h-4 w-fit items-center gap-2 border-b border-mineshaft-400 text-sm text-mineshaft-400 transition-colors duration-100 hover:border-yellow-400 hover:text-yellow-400"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
|
<span>Install the Infisical CLI</span>
|
||||||
|
<FontAwesomeIcon icon={faUpRightFromSquare} className="size-3" />
|
||||||
|
</a>
|
||||||
|
</ModalContent>
|
||||||
|
</Modal>
|
||||||
|
);
|
||||||
|
};
|
||||||
+204
@@ -0,0 +1,204 @@
|
|||||||
|
import { createNotification } from "@app/components/notifications";
|
||||||
|
import {
|
||||||
|
FilterableSelect,
|
||||||
|
FormLabel,
|
||||||
|
IconButton,
|
||||||
|
Input,
|
||||||
|
Modal,
|
||||||
|
ModalContent
|
||||||
|
} from "@app/components/v2";
|
||||||
|
import { useOrganization } from "@app/context";
|
||||||
|
import {
|
||||||
|
useAddIdentityTokenAuth,
|
||||||
|
useCreateTokenIdentityTokenAuth,
|
||||||
|
useGetIdentityMembershipOrgs,
|
||||||
|
useGetIdentityTokenAuth
|
||||||
|
} from "@app/hooks/api";
|
||||||
|
import { slugSchema } from "@app/lib/schemas";
|
||||||
|
import { faCopy, faUpRightFromSquare } from "@fortawesome/free-solid-svg-icons";
|
||||||
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
|
import { useEffect, useMemo, useState } from "react";
|
||||||
|
import { SingleValue } from "react-select";
|
||||||
|
import { twMerge } from "tailwind-merge";
|
||||||
|
|
||||||
|
type Props = {
|
||||||
|
isOpen: boolean;
|
||||||
|
onOpenChange: (isOpen: boolean) => void;
|
||||||
|
};
|
||||||
|
|
||||||
|
export const DeployRelayModal = ({ isOpen, onOpenChange }: Props) => {
|
||||||
|
const { protocol, hostname, port } = window.location;
|
||||||
|
const portSuffix = port && port !== "80" ? `:${port}` : "";
|
||||||
|
const siteURL = `${protocol}//${hostname}${portSuffix}`;
|
||||||
|
|
||||||
|
const [name, setName] = useState("");
|
||||||
|
const [host, setHost] = useState("");
|
||||||
|
const [identity, setIdentity] = useState<null | {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}>(null);
|
||||||
|
const [identityToken, setIdentityToken] = useState("");
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (!isOpen) {
|
||||||
|
setName("");
|
||||||
|
setHost("");
|
||||||
|
setIdentity(null);
|
||||||
|
setIdentityToken("");
|
||||||
|
}
|
||||||
|
}, [isOpen]);
|
||||||
|
|
||||||
|
const { currentOrg } = useOrganization();
|
||||||
|
const organizationId = currentOrg?.id || "";
|
||||||
|
|
||||||
|
const { data: identityMembershipOrgsData, isPending: isIdentitiesLoading } =
|
||||||
|
useGetIdentityMembershipOrgs({
|
||||||
|
organizationId,
|
||||||
|
limit: 20000
|
||||||
|
});
|
||||||
|
const identityMembershipOrgs = identityMembershipOrgsData?.identityMemberships || [];
|
||||||
|
|
||||||
|
const { mutateAsync: createToken } = useCreateTokenIdentityTokenAuth();
|
||||||
|
const { mutateAsync: addIdentityTokenAuth } = useAddIdentityTokenAuth();
|
||||||
|
const { refetch } = useGetIdentityTokenAuth(identity?.id ?? "");
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const generateToken = async () => {
|
||||||
|
if (!identity) return;
|
||||||
|
|
||||||
|
try {
|
||||||
|
const { data: identityTokenAuth } = await refetch();
|
||||||
|
if (!identityTokenAuth) {
|
||||||
|
await addIdentityTokenAuth({
|
||||||
|
identityId: identity.id,
|
||||||
|
organizationId,
|
||||||
|
accessTokenTTL: 2592000,
|
||||||
|
accessTokenMaxTTL: 2592000,
|
||||||
|
accessTokenNumUsesLimit: 0,
|
||||||
|
accessTokenTrustedIps: [{ ipAddress: "0.0.0.0/0" }, { ipAddress: "::/0" }]
|
||||||
|
});
|
||||||
|
createNotification({
|
||||||
|
text: "Automatically enabled token authentication for this identity.",
|
||||||
|
type: "info"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
const token = await createToken({
|
||||||
|
identityId: identity.id,
|
||||||
|
name: "relay token (autogenerated)"
|
||||||
|
});
|
||||||
|
setIdentityToken(token.accessToken);
|
||||||
|
createNotification({
|
||||||
|
text: "Automatically generated a token for this identity.",
|
||||||
|
type: "info"
|
||||||
|
});
|
||||||
|
} catch (err) {
|
||||||
|
console.error(err);
|
||||||
|
createNotification({
|
||||||
|
text: "Failed to generate token for identity",
|
||||||
|
type: "error"
|
||||||
|
});
|
||||||
|
setIdentityToken("");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
generateToken();
|
||||||
|
}, [identity, organizationId, refetch, addIdentityTokenAuth, createToken]);
|
||||||
|
|
||||||
|
const handleIdentityChange = (selectedIdentity: SingleValue<{ id: string; name: string }>) => {
|
||||||
|
setIdentity(selectedIdentity);
|
||||||
|
setIdentityToken("");
|
||||||
|
};
|
||||||
|
|
||||||
|
const isNameValid = useMemo(() => !name || slugSchema().safeParse(name).success, [name]);
|
||||||
|
|
||||||
|
const isCommandReady = useMemo(
|
||||||
|
() => !!name && !!host && isNameValid && !!identityToken,
|
||||||
|
[name, isNameValid, host, identityToken]
|
||||||
|
);
|
||||||
|
|
||||||
|
const command = useMemo(
|
||||||
|
() =>
|
||||||
|
`infisical relay start --name=${name} --domain=${siteURL} --host=${host} --token=${identityToken}`,
|
||||||
|
[name, siteURL, host, identityToken]
|
||||||
|
);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Modal isOpen={isOpen} onOpenChange={onOpenChange}>
|
||||||
|
<ModalContent
|
||||||
|
className="max-w-2xl"
|
||||||
|
title="Deploy Relay"
|
||||||
|
subTitle="Configure and run the CLI command to deploy your relay."
|
||||||
|
bodyClassName="overflow-visible"
|
||||||
|
>
|
||||||
|
<FormLabel label="Name" tooltipText="The name for your relay." />
|
||||||
|
<Input
|
||||||
|
value={name}
|
||||||
|
onChange={(e) => setName(e.target.value)}
|
||||||
|
placeholder="Enter relay name..."
|
||||||
|
isError={!isNameValid}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<FormLabel
|
||||||
|
label="Host"
|
||||||
|
tooltipText="The host of the system you're deploying the relay to."
|
||||||
|
className="mt-4"
|
||||||
|
/>
|
||||||
|
<Input value={host} onChange={(e) => setHost(e.target.value)} placeholder="0.0.0.0" />
|
||||||
|
|
||||||
|
<FormLabel
|
||||||
|
label="Identity"
|
||||||
|
tooltipText="The identity to use with your relay."
|
||||||
|
className="mt-4"
|
||||||
|
/>
|
||||||
|
<FilterableSelect
|
||||||
|
value={identity}
|
||||||
|
onChange={(e) =>
|
||||||
|
handleIdentityChange(
|
||||||
|
e as SingleValue<{
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
isLoading={isIdentitiesLoading}
|
||||||
|
placeholder="Select identity..."
|
||||||
|
options={identityMembershipOrgs.map((membership) => membership.identity)}
|
||||||
|
getOptionValue={(option) => option.id}
|
||||||
|
getOptionLabel={(option) => option.name}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<FormLabel label="CLI Command" className="mt-4" />
|
||||||
|
<div className="flex gap-2">
|
||||||
|
<Input value={command} isDisabled isError={!isCommandReady} className="opacity-50" />
|
||||||
|
<IconButton
|
||||||
|
ariaLabel="copy"
|
||||||
|
variant="outline_bg"
|
||||||
|
colorSchema="secondary"
|
||||||
|
onClick={() => {
|
||||||
|
navigator.clipboard.writeText(command);
|
||||||
|
|
||||||
|
createNotification({
|
||||||
|
text: "Command copied to clipboard",
|
||||||
|
type: "info"
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
className={twMerge("w-10", !isCommandReady && "pointer-events-none opacity-50")}
|
||||||
|
isDisabled={!isCommandReady}
|
||||||
|
>
|
||||||
|
<FontAwesomeIcon icon={faCopy} />
|
||||||
|
</IconButton>
|
||||||
|
</div>
|
||||||
|
<a
|
||||||
|
href="https://infisical.com/docs/cli/overview"
|
||||||
|
target="_blank"
|
||||||
|
className="mt-2 flex h-4 w-fit items-center gap-2 border-b border-mineshaft-400 text-sm text-mineshaft-400 transition-colors duration-100 hover:border-yellow-400 hover:text-yellow-400"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
|
<span>Install the Infisical CLI</span>
|
||||||
|
<FontAwesomeIcon icon={faUpRightFromSquare} className="size-3" />
|
||||||
|
</a>
|
||||||
|
</ModalContent>
|
||||||
|
</Modal>
|
||||||
|
);
|
||||||
|
};
|
||||||
+32
@@ -0,0 +1,32 @@
|
|||||||
|
import { components, OptionProps } from "react-select";
|
||||||
|
import { faCheckCircle } from "@fortawesome/free-regular-svg-icons";
|
||||||
|
import { faPlus } from "@fortawesome/free-solid-svg-icons";
|
||||||
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
|
|
||||||
|
export const RelayOption = ({
|
||||||
|
isSelected,
|
||||||
|
children,
|
||||||
|
...props
|
||||||
|
}: OptionProps<{ id: string; name: string }>) => {
|
||||||
|
const isCreateOption = props.data.id === "_create";
|
||||||
|
|
||||||
|
return (
|
||||||
|
<components.Option isSelected={isSelected} {...props}>
|
||||||
|
<div className="flex flex-row items-center justify-between">
|
||||||
|
{isCreateOption ? (
|
||||||
|
<div className="flex items-center gap-x-1 text-mineshaft-400">
|
||||||
|
<FontAwesomeIcon icon={faPlus} size="sm" />
|
||||||
|
<span className="mr-auto">Deploy New Relay</span>
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
<>
|
||||||
|
<p className="truncate">{children}</p>
|
||||||
|
{isSelected && (
|
||||||
|
<FontAwesomeIcon className="ml-2 text-primary" icon={faCheckCircle} size="sm" />
|
||||||
|
)}
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</components.Option>
|
||||||
|
);
|
||||||
|
};
|
||||||
+15
-6
@@ -1,14 +1,19 @@
|
|||||||
import { useState } from "react";
|
import { useNavigate, useSearch } from "@tanstack/react-router";
|
||||||
import { useSearch } from "@tanstack/react-router";
|
|
||||||
|
|
||||||
import { Tab, TabList, TabPanel, Tabs } from "@app/components/v2";
|
import { Tab, TabList, TabPanel, Tabs } from "@app/components/v2";
|
||||||
|
|
||||||
import { GatewayTab } from "../GatewayTab/GatewayTab";
|
import { GatewayTab } from "../GatewayTab/GatewayTab";
|
||||||
import { RelayTab } from "../RelayTab/RelayTab";
|
import { RelayTab } from "../RelayTab/RelayTab";
|
||||||
|
import { ROUTE_PATHS } from "@app/const/routes";
|
||||||
|
|
||||||
export const NetworkingTabGroup = () => {
|
export const NetworkingTabGroup = () => {
|
||||||
const search = useSearch({
|
const navigate = useNavigate({
|
||||||
from: "/_authenticate/_inject-org-details/_org-layout/organization/networking/"
|
from: ROUTE_PATHS.Organization.NetworkingPage.path
|
||||||
|
});
|
||||||
|
const selectedTab = useSearch({
|
||||||
|
from: ROUTE_PATHS.Organization.NetworkingPage.id,
|
||||||
|
select: (el) => el.selectedTab,
|
||||||
|
structuralSharing: true
|
||||||
});
|
});
|
||||||
|
|
||||||
const tabs = [
|
const tabs = [
|
||||||
@@ -16,10 +21,14 @@ export const NetworkingTabGroup = () => {
|
|||||||
{ name: "Relays", key: "relays", component: RelayTab }
|
{ name: "Relays", key: "relays", component: RelayTab }
|
||||||
];
|
];
|
||||||
|
|
||||||
const [selectedTab, setSelectedTab] = useState(search.selectedTab || tabs[0].key);
|
const handleTabChange = (tab: string) => {
|
||||||
|
navigate({
|
||||||
|
search: { selectedTab: tab }
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Tabs value={selectedTab} onValueChange={setSelectedTab}>
|
<Tabs value={selectedTab} onValueChange={handleTabChange}>
|
||||||
<TabList>
|
<TabList>
|
||||||
{tabs.map((tab) => (
|
{tabs.map((tab) => (
|
||||||
<Tab variant="org" value={tab.key} key={tab.key}>
|
<Tab variant="org" value={tab.key} key={tab.key}>
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import {
|
|||||||
faEllipsisV,
|
faEllipsisV,
|
||||||
faInfoCircle,
|
faInfoCircle,
|
||||||
faMagnifyingGlass,
|
faMagnifyingGlass,
|
||||||
|
faPlus,
|
||||||
faSearch,
|
faSearch,
|
||||||
faTrash
|
faTrash
|
||||||
} from "@fortawesome/free-solid-svg-icons";
|
} from "@fortawesome/free-solid-svg-icons";
|
||||||
@@ -16,6 +17,7 @@ import { formatRelative } from "date-fns";
|
|||||||
import { createNotification } from "@app/components/notifications";
|
import { createNotification } from "@app/components/notifications";
|
||||||
import { OrgPermissionCan } from "@app/components/permissions";
|
import { OrgPermissionCan } from "@app/components/permissions";
|
||||||
import {
|
import {
|
||||||
|
Button,
|
||||||
DeleteActionModal,
|
DeleteActionModal,
|
||||||
DropdownMenu,
|
DropdownMenu,
|
||||||
DropdownMenuContent,
|
DropdownMenuContent,
|
||||||
@@ -41,6 +43,7 @@ import {
|
|||||||
import { withPermission } from "@app/hoc";
|
import { withPermission } from "@app/hoc";
|
||||||
import { usePopUp } from "@app/hooks";
|
import { usePopUp } from "@app/hooks";
|
||||||
import { useDeleteRelayById, useGetRelays } from "@app/hooks/api/relays";
|
import { useDeleteRelayById, useGetRelays } from "@app/hooks/api/relays";
|
||||||
|
import { DeployRelayModal } from "../GatewayTab/components/DeployRelayModal";
|
||||||
|
|
||||||
const RelayHealthStatus = ({ heartbeat }: { heartbeat?: string }) => {
|
const RelayHealthStatus = ({ heartbeat }: { heartbeat?: string }) => {
|
||||||
const heartbeatDate = heartbeat ? new Date(heartbeat) : null;
|
const heartbeatDate = heartbeat ? new Date(heartbeat) : null;
|
||||||
@@ -66,7 +69,10 @@ export const RelayTab = withPermission(
|
|||||||
const [search, setSearch] = useState("");
|
const [search, setSearch] = useState("");
|
||||||
const { data: relays, isPending: isRelaysLoading } = useGetRelays();
|
const { data: relays, isPending: isRelaysLoading } = useGetRelays();
|
||||||
|
|
||||||
const { popUp, handlePopUpOpen, handlePopUpToggle } = usePopUp(["deleteRelay"] as const);
|
const { popUp, handlePopUpOpen, handlePopUpToggle } = usePopUp([
|
||||||
|
"deleteRelay",
|
||||||
|
"deployRelay"
|
||||||
|
] as const);
|
||||||
|
|
||||||
const deleteRelayById = useDeleteRelayById();
|
const deleteRelayById = useDeleteRelayById();
|
||||||
|
|
||||||
@@ -87,8 +93,8 @@ export const RelayTab = withPermission(
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
|
<div className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
|
||||||
<div className="mb-4 flex items-center justify-between">
|
<div className="mb-2 flex items-center justify-between">
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex grow items-center gap-2">
|
||||||
<h3 className="text-lg font-medium text-mineshaft-100">Relays</h3>
|
<h3 className="text-lg font-medium text-mineshaft-100">Relays</h3>
|
||||||
<a
|
<a
|
||||||
href="https://infisical.com/docs/documentation/platform/gateways/relay-deployment"
|
href="https://infisical.com/docs/documentation/platform/gateways/relay-deployment"
|
||||||
@@ -104,6 +110,14 @@ export const RelayTab = withPermission(
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
<div className="flex grow" />
|
||||||
|
<Button
|
||||||
|
variant="outline_bg"
|
||||||
|
leftIcon={<FontAwesomeIcon icon={faPlus} />}
|
||||||
|
onClick={() => handlePopUpOpen("deployRelay")}
|
||||||
|
>
|
||||||
|
Deploy Relay
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p className="mb-4 text-sm text-mineshaft-400">
|
<p className="mb-4 text-sm text-mineshaft-400">
|
||||||
@@ -222,6 +236,10 @@ export const RelayTab = withPermission(
|
|||||||
deleteKey="confirm"
|
deleteKey="confirm"
|
||||||
onDeleteApproved={() => handleDeleteRelay()}
|
onDeleteApproved={() => handleDeleteRelay()}
|
||||||
/>
|
/>
|
||||||
|
<DeployRelayModal
|
||||||
|
isOpen={popUp.deployRelay.isOpen}
|
||||||
|
onOpenChange={(isOpen) => handlePopUpToggle("deployRelay", isOpen)}
|
||||||
|
/>
|
||||||
</TableContainer>
|
</TableContainer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -5,16 +5,16 @@ import { z } from "zod";
|
|||||||
import { NetworkingPage } from "./NetworkingPage";
|
import { NetworkingPage } from "./NetworkingPage";
|
||||||
|
|
||||||
const NetworkingPageQueryParams = z.object({
|
const NetworkingPageQueryParams = z.object({
|
||||||
selectedTab: z.string().catch("")
|
selectedTab: z.string().catch("gateways")
|
||||||
});
|
});
|
||||||
|
|
||||||
export const Route = createFileRoute(
|
export const Route = createFileRoute(
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/networking/"
|
"/_authenticate/_inject-org-details/_org-layout/organization/networking"
|
||||||
)({
|
)({
|
||||||
component: NetworkingPage,
|
component: NetworkingPage,
|
||||||
validateSearch: zodValidator(NetworkingPageQueryParams),
|
validateSearch: zodValidator(NetworkingPageQueryParams),
|
||||||
search: {
|
search: {
|
||||||
middlewares: [stripSearchParams({ selectedTab: "" })]
|
middlewares: [stripSearchParams({ selectedTab: "gateways" })]
|
||||||
},
|
},
|
||||||
context: () => ({
|
context: () => ({
|
||||||
breadcrumbs: [
|
breadcrumbs: [
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ import { Route as adminCachingPageRouteImport } from './pages/admin/CachingPage/
|
|||||||
import { Route as adminAuthenticationPageRouteImport } from './pages/admin/AuthenticationPage/route'
|
import { Route as adminAuthenticationPageRouteImport } from './pages/admin/AuthenticationPage/route'
|
||||||
import { Route as adminAccessManagementPageRouteImport } from './pages/admin/AccessManagementPage/route'
|
import { Route as adminAccessManagementPageRouteImport } from './pages/admin/AccessManagementPage/route'
|
||||||
import { Route as organizationProjectsPageRouteImport } from './pages/organization/ProjectsPage/route'
|
import { Route as organizationProjectsPageRouteImport } from './pages/organization/ProjectsPage/route'
|
||||||
|
import { Route as organizationNetworkingPageRouteImport } from './pages/organization/NetworkingPage/route'
|
||||||
import { Route as organizationBillingPageRouteImport } from './pages/organization/BillingPage/route'
|
import { Route as organizationBillingPageRouteImport } from './pages/organization/BillingPage/route'
|
||||||
import { Route as organizationAuditLogsPageRouteImport } from './pages/organization/AuditLogsPage/route'
|
import { Route as organizationAuditLogsPageRouteImport } from './pages/organization/AuditLogsPage/route'
|
||||||
import { Route as organizationAccessManagementPageRouteImport } from './pages/organization/AccessManagementPage/route'
|
import { Route as organizationAccessManagementPageRouteImport } from './pages/organization/AccessManagementPage/route'
|
||||||
@@ -63,7 +64,6 @@ import { Route as organizationIdentityDetailsByIDPageRouteImport } from './pages
|
|||||||
import { Route as organizationGroupDetailsByIDPageRouteImport } from './pages/organization/GroupDetailsByIDPage/route'
|
import { Route as organizationGroupDetailsByIDPageRouteImport } from './pages/organization/GroupDetailsByIDPage/route'
|
||||||
import { Route as organizationSettingsPageRouteImport } from './pages/organization/SettingsPage/route'
|
import { Route as organizationSettingsPageRouteImport } from './pages/organization/SettingsPage/route'
|
||||||
import { Route as organizationSecretSharingPageRouteImport } from './pages/organization/SecretSharingPage/route'
|
import { Route as organizationSecretSharingPageRouteImport } from './pages/organization/SecretSharingPage/route'
|
||||||
import { Route as organizationNetworkingPageRouteImport } from './pages/organization/NetworkingPage/route'
|
|
||||||
import { Route as organizationAppConnectionsAppConnectionsPageRouteImport } from './pages/organization/AppConnections/AppConnectionsPage/route'
|
import { Route as organizationAppConnectionsAppConnectionsPageRouteImport } from './pages/organization/AppConnections/AppConnectionsPage/route'
|
||||||
import { Route as sshLayoutImport } from './pages/ssh/layout'
|
import { Route as sshLayoutImport } from './pages/ssh/layout'
|
||||||
import { Route as secretScanningLayoutImport } from './pages/secret-scanning/layout'
|
import { Route as secretScanningLayoutImport } from './pages/secret-scanning/layout'
|
||||||
@@ -270,10 +270,6 @@ const AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingImport =
|
|||||||
createFileRoute(
|
createFileRoute(
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing',
|
'/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing',
|
||||||
)()
|
)()
|
||||||
const AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingImport =
|
|
||||||
createFileRoute(
|
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/networking',
|
|
||||||
)()
|
|
||||||
const AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsImport =
|
const AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsImport =
|
||||||
createFileRoute(
|
createFileRoute(
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/app-connections',
|
'/_authenticate/_inject-org-details/_org-layout/organization/app-connections',
|
||||||
@@ -594,14 +590,6 @@ const AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRoute =
|
|||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationRoute,
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationRoute,
|
||||||
} as any)
|
} as any)
|
||||||
|
|
||||||
const AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRoute =
|
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingImport.update({
|
|
||||||
id: '/networking',
|
|
||||||
path: '/networking',
|
|
||||||
getParentRoute: () =>
|
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRoute =
|
const AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRoute =
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsImport.update({
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsImport.update({
|
||||||
id: '/app-connections',
|
id: '/app-connections',
|
||||||
@@ -658,6 +646,14 @@ const organizationProjectsPageRouteRoute =
|
|||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationRoute,
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationRoute,
|
||||||
} as any)
|
} as any)
|
||||||
|
|
||||||
|
const organizationNetworkingPageRouteRoute =
|
||||||
|
organizationNetworkingPageRouteImport.update({
|
||||||
|
id: '/networking',
|
||||||
|
path: '/networking',
|
||||||
|
getParentRoute: () =>
|
||||||
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationRoute,
|
||||||
|
} as any)
|
||||||
|
|
||||||
const organizationBillingPageRouteRoute =
|
const organizationBillingPageRouteRoute =
|
||||||
organizationBillingPageRouteImport.update({
|
organizationBillingPageRouteImport.update({
|
||||||
id: '/billing',
|
id: '/billing',
|
||||||
@@ -807,14 +803,6 @@ const organizationSecretSharingPageRouteRoute =
|
|||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRoute,
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRoute,
|
||||||
} as any)
|
} as any)
|
||||||
|
|
||||||
const organizationNetworkingPageRouteRoute =
|
|
||||||
organizationNetworkingPageRouteImport.update({
|
|
||||||
id: '/',
|
|
||||||
path: '/',
|
|
||||||
getParentRoute: () =>
|
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRoute,
|
|
||||||
} as any)
|
|
||||||
|
|
||||||
const organizationAppConnectionsAppConnectionsPageRouteRoute =
|
const organizationAppConnectionsAppConnectionsPageRouteRoute =
|
||||||
organizationAppConnectionsAppConnectionsPageRouteImport.update({
|
organizationAppConnectionsAppConnectionsPageRouteImport.update({
|
||||||
id: '/',
|
id: '/',
|
||||||
@@ -2477,6 +2465,13 @@ declare module '@tanstack/react-router' {
|
|||||||
preLoaderRoute: typeof organizationBillingPageRouteImport
|
preLoaderRoute: typeof organizationBillingPageRouteImport
|
||||||
parentRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationImport
|
parentRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationImport
|
||||||
}
|
}
|
||||||
|
'/_authenticate/_inject-org-details/_org-layout/organization/networking': {
|
||||||
|
id: '/_authenticate/_inject-org-details/_org-layout/organization/networking'
|
||||||
|
path: '/networking'
|
||||||
|
fullPath: '/organization/networking'
|
||||||
|
preLoaderRoute: typeof organizationNetworkingPageRouteImport
|
||||||
|
parentRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationImport
|
||||||
|
}
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/projects': {
|
'/_authenticate/_inject-org-details/_org-layout/organization/projects': {
|
||||||
id: '/_authenticate/_inject-org-details/_org-layout/organization/projects'
|
id: '/_authenticate/_inject-org-details/_org-layout/organization/projects'
|
||||||
path: '/projects'
|
path: '/projects'
|
||||||
@@ -2533,13 +2528,6 @@ declare module '@tanstack/react-router' {
|
|||||||
preLoaderRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsImport
|
preLoaderRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsImport
|
||||||
parentRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationImport
|
parentRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationImport
|
||||||
}
|
}
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/networking': {
|
|
||||||
id: '/_authenticate/_inject-org-details/_org-layout/organization/networking'
|
|
||||||
path: '/networking'
|
|
||||||
fullPath: '/organization/networking'
|
|
||||||
preLoaderRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingImport
|
|
||||||
parentRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationImport
|
|
||||||
}
|
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing': {
|
'/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing': {
|
||||||
id: '/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing'
|
id: '/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing'
|
||||||
path: '/secret-sharing'
|
path: '/secret-sharing'
|
||||||
@@ -2568,13 +2556,6 @@ declare module '@tanstack/react-router' {
|
|||||||
preLoaderRoute: typeof organizationAppConnectionsAppConnectionsPageRouteImport
|
preLoaderRoute: typeof organizationAppConnectionsAppConnectionsPageRouteImport
|
||||||
parentRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsImport
|
parentRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsImport
|
||||||
}
|
}
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/networking/': {
|
|
||||||
id: '/_authenticate/_inject-org-details/_org-layout/organization/networking/'
|
|
||||||
path: '/'
|
|
||||||
fullPath: '/organization/networking/'
|
|
||||||
preLoaderRoute: typeof organizationNetworkingPageRouteImport
|
|
||||||
parentRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingImport
|
|
||||||
}
|
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing/': {
|
'/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing/': {
|
||||||
id: '/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing/'
|
id: '/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing/'
|
||||||
path: '/'
|
path: '/'
|
||||||
@@ -4002,20 +3983,6 @@ const AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRouteWithCh
|
|||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRouteChildren,
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRouteChildren,
|
||||||
)
|
)
|
||||||
|
|
||||||
interface AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRouteChildren {
|
|
||||||
organizationNetworkingPageRouteRoute: typeof organizationNetworkingPageRouteRoute
|
|
||||||
}
|
|
||||||
|
|
||||||
const AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRouteChildren: AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRouteChildren =
|
|
||||||
{
|
|
||||||
organizationNetworkingPageRouteRoute: organizationNetworkingPageRouteRoute,
|
|
||||||
}
|
|
||||||
|
|
||||||
const AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRouteWithChildren =
|
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRoute._addFileChildren(
|
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRouteChildren,
|
|
||||||
)
|
|
||||||
|
|
||||||
interface AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRouteChildren {
|
interface AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRouteChildren {
|
||||||
organizationSecretSharingPageRouteRoute: typeof organizationSecretSharingPageRouteRoute
|
organizationSecretSharingPageRouteRoute: typeof organizationSecretSharingPageRouteRoute
|
||||||
organizationSecretSharingSettingsPageRouteRoute: typeof organizationSecretSharingSettingsPageRouteRoute
|
organizationSecretSharingSettingsPageRouteRoute: typeof organizationSecretSharingSettingsPageRouteRoute
|
||||||
@@ -4055,9 +4022,9 @@ interface AuthenticateInjectOrgDetailsOrgLayoutOrganizationRouteChildren {
|
|||||||
organizationAccessManagementPageRouteRoute: typeof organizationAccessManagementPageRouteRoute
|
organizationAccessManagementPageRouteRoute: typeof organizationAccessManagementPageRouteRoute
|
||||||
organizationAuditLogsPageRouteRoute: typeof organizationAuditLogsPageRouteRoute
|
organizationAuditLogsPageRouteRoute: typeof organizationAuditLogsPageRouteRoute
|
||||||
organizationBillingPageRouteRoute: typeof organizationBillingPageRouteRoute
|
organizationBillingPageRouteRoute: typeof organizationBillingPageRouteRoute
|
||||||
|
organizationNetworkingPageRouteRoute: typeof organizationNetworkingPageRouteRoute
|
||||||
organizationProjectsPageRouteRoute: typeof organizationProjectsPageRouteRoute
|
organizationProjectsPageRouteRoute: typeof organizationProjectsPageRouteRoute
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRouteWithChildren
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRouteWithChildren
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRouteWithChildren
|
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRouteWithChildren
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRouteWithChildren
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationSettingsRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationSettingsRouteWithChildren
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationSettingsRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationSettingsRouteWithChildren
|
||||||
organizationGroupDetailsByIDPageRouteRoute: typeof organizationGroupDetailsByIDPageRouteRoute
|
organizationGroupDetailsByIDPageRouteRoute: typeof organizationGroupDetailsByIDPageRouteRoute
|
||||||
@@ -4072,11 +4039,10 @@ const AuthenticateInjectOrgDetailsOrgLayoutOrganizationRouteChildren: Authentica
|
|||||||
organizationAccessManagementPageRouteRoute,
|
organizationAccessManagementPageRouteRoute,
|
||||||
organizationAuditLogsPageRouteRoute: organizationAuditLogsPageRouteRoute,
|
organizationAuditLogsPageRouteRoute: organizationAuditLogsPageRouteRoute,
|
||||||
organizationBillingPageRouteRoute: organizationBillingPageRouteRoute,
|
organizationBillingPageRouteRoute: organizationBillingPageRouteRoute,
|
||||||
|
organizationNetworkingPageRouteRoute: organizationNetworkingPageRouteRoute,
|
||||||
organizationProjectsPageRouteRoute: organizationProjectsPageRouteRoute,
|
organizationProjectsPageRouteRoute: organizationProjectsPageRouteRoute,
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRoute:
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRoute:
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRouteWithChildren,
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRouteWithChildren,
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRoute:
|
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRouteWithChildren,
|
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRoute:
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRoute:
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRouteWithChildren,
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRouteWithChildren,
|
||||||
AuthenticateInjectOrgDetailsOrgLayoutOrganizationSettingsRoute:
|
AuthenticateInjectOrgDetailsOrgLayoutOrganizationSettingsRoute:
|
||||||
@@ -5057,6 +5023,7 @@ export interface FileRoutesByFullPath {
|
|||||||
'/organization/access-management': typeof organizationAccessManagementPageRouteRoute
|
'/organization/access-management': typeof organizationAccessManagementPageRouteRoute
|
||||||
'/organization/audit-logs': typeof organizationAuditLogsPageRouteRoute
|
'/organization/audit-logs': typeof organizationAuditLogsPageRouteRoute
|
||||||
'/organization/billing': typeof organizationBillingPageRouteRoute
|
'/organization/billing': typeof organizationBillingPageRouteRoute
|
||||||
|
'/organization/networking': typeof organizationNetworkingPageRouteRoute
|
||||||
'/organization/projects': typeof organizationProjectsPageRouteRoute
|
'/organization/projects': typeof organizationProjectsPageRouteRoute
|
||||||
'/admin/access-management': typeof adminAccessManagementPageRouteRoute
|
'/admin/access-management': typeof adminAccessManagementPageRouteRoute
|
||||||
'/admin/authentication': typeof adminAuthenticationPageRouteRoute
|
'/admin/authentication': typeof adminAuthenticationPageRouteRoute
|
||||||
@@ -5065,12 +5032,10 @@ export interface FileRoutesByFullPath {
|
|||||||
'/admin/environment': typeof adminEnvironmentPageRouteRoute
|
'/admin/environment': typeof adminEnvironmentPageRouteRoute
|
||||||
'/admin/integrations': typeof adminIntegrationsPageRouteRoute
|
'/admin/integrations': typeof adminIntegrationsPageRouteRoute
|
||||||
'/organization/app-connections': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRouteWithChildren
|
'/organization/app-connections': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRouteWithChildren
|
||||||
'/organization/networking': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRouteWithChildren
|
|
||||||
'/organization/secret-sharing': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRouteWithChildren
|
'/organization/secret-sharing': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRouteWithChildren
|
||||||
'/organization/settings': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationSettingsRouteWithChildren
|
'/organization/settings': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationSettingsRouteWithChildren
|
||||||
'/secret-manager/$projectId': typeof AuthenticateInjectOrgDetailsOrgLayoutSecretManagerProjectIdRouteWithChildren
|
'/secret-manager/$projectId': typeof AuthenticateInjectOrgDetailsOrgLayoutSecretManagerProjectIdRouteWithChildren
|
||||||
'/organization/app-connections/': typeof organizationAppConnectionsAppConnectionsPageRouteRoute
|
'/organization/app-connections/': typeof organizationAppConnectionsAppConnectionsPageRouteRoute
|
||||||
'/organization/networking/': typeof organizationNetworkingPageRouteRoute
|
|
||||||
'/organization/secret-sharing/': typeof organizationSecretSharingPageRouteRoute
|
'/organization/secret-sharing/': typeof organizationSecretSharingPageRouteRoute
|
||||||
'/organization/settings/': typeof organizationSettingsPageRouteRoute
|
'/organization/settings/': typeof organizationSettingsPageRouteRoute
|
||||||
'/organization/groups/$groupId': typeof organizationGroupDetailsByIDPageRouteRoute
|
'/organization/groups/$groupId': typeof organizationGroupDetailsByIDPageRouteRoute
|
||||||
@@ -5294,6 +5259,7 @@ export interface FileRoutesByTo {
|
|||||||
'/organization/access-management': typeof organizationAccessManagementPageRouteRoute
|
'/organization/access-management': typeof organizationAccessManagementPageRouteRoute
|
||||||
'/organization/audit-logs': typeof organizationAuditLogsPageRouteRoute
|
'/organization/audit-logs': typeof organizationAuditLogsPageRouteRoute
|
||||||
'/organization/billing': typeof organizationBillingPageRouteRoute
|
'/organization/billing': typeof organizationBillingPageRouteRoute
|
||||||
|
'/organization/networking': typeof organizationNetworkingPageRouteRoute
|
||||||
'/organization/projects': typeof organizationProjectsPageRouteRoute
|
'/organization/projects': typeof organizationProjectsPageRouteRoute
|
||||||
'/admin/access-management': typeof adminAccessManagementPageRouteRoute
|
'/admin/access-management': typeof adminAccessManagementPageRouteRoute
|
||||||
'/admin/authentication': typeof adminAuthenticationPageRouteRoute
|
'/admin/authentication': typeof adminAuthenticationPageRouteRoute
|
||||||
@@ -5303,7 +5269,6 @@ export interface FileRoutesByTo {
|
|||||||
'/admin/integrations': typeof adminIntegrationsPageRouteRoute
|
'/admin/integrations': typeof adminIntegrationsPageRouteRoute
|
||||||
'/secret-manager/$projectId': typeof AuthenticateInjectOrgDetailsOrgLayoutSecretManagerProjectIdRouteWithChildren
|
'/secret-manager/$projectId': typeof AuthenticateInjectOrgDetailsOrgLayoutSecretManagerProjectIdRouteWithChildren
|
||||||
'/organization/app-connections': typeof organizationAppConnectionsAppConnectionsPageRouteRoute
|
'/organization/app-connections': typeof organizationAppConnectionsAppConnectionsPageRouteRoute
|
||||||
'/organization/networking': typeof organizationNetworkingPageRouteRoute
|
|
||||||
'/organization/secret-sharing': typeof organizationSecretSharingPageRouteRoute
|
'/organization/secret-sharing': typeof organizationSecretSharingPageRouteRoute
|
||||||
'/organization/settings': typeof organizationSettingsPageRouteRoute
|
'/organization/settings': typeof organizationSettingsPageRouteRoute
|
||||||
'/organization/groups/$groupId': typeof organizationGroupDetailsByIDPageRouteRoute
|
'/organization/groups/$groupId': typeof organizationGroupDetailsByIDPageRouteRoute
|
||||||
@@ -5529,6 +5494,7 @@ export interface FileRoutesById {
|
|||||||
'/_authenticate/_inject-org-details/_org-layout/organization/access-management': typeof organizationAccessManagementPageRouteRoute
|
'/_authenticate/_inject-org-details/_org-layout/organization/access-management': typeof organizationAccessManagementPageRouteRoute
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/audit-logs': typeof organizationAuditLogsPageRouteRoute
|
'/_authenticate/_inject-org-details/_org-layout/organization/audit-logs': typeof organizationAuditLogsPageRouteRoute
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/billing': typeof organizationBillingPageRouteRoute
|
'/_authenticate/_inject-org-details/_org-layout/organization/billing': typeof organizationBillingPageRouteRoute
|
||||||
|
'/_authenticate/_inject-org-details/_org-layout/organization/networking': typeof organizationNetworkingPageRouteRoute
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/projects': typeof organizationProjectsPageRouteRoute
|
'/_authenticate/_inject-org-details/_org-layout/organization/projects': typeof organizationProjectsPageRouteRoute
|
||||||
'/_authenticate/_inject-org-details/admin/_admin-layout/access-management': typeof adminAccessManagementPageRouteRoute
|
'/_authenticate/_inject-org-details/admin/_admin-layout/access-management': typeof adminAccessManagementPageRouteRoute
|
||||||
'/_authenticate/_inject-org-details/admin/_admin-layout/authentication': typeof adminAuthenticationPageRouteRoute
|
'/_authenticate/_inject-org-details/admin/_admin-layout/authentication': typeof adminAuthenticationPageRouteRoute
|
||||||
@@ -5537,12 +5503,10 @@ export interface FileRoutesById {
|
|||||||
'/_authenticate/_inject-org-details/admin/_admin-layout/environment': typeof adminEnvironmentPageRouteRoute
|
'/_authenticate/_inject-org-details/admin/_admin-layout/environment': typeof adminEnvironmentPageRouteRoute
|
||||||
'/_authenticate/_inject-org-details/admin/_admin-layout/integrations': typeof adminIntegrationsPageRouteRoute
|
'/_authenticate/_inject-org-details/admin/_admin-layout/integrations': typeof adminIntegrationsPageRouteRoute
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/app-connections': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRouteWithChildren
|
'/_authenticate/_inject-org-details/_org-layout/organization/app-connections': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationAppConnectionsRouteWithChildren
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/networking': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationNetworkingRouteWithChildren
|
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRouteWithChildren
|
'/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationSecretSharingRouteWithChildren
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/settings': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationSettingsRouteWithChildren
|
'/_authenticate/_inject-org-details/_org-layout/organization/settings': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationSettingsRouteWithChildren
|
||||||
'/_authenticate/_inject-org-details/_org-layout/secret-manager/$projectId': typeof AuthenticateInjectOrgDetailsOrgLayoutSecretManagerProjectIdRouteWithChildren
|
'/_authenticate/_inject-org-details/_org-layout/secret-manager/$projectId': typeof AuthenticateInjectOrgDetailsOrgLayoutSecretManagerProjectIdRouteWithChildren
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/app-connections/': typeof organizationAppConnectionsAppConnectionsPageRouteRoute
|
'/_authenticate/_inject-org-details/_org-layout/organization/app-connections/': typeof organizationAppConnectionsAppConnectionsPageRouteRoute
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/networking/': typeof organizationNetworkingPageRouteRoute
|
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing/': typeof organizationSecretSharingPageRouteRoute
|
'/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing/': typeof organizationSecretSharingPageRouteRoute
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/settings/': typeof organizationSettingsPageRouteRoute
|
'/_authenticate/_inject-org-details/_org-layout/organization/settings/': typeof organizationSettingsPageRouteRoute
|
||||||
'/_authenticate/_inject-org-details/_org-layout/organization/groups/$groupId': typeof organizationGroupDetailsByIDPageRouteRoute
|
'/_authenticate/_inject-org-details/_org-layout/organization/groups/$groupId': typeof organizationGroupDetailsByIDPageRouteRoute
|
||||||
@@ -5778,6 +5742,7 @@ export interface FileRouteTypes {
|
|||||||
| '/organization/access-management'
|
| '/organization/access-management'
|
||||||
| '/organization/audit-logs'
|
| '/organization/audit-logs'
|
||||||
| '/organization/billing'
|
| '/organization/billing'
|
||||||
|
| '/organization/networking'
|
||||||
| '/organization/projects'
|
| '/organization/projects'
|
||||||
| '/admin/access-management'
|
| '/admin/access-management'
|
||||||
| '/admin/authentication'
|
| '/admin/authentication'
|
||||||
@@ -5786,12 +5751,10 @@ export interface FileRouteTypes {
|
|||||||
| '/admin/environment'
|
| '/admin/environment'
|
||||||
| '/admin/integrations'
|
| '/admin/integrations'
|
||||||
| '/organization/app-connections'
|
| '/organization/app-connections'
|
||||||
| '/organization/networking'
|
|
||||||
| '/organization/secret-sharing'
|
| '/organization/secret-sharing'
|
||||||
| '/organization/settings'
|
| '/organization/settings'
|
||||||
| '/secret-manager/$projectId'
|
| '/secret-manager/$projectId'
|
||||||
| '/organization/app-connections/'
|
| '/organization/app-connections/'
|
||||||
| '/organization/networking/'
|
|
||||||
| '/organization/secret-sharing/'
|
| '/organization/secret-sharing/'
|
||||||
| '/organization/settings/'
|
| '/organization/settings/'
|
||||||
| '/organization/groups/$groupId'
|
| '/organization/groups/$groupId'
|
||||||
@@ -6014,6 +5977,7 @@ export interface FileRouteTypes {
|
|||||||
| '/organization/access-management'
|
| '/organization/access-management'
|
||||||
| '/organization/audit-logs'
|
| '/organization/audit-logs'
|
||||||
| '/organization/billing'
|
| '/organization/billing'
|
||||||
|
| '/organization/networking'
|
||||||
| '/organization/projects'
|
| '/organization/projects'
|
||||||
| '/admin/access-management'
|
| '/admin/access-management'
|
||||||
| '/admin/authentication'
|
| '/admin/authentication'
|
||||||
@@ -6023,7 +5987,6 @@ export interface FileRouteTypes {
|
|||||||
| '/admin/integrations'
|
| '/admin/integrations'
|
||||||
| '/secret-manager/$projectId'
|
| '/secret-manager/$projectId'
|
||||||
| '/organization/app-connections'
|
| '/organization/app-connections'
|
||||||
| '/organization/networking'
|
|
||||||
| '/organization/secret-sharing'
|
| '/organization/secret-sharing'
|
||||||
| '/organization/settings'
|
| '/organization/settings'
|
||||||
| '/organization/groups/$groupId'
|
| '/organization/groups/$groupId'
|
||||||
@@ -6247,6 +6210,7 @@ export interface FileRouteTypes {
|
|||||||
| '/_authenticate/_inject-org-details/_org-layout/organization/access-management'
|
| '/_authenticate/_inject-org-details/_org-layout/organization/access-management'
|
||||||
| '/_authenticate/_inject-org-details/_org-layout/organization/audit-logs'
|
| '/_authenticate/_inject-org-details/_org-layout/organization/audit-logs'
|
||||||
| '/_authenticate/_inject-org-details/_org-layout/organization/billing'
|
| '/_authenticate/_inject-org-details/_org-layout/organization/billing'
|
||||||
|
| '/_authenticate/_inject-org-details/_org-layout/organization/networking'
|
||||||
| '/_authenticate/_inject-org-details/_org-layout/organization/projects'
|
| '/_authenticate/_inject-org-details/_org-layout/organization/projects'
|
||||||
| '/_authenticate/_inject-org-details/admin/_admin-layout/access-management'
|
| '/_authenticate/_inject-org-details/admin/_admin-layout/access-management'
|
||||||
| '/_authenticate/_inject-org-details/admin/_admin-layout/authentication'
|
| '/_authenticate/_inject-org-details/admin/_admin-layout/authentication'
|
||||||
@@ -6255,12 +6219,10 @@ export interface FileRouteTypes {
|
|||||||
| '/_authenticate/_inject-org-details/admin/_admin-layout/environment'
|
| '/_authenticate/_inject-org-details/admin/_admin-layout/environment'
|
||||||
| '/_authenticate/_inject-org-details/admin/_admin-layout/integrations'
|
| '/_authenticate/_inject-org-details/admin/_admin-layout/integrations'
|
||||||
| '/_authenticate/_inject-org-details/_org-layout/organization/app-connections'
|
| '/_authenticate/_inject-org-details/_org-layout/organization/app-connections'
|
||||||
| '/_authenticate/_inject-org-details/_org-layout/organization/networking'
|
|
||||||
| '/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing'
|
| '/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing'
|
||||||
| '/_authenticate/_inject-org-details/_org-layout/organization/settings'
|
| '/_authenticate/_inject-org-details/_org-layout/organization/settings'
|
||||||
| '/_authenticate/_inject-org-details/_org-layout/secret-manager/$projectId'
|
| '/_authenticate/_inject-org-details/_org-layout/secret-manager/$projectId'
|
||||||
| '/_authenticate/_inject-org-details/_org-layout/organization/app-connections/'
|
| '/_authenticate/_inject-org-details/_org-layout/organization/app-connections/'
|
||||||
| '/_authenticate/_inject-org-details/_org-layout/organization/networking/'
|
|
||||||
| '/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing/'
|
| '/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing/'
|
||||||
| '/_authenticate/_inject-org-details/_org-layout/organization/settings/'
|
| '/_authenticate/_inject-org-details/_org-layout/organization/settings/'
|
||||||
| '/_authenticate/_inject-org-details/_org-layout/organization/groups/$groupId'
|
| '/_authenticate/_inject-org-details/_org-layout/organization/groups/$groupId'
|
||||||
@@ -6703,9 +6665,9 @@ export const routeTree = rootRoute
|
|||||||
"/_authenticate/_inject-org-details/_org-layout/organization/access-management",
|
"/_authenticate/_inject-org-details/_org-layout/organization/access-management",
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/audit-logs",
|
"/_authenticate/_inject-org-details/_org-layout/organization/audit-logs",
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/billing",
|
"/_authenticate/_inject-org-details/_org-layout/organization/billing",
|
||||||
|
"/_authenticate/_inject-org-details/_org-layout/organization/networking",
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/projects",
|
"/_authenticate/_inject-org-details/_org-layout/organization/projects",
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/app-connections",
|
"/_authenticate/_inject-org-details/_org-layout/organization/app-connections",
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/networking",
|
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing",
|
"/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing",
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/settings",
|
"/_authenticate/_inject-org-details/_org-layout/organization/settings",
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/groups/$groupId",
|
"/_authenticate/_inject-org-details/_org-layout/organization/groups/$groupId",
|
||||||
@@ -6744,6 +6706,10 @@ export const routeTree = rootRoute
|
|||||||
"filePath": "organization/BillingPage/route.tsx",
|
"filePath": "organization/BillingPage/route.tsx",
|
||||||
"parent": "/_authenticate/_inject-org-details/_org-layout/organization"
|
"parent": "/_authenticate/_inject-org-details/_org-layout/organization"
|
||||||
},
|
},
|
||||||
|
"/_authenticate/_inject-org-details/_org-layout/organization/networking": {
|
||||||
|
"filePath": "organization/NetworkingPage/route.tsx",
|
||||||
|
"parent": "/_authenticate/_inject-org-details/_org-layout/organization"
|
||||||
|
},
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/projects": {
|
"/_authenticate/_inject-org-details/_org-layout/organization/projects": {
|
||||||
"filePath": "organization/ProjectsPage/route.tsx",
|
"filePath": "organization/ProjectsPage/route.tsx",
|
||||||
"parent": "/_authenticate/_inject-org-details/_org-layout/organization"
|
"parent": "/_authenticate/_inject-org-details/_org-layout/organization"
|
||||||
@@ -6780,13 +6746,6 @@ export const routeTree = rootRoute
|
|||||||
"/_authenticate/_inject-org-details/_org-layout/organization/app-connections/$appConnection/oauth/callback"
|
"/_authenticate/_inject-org-details/_org-layout/organization/app-connections/$appConnection/oauth/callback"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/networking": {
|
|
||||||
"filePath": "",
|
|
||||||
"parent": "/_authenticate/_inject-org-details/_org-layout/organization",
|
|
||||||
"children": [
|
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/networking/"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing": {
|
"/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing": {
|
||||||
"filePath": "",
|
"filePath": "",
|
||||||
"parent": "/_authenticate/_inject-org-details/_org-layout/organization",
|
"parent": "/_authenticate/_inject-org-details/_org-layout/organization",
|
||||||
@@ -6814,10 +6773,6 @@ export const routeTree = rootRoute
|
|||||||
"filePath": "organization/AppConnections/AppConnectionsPage/route.tsx",
|
"filePath": "organization/AppConnections/AppConnectionsPage/route.tsx",
|
||||||
"parent": "/_authenticate/_inject-org-details/_org-layout/organization/app-connections"
|
"parent": "/_authenticate/_inject-org-details/_org-layout/organization/app-connections"
|
||||||
},
|
},
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/networking/": {
|
|
||||||
"filePath": "organization/NetworkingPage/route.tsx",
|
|
||||||
"parent": "/_authenticate/_inject-org-details/_org-layout/organization/networking"
|
|
||||||
},
|
|
||||||
"/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing/": {
|
"/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing/": {
|
||||||
"filePath": "organization/SecretSharingPage/route.tsx",
|
"filePath": "organization/SecretSharingPage/route.tsx",
|
||||||
"parent": "/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing"
|
"parent": "/_authenticate/_inject-org-details/_org-layout/organization/secret-sharing"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ const organizationRoutes = route("/organization", [
|
|||||||
"organization/AppConnections/OauthCallbackPage/route.tsx"
|
"organization/AppConnections/OauthCallbackPage/route.tsx"
|
||||||
)
|
)
|
||||||
]),
|
]),
|
||||||
route("/networking", [index("organization/NetworkingPage/route.tsx")])
|
route("/networking", "organization/NetworkingPage/route.tsx")
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const secretManagerRoutes = route("/projects/secret-management/$projectId", [
|
const secretManagerRoutes = route("/projects/secret-management/$projectId", [
|
||||||
|
|||||||
Reference in New Issue
Block a user