From 9b715b73493167d47496fb062cea7b43acdd8f5e Mon Sep 17 00:00:00 2001 From: Sergei Zaychenko Date: Wed, 23 Aug 2023 13:37:02 -0700 Subject: [PATCH] GraphQL: account name type is used explicitly --- resources/schema.graphql | 6 +++--- src/app/api/kamu.graphql.interface.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/schema.graphql b/resources/schema.graphql index bd0c1a68d..3cc39cc7b 100644 --- a/resources/schema.graphql +++ b/resources/schema.graphql @@ -6,7 +6,7 @@ type AccessToken { interface Account { id: AccountID! - name: String! + name: AccountName! } scalar AccountID @@ -626,7 +626,7 @@ type Organization implements Account { """ Symbolic account name """ - name: String! + name: AccountName! } type PageBasedInfo { @@ -1025,7 +1025,7 @@ type User implements Account { """ Symbolic account name """ - name: String! + name: AccountName! } schema { diff --git a/src/app/api/kamu.graphql.interface.ts b/src/app/api/kamu.graphql.interface.ts index 013f2ca17..3a9509897 100644 --- a/src/app/api/kamu.graphql.interface.ts +++ b/src/app/api/kamu.graphql.interface.ts @@ -40,7 +40,7 @@ export type AccessToken = { export type Account = { id: Scalars["AccountID"]; - name: Scalars["String"]; + name: Scalars["AccountName"]; }; export type AccountInfo = { @@ -693,7 +693,7 @@ export type Organization = Account & { /** Unique and stable identitfier of this organization account */ id: Scalars["AccountID"]; /** Symbolic account name */ - name: Scalars["String"]; + name: Scalars["AccountName"]; }; export type PageBasedInfo = { @@ -1092,7 +1092,7 @@ export type User = Account & { /** Unique and stable identitfier of this user account */ id: Scalars["AccountID"]; /** Symbolic account name */ - name: Scalars["String"]; + name: Scalars["AccountName"]; }; export type CommitEventToDatasetMutationVariables = Exact<{