From 38c3ba9166aece3865f0e325cef5b7c777ec3dab Mon Sep 17 00:00:00 2001 From: nxtcoder36 Date: Tue, 17 Sep 2024 10:16:47 +0530 Subject: [PATCH] cli queries updated --- gql-queries-generator/doc/queries.graphql | 3 ++- src/apps/auth/server/gql/cli-queries.ts | 3 ++- src/generated/gql/server.ts | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gql-queries-generator/doc/queries.graphql b/gql-queries-generator/doc/queries.graphql index 3a6e3e594..04c7ecaa7 100644 --- a/gql-queries-generator/doc/queries.graphql +++ b/gql-queries-generator/doc/queries.graphql @@ -6484,8 +6484,8 @@ query authCli_getRemoteLogin($loginId: String!, $secret: String!) { mutation authCli_createClusterReference($cluster: BYOKClusterIn!) { infra_createBYOKCluster(cluster: $cluster) { - id clusterToken + displayName metadata { name } @@ -6630,6 +6630,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..5d036c39e 100644 --- a/src/apps/auth/server/gql/cli-queries.ts +++ b/src/apps/auth/server/gql/cli-queries.ts @@ -721,8 +721,8 @@ export const cliQueries = (executor: IExecutor) => ({ gql` mutation Infra_createBYOKCluster($cluster: BYOKClusterIn!) { infra_createBYOKCluster(cluster: $cluster) { - id clusterToken + displayName metadata { name } @@ -914,6 +914,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..07bc13432 100644 --- a/src/generated/gql/server.ts +++ b/src/generated/gql/server.ts @@ -8139,8 +8139,8 @@ export type AuthCli_CreateClusterReferenceMutationVariables = Exact<{ export type AuthCli_CreateClusterReferenceMutation = { infra_createBYOKCluster?: { - id: string; clusterToken: string; + displayName: string; metadata: { name: string }; }; }; @@ -8286,6 +8286,7 @@ export type AuthCli_ListByokClustersQuery = { edges: Array<{ cursor: string; node: { + clusterToken: string; displayName: string; id: string; updateTime: any;