Skip to content

Commit

Permalink
chore: add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelgautier committed Oct 15, 2024
1 parent a947c0d commit a7bdd5e
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 35 deletions.
9 changes: 9 additions & 0 deletions .changeset/curvy-parents-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@galactiks/contentlayer': minor
'@galactiks/explorer': minor
'@galactiks/config': minor
'@galactiks/astro-integration': patch
'@galactiks/sitemap': patch
---

software app type
66 changes: 33 additions & 33 deletions packages/contentlayer/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,40 +206,40 @@ export type Product = {

export type SoftwareApplication = {
/** File path relative to `contentDirPath` */
_id: string
_raw: Local.RawDocumentData
type: 'SoftwareApplication'
listingPage: boolean
slug?: string | undefined
path?: string | undefined
inLanguage?: string | undefined
translationOfWork?: Id | undefined
workTranslation?: Id | undefined
name: string
description: string
url?: string | undefined
identifier: string
image?: any | undefined
sameAs?: string | undefined
author?: string | undefined
headline?: string | undefined
dateCreated: IsoDateTimeString
dateModified?: IsoDateTimeString | undefined
datePublished?: IsoDateTimeString | undefined
isPartOf?: string | undefined
keywords?: string[] | undefined
position?: number | undefined
applicationCategory?: string | undefined
applicationSubCategory?: string | undefined
downloadUrl?: string | undefined
featureList?: string[] | undefined
installUrl?: string | undefined
releaseNotes?: string[] | undefined
screenshot?: ImageFieldData | undefined
aggregateRating?: AggregateRating | undefined
offers?: Offer[] | undefined
_id: string;
_raw: Local.RawDocumentData;
type: 'SoftwareApplication';
listingPage: boolean;
slug?: string | undefined;
path?: string | undefined;
inLanguage?: string | undefined;
translationOfWork?: Id | undefined;
workTranslation?: Id | undefined;
name: string;
description: string;
url?: string | undefined;
identifier: string;
image?: any | undefined;
sameAs?: string | undefined;
author?: string | undefined;
headline?: string | undefined;
dateCreated: IsoDateTimeString;
dateModified?: IsoDateTimeString | undefined;
datePublished?: IsoDateTimeString | undefined;
isPartOf?: string | undefined;
keywords?: string[] | undefined;
position?: number | undefined;
applicationCategory?: string | undefined;
applicationSubCategory?: string | undefined;
downloadUrl?: string | undefined;
featureList?: string[] | undefined;
installUrl?: string | undefined;
releaseNotes?: string[] | undefined;
screenshot?: ImageFieldData | undefined;
aggregateRating?: AggregateRating | undefined;
offers?: Offer[] | undefined;
/** MDX file body */
body: MDX
body: MDX;
};

export type WebPageElement = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import type { Thing, WithContext } from 'schema-dts';

import type { Content, ContentlayerProduct, ContentlayerSoftwareApplication } from '../../../types/index.js';
import type {
Content,
ContentlayerProduct,
ContentlayerSoftwareApplication,
} from '../../../types/index.js';
import { getArticle } from './article.js';
import { getPlace } from './place.js';
import { getProduct } from './product.js';
Expand All @@ -23,7 +27,9 @@ export const getStructuredDataSchemas = (document: Content) => {

case 'SoftwareApplication':
schemas = schemas.concat(
getSoftwareApplication(document as unknown as ContentlayerSoftwareApplication)
getSoftwareApplication(
document as unknown as ContentlayerSoftwareApplication
)
);
break;

Expand Down

0 comments on commit a7bdd5e

Please sign in to comment.