videoGame.d.ts 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. /// <reference types="react" />
  2. import type { Offers, AggregateRating, GamePlayMode, Video, Review, ApplicationCategory } from 'src/types';
  3. import { JsonLdProps } from './jsonld';
  4. export interface VideoGameJsonLdProps extends JsonLdProps {
  5. keyOverride?: string;
  6. name: string;
  7. url?: string;
  8. image?: string;
  9. description?: string;
  10. languageName?: string | string[];
  11. translatorName?: string | string[];
  12. authorName?: string;
  13. aggregateRating?: AggregateRating;
  14. applicationCategory?: ApplicationCategory;
  15. platformName?: string | string[];
  16. operatingSystemName?: string | string[];
  17. datePublished?: string;
  18. keywords?: string;
  19. producerName?: string;
  20. producerUrl?: string;
  21. providerName?: string;
  22. providerUrl?: string;
  23. publisherName?: string | string[];
  24. offers?: Offers | Offers[];
  25. genreName?: string | string[];
  26. playMode?: GamePlayMode | GamePlayMode[];
  27. processorRequirements?: string;
  28. memoryRequirements?: string;
  29. storageRequirements?: string;
  30. trailer?: Video;
  31. reviews?: Review[];
  32. }
  33. declare function VideoGameJsonLd({ type, keyOverride, aggregateRating, trailer, reviews, image, authorName, provider, producerName, producerUrl, offers, operatingSystemName, platformName, translatorName, languageName, genreName, publisherName, ...rest }: VideoGameJsonLdProps): JSX.Element;
  34. export default VideoGameJsonLd;