Skip to content

Commit

Permalink
GraphQL: account name type is used explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
zaychenko-sergei committed Aug 23, 2023
1 parent 731535b commit 9b715b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions resources/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type AccessToken {

interface Account {
id: AccountID!
name: String!
name: AccountName!
}

scalar AccountID
Expand Down Expand Up @@ -626,7 +626,7 @@ type Organization implements Account {
"""
Symbolic account name
"""
name: String!
name: AccountName!
}

type PageBasedInfo {
Expand Down Expand Up @@ -1025,7 +1025,7 @@ type User implements Account {
"""
Symbolic account name
"""
name: String!
name: AccountName!
}

schema {
Expand Down
6 changes: 3 additions & 3 deletions src/app/api/kamu.graphql.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export type AccessToken = {

export type Account = {
id: Scalars["AccountID"];
name: Scalars["String"];
name: Scalars["AccountName"];
};

export type AccountInfo = {
Expand Down Expand Up @@ -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 = {
Expand Down Expand Up @@ -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<{
Expand Down

0 comments on commit 9b715b7

Please sign in to comment.