diff --git a/pages/sitemap.xml.ts b/pages/sitemap.xml.ts index 167d4ba1..5be763a6 100644 --- a/pages/sitemap.xml.ts +++ b/pages/sitemap.xml.ts @@ -36,11 +36,11 @@ export default function SiteMap() { // getServerSideProps will do the heavy lifting } -async function generateSiteMap({ +function generateSiteMap({ repos, }: { - repos: Awaited> -}) { + repos?: Awaited> +} = {}) { const lastMod = new Date().toISOString() // We generate the XML sitemap with the posts data @@ -56,7 +56,7 @@ async function generateSiteMap({ return sitemap } -let cachedSiteMap: string +let cachedSiteMap: string = generateSiteMap() export async function getServerSideProps({ res }) { // We make an API call to gather the URLs for our site @@ -66,6 +66,7 @@ export async function getServerSideProps({ res }) { if (!reposError) { sitemap = await generateSiteMap({ repos }) + cachedSiteMap = sitemap } res.setHeader('Content-Type', 'text/xml') diff --git a/src/components/MainContent.tsx b/src/components/MainContent.tsx index 586b3f39..37d14647 100644 --- a/src/components/MainContent.tsx +++ b/src/components/MainContent.tsx @@ -101,20 +101,22 @@ export default function MainContent({ Component, title, description }) { - {(title || description) && ( - 0} - /> - )} - - {isAppCatalogIndex && ( - <> - Our Catalog - - - )} +
+ {(title || description) && ( + 0} + /> + )} + + {isAppCatalogIndex && ( + <> + Our Catalog + + + )} +
{markdoc?.file?.path && ( diff --git a/src/generated/graphql.ts b/src/generated/graphql.ts index 092378cc..fe1abf97 100644 --- a/src/generated/graphql.ts +++ b/src/generated/graphql.ts @@ -39,6 +39,7 @@ export type Account = { paymentMethods?: Maybe; rootUser?: Maybe; subscription?: Maybe; + trialed?: Maybe; updatedAt?: Maybe; userCount?: Maybe; workosConnectionId?: Maybe; @@ -1363,6 +1364,7 @@ export type IntegrationWebhookEdge = { export type Invite = { __typename?: 'Invite'; account?: Maybe; + admin?: Maybe; email?: Maybe; existing: Scalars['Boolean']['output']; expiresAt?: Maybe; @@ -1375,6 +1377,7 @@ export type Invite = { }; export type InviteAttributes = { + admin?: InputMaybe; email?: InputMaybe; inviteGroups?: InputMaybe>>; }; @@ -1621,7 +1624,8 @@ export enum NotificationType { IncidentUpdate = 'INCIDENT_UPDATE', Locked = 'LOCKED', Mention = 'MENTION', - Message = 'MESSAGE' + Message = 'MESSAGE', + Pending = 'PENDING' } export type OauthAttributes = { @@ -2026,6 +2030,7 @@ export type PlatformPlan = { lineItems?: Maybe>>; name: Scalars['String']['output']; period: PaymentPeriod; + trial?: Maybe; updatedAt?: Maybe; visible: Scalars['Boolean']['output']; }; @@ -2043,9 +2048,12 @@ export type PlatformSubscription = { __typename?: 'PlatformSubscription'; externalId?: Maybe; id: Scalars['ID']['output']; + insertedAt?: Maybe; latestInvoice?: Maybe; lineItems?: Maybe>>; plan?: Maybe; + trialUntil?: Maybe; + updatedAt?: Maybe; }; export type PlatformSubscriptionLineItems = { @@ -2627,6 +2635,7 @@ export type RootMutationType = { acceptIncident?: Maybe; acceptLogin?: Maybe; acquireLock?: Maybe; + beginTrial?: Maybe; cancelPlatformSubscription?: Maybe; completeIncident?: Maybe; createArtifact?: Maybe; @@ -2729,6 +2738,7 @@ export type RootMutationType = { realizeInvite?: Maybe; realizeResetToken?: Maybe; rebootShell?: Maybe; + release?: Maybe; releaseLock?: Maybe; resetInstallations?: Maybe; restartShell?: Maybe; @@ -3288,6 +3298,13 @@ export type RootMutationTypeRealizeResetTokenArgs = { }; +export type RootMutationTypeReleaseArgs = { + repositoryId?: InputMaybe; + repositoryName?: InputMaybe; + tags?: InputMaybe>; +}; + + export type RootMutationTypeReleaseLockArgs = { attributes: LockAttributes; repository: Scalars['String']['input']; diff --git a/src/generated/pages.json b/src/generated/pages.json index bd39a675..169c44a6 100644 --- a/src/generated/pages.json +++ b/src/generated/pages.json @@ -224,6 +224,9 @@ { "path": "/reference/operator-guides" }, + { + "path": "/reference/partial-installation" + }, { "path": "/reference/release-notes" },