@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.
- package/dist/components/general/schema.functions.js +114 -0
- package/dist/components/general/schema.js +662 -0
- package/dist/components/general/sitemap.js +74 -31
- package/dist/components/general/utilities.js +38 -0
- package/dist/components/integrations/spotify.components.js +43 -0
- package/dist/components/integrations/spotify.functions.js +111 -0
- package/dist/components/integrations/wordpress.components.js +2 -2
- package/dist/config/pixelated.config.json.enc +1 -1
- package/dist/index.js +7 -13
- package/dist/index.server.js +3 -1
- package/dist/scripts/release.sh +9 -15
- package/dist/scripts/update.sh +45 -8
- package/dist/types/components/general/schema.d.ts +266 -0
- package/dist/types/components/general/schema.d.ts.map +1 -0
- package/dist/types/components/general/schema.functions.d.ts +77 -0
- package/dist/types/components/general/schema.functions.d.ts.map +1 -0
- package/dist/types/components/general/sitemap.d.ts +4 -4
- package/dist/types/components/general/sitemap.d.ts.map +1 -1
- package/dist/types/components/general/utilities.d.ts +2 -0
- package/dist/types/components/general/utilities.d.ts.map +1 -1
- package/dist/types/components/integrations/spotify.components.d.ts +27 -0
- package/dist/types/components/integrations/spotify.components.d.ts.map +1 -0
- package/dist/types/components/integrations/spotify.functions.d.ts +57 -0
- package/dist/types/components/integrations/spotify.functions.d.ts.map +1 -0
- package/dist/types/index.d.ts +7 -13
- package/dist/types/index.server.d.ts +3 -1
- package/dist/types/stories/general/schema.stories.d.ts +1 -1
- package/dist/types/stories/general/schema.stories.d.ts.map +1 -1
- package/dist/types/stories/integrations/loremipsum.stories.d.ts +1 -1
- package/dist/types/stories/integrations/schema-podcast.stories.d.ts +45 -0
- package/dist/types/stories/integrations/schema-podcast.stories.d.ts.map +1 -0
- package/dist/types/stories/integrations/spotify.stories.d.ts +19 -0
- package/dist/types/stories/integrations/spotify.stories.d.ts.map +1 -0
- package/dist/types/tests/schema-podcast.test.d.ts +2 -0
- package/dist/types/tests/schema-podcast.test.d.ts.map +1 -0
- package/dist/types/tests/spotify.test.d.ts +2 -0
- package/dist/types/tests/spotify.test.d.ts.map +1 -0
- package/package.json +46 -42
- package/dist/components/general/schema-blogposting.functions.js +0 -44
- package/dist/components/general/schema-blogposting.js +0 -18
- package/dist/components/general/schema-breadcrumb.js +0 -78
- package/dist/components/general/schema-faq.js +0 -38
- package/dist/components/general/schema-localbusiness.js +0 -125
- package/dist/components/general/schema-product.js +0 -51
- package/dist/components/general/schema-recipe.js +0 -58
- package/dist/components/general/schema-review.js +0 -47
- package/dist/components/general/schema-services.js +0 -79
- package/dist/components/general/schema-website.js +0 -148
- package/dist/types/components/general/schema-blogposting.d.ts +0 -10
- package/dist/types/components/general/schema-blogposting.d.ts.map +0 -1
- package/dist/types/components/general/schema-blogposting.functions.d.ts +0 -27
- package/dist/types/components/general/schema-blogposting.functions.d.ts.map +0 -1
- package/dist/types/components/general/schema-breadcrumb.d.ts +0 -14
- package/dist/types/components/general/schema-breadcrumb.d.ts.map +0 -1
- package/dist/types/components/general/schema-faq.d.ts +0 -10
- package/dist/types/components/general/schema-faq.d.ts.map +0 -1
- package/dist/types/components/general/schema-localbusiness.d.ts +0 -53
- package/dist/types/components/general/schema-localbusiness.d.ts.map +0 -1
- package/dist/types/components/general/schema-product.d.ts +0 -38
- package/dist/types/components/general/schema-product.d.ts.map +0 -1
- package/dist/types/components/general/schema-recipe.d.ts +0 -33
- package/dist/types/components/general/schema-recipe.d.ts.map +0 -1
- package/dist/types/components/general/schema-review.d.ts +0 -34
- package/dist/types/components/general/schema-review.d.ts.map +0 -1
- package/dist/types/components/general/schema-services.d.ts +0 -36
- package/dist/types/components/general/schema-services.d.ts.map +0 -1
- package/dist/types/components/general/schema-website.d.ts +0 -40
- package/dist/types/components/general/schema-website.d.ts.map +0 -1
|
@@ -0,0 +1,266 @@
|
|
|
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
|
+
export type BreadcrumbListSchemaType = InferProps<typeof BreadcrumbListSchema.propTypes>;
|
|
11
|
+
export declare function BreadcrumbListSchema({ routes, currentPath, siteUrl, }: BreadcrumbListSchemaType): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare namespace BreadcrumbListSchema {
|
|
13
|
+
var propTypes: {
|
|
14
|
+
/** Routes array from routes.json. Accepts routes with any properties; only uses name and path. */
|
|
15
|
+
routes: PropTypes.Validator<(object | null | undefined)[]>;
|
|
16
|
+
/** Current page path to generate breadcrumbs for (e.g. "/store/item-slug"). Defaults to "/". */
|
|
17
|
+
currentPath: PropTypes.Requireable<string>;
|
|
18
|
+
/** Site domain URL for constructing full breadcrumb URLs. Defaults to https://example.com. */
|
|
19
|
+
siteUrl: PropTypes.Requireable<string>;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export type SchemaFAQType = InferProps<typeof SchemaFAQ.propTypes>;
|
|
23
|
+
export declare function SchemaFAQ({ faqsData }: SchemaFAQType): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare namespace SchemaFAQ {
|
|
25
|
+
var propTypes: {
|
|
26
|
+
/** Structured FAQPage JSON-LD object */
|
|
27
|
+
faqsData: PropTypes.Validator<object>;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export type LocalBusinessSchemaType = InferProps<typeof LocalBusinessSchema.propTypes>;
|
|
31
|
+
export declare function LocalBusinessSchema(props: LocalBusinessSchemaType): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare namespace LocalBusinessSchema {
|
|
33
|
+
var propTypes: {
|
|
34
|
+
/** Business name to include in schema (falls back to siteInfo.name). */
|
|
35
|
+
name: PropTypes.Requireable<string>;
|
|
36
|
+
/** Address object for the business */
|
|
37
|
+
address: PropTypes.Requireable<PropTypes.InferProps<{
|
|
38
|
+
/** Street address for the business. */
|
|
39
|
+
streetAddress: PropTypes.Requireable<string>;
|
|
40
|
+
/** City or locality for the business address. */
|
|
41
|
+
addressLocality: PropTypes.Requireable<string>;
|
|
42
|
+
/** State/region for the business address. */
|
|
43
|
+
addressRegion: PropTypes.Requireable<string>;
|
|
44
|
+
/** Postal or ZIP code for the address. */
|
|
45
|
+
postalCode: PropTypes.Requireable<string>;
|
|
46
|
+
/** Country for the address (defaults to United States when absent). */
|
|
47
|
+
addressCountry: PropTypes.Requireable<string>;
|
|
48
|
+
}>>;
|
|
49
|
+
/** Street address for the business. */
|
|
50
|
+
streetAddress: PropTypes.Requireable<string>;
|
|
51
|
+
/** City or locality for the business address. */
|
|
52
|
+
addressLocality: PropTypes.Requireable<string>;
|
|
53
|
+
/** State/region for the business address. */
|
|
54
|
+
addressRegion: PropTypes.Requireable<string>;
|
|
55
|
+
/** Postal or ZIP code for the address. */
|
|
56
|
+
postalCode: PropTypes.Requireable<string>;
|
|
57
|
+
/** Country for the address (defaults to United States when absent). */
|
|
58
|
+
addressCountry: PropTypes.Requireable<string>;
|
|
59
|
+
/** Contact telephone number. */
|
|
60
|
+
telephone: PropTypes.Requireable<string>;
|
|
61
|
+
/** Canonical website URL. */
|
|
62
|
+
url: PropTypes.Requireable<string>;
|
|
63
|
+
/** Logo image URL for schema/logo property. */
|
|
64
|
+
logo: PropTypes.Requireable<string>;
|
|
65
|
+
/** Representative image URL. */
|
|
66
|
+
image: PropTypes.Requireable<string>;
|
|
67
|
+
/** Opening hours as a string or array in schema.org format (e.g., "Mo-Fr 09:00-17:00"). */
|
|
68
|
+
openingHours: PropTypes.Requireable<NonNullable<string | (string | null | undefined)[] | null | undefined>>;
|
|
69
|
+
/** Short description for schema. */
|
|
70
|
+
description: PropTypes.Requireable<string>;
|
|
71
|
+
/** Contact email address. */
|
|
72
|
+
email: PropTypes.Requireable<string>;
|
|
73
|
+
/** Price range string (e.g. '$$'). */
|
|
74
|
+
priceRange: PropTypes.Requireable<string>;
|
|
75
|
+
/** Array of profile/URL strings for sameAs (social links). */
|
|
76
|
+
sameAs: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
77
|
+
/** Site-level fallback information object (used when props omitted). */
|
|
78
|
+
siteInfo: PropTypes.Requireable<object>;
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
export type SchemaPodcastEpisodeType = InferProps<typeof SchemaPodcastEpisode.propTypes>;
|
|
82
|
+
export declare function SchemaPodcastEpisode(props: SchemaPodcastEpisodeType): import("react/jsx-runtime").JSX.Element;
|
|
83
|
+
export declare namespace SchemaPodcastEpisode {
|
|
84
|
+
var propTypes: {
|
|
85
|
+
episode: PropTypes.Validator<object>;
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
export type SchemaPodcastSeriesType = InferProps<typeof SchemaPodcastSeries.propTypes>;
|
|
89
|
+
export declare function SchemaPodcastSeries(props: SchemaPodcastSeriesType): import("react/jsx-runtime").JSX.Element;
|
|
90
|
+
export declare namespace SchemaPodcastSeries {
|
|
91
|
+
var propTypes: {
|
|
92
|
+
series: PropTypes.Validator<object>;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
export type ProductSchemaType = InferProps<typeof ProductSchema.propTypes>;
|
|
96
|
+
export declare function ProductSchema(props: ProductSchemaType): import("react/jsx-runtime").JSX.Element;
|
|
97
|
+
export declare namespace ProductSchema {
|
|
98
|
+
var propTypes: {
|
|
99
|
+
/** Product information object to be serialized as JSON-LD. */
|
|
100
|
+
product: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
101
|
+
'@context': PropTypes.Validator<string>;
|
|
102
|
+
'@type': PropTypes.Validator<string>;
|
|
103
|
+
name: PropTypes.Validator<string>;
|
|
104
|
+
description: PropTypes.Requireable<string>;
|
|
105
|
+
image: PropTypes.Requireable<NonNullable<string | (string | null | undefined)[] | null | undefined>>;
|
|
106
|
+
brand: PropTypes.Requireable<PropTypes.InferProps<{
|
|
107
|
+
'@type': PropTypes.Validator<string>;
|
|
108
|
+
name: PropTypes.Validator<string>;
|
|
109
|
+
}>>;
|
|
110
|
+
offers: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
111
|
+
'@type': PropTypes.Validator<string>;
|
|
112
|
+
url: PropTypes.Requireable<string>;
|
|
113
|
+
priceCurrency: PropTypes.Requireable<string>;
|
|
114
|
+
price: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
115
|
+
availability: PropTypes.Requireable<string>;
|
|
116
|
+
}> | (PropTypes.InferProps<{
|
|
117
|
+
'@type': PropTypes.Validator<string>;
|
|
118
|
+
url: PropTypes.Requireable<string>;
|
|
119
|
+
priceCurrency: PropTypes.Requireable<string>;
|
|
120
|
+
price: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
121
|
+
availability: PropTypes.Requireable<string>;
|
|
122
|
+
}> | null | undefined)[] | null | undefined>>;
|
|
123
|
+
aggregateRating: PropTypes.Requireable<PropTypes.InferProps<{
|
|
124
|
+
'@type': PropTypes.Requireable<string>;
|
|
125
|
+
ratingValue: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
126
|
+
reviewCount: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
127
|
+
}>>;
|
|
128
|
+
}>>>;
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
export type RecipeSchemaType = InferProps<typeof RecipeSchema.propTypes>;
|
|
132
|
+
export declare function RecipeSchema(props: RecipeSchemaType): import("react/jsx-runtime").JSX.Element;
|
|
133
|
+
export declare namespace RecipeSchema {
|
|
134
|
+
var propTypes: {
|
|
135
|
+
/** Recipe information object to be serialized as JSON-LD. */
|
|
136
|
+
recipe: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
137
|
+
'@context': PropTypes.Validator<string>;
|
|
138
|
+
'@type': PropTypes.Validator<string>;
|
|
139
|
+
name: PropTypes.Validator<string>;
|
|
140
|
+
description: PropTypes.Requireable<string>;
|
|
141
|
+
author: PropTypes.Requireable<PropTypes.InferProps<{
|
|
142
|
+
'@type': PropTypes.Validator<string>;
|
|
143
|
+
name: PropTypes.Validator<string>;
|
|
144
|
+
}>>;
|
|
145
|
+
datePublished: PropTypes.Requireable<string>;
|
|
146
|
+
image: PropTypes.Requireable<string>;
|
|
147
|
+
recipeYield: PropTypes.Requireable<string>;
|
|
148
|
+
prepTime: PropTypes.Requireable<string>;
|
|
149
|
+
cookTime: PropTypes.Requireable<string>;
|
|
150
|
+
totalTime: PropTypes.Requireable<string>;
|
|
151
|
+
recipeCategory: PropTypes.Requireable<string>;
|
|
152
|
+
recipeCuisine: PropTypes.Requireable<string>;
|
|
153
|
+
recipeIngredient: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
154
|
+
recipeInstructions: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
155
|
+
'@type': PropTypes.Validator<string>;
|
|
156
|
+
text: PropTypes.Validator<string>;
|
|
157
|
+
}> | null | undefined)[]>;
|
|
158
|
+
license: PropTypes.Requireable<string>;
|
|
159
|
+
}>>>;
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
export type ReviewSchemaType = InferProps<typeof ReviewSchema.propTypes>;
|
|
163
|
+
export declare function ReviewSchema(props: ReviewSchemaType): import("react/jsx-runtime").JSX.Element;
|
|
164
|
+
export declare namespace ReviewSchema {
|
|
165
|
+
var propTypes: {
|
|
166
|
+
/** Review information object to be serialized as JSON-LD. */
|
|
167
|
+
review: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
168
|
+
'@context': PropTypes.Validator<string>;
|
|
169
|
+
'@type': PropTypes.Validator<string>;
|
|
170
|
+
name: PropTypes.Validator<string>;
|
|
171
|
+
reviewBody: PropTypes.Requireable<string>;
|
|
172
|
+
datePublished: PropTypes.Requireable<string>;
|
|
173
|
+
author: PropTypes.Requireable<PropTypes.InferProps<{
|
|
174
|
+
'@type': PropTypes.Validator<string>;
|
|
175
|
+
name: PropTypes.Validator<string>;
|
|
176
|
+
}>>;
|
|
177
|
+
itemReviewed: PropTypes.Requireable<PropTypes.InferProps<{
|
|
178
|
+
'@type': PropTypes.Validator<string>;
|
|
179
|
+
name: PropTypes.Requireable<string>;
|
|
180
|
+
}>>;
|
|
181
|
+
reviewRating: PropTypes.Requireable<PropTypes.InferProps<{
|
|
182
|
+
'@type': PropTypes.Validator<string>;
|
|
183
|
+
ratingValue: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
184
|
+
bestRating: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
185
|
+
worstRating: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
186
|
+
}>>;
|
|
187
|
+
publisher: PropTypes.Requireable<PropTypes.InferProps<{
|
|
188
|
+
'@type': PropTypes.Validator<string>;
|
|
189
|
+
name: PropTypes.Requireable<string>;
|
|
190
|
+
}>>;
|
|
191
|
+
}>>>;
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
export type ServicesSchemaType = InferProps<typeof ServicesSchema.propTypes>;
|
|
195
|
+
export declare function ServicesSchema(props: ServicesSchemaType): import("react/jsx-runtime").JSX.Element | null;
|
|
196
|
+
export declare namespace ServicesSchema {
|
|
197
|
+
var propTypes: {
|
|
198
|
+
siteInfo: PropTypes.Requireable<PropTypes.InferProps<{
|
|
199
|
+
name: PropTypes.Requireable<string>;
|
|
200
|
+
url: PropTypes.Requireable<string>;
|
|
201
|
+
image: PropTypes.Requireable<string>;
|
|
202
|
+
telephone: PropTypes.Requireable<string>;
|
|
203
|
+
email: PropTypes.Requireable<string>;
|
|
204
|
+
services: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
205
|
+
name: PropTypes.Validator<string>;
|
|
206
|
+
description: PropTypes.Validator<string>;
|
|
207
|
+
url: PropTypes.Requireable<string>;
|
|
208
|
+
image: PropTypes.Requireable<string>;
|
|
209
|
+
areaServed: PropTypes.Requireable<NonNullable<string | (string | null | undefined)[] | null | undefined>>;
|
|
210
|
+
}> | null | undefined)[]>;
|
|
211
|
+
}>>;
|
|
212
|
+
provider: PropTypes.Requireable<PropTypes.InferProps<{
|
|
213
|
+
name: PropTypes.Validator<string>;
|
|
214
|
+
url: PropTypes.Validator<string>;
|
|
215
|
+
logo: PropTypes.Requireable<string>;
|
|
216
|
+
telephone: PropTypes.Requireable<string>;
|
|
217
|
+
email: PropTypes.Requireable<string>;
|
|
218
|
+
}>>;
|
|
219
|
+
services: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
220
|
+
name: PropTypes.Validator<string>;
|
|
221
|
+
description: PropTypes.Validator<string>;
|
|
222
|
+
url: PropTypes.Requireable<string>;
|
|
223
|
+
image: PropTypes.Requireable<string>;
|
|
224
|
+
areaServed: PropTypes.Requireable<NonNullable<string | (string | null | undefined)[] | null | undefined>>;
|
|
225
|
+
}> | null | undefined)[]>;
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
export type WebsiteSchemaType = InferProps<typeof WebsiteSchema.propTypes>;
|
|
229
|
+
export declare function WebsiteSchema(props: WebsiteSchemaType): import("react/jsx-runtime").JSX.Element | null;
|
|
230
|
+
export declare namespace WebsiteSchema {
|
|
231
|
+
var propTypes: {
|
|
232
|
+
name: PropTypes.Requireable<string>;
|
|
233
|
+
url: PropTypes.Requireable<string>;
|
|
234
|
+
description: PropTypes.Requireable<string>;
|
|
235
|
+
keywords: PropTypes.Requireable<string>;
|
|
236
|
+
inLanguage: PropTypes.Requireable<string>;
|
|
237
|
+
sameAs: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
238
|
+
potentialAction: PropTypes.Requireable<PropTypes.InferProps<{
|
|
239
|
+
'@type': PropTypes.Requireable<string>;
|
|
240
|
+
target: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
241
|
+
'@type': PropTypes.Requireable<string>;
|
|
242
|
+
urlTemplate: PropTypes.Requireable<string>;
|
|
243
|
+
}>>>;
|
|
244
|
+
'query-input': PropTypes.Requireable<string>;
|
|
245
|
+
}>>;
|
|
246
|
+
publisher: PropTypes.Requireable<PropTypes.InferProps<{
|
|
247
|
+
'@type': PropTypes.Requireable<string>;
|
|
248
|
+
name: PropTypes.Validator<string>;
|
|
249
|
+
url: PropTypes.Requireable<string>;
|
|
250
|
+
logo: PropTypes.Requireable<PropTypes.InferProps<{
|
|
251
|
+
'@type': PropTypes.Requireable<string>;
|
|
252
|
+
url: PropTypes.Validator<string>;
|
|
253
|
+
width: PropTypes.Requireable<number>;
|
|
254
|
+
height: PropTypes.Requireable<number>;
|
|
255
|
+
}>>;
|
|
256
|
+
}>>;
|
|
257
|
+
copyrightYear: PropTypes.Requireable<number>;
|
|
258
|
+
copyrightHolder: PropTypes.Requireable<PropTypes.InferProps<{
|
|
259
|
+
'@type': PropTypes.Requireable<string>;
|
|
260
|
+
name: PropTypes.Validator<string>;
|
|
261
|
+
url: PropTypes.Requireable<string>;
|
|
262
|
+
}>>;
|
|
263
|
+
siteInfo: PropTypes.Requireable<object>;
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AA+BnD,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,2CAK7D;yBALe,iBAAiB;;QAJjC,4CAA4C;;;;AAyF5C,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAAC;AACzF,wBAAgB,oBAAoB,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O,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CAKrD;yBALe,aAAa;;QArC5B,8DAA8D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyG/D,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAKnD;yBALe,YAAY;;QA3B5B,6DAA6D;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoF7D,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAKnD;yBALe,YAAY;;QA5B3B,6DAA6D;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyF9D,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,kDAuCvD;yBAvCe,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsG9B,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAE,KAAK,EAAE,iBAAiB,kDAmCtD;yBAnCe,aAAa"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { BlogPostType } from '../integrations/wordpress.functions';
|
|
2
|
+
import type { SpotifyPodcastEpisodeType, SpotifyPodcastSeriesType } from '../integrations/spotify.functions';
|
|
3
|
+
export interface BlogPostingSchema {
|
|
4
|
+
'@context': string;
|
|
5
|
+
'@type': string;
|
|
6
|
+
url: string;
|
|
7
|
+
headline: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
image?: string;
|
|
10
|
+
datePublished: string;
|
|
11
|
+
dateModified?: string;
|
|
12
|
+
author?: {
|
|
13
|
+
'@type': string;
|
|
14
|
+
name: string;
|
|
15
|
+
url?: string;
|
|
16
|
+
};
|
|
17
|
+
articleBody?: string;
|
|
18
|
+
articleSection?: string;
|
|
19
|
+
keywords?: string[];
|
|
20
|
+
wordCount?: number;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Converts WordPress REST API blog post to schema.org BlogPosting format
|
|
24
|
+
* @param post WordPress blog post
|
|
25
|
+
* @param includeFullContent Whether to include articleBody (true) or just description (false)
|
|
26
|
+
*/
|
|
27
|
+
export declare function mapWordPressToBlogPosting(post: BlogPostType, includeFullContent?: boolean): BlogPostingSchema;
|
|
28
|
+
export interface PodcastEpisodeSchema {
|
|
29
|
+
'@context': string;
|
|
30
|
+
'@type': string;
|
|
31
|
+
url: string;
|
|
32
|
+
name: string;
|
|
33
|
+
description?: string;
|
|
34
|
+
image?: string;
|
|
35
|
+
datePublished: string;
|
|
36
|
+
author?: {
|
|
37
|
+
'@type': string;
|
|
38
|
+
name: string;
|
|
39
|
+
};
|
|
40
|
+
audio?: {
|
|
41
|
+
'@type': string;
|
|
42
|
+
contentUrl: string;
|
|
43
|
+
encodingFormat: string;
|
|
44
|
+
};
|
|
45
|
+
duration?: string;
|
|
46
|
+
episodeNumber?: number | string;
|
|
47
|
+
isPartOf?: {
|
|
48
|
+
'@type': string;
|
|
49
|
+
name: string;
|
|
50
|
+
url?: string;
|
|
51
|
+
};
|
|
52
|
+
explicit?: boolean;
|
|
53
|
+
}
|
|
54
|
+
export interface PodcastSeriesSchema {
|
|
55
|
+
'@context': string;
|
|
56
|
+
'@type': string;
|
|
57
|
+
name: string;
|
|
58
|
+
url?: string;
|
|
59
|
+
description?: string;
|
|
60
|
+
image?: string;
|
|
61
|
+
author?: {
|
|
62
|
+
'@type': string;
|
|
63
|
+
name: string;
|
|
64
|
+
};
|
|
65
|
+
numberOfEpisodes?: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Converts a podcast episode object to schema.org PodcastEpisode format
|
|
69
|
+
* @param episode Podcast episode data
|
|
70
|
+
*/
|
|
71
|
+
export declare function mapPodcastEpisodeToSchema(episode: SpotifyPodcastEpisodeType): PodcastEpisodeSchema;
|
|
72
|
+
/**
|
|
73
|
+
* Converts podcast series metadata to schema.org PodcastSeries format
|
|
74
|
+
* @param series Podcast series data from RSS
|
|
75
|
+
*/
|
|
76
|
+
export declare function mapPodcastSeriesToSchema(series: SpotifyPodcastSeriesType): PodcastSeriesSchema;
|
|
77
|
+
//# sourceMappingURL=schema.functions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/general/schema.functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,KAAK,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAU7G,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;AAID;;;;GAIG;AACH,wBAAgB,yBAAyB,CACxC,IAAI,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GG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,wBAAwB,GAAG,mBAAmB,CAmB9F"}
|
|
@@ -8,7 +8,7 @@ export type SitemapConfig = {
|
|
|
8
8
|
createImageURLs?: boolean;
|
|
9
9
|
createImageURLsFromJSON?: boolean;
|
|
10
10
|
createContentfulURLs?: boolean;
|
|
11
|
-
|
|
11
|
+
createContentfulAssetURLs?: boolean;
|
|
12
12
|
createPageBuilderURLs?: boolean;
|
|
13
13
|
createEbayItemURLs?: boolean;
|
|
14
14
|
wordpress?: {
|
|
@@ -136,9 +136,9 @@ export declare namespace createContentfulPageBuilderURLs {
|
|
|
136
136
|
origin: PropTypes.Validator<string>;
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
|
-
export type
|
|
140
|
-
export declare function
|
|
141
|
-
export declare namespace
|
|
139
|
+
export type createContentfulAssetURLsType = InferProps<typeof createContentfulAssetURLs.propTypes>;
|
|
140
|
+
export declare function createContentfulAssetURLs(props: createContentfulAssetURLsType): Promise<SitemapEntry[]>;
|
|
141
|
+
export declare namespace createContentfulAssetURLs {
|
|
142
142
|
var propTypes: {
|
|
143
143
|
/** Contentful API properties */
|
|
144
144
|
apiProps: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sitemap.d.ts","sourceRoot":"","sources":["../../../../src/components/general/sitemap.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"sitemap.d.ts","sourceRoot":"","sources":["../../../../src/components/general/sitemap.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAU1C,MAAM,MAAM,YAAY,GAAG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AAC,CAAC;AACnG,wBAAsB,yBAAyB,CAAC,KAAK,EAAE,6BAA6B,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CA0E7G;yBA1EqB,yBAAyB;;QAjB/C,gCAAgC;;YAE9B,yBAAyB;;YAEzB,0BAA0B;;YAE1B,0BAA0B;;YAE1B,6BAA6B;;YAE7B,kCAAkC;;;QAGnC,uDAAuD;;;;AAkFxD,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,MAAM;;;;;;iBAoDrC,CAAC;;;;KApBlB;AAgCD,wBAAgB,qBAAqB,SAEpC"}
|
|
@@ -29,4 +29,6 @@ export declare const TSX_FILE_IGNORE_PATTERNS: string[];
|
|
|
29
29
|
* Regex patterns that identify server-only code that should not run on client
|
|
30
30
|
*/
|
|
31
31
|
export declare const SERVER_ONLY_PATTERNS: RegExp[];
|
|
32
|
+
export declare function stringTo1337_v1(str: string): string;
|
|
33
|
+
export declare function stringTo1337(str: string): string;
|
|
32
34
|
//# sourceMappingURL=utilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../../../src/components/general/utilities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../../../src/components/general/utilities.ts"],"names":[],"mappings":"AAKA,wBAAgB,QAAQ,CAAE,GAAG,EAAE,MAAM,oBASpC;AAID,wBAAgB,SAAS,CAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG;;EAmBxC;AAID,wBAAgB,aAAa,CAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAOtD;AAID,wBAAgB,WAAW,WAc1B;AAID,wBAAgB,YAAY,WAK3B;AAID,wBAAgB,UAAU,CAAE,GAAG,EAAE,MAAM,UAEtC;AAID,2DAA2D;AAC3D,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKrD;AAYD,wBAAgB,YAAY,CAAE,YAAY,EAAE,MAAM,UAgCjD;AAID;;;;OAII;AACJ,wBAAgB,YAAY,SAoB3B;AAOD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,UA0BhC,CAAC;AAKF;;GAEG;AACH,eAAO,MAAM,uBAAuB,UAQnC,CAAC;AAIF,eAAO,MAAM,wBAAwB,UAOpC,CAAC;AAKF;;GAEG;AACH,eAAO,MAAM,oBAAoB,UAoBhC,CAAC;AAIF,wBAAgB,eAAe,CAAE,GAAG,EAAE,MAAM,UAa3C;AAID,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAsBhD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from "prop-types";
|
|
2
|
+
export type PodcastEpisodeListType = InferProps<typeof PodcastEpisodeList.propTypes>;
|
|
3
|
+
export declare function PodcastEpisodeList(props: PodcastEpisodeListType): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare namespace PodcastEpisodeList {
|
|
5
|
+
var propTypes: {
|
|
6
|
+
episodes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
7
|
+
title: PropTypes.Validator<string>;
|
|
8
|
+
description: PropTypes.Validator<string>;
|
|
9
|
+
link: PropTypes.Validator<string>;
|
|
10
|
+
guid: PropTypes.Validator<string>;
|
|
11
|
+
creator: PropTypes.Validator<string>;
|
|
12
|
+
pubDate: PropTypes.Validator<string>;
|
|
13
|
+
enclosure: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
14
|
+
url: PropTypes.Validator<string>;
|
|
15
|
+
type: PropTypes.Validator<string>;
|
|
16
|
+
length: PropTypes.Validator<string>;
|
|
17
|
+
}>>>;
|
|
18
|
+
summary: PropTypes.Validator<string>;
|
|
19
|
+
explicit: PropTypes.Validator<boolean>;
|
|
20
|
+
duration: PropTypes.Validator<string>;
|
|
21
|
+
image: PropTypes.Validator<string>;
|
|
22
|
+
episode: PropTypes.Validator<string>;
|
|
23
|
+
episodeType: PropTypes.Validator<string>;
|
|
24
|
+
}>>[]>;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=spotify.components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spotify.components.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/spotify.components.tsx"],"names":[],"mappings":"AAEA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAiDnD,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACrF,wBAAgB,kBAAkB,CAAE,KAAK,EAAE,sBAAsB,2CAmBhE;yBAnBe,kBAAkB"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import PropTypes, { InferProps } from "prop-types";
|
|
2
|
+
export type SpotifyPodcastSeriesType = {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
link: string;
|
|
6
|
+
generator: string;
|
|
7
|
+
lastBuildDate: string;
|
|
8
|
+
author: string;
|
|
9
|
+
copyright: string;
|
|
10
|
+
language: string;
|
|
11
|
+
iTunesAuthor: string;
|
|
12
|
+
summary: string;
|
|
13
|
+
type: string;
|
|
14
|
+
owner: {
|
|
15
|
+
name: string;
|
|
16
|
+
email: string;
|
|
17
|
+
};
|
|
18
|
+
explicit: string;
|
|
19
|
+
category: string;
|
|
20
|
+
image: string;
|
|
21
|
+
};
|
|
22
|
+
export type getSpotifySeriesType = InferProps<typeof getSpotifySeries.propTypes>;
|
|
23
|
+
export declare function getSpotifySeries(props: getSpotifySeriesType): Promise<SpotifyPodcastSeriesType | undefined>;
|
|
24
|
+
export declare namespace getSpotifySeries {
|
|
25
|
+
var propTypes: {
|
|
26
|
+
/** RSS feed URL of the podcast */
|
|
27
|
+
rssURL: PropTypes.Validator<string>;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export type SpotifyPodcastEpisodeType = {
|
|
31
|
+
title: string;
|
|
32
|
+
description: string;
|
|
33
|
+
link: string;
|
|
34
|
+
guid: string;
|
|
35
|
+
creator: string;
|
|
36
|
+
pubDate: string;
|
|
37
|
+
enclosure: {
|
|
38
|
+
url: string;
|
|
39
|
+
type: string;
|
|
40
|
+
length: string;
|
|
41
|
+
};
|
|
42
|
+
summary: string;
|
|
43
|
+
explicit: boolean;
|
|
44
|
+
duration: string;
|
|
45
|
+
image: string;
|
|
46
|
+
episode: string;
|
|
47
|
+
episodeType: string;
|
|
48
|
+
};
|
|
49
|
+
export type getSpotifyEpisodesType = InferProps<typeof getSpotifyEpisodes.propTypes>;
|
|
50
|
+
export declare function getSpotifyEpisodes(props: getSpotifyEpisodesType): Promise<SpotifyPodcastEpisodeType[] | undefined>;
|
|
51
|
+
export declare namespace getSpotifyEpisodes {
|
|
52
|
+
var propTypes: {
|
|
53
|
+
/** RSS feed URL of the podcast */
|
|
54
|
+
rssURL: PropTypes.Validator<string>;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=spotify.functions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spotify.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/integrations/spotify.functions.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGnD,MAAM,MAAM,wBAAwB,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACd,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAkDF,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,SAAS,CAAC,CAAC;AACjF,wBAAsB,gBAAgB,CAAC,KAAK,EAAE,oBAAoB,iDAWjE;yBAXqB,gBAAgB;;QAJrC,kCAAkC;;;;AAoBnC,MAAM,MAAM,yBAAyB,GAAG;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE;QACV,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KACf,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACpB,CAAC;AA8CF,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACrF,wBAAsB,kBAAkB,CAAC,KAAK,EAAE,sBAAsB,oDAYrE;yBAZqB,kBAAkB;;QAJvC,kCAAkC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -28,16 +28,8 @@ export * from "./components/general/modal";
|
|
|
28
28
|
export * from "./components/general/nerdjoke";
|
|
29
29
|
export * from "./components/general/recipe";
|
|
30
30
|
export * from "./components/general/resume";
|
|
31
|
-
export * from "./components/general/schema
|
|
32
|
-
export * from "./components/general/schema
|
|
33
|
-
export * from "./components/general/schema-breadcrumb";
|
|
34
|
-
export * from "./components/general/schema-faq";
|
|
35
|
-
export * from "./components/general/schema-localbusiness";
|
|
36
|
-
export * from "./components/general/schema-product";
|
|
37
|
-
export * from "./components/general/schema-recipe";
|
|
38
|
-
export * from "./components/general/schema-review";
|
|
39
|
-
export * from "./components/general/schema-services";
|
|
40
|
-
export * from "./components/general/schema-website";
|
|
31
|
+
export * from "./components/general/schema";
|
|
32
|
+
export * from "./components/general/schema.functions";
|
|
41
33
|
export * from "./components/general/semantic";
|
|
42
34
|
export * from "./components/general/sidepanel";
|
|
43
35
|
export * from "./components/general/sitemap";
|
|
@@ -53,12 +45,11 @@ export * from "./components/general/tiles";
|
|
|
53
45
|
export * from "./components/general/timeline";
|
|
54
46
|
export * from "./components/integrations/calendly";
|
|
55
47
|
export * from "./components/integrations/cloudinary";
|
|
56
|
-
export * from "./components/integrations/lipsum";
|
|
57
|
-
export * from "./components/integrations/loremipsum";
|
|
58
48
|
export * from "./components/integrations/contentful.delivery";
|
|
59
49
|
export * from "./components/integrations/contentful.items.components";
|
|
60
50
|
export * from "./components/integrations/contentful.management";
|
|
61
51
|
export * from "./components/integrations/flickr";
|
|
52
|
+
export * from "./components/integrations/gemini-api.client";
|
|
62
53
|
export * from "./components/integrations/google.reviews.components";
|
|
63
54
|
export * from "./components/integrations/google.reviews.functions";
|
|
64
55
|
export * from "./components/integrations/googleanalytics";
|
|
@@ -69,8 +60,11 @@ export * from "./components/integrations/gravatar.functions";
|
|
|
69
60
|
export * from "./components/integrations/hubspot.components";
|
|
70
61
|
export * from "./components/integrations/instagram.components";
|
|
71
62
|
export * from "./components/integrations/instagram.functions";
|
|
63
|
+
export * from "./components/integrations/lipsum";
|
|
64
|
+
export * from "./components/integrations/loremipsum";
|
|
72
65
|
export * from "./components/integrations/socialcard";
|
|
73
|
-
export * from "./components/integrations/
|
|
66
|
+
export * from "./components/integrations/spotify.components";
|
|
67
|
+
export * from "./components/integrations/spotify.functions";
|
|
74
68
|
export * from "./components/integrations/wordpress.components";
|
|
75
69
|
export * from "./components/integrations/wordpress.functions";
|
|
76
70
|
export * from "./components/integrations/yelp";
|
|
@@ -8,7 +8,7 @@ export * from "./components/general/manifest";
|
|
|
8
8
|
export * from "./components/general/metadata.functions";
|
|
9
9
|
export * from "./components/general/proxy-handler";
|
|
10
10
|
export * from "./components/general/resume";
|
|
11
|
-
export * from "./components/general/schema
|
|
11
|
+
export * from "./components/general/schema.functions";
|
|
12
12
|
export * from "./components/general/sitemap";
|
|
13
13
|
export * from "./components/general/skeleton";
|
|
14
14
|
export * from "./components/general/well-known";
|
|
@@ -22,6 +22,8 @@ export * from "./components/integrations/google.reviews.functions";
|
|
|
22
22
|
export * from "./components/integrations/gravatar.functions";
|
|
23
23
|
export * from "./components/integrations/instagram.functions";
|
|
24
24
|
export * from "./components/integrations/lipsum";
|
|
25
|
+
export * from "./components/integrations/spotify.components";
|
|
26
|
+
export * from "./components/integrations/spotify.functions";
|
|
25
27
|
export * from "./components/integrations/wordpress.functions";
|
|
26
28
|
export * from "./components/shoppingcart/ebay.functions";
|
|
27
29
|
export * from "./components/sitebuilder/config/ConfigEngine";
|
|
@@ -58,5 +58,5 @@ export namespace Schema_BreadcrumbList_Simple {
|
|
|
58
58
|
export function render_13(): import("react/jsx-runtime").JSX.Element;
|
|
59
59
|
export { render_13 as render };
|
|
60
60
|
}
|
|
61
|
-
import { LocalBusinessSchema } from '@/components/general/schema
|
|
61
|
+
import { LocalBusinessSchema } from '@/components/general/schema';
|
|
62
62
|
//# sourceMappingURL=schema.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/general/schema.stories.js"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"schema.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/general/schema.stories.js"],"names":[],"mappings":";;;;;;IAmBS,2DAMP;;;IAIO,oEASP;;;;IAIO,oEAMP;;;;IAIO,oEAeP;;;;IAIO,oEAgCP;;;;IAIO,oEAsEP;;;;IAIO,oEAqCP;;;;IAIO,oEA6BP;;;;IAIO,oEAqCP;;;;IAIO,oEA8BP;;;;IAIO,qEAsCP;;;;IAIO,qEAwBP;;;;IAIO,qEAuBP;;;;IAIO,qEAiBP;;;oCAjbK,6BAA6B"}
|
|
@@ -24,7 +24,7 @@ export declare const Playground: {
|
|
|
24
24
|
seed: import("prop-types").Requireable<string>;
|
|
25
25
|
proxyBase: import("prop-types").Requireable<string>;
|
|
26
26
|
className: import("prop-types").Requireable<string>;
|
|
27
|
-
}, "className" | "seed" | "
|
|
27
|
+
}, "className" | "seed" | "proxyBase" | "paragraphs">>> & {
|
|
28
28
|
proxyBase?: string;
|
|
29
29
|
}>;
|
|
30
30
|
args: {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { SchemaPodcastEpisode } from '@/components/general/schema';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof SchemaPodcastEpisode;
|
|
5
|
+
argTypes: {
|
|
6
|
+
episode: {
|
|
7
|
+
description: string;
|
|
8
|
+
control: {
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
15
|
+
export declare const EpisodeSchema: {
|
|
16
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
storyName: string;
|
|
18
|
+
parameters: {
|
|
19
|
+
docs: {
|
|
20
|
+
description: {
|
|
21
|
+
story: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const SeriesSchema: {
|
|
27
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
storyName: string;
|
|
29
|
+
parameters: {
|
|
30
|
+
docs: {
|
|
31
|
+
description: {
|
|
32
|
+
story: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export declare const EpisodeWithoutSeries: {
|
|
38
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
storyName: string;
|
|
40
|
+
};
|
|
41
|
+
export declare const MinimalSeries: {
|
|
42
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
storyName: string;
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=schema-podcast.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-podcast.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/integrations/schema-podcast.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAuB,MAAM,6BAA6B,CAAC;;;;;;;;;;;;;AAOxF,wBASE;AA2CF,eAAO,MAAM,aAAa;;;;;;;;;;CAAyD,CAAC;AAUpF,eAAO,MAAM,YAAY;;;;;;;;;;CAAsD,CAAC;AAUhF,eAAO,MAAM,oBAAoB;;;CAGhC,CAAC;AAGF,eAAO,MAAM,aAAa;;;CAoBzB,CAAC"}
|