From 501e308eb1e9978ff6031405f1fbdf9477407691 Mon Sep 17 00:00:00 2001 From: Mohit Kumar <48203820+nxtcoder36@users.noreply.github.com> Date: Tue, 17 Sep 2024 14:25:45 +0530 Subject: [PATCH] cli queries updated (#295) * cli queries updated * changes in kl cli * minor change --- gql-queries-generator/doc/queries.graphql | 2 ++ src/apps/auth/server/gql/cli-queries.ts | 2 ++ src/generated/gql/server.ts | 2 ++ 3 files changed, 6 insertions(+) diff --git a/gql-queries-generator/doc/queries.graphql b/gql-queries-generator/doc/queries.graphql index 3a6e3e594..6cca06b27 100644 --- a/gql-queries-generator/doc/queries.graphql +++ b/gql-queries-generator/doc/queries.graphql @@ -6486,6 +6486,7 @@ mutation authCli_createClusterReference($cluster: BYOKClusterIn!) { infra_createBYOKCluster(cluster: $cluster) { id clusterToken + displayName metadata { name } @@ -6630,6 +6631,7 @@ query authCli_listByokClusters($search: SearchCluster, $pagination: CursorPagina edges { cursor node { + clusterToken displayName id metadata { diff --git a/src/apps/auth/server/gql/cli-queries.ts b/src/apps/auth/server/gql/cli-queries.ts index 092bf28e1..a8f77899c 100644 --- a/src/apps/auth/server/gql/cli-queries.ts +++ b/src/apps/auth/server/gql/cli-queries.ts @@ -723,6 +723,7 @@ export const cliQueries = (executor: IExecutor) => ({ infra_createBYOKCluster(cluster: $cluster) { id clusterToken + displayName metadata { name } @@ -914,6 +915,7 @@ export const cliQueries = (executor: IExecutor) => ({ edges { cursor node { + clusterToken displayName id metadata { diff --git a/src/generated/gql/server.ts b/src/generated/gql/server.ts index f84aae0a9..d732b6784 100644 --- a/src/generated/gql/server.ts +++ b/src/generated/gql/server.ts @@ -8141,6 +8141,7 @@ export type AuthCli_CreateClusterReferenceMutation = { infra_createBYOKCluster?: { id: string; clusterToken: string; + displayName: string; metadata: { name: string }; }; }; @@ -8286,6 +8287,7 @@ export type AuthCli_ListByokClustersQuery = { edges: Array<{ cursor: string; node: { + clusterToken: string; displayName: string; id: string; updateTime: any;