diff --git a/src/components/Article/Comment.tsx b/src/components/Article/Comment.tsx index 4f078f66..114a54f4 100644 --- a/src/components/Article/Comment.tsx +++ b/src/components/Article/Comment.tsx @@ -16,7 +16,7 @@ import { useReactions } from '../../context/reactions' import { useSnackbar } from '../../context/snackbar' import { useConfirm } from '../../context/confirm' -import type { Author, Reaction, ReactionKind } from '../../graphql/types.gen' +import { Author, Reaction, ReactionKind } from '../../graphql/types.gen' import { router } from '../../stores/router' diff --git a/src/graphql/types.gen.ts b/src/graphql/types.gen.ts index 357fbd3f..ccf57ba9 100644 --- a/src/graphql/types.gen.ts +++ b/src/graphql/types.gen.ts @@ -295,12 +295,6 @@ export type MutationUpdateTopicArgs = { input: TopicInput } -export type Notification = { - kind: Scalars['String'] - template: Scalars['String'] - variables?: Maybe>> -} - export type Operation = { id: Scalars['Int'] name: Scalars['String'] @@ -563,6 +557,7 @@ export type Shout = { id: Scalars['Int'] lang?: Maybe layout?: Maybe + lead?: Maybe mainTopic?: Maybe media?: Maybe publishedAt?: Maybe @@ -664,7 +659,6 @@ export type User = { links?: Maybe>> muted?: Maybe name?: Maybe - notifications?: Maybe>> oauth?: Maybe oid?: Maybe password?: Maybe @@ -682,10 +676,3 @@ export type UserFollowings = { topics?: Maybe>> unread?: Maybe } - -export type UserNotification = { - id: Scalars['Int'] - kind: Scalars['String'] - user: Scalars['Int'] - values?: Maybe>> -}