From cf16baf835c73f08ae230ac2ebb0122c7a8e2123 Mon Sep 17 00:00:00 2001 From: Jannik Wempe Date: Tue, 7 May 2024 09:15:01 +0200 Subject: [PATCH 1/2] stop sending old analytics data --- .../enterprise/components/analytics.tsx | 56 ------------------- .../themes/enterprise/next.config.js | 6 +- .../themes/hashnode/components/analytics.tsx | 56 ------------------- .../themes/hashnode/next.config.js | 6 +- .../themes/personal/components/analytics.tsx | 56 ------------------- .../themes/personal/next.config.js | 6 +- 6 files changed, 3 insertions(+), 183 deletions(-) diff --git a/packages/blog-starter-kit/themes/enterprise/components/analytics.tsx b/packages/blog-starter-kit/themes/enterprise/components/analytics.tsx index 888e7b8a8..2dcdb1969 100644 --- a/packages/blog-starter-kit/themes/enterprise/components/analytics.tsx +++ b/packages/blog-starter-kit/themes/enterprise/components/analytics.tsx @@ -52,61 +52,6 @@ export const Analytics = () => { }); }; - const _sendViewsToHashnodeAnalyticsDashboard = async () => { - const LOCATION = window.location; - const NAVIGATOR = window.navigator; - const currentFullURL = - LOCATION.protocol + - '//' + - LOCATION.hostname + - LOCATION.pathname + - LOCATION.search + - LOCATION.hash; - - const query = new URL(currentFullURL).searchParams; - - const utm_id = query.get('utm_id'); - const utm_campaign = query.get('utm_campaign'); - const utm_source = query.get('utm_source'); - const utm_medium = query.get('utm_medium'); - const utm_term = query.get('utm_term'); - const utm_content = query.get('utm_content'); - - let referrer = document.referrer || ''; - if (referrer.indexOf(window.location.hostname) !== -1) { - referrer = ''; - } - - const data = { - publicationId: publication.id, - postId: post && post.id, - timestamp: Date.now(), - url: currentFullURL, - referrer: referrer, - title: document.title, - charset: document.characterSet || document.charset, - lang: NAVIGATOR.language, - userAgent: NAVIGATOR.userAgent, - historyLength: window.history.length, - timezoneOffset: new Date().getTimezoneOffset(), - utm_id, - utm_campaign, - utm_source, - utm_medium, - utm_term, - utm_content, - }; - - // For Hashnode Blog Dashboard Analytics - fetch(`${BASE_PATH}/ping/view`, { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - body: JSON.stringify({ data }), - }); - }; - function _sendViewsToAdvancedAnalyticsDashboard() { const publicationId = publication.id; const postId = post && post.id; @@ -189,7 +134,6 @@ export const Analytics = () => { _sendPageViewsToHashnodeGoogleAnalytics(); _sendViewsToHashnodeInternalAnalytics(); - _sendViewsToHashnodeAnalyticsDashboard(); _sendViewsToAdvancedAnalyticsDashboard(); }, []); diff --git a/packages/blog-starter-kit/themes/enterprise/next.config.js b/packages/blog-starter-kit/themes/enterprise/next.config.js index d8b185dc9..3d6424e87 100644 --- a/packages/blog-starter-kit/themes/enterprise/next.config.js +++ b/packages/blog-starter-kit/themes/enterprise/next.config.js @@ -1,7 +1,7 @@ const { request, gql } = require('graphql-request'); const ANALYTICS_BASE_URL = 'https://hn-ping2.hashnode.com'; -const HASHNODE_ADVANCED_ANALYTICS_URL = "https://user-analytics.hashnode.com" +const HASHNODE_ADVANCED_ANALYTICS_URL = 'https://user-analytics.hashnode.com'; const BASE_URL = process.env.NEXT_PUBLIC_BASE_URL; const GQL_ENDPOINT = process.env.NEXT_PUBLIC_HASHNODE_GQL_ENDPOINT; @@ -78,10 +78,6 @@ const config = { source: '/ping/data-event', destination: `${ANALYTICS_BASE_URL}/api/data-event`, }, - { - source: '/ping/view', - destination: `${ANALYTICS_BASE_URL}/api/view`, - }, { source: '/api/analytics', destination: `${HASHNODE_ADVANCED_ANALYTICS_URL}/api/analytics`, diff --git a/packages/blog-starter-kit/themes/hashnode/components/analytics.tsx b/packages/blog-starter-kit/themes/hashnode/components/analytics.tsx index 888e7b8a8..2dcdb1969 100644 --- a/packages/blog-starter-kit/themes/hashnode/components/analytics.tsx +++ b/packages/blog-starter-kit/themes/hashnode/components/analytics.tsx @@ -52,61 +52,6 @@ export const Analytics = () => { }); }; - const _sendViewsToHashnodeAnalyticsDashboard = async () => { - const LOCATION = window.location; - const NAVIGATOR = window.navigator; - const currentFullURL = - LOCATION.protocol + - '//' + - LOCATION.hostname + - LOCATION.pathname + - LOCATION.search + - LOCATION.hash; - - const query = new URL(currentFullURL).searchParams; - - const utm_id = query.get('utm_id'); - const utm_campaign = query.get('utm_campaign'); - const utm_source = query.get('utm_source'); - const utm_medium = query.get('utm_medium'); - const utm_term = query.get('utm_term'); - const utm_content = query.get('utm_content'); - - let referrer = document.referrer || ''; - if (referrer.indexOf(window.location.hostname) !== -1) { - referrer = ''; - } - - const data = { - publicationId: publication.id, - postId: post && post.id, - timestamp: Date.now(), - url: currentFullURL, - referrer: referrer, - title: document.title, - charset: document.characterSet || document.charset, - lang: NAVIGATOR.language, - userAgent: NAVIGATOR.userAgent, - historyLength: window.history.length, - timezoneOffset: new Date().getTimezoneOffset(), - utm_id, - utm_campaign, - utm_source, - utm_medium, - utm_term, - utm_content, - }; - - // For Hashnode Blog Dashboard Analytics - fetch(`${BASE_PATH}/ping/view`, { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - body: JSON.stringify({ data }), - }); - }; - function _sendViewsToAdvancedAnalyticsDashboard() { const publicationId = publication.id; const postId = post && post.id; @@ -189,7 +134,6 @@ export const Analytics = () => { _sendPageViewsToHashnodeGoogleAnalytics(); _sendViewsToHashnodeInternalAnalytics(); - _sendViewsToHashnodeAnalyticsDashboard(); _sendViewsToAdvancedAnalyticsDashboard(); }, []); diff --git a/packages/blog-starter-kit/themes/hashnode/next.config.js b/packages/blog-starter-kit/themes/hashnode/next.config.js index d8b185dc9..3d6424e87 100644 --- a/packages/blog-starter-kit/themes/hashnode/next.config.js +++ b/packages/blog-starter-kit/themes/hashnode/next.config.js @@ -1,7 +1,7 @@ const { request, gql } = require('graphql-request'); const ANALYTICS_BASE_URL = 'https://hn-ping2.hashnode.com'; -const HASHNODE_ADVANCED_ANALYTICS_URL = "https://user-analytics.hashnode.com" +const HASHNODE_ADVANCED_ANALYTICS_URL = 'https://user-analytics.hashnode.com'; const BASE_URL = process.env.NEXT_PUBLIC_BASE_URL; const GQL_ENDPOINT = process.env.NEXT_PUBLIC_HASHNODE_GQL_ENDPOINT; @@ -78,10 +78,6 @@ const config = { source: '/ping/data-event', destination: `${ANALYTICS_BASE_URL}/api/data-event`, }, - { - source: '/ping/view', - destination: `${ANALYTICS_BASE_URL}/api/view`, - }, { source: '/api/analytics', destination: `${HASHNODE_ADVANCED_ANALYTICS_URL}/api/analytics`, diff --git a/packages/blog-starter-kit/themes/personal/components/analytics.tsx b/packages/blog-starter-kit/themes/personal/components/analytics.tsx index fd354888c..3df2d1e19 100644 --- a/packages/blog-starter-kit/themes/personal/components/analytics.tsx +++ b/packages/blog-starter-kit/themes/personal/components/analytics.tsx @@ -52,61 +52,6 @@ export const Analytics = () => { }); }; - const _sendViewsToHashnodeAnalyticsDashboard = async () => { - const LOCATION = window.location; - const NAVIGATOR = window.navigator; - const currentFullURL = - LOCATION.protocol + - '//' + - LOCATION.hostname + - LOCATION.pathname + - LOCATION.search + - LOCATION.hash; - - const query = new URL(currentFullURL).searchParams; - - const utm_id = query.get('utm_id'); - const utm_campaign = query.get('utm_campaign'); - const utm_source = query.get('utm_source'); - const utm_medium = query.get('utm_medium'); - const utm_term = query.get('utm_term'); - const utm_content = query.get('utm_content'); - - let referrer = document.referrer || ''; - if (referrer.indexOf(window.location.hostname) !== -1) { - referrer = ''; - } - - const data = { - publicationId: publication.id, - postId: post && post.id, - timestamp: Date.now(), - url: currentFullURL, - referrer: referrer, - title: document.title, - charset: document.characterSet || document.charset, - lang: NAVIGATOR.language, - userAgent: NAVIGATOR.userAgent, - historyLength: window.history.length, - timezoneOffset: new Date().getTimezoneOffset(), - utm_id, - utm_campaign, - utm_source, - utm_medium, - utm_term, - utm_content, - }; - - // For Hashnode Blog Dashboard Analytics - fetch(`${BASE_PATH}/ping/view`, { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - body: JSON.stringify({ data }), - }); - }; - function _sendViewsToAdvancedAnalyticsDashboard() { const publicationId = publication.id; const postId = post && post.id; @@ -187,7 +132,6 @@ export const Analytics = () => { _sendPageViewsToHashnodeGoogleAnalytics(); _sendViewsToHashnodeInternalAnalytics(); - _sendViewsToHashnodeAnalyticsDashboard(); _sendViewsToAdvancedAnalyticsDashboard(); }, []); diff --git a/packages/blog-starter-kit/themes/personal/next.config.js b/packages/blog-starter-kit/themes/personal/next.config.js index d8b185dc9..3d6424e87 100644 --- a/packages/blog-starter-kit/themes/personal/next.config.js +++ b/packages/blog-starter-kit/themes/personal/next.config.js @@ -1,7 +1,7 @@ const { request, gql } = require('graphql-request'); const ANALYTICS_BASE_URL = 'https://hn-ping2.hashnode.com'; -const HASHNODE_ADVANCED_ANALYTICS_URL = "https://user-analytics.hashnode.com" +const HASHNODE_ADVANCED_ANALYTICS_URL = 'https://user-analytics.hashnode.com'; const BASE_URL = process.env.NEXT_PUBLIC_BASE_URL; const GQL_ENDPOINT = process.env.NEXT_PUBLIC_HASHNODE_GQL_ENDPOINT; @@ -78,10 +78,6 @@ const config = { source: '/ping/data-event', destination: `${ANALYTICS_BASE_URL}/api/data-event`, }, - { - source: '/ping/view', - destination: `${ANALYTICS_BASE_URL}/api/view`, - }, { source: '/api/analytics', destination: `${HASHNODE_ADVANCED_ANALYTICS_URL}/api/analytics`, From 7844a1862a5fdedffbca7ba961f50061cf6dcd34 Mon Sep 17 00:00:00 2001 From: Jannik Wempe Date: Tue, 7 May 2024 09:19:19 +0200 Subject: [PATCH 2/2] update gql definitions --- .../themes/enterprise/generated/graphql.ts | 95 +- .../enterprise/generated/schema.graphql | 83 +- .../themes/hashnode/generated/graphql.ts | 123 +- .../themes/hashnode/generated/schema.graphql | 83 +- .../themes/personal/generated/graphql.ts | 1177 ++++++++++++++++- .../themes/personal/generated/schema.graphql | 1143 +++++++++++++++- 6 files changed, 2631 insertions(+), 73 deletions(-) diff --git a/packages/blog-starter-kit/themes/enterprise/generated/graphql.ts b/packages/blog-starter-kit/themes/enterprise/generated/graphql.ts index 774ea9c2e..0bc59bb88 100644 --- a/packages/blog-starter-kit/themes/enterprise/generated/graphql.ts +++ b/packages/blog-starter-kit/themes/enterprise/generated/graphql.ts @@ -886,6 +886,12 @@ export type CustomCssFeature = Feature & { published?: Maybe; }; +export enum CustomDomainStatus { + Invalid = 'INVALID', + Valid = 'VALID', + Verifying = 'VERIFYING' +} + /** Contains the publication's dark mode preferences. */ export type DarkModePreferences = { __typename?: 'DarkModePreferences'; @@ -895,6 +901,19 @@ export type DarkModePreferences = { logo?: Maybe; }; +export type DeleteRoleBasedInviteInput = { + /** The ID of the role based invite. */ + inviteId: Scalars['ID']['input']; + publicationId: Scalars['ID']['input']; +}; + +/** Response to deleting a role based invite. */ +export type DeleteRoleBasedInvitePayload = { + __typename?: 'DeleteRoleBasedInvitePayload'; + /** Deleted invite. */ + invite: RoleBasedInvite; +}; + export type DeleteWebhookPayload = { __typename?: 'DeleteWebhookPayload'; webhook?: Maybe; @@ -929,6 +948,13 @@ export type DomainStatus = { host: Scalars['String']['output']; /** A flag indicating if the publication domain is ready. */ ready: Scalars['Boolean']['output']; + /** A flag indicating the status of a publication domain */ + status: CustomDomainStatus; + /** + * A timestamp indicating when the domain was verified. + * It is only present if the domain is verified. + */ + verifiedAt?: Maybe; }; /** @@ -1512,6 +1538,8 @@ export type Mutation = { /** Creates a new series. */ createSeries: CreateSeriesPayload; createWebhook: CreateWebhookPayload; + /** Deletes a role based invite. */ + deleteRoleBasedInvite: DeleteRoleBasedInvitePayload; deleteWebhook: DeleteWebhookPayload; /** Likes a comment. */ likeComment: LikeCommentPayload; @@ -1595,6 +1623,11 @@ export type MutationCreateWebhookArgs = { }; +export type MutationDeleteRoleBasedInviteArgs = { + input: DeleteRoleBasedInviteInput; +}; + + export type MutationDeleteWebhookArgs = { id: Scalars['ID']['input']; }; @@ -2374,6 +2407,7 @@ export type Publication = Node & { post?: Maybe; /** Returns the list of posts in the publication. */ posts: PublicationPostConnection; + postsViaPage: PublicationPostPageConnection; /** The publication preferences around layout, theme and other personalisations. */ preferences: Preferences; /** Publications that are recommended by this publication. */ @@ -2441,6 +2475,16 @@ export type PublicationPostsArgs = { }; +/** + * Contains basic information about the publication. + * A publication is a blog that can be created for a user or a team. + */ +export type PublicationPostsViaPageArgs = { + page: Scalars['Int']['input']; + pageSize: Scalars['Int']['input']; +}; + + /** * Contains basic information about the publication. * A publication is a blog that can be created for a user or a team. @@ -2614,12 +2658,24 @@ export type PublicationMember = Node & { __typename?: 'PublicationMember'; /** The ID of the publication member. */ id: Scalars['ID']['output']; + /** + * Denotes if the member is public or private + * A private member is not visible on members page + */ + privacyState?: Maybe; /** The role of the user in the publication. */ role: UserPublicationRole; /** The user who is a member of the publication. */ user?: Maybe; }; +export enum PublicationMemberPrivacyState { + /** The member is private and not visible on the members page. */ + Private = 'PRIVATE', + /** The member is public and visible on the members page. */ + Public = 'PUBLIC' +} + /** Contains the publication's navbar items. */ export type PublicationNavbarItem = { __typename?: 'PublicationNavbarItem'; @@ -2690,6 +2746,16 @@ export type PublicationPostConnectionFilter = { tags?: InputMaybe>; }; +export type PublicationPostPageConnection = PageConnection & { + __typename?: 'PublicationPostPageConnection'; + /** The posts belonging to the publication. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: OffsetPageInfo; + /** The total number of posts. */ + totalDocuments: Scalars['Int']['output']; +}; + /** * Contains the publication's Sponsorship information. * User can sponsor their favorite publications and pay them directly using Stripe. @@ -3066,6 +3132,22 @@ export type RestorePostPayload = { post?: Maybe; }; +export type RoleBasedInvite = Node & { + __typename?: 'RoleBasedInvite'; + /** The capacity of how many members to be invited by the link. */ + capacity?: Maybe; + /** The expiry date of the invite. */ + expiryDate?: Maybe; + /** The ID of the role based invite. */ + id: Scalars['ID']['output']; + /** Invite link of the role based invite. */ + inviteLink?: Maybe; + /** Boolean that signifies if the invite has unlimited capacity. */ + isUnlimitedCapacity?: Maybe; + /** The role assigned to the user in the publication. */ + role: UserPublicationRole; +}; + /** Information to help in seo related meta tags. */ export type Seo = { __typename?: 'SEO'; @@ -3120,6 +3202,7 @@ export enum Scope { DocsEditorOrOwner = 'docs_editor_or_owner', DocsOwner = 'docs_owner', ImportSubscribersToPublication = 'import_subscribers_to_publication', + InvitedTeamUser = 'invited_team_user', PublicationAdmin = 'publication_admin', PublicationMember = 'publication_member', PublishComment = 'publish_comment', @@ -3165,6 +3248,16 @@ export type SearchPostsOfPublicationFilter = { query: Scalars['String']['input']; }; +export type SearchUser = Node & { + __typename?: 'SearchUser'; + /** ID of the user. */ + id: Scalars['ID']['output']; + /** Signifies if the user has a pending invite to the publication. Returned when the filter has pendingInviteStatus set to true. */ + pendingInviteStatus?: Maybe; + /** User node containing the user information. */ + user: User; +}; + /** * Contains basic information about the series. * A series is a collection of posts that are related to each other. @@ -3784,7 +3877,7 @@ export enum UserPublicationRole { /** * Connection to get list of publications. - * Returns a list of edges which contains the documentation project and cursor to the last item of the previous page. + * Returns a list of edges which contains the publications and cursor to the last item of the previous page. */ export type UserPublicationsConnection = Connection & { __typename?: 'UserPublicationsConnection'; diff --git a/packages/blog-starter-kit/themes/enterprise/generated/schema.graphql b/packages/blog-starter-kit/themes/enterprise/generated/schema.graphql index d60d515a8..7d08f9ea6 100644 --- a/packages/blog-starter-kit/themes/enterprise/generated/schema.graphql +++ b/packages/blog-starter-kit/themes/enterprise/generated/schema.graphql @@ -890,6 +890,12 @@ type CustomCSSFeature implements Feature { published: CustomCSS } +enum CustomDomainStatus { + INVALID + VALID + VERIFYING +} + """Contains the publication's dark mode preferences.""" type DarkModePreferences { """A flag indicating if the dark mode is enabled for the publication.""" @@ -903,6 +909,18 @@ A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `dat """ scalar DateTime +input DeleteRoleBasedInviteInput { + """The ID of the role based invite.""" + inviteId: ID! + publicationId: ID! +} + +"""Response to deleting a role based invite.""" +type DeleteRoleBasedInvitePayload { + """Deleted invite.""" + invite: RoleBasedInvite! +} + type DeleteWebhookPayload { webhook: Webhook } @@ -936,6 +954,13 @@ type DomainStatus { host: String! """A flag indicating if the publication domain is ready.""" ready: Boolean! + """A flag indicating the status of a publication domain""" + status: CustomDomainStatus! + """ + A timestamp indicating when the domain was verified. + It is only present if the domain is verified. + """ + verifiedAt: DateTime } """ @@ -1532,6 +1557,8 @@ type Mutation { """Creates a new series.""" createSeries(input: CreateSeriesInput!): CreateSeriesPayload! createWebhook(input: CreateWebhookInput!): CreateWebhookPayload! + """Deletes a role based invite.""" + deleteRoleBasedInvite(input: DeleteRoleBasedInviteInput!): DeleteRoleBasedInvitePayload! deleteWebhook(id: ID!): DeleteWebhookPayload! """Likes a comment.""" likeComment(input: LikeCommentInput!): LikeCommentPayload! @@ -2292,6 +2319,12 @@ type Publication implements Node { """The number of posts to return.""" first: Int! ): PublicationPostConnection! + postsViaPage( + """The page number that should be returned.""" + page: Int! + """The number of posts to return on a single page.""" + pageSize: Int! + ): PublicationPostPageConnection! """ The publication preferences around layout, theme and other personalisations. """ @@ -2470,12 +2503,24 @@ type PublicationLinks { type PublicationMember implements Node { """The ID of the publication member.""" id: ID! + """ + Denotes if the member is public or private + A private member is not visible on members page + """ + privacyState: PublicationMemberPrivacyState """The role of the user in the publication.""" role: UserPublicationRole! """The user who is a member of the publication.""" user: User } +enum PublicationMemberPrivacyState { + """The member is private and not visible on the members page.""" + PRIVATE + """The member is public and visible on the members page.""" + PUBLIC +} + """Contains the publication's navbar items.""" type PublicationNavbarItem { """The unique identifier of the navbar item.""" @@ -2543,6 +2588,15 @@ input PublicationPostConnectionFilter { tags: [ObjectId!] } +type PublicationPostPageConnection implements PageConnection { + """The posts belonging to the publication.""" + nodes: [Post!]! + """Information to aid in pagination.""" + pageInfo: OffsetPageInfo! + """The total number of posts.""" + totalDocuments: Int! +} + """ Contains the publication's Sponsorship information. User can sponsor their favorite publications and pay them directly using Stripe. @@ -2906,6 +2960,21 @@ type RestorePostPayload { post: Post } +type RoleBasedInvite implements Node { + """The capacity of how many members to be invited by the link.""" + capacity: Int + """The expiry date of the invite.""" + expiryDate: DateTime + """The ID of the role based invite.""" + id: ID! + """Invite link of the role based invite.""" + inviteLink: String + """Boolean that signifies if the invite has unlimited capacity.""" + isUnlimitedCapacity: Boolean + """The role assigned to the user in the publication.""" + role: UserPublicationRole! +} + """Information to help in seo related meta tags.""" type SEO { """The description used in og:description tag for SEO purposes.""" @@ -2963,6 +3032,7 @@ enum Scope { docs_editor_or_owner docs_owner import_subscribers_to_publication + invited_team_user publication_admin publication_member publish_comment @@ -3009,6 +3079,17 @@ input SearchPostsOfPublicationFilter { query: String! } +type SearchUser implements Node { + """ID of the user.""" + id: ID! + """ + Signifies if the user has a pending invite to the publication. Returned when the filter has pendingInviteStatus set to true. + """ + pendingInviteStatus: Boolean + """User node containing the user information.""" + user: User! +} + """ Contains basic information about the series. A series is a collection of posts that are related to each other. @@ -3654,7 +3735,7 @@ enum UserPublicationRole { """ Connection to get list of publications. -Returns a list of edges which contains the documentation project and cursor to the last item of the previous page. +Returns a list of edges which contains the publications and cursor to the last item of the previous page. """ type UserPublicationsConnection implements Connection { """A list of edges of publications connection.""" diff --git a/packages/blog-starter-kit/themes/hashnode/generated/graphql.ts b/packages/blog-starter-kit/themes/hashnode/generated/graphql.ts index 37afcf9af..e17aebb2d 100644 --- a/packages/blog-starter-kit/themes/hashnode/generated/graphql.ts +++ b/packages/blog-starter-kit/themes/hashnode/generated/graphql.ts @@ -886,6 +886,12 @@ export type CustomCssFeature = Feature & { published?: Maybe; }; +export enum CustomDomainStatus { + Invalid = 'INVALID', + Valid = 'VALID', + Verifying = 'VERIFYING' +} + /** Contains the publication's dark mode preferences. */ export type DarkModePreferences = { __typename?: 'DarkModePreferences'; @@ -895,6 +901,19 @@ export type DarkModePreferences = { logo?: Maybe; }; +export type DeleteRoleBasedInviteInput = { + /** The ID of the role based invite. */ + inviteId: Scalars['ID']['input']; + publicationId: Scalars['ID']['input']; +}; + +/** Response to deleting a role based invite. */ +export type DeleteRoleBasedInvitePayload = { + __typename?: 'DeleteRoleBasedInvitePayload'; + /** Deleted invite. */ + invite: RoleBasedInvite; +}; + export type DeleteWebhookPayload = { __typename?: 'DeleteWebhookPayload'; webhook?: Maybe; @@ -929,6 +948,13 @@ export type DomainStatus = { host: Scalars['String']['output']; /** A flag indicating if the publication domain is ready. */ ready: Scalars['Boolean']['output']; + /** A flag indicating the status of a publication domain */ + status: CustomDomainStatus; + /** + * A timestamp indicating when the domain was verified. + * It is only present if the domain is verified. + */ + verifiedAt?: Maybe; }; /** @@ -1512,6 +1538,8 @@ export type Mutation = { /** Creates a new series. */ createSeries: CreateSeriesPayload; createWebhook: CreateWebhookPayload; + /** Deletes a role based invite. */ + deleteRoleBasedInvite: DeleteRoleBasedInvitePayload; deleteWebhook: DeleteWebhookPayload; /** Likes a comment. */ likeComment: LikeCommentPayload; @@ -1595,6 +1623,11 @@ export type MutationCreateWebhookArgs = { }; +export type MutationDeleteRoleBasedInviteArgs = { + input: DeleteRoleBasedInviteInput; +}; + + export type MutationDeleteWebhookArgs = { id: Scalars['ID']['input']; }; @@ -2374,6 +2407,7 @@ export type Publication = Node & { post?: Maybe; /** Returns the list of posts in the publication. */ posts: PublicationPostConnection; + postsViaPage: PublicationPostPageConnection; /** The publication preferences around layout, theme and other personalisations. */ preferences: Preferences; /** Publications that are recommended by this publication. */ @@ -2441,6 +2475,16 @@ export type PublicationPostsArgs = { }; +/** + * Contains basic information about the publication. + * A publication is a blog that can be created for a user or a team. + */ +export type PublicationPostsViaPageArgs = { + page: Scalars['Int']['input']; + pageSize: Scalars['Int']['input']; +}; + + /** * Contains basic information about the publication. * A publication is a blog that can be created for a user or a team. @@ -2614,12 +2658,24 @@ export type PublicationMember = Node & { __typename?: 'PublicationMember'; /** The ID of the publication member. */ id: Scalars['ID']['output']; + /** + * Denotes if the member is public or private + * A private member is not visible on members page + */ + privacyState?: Maybe; /** The role of the user in the publication. */ role: UserPublicationRole; /** The user who is a member of the publication. */ user?: Maybe; }; +export enum PublicationMemberPrivacyState { + /** The member is private and not visible on the members page. */ + Private = 'PRIVATE', + /** The member is public and visible on the members page. */ + Public = 'PUBLIC' +} + /** Contains the publication's navbar items. */ export type PublicationNavbarItem = { __typename?: 'PublicationNavbarItem'; @@ -2690,6 +2746,16 @@ export type PublicationPostConnectionFilter = { tags?: InputMaybe>; }; +export type PublicationPostPageConnection = PageConnection & { + __typename?: 'PublicationPostPageConnection'; + /** The posts belonging to the publication. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: OffsetPageInfo; + /** The total number of posts. */ + totalDocuments: Scalars['Int']['output']; +}; + /** * Contains the publication's Sponsorship information. * User can sponsor their favorite publications and pay them directly using Stripe. @@ -3066,6 +3132,22 @@ export type RestorePostPayload = { post?: Maybe; }; +export type RoleBasedInvite = Node & { + __typename?: 'RoleBasedInvite'; + /** The capacity of how many members to be invited by the link. */ + capacity?: Maybe; + /** The expiry date of the invite. */ + expiryDate?: Maybe; + /** The ID of the role based invite. */ + id: Scalars['ID']['output']; + /** Invite link of the role based invite. */ + inviteLink?: Maybe; + /** Boolean that signifies if the invite has unlimited capacity. */ + isUnlimitedCapacity?: Maybe; + /** The role assigned to the user in the publication. */ + role: UserPublicationRole; +}; + /** Information to help in seo related meta tags. */ export type Seo = { __typename?: 'SEO'; @@ -3120,6 +3202,7 @@ export enum Scope { DocsEditorOrOwner = 'docs_editor_or_owner', DocsOwner = 'docs_owner', ImportSubscribersToPublication = 'import_subscribers_to_publication', + InvitedTeamUser = 'invited_team_user', PublicationAdmin = 'publication_admin', PublicationMember = 'publication_member', PublishComment = 'publish_comment', @@ -3165,6 +3248,16 @@ export type SearchPostsOfPublicationFilter = { query: Scalars['String']['input']; }; +export type SearchUser = Node & { + __typename?: 'SearchUser'; + /** ID of the user. */ + id: Scalars['ID']['output']; + /** Signifies if the user has a pending invite to the publication. Returned when the filter has pendingInviteStatus set to true. */ + pendingInviteStatus?: Maybe; + /** User node containing the user information. */ + user: User; +}; + /** * Contains basic information about the series. * A series is a collection of posts that are related to each other. @@ -3784,7 +3877,7 @@ export enum UserPublicationRole { /** * Connection to get list of publications. - * Returns a list of edges which contains the documentation project and cursor to the last item of the previous page. + * Returns a list of edges which contains the publications and cursor to the last item of the previous page. */ export type UserPublicationsConnection = Connection & { __typename?: 'UserPublicationsConnection'; @@ -3968,7 +4061,7 @@ export type DraftFragment = { __typename?: 'Draft', id: string, title?: string | export type PageInfoFragment = { __typename?: 'PageInfo', endCursor?: string | null, hasNextPage?: boolean | null }; -export type PostFragment = { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, author: { __typename?: 'User', name: string, profilePicture?: string | null }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null }; +export type PostFragment = { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, author: { __typename?: 'User', name: string, profilePicture?: string | null, username: string }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null }; export type PostThumbnailFragment = { __typename: 'Post', id: string, title: string, slug: string, publishedAt: string, cuid?: string | null, url: string, subtitle?: string | null, brief: string, readTimeInMinutes: number, views: number, author: { __typename: 'User', id: string, username: string, name: string, profilePicture?: string | null, followersCount: number }, coverImage?: { __typename: 'PostCoverImage', url: string, isPortrait: boolean, isAttributionHidden: boolean } | null }; @@ -4040,7 +4133,7 @@ export type PostsByPublicationQueryVariables = Exact<{ }>; -export type PostsByPublicationQuery = { __typename?: 'Query', publication?: { __typename?: 'Publication', id: string, imprint?: string | null, title: string, displayTitle?: string | null, url: string, urlPattern: UrlPattern, metaTags?: string | null, favicon?: string | null, isTeam: boolean, headerColor?: string | null, followersCount?: number | null, descriptionSEO?: string | null, posts: { __typename?: 'PublicationPostConnection', totalDocuments: number, edges: Array<{ __typename?: 'PostEdge', node: { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, author: { __typename?: 'User', name: string, profilePicture?: string | null }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null } }>, pageInfo: { __typename?: 'PageInfo', endCursor?: string | null, hasNextPage?: boolean | null } }, features: { __typename?: 'PublicationFeatures', customCSS: { __typename?: 'CustomCSSFeature', isEnabled: boolean, published?: { __typename: 'CustomCSS', home?: string | null, post?: string | null, static?: string | null, homeMinified?: string | null, postMinified?: string | null, staticMinified?: string | null } | null, draft?: { __typename: 'CustomCSS', homeMinified?: string | null, postMinified?: string | null, staticMinified?: string | null } | null }, newsletter: { __typename?: 'NewsletterFeature', isEnabled: boolean }, viewCount: { __typename?: 'ViewCountFeature', isEnabled: boolean }, readTime: { __typename?: 'ReadTimeFeature', isEnabled: boolean }, audioBlog: { __typename?: 'AudioBlogFeature', isEnabled: boolean, voiceType: AudioBlogVoiceType }, textSelectionSharer: { __typename?: 'TextSelectionSharerFeature', isEnabled: boolean } }, about?: { __typename?: 'Content', html: string } | null, author: { __typename?: 'User', id: string, name: string, username: string, profilePicture?: string | null, followersCount: number }, ogMetaData: { __typename?: 'OpenGraphMetaData', image?: string | null }, preferences: { __typename?: 'Preferences', layout?: PublicationLayout | null, logo?: string | null, disableFooterBranding?: boolean | null, enabledPages?: { __typename?: 'PagesPreferences', newsletter?: boolean | null, members?: boolean | null } | null, darkMode?: { __typename?: 'DarkModePreferences', enabled?: boolean | null, logo?: string | null } | null, navbarItems: Array<{ __typename: 'PublicationNavbarItem', id: string, label?: string | null, url?: string | null, priority?: number | null, type: PublicationNavigationType, series?: { __typename: 'Series', id: string } | null, page?: { __typename: 'StaticPage', id: string } | null }> }, links?: { __typename?: 'PublicationLinks', twitter?: string | null, instagram?: string | null, github?: string | null, website?: string | null, hashnode?: string | null, youtube?: string | null, linkedin?: string | null, mastodon?: string | null } | null, integrations?: { __typename?: 'PublicationIntegrations', umamiWebsiteUUID?: string | null, gaTrackingID?: string | null, fbPixelID?: string | null, hotjarSiteID?: string | null, matomoURL?: string | null, matomoSiteID?: string | null, fathomSiteID?: string | null, fathomCustomDomain?: string | null, fathomCustomDomainEnabled?: boolean | null, plausibleAnalyticsEnabled?: boolean | null } | null } | null }; +export type PostsByPublicationQuery = { __typename?: 'Query', publication?: { __typename?: 'Publication', id: string, imprint?: string | null, title: string, displayTitle?: string | null, url: string, urlPattern: UrlPattern, metaTags?: string | null, favicon?: string | null, isTeam: boolean, headerColor?: string | null, followersCount?: number | null, descriptionSEO?: string | null, posts: { __typename?: 'PublicationPostConnection', totalDocuments: number, edges: Array<{ __typename?: 'PostEdge', node: { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, author: { __typename?: 'User', name: string, profilePicture?: string | null, username: string }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null } }>, pageInfo: { __typename?: 'PageInfo', endCursor?: string | null, hasNextPage?: boolean | null } }, features: { __typename?: 'PublicationFeatures', customCSS: { __typename?: 'CustomCSSFeature', isEnabled: boolean, published?: { __typename: 'CustomCSS', home?: string | null, post?: string | null, static?: string | null, homeMinified?: string | null, postMinified?: string | null, staticMinified?: string | null } | null, draft?: { __typename: 'CustomCSS', homeMinified?: string | null, postMinified?: string | null, staticMinified?: string | null } | null }, newsletter: { __typename?: 'NewsletterFeature', isEnabled: boolean }, viewCount: { __typename?: 'ViewCountFeature', isEnabled: boolean }, readTime: { __typename?: 'ReadTimeFeature', isEnabled: boolean }, audioBlog: { __typename?: 'AudioBlogFeature', isEnabled: boolean, voiceType: AudioBlogVoiceType }, textSelectionSharer: { __typename?: 'TextSelectionSharerFeature', isEnabled: boolean } }, about?: { __typename?: 'Content', html: string } | null, author: { __typename?: 'User', id: string, name: string, username: string, profilePicture?: string | null, followersCount: number }, ogMetaData: { __typename?: 'OpenGraphMetaData', image?: string | null }, preferences: { __typename?: 'Preferences', layout?: PublicationLayout | null, logo?: string | null, disableFooterBranding?: boolean | null, enabledPages?: { __typename?: 'PagesPreferences', newsletter?: boolean | null, members?: boolean | null } | null, darkMode?: { __typename?: 'DarkModePreferences', enabled?: boolean | null, logo?: string | null } | null, navbarItems: Array<{ __typename: 'PublicationNavbarItem', id: string, label?: string | null, url?: string | null, priority?: number | null, type: PublicationNavigationType, series?: { __typename: 'Series', id: string } | null, page?: { __typename: 'StaticPage', id: string } | null }> }, links?: { __typename?: 'PublicationLinks', twitter?: string | null, instagram?: string | null, github?: string | null, website?: string | null, hashnode?: string | null, youtube?: string | null, linkedin?: string | null, mastodon?: string | null } | null, integrations?: { __typename?: 'PublicationIntegrations', umamiWebsiteUUID?: string | null, gaTrackingID?: string | null, fbPixelID?: string | null, hotjarSiteID?: string | null, matomoURL?: string | null, matomoSiteID?: string | null, fathomSiteID?: string | null, fathomCustomDomain?: string | null, fathomCustomDomainEnabled?: boolean | null, plausibleAnalyticsEnabled?: boolean | null } | null } | null }; export type MorePostsByPublicationQueryVariables = Exact<{ host: Scalars['String']['input']; @@ -4049,9 +4142,9 @@ export type MorePostsByPublicationQueryVariables = Exact<{ }>; -export type MorePostsByPublicationQuery = { __typename?: 'Query', publication?: { __typename?: 'Publication', posts: { __typename?: 'PublicationPostConnection', edges: Array<{ __typename?: 'PostEdge', node: { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, comments: { __typename?: 'PostCommentConnection', totalDocuments: number }, author: { __typename?: 'User', name: string, profilePicture?: string | null }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null } }>, pageInfo: { __typename?: 'PageInfo', endCursor?: string | null, hasNextPage?: boolean | null } } } | null }; +export type MorePostsByPublicationQuery = { __typename?: 'Query', publication?: { __typename?: 'Publication', posts: { __typename?: 'PublicationPostConnection', edges: Array<{ __typename?: 'PostEdge', node: { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, comments: { __typename?: 'PostCommentConnection', totalDocuments: number }, author: { __typename?: 'User', name: string, profilePicture?: string | null, username: string }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null } }>, pageInfo: { __typename?: 'PageInfo', endCursor?: string | null, hasNextPage?: boolean | null } } } | null }; -export type MorePostsEdgeFragment = { __typename?: 'PostEdge', node: { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, comments: { __typename?: 'PostCommentConnection', totalDocuments: number }, author: { __typename?: 'User', name: string, profilePicture?: string | null }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null } }; +export type MorePostsEdgeFragment = { __typename?: 'PostEdge', node: { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, comments: { __typename?: 'PostCommentConnection', totalDocuments: number }, author: { __typename?: 'User', name: string, profilePicture?: string | null, username: string }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null } }; export type PublicationByHostQueryVariables = Exact<{ host: Scalars['String']['input']; @@ -4096,9 +4189,9 @@ export type SeriesPostsByPublicationQueryVariables = Exact<{ }>; -export type SeriesPostsByPublicationQuery = { __typename?: 'Query', publication?: { __typename?: 'Publication', id: string, imprint?: string | null, title: string, displayTitle?: string | null, url: string, urlPattern: UrlPattern, metaTags?: string | null, favicon?: string | null, isTeam: boolean, headerColor?: string | null, followersCount?: number | null, descriptionSEO?: string | null, posts: { __typename?: 'PublicationPostConnection', totalDocuments: number }, series?: { __typename?: 'Series', id: string, name: string, slug: string, coverImage?: string | null, description?: { __typename?: 'Content', html: string } | null, posts: { __typename?: 'SeriesPostConnection', edges: Array<{ __typename?: 'PostEdge', node: { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, author: { __typename?: 'User', name: string, profilePicture?: string | null }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null } }> } } | null, features: { __typename?: 'PublicationFeatures', customCSS: { __typename?: 'CustomCSSFeature', isEnabled: boolean, published?: { __typename: 'CustomCSS', home?: string | null, post?: string | null, static?: string | null, homeMinified?: string | null, postMinified?: string | null, staticMinified?: string | null } | null, draft?: { __typename: 'CustomCSS', homeMinified?: string | null, postMinified?: string | null, staticMinified?: string | null } | null }, newsletter: { __typename?: 'NewsletterFeature', isEnabled: boolean }, viewCount: { __typename?: 'ViewCountFeature', isEnabled: boolean }, readTime: { __typename?: 'ReadTimeFeature', isEnabled: boolean }, audioBlog: { __typename?: 'AudioBlogFeature', isEnabled: boolean, voiceType: AudioBlogVoiceType }, textSelectionSharer: { __typename?: 'TextSelectionSharerFeature', isEnabled: boolean } }, about?: { __typename?: 'Content', html: string } | null, author: { __typename?: 'User', id: string, name: string, username: string, profilePicture?: string | null, followersCount: number }, ogMetaData: { __typename?: 'OpenGraphMetaData', image?: string | null }, preferences: { __typename?: 'Preferences', layout?: PublicationLayout | null, logo?: string | null, disableFooterBranding?: boolean | null, enabledPages?: { __typename?: 'PagesPreferences', newsletter?: boolean | null, members?: boolean | null } | null, darkMode?: { __typename?: 'DarkModePreferences', enabled?: boolean | null, logo?: string | null } | null, navbarItems: Array<{ __typename: 'PublicationNavbarItem', id: string, label?: string | null, url?: string | null, priority?: number | null, type: PublicationNavigationType, series?: { __typename: 'Series', id: string } | null, page?: { __typename: 'StaticPage', id: string } | null }> }, links?: { __typename?: 'PublicationLinks', twitter?: string | null, instagram?: string | null, github?: string | null, website?: string | null, hashnode?: string | null, youtube?: string | null, linkedin?: string | null, mastodon?: string | null } | null, integrations?: { __typename?: 'PublicationIntegrations', umamiWebsiteUUID?: string | null, gaTrackingID?: string | null, fbPixelID?: string | null, hotjarSiteID?: string | null, matomoURL?: string | null, matomoSiteID?: string | null, fathomSiteID?: string | null, fathomCustomDomain?: string | null, fathomCustomDomainEnabled?: boolean | null, plausibleAnalyticsEnabled?: boolean | null } | null } | null }; +export type SeriesPostsByPublicationQuery = { __typename?: 'Query', publication?: { __typename?: 'Publication', id: string, imprint?: string | null, title: string, displayTitle?: string | null, url: string, urlPattern: UrlPattern, metaTags?: string | null, favicon?: string | null, isTeam: boolean, headerColor?: string | null, followersCount?: number | null, descriptionSEO?: string | null, posts: { __typename?: 'PublicationPostConnection', totalDocuments: number }, series?: { __typename?: 'Series', id: string, name: string, slug: string, coverImage?: string | null, description?: { __typename?: 'Content', html: string } | null, posts: { __typename?: 'SeriesPostConnection', edges: Array<{ __typename?: 'PostEdge', node: { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, author: { __typename?: 'User', name: string, profilePicture?: string | null, username: string }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null } }> } } | null, features: { __typename?: 'PublicationFeatures', customCSS: { __typename?: 'CustomCSSFeature', isEnabled: boolean, published?: { __typename: 'CustomCSS', home?: string | null, post?: string | null, static?: string | null, homeMinified?: string | null, postMinified?: string | null, staticMinified?: string | null } | null, draft?: { __typename: 'CustomCSS', homeMinified?: string | null, postMinified?: string | null, staticMinified?: string | null } | null }, newsletter: { __typename?: 'NewsletterFeature', isEnabled: boolean }, viewCount: { __typename?: 'ViewCountFeature', isEnabled: boolean }, readTime: { __typename?: 'ReadTimeFeature', isEnabled: boolean }, audioBlog: { __typename?: 'AudioBlogFeature', isEnabled: boolean, voiceType: AudioBlogVoiceType }, textSelectionSharer: { __typename?: 'TextSelectionSharerFeature', isEnabled: boolean } }, about?: { __typename?: 'Content', html: string } | null, author: { __typename?: 'User', id: string, name: string, username: string, profilePicture?: string | null, followersCount: number }, ogMetaData: { __typename?: 'OpenGraphMetaData', image?: string | null }, preferences: { __typename?: 'Preferences', layout?: PublicationLayout | null, logo?: string | null, disableFooterBranding?: boolean | null, enabledPages?: { __typename?: 'PagesPreferences', newsletter?: boolean | null, members?: boolean | null } | null, darkMode?: { __typename?: 'DarkModePreferences', enabled?: boolean | null, logo?: string | null } | null, navbarItems: Array<{ __typename: 'PublicationNavbarItem', id: string, label?: string | null, url?: string | null, priority?: number | null, type: PublicationNavigationType, series?: { __typename: 'Series', id: string } | null, page?: { __typename: 'StaticPage', id: string } | null }> }, links?: { __typename?: 'PublicationLinks', twitter?: string | null, instagram?: string | null, github?: string | null, website?: string | null, hashnode?: string | null, youtube?: string | null, linkedin?: string | null, mastodon?: string | null } | null, integrations?: { __typename?: 'PublicationIntegrations', umamiWebsiteUUID?: string | null, gaTrackingID?: string | null, fbPixelID?: string | null, hotjarSiteID?: string | null, matomoURL?: string | null, matomoSiteID?: string | null, fathomSiteID?: string | null, fathomCustomDomain?: string | null, fathomCustomDomainEnabled?: boolean | null, plausibleAnalyticsEnabled?: boolean | null } | null } | null }; -export type SeriesFragment = { __typename?: 'Series', id: string, name: string, slug: string, coverImage?: string | null, description?: { __typename?: 'Content', html: string } | null, posts: { __typename?: 'SeriesPostConnection', edges: Array<{ __typename?: 'PostEdge', node: { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, author: { __typename?: 'User', name: string, profilePicture?: string | null }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null } }> } }; +export type SeriesFragment = { __typename?: 'Series', id: string, name: string, slug: string, coverImage?: string | null, description?: { __typename?: 'Content', html: string } | null, posts: { __typename?: 'SeriesPostConnection', edges: Array<{ __typename?: 'PostEdge', node: { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, author: { __typename?: 'User', name: string, profilePicture?: string | null, username: string }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null } }> } }; export type SinglePostByPublicationQueryVariables = Exact<{ slug: Scalars['String']['input']; @@ -4158,7 +4251,7 @@ export type TagPostsByPublicationQueryVariables = Exact<{ }>; -export type TagPostsByPublicationQuery = { __typename?: 'Query', publication?: { __typename?: 'Publication', id: string, imprint?: string | null, title: string, displayTitle?: string | null, url: string, urlPattern: UrlPattern, metaTags?: string | null, favicon?: string | null, isTeam: boolean, headerColor?: string | null, followersCount?: number | null, descriptionSEO?: string | null, posts: { __typename?: 'PublicationPostConnection', totalDocuments: number, edges: Array<{ __typename?: 'PostEdge', node: { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, author: { __typename?: 'User', name: string, profilePicture?: string | null }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null } }> }, features: { __typename?: 'PublicationFeatures', customCSS: { __typename?: 'CustomCSSFeature', isEnabled: boolean, published?: { __typename: 'CustomCSS', home?: string | null, post?: string | null, static?: string | null, homeMinified?: string | null, postMinified?: string | null, staticMinified?: string | null } | null, draft?: { __typename: 'CustomCSS', homeMinified?: string | null, postMinified?: string | null, staticMinified?: string | null } | null }, newsletter: { __typename?: 'NewsletterFeature', isEnabled: boolean }, viewCount: { __typename?: 'ViewCountFeature', isEnabled: boolean }, readTime: { __typename?: 'ReadTimeFeature', isEnabled: boolean }, audioBlog: { __typename?: 'AudioBlogFeature', isEnabled: boolean, voiceType: AudioBlogVoiceType }, textSelectionSharer: { __typename?: 'TextSelectionSharerFeature', isEnabled: boolean } }, about?: { __typename?: 'Content', html: string } | null, author: { __typename?: 'User', id: string, name: string, username: string, profilePicture?: string | null, followersCount: number }, ogMetaData: { __typename?: 'OpenGraphMetaData', image?: string | null }, preferences: { __typename?: 'Preferences', layout?: PublicationLayout | null, logo?: string | null, disableFooterBranding?: boolean | null, enabledPages?: { __typename?: 'PagesPreferences', newsletter?: boolean | null, members?: boolean | null } | null, darkMode?: { __typename?: 'DarkModePreferences', enabled?: boolean | null, logo?: string | null } | null, navbarItems: Array<{ __typename: 'PublicationNavbarItem', id: string, label?: string | null, url?: string | null, priority?: number | null, type: PublicationNavigationType, series?: { __typename: 'Series', id: string } | null, page?: { __typename: 'StaticPage', id: string } | null }> }, links?: { __typename?: 'PublicationLinks', twitter?: string | null, instagram?: string | null, github?: string | null, website?: string | null, hashnode?: string | null, youtube?: string | null, linkedin?: string | null, mastodon?: string | null } | null, integrations?: { __typename?: 'PublicationIntegrations', umamiWebsiteUUID?: string | null, gaTrackingID?: string | null, fbPixelID?: string | null, hotjarSiteID?: string | null, matomoURL?: string | null, matomoSiteID?: string | null, fathomSiteID?: string | null, fathomCustomDomain?: string | null, fathomCustomDomainEnabled?: boolean | null, plausibleAnalyticsEnabled?: boolean | null } | null } | null }; +export type TagPostsByPublicationQuery = { __typename?: 'Query', publication?: { __typename?: 'Publication', id: string, imprint?: string | null, title: string, displayTitle?: string | null, url: string, urlPattern: UrlPattern, metaTags?: string | null, favicon?: string | null, isTeam: boolean, headerColor?: string | null, followersCount?: number | null, descriptionSEO?: string | null, posts: { __typename?: 'PublicationPostConnection', totalDocuments: number, edges: Array<{ __typename?: 'PostEdge', node: { __typename?: 'Post', id: string, title: string, url: string, publishedAt: string, slug: string, brief: string, author: { __typename?: 'User', name: string, profilePicture?: string | null, username: string }, coverImage?: { __typename?: 'PostCoverImage', url: string } | null } }> }, features: { __typename?: 'PublicationFeatures', customCSS: { __typename?: 'CustomCSSFeature', isEnabled: boolean, published?: { __typename: 'CustomCSS', home?: string | null, post?: string | null, static?: string | null, homeMinified?: string | null, postMinified?: string | null, staticMinified?: string | null } | null, draft?: { __typename: 'CustomCSS', homeMinified?: string | null, postMinified?: string | null, staticMinified?: string | null } | null }, newsletter: { __typename?: 'NewsletterFeature', isEnabled: boolean }, viewCount: { __typename?: 'ViewCountFeature', isEnabled: boolean }, readTime: { __typename?: 'ReadTimeFeature', isEnabled: boolean }, audioBlog: { __typename?: 'AudioBlogFeature', isEnabled: boolean, voiceType: AudioBlogVoiceType }, textSelectionSharer: { __typename?: 'TextSelectionSharerFeature', isEnabled: boolean } }, about?: { __typename?: 'Content', html: string } | null, author: { __typename?: 'User', id: string, name: string, username: string, profilePicture?: string | null, followersCount: number }, ogMetaData: { __typename?: 'OpenGraphMetaData', image?: string | null }, preferences: { __typename?: 'Preferences', layout?: PublicationLayout | null, logo?: string | null, disableFooterBranding?: boolean | null, enabledPages?: { __typename?: 'PagesPreferences', newsletter?: boolean | null, members?: boolean | null } | null, darkMode?: { __typename?: 'DarkModePreferences', enabled?: boolean | null, logo?: string | null } | null, navbarItems: Array<{ __typename: 'PublicationNavbarItem', id: string, label?: string | null, url?: string | null, priority?: number | null, type: PublicationNavigationType, series?: { __typename: 'Series', id: string } | null, page?: { __typename: 'StaticPage', id: string } | null }> }, links?: { __typename?: 'PublicationLinks', twitter?: string | null, instagram?: string | null, github?: string | null, website?: string | null, hashnode?: string | null, youtube?: string | null, linkedin?: string | null, mastodon?: string | null } | null, integrations?: { __typename?: 'PublicationIntegrations', umamiWebsiteUUID?: string | null, gaTrackingID?: string | null, fbPixelID?: string | null, hotjarSiteID?: string | null, matomoURL?: string | null, matomoSiteID?: string | null, fathomSiteID?: string | null, fathomCustomDomain?: string | null, fathomCustomDomainEnabled?: boolean | null, plausibleAnalyticsEnabled?: boolean | null } | null } | null }; export const DraftFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Draft"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Draft"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"canonicalUrl"}},{"kind":"Field","name":{"kind":"Name","value":"subtitle"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tableOfContents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"markdown"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]} as unknown as DocumentNode; export const PageInfoFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endCursor"}},{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}}]}}]} as unknown as DocumentNode; @@ -4166,9 +4259,9 @@ export const PostThumbnailFragmentDoc = {"kind":"Document","definitions":[{"kind export const PublicationFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}}]} as unknown as DocumentNode; export const RequiredStaticPageFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RequiredStaticPageFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StaticPage"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"seo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]} as unknown as DocumentNode; export const StaticPageFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StaticPage"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StaticPage"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"markdown"}},{"kind":"Field","name":{"kind":"Name","value":"html"}}]}}]}}]} as unknown as DocumentNode; -export const PostFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}}]} as unknown as DocumentNode; -export const MorePostsEdgeFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MorePostsEdge"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PostEdge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}}]} as unknown as DocumentNode; -export const SeriesFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Series"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Series"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}}]} as unknown as DocumentNode; +export const PostFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"username"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}}]} as unknown as DocumentNode; +export const MorePostsEdgeFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MorePostsEdge"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PostEdge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"username"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}}]} as unknown as DocumentNode; +export const SeriesFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Series"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Series"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"username"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}}]} as unknown as DocumentNode; export const PostFullFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostFull"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"domainInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hashnodeSubdomain"}},{"kind":"Field","name":{"kind":"Name","value":"domain"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"}},{"kind":"Field","name":{"kind":"Name","value":"ready"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cuid"}},{"kind":"Field","name":{"kind":"Name","value":"replyCount"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"hasLatexInPost"}},{"kind":"Field","name":{"kind":"Name","value":"subtitle"}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"readTimeInMinutes"}},{"kind":"Field","name":{"kind":"Name","value":"reactionCount"}},{"kind":"Field","name":{"kind":"Name","value":"responseCount"}},{"kind":"Field","name":{"kind":"Name","value":"seo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"isPortrait"}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"socialMediaLinks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}}]}},{"kind":"Field","name":{"kind":"Name","value":"bio"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"coAuthors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"bio"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"markdown"}},{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tableOfContents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"disableComments"}},{"kind":"Field","name":{"kind":"Name","value":"stickCoverToBottom"}}]}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"25"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"dateAdded"}},{"kind":"Field","name":{"kind":"Name","value":"totalReactions"}},{"kind":"Field","name":{"kind":"Name","value":"replies"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"10"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"dateAdded"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"markdown"}},{"kind":"Field","name":{"kind":"Name","value":"html"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"markdown"}},{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const RequiredSitemapPostFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RequiredSitemapPostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]} as unknown as DocumentNode; export const StaticPageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"StaticPage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"staticPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RequiredStaticPageFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RequiredStaticPageFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StaticPage"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"seo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}}]}}]} as unknown as DocumentNode; @@ -4178,16 +4271,16 @@ export const HomePageInitialDocument = {"kind":"Document","definitions":[{"kind" export const HomePagePostsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"HomePagePosts"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PublicationPostConnectionFilter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}},{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostThumbnail"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cursor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostThumbnail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"cuid"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"subtitle"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}},{"kind":"Field","name":{"kind":"Name","value":"readTimeInMinutes"}},{"kind":"Field","name":{"kind":"Name","value":"views"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"isPortrait"}},{"kind":"Field","name":{"kind":"Name","value":"isAttributionHidden"}}]}}]}}]} as unknown as DocumentNode; export const NewsletterDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Newsletter"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"staticPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","alias":{"kind":"Name","value":"recentPosts"},"name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"3"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostThumbnail"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostThumbnail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"cuid"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"subtitle"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}},{"kind":"Field","name":{"kind":"Name","value":"readTimeInMinutes"}},{"kind":"Field","name":{"kind":"Name","value":"views"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"isPortrait"}},{"kind":"Field","name":{"kind":"Name","value":"isAttributionHidden"}}]}}]}}]} as unknown as DocumentNode; export const PageByPublicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"PageByPublication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}}]}},{"kind":"Field","name":{"kind":"Name","value":"staticPage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StaticPage"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StaticPage"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StaticPage"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"markdown"}},{"kind":"Field","name":{"kind":"Name","value":"html"}}]}}]}}]} as unknown as DocumentNode; -export const PostsByPublicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"PostsByPublication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageInfo"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endCursor"}},{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}}]}}]} as unknown as DocumentNode; -export const MorePostsByPublicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MorePostsByPublication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MorePostsEdge"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageInfo"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MorePostsEdge"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PostEdge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endCursor"}},{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}}]}}]} as unknown as DocumentNode; +export const PostsByPublicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"PostsByPublication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageInfo"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"username"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endCursor"}},{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}}]}}]} as unknown as DocumentNode; +export const MorePostsByPublicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MorePostsByPublication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MorePostsEdge"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageInfo"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"username"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MorePostsEdge"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PostEdge"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endCursor"}},{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}}]}}]} as unknown as DocumentNode; export const PublicationByHostDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"PublicationByHost"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}}]} as unknown as DocumentNode; export const RssFeedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"RSSFeed"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageInfo"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endCursor"}},{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}}]}}]} as unknown as DocumentNode; export const SearchPostsOfPublicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchPostsOfPublication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SearchPostsOfPublicationFilter"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"searchPostsOfPublication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cursor"}},{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"cuid"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"reactionCount"}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageInfo"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endCursor"}},{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}}]}}]} as unknown as DocumentNode; export const SeriesPageInitialDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SeriesPageInitial"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}},{"kind":"Field","name":{"kind":"Name","value":"markdown"}},{"kind":"Field","name":{"kind":"Name","value":"text"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cuid"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostThumbnail"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cursor"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endCursor"}},{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostThumbnail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"cuid"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"subtitle"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}},{"kind":"Field","name":{"kind":"Name","value":"readTimeInMinutes"}},{"kind":"Field","name":{"kind":"Name","value":"views"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"isPortrait"}},{"kind":"Field","name":{"kind":"Name","value":"isAttributionHidden"}}]}}]}}]} as unknown as DocumentNode; -export const SeriesPostsByPublicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SeriesPostsByPublication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"seriesSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}}]}},{"kind":"Field","name":{"kind":"Name","value":"series"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"seriesSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Series"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Series"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Series"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const SeriesPostsByPublicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SeriesPostsByPublication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"seriesSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}}]}},{"kind":"Field","name":{"kind":"Name","value":"series"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"seriesSlug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Series"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"username"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Series"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Series"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const SinglePostByPublicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SinglePostByPublication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"0"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}}]}},{"kind":"Field","name":{"kind":"Name","value":"post"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostFull"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostFull"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"domainInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hashnodeSubdomain"}},{"kind":"Field","name":{"kind":"Name","value":"domain"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"host"}},{"kind":"Field","name":{"kind":"Name","value":"ready"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cuid"}},{"kind":"Field","name":{"kind":"Name","value":"replyCount"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"hasLatexInPost"}},{"kind":"Field","name":{"kind":"Name","value":"subtitle"}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"readTimeInMinutes"}},{"kind":"Field","name":{"kind":"Name","value":"reactionCount"}},{"kind":"Field","name":{"kind":"Name","value":"responseCount"}},{"kind":"Field","name":{"kind":"Name","value":"seo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"isPortrait"}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"socialMediaLinks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}}]}},{"kind":"Field","name":{"kind":"Name","value":"bio"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"coAuthors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"bio"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"markdown"}},{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tableOfContents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"disableComments"}},{"kind":"Field","name":{"kind":"Name","value":"stickCoverToBottom"}}]}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"25"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"dateAdded"}},{"kind":"Field","name":{"kind":"Name","value":"totalReactions"}},{"kind":"Field","name":{"kind":"Name","value":"replies"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"10"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"dateAdded"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"markdown"}},{"kind":"Field","name":{"kind":"Name","value":"html"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"content"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"markdown"}},{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const SitemapDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Sitemap"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"postsCount"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"postsAfter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"staticPagesCount"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"staticPages"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"staticPagesCount"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"postsCount"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"postsAfter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RequiredSitemapPostFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageInfo"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RequiredSitemapPostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endCursor"}},{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}}]}}]} as unknown as DocumentNode; export const MoreSitemapPostsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MoreSitemapPosts"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"postsCount"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"postsAfter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"postsCount"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"postsAfter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RequiredSitemapPostFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PageInfo"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RequiredSitemapPostFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PageInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PageInfo"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endCursor"}},{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}}]}}]} as unknown as DocumentNode; export const SlugPostsByPublicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SlugPostsByPublication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}}]} as unknown as DocumentNode; export const TagInitialDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TagInitial"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"tagline"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"tagSlugs"},"value":{"kind":"ListValue","values":[{"kind":"Variable","name":{"kind":"Name","value":"slug"}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostThumbnail"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cursor"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"endCursor"}},{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostThumbnail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"cuid"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"subtitle"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}},{"kind":"Field","name":{"kind":"Name","value":"readTimeInMinutes"}},{"kind":"Field","name":{"kind":"Name","value":"views"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"isPortrait"}},{"kind":"Field","name":{"kind":"Name","value":"isAttributionHidden"}}]}}]}}]} as unknown as DocumentNode; -export const TagPostsByPublicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TagPostsByPublication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tagSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"tagSlugs"},"value":{"kind":"ListValue","values":[{"kind":"Variable","name":{"kind":"Name","value":"tagSlug"}}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}}]} as unknown as DocumentNode; \ No newline at end of file +export const TagPostsByPublicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TagPostsByPublication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"host"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"tagSlug"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"host"},"value":{"kind":"Variable","name":{"kind":"Name","value":"host"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Publication"}},{"kind":"Field","name":{"kind":"Name","value":"posts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"tagSlugs"},"value":{"kind":"ListValue","values":[{"kind":"Variable","name":{"kind":"Name","value":"tagSlug"}}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalDocuments"}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Publication"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Publication"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"imprint"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"displayTitle"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"urlPattern"}},{"kind":"Field","name":{"kind":"Name","value":"metaTags"}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"isTeam"}},{"kind":"Field","name":{"kind":"Name","value":"headerColor"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}},{"kind":"Field","name":{"kind":"Name","value":"descriptionSEO"}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"home"}},{"kind":"Field","name":{"kind":"Name","value":"post"}},{"kind":"Field","name":{"kind":"Name","value":"static"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"about"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"html"}}]}},{"kind":"Field","name":{"kind":"Name","value":"features"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"viewCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"audioBlog"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"voiceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"textSelectionSharer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customCSS"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"published"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}},{"kind":"Field","name":{"kind":"Name","value":"draft"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"homeMinified"}},{"kind":"Field","name":{"kind":"Name","value":"postMinified"}},{"kind":"Field","name":{"kind":"Name","value":"staticMinified"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"followersCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ogMetaData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"image"}}]}},{"kind":"Field","name":{"kind":"Name","value":"preferences"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"layout"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"disableFooterBranding"}},{"kind":"Field","name":{"kind":"Name","value":"enabledPages"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newsletter"}},{"kind":"Field","name":{"kind":"Name","value":"members"}}]}},{"kind":"Field","name":{"kind":"Name","value":"darkMode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"navbarItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"page"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"twitter"}},{"kind":"Field","name":{"kind":"Name","value":"instagram"}},{"kind":"Field","name":{"kind":"Name","value":"github"}},{"kind":"Field","name":{"kind":"Name","value":"website"}},{"kind":"Field","name":{"kind":"Name","value":"hashnode"}},{"kind":"Field","name":{"kind":"Name","value":"youtube"}},{"kind":"Field","name":{"kind":"Name","value":"linkedin"}},{"kind":"Field","name":{"kind":"Name","value":"mastodon"}}]}},{"kind":"Field","name":{"kind":"Name","value":"integrations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"umamiWebsiteUUID"}},{"kind":"Field","name":{"kind":"Name","value":"gaTrackingID"}},{"kind":"Field","name":{"kind":"Name","value":"fbPixelID"}},{"kind":"Field","name":{"kind":"Name","value":"hotjarSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"matomoURL"}},{"kind":"Field","name":{"kind":"Name","value":"matomoSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomSiteID"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomain"}},{"kind":"Field","name":{"kind":"Name","value":"fathomCustomDomainEnabled"}},{"kind":"Field","name":{"kind":"Name","value":"plausibleAnalyticsEnabled"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"profilePicture"}},{"kind":"Field","name":{"kind":"Name","value":"username"}}]}},{"kind":"Field","name":{"kind":"Name","value":"coverImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"publishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"brief"}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/packages/blog-starter-kit/themes/hashnode/generated/schema.graphql b/packages/blog-starter-kit/themes/hashnode/generated/schema.graphql index d60d515a8..7d08f9ea6 100644 --- a/packages/blog-starter-kit/themes/hashnode/generated/schema.graphql +++ b/packages/blog-starter-kit/themes/hashnode/generated/schema.graphql @@ -890,6 +890,12 @@ type CustomCSSFeature implements Feature { published: CustomCSS } +enum CustomDomainStatus { + INVALID + VALID + VERIFYING +} + """Contains the publication's dark mode preferences.""" type DarkModePreferences { """A flag indicating if the dark mode is enabled for the publication.""" @@ -903,6 +909,18 @@ A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `dat """ scalar DateTime +input DeleteRoleBasedInviteInput { + """The ID of the role based invite.""" + inviteId: ID! + publicationId: ID! +} + +"""Response to deleting a role based invite.""" +type DeleteRoleBasedInvitePayload { + """Deleted invite.""" + invite: RoleBasedInvite! +} + type DeleteWebhookPayload { webhook: Webhook } @@ -936,6 +954,13 @@ type DomainStatus { host: String! """A flag indicating if the publication domain is ready.""" ready: Boolean! + """A flag indicating the status of a publication domain""" + status: CustomDomainStatus! + """ + A timestamp indicating when the domain was verified. + It is only present if the domain is verified. + """ + verifiedAt: DateTime } """ @@ -1532,6 +1557,8 @@ type Mutation { """Creates a new series.""" createSeries(input: CreateSeriesInput!): CreateSeriesPayload! createWebhook(input: CreateWebhookInput!): CreateWebhookPayload! + """Deletes a role based invite.""" + deleteRoleBasedInvite(input: DeleteRoleBasedInviteInput!): DeleteRoleBasedInvitePayload! deleteWebhook(id: ID!): DeleteWebhookPayload! """Likes a comment.""" likeComment(input: LikeCommentInput!): LikeCommentPayload! @@ -2292,6 +2319,12 @@ type Publication implements Node { """The number of posts to return.""" first: Int! ): PublicationPostConnection! + postsViaPage( + """The page number that should be returned.""" + page: Int! + """The number of posts to return on a single page.""" + pageSize: Int! + ): PublicationPostPageConnection! """ The publication preferences around layout, theme and other personalisations. """ @@ -2470,12 +2503,24 @@ type PublicationLinks { type PublicationMember implements Node { """The ID of the publication member.""" id: ID! + """ + Denotes if the member is public or private + A private member is not visible on members page + """ + privacyState: PublicationMemberPrivacyState """The role of the user in the publication.""" role: UserPublicationRole! """The user who is a member of the publication.""" user: User } +enum PublicationMemberPrivacyState { + """The member is private and not visible on the members page.""" + PRIVATE + """The member is public and visible on the members page.""" + PUBLIC +} + """Contains the publication's navbar items.""" type PublicationNavbarItem { """The unique identifier of the navbar item.""" @@ -2543,6 +2588,15 @@ input PublicationPostConnectionFilter { tags: [ObjectId!] } +type PublicationPostPageConnection implements PageConnection { + """The posts belonging to the publication.""" + nodes: [Post!]! + """Information to aid in pagination.""" + pageInfo: OffsetPageInfo! + """The total number of posts.""" + totalDocuments: Int! +} + """ Contains the publication's Sponsorship information. User can sponsor their favorite publications and pay them directly using Stripe. @@ -2906,6 +2960,21 @@ type RestorePostPayload { post: Post } +type RoleBasedInvite implements Node { + """The capacity of how many members to be invited by the link.""" + capacity: Int + """The expiry date of the invite.""" + expiryDate: DateTime + """The ID of the role based invite.""" + id: ID! + """Invite link of the role based invite.""" + inviteLink: String + """Boolean that signifies if the invite has unlimited capacity.""" + isUnlimitedCapacity: Boolean + """The role assigned to the user in the publication.""" + role: UserPublicationRole! +} + """Information to help in seo related meta tags.""" type SEO { """The description used in og:description tag for SEO purposes.""" @@ -2963,6 +3032,7 @@ enum Scope { docs_editor_or_owner docs_owner import_subscribers_to_publication + invited_team_user publication_admin publication_member publish_comment @@ -3009,6 +3079,17 @@ input SearchPostsOfPublicationFilter { query: String! } +type SearchUser implements Node { + """ID of the user.""" + id: ID! + """ + Signifies if the user has a pending invite to the publication. Returned when the filter has pendingInviteStatus set to true. + """ + pendingInviteStatus: Boolean + """User node containing the user information.""" + user: User! +} + """ Contains basic information about the series. A series is a collection of posts that are related to each other. @@ -3654,7 +3735,7 @@ enum UserPublicationRole { """ Connection to get list of publications. -Returns a list of edges which contains the documentation project and cursor to the last item of the previous page. +Returns a list of edges which contains the publications and cursor to the last item of the previous page. """ type UserPublicationsConnection implements Connection { """A list of edges of publications connection.""" diff --git a/packages/blog-starter-kit/themes/personal/generated/graphql.ts b/packages/blog-starter-kit/themes/personal/generated/graphql.ts index 8463b7fbc..f959657d7 100644 --- a/packages/blog-starter-kit/themes/personal/generated/graphql.ts +++ b/packages/blog-starter-kit/themes/personal/generated/graphql.ts @@ -15,6 +15,7 @@ export type Scalars = { Float: { input: number; output: number; } DateTime: { input: string; output: string; } ObjectId: { input: string; output: string; } + URL: { input: any; output: any; } }; export type AddCommentInput = { @@ -233,6 +234,510 @@ export type Content = { text: Scalars['String']['output']; }; +/** Two letter ISO 3166-1 alpha-2 country code. */ +export enum CountryCodeAlpha2 { + /** Andorra */ + Ad = 'AD', + /** United Arab Emirates */ + Ae = 'AE', + /** Afghanistan */ + Af = 'AF', + /** Antigua and Barbuda */ + Ag = 'AG', + /** Anguilla */ + Ai = 'AI', + /** Albania */ + Al = 'AL', + /** Armenia */ + Am = 'AM', + /** Angola */ + Ao = 'AO', + /** Antarctica */ + Aq = 'AQ', + /** Argentina */ + Ar = 'AR', + /** American Samoa */ + As = 'AS', + /** Austria */ + At = 'AT', + /** Australia */ + Au = 'AU', + /** Aruba */ + Aw = 'AW', + /** Åland Islands */ + Ax = 'AX', + /** Azerbaijan */ + Az = 'AZ', + /** Bosnia and Herzegovina */ + Ba = 'BA', + /** Barbados */ + Bb = 'BB', + /** Bangladesh */ + Bd = 'BD', + /** Belgium */ + Be = 'BE', + /** Burkina Faso */ + Bf = 'BF', + /** Bulgaria */ + Bg = 'BG', + /** Bahrain */ + Bh = 'BH', + /** Burundi */ + Bi = 'BI', + /** Benin */ + Bj = 'BJ', + /** Saint Barthélemy */ + Bl = 'BL', + /** Bermuda */ + Bm = 'BM', + /** Brunei Darussalam */ + Bn = 'BN', + /** Bolivia (Plurinational State of) */ + Bo = 'BO', + /** Bonaire, Sint Eustatius and Saba */ + Bq = 'BQ', + /** Brazil */ + Br = 'BR', + /** Bahamas */ + Bs = 'BS', + /** Bhutan */ + Bt = 'BT', + /** Bouvet Island */ + Bv = 'BV', + /** Botswana */ + Bw = 'BW', + /** Belarus */ + By = 'BY', + /** Belize */ + Bz = 'BZ', + /** Canada */ + Ca = 'CA', + /** Cocos (Keeling) Islands */ + Cc = 'CC', + /** Congo, Democratic Republic of the */ + Cd = 'CD', + /** Central African Republic */ + Cf = 'CF', + /** Congo */ + Cg = 'CG', + /** Switzerland */ + Ch = 'CH', + /** Côte d'Ivoire */ + Ci = 'CI', + /** Cook Islands */ + Ck = 'CK', + /** Chile */ + Cl = 'CL', + /** Cameroon */ + Cm = 'CM', + /** China */ + Cn = 'CN', + /** Colombia */ + Co = 'CO', + /** Costa Rica */ + Cr = 'CR', + /** Cuba */ + Cu = 'CU', + /** Cabo Verde */ + Cv = 'CV', + /** Curaçao */ + Cw = 'CW', + /** Christmas Island */ + Cx = 'CX', + /** Cyprus */ + Cy = 'CY', + /** Czechia */ + Cz = 'CZ', + /** Germany */ + De = 'DE', + /** Djibouti */ + Dj = 'DJ', + /** Denmark */ + Dk = 'DK', + /** Dominica */ + Dm = 'DM', + /** Dominican Republic */ + Do = 'DO', + /** Algeria */ + Dz = 'DZ', + /** Ecuador */ + Ec = 'EC', + /** Estonia */ + Ee = 'EE', + /** Egypt */ + Eg = 'EG', + /** Western Sahara */ + Eh = 'EH', + /** Eritrea */ + Er = 'ER', + /** Spain */ + Es = 'ES', + /** Ethiopia */ + Et = 'ET', + /** Finland */ + Fi = 'FI', + /** Fiji */ + Fj = 'FJ', + /** Falkland Islands (Malvinas) */ + Fk = 'FK', + /** Micronesia (Federated States of) */ + Fm = 'FM', + /** Faroe Islands */ + Fo = 'FO', + /** France */ + Fr = 'FR', + /** Gabon */ + Ga = 'GA', + /** United Kingdom of Great Britain and Northern Ireland */ + Gb = 'GB', + /** Grenada */ + Gd = 'GD', + /** Georgia */ + Ge = 'GE', + /** French Guiana */ + Gf = 'GF', + /** Guernsey */ + Gg = 'GG', + /** Ghana */ + Gh = 'GH', + /** Gibraltar */ + Gi = 'GI', + /** Greenland */ + Gl = 'GL', + /** Gambia */ + Gm = 'GM', + /** Guinea */ + Gn = 'GN', + /** Guadeloupe */ + Gp = 'GP', + /** Equatorial Guinea */ + Gq = 'GQ', + /** Greece */ + Gr = 'GR', + /** South Georgia and the South Sandwich Islands */ + Gs = 'GS', + /** Guatemala */ + Gt = 'GT', + /** Guam */ + Gu = 'GU', + /** Guinea-Bissau */ + Gw = 'GW', + /** Guyana */ + Gy = 'GY', + /** Hong Kong */ + Hk = 'HK', + /** Heard Island and McDonald Islands */ + Hm = 'HM', + /** Honduras */ + Hn = 'HN', + /** Croatia */ + Hr = 'HR', + /** Haiti */ + Ht = 'HT', + /** Hungary */ + Hu = 'HU', + /** Indonesia */ + Id = 'ID', + /** Ireland */ + Ie = 'IE', + /** Israel */ + Il = 'IL', + /** Isle of Man */ + Im = 'IM', + /** India */ + In = 'IN', + /** British Indian Ocean Territory */ + Io = 'IO', + /** Iraq */ + Iq = 'IQ', + /** Iran (Islamic Republic of) */ + Ir = 'IR', + /** Iceland */ + Is = 'IS', + /** Italy */ + It = 'IT', + /** Jersey */ + Je = 'JE', + /** Jamaica */ + Jm = 'JM', + /** Jordan */ + Jo = 'JO', + /** Japan */ + Jp = 'JP', + /** Kenya */ + Ke = 'KE', + /** Kyrgyzstan */ + Kg = 'KG', + /** Cambodia */ + Kh = 'KH', + /** Kiribati */ + Ki = 'KI', + /** Comoros */ + Km = 'KM', + /** Saint Kitts and Nevis */ + Kn = 'KN', + /** Korea (Democratic People's Republic of) */ + Kp = 'KP', + /** Korea, Republic of */ + Kr = 'KR', + /** Kuwait */ + Kw = 'KW', + /** Cayman Islands */ + Ky = 'KY', + /** Kazakhstan */ + Kz = 'KZ', + /** Lao People's Democratic Republic */ + La = 'LA', + /** Lebanon */ + Lb = 'LB', + /** Saint Lucia */ + Lc = 'LC', + /** Liechtenstein */ + Li = 'LI', + /** Sri Lanka */ + Lk = 'LK', + /** Liberia */ + Lr = 'LR', + /** Lesotho */ + Ls = 'LS', + /** Lithuania */ + Lt = 'LT', + /** Luxembourg */ + Lu = 'LU', + /** Latvia */ + Lv = 'LV', + /** Libya */ + Ly = 'LY', + /** Morocco */ + Ma = 'MA', + /** Monaco */ + Mc = 'MC', + /** Moldova, Republic of */ + Md = 'MD', + /** Montenegro */ + Me = 'ME', + /** Saint Martin (French part) */ + Mf = 'MF', + /** Madagascar */ + Mg = 'MG', + /** Marshall Islands */ + Mh = 'MH', + /** North Macedonia */ + Mk = 'MK', + /** Mali */ + Ml = 'ML', + /** Myanmar */ + Mm = 'MM', + /** Mongolia */ + Mn = 'MN', + /** Macao */ + Mo = 'MO', + /** Northern Mariana Islands */ + Mp = 'MP', + /** Martinique */ + Mq = 'MQ', + /** Mauritania */ + Mr = 'MR', + /** Montserrat */ + Ms = 'MS', + /** Malta */ + Mt = 'MT', + /** Mauritius */ + Mu = 'MU', + /** Maldives */ + Mv = 'MV', + /** Malawi */ + Mw = 'MW', + /** Mexico */ + Mx = 'MX', + /** Malaysia */ + My = 'MY', + /** Mozambique */ + Mz = 'MZ', + /** Namibia */ + Na = 'NA', + /** New Caledonia */ + Nc = 'NC', + /** Niger */ + Ne = 'NE', + /** Norfolk Island */ + Nf = 'NF', + /** Nigeria */ + Ng = 'NG', + /** Nicaragua */ + Ni = 'NI', + /** Netherlands */ + Nl = 'NL', + /** Norway */ + No = 'NO', + /** Nepal */ + Np = 'NP', + /** Nauru */ + Nr = 'NR', + /** Niue */ + Nu = 'NU', + /** New Zealand */ + Nz = 'NZ', + /** Oman */ + Om = 'OM', + /** Panama */ + Pa = 'PA', + /** Peru */ + Pe = 'PE', + /** French Polynesia */ + Pf = 'PF', + /** Papua New Guinea */ + Pg = 'PG', + /** Philippines */ + Ph = 'PH', + /** Pakistan */ + Pk = 'PK', + /** Poland */ + Pl = 'PL', + /** Saint Pierre and Miquelon */ + Pm = 'PM', + /** Pitcairn */ + Pn = 'PN', + /** Puerto Rico */ + Pr = 'PR', + /** Palestine, State of */ + Ps = 'PS', + /** Portugal */ + Pt = 'PT', + /** Palau */ + Pw = 'PW', + /** Paraguay */ + Py = 'PY', + /** Qatar */ + Qa = 'QA', + /** Réunion */ + Re = 'RE', + /** Romania */ + Ro = 'RO', + /** Serbia */ + Rs = 'RS', + /** Russian Federation */ + Ru = 'RU', + /** Rwanda */ + Rw = 'RW', + /** Saudi Arabia */ + Sa = 'SA', + /** Solomon Islands */ + Sb = 'SB', + /** Seychelles */ + Sc = 'SC', + /** Sudan */ + Sd = 'SD', + /** Sweden */ + Se = 'SE', + /** Singapore */ + Sg = 'SG', + /** Saint Helena, Ascension and Tristan da Cunha */ + Sh = 'SH', + /** Slovenia */ + Si = 'SI', + /** Svalbard and Jan Mayen */ + Sj = 'SJ', + /** Slovakia */ + Sk = 'SK', + /** Sierra Leone */ + Sl = 'SL', + /** San Marino */ + Sm = 'SM', + /** Senegal */ + Sn = 'SN', + /** Somalia */ + So = 'SO', + /** Suriname */ + Sr = 'SR', + /** South Sudan */ + Ss = 'SS', + /** Sao Tome and Principe */ + St = 'ST', + /** El Salvador */ + Sv = 'SV', + /** Sint Maarten (Dutch part) */ + Sx = 'SX', + /** Syrian Arab Republic */ + Sy = 'SY', + /** Eswatini */ + Sz = 'SZ', + /** Turks and Caicos Islands */ + Tc = 'TC', + /** Chad */ + Td = 'TD', + /** French Southern Territories */ + Tf = 'TF', + /** Togo */ + Tg = 'TG', + /** Thailand */ + Th = 'TH', + /** Tajikistan */ + Tj = 'TJ', + /** Tokelau */ + Tk = 'TK', + /** Timor-Leste */ + Tl = 'TL', + /** Turkmenistan */ + Tm = 'TM', + /** Tunisia */ + Tn = 'TN', + /** Tonga */ + To = 'TO', + /** Turkey */ + Tr = 'TR', + /** Trinidad and Tobago */ + Tt = 'TT', + /** Tuvalu */ + Tv = 'TV', + /** Taiwan, Province of China */ + Tw = 'TW', + /** Tanzania, United Republic of */ + Tz = 'TZ', + /** Ukraine */ + Ua = 'UA', + /** Uganda */ + Ug = 'UG', + /** United States Minor Outlying Islands */ + Um = 'UM', + /** United States of America */ + Us = 'US', + /** Uruguay */ + Uy = 'UY', + /** Uzbekistan */ + Uz = 'UZ', + /** Holy See */ + Va = 'VA', + /** Saint Vincent and the Grenadines */ + Vc = 'VC', + /** Venezuela (Bolivarian Republic of) */ + Ve = 'VE', + /** Virgin Islands (British) */ + Vg = 'VG', + /** Virgin Islands (U.S.) */ + Vi = 'VI', + /** Viet Nam */ + Vn = 'VN', + /** Vanuatu */ + Vu = 'VU', + /** Wallis and Futuna */ + Wf = 'WF', + /** Samoa */ + Ws = 'WS', + /** Yemen */ + Ye = 'YE', + /** Mayotte */ + Yt = 'YT', + /** South Africa */ + Za = 'ZA', + /** Zambia */ + Zm = 'ZM', + /** Zimbabwe */ + Zw = 'ZW', + /** Unknown */ + Zz = 'ZZ' +} + /** Contains information about cover image options of the post. Like URL of the cover image, attribution, etc. */ export type CoverImageOptionsInput = { /** Information about the cover image attribution. */ @@ -247,6 +752,102 @@ export type CoverImageOptionsInput = { stickCoverToBottom?: InputMaybe; }; +export type CreateDraftInput = { + /** Ids of the co-authors of the resulting draft. */ + coAuthors?: InputMaybe>; + /** Content of the resulting draft in markdown format. */ + contentMarkdown?: InputMaybe; + /** Options for the cover image of the resulting draft. */ + coverImageOptions?: InputMaybe; + /** A flag to indicate if the comments are disabled for the resulting draft. */ + disableComments?: InputMaybe; + /** Information about the meta tags added to the resulting draft, used for SEO purpose. */ + metaTags?: InputMaybe; + /** The URL of the original article if the draft is imported from an external source. */ + originalArticleURL?: InputMaybe; + /** The ID of publication the draft and resulting post belongs to. */ + publicationId: Scalars['ID']['input']; + /** + * Publish the draft on behalf of another user who is a member of the publication. + * + * Only applicable for team publications. + */ + publishAs?: InputMaybe; + /** Date when the resulting draft is published. */ + publishedAt?: InputMaybe; + /** Providing a seriesId will add the resulting draft to that series. */ + seriesId?: InputMaybe; + /** Settings for the resulting draft like table of contents and newsletter activation. */ + settings?: InputMaybe; + /** Slug of the resulting draft. */ + slug?: InputMaybe; + /** The subtitle of the resulting draft. */ + subtitle?: InputMaybe; + /** A list of tags added to the resulting draft. */ + tags?: InputMaybe>; + /** The title of the resulting draft. */ + title?: InputMaybe; +}; + +export type CreateDraftPayload = { + __typename?: 'CreateDraftPayload'; + /** The newly created draft */ + draft?: Maybe; +}; + +export type CreateDraftSettingsInput = { + /** Whether to send a newsletter for the resulting draft's post. */ + activateNewsletter?: InputMaybe; + /** A flag to indicate if the resulting draft should be delisted, used to hide the post created from the draft from public feed. */ + delist?: InputMaybe; + /** A flag to indicate if the resulting draft'S post should contain a table of content */ + enableTableOfContent?: InputMaybe; + /** Flag to indicate if the slug is overridden by the user. */ + slugOverridden?: InputMaybe; +}; + +export type CreateDraftTagInput = { + /** + * A tag id that is referencing an existing tag. + * + * Either this or name and slug should be provided. If both are provided, the id will be used. + */ + id?: InputMaybe; + /** + * A name of a new tag to create. + * + * Either this and slug or id should be provided. If both are provided, the id will be used. + */ + name?: InputMaybe; + /** + * A slug of a new tag to create. + * + * Either this and name or id should be provided. If both are provided, the id will be used. + */ + slug?: InputMaybe; +}; + +export type CreateSeriesInput = { + /** The cover image of the series. */ + coverImage?: InputMaybe; + /** The description of the series. Accepts markdown. */ + descriptionMarkdown?: InputMaybe; + /** The name of the series. */ + name: Scalars['String']['input']; + /** The id of the publication the series belongs to. */ + publicationId: Scalars['ID']['input']; + /** The slug of the series. Used to access series page. Example https://johndoe.com/series/series-slug */ + slug: Scalars['String']['input']; + /** The sort order of the series, determines if the latest posts should appear first or last in series. */ + sortOrder?: InputMaybe; +}; + +export type CreateSeriesPayload = { + __typename?: 'CreateSeriesPayload'; + /** Returns the created series. */ + series: Series; +}; + export type CreateWebhookInput = { events: Array; publicationId: Scalars['ID']['input']; @@ -285,6 +886,12 @@ export type CustomCssFeature = Feature & { published?: Maybe; }; +export enum CustomDomainStatus { + Invalid = 'INVALID', + Valid = 'VALID', + Verifying = 'VERIFYING' +} + /** Contains the publication's dark mode preferences. */ export type DarkModePreferences = { __typename?: 'DarkModePreferences'; @@ -294,11 +901,31 @@ export type DarkModePreferences = { logo?: Maybe; }; +export type DeleteRoleBasedInviteInput = { + /** The ID of the role based invite. */ + inviteId: Scalars['ID']['input']; + publicationId: Scalars['ID']['input']; +}; + +/** Response to deleting a role based invite. */ +export type DeleteRoleBasedInvitePayload = { + __typename?: 'DeleteRoleBasedInvitePayload'; + /** Deleted invite. */ + invite: RoleBasedInvite; +}; + export type DeleteWebhookPayload = { __typename?: 'DeleteWebhookPayload'; webhook?: Maybe; }; +export enum DeviceType { + Desktop = 'DESKTOP', + Laptop = 'LAPTOP', + Mobile = 'MOBILE', + Tablet = 'TABLET' +} + /** Contains the publication's domain information. */ export type DomainInfo = { __typename?: 'DomainInfo'; @@ -321,6 +948,13 @@ export type DomainStatus = { host: Scalars['String']['output']; /** A flag indicating if the publication domain is ready. */ ready: Scalars['Boolean']['output']; + /** A flag indicating the status of a publication domain */ + status: CustomDomainStatus; + /** + * A timestamp indicating when the domain was verified. + * It is only present if the domain is verified. + */ + verifiedAt?: Maybe; }; /** @@ -360,6 +994,8 @@ export type Draft = Node & { /** OG meta-data of the draft. Contains image url used in open graph meta tags. */ ogMetaData?: Maybe; readTimeInMinutes: Scalars['Int']['output']; + /** The date the draft is scheduled to be published. */ + scheduledDate?: Maybe; /** SEO information of the draft. Contains title and description used in meta tags. */ seo?: Maybe; /** Information of the series the draft belongs to. */ @@ -368,8 +1004,12 @@ export type Draft = Node & { slug: Scalars['String']['output']; /** The subtitle of the draft. It would become the subtitle of the post when published. */ subtitle?: Maybe; - /** Returns list of tags added to the draft. Contains tag id, name, slug, etc. */ + /** + * Returns list of tags added to the draft. Contains tag id, name, slug, etc. + * @deprecated Use tagsV2 instead. Will be removed on 26/02/2024. + */ tags: Array; + tagsV2: Array; /** The title of the draft. It would become the title of the post when published. */ title?: Maybe; updatedAt: Scalars['DateTime']['output']; @@ -383,6 +1023,18 @@ export type DraftBackup = { status?: Maybe; }; +/** + * Contains basic information about a Tag within a Draft. + * A tag in a draft is a tag that is not published yet. + */ +export type DraftBaseTag = { + __typename?: 'DraftBaseTag'; + /** The name of the tag. Shown in tag page. */ + name: Scalars['String']['output']; + /** The slug of the tag. Used to access tags feed. Example https://hashnode.com/n/graphql */ + slug: Scalars['String']['output']; +}; + /** * Connection to get list of drafts. * Returns a list of edges which contains the draft and cursor to the last item of the previous page. @@ -428,12 +1080,14 @@ export type DraftSettings = { __typename?: 'DraftSettings'; /** A flag to indicate if the comments are disabled for the post. */ disableComments: Scalars['Boolean']['output']; - /** Wether or not the post is hidden from the Hashnode community. */ + /** Whether or not the post is hidden from the Hashnode community. */ isDelisted: Scalars['Boolean']['output']; /** A flag to indicate if the cover image is shown below title of the post. Default position of cover is top of title. */ stickCoverToBottom: Scalars['Boolean']['output']; }; +export type DraftTag = DraftBaseTag | Tag; + /** * An edge that contains a node and cursor to the node. * This is a common interface for all edges. @@ -541,10 +1195,193 @@ export enum FeedType { Relevant = 'RELEVANT' } +/** Views implementation that will be returned if grouping by browser. */ +export type GroupedByBrowserViews = Node & Views & { + __typename?: 'GroupedByBrowserViews'; + /** The browser that these views belong to. */ + browser: Scalars['String']['output']; + id: Scalars['ID']['output']; + /** The aggregated views. */ + total: Scalars['Int']['output']; +}; + +/** Visitors implementation that will be returned if grouping by browser. */ +export type GroupedByBrowserVisitors = Node & Visitors & { + __typename?: 'GroupedByBrowserVisitors'; + /** The browser that these views belong to. */ + browser: Scalars['String']['output']; + id: Scalars['ID']['output']; + /** The aggregated number of visitors. */ + total: Scalars['Int']['output']; +}; + +/** Views implementation that will be returned if grouping by country. */ +export type GroupedByCountryViews = Node & Views & { + __typename?: 'GroupedByCountryViews'; + /** The country that these views belong to. */ + country: CountryCodeAlpha2; + id: Scalars['ID']['output']; + /** The aggregated views. */ + total: Scalars['Int']['output']; +}; + +/** Visitors implementation that will be returned if grouping by country. */ +export type GroupedByCountryVisitors = Node & Visitors & { + __typename?: 'GroupedByCountryVisitors'; + /** The country that these views belong to. */ + country: CountryCodeAlpha2; + id: Scalars['ID']['output']; + /** The aggregated number of visitors. */ + total: Scalars['Int']['output']; +}; + +/** Views implementation that will be returned if grouping by device type. */ +export type GroupedByDeviceTypeViews = Node & Views & { + __typename?: 'GroupedByDeviceTypeViews'; + /** The type of device that these views belong to. */ + deviceType: DeviceType; + id: Scalars['ID']['output']; + /** The aggregated views. */ + total: Scalars['Int']['output']; +}; + +/** Visitors implementation that will be returned if grouping by device type. */ +export type GroupedByDeviceTypeVisitors = Node & Visitors & { + __typename?: 'GroupedByDeviceTypeVisitors'; + /** The type of device that these views belong to. */ + deviceType: DeviceType; + id: Scalars['ID']['output']; + /** The aggregated number of visitors. */ + total: Scalars['Int']['output']; +}; + +/** Views implementation that will be returned if grouping by operating system. */ +export type GroupedByOperatingSystemViews = Node & Views & { + __typename?: 'GroupedByOperatingSystemViews'; + id: Scalars['ID']['output']; + /** The operating system that these views belong to. */ + operatingSystem: Scalars['String']['output']; + /** The aggregated views. */ + total: Scalars['Int']['output']; +}; + +/** Visitors implementation that will be returned if grouping by operating system. */ +export type GroupedByOperatingSystemVisitors = Node & Visitors & { + __typename?: 'GroupedByOperatingSystemVisitors'; + id: Scalars['ID']['output']; + /** The operating system that these views belong to. */ + operatingSystem: Scalars['String']['output']; + /** The aggregated number of visitors. */ + total: Scalars['Int']['output']; +}; + +/** Views implementation that will be returned if grouping by page. */ +export type GroupedByPageViews = Node & Views & { + __typename?: 'GroupedByPageViews'; + id: Scalars['ID']['output']; + /** The page that these views belong to. */ + page: StaticPage; + /** The aggregated views. */ + total: Scalars['Int']['output']; +}; + +/** Visitors implementation that will be returned if grouping by page. */ +export type GroupedByPageVisitors = Node & Visitors & { + __typename?: 'GroupedByPageVisitors'; + id: Scalars['ID']['output']; + /** The page that these views belong to. */ + page: StaticPage; + /** The aggregated number of visitors. */ + total: Scalars['Int']['output']; +}; + +/** Views implementation that will be returned if grouping by path. */ +export type GroupedByPathViews = Node & Views & { + __typename?: 'GroupedByPathViews'; + id: Scalars['ID']['output']; + /** The path that these views belong to. */ + path: Scalars['String']['output']; + /** The aggregated views. */ + total: Scalars['Int']['output']; +}; + +/** Visitors implementation that will be returned if grouping by path. */ +export type GroupedByPathVisitors = Node & Visitors & { + __typename?: 'GroupedByPathVisitors'; + id: Scalars['ID']['output']; + /** The path that these views belong to. */ + path: Scalars['String']['output']; + /** The aggregated number of visitors. */ + total: Scalars['Int']['output']; +}; + +/** Views implementation that will be returned if grouping by post. */ +export type GroupedByPostViews = Node & Views & { + __typename?: 'GroupedByPostViews'; + id: Scalars['ID']['output']; + /** The post that these views belong to. */ + post: Post; + /** The aggregated views. */ + total: Scalars['Int']['output']; +}; + +/** Visitors implementation that will be returned if grouping by post. */ +export type GroupedByPostVisitors = Node & Visitors & { + __typename?: 'GroupedByPostVisitors'; + id: Scalars['ID']['output']; + /** The post that these views belong to. */ + post: Post; + /** The aggregated number of visitors. */ + total: Scalars['Int']['output']; +}; + +/** Views implementation that will be returned if grouping by `REFERRER_HOST` dimension. */ +export type GroupedByReferrerHostViews = Node & Views & { + __typename?: 'GroupedByReferrerHostViews'; + id: Scalars['ID']['output']; + /** The referrer host that these views belong to. */ + referrerHost: Scalars['String']['output']; + /** The aggregated views. */ + total: Scalars['Int']['output']; +}; + +/** Visitors implementation that will be returned if grouping by `REFERRER_HOST` dimension. */ +export type GroupedByReferrerHostVisitors = Node & Visitors & { + __typename?: 'GroupedByReferrerHostVisitors'; + id: Scalars['ID']['output']; + /** The referrer host that these views belong to. */ + referrerHost: Scalars['String']['output']; + /** The aggregated number of visitors. */ + total: Scalars['Int']['output']; +}; + +export type GroupedByTimeViews = Node & Views & { + __typename?: 'GroupedByTimeViews'; + /** The start of the time range that these views belong to. */ + from: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + /** The end of the time range that these views belong to. */ + to: Scalars['DateTime']['output']; + /** The aggregated views. */ + total: Scalars['Int']['output']; +}; + +/** Visitors implementation that will be returned if a grouping by time is provided. */ +export type GroupedByTimeVisitors = Node & Visitors & { + __typename?: 'GroupedByTimeVisitors'; + /** The start of the time range that these visitors visited the page. */ + from: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + /** The end of the time range that these visitors visited the page. */ + to: Scalars['DateTime']['output']; + /** The aggregated number of visitors. */ + total: Scalars['Int']['output']; +}; + export enum HttpRedirectionType { - /** A permanent redirect that corresponds to the 308 HTTP status code. */ + /** A permanent redirect that corresponds to the 302 HTTP status code. */ Permanent = 'PERMANENT', - /** A temporary redirect that corresponds to the 307 HTTP status code. */ + /** A temporary redirect that corresponds to the 301 HTTP status code. */ Temporary = 'TEMPORARY' } @@ -666,7 +1503,18 @@ export type LikePostPayload = { post?: Maybe; }; -/** Contains information about meta tags of the post. Used for SEO purpose. */ +export type LikeReplyInput = { + commentId: Scalars['ID']['input']; + likesCount?: InputMaybe; + replyId: Scalars['ID']['input']; +}; + +export type LikeReplyPayload = { + __typename?: 'LikeReplyPayload'; + reply?: Maybe; +}; + +/** Contains information about meta tags. Used for SEO purpose. */ export type MetaTagsInput = { /** The description of the post used in og:description for SEO. */ description?: InputMaybe; @@ -685,12 +1533,20 @@ export type Mutation = { /** Adds a reply to a comment. */ addReply: AddReplyPayload; cancelScheduledDraft: CancelScheduledDraftPayload; + /** Creates a new draft for a post. */ + createDraft: CreateDraftPayload; + /** Creates a new series. */ + createSeries: CreateSeriesPayload; createWebhook: CreateWebhookPayload; + /** Deletes a role based invite. */ + deleteRoleBasedInvite: DeleteRoleBasedInvitePayload; deleteWebhook: DeleteWebhookPayload; /** Likes a comment. */ likeComment: LikeCommentPayload; /** Likes a post. */ likePost: LikePostPayload; + /** Likes a reply. */ + likeReply: LikeReplyPayload; /** Publishes an existing draft as a post. */ publishDraft: PublishDraftPayload; /** Creates a new post. */ @@ -703,9 +1559,13 @@ export type Mutation = { removeRecommendation: RemoveRecommendationPayload; /** Removes a reply from a comment. */ removeReply: RemoveReplyPayload; + /** Removes a series. */ + removeSeries: RemoveSeriesPayload; /** Reschedule a draft. */ rescheduleDraft: RescheduleDraftPayload; resendWebhookRequest: ResendWebhookRequestPayload; + /** Restores a deleted post. */ + restorePost: RestorePostPayload; scheduleDraft: ScheduleDraftPayload; subscribeToNewsletter: SubscribeToNewsletterPayload; /** @@ -722,6 +1582,8 @@ export type Mutation = { updatePost: UpdatePostPayload; /** Updates a reply */ updateReply: UpdateReplyPayload; + /** Updates a series. */ + updateSeries: UpdateSeriesPayload; updateWebhook: UpdateWebhookPayload; }; @@ -746,11 +1608,26 @@ export type MutationCancelScheduledDraftArgs = { }; +export type MutationCreateDraftArgs = { + input: CreateDraftInput; +}; + + +export type MutationCreateSeriesArgs = { + input: CreateSeriesInput; +}; + + export type MutationCreateWebhookArgs = { input: CreateWebhookInput; }; +export type MutationDeleteRoleBasedInviteArgs = { + input: DeleteRoleBasedInviteInput; +}; + + export type MutationDeleteWebhookArgs = { id: Scalars['ID']['input']; }; @@ -766,6 +1643,11 @@ export type MutationLikePostArgs = { }; +export type MutationLikeReplyArgs = { + input: LikeReplyInput; +}; + + export type MutationPublishDraftArgs = { input: PublishDraftInput; }; @@ -801,6 +1683,11 @@ export type MutationRemoveReplyArgs = { }; +export type MutationRemoveSeriesArgs = { + input: RemoveSeriesInput; +}; + + export type MutationRescheduleDraftArgs = { input: RescheduleDraftInput; }; @@ -811,6 +1698,11 @@ export type MutationResendWebhookRequestArgs = { }; +export type MutationRestorePostArgs = { + input: RestorePostInput; +}; + + export type MutationScheduleDraftArgs = { input: ScheduleDraftInput; }; @@ -852,6 +1744,11 @@ export type MutationUpdateReplyArgs = { }; +export type MutationUpdateSeriesArgs = { + input: UpdateSeriesInput; +}; + + export type MutationUpdateWebhookArgs = { input: UpdateWebhookInput; }; @@ -879,8 +1776,6 @@ export type MyUser = IUser & Node & { dateJoined?: Maybe; /** Whether or not the user is deactivated. */ deactivated: Scalars['Boolean']['output']; - /** Email address of the user. Only available to the authenticated user. */ - email?: Maybe; /** The users who are following this user */ followers: UserConnection; /** The number of users that follow the requested user. Visible in the user's profile. */ @@ -908,8 +1803,6 @@ export type MyUser = IUser & Node & { tagline?: Maybe; /** Returns a list of tags that the user follows. */ tagsFollowing: Array; - /** Hashnode users are subscribed to a newsletter by default. This field can be used to unsubscribe from the newsletter. Only available to the authenticated user. */ - unsubscribeCode?: Maybe; /** The username of the user. It is unique and tied with user's profile URL. Example - https://hashnode.com/@username */ username: Scalars['String']['output']; }; @@ -974,10 +1867,42 @@ export enum NewsletterFrequency { Weekly = 'weekly' } +export type NewsletterRecord = Node & { + __typename?: 'NewsletterRecord'; + /** The number of subscribers the newsletter was clicked by. */ + clickCount: Scalars['Int']['output']; + /** Delivery ID of the sent newsletter */ + id: Scalars['ID']['output']; + /** The number of subscribers the newsletter was opened by. */ + openCount: Scalars['Int']['output']; + /** Associated post it was sent with */ + post: Post; + /** The date the newsletter was sent. */ + sentAt: Scalars['DateTime']['output']; + /** The number of subscribers the newsletter was sent to. */ + sentCount: Scalars['Int']['output']; +}; + export enum NewsletterSubscribeStatus { + Confirmed = 'CONFIRMED', Pending = 'PENDING' } +export type NewsletterSubscriber = Node & { + __typename?: 'NewsletterSubscriber'; + /** + * The date the subscriber was added. + * @deprecated Use `subscribedAt` instead. Will be removed after 12/4/2024 + */ + createdAt: Scalars['DateTime']['output']; + /** The email of the subscriber. */ + email: Scalars['String']['output']; + id: Scalars['ID']['output']; + /** The status of the subscriber. */ + status: NewsletterSubscribeStatus; + subscribedAt: Scalars['DateTime']['output']; +}; + export enum NewsletterUnsubscribeStatus { Unsubscribed = 'UNSUBSCRIBED' } @@ -1052,6 +1977,18 @@ export type PagesPreferences = { newsletter?: Maybe; }; +export type PendingInvite = Node & { + __typename?: 'PendingInvite'; + /** The email of the user that was invited. */ + email?: Maybe; + /** The ID of the pending invite. */ + id: Scalars['ID']['output']; + /** The role assigned to the user in the publication. */ + role: UserPublicationRole; + /** Invited Hashnode user, returns null if the user is not a Hashnode user. */ + user?: Maybe; +}; + /** Contains basic information about the tag returned by popularTags query. */ export type PopularTag = ITag & Node & { __typename?: 'PopularTag'; @@ -1090,7 +2027,10 @@ export type PopularTagEdge = Edge & { */ export type Post = Node & { __typename?: 'Post'; - /** Returns male and female audio url of the post. Available in case the Audioblog is enabled. */ + /** + * Returns male and female audio url of the post. Available in case the Audioblog is enabled. + * @deprecated Audio Blogs are not supported anymore. This field will be removed 18/04/23 + */ audioUrls?: Maybe; /** Returns the user details of the author of the post. */ author: User; @@ -1135,10 +2075,10 @@ export type Post = Node & { hasLatexInPost: Scalars['Boolean']['output']; /** The ID of the post. Used to uniquely identify the post. */ id: Scalars['ID']['output']; - /** Wether or not the post has automatically been published via RSS feed. */ + /** Whether or not the post has automatically been published via RSS feed. */ isAutoPublishedFromRSS: Scalars['Boolean']['output']; /** - * Wether or not the authenticated user is following this post. + * Whether or not the authenticated user is following this post. * * Returns `null` if the user is not authenticated. */ @@ -1167,6 +2107,8 @@ export type Post = Node & { series?: Maybe; /** The slug of the post. Used as address of the post on blog. Example - https://johndoe.com/my-post-slug */ slug: Scalars['String']['output']; + /** Boolean flag to identify whether or not the post is sourced from GitHub. */ + sourcedFromGithub: Scalars['Boolean']['output']; /** The subtitle of the post. Subtitle is a short description of the post which is also used in SEO if meta tags are not provided. */ subtitle?: Maybe; /** Returns list of tags added to the post. Contains tag id, name, slug, etc. */ @@ -1237,7 +2179,7 @@ export enum PostBadgeType { export type PostBadgesFeature = Feature & { __typename?: 'PostBadgesFeature'; - /** Wether or not the user has chosen to show badges on the post. */ + /** Whether or not the user has chosen to show badges on the post. */ isEnabled: Scalars['Boolean']['output']; items: Array; }; @@ -1375,7 +2317,7 @@ export type PostPreferences = { __typename?: 'PostPreferences'; /** A flag to indicate if the comments are disabled for the post. */ disableComments: Scalars['Boolean']['output']; - /** Wether or not the post is hidden from the Hashnode community. */ + /** Whether or not the post is hidden from the Hashnode community. */ isDelisted: Scalars['Boolean']['output']; /** A flag to indicate if the post is pinned to blog. Pinned post is shown on top of the blog. */ pinnedToBlog: Scalars['Boolean']['output']; @@ -1410,6 +2352,8 @@ export type Publication = Node & { __typename?: 'Publication'; /** The about section of the publication. */ about?: Maybe; + /** Boolean flag indicating if the publication allows edits by contributors */ + allowContributorEdits: Scalars['Boolean']['output']; /** The author who owns the publication. */ author: User; /** The canonical URL of the publication. */ @@ -1463,6 +2407,7 @@ export type Publication = Node & { post?: Maybe; /** Returns the list of posts in the publication. */ posts: PublicationPostConnection; + postsViaPage: PublicationPostPageConnection; /** The publication preferences around layout, theme and other personalisations. */ preferences: Preferences; /** Publications that are recommended by this publication. */ @@ -1530,6 +2475,16 @@ export type PublicationPostsArgs = { }; +/** + * Contains basic information about the publication. + * A publication is a blog that can be created for a user or a team. + */ +export type PublicationPostsViaPageArgs = { + page: Scalars['Int']['input']; + pageSize: Scalars['Int']['input']; +}; + + /** * Contains basic information about the publication. * A publication is a blog that can be created for a user or a team. @@ -1611,7 +2566,10 @@ export type PublicationDraftConnectionFilter = { /** Contains the publication's beta features. */ export type PublicationFeatures = { __typename?: 'PublicationFeatures'; - /** Audio player for blog posts. */ + /** + * Audio player for blog posts. + * @deprecated Audio Blogs are not supported anymore. This field will be removed 18/04/23 + */ audioBlog: AudioBlogFeature; /** Individual styling for the publication. */ customCSS: CustomCssFeature; @@ -1651,6 +2609,8 @@ export type PublicationIntegrations = { matomoURL?: Maybe; /** A flag indicating if the custom domain is enabled for integration with Plausible Analytics. */ plausibleAnalyticsEnabled?: Maybe; + /** The share ID for the Hashnode-provided Umami analytics instance. */ + umamiShareId?: Maybe; /** The ID for the Hashnode-provided Umami analytics instance. */ umamiWebsiteUUID?: Maybe; /** Web Monetization Payment Pointer for integration with Web Monetization. */ @@ -1693,6 +2653,29 @@ export type PublicationLinks = { youtube?: Maybe; }; +/** Contains the publication member information. */ +export type PublicationMember = Node & { + __typename?: 'PublicationMember'; + /** The ID of the publication member. */ + id: Scalars['ID']['output']; + /** + * Denotes if the member is public or private + * A private member is not visible on members page + */ + privacyState?: Maybe; + /** The role of the user in the publication. */ + role: UserPublicationRole; + /** The user who is a member of the publication. */ + user?: Maybe; +}; + +export enum PublicationMemberPrivacyState { + /** The member is private and not visible on the members page. */ + Private = 'PRIVATE', + /** The member is public and visible on the members page. */ + Public = 'PUBLIC' +} + /** Contains the publication's navbar items. */ export type PublicationNavbarItem = { __typename?: 'PublicationNavbarItem'; @@ -1702,7 +2685,10 @@ export type PublicationNavbarItem = { label?: Maybe; /** The static page added to the navbar item. */ page?: Maybe; - /** The order of the navbar item. */ + /** + * The order of the navbar item. + * @deprecated Navbar items are already returned in the correct order. Priority value is not needed and might be 0 in most cases. + */ priority?: Maybe; /** The series added to the navbar item. */ series?: Maybe; @@ -1742,6 +2728,8 @@ export type PublicationPostConnection = Connection & { * Returns a list of edges which contains the posts in publication and cursor to the last item of the previous page. */ export type PublicationPostConnectionFilter = { + /** Only return posts that are deleted. Query returns active posts by default, set this to true to return deleted posts. */ + deletedOnly?: InputMaybe; /** Remove pinned post from the result set. */ excludePinnedPost?: InputMaybe; /** @@ -1758,6 +2746,16 @@ export type PublicationPostConnectionFilter = { tags?: InputMaybe>; }; +export type PublicationPostPageConnection = PageConnection & { + __typename?: 'PublicationPostPageConnection'; + /** The posts belonging to the publication. */ + nodes: Array; + /** Information to aid in pagination. */ + pageInfo: OffsetPageInfo; + /** The total number of posts. */ + totalDocuments: Scalars['Int']['output']; +}; + /** * Contains the publication's Sponsorship information. * User can sponsor their favorite publications and pay them directly using Stripe. @@ -1785,6 +2783,18 @@ export type PublicationUserRecommendingPublicationConnection = PageConnection & totalDocuments: Scalars['Int']['output']; }; +export type PublicationViewEdge = Edge & { + __typename?: 'PublicationViewEdge'; + cursor: Scalars['String']['output']; + node: Views; +}; + +export type PublicationVisitorsEdge = Edge & { + __typename?: 'PublicationVisitorsEdge'; + cursor: Scalars['String']['output']; + node: Visitors; +}; + export type PublishDraftInput = { /** The id of the draft that should be published */ draftId: Scalars['ObjectId']['input']; @@ -1828,8 +2838,11 @@ export type PublishPostInput = { slug?: InputMaybe; /** The subtitle of the post. */ subtitle?: InputMaybe; - /** A list of tags added to the post. */ - tags: Array; + /** + * A list of tags to add to the post. You can get a list of popular tags available on Hashnode here. + * https://github.com/Hashnode/support/blob/main/misc/tags.json + */ + tags?: InputMaybe>; /** The title of the post. */ title: Scalars['String']['input']; }; @@ -1844,7 +2857,7 @@ export type PublishPostSettingsInput = { delisted?: InputMaybe; /** A flag to indicate if the post contains table of content */ enableTableOfContent?: InputMaybe; - /** Wether to send a newsletter for this post. */ + /** Whether to send a newsletter for this post. */ isNewsletterActivated?: InputMaybe; /** A flag to indicate if the post is scheduled. */ scheduled?: InputMaybe; @@ -1960,8 +2973,14 @@ export type QueryUserArgs = { export type RssImport = Node & { __typename?: 'RSSImport'; id: Scalars['ID']['output']; + /** Indicates whether posts should be imported as drafts or not */ + importAsDrafts: Scalars['Boolean']['output']; + /** RSS Tag name to be considered as the post content for automatic import. */ + rssTagName?: Maybe; /** The URL pointing to the RSS feed. */ rssURL: Scalars['String']['output']; + /** Indicates whether the posts should be scraped or not */ + scrapePosts: Scalars['Boolean']['output']; }; /** @@ -1994,10 +3013,11 @@ export type RecommendedPublicationEdge = Edge & { node: Publication; }; -export type RedirectionRule = { +export type RedirectionRule = Node & { __typename?: 'RedirectionRule'; /** The destination URL of the redirection rule. */ - destination: Scalars['String']['output']; + destination: Scalars['URL']['output']; + id: Scalars['ID']['output']; /** The source URL of the redirection rule. */ source: Scalars['String']['output']; /** The type of the redirection rule. */ @@ -2044,6 +3064,17 @@ export type RemoveReplyPayload = { reply?: Maybe; }; +export type RemoveSeriesInput = { + /** The id of the series to remove. */ + id: Scalars['ID']['input']; +}; + +export type RemoveSeriesPayload = { + __typename?: 'RemoveSeriesPayload'; + /** Returns the updated series. */ + series: Series; +}; + /** * Contains basic information about the reply. * A reply is a response to a comment. @@ -2092,6 +3123,31 @@ export type ResendWebhookRequestPayload = { webhookMessage?: Maybe; }; +export type RestorePostInput = { + id: Scalars['ID']['input']; +}; + +export type RestorePostPayload = { + __typename?: 'RestorePostPayload'; + post?: Maybe; +}; + +export type RoleBasedInvite = Node & { + __typename?: 'RoleBasedInvite'; + /** The capacity of how many members to be invited by the link. */ + capacity?: Maybe; + /** The expiry date of the invite. */ + expiryDate?: Maybe; + /** The ID of the role based invite. */ + id: Scalars['ID']['output']; + /** Invite link of the role based invite. */ + inviteLink?: Maybe; + /** Boolean that signifies if the invite has unlimited capacity. */ + isUnlimitedCapacity?: Maybe; + /** The role assigned to the user in the publication. */ + role: UserPublicationRole; +}; + /** Information to help in seo related meta tags. */ export type Seo = { __typename?: 'SEO'; @@ -2143,8 +3199,12 @@ export enum Scope { AssignProPublications = 'assign_pro_publications', ChangeProSubscription = 'change_pro_subscription', CreatePro = 'create_pro', + DocsEditorOrOwner = 'docs_editor_or_owner', + DocsOwner = 'docs_owner', ImportSubscribersToPublication = 'import_subscribers_to_publication', + InvitedTeamUser = 'invited_team_user', PublicationAdmin = 'publication_admin', + PublicationMember = 'publication_member', PublishComment = 'publish_comment', PublishDraft = 'publish_draft', PublishPost = 'publish_post', @@ -2152,14 +3212,18 @@ export enum Scope { RecommendPublications = 'recommend_publications', RemoveComment = 'remove_comment', RemoveReply = 'remove_reply', + RestorePost = 'restore_post', Signup = 'signup', TeamHashnode = 'team_hashnode', UpdateComment = 'update_comment', UpdatePost = 'update_post', UpdateReply = 'update_reply', WebhookAdmin = 'webhook_admin', + WriteDraft = 'write_draft', WritePost = 'write_post', - WriteSeries = 'write_series' + WriteSeries = 'write_series', + WriteStaticPage = 'write_static_page', + WriteWidget = 'write_widget' } /** @@ -2176,12 +3240,24 @@ export type SearchPostConnection = Connection & { }; export type SearchPostsOfPublicationFilter = { + /** Only return posts that are deleted. Query returns active posts by default, set this to true to return deleted posts. */ + deletedOnly?: InputMaybe; /** The ID of publications to search from. */ publicationId: Scalars['ObjectId']['input']; /** The query to be searched in post. */ query: Scalars['String']['input']; }; +export type SearchUser = Node & { + __typename?: 'SearchUser'; + /** ID of the user. */ + id: Scalars['ID']['output']; + /** Signifies if the user has a pending invite to the publication. Returned when the filter has pendingInviteStatus set to true. */ + pendingInviteStatus?: Maybe; + /** User node containing the user information. */ + user: User; +}; + /** * Contains basic information about the series. * A series is a collection of posts that are related to each other. @@ -2356,7 +3432,7 @@ export type SubscribeToNewsletterPayload = { export type TableOfContentsFeature = Feature & { __typename?: 'TableOfContentsFeature'; - /** Wether or not ser has chosen to show a table of contents on the post. */ + /** Whether or not the user has chosen to show a table of contents on the post. */ isEnabled: Scalars['Boolean']['output']; /** The content of the table of contents. */ items: Array; @@ -2456,6 +3532,22 @@ export type TriggerWebhookTestPayload = { webhook?: Maybe; }; +/** Views implementation that will be returned if no grouping is applied. */ +export type UngroupedViews = Node & Views & { + __typename?: 'UngroupedViews'; + id: Scalars['ID']['output']; + /** The aggregated views. */ + total: Scalars['Int']['output']; +}; + +/** Visitors implementation that will be returned if no grouping is applied. */ +export type UngroupedVisitors = Node & Visitors & { + __typename?: 'UngroupedVisitors'; + id: Scalars['ID']['output']; + /** The aggregated number of visitors. */ + total: Scalars['Int']['output']; +}; + export type UnsubscribeFromNewsletterInput = { /** The email that is currently subscribed. */ email: Scalars['String']['input']; @@ -2547,6 +3639,27 @@ export type UpdateReplyPayload = { reply?: Maybe; }; +export type UpdateSeriesInput = { + /** The cover image of the series. */ + coverImage?: InputMaybe; + /** The description of the series. Accepts markdown. */ + descriptionMarkdown?: InputMaybe; + /** The id of the series to update. */ + id: Scalars['ID']['input']; + /** The name of the series. */ + name?: InputMaybe; + /** The slug of the series. Used to access series page. Example https://johndoe.com/series/series-slug */ + slug?: InputMaybe; + /** The sort order of the series, determines if the latest posts should appear first or last in series. */ + sortOrder?: InputMaybe; +}; + +export type UpdateSeriesPayload = { + __typename?: 'UpdateSeriesPayload'; + /** Returns the updated series. */ + series: Series; +}; + export type UpdateWebhookInput = { events?: InputMaybe>; id: Scalars['ID']['input']; @@ -2594,7 +3707,7 @@ export type User = IUser & Node & { /** The number of users that follow the requested user. Visible in the user's profile. */ followersCount: Scalars['Int']['output']; /** - * Wether or not the authenticated user follows this user. + * Whether or not the authenticated user follows this user. * Returns false if the authenticated user this user. */ following: Scalars['Boolean']['output']; @@ -2603,13 +3716,13 @@ export type User = IUser & Node & { /** The users which this user is following */ follows: UserConnection; /** - * Wether or not this user follows the authenticated user. + * Whether or not this user follows the authenticated user. * Returns false if the authenticated user this user. */ followsBack: Scalars['Boolean']['output']; /** The ID of the user. It can be used to identify the user. */ id: Scalars['ID']['output']; - /** Wether or not this is a pro user. */ + /** Whether or not this is a pro user. */ isPro: Scalars['Boolean']['output']; /** The location of the user. */ location?: Maybe; @@ -2822,6 +3935,18 @@ export type ViewCountFeature = Feature & { isEnabled: Scalars['Boolean']['output']; }; +export type Views = { + id: Scalars['ID']['output']; + /** The aggregated views. */ + total: Scalars['Int']['output']; +}; + +export type Visitors = { + id: Scalars['ID']['output']; + /** The aggregated number of visitors. */ + total: Scalars['Int']['output']; +}; + export type Webhook = Node & { __typename?: 'Webhook'; createdAt: Scalars['DateTime']['output']; diff --git a/packages/blog-starter-kit/themes/personal/generated/schema.graphql b/packages/blog-starter-kit/themes/personal/generated/schema.graphql index b3879b4ea..7d08f9ea6 100644 --- a/packages/blog-starter-kit/themes/personal/generated/schema.graphql +++ b/packages/blog-starter-kit/themes/personal/generated/schema.graphql @@ -219,6 +219,510 @@ type Content { text: String! } +"""Two letter ISO 3166-1 alpha-2 country code.""" +enum CountryCodeAlpha2 { + """Andorra""" + AD + """United Arab Emirates""" + AE + """Afghanistan""" + AF + """Antigua and Barbuda""" + AG + """Anguilla""" + AI + """Albania""" + AL + """Armenia""" + AM + """Angola""" + AO + """Antarctica""" + AQ + """Argentina""" + AR + """American Samoa""" + AS + """Austria""" + AT + """Australia""" + AU + """Aruba""" + AW + """Åland Islands""" + AX + """Azerbaijan""" + AZ + """Bosnia and Herzegovina""" + BA + """Barbados""" + BB + """Bangladesh""" + BD + """Belgium""" + BE + """Burkina Faso""" + BF + """Bulgaria""" + BG + """Bahrain""" + BH + """Burundi""" + BI + """Benin""" + BJ + """Saint Barthélemy""" + BL + """Bermuda""" + BM + """Brunei Darussalam""" + BN + """Bolivia (Plurinational State of)""" + BO + """Bonaire, Sint Eustatius and Saba""" + BQ + """Brazil""" + BR + """Bahamas""" + BS + """Bhutan""" + BT + """Bouvet Island""" + BV + """Botswana""" + BW + """Belarus""" + BY + """Belize""" + BZ + """Canada""" + CA + """Cocos (Keeling) Islands""" + CC + """Congo, Democratic Republic of the""" + CD + """Central African Republic""" + CF + """Congo""" + CG + """Switzerland""" + CH + """Côte d'Ivoire""" + CI + """Cook Islands""" + CK + """Chile""" + CL + """Cameroon""" + CM + """China""" + CN + """Colombia""" + CO + """Costa Rica""" + CR + """Cuba""" + CU + """Cabo Verde""" + CV + """Curaçao""" + CW + """Christmas Island""" + CX + """Cyprus""" + CY + """Czechia""" + CZ + """Germany""" + DE + """Djibouti""" + DJ + """Denmark""" + DK + """Dominica""" + DM + """Dominican Republic""" + DO + """Algeria""" + DZ + """Ecuador""" + EC + """Estonia""" + EE + """Egypt""" + EG + """Western Sahara""" + EH + """Eritrea""" + ER + """Spain""" + ES + """Ethiopia""" + ET + """Finland""" + FI + """Fiji""" + FJ + """Falkland Islands (Malvinas)""" + FK + """Micronesia (Federated States of)""" + FM + """Faroe Islands""" + FO + """France""" + FR + """Gabon""" + GA + """United Kingdom of Great Britain and Northern Ireland""" + GB + """Grenada""" + GD + """Georgia""" + GE + """French Guiana""" + GF + """Guernsey""" + GG + """Ghana""" + GH + """Gibraltar""" + GI + """Greenland""" + GL + """Gambia""" + GM + """Guinea""" + GN + """Guadeloupe""" + GP + """Equatorial Guinea""" + GQ + """Greece""" + GR + """South Georgia and the South Sandwich Islands""" + GS + """Guatemala""" + GT + """Guam""" + GU + """Guinea-Bissau""" + GW + """Guyana""" + GY + """Hong Kong""" + HK + """Heard Island and McDonald Islands""" + HM + """Honduras""" + HN + """Croatia""" + HR + """Haiti""" + HT + """Hungary""" + HU + """Indonesia""" + ID + """Ireland""" + IE + """Israel""" + IL + """Isle of Man""" + IM + """India""" + IN + """British Indian Ocean Territory""" + IO + """Iraq""" + IQ + """Iran (Islamic Republic of)""" + IR + """Iceland""" + IS + """Italy""" + IT + """Jersey""" + JE + """Jamaica""" + JM + """Jordan""" + JO + """Japan""" + JP + """Kenya""" + KE + """Kyrgyzstan""" + KG + """Cambodia""" + KH + """Kiribati""" + KI + """Comoros""" + KM + """Saint Kitts and Nevis""" + KN + """Korea (Democratic People's Republic of)""" + KP + """Korea, Republic of""" + KR + """Kuwait""" + KW + """Cayman Islands""" + KY + """Kazakhstan""" + KZ + """Lao People's Democratic Republic""" + LA + """Lebanon""" + LB + """Saint Lucia""" + LC + """Liechtenstein""" + LI + """Sri Lanka""" + LK + """Liberia""" + LR + """Lesotho""" + LS + """Lithuania""" + LT + """Luxembourg""" + LU + """Latvia""" + LV + """Libya""" + LY + """Morocco""" + MA + """Monaco""" + MC + """Moldova, Republic of""" + MD + """Montenegro""" + ME + """Saint Martin (French part)""" + MF + """Madagascar""" + MG + """Marshall Islands""" + MH + """North Macedonia""" + MK + """Mali""" + ML + """Myanmar""" + MM + """Mongolia""" + MN + """Macao""" + MO + """Northern Mariana Islands""" + MP + """Martinique""" + MQ + """Mauritania""" + MR + """Montserrat""" + MS + """Malta""" + MT + """Mauritius""" + MU + """Maldives""" + MV + """Malawi""" + MW + """Mexico""" + MX + """Malaysia""" + MY + """Mozambique""" + MZ + """Namibia""" + NA + """New Caledonia""" + NC + """Niger""" + NE + """Norfolk Island""" + NF + """Nigeria""" + NG + """Nicaragua""" + NI + """Netherlands""" + NL + """Norway""" + NO + """Nepal""" + NP + """Nauru""" + NR + """Niue""" + NU + """New Zealand""" + NZ + """Oman""" + OM + """Panama""" + PA + """Peru""" + PE + """French Polynesia""" + PF + """Papua New Guinea""" + PG + """Philippines""" + PH + """Pakistan""" + PK + """Poland""" + PL + """Saint Pierre and Miquelon""" + PM + """Pitcairn""" + PN + """Puerto Rico""" + PR + """Palestine, State of""" + PS + """Portugal""" + PT + """Palau""" + PW + """Paraguay""" + PY + """Qatar""" + QA + """Réunion""" + RE + """Romania""" + RO + """Serbia""" + RS + """Russian Federation""" + RU + """Rwanda""" + RW + """Saudi Arabia""" + SA + """Solomon Islands""" + SB + """Seychelles""" + SC + """Sudan""" + SD + """Sweden""" + SE + """Singapore""" + SG + """Saint Helena, Ascension and Tristan da Cunha""" + SH + """Slovenia""" + SI + """Svalbard and Jan Mayen""" + SJ + """Slovakia""" + SK + """Sierra Leone""" + SL + """San Marino""" + SM + """Senegal""" + SN + """Somalia""" + SO + """Suriname""" + SR + """South Sudan""" + SS + """Sao Tome and Principe""" + ST + """El Salvador""" + SV + """Sint Maarten (Dutch part)""" + SX + """Syrian Arab Republic""" + SY + """Eswatini""" + SZ + """Turks and Caicos Islands""" + TC + """Chad""" + TD + """French Southern Territories""" + TF + """Togo""" + TG + """Thailand""" + TH + """Tajikistan""" + TJ + """Tokelau""" + TK + """Timor-Leste""" + TL + """Turkmenistan""" + TM + """Tunisia""" + TN + """Tonga""" + TO + """Turkey""" + TR + """Trinidad and Tobago""" + TT + """Tuvalu""" + TV + """Taiwan, Province of China""" + TW + """Tanzania, United Republic of""" + TZ + """Ukraine""" + UA + """Uganda""" + UG + """United States Minor Outlying Islands""" + UM + """United States of America""" + US + """Uruguay""" + UY + """Uzbekistan""" + UZ + """Holy See""" + VA + """Saint Vincent and the Grenadines""" + VC + """Venezuela (Bolivarian Republic of)""" + VE + """Virgin Islands (British)""" + VG + """Virgin Islands (U.S.)""" + VI + """Viet Nam""" + VN + """Vanuatu""" + VU + """Wallis and Futuna""" + WF + """Samoa""" + WS + """Yemen""" + YE + """Mayotte""" + YT + """South Africa""" + ZA + """Zambia""" + ZM + """Zimbabwe""" + ZW + """Unknown""" + ZZ +} + """ Contains information about cover image options of the post. Like URL of the cover image, attribution, etc. """ @@ -239,6 +743,116 @@ input CoverImageOptionsInput { stickCoverToBottom: Boolean } +input CreateDraftInput { + """Ids of the co-authors of the resulting draft.""" + coAuthors: [ObjectId!] + """Content of the resulting draft in markdown format.""" + contentMarkdown: String + """Options for the cover image of the resulting draft.""" + coverImageOptions: CoverImageOptionsInput + """ + A flag to indicate if the comments are disabled for the resulting draft. + """ + disableComments: Boolean + """ + Information about the meta tags added to the resulting draft, used for SEO purpose. + """ + metaTags: MetaTagsInput + """ + The URL of the original article if the draft is imported from an external source. + """ + originalArticleURL: String + """The ID of publication the draft and resulting post belongs to.""" + publicationId: ID! + """ + Publish the draft on behalf of another user who is a member of the publication. + + Only applicable for team publications. + """ + publishAs: ObjectId + """Date when the resulting draft is published.""" + publishedAt: DateTime + """Providing a seriesId will add the resulting draft to that series.""" + seriesId: ObjectId + """ + Settings for the resulting draft like table of contents and newsletter activation. + """ + settings: CreateDraftSettingsInput + """Slug of the resulting draft.""" + slug: String + """The subtitle of the resulting draft.""" + subtitle: String + """A list of tags added to the resulting draft.""" + tags: [CreateDraftTagInput!] + """The title of the resulting draft.""" + title: String +} + +type CreateDraftPayload { + """The newly created draft""" + draft: Draft +} + +input CreateDraftSettingsInput { + """Whether to send a newsletter for the resulting draft's post.""" + activateNewsletter: Boolean + """ + A flag to indicate if the resulting draft should be delisted, used to hide the post created from the draft from public feed. + """ + delist: Boolean + """ + A flag to indicate if the resulting draft'S post should contain a table of content + """ + enableTableOfContent: Boolean + """Flag to indicate if the slug is overridden by the user.""" + slugOverridden: Boolean +} + +input CreateDraftTagInput { + """ + A tag id that is referencing an existing tag. + + Either this or name and slug should be provided. If both are provided, the id will be used. + """ + id: ObjectId + """ + A name of a new tag to create. + + Either this and slug or id should be provided. If both are provided, the id will be used. + """ + name: String + """ + A slug of a new tag to create. + + Either this and name or id should be provided. If both are provided, the id will be used. + """ + slug: String +} + +input CreateSeriesInput { + """The cover image of the series.""" + coverImage: String + """The description of the series. Accepts markdown.""" + descriptionMarkdown: String + """The name of the series.""" + name: String! + """The id of the publication the series belongs to.""" + publicationId: ID! + """ + The slug of the series. Used to access series page. Example https://johndoe.com/series/series-slug + """ + slug: String! + """ + The sort order of the series, determines if the latest posts should appear first or last in series. + """ + sortOrder: SortOrder +} + +type CreateSeriesPayload { + """Returns the created series.""" + series: Series! +} + input CreateWebhookInput { events: [WebhookEvent!]! publicationId: ID! @@ -276,6 +890,12 @@ type CustomCSSFeature implements Feature { published: CustomCSS } +enum CustomDomainStatus { + INVALID + VALID + VERIFYING +} + """Contains the publication's dark mode preferences.""" type DarkModePreferences { """A flag indicating if the dark mode is enabled for the publication.""" @@ -289,10 +909,29 @@ A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `dat """ scalar DateTime +input DeleteRoleBasedInviteInput { + """The ID of the role based invite.""" + inviteId: ID! + publicationId: ID! +} + +"""Response to deleting a role based invite.""" +type DeleteRoleBasedInvitePayload { + """Deleted invite.""" + invite: RoleBasedInvite! +} + type DeleteWebhookPayload { webhook: Webhook } +enum DeviceType { + DESKTOP + LAPTOP + MOBILE + TABLET +} + """Contains the publication's domain information.""" type DomainInfo { """The domain of the publication.""" @@ -315,6 +954,13 @@ type DomainStatus { host: String! """A flag indicating if the publication domain is ready.""" ready: Boolean! + """A flag indicating the status of a publication domain""" + status: CustomDomainStatus! + """ + A timestamp indicating when the domain was verified. + It is only present if the domain is verified. + """ + verifiedAt: DateTime } """ @@ -354,6 +1000,8 @@ type Draft implements Node { """ ogMetaData: OpenGraphMetaData readTimeInMinutes: Int! + """The date the draft is scheduled to be published.""" + scheduledDate: DateTime """ SEO information of the draft. Contains title and description used in meta tags. """ @@ -369,7 +1017,8 @@ type Draft implements Node { """ Returns list of tags added to the draft. Contains tag id, name, slug, etc. """ - tags: [Tag!]! + tags: [Tag!]! @deprecated(reason: "Use tagsV2 instead. Will be removed on 26/02/2024.") + tagsV2: [DraftTag!]! """ The title of the draft. It would become the title of the post when published. """ @@ -384,6 +1033,19 @@ type DraftBackup { status: BackupStatus } +""" +Contains basic information about a Tag within a Draft. +A tag in a draft is a tag that is not published yet. +""" +type DraftBaseTag { + """The name of the tag. Shown in tag page.""" + name: String! + """ + The slug of the tag. Used to access tags feed. Example https://hashnode.com/n/graphql + """ + slug: String! +} + """ Connection to get list of drafts. Returns a list of edges which contains the draft and cursor to the last item of the previous page. @@ -424,7 +1086,7 @@ type DraftFeatures { type DraftSettings { """A flag to indicate if the comments are disabled for the post.""" disableComments: Boolean! - """Wether or not the post is hidden from the Hashnode community.""" + """Whether or not the post is hidden from the Hashnode community.""" isDelisted: Boolean! """ A flag to indicate if the cover image is shown below title of the post. Default position of cover is top of title. @@ -432,6 +1094,8 @@ type DraftSettings { stickCoverToBottom: Boolean! } +union DraftTag = DraftBaseTag | Tag + """ An edge that contains a node and cursor to the node. This is a common interface for all edges. @@ -544,10 +1208,187 @@ enum FeedType { RELEVANT } +"""Views implementation that will be returned if grouping by browser.""" +type GroupedByBrowserViews implements Node & Views { + """The browser that these views belong to.""" + browser: String! + id: ID! + """The aggregated views.""" + total: Int! +} + +"""Visitors implementation that will be returned if grouping by browser.""" +type GroupedByBrowserVisitors implements Node & Visitors { + """The browser that these views belong to.""" + browser: String! + id: ID! + """The aggregated number of visitors.""" + total: Int! +} + +"""Views implementation that will be returned if grouping by country.""" +type GroupedByCountryViews implements Node & Views { + """The country that these views belong to.""" + country: CountryCodeAlpha2! + id: ID! + """The aggregated views.""" + total: Int! +} + +"""Visitors implementation that will be returned if grouping by country.""" +type GroupedByCountryVisitors implements Node & Visitors { + """The country that these views belong to.""" + country: CountryCodeAlpha2! + id: ID! + """The aggregated number of visitors.""" + total: Int! +} + +"""Views implementation that will be returned if grouping by device type.""" +type GroupedByDeviceTypeViews implements Node & Views { + """The type of device that these views belong to.""" + deviceType: DeviceType! + id: ID! + """The aggregated views.""" + total: Int! +} + +""" +Visitors implementation that will be returned if grouping by device type. +""" +type GroupedByDeviceTypeVisitors implements Node & Visitors { + """The type of device that these views belong to.""" + deviceType: DeviceType! + id: ID! + """The aggregated number of visitors.""" + total: Int! +} + +""" +Views implementation that will be returned if grouping by operating system. +""" +type GroupedByOperatingSystemViews implements Node & Views { + id: ID! + """The operating system that these views belong to.""" + operatingSystem: String! + """The aggregated views.""" + total: Int! +} + +""" +Visitors implementation that will be returned if grouping by operating system. +""" +type GroupedByOperatingSystemVisitors implements Node & Visitors { + id: ID! + """The operating system that these views belong to.""" + operatingSystem: String! + """The aggregated number of visitors.""" + total: Int! +} + +"""Views implementation that will be returned if grouping by page.""" +type GroupedByPageViews implements Node & Views { + id: ID! + """The page that these views belong to.""" + page: StaticPage! + """The aggregated views.""" + total: Int! +} + +"""Visitors implementation that will be returned if grouping by page.""" +type GroupedByPageVisitors implements Node & Visitors { + id: ID! + """The page that these views belong to.""" + page: StaticPage! + """The aggregated number of visitors.""" + total: Int! +} + +"""Views implementation that will be returned if grouping by path.""" +type GroupedByPathViews implements Node & Views { + id: ID! + """The path that these views belong to.""" + path: String! + """The aggregated views.""" + total: Int! +} + +"""Visitors implementation that will be returned if grouping by path.""" +type GroupedByPathVisitors implements Node & Visitors { + id: ID! + """The path that these views belong to.""" + path: String! + """The aggregated number of visitors.""" + total: Int! +} + +"""Views implementation that will be returned if grouping by post.""" +type GroupedByPostViews implements Node & Views { + id: ID! + """The post that these views belong to.""" + post: Post! + """The aggregated views.""" + total: Int! +} + +"""Visitors implementation that will be returned if grouping by post.""" +type GroupedByPostVisitors implements Node & Visitors { + id: ID! + """The post that these views belong to.""" + post: Post! + """The aggregated number of visitors.""" + total: Int! +} + +""" +Views implementation that will be returned if grouping by `REFERRER_HOST` dimension. +""" +type GroupedByReferrerHostViews implements Node & Views { + id: ID! + """The referrer host that these views belong to.""" + referrerHost: String! + """The aggregated views.""" + total: Int! +} + +""" +Visitors implementation that will be returned if grouping by `REFERRER_HOST` dimension. +""" +type GroupedByReferrerHostVisitors implements Node & Visitors { + id: ID! + """The referrer host that these views belong to.""" + referrerHost: String! + """The aggregated number of visitors.""" + total: Int! +} + +type GroupedByTimeViews implements Node & Views { + """The start of the time range that these views belong to.""" + from: DateTime! + id: ID! + """The end of the time range that these views belong to.""" + to: DateTime! + """The aggregated views.""" + total: Int! +} + +""" +Visitors implementation that will be returned if a grouping by time is provided. +""" +type GroupedByTimeVisitors implements Node & Visitors { + """The start of the time range that these visitors visited the page.""" + from: DateTime! + id: ID! + """The end of the time range that these visitors visited the page.""" + to: DateTime! + """The aggregated number of visitors.""" + total: Int! +} + enum HttpRedirectionType { - """A permanent redirect that corresponds to the 308 HTTP status code.""" + """A permanent redirect that corresponds to the 302 HTTP status code.""" PERMANENT - """A temporary redirect that corresponds to the 307 HTTP status code.""" + """A temporary redirect that corresponds to the 301 HTTP status code.""" TEMPORARY } @@ -680,9 +1521,17 @@ type LikePostPayload { post: Post } -""" -Contains information about meta tags of the post. Used for SEO purpose. -""" +input LikeReplyInput { + commentId: ID! + likesCount: Int = 1 + replyId: ID! +} + +type LikeReplyPayload { + reply: Reply +} + +"""Contains information about meta tags. Used for SEO purpose.""" input MetaTagsInput { """The description of the post used in og:description for SEO.""" description: String @@ -700,12 +1549,23 @@ type Mutation { """Adds a reply to a comment.""" addReply(input: AddReplyInput!): AddReplyPayload! cancelScheduledDraft(input: CancelScheduledDraftInput!): CancelScheduledDraftPayload! + """Creates a new draft for a post.""" + createDraft( + """Information about the draft to be created.""" + input: CreateDraftInput! + ): CreateDraftPayload! + """Creates a new series.""" + createSeries(input: CreateSeriesInput!): CreateSeriesPayload! createWebhook(input: CreateWebhookInput!): CreateWebhookPayload! + """Deletes a role based invite.""" + deleteRoleBasedInvite(input: DeleteRoleBasedInviteInput!): DeleteRoleBasedInvitePayload! deleteWebhook(id: ID!): DeleteWebhookPayload! """Likes a comment.""" likeComment(input: LikeCommentInput!): LikeCommentPayload! """Likes a post.""" likePost(input: LikePostInput!): LikePostPayload! + """Likes a reply.""" + likeReply(input: LikeReplyInput!): LikeReplyPayload! """Publishes an existing draft as a post.""" publishDraft( """Information about the draft to be published.""" @@ -724,9 +1584,13 @@ type Mutation { removeRecommendation(input: RemoveRecommendationInput!): RemoveRecommendationPayload! """Removes a reply from a comment.""" removeReply(input: RemoveReplyInput!): RemoveReplyPayload! + """Removes a series.""" + removeSeries(input: RemoveSeriesInput!): RemoveSeriesPayload! """Reschedule a draft.""" rescheduleDraft(input: RescheduleDraftInput!): RescheduleDraftPayload! resendWebhookRequest(input: ResendWebhookRequestInput!): ResendWebhookRequestPayload! + """Restores a deleted post.""" + restorePost(input: RestorePostInput!): RestorePostPayload! scheduleDraft( """Information about the draft to be published.""" input: ScheduleDraftInput! @@ -746,6 +1610,8 @@ type Mutation { updatePost(input: UpdatePostInput!): UpdatePostPayload! """Updates a reply""" updateReply(input: UpdateReplyInput!): UpdateReplyPayload! + """Updates a series.""" + updateSeries(input: UpdateSeriesInput!): UpdateSeriesPayload! updateWebhook(input: UpdateWebhookInput!): UpdateWebhookPayload! } @@ -776,8 +1642,6 @@ type MyUser implements IUser & Node { dateJoined: DateTime """Whether or not the user is deactivated.""" deactivated: Boolean! - """Email address of the user. Only available to the authenticated user.""" - email: String """The users who are following this user""" followers( """The page number that should be returned.""" @@ -838,10 +1702,6 @@ type MyUser implements IUser & Node { """Returns a list of tags that the user follows.""" tagsFollowing: [Tag!]! """ - Hashnode users are subscribed to a newsletter by default. This field can be used to unsubscribe from the newsletter. Only available to the authenticated user. - """ - unsubscribeCode: String - """ The username of the user. It is unique and tied with user's profile URL. Example - https://hashnode.com/@username """ username: String! @@ -863,10 +1723,37 @@ enum NewsletterFrequency { weekly } +type NewsletterRecord implements Node { + """The number of subscribers the newsletter was clicked by.""" + clickCount: Int! + """Delivery ID of the sent newsletter""" + id: ID! + """The number of subscribers the newsletter was opened by.""" + openCount: Int! + """Associated post it was sent with""" + post: Post! + """The date the newsletter was sent.""" + sentAt: DateTime! + """The number of subscribers the newsletter was sent to.""" + sentCount: Int! +} + enum NewsletterSubscribeStatus { + CONFIRMED PENDING } +type NewsletterSubscriber implements Node { + """The date the subscriber was added.""" + createdAt: DateTime! @deprecated(reason: "Use `subscribedAt` instead. Will be removed after 12/4/2024") + """The email of the subscriber.""" + email: String! + id: ID! + """The status of the subscriber.""" + status: NewsletterSubscribeStatus! + subscribedAt: DateTime! +} + enum NewsletterUnsubscribeStatus { UNSUBSCRIBED } @@ -944,6 +1831,19 @@ type PagesPreferences { newsletter: Boolean } +type PendingInvite implements Node { + """The email of the user that was invited.""" + email: String + """The ID of the pending invite.""" + id: ID! + """The role assigned to the user in the publication.""" + role: UserPublicationRole! + """ + Invited Hashnode user, returns null if the user is not a Hashnode user. + """ + user: User +} + """ Contains basic information about the tag returned by popularTags query. """ @@ -988,7 +1888,7 @@ type Post implements Node { """ Returns male and female audio url of the post. Available in case the Audioblog is enabled. """ - audioUrls: AudioUrls + audioUrls: AudioUrls @deprecated(reason: "Audio Blogs are not supported anymore. This field will be removed 18/04/23") """Returns the user details of the author of the post.""" author: User! """ @@ -1059,10 +1959,10 @@ type Post implements Node { hasLatexInPost: Boolean! """The ID of the post. Used to uniquely identify the post.""" id: ID! - """Wether or not the post has automatically been published via RSS feed.""" + """Whether or not the post has automatically been published via RSS feed.""" isAutoPublishedFromRSS: Boolean! """ - Wether or not the authenticated user is following this post. + Whether or not the authenticated user is following this post. Returns `null` if the user is not authenticated. """ @@ -1106,6 +2006,10 @@ type Post implements Node { """ slug: String! """ + Boolean flag to identify whether or not the post is sourced from GitHub. + """ + sourcedFromGithub: Boolean! + """ The subtitle of the post. Subtitle is a short description of the post which is also used in SEO if meta tags are not provided. """ subtitle: String @@ -1148,7 +2052,7 @@ enum PostBadgeType { } type PostBadgesFeature implements Feature { - """Wether or not the user has chosen to show badges on the post.""" + """Whether or not the user has chosen to show badges on the post.""" isEnabled: Boolean! items: [PostBadge!]! } @@ -1288,7 +2192,7 @@ Contains Post preferences. Used to determine if the post is pinned to blog, comm type PostPreferences { """A flag to indicate if the comments are disabled for the post.""" disableComments: Boolean! - """Wether or not the post is hidden from the Hashnode community.""" + """Whether or not the post is hidden from the Hashnode community.""" isDelisted: Boolean! """ A flag to indicate if the post is pinned to blog. Pinned post is shown on top of the blog. @@ -1333,6 +2237,10 @@ A publication is a blog that can be created for a user or a team. type Publication implements Node { """The about section of the publication.""" about: Content + """ + Boolean flag indicating if the publication allows edits by contributors + """ + allowContributorEdits: Boolean! """The author who owns the publication.""" author: User! """The canonical URL of the publication.""" @@ -1411,6 +2319,12 @@ type Publication implements Node { """The number of posts to return.""" first: Int! ): PublicationPostConnection! + postsViaPage( + """The page number that should be returned.""" + page: Int! + """The number of posts to return on a single page.""" + pageSize: Int! + ): PublicationPostPageConnection! """ The publication preferences around layout, theme and other personalisations. """ @@ -1494,7 +2408,7 @@ input PublicationDraftConnectionFilter { """Contains the publication's beta features.""" type PublicationFeatures { """Audio player for blog posts.""" - audioBlog: AudioBlogFeature! + audioBlog: AudioBlogFeature! @deprecated(reason: "Audio Blogs are not supported anymore. This field will be removed 18/04/23") """Individual styling for the publication.""" customCSS: CustomCSSFeature! """ @@ -1540,6 +2454,8 @@ type PublicationIntegrations { A flag indicating if the custom domain is enabled for integration with Plausible Analytics. """ plausibleAnalyticsEnabled: Boolean + """The share ID for the Hashnode-provided Umami analytics instance.""" + umamiShareId: String """The ID for the Hashnode-provided Umami analytics instance.""" umamiWebsiteUUID: String """ @@ -1583,6 +2499,28 @@ type PublicationLinks { youtube: String } +"""Contains the publication member information.""" +type PublicationMember implements Node { + """The ID of the publication member.""" + id: ID! + """ + Denotes if the member is public or private + A private member is not visible on members page + """ + privacyState: PublicationMemberPrivacyState + """The role of the user in the publication.""" + role: UserPublicationRole! + """The user who is a member of the publication.""" + user: User +} + +enum PublicationMemberPrivacyState { + """The member is private and not visible on the members page.""" + PRIVATE + """The member is public and visible on the members page.""" + PUBLIC +} + """Contains the publication's navbar items.""" type PublicationNavbarItem { """The unique identifier of the navbar item.""" @@ -1592,7 +2530,7 @@ type PublicationNavbarItem { """The static page added to the navbar item.""" page: StaticPage """The order of the navbar item.""" - priority: Int + priority: Int @deprecated(reason: "Navbar items are already returned in the correct order. Priority value is not needed and might be 0 in most cases.") """The series added to the navbar item.""" series: Series """The type of the navbar item, can be series, link or page.""" @@ -1630,6 +2568,10 @@ Connection to get list of posts in publications. Returns a list of edges which contains the posts in publication and cursor to the last item of the previous page. """ input PublicationPostConnectionFilter { + """ + Only return posts that are deleted. Query returns active posts by default, set this to true to return deleted posts. + """ + deletedOnly: Boolean """Remove pinned post from the result set.""" excludePinnedPost: Boolean """ @@ -1646,6 +2588,15 @@ input PublicationPostConnectionFilter { tags: [ObjectId!] } +type PublicationPostPageConnection implements PageConnection { + """The posts belonging to the publication.""" + nodes: [Post!]! + """Information to aid in pagination.""" + pageInfo: OffsetPageInfo! + """The total number of posts.""" + totalDocuments: Int! +} + """ Contains the publication's Sponsorship information. User can sponsor their favorite publications and pay them directly using Stripe. @@ -1671,6 +2622,16 @@ type PublicationUserRecommendingPublicationConnection implements PageConnection totalDocuments: Int! } +type PublicationViewEdge implements Edge { + cursor: String! + node: Views! +} + +type PublicationVisitorsEdge implements Edge { + cursor: String! + node: Visitors! +} + input PublishDraftInput { """The id of the draft that should be published""" draftId: ObjectId! @@ -1719,8 +2680,11 @@ input PublishPostInput { slug: String """The subtitle of the post.""" subtitle: String - """A list of tags added to the post.""" - tags: [PublishPostTagInput!]! + """ + A list of tags to add to the post. You can get a list of popular tags available on Hashnode here. + https://github.com/Hashnode/support/blob/main/misc/tags.json + """ + tags: [PublishPostTagInput!] """The title of the post.""" title: String! } @@ -1736,7 +2700,7 @@ input PublishPostSettingsInput { delisted: Boolean """A flag to indicate if the post contains table of content""" enableTableOfContent: Boolean - """Wether to send a newsletter for this post.""" + """Whether to send a newsletter for this post.""" isNewsletterActivated: Boolean """A flag to indicate if the post is scheduled.""" scheduled: Boolean @@ -1844,8 +2808,16 @@ type Query { type RSSImport implements Node { id: ID! + """Indicates whether posts should be imported as drafts or not""" + importAsDrafts: Boolean! + """ + RSS Tag name to be considered as the post content for automatic import. + """ + rssTagName: String """The URL pointing to the RSS feed.""" rssURL: String! + """Indicates whether the posts should be scraped or not""" + scrapePosts: Boolean! } """ @@ -1875,9 +2847,10 @@ type RecommendedPublicationEdge implements Edge { node: Publication! } -type RedirectionRule { +type RedirectionRule implements Node { """The destination URL of the redirection rule.""" - destination: String! + destination: URL! + id: ID! """The source URL of the redirection rule.""" source: String! """The type of the redirection rule.""" @@ -1920,6 +2893,16 @@ type RemoveReplyPayload { reply: Reply } +input RemoveSeriesInput { + """The id of the series to remove.""" + id: ID! +} + +type RemoveSeriesPayload { + """Returns the updated series.""" + series: Series! +} + """ Contains basic information about the reply. A reply is a response to a comment. @@ -1969,6 +2952,29 @@ type ResendWebhookRequestPayload { webhookMessage: WebhookMessage } +input RestorePostInput { + id: ID! +} + +type RestorePostPayload { + post: Post +} + +type RoleBasedInvite implements Node { + """The capacity of how many members to be invited by the link.""" + capacity: Int + """The expiry date of the invite.""" + expiryDate: DateTime + """The ID of the role based invite.""" + id: ID! + """Invite link of the role based invite.""" + inviteLink: String + """Boolean that signifies if the invite has unlimited capacity.""" + isUnlimitedCapacity: Boolean + """The role assigned to the user in the publication.""" + role: UserPublicationRole! +} + """Information to help in seo related meta tags.""" type SEO { """The description used in og:description tag for SEO purposes.""" @@ -2023,8 +3029,12 @@ enum Scope { assign_pro_publications change_pro_subscription create_pro + docs_editor_or_owner + docs_owner import_subscribers_to_publication + invited_team_user publication_admin + publication_member publish_comment publish_draft publish_post @@ -2032,14 +3042,18 @@ enum Scope { recommend_publications remove_comment remove_reply + restore_post signup team_hashnode update_comment update_post update_reply webhook_admin + write_draft write_post write_series + write_static_page + write_widget } """ @@ -2055,12 +3069,27 @@ type SearchPostConnection implements Connection { } input SearchPostsOfPublicationFilter { + """ + Only return posts that are deleted. Query returns active posts by default, set this to true to return deleted posts. + """ + deletedOnly: Boolean """The ID of publications to search from.""" publicationId: ObjectId! """The query to be searched in post.""" query: String! } +type SearchUser implements Node { + """ID of the user.""" + id: ID! + """ + Signifies if the user has a pending invite to the publication. Returned when the filter has pendingInviteStatus set to true. + """ + pendingInviteStatus: Boolean + """User node containing the user information.""" + user: User! +} + """ Contains basic information about the series. A series is a collection of posts that are related to each other. @@ -2235,7 +3264,9 @@ type SubscribeToNewsletterPayload { } type TableOfContentsFeature implements Feature { - """Wether or not ser has chosen to show a table of contents on the post.""" + """ + Whether or not the user has chosen to show a table of contents on the post. + """ isEnabled: Boolean! """The content of the table of contents.""" items: [TableOfContentsItem!]! @@ -2341,6 +3372,24 @@ type TriggerWebhookTestPayload { webhook: Webhook } +scalar URL + +"""Views implementation that will be returned if no grouping is applied.""" +type UngroupedViews implements Node & Views { + id: ID! + """The aggregated views.""" + total: Int! +} + +""" +Visitors implementation that will be returned if no grouping is applied. +""" +type UngroupedVisitors implements Node & Visitors { + id: ID! + """The aggregated number of visitors.""" + total: Int! +} + input UnsubscribeFromNewsletterInput { """The email that is currently subscribed.""" email: String! @@ -2436,6 +3485,30 @@ type UpdateReplyPayload { reply: Reply } +input UpdateSeriesInput { + """The cover image of the series.""" + coverImage: String + """The description of the series. Accepts markdown.""" + descriptionMarkdown: String + """The id of the series to update.""" + id: ID! + """The name of the series.""" + name: String + """ + The slug of the series. Used to access series page. Example https://johndoe.com/series/series-slug + """ + slug: String + """ + The sort order of the series, determines if the latest posts should appear first or last in series. + """ + sortOrder: SortOrder +} + +type UpdateSeriesPayload { + """Returns the updated series.""" + series: Series! +} + input UpdateWebhookInput { events: [WebhookEvent!] id: ID! @@ -2492,7 +3565,7 @@ type User implements IUser & Node { """ followersCount: Int! """ - Wether or not the authenticated user follows this user. + Whether or not the authenticated user follows this user. Returns false if the authenticated user this user. """ following: Boolean! @@ -2508,13 +3581,13 @@ type User implements IUser & Node { pageSize: Int! ): UserConnection! """ - Wether or not this user follows the authenticated user. + Whether or not this user follows the authenticated user. Returns false if the authenticated user this user. """ followsBack: Boolean! """The ID of the user. It can be used to identify the user.""" id: ID! - """Wether or not this is a pro user.""" + """Whether or not this is a pro user.""" isPro: Boolean! """The location of the user.""" location: String @@ -2727,6 +3800,18 @@ type ViewCountFeature implements Feature { isEnabled: Boolean! } +interface Views implements Node { + id: ID! + """The aggregated views.""" + total: Int! +} + +interface Visitors implements Node { + id: ID! + """The aggregated number of visitors.""" + total: Int! +} + type Webhook implements Node { createdAt: DateTime! events: [WebhookEvent!]!