sanity-plugin-seofields 1.5.4 → 1.6.0
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/README.md +4 -4
- package/dist/SeoHealthDashboard-7XMPVJRX.cjs +10 -0
- package/dist/{SeoHealthDashboard-KPBNXSL4.cjs.map → SeoHealthDashboard-7XMPVJRX.cjs.map} +1 -1
- package/dist/SeoHealthDashboard-UWPLB5DM.js +4 -0
- package/dist/{SeoHealthDashboard-QKVB5HK3.js.map → SeoHealthDashboard-UWPLB5DM.js.map} +1 -1
- package/dist/{SeoHealthTool-ON3SRXCF.cjs → SeoHealthTool-2H4XZR4I.cjs} +4 -4
- package/dist/{SeoHealthTool-ON3SRXCF.cjs.map → SeoHealthTool-2H4XZR4I.cjs.map} +1 -1
- package/dist/{SeoHealthTool-EPPOEDTW.js → SeoHealthTool-XCXINAQI.js} +3 -3
- package/dist/{SeoHealthTool-EPPOEDTW.js.map → SeoHealthTool-XCXINAQI.js.map} +1 -1
- package/dist/{SeoPreview-G3LPA7GV.js → SeoPreview-F6GGPZWI.js} +2 -2
- package/dist/SeoPreview-F6GGPZWI.js.map +1 -0
- package/dist/{SeoPreview-Y3CFDVBR.cjs → SeoPreview-JDROKZLP.cjs} +2 -2
- package/dist/SeoPreview-JDROKZLP.cjs.map +1 -0
- package/dist/chunk-6NIHHOVS.js +3918 -0
- package/dist/chunk-6NIHHOVS.js.map +1 -0
- package/dist/chunk-7HCP5O62.cjs +4027 -0
- package/dist/chunk-7HCP5O62.cjs.map +1 -0
- package/dist/{chunk-527WXITP.js → chunk-KWUITSHS.js} +218 -54
- package/dist/chunk-KWUITSHS.js.map +1 -0
- package/dist/{chunk-UCVSMPEJ.js → chunk-NHJBEV3A.js} +2 -2
- package/dist/{chunk-UCVSMPEJ.js.map → chunk-NHJBEV3A.js.map} +1 -1
- package/dist/chunk-WCLEWFAJ.cjs +669 -0
- package/dist/chunk-WCLEWFAJ.cjs.map +1 -0
- package/dist/{chunk-G2SVI2SP.cjs → chunk-Z74QPO75.cjs} +2 -2
- package/dist/{chunk-G2SVI2SP.cjs.map → chunk-Z74QPO75.cjs.map} +1 -1
- package/dist/cli.js +25 -25
- package/dist/component-7rqDvuy2.d.ts +534 -0
- package/dist/component-J2nEQkOw.d.cts +534 -0
- package/dist/index.cjs +159 -185
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +43 -51
- package/dist/index.d.ts +43 -51
- package/dist/index.js +159 -185
- package/dist/index.js.map +1 -1
- package/dist/next.cjs +155 -51
- package/dist/next.d.cts +3 -3
- package/dist/next.d.ts +3 -3
- package/dist/next.js +2 -2
- package/dist/schema/next.cjs +171 -52
- package/dist/schema/next.cjs.map +1 -1
- package/dist/schema/next.d.cts +12 -428
- package/dist/schema/next.d.ts +12 -428
- package/dist/schema/next.js +20 -2
- package/dist/schema/next.js.map +1 -1
- package/dist/schema.cjs +831 -156
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.d.cts +318 -41
- package/dist/schema.d.ts +318 -41
- package/dist/schema.js +567 -86
- package/dist/schema.js.map +1 -1
- package/dist/types-BRn3hfQb.d.ts +24 -0
- package/dist/types-BSgolLj3.d.cts +24 -0
- package/dist/{types-R3n9Fu4w.d.cts → types-BtSRRG6C.d.cts} +1 -1
- package/dist/{types-R3n9Fu4w.d.ts → types-BtSRRG6C.d.ts} +1 -1
- package/dist/types-DnVvOp3o.d.ts +1215 -0
- package/dist/types-DoUYMRVf.d.cts +1215 -0
- package/package.json +2 -1
- package/dist/SeoHealthDashboard-KPBNXSL4.cjs +0 -10
- package/dist/SeoHealthDashboard-QKVB5HK3.js +0 -4
- package/dist/SeoPreview-G3LPA7GV.js.map +0 -1
- package/dist/SeoPreview-Y3CFDVBR.cjs.map +0 -1
- package/dist/chunk-527WXITP.js.map +0 -1
- package/dist/chunk-6CYMVS3O.js +0 -1245
- package/dist/chunk-6CYMVS3O.js.map +0 -1
- package/dist/chunk-D2GWRRK5.cjs +0 -1293
- package/dist/chunk-D2GWRRK5.cjs.map +0 -1
- package/dist/chunk-L3L3FSPJ.cjs +0 -478
- package/dist/chunk-L3L3FSPJ.cjs.map +0 -1
- package/dist/types-CVaAX7uy.d.cts +0 -589
- package/dist/types-Ci-ZZT7A.d.ts +0 -589
package/dist/schema/next.cjs
CHANGED
|
@@ -1,206 +1,325 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkWCLEWFAJ_cjs = require('../chunk-WCLEWFAJ.cjs');
|
|
4
|
+
var chunk7HCP5O62_cjs = require('../chunk-7HCP5O62.cjs');
|
|
5
5
|
require('../chunk-S367Y35J.cjs');
|
|
6
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
function buildSocialMediaPostingJsonLd(data) {
|
|
9
|
+
return chunk7HCP5O62_cjs.buildGenericJsonLd(
|
|
10
|
+
"SocialMediaPosting",
|
|
11
|
+
data,
|
|
12
|
+
chunk7HCP5O62_cjs.socialMediaPostingFields,
|
|
13
|
+
["headline"]
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
function SocialMediaPostingSchema({
|
|
17
|
+
data
|
|
18
|
+
}) {
|
|
19
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWCLEWFAJ_cjs.SchemaOrgScript, { jsonLd: buildSocialMediaPostingJsonLd(data) });
|
|
20
|
+
}
|
|
8
21
|
|
|
9
22
|
Object.defineProperty(exports, "AggregateRatingSchema", {
|
|
10
23
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkWCLEWFAJ_cjs.AggregateRatingSchema; }
|
|
12
25
|
});
|
|
13
26
|
Object.defineProperty(exports, "ArticleSchema", {
|
|
14
27
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkWCLEWFAJ_cjs.ArticleSchema; }
|
|
16
29
|
});
|
|
17
30
|
Object.defineProperty(exports, "BlogPostingSchema", {
|
|
18
31
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkWCLEWFAJ_cjs.BlogPostingSchema; }
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "BookSchema", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return chunkWCLEWFAJ_cjs.BookSchema; }
|
|
20
37
|
});
|
|
21
38
|
Object.defineProperty(exports, "BrandSchema", {
|
|
22
39
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkWCLEWFAJ_cjs.BrandSchema; }
|
|
24
41
|
});
|
|
25
42
|
Object.defineProperty(exports, "BreadcrumbListSchema", {
|
|
26
43
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkWCLEWFAJ_cjs.BreadcrumbListSchema; }
|
|
28
45
|
});
|
|
29
46
|
Object.defineProperty(exports, "ContactPointSchema", {
|
|
30
47
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkWCLEWFAJ_cjs.ContactPointSchema; }
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "CountrySchema", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return chunkWCLEWFAJ_cjs.CountrySchema; }
|
|
32
53
|
});
|
|
33
54
|
Object.defineProperty(exports, "CourseSchema", {
|
|
34
55
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkWCLEWFAJ_cjs.CourseSchema; }
|
|
36
57
|
});
|
|
37
58
|
Object.defineProperty(exports, "EventSchema", {
|
|
38
59
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkWCLEWFAJ_cjs.EventSchema; }
|
|
40
61
|
});
|
|
41
62
|
Object.defineProperty(exports, "FAQPageSchema", {
|
|
42
63
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkWCLEWFAJ_cjs.FAQPageSchema; }
|
|
44
65
|
});
|
|
45
66
|
Object.defineProperty(exports, "HowToSchema", {
|
|
46
67
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkWCLEWFAJ_cjs.HowToSchema; }
|
|
48
69
|
});
|
|
49
70
|
Object.defineProperty(exports, "ImageObjectSchema", {
|
|
50
71
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkWCLEWFAJ_cjs.ImageObjectSchema; }
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, "ItemListSchema", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function () { return chunkWCLEWFAJ_cjs.ItemListSchema; }
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "JobPostingSchema", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () { return chunkWCLEWFAJ_cjs.JobPostingSchema; }
|
|
81
|
+
});
|
|
82
|
+
Object.defineProperty(exports, "LegalServiceSchema", {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () { return chunkWCLEWFAJ_cjs.LegalServiceSchema; }
|
|
52
85
|
});
|
|
53
86
|
Object.defineProperty(exports, "LocalBusinessSchema", {
|
|
54
87
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkWCLEWFAJ_cjs.LocalBusinessSchema; }
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "MovieSchema", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () { return chunkWCLEWFAJ_cjs.MovieSchema; }
|
|
93
|
+
});
|
|
94
|
+
Object.defineProperty(exports, "MusicAlbumSchema", {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function () { return chunkWCLEWFAJ_cjs.MusicAlbumSchema; }
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, "MusicRecordingSchema", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () { return chunkWCLEWFAJ_cjs.MusicRecordingSchema; }
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "NewsArticleSchema", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () { return chunkWCLEWFAJ_cjs.NewsArticleSchema; }
|
|
56
105
|
});
|
|
57
106
|
Object.defineProperty(exports, "OfferSchema", {
|
|
58
107
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkWCLEWFAJ_cjs.OfferSchema; }
|
|
60
109
|
});
|
|
61
110
|
Object.defineProperty(exports, "OrganizationSchema", {
|
|
62
111
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkWCLEWFAJ_cjs.OrganizationSchema; }
|
|
64
113
|
});
|
|
65
114
|
Object.defineProperty(exports, "PersonSchema", {
|
|
66
115
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkWCLEWFAJ_cjs.PersonSchema; }
|
|
68
117
|
});
|
|
69
118
|
Object.defineProperty(exports, "PlaceSchema", {
|
|
70
119
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkWCLEWFAJ_cjs.PlaceSchema; }
|
|
72
121
|
});
|
|
73
122
|
Object.defineProperty(exports, "PostalAddressSchema", {
|
|
74
123
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkWCLEWFAJ_cjs.PostalAddressSchema; }
|
|
76
125
|
});
|
|
77
126
|
Object.defineProperty(exports, "ProductSchema", {
|
|
78
127
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkWCLEWFAJ_cjs.ProductSchema; }
|
|
129
|
+
});
|
|
130
|
+
Object.defineProperty(exports, "ProfilePageSchema", {
|
|
131
|
+
enumerable: true,
|
|
132
|
+
get: function () { return chunkWCLEWFAJ_cjs.ProfilePageSchema; }
|
|
133
|
+
});
|
|
134
|
+
Object.defineProperty(exports, "RecipeSchema", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function () { return chunkWCLEWFAJ_cjs.RecipeSchema; }
|
|
137
|
+
});
|
|
138
|
+
Object.defineProperty(exports, "RestaurantSchema", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function () { return chunkWCLEWFAJ_cjs.RestaurantSchema; }
|
|
80
141
|
});
|
|
81
142
|
Object.defineProperty(exports, "ReviewSchema", {
|
|
82
143
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkWCLEWFAJ_cjs.ReviewSchema; }
|
|
84
145
|
});
|
|
85
146
|
Object.defineProperty(exports, "SchemaOrgScripts", {
|
|
86
147
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkWCLEWFAJ_cjs.SchemaOrgScripts; }
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "ServiceSchema", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function () { return chunkWCLEWFAJ_cjs.ServiceSchema; }
|
|
88
153
|
});
|
|
89
154
|
Object.defineProperty(exports, "SoftwareApplicationSchema", {
|
|
90
155
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkWCLEWFAJ_cjs.SoftwareApplicationSchema; }
|
|
92
157
|
});
|
|
93
158
|
Object.defineProperty(exports, "VideoObjectSchema", {
|
|
94
159
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkWCLEWFAJ_cjs.VideoObjectSchema; }
|
|
96
161
|
});
|
|
97
162
|
Object.defineProperty(exports, "WebApplicationSchema", {
|
|
98
163
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkWCLEWFAJ_cjs.WebApplicationSchema; }
|
|
100
165
|
});
|
|
101
166
|
Object.defineProperty(exports, "WebPageSchema", {
|
|
102
167
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkWCLEWFAJ_cjs.WebPageSchema; }
|
|
104
169
|
});
|
|
105
170
|
Object.defineProperty(exports, "WebsiteSchema", {
|
|
106
171
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkWCLEWFAJ_cjs.WebsiteSchema; }
|
|
108
173
|
});
|
|
109
174
|
Object.defineProperty(exports, "buildAggregateRatingJsonLd", {
|
|
110
175
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildAggregateRatingJsonLd; }
|
|
112
177
|
});
|
|
113
178
|
Object.defineProperty(exports, "buildArticleJsonLd", {
|
|
114
179
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildArticleJsonLd; }
|
|
116
181
|
});
|
|
117
182
|
Object.defineProperty(exports, "buildBlogPostingJsonLd", {
|
|
118
183
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildBlogPostingJsonLd; }
|
|
185
|
+
});
|
|
186
|
+
Object.defineProperty(exports, "buildBookJsonLd", {
|
|
187
|
+
enumerable: true,
|
|
188
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildBookJsonLd; }
|
|
120
189
|
});
|
|
121
190
|
Object.defineProperty(exports, "buildBrandJsonLd", {
|
|
122
191
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildBrandJsonLd; }
|
|
124
193
|
});
|
|
125
194
|
Object.defineProperty(exports, "buildBreadcrumbListJsonLd", {
|
|
126
195
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildBreadcrumbListJsonLd; }
|
|
128
197
|
});
|
|
129
198
|
Object.defineProperty(exports, "buildContactPointJsonLd", {
|
|
130
199
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildContactPointJsonLd; }
|
|
201
|
+
});
|
|
202
|
+
Object.defineProperty(exports, "buildCountryJsonLd", {
|
|
203
|
+
enumerable: true,
|
|
204
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildCountryJsonLd; }
|
|
132
205
|
});
|
|
133
206
|
Object.defineProperty(exports, "buildCourseJsonLd", {
|
|
134
207
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildCourseJsonLd; }
|
|
136
209
|
});
|
|
137
210
|
Object.defineProperty(exports, "buildEventJsonLd", {
|
|
138
211
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildEventJsonLd; }
|
|
140
213
|
});
|
|
141
214
|
Object.defineProperty(exports, "buildFAQPageJsonLd", {
|
|
142
215
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildFAQPageJsonLd; }
|
|
144
217
|
});
|
|
145
218
|
Object.defineProperty(exports, "buildHowToJsonLd", {
|
|
146
219
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildHowToJsonLd; }
|
|
148
221
|
});
|
|
149
222
|
Object.defineProperty(exports, "buildImageObjectJsonLd", {
|
|
150
223
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildImageObjectJsonLd; }
|
|
225
|
+
});
|
|
226
|
+
Object.defineProperty(exports, "buildItemListJsonLd", {
|
|
227
|
+
enumerable: true,
|
|
228
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildItemListJsonLd; }
|
|
229
|
+
});
|
|
230
|
+
Object.defineProperty(exports, "buildJobPostingJsonLd", {
|
|
231
|
+
enumerable: true,
|
|
232
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildJobPostingJsonLd; }
|
|
233
|
+
});
|
|
234
|
+
Object.defineProperty(exports, "buildLegalServiceJsonLd", {
|
|
235
|
+
enumerable: true,
|
|
236
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildLegalServiceJsonLd; }
|
|
152
237
|
});
|
|
153
238
|
Object.defineProperty(exports, "buildLocalBusinessJsonLd", {
|
|
154
239
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildLocalBusinessJsonLd; }
|
|
241
|
+
});
|
|
242
|
+
Object.defineProperty(exports, "buildMovieJsonLd", {
|
|
243
|
+
enumerable: true,
|
|
244
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildMovieJsonLd; }
|
|
245
|
+
});
|
|
246
|
+
Object.defineProperty(exports, "buildMusicAlbumJsonLd", {
|
|
247
|
+
enumerable: true,
|
|
248
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildMusicAlbumJsonLd; }
|
|
249
|
+
});
|
|
250
|
+
Object.defineProperty(exports, "buildMusicRecordingJsonLd", {
|
|
251
|
+
enumerable: true,
|
|
252
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildMusicRecordingJsonLd; }
|
|
253
|
+
});
|
|
254
|
+
Object.defineProperty(exports, "buildNewsArticleJsonLd", {
|
|
255
|
+
enumerable: true,
|
|
256
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildNewsArticleJsonLd; }
|
|
156
257
|
});
|
|
157
258
|
Object.defineProperty(exports, "buildOfferJsonLd", {
|
|
158
259
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildOfferJsonLd; }
|
|
160
261
|
});
|
|
161
262
|
Object.defineProperty(exports, "buildOrganizationJsonLd", {
|
|
162
263
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildOrganizationJsonLd; }
|
|
164
265
|
});
|
|
165
266
|
Object.defineProperty(exports, "buildPersonJsonLd", {
|
|
166
267
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildPersonJsonLd; }
|
|
168
269
|
});
|
|
169
270
|
Object.defineProperty(exports, "buildPlaceJsonLd", {
|
|
170
271
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildPlaceJsonLd; }
|
|
172
273
|
});
|
|
173
274
|
Object.defineProperty(exports, "buildPostalAddressJsonLd", {
|
|
174
275
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildPostalAddressJsonLd; }
|
|
176
277
|
});
|
|
177
278
|
Object.defineProperty(exports, "buildProductJsonLd", {
|
|
178
279
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildProductJsonLd; }
|
|
281
|
+
});
|
|
282
|
+
Object.defineProperty(exports, "buildProfilePageJsonLd", {
|
|
283
|
+
enumerable: true,
|
|
284
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildProfilePageJsonLd; }
|
|
285
|
+
});
|
|
286
|
+
Object.defineProperty(exports, "buildRecipeJsonLd", {
|
|
287
|
+
enumerable: true,
|
|
288
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildRecipeJsonLd; }
|
|
289
|
+
});
|
|
290
|
+
Object.defineProperty(exports, "buildRestaurantJsonLd", {
|
|
291
|
+
enumerable: true,
|
|
292
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildRestaurantJsonLd; }
|
|
180
293
|
});
|
|
181
294
|
Object.defineProperty(exports, "buildReviewJsonLd", {
|
|
182
295
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildReviewJsonLd; }
|
|
297
|
+
});
|
|
298
|
+
Object.defineProperty(exports, "buildServiceJsonLd", {
|
|
299
|
+
enumerable: true,
|
|
300
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildServiceJsonLd; }
|
|
184
301
|
});
|
|
185
302
|
Object.defineProperty(exports, "buildSoftwareApplicationJsonLd", {
|
|
186
303
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
304
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildSoftwareApplicationJsonLd; }
|
|
188
305
|
});
|
|
189
306
|
Object.defineProperty(exports, "buildVideoObjectJsonLd", {
|
|
190
307
|
enumerable: true,
|
|
191
|
-
get: function () { return
|
|
308
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildVideoObjectJsonLd; }
|
|
192
309
|
});
|
|
193
310
|
Object.defineProperty(exports, "buildWebApplicationJsonLd", {
|
|
194
311
|
enumerable: true,
|
|
195
|
-
get: function () { return
|
|
312
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildWebApplicationJsonLd; }
|
|
196
313
|
});
|
|
197
314
|
Object.defineProperty(exports, "buildWebPageJsonLd", {
|
|
198
315
|
enumerable: true,
|
|
199
|
-
get: function () { return
|
|
316
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildWebPageJsonLd; }
|
|
200
317
|
});
|
|
201
318
|
Object.defineProperty(exports, "buildWebsiteJsonLd", {
|
|
202
319
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
320
|
+
get: function () { return chunkWCLEWFAJ_cjs.buildWebsiteJsonLd; }
|
|
204
321
|
});
|
|
322
|
+
exports.SocialMediaPostingSchema = SocialMediaPostingSchema;
|
|
323
|
+
exports.buildSocialMediaPostingJsonLd = buildSocialMediaPostingJsonLd;
|
|
205
324
|
//# sourceMappingURL=next.cjs.map
|
|
206
325
|
//# sourceMappingURL=next.cjs.map
|
package/dist/schema/next.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"next.cjs"}
|
|
1
|
+
{"version":3,"sources":["../../src/schema/socialMediaPosting/component.tsx"],"names":["buildGenericJsonLd","socialMediaPostingFields","jsx","SchemaOrgScript"],"mappings":";;;;;;;AAgBO,SAAS,8BACd,IAAA,EACgC;AAChC,EAAA,OAAOA,oCAAA;AAAA,IACL,oBAAA;AAAA,IACA,IAAA;AAAA,IACAC,0CAAA;AAAA,IACA,CAAC,UAAU;AAAA,GACb;AACF;AAMO,SAAS,wBAAA,CAAyB;AAAA,EACvC;AACF,CAAA,EAAsD;AACpD,EAAA,uBAAOC,cAAA,CAACC,iCAAA,EAAA,EAAgB,MAAA,EAAQ,6BAAA,CAA8B,IAAI,CAAA,EAAG,CAAA;AACvE","file":"next.cjs","sourcesContent":["import {JSX} from 'react'\n\nimport {buildGenericJsonLd} from '../generator'\nimport {SchemaOrgScript} from '../SchemaOrgScript'\nimport {socialMediaPostingFields} from './schema'\nimport type {SchemaOrgSocialMediaPostingData} from './types'\n\nexport interface SocialMediaPostingSchemaProps {\n /** The Schema.org SocialMediaPosting data from your Sanity GROQ query. */\n data?: SchemaOrgSocialMediaPostingData | null\n}\n\n/**\n * Builds a Schema.org SocialMediaPosting JSON-LD object from Sanity data.\n * Returns `null` if required fields (headline) are missing.\n */\nexport function buildSocialMediaPostingJsonLd(\n data?: SchemaOrgSocialMediaPostingData | null,\n): Record<string, unknown> | null {\n return buildGenericJsonLd(\n 'SocialMediaPosting',\n data as Record<string, unknown> | null | undefined,\n socialMediaPostingFields,\n ['headline'],\n )\n}\n\n/**\n * Renders a `<script type=\"application/ld+json\">` tag with Schema.org SocialMediaPosting data.\n * Renders nothing if required fields are missing.\n */\nexport function SocialMediaPostingSchema({\n data,\n}: SocialMediaPostingSchemaProps): JSX.Element | null {\n return <SchemaOrgScript jsonLd={buildSocialMediaPostingJsonLd(data)} />\n}\n\nexport default SocialMediaPostingSchema\n"]}
|