add manual virtual api key create ui

This commit is contained in:
miloschwartz
2026-08-10 21:44:22 -04:00
parent 4c1f7f6243
commit 6d45486bb5
16 changed files with 1974 additions and 18 deletions
+8 -2
View File
@@ -382,18 +382,20 @@ export const orgQueries = {
proxyResources: ({
orgId,
query,
perPage = 10_000
perPage = 10_000,
protocol
}: {
orgId: string;
query?: string;
perPage?: number;
protocol?: string;
}) =>
queryOptions({
queryKey: [
"ORG",
orgId,
"PROXY_RESOURCES",
{ query, perPage }
{ query, perPage, protocol }
] as const,
queryFn: async ({ signal, meta }) => {
const sp = new URLSearchParams({
@@ -404,6 +406,10 @@ export const orgQueries = {
sp.set("query", query);
}
if (protocol) {
sp.set("protocol", protocol);
}
const res = await meta!.api.get<
AxiosResponse<ListResourcesResponse>
>(`/org/${orgId}/resources?${sp.toString()}`, { signal });