@pixelated-tech/components 3.13.14 → 3.13.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/components/general/schema.functions.js +114 -0
  2. package/dist/components/general/schema.js +662 -0
  3. package/dist/components/general/sitemap.js +74 -31
  4. package/dist/components/general/utilities.js +38 -0
  5. package/dist/components/integrations/spotify.components.js +43 -0
  6. package/dist/components/integrations/spotify.functions.js +111 -0
  7. package/dist/components/integrations/wordpress.components.js +2 -2
  8. package/dist/config/pixelated.config.json.enc +1 -1
  9. package/dist/index.js +7 -13
  10. package/dist/index.server.js +3 -1
  11. package/dist/scripts/release.sh +9 -15
  12. package/dist/scripts/update.sh +45 -8
  13. package/dist/types/components/general/schema.d.ts +266 -0
  14. package/dist/types/components/general/schema.d.ts.map +1 -0
  15. package/dist/types/components/general/schema.functions.d.ts +77 -0
  16. package/dist/types/components/general/schema.functions.d.ts.map +1 -0
  17. package/dist/types/components/general/sitemap.d.ts +4 -4
  18. package/dist/types/components/general/sitemap.d.ts.map +1 -1
  19. package/dist/types/components/general/utilities.d.ts +2 -0
  20. package/dist/types/components/general/utilities.d.ts.map +1 -1
  21. package/dist/types/components/integrations/spotify.components.d.ts +27 -0
  22. package/dist/types/components/integrations/spotify.components.d.ts.map +1 -0
  23. package/dist/types/components/integrations/spotify.functions.d.ts +57 -0
  24. package/dist/types/components/integrations/spotify.functions.d.ts.map +1 -0
  25. package/dist/types/index.d.ts +7 -13
  26. package/dist/types/index.server.d.ts +3 -1
  27. package/dist/types/stories/general/schema.stories.d.ts +1 -1
  28. package/dist/types/stories/general/schema.stories.d.ts.map +1 -1
  29. package/dist/types/stories/integrations/loremipsum.stories.d.ts +1 -1
  30. package/dist/types/stories/integrations/schema-podcast.stories.d.ts +45 -0
  31. package/dist/types/stories/integrations/schema-podcast.stories.d.ts.map +1 -0
  32. package/dist/types/stories/integrations/spotify.stories.d.ts +19 -0
  33. package/dist/types/stories/integrations/spotify.stories.d.ts.map +1 -0
  34. package/dist/types/tests/schema-podcast.test.d.ts +2 -0
  35. package/dist/types/tests/schema-podcast.test.d.ts.map +1 -0
  36. package/dist/types/tests/spotify.test.d.ts +2 -0
  37. package/dist/types/tests/spotify.test.d.ts.map +1 -0
  38. package/package.json +46 -42
  39. package/dist/components/general/schema-blogposting.functions.js +0 -44
  40. package/dist/components/general/schema-blogposting.js +0 -18
  41. package/dist/components/general/schema-breadcrumb.js +0 -78
  42. package/dist/components/general/schema-faq.js +0 -38
  43. package/dist/components/general/schema-localbusiness.js +0 -125
  44. package/dist/components/general/schema-product.js +0 -51
  45. package/dist/components/general/schema-recipe.js +0 -58
  46. package/dist/components/general/schema-review.js +0 -47
  47. package/dist/components/general/schema-services.js +0 -79
  48. package/dist/components/general/schema-website.js +0 -148
  49. package/dist/types/components/general/schema-blogposting.d.ts +0 -10
  50. package/dist/types/components/general/schema-blogposting.d.ts.map +0 -1
  51. package/dist/types/components/general/schema-blogposting.functions.d.ts +0 -27
  52. package/dist/types/components/general/schema-blogposting.functions.d.ts.map +0 -1
  53. package/dist/types/components/general/schema-breadcrumb.d.ts +0 -14
  54. package/dist/types/components/general/schema-breadcrumb.d.ts.map +0 -1
  55. package/dist/types/components/general/schema-faq.d.ts +0 -10
  56. package/dist/types/components/general/schema-faq.d.ts.map +0 -1
  57. package/dist/types/components/general/schema-localbusiness.d.ts +0 -53
  58. package/dist/types/components/general/schema-localbusiness.d.ts.map +0 -1
  59. package/dist/types/components/general/schema-product.d.ts +0 -38
  60. package/dist/types/components/general/schema-product.d.ts.map +0 -1
  61. package/dist/types/components/general/schema-recipe.d.ts +0 -33
  62. package/dist/types/components/general/schema-recipe.d.ts.map +0 -1
  63. package/dist/types/components/general/schema-review.d.ts +0 -34
  64. package/dist/types/components/general/schema-review.d.ts.map +0 -1
  65. package/dist/types/components/general/schema-services.d.ts +0 -36
  66. package/dist/types/components/general/schema-services.d.ts.map +0 -1
  67. package/dist/types/components/general/schema-website.d.ts +0 -40
  68. package/dist/types/components/general/schema-website.d.ts.map +0 -1
@@ -1,79 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
3
- import PropTypes from 'prop-types';
4
- /**
5
- * Services Schema Component
6
- * Generates JSON-LD structured data for services
7
- * https://schema.org/Service
8
- */
9
- /**
10
- * ServicesSchema — Inject JSON-LD <script> tags for each service offered by the business, using schema.org/Service format.
11
- *
12
- * @param {object} [props.siteInfo] - Optional site information object containing business details and services array.
13
- * @param {object} [props.provider] - Optional provider information object to override siteInfo for the service provider.
14
- * @param {array} [props.services] - Optional array of service objects to override siteInfo.services.
15
- */
16
- ServicesSchema.propTypes = {
17
- siteInfo: PropTypes.shape({
18
- name: PropTypes.string,
19
- url: PropTypes.string,
20
- image: PropTypes.string,
21
- telephone: PropTypes.string,
22
- email: PropTypes.string,
23
- services: PropTypes.arrayOf(PropTypes.shape({
24
- name: PropTypes.string.isRequired,
25
- description: PropTypes.string.isRequired,
26
- url: PropTypes.string,
27
- image: PropTypes.string,
28
- areaServed: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]),
29
- }))
30
- }),
31
- provider: PropTypes.shape({
32
- name: PropTypes.string.isRequired,
33
- url: PropTypes.string.isRequired,
34
- logo: PropTypes.string,
35
- telephone: PropTypes.string,
36
- email: PropTypes.string,
37
- }),
38
- services: PropTypes.arrayOf(PropTypes.shape({
39
- name: PropTypes.string.isRequired,
40
- description: PropTypes.string.isRequired,
41
- url: PropTypes.string,
42
- image: PropTypes.string,
43
- areaServed: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]),
44
- })),
45
- };
46
- export function ServicesSchema(props) {
47
- const siteInfo = props.siteInfo;
48
- const services = (siteInfo?.services || props.services || []);
49
- const provider = props.provider || {
50
- name: siteInfo?.name || '',
51
- url: siteInfo?.url || '',
52
- logo: siteInfo?.image,
53
- telephone: siteInfo?.telephone,
54
- email: siteInfo?.email
55
- };
56
- if (!services.length || !provider.name) {
57
- return null;
58
- }
59
- const serviceObjects = services.filter((service) => service != null).map((service) => ({
60
- '@type': 'Service',
61
- name: service.name,
62
- description: service.description,
63
- ...(service.url && { url: service.url }),
64
- ...(service.image && { image: service.image }),
65
- ...(service.areaServed && { areaServed: service.areaServed }),
66
- provider: {
67
- '@type': 'LocalBusiness',
68
- name: provider.name,
69
- url: provider.url,
70
- ...(provider.logo && { logo: provider.logo }),
71
- ...(provider.telephone && { telephone: provider.telephone }),
72
- ...(provider.email && { email: provider.email })
73
- }
74
- }));
75
- return (_jsx(_Fragment, { children: serviceObjects.map((service, idx) => (_jsx("script", { type: "application/ld+json", dangerouslySetInnerHTML: { __html: JSON.stringify({
76
- '@context': 'https://schema.org',
77
- ...service
78
- }) } }, idx))) }));
79
- }
@@ -1,148 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import PropTypes from "prop-types";
4
- /**
5
- * Website Schema Component
6
- * Generates JSON-LD structured data for websites
7
- * https://schema.org/WebSite
8
- */
9
- /**
10
- * WebsiteSchema — Inject a JSON-LD <script> tag containing a WebSite schema object, using provided props or siteInfo from config.
11
- *
12
- * @param {object} [props.siteInfo] - Optional site information object containing business details to populate the schema.
13
- * @param {string} [props.name] - Name of the website (overrides siteInfo.name).
14
- * @param {string} [props.url] - URL of the website (overrides siteInfo.url).
15
- * @param {string} [props.description] - Description of the website (overrides siteInfo.description).
16
- * @param {string} [props.keywords] - Comma-separated keywords for the website (overrides siteInfo.keywords).
17
- * @param {string} [props.inLanguage] - Language of the website content (overrides siteInfo.default_locale).
18
- * @param {array} [props.sameAs] - Array of URLs representing social profiles or related sites (overrides siteInfo.sameAs).
19
- * @param {object} [props.potentialAction] - Object defining a potentialAction for the website, such as a SearchAction (overrides siteInfo.potentialAction).
20
- * @param {object} [props.publisher] - Object defining the publisher of the website, including name, url, and logo (overrides siteInfo).
21
- * @param {number} [props.copyrightYear] - Year of copyright for the website (overrides siteInfo.copyrightYear).
22
- * @param {object} [props.copyrightHolder] - Object defining the copyright holder, including name and url (overrides siteInfo).
23
- */
24
- WebsiteSchema.propTypes = {
25
- name: PropTypes.string,
26
- url: PropTypes.string,
27
- description: PropTypes.string,
28
- keywords: PropTypes.string,
29
- inLanguage: PropTypes.string,
30
- sameAs: PropTypes.arrayOf(PropTypes.string),
31
- potentialAction: PropTypes.shape({
32
- '@type': PropTypes.string,
33
- target: PropTypes.shape({
34
- '@type': PropTypes.string,
35
- urlTemplate: PropTypes.string
36
- }).isRequired,
37
- 'query-input': PropTypes.string
38
- }),
39
- publisher: PropTypes.shape({
40
- '@type': PropTypes.string,
41
- name: PropTypes.string.isRequired,
42
- url: PropTypes.string,
43
- logo: PropTypes.shape({
44
- '@type': PropTypes.string,
45
- url: PropTypes.string.isRequired,
46
- width: PropTypes.number,
47
- height: PropTypes.number
48
- })
49
- }),
50
- copyrightYear: PropTypes.number,
51
- copyrightHolder: PropTypes.shape({
52
- '@type': PropTypes.string,
53
- name: PropTypes.string.isRequired,
54
- url: PropTypes.string
55
- }),
56
- siteInfo: PropTypes.object
57
- };
58
- export function WebsiteSchema(props) {
59
- const siteInfo = props.siteInfo;
60
- const name = props.name || siteInfo?.name;
61
- const url = props.url || siteInfo?.url;
62
- if (!name || !url) {
63
- return null;
64
- }
65
- const description = props.description || siteInfo?.description;
66
- const keywords = props.keywords || siteInfo?.keywords;
67
- const inLanguage = props.inLanguage || siteInfo?.default_locale;
68
- const sameAs = props.sameAs || siteInfo?.sameAs;
69
- const publisher = props.publisher || buildPublisher(siteInfo);
70
- const potentialAction = props.potentialAction || buildPotentialAction(siteInfo?.potentialAction);
71
- const copyrightYear = props.copyrightYear ?? siteInfo?.copyrightYear;
72
- const copyrightHolder = props.copyrightHolder || buildCopyrightHolder(siteInfo);
73
- const schemaData = {
74
- '@context': 'https://schema.org',
75
- '@type': 'WebSite',
76
- name,
77
- url,
78
- ...(description && { description }),
79
- ...(keywords && { keywords }),
80
- ...(inLanguage && { inLanguage }),
81
- ...(sameAs && sameAs.length ? { sameAs } : {}),
82
- ...(publisher && { publisher }),
83
- ...(potentialAction && { potentialAction }),
84
- ...(copyrightYear != null && { copyrightYear }),
85
- ...(copyrightHolder && { copyrightHolder })
86
- };
87
- return (_jsx("script", { type: "application/ld+json", dangerouslySetInnerHTML: { __html: JSON.stringify(schemaData) } }));
88
- }
89
- function buildPublisher(siteInfo) {
90
- if (!siteInfo) {
91
- return undefined;
92
- }
93
- if (!siteInfo.name) {
94
- return undefined;
95
- }
96
- const logoUrl = siteInfo.image;
97
- const logoWidth = parseDimension(siteInfo.image_width);
98
- const logoHeight = parseDimension(siteInfo.image_height);
99
- const logo = logoUrl
100
- ? {
101
- '@type': 'ImageObject',
102
- url: logoUrl,
103
- ...(logoWidth !== undefined && { width: logoWidth }),
104
- ...(logoHeight !== undefined && { height: logoHeight })
105
- }
106
- : undefined;
107
- return {
108
- '@type': siteInfo.publisherType || 'Organization',
109
- name: siteInfo.name,
110
- ...(siteInfo.url && { url: siteInfo.url }),
111
- ...(logo && { logo })
112
- };
113
- }
114
- function buildCopyrightHolder(siteInfo) {
115
- if (!siteInfo?.name) {
116
- return undefined;
117
- }
118
- const holderType = siteInfo.publisherType || 'Organization';
119
- return {
120
- '@type': holderType,
121
- name: siteInfo.name,
122
- ...(siteInfo.url && { url: siteInfo.url })
123
- };
124
- }
125
- function buildPotentialAction(action) {
126
- if (!action || !action.target) {
127
- return undefined;
128
- }
129
- const queryInput = action['query-input'] ?? action.queryInput;
130
- return {
131
- '@type': action['@type'] ?? 'SearchAction',
132
- target: {
133
- '@type': 'EntryPoint',
134
- urlTemplate: action.target
135
- },
136
- ...(queryInput && { 'query-input': queryInput })
137
- };
138
- }
139
- function parseDimension(value) {
140
- if (typeof value === 'number') {
141
- return value;
142
- }
143
- if (!value) {
144
- return undefined;
145
- }
146
- const parsed = Number(value);
147
- return Number.isNaN(parsed) ? undefined : parsed;
148
- }
@@ -1,10 +0,0 @@
1
- import PropTypes, { InferProps } from 'prop-types';
2
- export type SchemaBlogPostingType = InferProps<typeof SchemaBlogPosting.propTypes>;
3
- export declare function SchemaBlogPosting(props: SchemaBlogPostingType): import("react/jsx-runtime").JSX.Element;
4
- export declare namespace SchemaBlogPosting {
5
- var propTypes: {
6
- /** Structured BlogPosting JSON-LD object */
7
- post: PropTypes.Validator<object>;
8
- };
9
- }
10
- //# sourceMappingURL=schema-blogposting.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-blogposting.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-blogposting.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAWnD,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,2CAU7D;yBAVe,iBAAiB;;QAJjC,4CAA4C"}
@@ -1,27 +0,0 @@
1
- import type { BlogPostType } from '../integrations/wordpress.functions';
2
- export interface BlogPostingSchema {
3
- '@context': string;
4
- '@type': string;
5
- url: string;
6
- headline: string;
7
- description?: string;
8
- image?: string;
9
- datePublished: string;
10
- dateModified?: string;
11
- author?: {
12
- '@type': string;
13
- name: string;
14
- url?: string;
15
- };
16
- articleBody?: string;
17
- articleSection?: string;
18
- keywords?: string[];
19
- wordCount?: number;
20
- }
21
- /**
22
- * Converts WordPress REST API blog post to schema.org BlogPosting format
23
- * @param post WordPress blog post
24
- * @param includeFullContent Whether to include articleBody (true) or just description (false)
25
- */
26
- export declare function mapWordPressToBlogPosting(post: BlogPostType, includeFullContent?: boolean): BlogPostingSchema;
27
- //# sourceMappingURL=schema-blogposting.functions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-blogposting.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-blogposting.functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGxE,MAAM,WAAW,iBAAiB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;KACb,CAAC;IACF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CACxC,IAAI,EAAE,YAAY,EAClB,kBAAkB,GAAE,OAAe,GACjC,iBAAiB,CA2CnB"}
@@ -1,14 +0,0 @@
1
- import PropTypes, { InferProps } from 'prop-types';
2
- export type BreadcrumbListSchemaType = InferProps<typeof BreadcrumbListSchema.propTypes>;
3
- export declare function BreadcrumbListSchema({ routes, currentPath, siteUrl, }: BreadcrumbListSchemaType): import("react/jsx-runtime").JSX.Element;
4
- export declare namespace BreadcrumbListSchema {
5
- var propTypes: {
6
- /** Routes array from routes.json. Accepts routes with any properties; only uses name and path. */
7
- routes: PropTypes.Validator<(object | null | undefined)[]>;
8
- /** Current page path to generate breadcrumbs for (e.g. "/store/item-slug"). Defaults to "/". */
9
- currentPath: PropTypes.Requireable<string>;
10
- /** Site domain URL for constructing full breadcrumb URLs. Defaults to https://example.com. */
11
- siteUrl: PropTypes.Requireable<string>;
12
- };
13
- }
14
- //# sourceMappingURL=schema-breadcrumb.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-breadcrumb.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-breadcrumb.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAuEnD,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAAC;AACzF,wBAAgB,oBAAoB,CAAC,EACpC,MAAM,EACN,WAAiB,EACjB,OAA+B,GAC/B,EAAE,wBAAwB,2CAkC1B;yBAtCe,oBAAoB;;QARnC,kGAAkG;;QAElG,gGAAgG;;QAEhG,8FAA8F"}
@@ -1,10 +0,0 @@
1
- import PropTypes, { InferProps } from 'prop-types';
2
- export type SchemaFAQType = InferProps<typeof SchemaFAQ.propTypes>;
3
- export declare function SchemaFAQ({ faqsData }: SchemaFAQType): import("react/jsx-runtime").JSX.Element;
4
- export declare namespace SchemaFAQ {
5
- var propTypes: {
6
- /** Structured FAQPage JSON-LD object */
7
- faqsData: PropTypes.Validator<object>;
8
- };
9
- }
10
- //# sourceMappingURL=schema-faq.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-faq.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-faq.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAmCnD,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,aAAa,2CAUpD;yBAVe,SAAS;;QAJxB,wCAAwC"}
@@ -1,53 +0,0 @@
1
- import PropTypes, { InferProps } from "prop-types";
2
- export type LocalBusinessSchemaType = InferProps<typeof LocalBusinessSchema.propTypes>;
3
- export declare function LocalBusinessSchema(props: LocalBusinessSchemaType): import("react/jsx-runtime").JSX.Element;
4
- export declare namespace LocalBusinessSchema {
5
- var propTypes: {
6
- /** Business name to include in schema (falls back to siteInfo.name). */
7
- name: PropTypes.Requireable<string>;
8
- /** Address object for the business */
9
- address: PropTypes.Requireable<PropTypes.InferProps<{
10
- /** Street address for the business. */
11
- streetAddress: PropTypes.Requireable<string>;
12
- /** City or locality for the business address. */
13
- addressLocality: PropTypes.Requireable<string>;
14
- /** State/region for the business address. */
15
- addressRegion: PropTypes.Requireable<string>;
16
- /** Postal or ZIP code for the address. */
17
- postalCode: PropTypes.Requireable<string>;
18
- /** Country for the address (defaults to United States when absent). */
19
- addressCountry: PropTypes.Requireable<string>;
20
- }>>;
21
- /** Street address for the business. */
22
- streetAddress: PropTypes.Requireable<string>;
23
- /** City or locality for the business address. */
24
- addressLocality: PropTypes.Requireable<string>;
25
- /** State/region for the business address. */
26
- addressRegion: PropTypes.Requireable<string>;
27
- /** Postal or ZIP code for the address. */
28
- postalCode: PropTypes.Requireable<string>;
29
- /** Country for the address (defaults to United States when absent). */
30
- addressCountry: PropTypes.Requireable<string>;
31
- /** Contact telephone number. */
32
- telephone: PropTypes.Requireable<string>;
33
- /** Canonical website URL. */
34
- url: PropTypes.Requireable<string>;
35
- /** Logo image URL for schema/logo property. */
36
- logo: PropTypes.Requireable<string>;
37
- /** Representative image URL. */
38
- image: PropTypes.Requireable<string>;
39
- /** Opening hours as a string or array in schema.org format (e.g., "Mo-Fr 09:00-17:00"). */
40
- openingHours: PropTypes.Requireable<NonNullable<string | (string | null | undefined)[] | null | undefined>>;
41
- /** Short description for schema. */
42
- description: PropTypes.Requireable<string>;
43
- /** Contact email address. */
44
- email: PropTypes.Requireable<string>;
45
- /** Price range string (e.g. '$$'). */
46
- priceRange: PropTypes.Requireable<string>;
47
- /** Array of profile/URL strings for sameAs (social links). */
48
- sameAs: PropTypes.Requireable<(string | null | undefined)[]>;
49
- /** Site-level fallback information object (used when props omitted). */
50
- siteInfo: PropTypes.Requireable<object>;
51
- };
52
- }
53
- //# sourceMappingURL=schema-localbusiness.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-localbusiness.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-localbusiness.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAmFnD,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;AACvF,wBAAgB,mBAAmB,CAAE,KAAK,EAAE,uBAAuB,2CAoDlE;yBApDe,mBAAmB;;QA/CnC,wEAAwE;;QAEvE,sCAAsC;;YAErC,uCAAuC;;YAEvC,iDAAiD;;YAEjD,6CAA6C;;YAE7C,0CAA0C;;YAE1C,uEAAuE;;;QAGxE,uCAAuC;;QAEvC,iDAAiD;;QAEjD,6CAA6C;;QAE7C,0CAA0C;;QAE1C,uEAAuE;;QAEvE,gCAAgC;;QAEhC,6BAA6B;;QAE7B,+CAA+C;;QAE/C,gCAAgC;;QAEhC,2FAA2F;;QAE3F,oCAAoC;;QAEpC,6BAA6B;;QAE7B,sCAAsC;;QAEtC,8DAA8D;;QAE9D,wEAAwE"}
@@ -1,38 +0,0 @@
1
- import PropTypes, { InferProps } from 'prop-types';
2
- export type ProductSchemaType = InferProps<typeof ProductSchema.propTypes>;
3
- export declare function ProductSchema(props: ProductSchemaType): import("react/jsx-runtime").JSX.Element;
4
- export declare namespace ProductSchema {
5
- var propTypes: {
6
- /** Product information object to be serialized as JSON-LD. */
7
- product: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
8
- '@context': PropTypes.Validator<string>;
9
- '@type': PropTypes.Validator<string>;
10
- name: PropTypes.Validator<string>;
11
- description: PropTypes.Requireable<string>;
12
- image: PropTypes.Requireable<NonNullable<string | (string | null | undefined)[] | null | undefined>>;
13
- brand: PropTypes.Requireable<PropTypes.InferProps<{
14
- '@type': PropTypes.Validator<string>;
15
- name: PropTypes.Validator<string>;
16
- }>>;
17
- offers: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
18
- '@type': PropTypes.Validator<string>;
19
- url: PropTypes.Requireable<string>;
20
- priceCurrency: PropTypes.Requireable<string>;
21
- price: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
22
- availability: PropTypes.Requireable<string>;
23
- }> | (PropTypes.InferProps<{
24
- '@type': PropTypes.Validator<string>;
25
- url: PropTypes.Requireable<string>;
26
- priceCurrency: PropTypes.Requireable<string>;
27
- price: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
28
- availability: PropTypes.Requireable<string>;
29
- }> | null | undefined)[] | null | undefined>>;
30
- aggregateRating: PropTypes.Requireable<PropTypes.InferProps<{
31
- '@type': PropTypes.Requireable<string>;
32
- ratingValue: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
33
- reviewCount: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
34
- }>>;
35
- }>>>;
36
- };
37
- }
38
- //# sourceMappingURL=schema-product.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-product.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-product.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAgDnD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CAQrD;yBARe,aAAa;;QArC5B,8DAA8D"}
@@ -1,33 +0,0 @@
1
- import PropTypes, { InferProps } from 'prop-types';
2
- export type RecipeSchemaType = InferProps<typeof RecipeSchema.propTypes>;
3
- export declare function RecipeSchema(props: RecipeSchemaType): import("react/jsx-runtime").JSX.Element;
4
- export declare namespace RecipeSchema {
5
- var propTypes: {
6
- /** Recipe information object to be serialized as JSON-LD. */
7
- recipe: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
8
- '@context': PropTypes.Validator<string>;
9
- '@type': PropTypes.Validator<string>;
10
- name: PropTypes.Validator<string>;
11
- description: PropTypes.Requireable<string>;
12
- author: PropTypes.Requireable<PropTypes.InferProps<{
13
- '@type': PropTypes.Validator<string>;
14
- name: PropTypes.Validator<string>;
15
- }>>;
16
- datePublished: PropTypes.Requireable<string>;
17
- image: PropTypes.Requireable<string>;
18
- recipeYield: PropTypes.Requireable<string>;
19
- prepTime: PropTypes.Requireable<string>;
20
- cookTime: PropTypes.Requireable<string>;
21
- totalTime: PropTypes.Requireable<string>;
22
- recipeCategory: PropTypes.Requireable<string>;
23
- recipeCuisine: PropTypes.Requireable<string>;
24
- recipeIngredient: PropTypes.Requireable<(string | null | undefined)[]>;
25
- recipeInstructions: PropTypes.Requireable<(PropTypes.InferProps<{
26
- '@type': PropTypes.Validator<string>;
27
- text: PropTypes.Validator<string>;
28
- }> | null | undefined)[]>;
29
- license: PropTypes.Requireable<string>;
30
- }>>>;
31
- };
32
- }
33
- //# sourceMappingURL=schema-recipe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-recipe.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-recipe.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAsDnD,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAQnD;yBARe,YAAY;;QA3B5B,6DAA6D"}
@@ -1,34 +0,0 @@
1
- import PropTypes, { InferProps } from 'prop-types';
2
- export type ReviewSchemaType = InferProps<typeof ReviewSchema.propTypes>;
3
- export declare function ReviewSchema(props: ReviewSchemaType): import("react/jsx-runtime").JSX.Element;
4
- export declare namespace ReviewSchema {
5
- var propTypes: {
6
- /** Review information object to be serialized as JSON-LD. */
7
- review: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
8
- '@context': PropTypes.Validator<string>;
9
- '@type': PropTypes.Validator<string>;
10
- name: PropTypes.Validator<string>;
11
- reviewBody: PropTypes.Requireable<string>;
12
- datePublished: PropTypes.Requireable<string>;
13
- author: PropTypes.Requireable<PropTypes.InferProps<{
14
- '@type': PropTypes.Validator<string>;
15
- name: PropTypes.Validator<string>;
16
- }>>;
17
- itemReviewed: PropTypes.Requireable<PropTypes.InferProps<{
18
- '@type': PropTypes.Validator<string>;
19
- name: PropTypes.Requireable<string>;
20
- }>>;
21
- reviewRating: PropTypes.Requireable<PropTypes.InferProps<{
22
- '@type': PropTypes.Validator<string>;
23
- ratingValue: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
24
- bestRating: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
25
- worstRating: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
26
- }>>;
27
- publisher: PropTypes.Requireable<PropTypes.InferProps<{
28
- '@type': PropTypes.Validator<string>;
29
- name: PropTypes.Requireable<string>;
30
- }>>;
31
- }>>>;
32
- };
33
- }
34
- //# sourceMappingURL=schema-review.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-review.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-review.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AA0CnD,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAQnD;yBARe,YAAY;;QA5B3B,6DAA6D"}
@@ -1,36 +0,0 @@
1
- import PropTypes, { InferProps } from 'prop-types';
2
- export type ServicesSchemaType = InferProps<typeof ServicesSchema.propTypes>;
3
- export declare function ServicesSchema(props: ServicesSchemaType): import("react/jsx-runtime").JSX.Element | null;
4
- export declare namespace ServicesSchema {
5
- var propTypes: {
6
- siteInfo: PropTypes.Requireable<PropTypes.InferProps<{
7
- name: PropTypes.Requireable<string>;
8
- url: PropTypes.Requireable<string>;
9
- image: PropTypes.Requireable<string>;
10
- telephone: PropTypes.Requireable<string>;
11
- email: PropTypes.Requireable<string>;
12
- services: PropTypes.Requireable<(PropTypes.InferProps<{
13
- name: PropTypes.Validator<string>;
14
- description: PropTypes.Validator<string>;
15
- url: PropTypes.Requireable<string>;
16
- image: PropTypes.Requireable<string>;
17
- areaServed: PropTypes.Requireable<NonNullable<string | (string | null | undefined)[] | null | undefined>>;
18
- }> | null | undefined)[]>;
19
- }>>;
20
- provider: PropTypes.Requireable<PropTypes.InferProps<{
21
- name: PropTypes.Validator<string>;
22
- url: PropTypes.Validator<string>;
23
- logo: PropTypes.Requireable<string>;
24
- telephone: PropTypes.Requireable<string>;
25
- email: PropTypes.Requireable<string>;
26
- }>>;
27
- services: PropTypes.Requireable<(PropTypes.InferProps<{
28
- name: PropTypes.Validator<string>;
29
- description: PropTypes.Validator<string>;
30
- url: PropTypes.Requireable<string>;
31
- image: PropTypes.Requireable<string>;
32
- areaServed: PropTypes.Requireable<NonNullable<string | (string | null | undefined)[] | null | undefined>>;
33
- }> | null | undefined)[]>;
34
- };
35
- }
36
- //# sourceMappingURL=schema-services.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-services.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-services.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AA8CnD,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,kDA8CvD;yBA9Ce,cAAc"}
@@ -1,40 +0,0 @@
1
- import PropTypes, { InferProps } from "prop-types";
2
- export type WebsiteSchemaType = InferProps<typeof WebsiteSchema.propTypes>;
3
- export declare function WebsiteSchema(props: WebsiteSchemaType): import("react/jsx-runtime").JSX.Element | null;
4
- export declare namespace WebsiteSchema {
5
- var propTypes: {
6
- name: PropTypes.Requireable<string>;
7
- url: PropTypes.Requireable<string>;
8
- description: PropTypes.Requireable<string>;
9
- keywords: PropTypes.Requireable<string>;
10
- inLanguage: PropTypes.Requireable<string>;
11
- sameAs: PropTypes.Requireable<(string | null | undefined)[]>;
12
- potentialAction: PropTypes.Requireable<PropTypes.InferProps<{
13
- '@type': PropTypes.Requireable<string>;
14
- target: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
15
- '@type': PropTypes.Requireable<string>;
16
- urlTemplate: PropTypes.Requireable<string>;
17
- }>>>;
18
- 'query-input': PropTypes.Requireable<string>;
19
- }>>;
20
- publisher: PropTypes.Requireable<PropTypes.InferProps<{
21
- '@type': PropTypes.Requireable<string>;
22
- name: PropTypes.Validator<string>;
23
- url: PropTypes.Requireable<string>;
24
- logo: PropTypes.Requireable<PropTypes.InferProps<{
25
- '@type': PropTypes.Requireable<string>;
26
- url: PropTypes.Validator<string>;
27
- width: PropTypes.Requireable<number>;
28
- height: PropTypes.Requireable<number>;
29
- }>>;
30
- }>>;
31
- copyrightYear: PropTypes.Requireable<number>;
32
- copyrightHolder: PropTypes.Requireable<PropTypes.InferProps<{
33
- '@type': PropTypes.Requireable<string>;
34
- name: PropTypes.Validator<string>;
35
- url: PropTypes.Requireable<string>;
36
- }>>;
37
- siteInfo: PropTypes.Requireable<object>;
38
- };
39
- }
40
- //# sourceMappingURL=schema-website.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-website.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema-website.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AA0DnD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAE,KAAK,EAAE,iBAAiB,kDAsCtD;yBAtCe,aAAa"}