@unhead/schema-org 2.0.19 → 2.1.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/dist/chunks/index.mjs +23 -0
- package/dist/chunks/index10.mjs +63 -0
- package/dist/chunks/index11.mjs +35 -0
- package/dist/chunks/index12.mjs +48 -0
- package/dist/chunks/index13.mjs +36 -0
- package/dist/chunks/index14.mjs +25 -0
- package/dist/chunks/index15.mjs +37 -0
- package/dist/chunks/index16.mjs +27 -0
- package/dist/chunks/index17.mjs +34 -0
- package/dist/chunks/index18.mjs +32 -0
- package/dist/chunks/index19.mjs +31 -0
- package/dist/chunks/index2.mjs +12 -0
- package/dist/chunks/index20.mjs +31 -0
- package/dist/chunks/index21.mjs +30 -0
- package/dist/chunks/index22.mjs +30 -0
- package/dist/chunks/index23.mjs +82 -0
- package/dist/chunks/index24.mjs +14 -0
- package/dist/chunks/index25.mjs +33 -0
- package/dist/chunks/index26.mjs +31 -0
- package/dist/chunks/index27.mjs +29 -0
- package/dist/chunks/index28.mjs +12 -0
- package/dist/chunks/index29.mjs +46 -0
- package/dist/chunks/index3.mjs +317 -0
- package/dist/chunks/index30.mjs +53 -0
- package/dist/chunks/index31.mjs +41 -0
- package/dist/chunks/index32.mjs +26 -0
- package/dist/chunks/index33.mjs +47 -0
- package/dist/chunks/index34.mjs +29 -0
- package/dist/chunks/index35.mjs +34 -0
- package/dist/chunks/index36.mjs +33 -0
- package/dist/chunks/index37.mjs +34 -0
- package/dist/chunks/index38.mjs +51 -0
- package/dist/chunks/index39.mjs +17 -0
- package/dist/chunks/index4.mjs +54 -0
- package/dist/chunks/index40.mjs +29 -0
- package/dist/chunks/index5.mjs +31 -0
- package/dist/chunks/index6.mjs +29 -0
- package/dist/chunks/index7.mjs +35 -0
- package/dist/chunks/index8.mjs +18 -0
- package/dist/chunks/index9.mjs +20 -0
- package/dist/index.d.mts +6 -11
- package/dist/index.d.ts +6 -11
- package/dist/index.mjs +43 -3
- package/dist/react.d.mts +3 -3
- package/dist/react.d.ts +3 -3
- package/dist/react.mjs +3 -5
- package/dist/shared/schema-org.40UJYB57.mjs +19 -0
- package/dist/shared/{schema-org.B3f2mYF6.d.ts → schema-org.BR4WcSqZ.d.ts} +3 -3
- package/dist/shared/schema-org.CAKsqzbX.d.ts +1022 -0
- package/dist/shared/{schema-org.D5CDiwX5.d.ts → schema-org.CFcsqFfN.d.mts} +215 -15
- package/dist/shared/{schema-org.D5CDiwX5.d.mts → schema-org.CFcsqFfN.d.ts} +215 -15
- package/dist/shared/{schema-org.q010LqYD.mjs → schema-org.CHbRCiep.mjs} +12 -0
- package/dist/shared/schema-org.Cp6bpwL2.mjs +875 -0
- package/dist/shared/schema-org.Dg61qWpa.mjs +27 -0
- package/dist/shared/schema-org.UT1u1UYq.d.mts +1022 -0
- package/dist/shared/{schema-org.jGJJYnRv.d.mts → schema-org.oFHFm6my.d.mts} +3 -3
- package/dist/solid-js.d.mts +3 -3
- package/dist/solid-js.d.ts +3 -3
- package/dist/solid-js.mjs +3 -5
- package/dist/svelte.d.mts +3 -3
- package/dist/svelte.d.ts +3 -3
- package/dist/svelte.mjs +3 -5
- package/dist/vue.d.mts +3 -3
- package/dist/vue.d.ts +3 -3
- package/dist/vue.mjs +6 -7
- package/package.json +12 -14
- package/dist/shared/schema-org.B8mOT8YC.d.ts +0 -44
- package/dist/shared/schema-org.CWjoIjIr.d.mts +0 -44
- package/dist/shared/schema-org.DoKdjnca.mjs +0 -1690
|
@@ -222,6 +222,18 @@ interface ImageSimple extends Thing {
|
|
|
222
222
|
* - Only needed when providing a caption.
|
|
223
223
|
*/
|
|
224
224
|
inLanguage?: string;
|
|
225
|
+
/**
|
|
226
|
+
* The name of the image.
|
|
227
|
+
*/
|
|
228
|
+
name?: string;
|
|
229
|
+
/**
|
|
230
|
+
* A description of the image.
|
|
231
|
+
*/
|
|
232
|
+
description?: string;
|
|
233
|
+
/**
|
|
234
|
+
* The file format or media type of the image (e.g., image/jpeg).
|
|
235
|
+
*/
|
|
236
|
+
encodingFormat?: string;
|
|
225
237
|
}
|
|
226
238
|
interface ImageObject extends ImageSimple {
|
|
227
239
|
}
|
|
@@ -292,6 +304,14 @@ interface VideoSimple extends Thing {
|
|
|
292
304
|
* A URL pointing to a player for the video.
|
|
293
305
|
*/
|
|
294
306
|
embedUrl?: string;
|
|
307
|
+
/**
|
|
308
|
+
* The encoding format of the video.
|
|
309
|
+
*/
|
|
310
|
+
encodingFormat?: string;
|
|
311
|
+
/**
|
|
312
|
+
* A transcript of the video.
|
|
313
|
+
*/
|
|
314
|
+
transcript?: string;
|
|
295
315
|
}
|
|
296
316
|
interface VideoObject extends VideoSimple {
|
|
297
317
|
}
|
|
@@ -384,6 +404,14 @@ interface ArticleSimple extends Thing {
|
|
|
384
404
|
* A reference-by-ID to the Organization or Person who holds the copyright.
|
|
385
405
|
*/
|
|
386
406
|
copyrightHolder?: NodeRelations<Identity>;
|
|
407
|
+
/**
|
|
408
|
+
* The body text of the article.
|
|
409
|
+
*/
|
|
410
|
+
articleBody?: string;
|
|
411
|
+
/**
|
|
412
|
+
* The subject matter of the article.
|
|
413
|
+
*/
|
|
414
|
+
about?: string;
|
|
387
415
|
}
|
|
388
416
|
interface Article extends ArticleSimple {
|
|
389
417
|
}
|
|
@@ -523,6 +551,18 @@ interface OrganizationSimple extends Thing {
|
|
|
523
551
|
* A reference-by-ID to an PostalAddress piece.
|
|
524
552
|
*/
|
|
525
553
|
address?: NodeRelations<PostalAddress>;
|
|
554
|
+
/**
|
|
555
|
+
* The telephone number of the organization.
|
|
556
|
+
*/
|
|
557
|
+
telephone?: string;
|
|
558
|
+
/**
|
|
559
|
+
* The email address of the organization.
|
|
560
|
+
*/
|
|
561
|
+
email?: string;
|
|
562
|
+
/**
|
|
563
|
+
* The date the organization was founded.
|
|
564
|
+
*/
|
|
565
|
+
foundingDate?: string;
|
|
526
566
|
}
|
|
527
567
|
interface Organization extends OrganizationSimple {
|
|
528
568
|
}
|
|
@@ -619,6 +659,14 @@ interface WebSiteSimple extends Thing {
|
|
|
619
659
|
* A description of the website (e.g., the site's tagline).
|
|
620
660
|
*/
|
|
621
661
|
description?: string;
|
|
662
|
+
/**
|
|
663
|
+
* The date the website was first published.
|
|
664
|
+
*/
|
|
665
|
+
datePublished?: ResolvableDate;
|
|
666
|
+
/**
|
|
667
|
+
* The date the website was last modified.
|
|
668
|
+
*/
|
|
669
|
+
dateModified?: ResolvableDate;
|
|
622
670
|
/**
|
|
623
671
|
* A reference-by-ID to the Organization which publishes the WebSite
|
|
624
672
|
* (or an array of Organization and Person in the case that the website represents an individual).
|
|
@@ -645,7 +693,7 @@ interface ReadActionInput {
|
|
|
645
693
|
interface ReadAction {
|
|
646
694
|
'@type'?: 'ReadAction';
|
|
647
695
|
/**
|
|
648
|
-
* An
|
|
696
|
+
* An array of string URLs which describes the URL pattern of the read action
|
|
649
697
|
* (e.g., /search?query={search_term_string}).
|
|
650
698
|
*/
|
|
651
699
|
'target': string[];
|
|
@@ -713,6 +761,14 @@ interface WebPageSimple extends Thing {
|
|
|
713
761
|
* A SpeakableSpecification object which identifies any content elements suitable for spoken results.
|
|
714
762
|
*/
|
|
715
763
|
speakable?: unknown;
|
|
764
|
+
/**
|
|
765
|
+
* The time at which the page was last reviewed, in ISO 8601 format.
|
|
766
|
+
*/
|
|
767
|
+
lastReviewed?: string;
|
|
768
|
+
/**
|
|
769
|
+
* An array of keywords describing the page.
|
|
770
|
+
*/
|
|
771
|
+
keywords?: string[];
|
|
716
772
|
/**
|
|
717
773
|
* Potential actions for this web page.
|
|
718
774
|
*
|
|
@@ -731,13 +787,13 @@ interface BookSimple extends Thing {
|
|
|
731
787
|
*/
|
|
732
788
|
name: string;
|
|
733
789
|
/**
|
|
734
|
-
* A description of the
|
|
790
|
+
* A description of the book. Display limit of 60 characters.
|
|
735
791
|
*/
|
|
736
792
|
description?: string;
|
|
737
793
|
/**
|
|
738
|
-
* A reference to an
|
|
794
|
+
* A reference to an Identity piece, representing author associated with the Book.
|
|
739
795
|
*/
|
|
740
|
-
author?:
|
|
796
|
+
author?: NodeRelations<Identity>;
|
|
741
797
|
/**
|
|
742
798
|
* The URL on your website where the book is introduced or described.
|
|
743
799
|
*/
|
|
@@ -746,6 +802,14 @@ interface BookSimple extends Thing {
|
|
|
746
802
|
* The URL of a reference page that identifies the work. For example, a Wikipedia, Wikidata, VIAF, or Library of Congress page for the book.
|
|
747
803
|
*/
|
|
748
804
|
sameAs?: Arrayable<string>;
|
|
805
|
+
/**
|
|
806
|
+
* The number of pages in the book.
|
|
807
|
+
*/
|
|
808
|
+
numberOfPages?: number;
|
|
809
|
+
/**
|
|
810
|
+
* The illustrator(s) of the book.
|
|
811
|
+
*/
|
|
812
|
+
illustrator?: NodeRelations<Identity>;
|
|
749
813
|
/**
|
|
750
814
|
* The edition(s) of the work.
|
|
751
815
|
*/
|
|
@@ -819,18 +883,32 @@ interface CommentSimple extends Thing {
|
|
|
819
883
|
* A reference by ID to the Person who wrote the comment.
|
|
820
884
|
*/
|
|
821
885
|
author: NodeRelation<Person>;
|
|
886
|
+
/**
|
|
887
|
+
* The date and time the comment was created.
|
|
888
|
+
*/
|
|
889
|
+
dateCreated?: ResolvableDate;
|
|
890
|
+
/**
|
|
891
|
+
* The date and time the comment was last modified.
|
|
892
|
+
*/
|
|
893
|
+
dateModified?: ResolvableDate;
|
|
894
|
+
/**
|
|
895
|
+
* The number of upvotes the comment has received.
|
|
896
|
+
*/
|
|
897
|
+
upvoteCount?: number;
|
|
898
|
+
/**
|
|
899
|
+
* The number of downvotes the comment has received.
|
|
900
|
+
*/
|
|
901
|
+
downvoteCount?: number;
|
|
822
902
|
}
|
|
823
903
|
interface Comment$1 extends CommentSimple {
|
|
824
904
|
}
|
|
825
905
|
/**
|
|
826
|
-
* Describes a
|
|
906
|
+
* Describes a comment. Usually in the context of an Article or a WebPage.
|
|
827
907
|
*/
|
|
828
908
|
declare const commentResolver: SchemaOrgNodeDefinition<Comment$1>;
|
|
829
909
|
|
|
830
910
|
/**
|
|
831
|
-
*
|
|
832
|
-
* For example: a pair of shoes; a concert ticket; the rental of a car;
|
|
833
|
-
* a haircut; or an episode of a TV show streamed online.
|
|
911
|
+
* A course or class offered by an educational institution.
|
|
834
912
|
*/
|
|
835
913
|
interface CourseSimple extends Thing {
|
|
836
914
|
/**
|
|
@@ -842,7 +920,19 @@ interface CourseSimple extends Thing {
|
|
|
842
920
|
*/
|
|
843
921
|
description?: string;
|
|
844
922
|
/**
|
|
845
|
-
*
|
|
923
|
+
* The course code or identifier.
|
|
924
|
+
*/
|
|
925
|
+
courseCode?: string;
|
|
926
|
+
/**
|
|
927
|
+
* The educational level of the course.
|
|
928
|
+
*/
|
|
929
|
+
educationalLevel?: string;
|
|
930
|
+
/**
|
|
931
|
+
* The duration of the course.
|
|
932
|
+
*/
|
|
933
|
+
timeRequired?: string;
|
|
934
|
+
/**
|
|
935
|
+
* A reference to an Organization piece, representing the organization offering the course.
|
|
846
936
|
*/
|
|
847
937
|
provider?: NodeRelation<Organization>;
|
|
848
938
|
}
|
|
@@ -936,12 +1026,24 @@ interface EventSimple extends Thing {
|
|
|
936
1026
|
* The start date and time of the item (in ISO 8601 date format).
|
|
937
1027
|
*/
|
|
938
1028
|
startDate?: ResolvableDate;
|
|
1029
|
+
/**
|
|
1030
|
+
* The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.
|
|
1031
|
+
*/
|
|
1032
|
+
duration?: string;
|
|
1033
|
+
/**
|
|
1034
|
+
* Indicates whether an event is accessible for free.
|
|
1035
|
+
*/
|
|
1036
|
+
isAccessibleForFree?: boolean;
|
|
1037
|
+
/**
|
|
1038
|
+
* The total number of individuals that may attend an event or venue.
|
|
1039
|
+
*/
|
|
1040
|
+
maximumAttendeeCapacity?: number;
|
|
939
1041
|
}
|
|
940
1042
|
interface Event extends EventSimple {
|
|
941
1043
|
}
|
|
942
1044
|
declare const PrimaryEventId = "#event";
|
|
943
1045
|
/**
|
|
944
|
-
* Describes an
|
|
1046
|
+
* Describes an Event.
|
|
945
1047
|
*/
|
|
946
1048
|
declare const eventResolver: SchemaOrgNodeDefinition<Event>;
|
|
947
1049
|
|
|
@@ -984,6 +1086,10 @@ interface LocalBusinessSimple extends Organization {
|
|
|
984
1086
|
* The currency accepted.
|
|
985
1087
|
*/
|
|
986
1088
|
'currenciesAccepted'?: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* The methods of payment accepted by the business.
|
|
1091
|
+
*/
|
|
1092
|
+
'paymentAccepted'?: string;
|
|
987
1093
|
/**
|
|
988
1094
|
* The operating hours of the business.
|
|
989
1095
|
*/
|
|
@@ -1032,6 +1138,10 @@ interface FoodEstablishmentSimple extends Omit<LocalBusiness, '@type'> {
|
|
|
1032
1138
|
* URL of the menu.
|
|
1033
1139
|
*/
|
|
1034
1140
|
'hasMenu'?: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* Methods of payment accepted.
|
|
1143
|
+
*/
|
|
1144
|
+
'paymentAccepted'?: string;
|
|
1035
1145
|
/**
|
|
1036
1146
|
* The cuisine of the restaurant.
|
|
1037
1147
|
*/
|
|
@@ -1056,7 +1166,7 @@ interface HowToDirection extends Thing {
|
|
|
1056
1166
|
text: string;
|
|
1057
1167
|
}
|
|
1058
1168
|
/**
|
|
1059
|
-
* Describes a
|
|
1169
|
+
* Describes the text of a direction or tip for a step in a HowTo guide.
|
|
1060
1170
|
*/
|
|
1061
1171
|
declare const howToStepDirectionResolver: SchemaOrgNodeDefinition<HowToDirection>;
|
|
1062
1172
|
|
|
@@ -1142,6 +1252,18 @@ interface HowToSimple extends Thing {
|
|
|
1142
1252
|
* Mark steps of the video with hasPart.
|
|
1143
1253
|
*/
|
|
1144
1254
|
video?: NodeRelations<VideoObject | string>;
|
|
1255
|
+
/**
|
|
1256
|
+
* The time required to prepare for the how-to, in ISO 8601 duration format.
|
|
1257
|
+
*/
|
|
1258
|
+
prepTime?: string;
|
|
1259
|
+
/**
|
|
1260
|
+
* The time it takes to perform the how-to, in ISO 8601 duration format.
|
|
1261
|
+
*/
|
|
1262
|
+
performTime?: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* The quantity that results from performing the how-to.
|
|
1265
|
+
*/
|
|
1266
|
+
yield?: string;
|
|
1145
1267
|
}
|
|
1146
1268
|
interface HowTo extends HowToSimple {
|
|
1147
1269
|
}
|
|
@@ -1204,6 +1326,22 @@ interface JobPostingSimple extends Thing {
|
|
|
1204
1326
|
* Indicates whether the URL that's associated with this job posting enables direct application for the job.
|
|
1205
1327
|
*/
|
|
1206
1328
|
directApply?: boolean;
|
|
1329
|
+
/**
|
|
1330
|
+
* Description of benefits associated with the job.
|
|
1331
|
+
*/
|
|
1332
|
+
jobBenefits?: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* Educational credentials or qualifications required for the job.
|
|
1335
|
+
*/
|
|
1336
|
+
educationRequirements?: string;
|
|
1337
|
+
/**
|
|
1338
|
+
* Description of the level of experience required for the job.
|
|
1339
|
+
*/
|
|
1340
|
+
experienceRequirements?: string;
|
|
1341
|
+
/**
|
|
1342
|
+
* Skills, abilities, or knowledge needed for the job.
|
|
1343
|
+
*/
|
|
1344
|
+
qualifications?: string;
|
|
1207
1345
|
}
|
|
1208
1346
|
interface JobPosting extends JobPostingSimple {
|
|
1209
1347
|
}
|
|
@@ -1262,7 +1400,7 @@ interface MovieSimple extends Thing {
|
|
|
1262
1400
|
*/
|
|
1263
1401
|
director?: NodeRelations<Person | string>;
|
|
1264
1402
|
/**
|
|
1265
|
-
* The
|
|
1403
|
+
* The actor of the movie.
|
|
1266
1404
|
*/
|
|
1267
1405
|
actor?: NodeRelations<Person | string>;
|
|
1268
1406
|
/**
|
|
@@ -1273,6 +1411,22 @@ interface MovieSimple extends Thing {
|
|
|
1273
1411
|
* The trailer of a movie or TV/radio series, season, episode, etc.
|
|
1274
1412
|
*/
|
|
1275
1413
|
trailer?: NodeRelations<string | VideoObject>;
|
|
1414
|
+
/**
|
|
1415
|
+
* The duration of the movie.
|
|
1416
|
+
*/
|
|
1417
|
+
duration?: string;
|
|
1418
|
+
/**
|
|
1419
|
+
* The genre of the movie.
|
|
1420
|
+
*/
|
|
1421
|
+
genre?: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* The content rating of the movie.
|
|
1424
|
+
*/
|
|
1425
|
+
contentRating?: string;
|
|
1426
|
+
/**
|
|
1427
|
+
* The production company of the movie.
|
|
1428
|
+
*/
|
|
1429
|
+
productionCompany?: NodeRelation<Organization>;
|
|
1276
1430
|
}
|
|
1277
1431
|
interface Movie extends MovieSimple {
|
|
1278
1432
|
}
|
|
@@ -1303,7 +1457,7 @@ interface ProductSimple extends Thing {
|
|
|
1303
1457
|
*/
|
|
1304
1458
|
brand?: NodeRelation<Organization>;
|
|
1305
1459
|
/**
|
|
1306
|
-
* A reference to an Organization piece which represents the
|
|
1460
|
+
* A reference to an Organization piece which represents the seller/merchant.
|
|
1307
1461
|
*/
|
|
1308
1462
|
seller?: NodeRelation<Organization>;
|
|
1309
1463
|
/**
|
|
@@ -1318,6 +1472,18 @@ interface ProductSimple extends Thing {
|
|
|
1318
1472
|
* A merchant-specific identifier for the Product.
|
|
1319
1473
|
*/
|
|
1320
1474
|
sku?: string;
|
|
1475
|
+
/**
|
|
1476
|
+
* The Global Trade Item Number (GTIN) of the product.
|
|
1477
|
+
*/
|
|
1478
|
+
gtin?: string;
|
|
1479
|
+
/**
|
|
1480
|
+
* The Manufacturer Part Number (MPN) of the product.
|
|
1481
|
+
*/
|
|
1482
|
+
mpn?: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* The condition of the product (e.g., New, Used, Refurbished).
|
|
1485
|
+
*/
|
|
1486
|
+
itemCondition?: string;
|
|
1321
1487
|
/**
|
|
1322
1488
|
* An AggregateRating object.
|
|
1323
1489
|
*/
|
|
@@ -1361,6 +1527,14 @@ interface QuestionSimple extends Thing {
|
|
|
1361
1527
|
* The language code for the question; e.g., en-GB.
|
|
1362
1528
|
*/
|
|
1363
1529
|
inLanguage?: string;
|
|
1530
|
+
/**
|
|
1531
|
+
* The number of answers provided for this question.
|
|
1532
|
+
*/
|
|
1533
|
+
answerCount?: number;
|
|
1534
|
+
/**
|
|
1535
|
+
* The date and time the question was created.
|
|
1536
|
+
*/
|
|
1537
|
+
dateCreated?: ResolvableDate;
|
|
1364
1538
|
/**
|
|
1365
1539
|
* Alias for `name`
|
|
1366
1540
|
*/
|
|
@@ -1406,6 +1580,14 @@ interface RecipeSimple extends Thing {
|
|
|
1406
1580
|
* The time required to prepare the recipe.
|
|
1407
1581
|
*/
|
|
1408
1582
|
prepTime?: string;
|
|
1583
|
+
/**
|
|
1584
|
+
* The total time required to prepare and cook the recipe in ISO 8601 format.
|
|
1585
|
+
*/
|
|
1586
|
+
totalTime?: string;
|
|
1587
|
+
/**
|
|
1588
|
+
* The cooking method used to prepare the recipe.
|
|
1589
|
+
*/
|
|
1590
|
+
cookingMethod?: string;
|
|
1409
1591
|
/**
|
|
1410
1592
|
* A NutritionInformation node, with a calories property which defines a calorie count as a string (e.g., "270 calories").
|
|
1411
1593
|
*/
|
|
@@ -1493,6 +1675,22 @@ interface SoftwareAppSimple extends Thing {
|
|
|
1493
1675
|
* The operating system(s) required to use the app (for example, Windows 7, OSX 10.6, Android 1.6)
|
|
1494
1676
|
*/
|
|
1495
1677
|
'operatingSystem'?: string;
|
|
1678
|
+
/**
|
|
1679
|
+
* A description of the app.
|
|
1680
|
+
*/
|
|
1681
|
+
'description'?: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* URL to download the app.
|
|
1684
|
+
*/
|
|
1685
|
+
'downloadUrl'?: string;
|
|
1686
|
+
/**
|
|
1687
|
+
* The version of the app.
|
|
1688
|
+
*/
|
|
1689
|
+
'softwareVersion'?: string;
|
|
1690
|
+
/**
|
|
1691
|
+
* A list of features offered by the app.
|
|
1692
|
+
*/
|
|
1693
|
+
'featureList'?: string[];
|
|
1496
1694
|
}
|
|
1497
1695
|
interface SoftwareApp extends SoftwareAppSimple {
|
|
1498
1696
|
}
|
|
@@ -1613,6 +1811,8 @@ type Id = string | `#${string}` | `https://${string}#${string}`;
|
|
|
1613
1811
|
|
|
1614
1812
|
interface SchemaOrgGraph {
|
|
1615
1813
|
nodes: SchemaOrgNode[];
|
|
1814
|
+
nodeIndex: Map<Id, SchemaOrgNode>;
|
|
1815
|
+
nodeIdCounters: Record<string, number>;
|
|
1616
1816
|
meta: ResolvedMeta;
|
|
1617
1817
|
push: <T extends Arrayable<Thing>>(node: T) => void;
|
|
1618
1818
|
resolveGraph: (meta: MetaInput) => SchemaOrgNode[];
|
|
@@ -1620,5 +1820,5 @@ interface SchemaOrgGraph {
|
|
|
1620
1820
|
}
|
|
1621
1821
|
declare function createSchemaOrgGraph(): SchemaOrgGraph;
|
|
1622
1822
|
|
|
1623
|
-
export {
|
|
1624
|
-
export type {
|
|
1823
|
+
export { virtualLocationResolver as $, commentResolver as E, courseResolver as H, PrimaryEventId as L, PrimaryArticleId as P, eventResolver as Q, placeResolver as Y, foodEstablishmentResolver as a2, HowToId as a5, howToResolver as a6, howToStepResolver as a9, organizationResolver as aC, personResolver as aF, addressResolver as aK, ProductId as aN, productResolver as aO, questionResolver as aR, ratingResolver as aU, RecipeId as aY, recipeResolver as aZ, howToStepDirectionResolver as ab, imageResolver as ae, itemListResolver as ah, jobPostingResolver as ak, listItemResolver as an, localBusinessResolver as aq, movieResolver as at, offerResolver as aw, openingHoursResolver as az, reviewResolver as b0, softwareAppResolver as b3, videoResolver as b6, PrimaryWebPageId as b9, webPageResolver as ba, readActionResolver as bd, PrimaryWebSiteId as bg, webSiteResolver as bh, searchActionResolver as bk, createSchemaOrgGraph as c, aggregateOfferResolver as j, aggregateRatingResolver as m, articleResolver as p, bookEditionResolver as t, PrimaryBookId as u, bookResolver as v, PrimaryBreadcrumbId as y, breadcrumbResolver as z };
|
|
1824
|
+
export type { Arrayable as A, BookSimple as B, CommentSimple as C, Comment$1 as D, CourseSimple as F, Course as G, Id as I, EventSimple as J, Event as K, MetaInput as M, NodeRelation as N, OptionalSchemaOrgPrefix as O, ResolvedMeta as R, SchemaOrgNodeDefinition as S, Thing as T, UserConfig as U, PlaceSimple as V, WithResolver as W, Place as X, VirtualLocationSimple as Z, VirtualLocation as _, SchemaOrgGraph as a, Review as a$, FoodEstablishmentSimple as a0, FoodEstablishment as a1, HowToSimple as a3, HowTo as a4, HowToStepSimple as a7, HowToStep as a8, OrganizationSimple as aA, Organization as aB, PersonSimple as aD, Person as aE, PostalAddressSimple as aG, PostalAddressStrict as aH, PostalAddressName as aI, PostalAddress as aJ, ProductSimple as aL, Product as aM, QuestionSimple as aP, Question as aQ, RatingSimple as aS, Rating as aT, RecipeSimple as aV, Recipe as aW, NutritionInformation as aX, ReviewSimple as a_, HowToDirection as aa, ImageSimple as ac, ImageObject as ad, ItemListSimple as af, ItemList as ag, JobPostingSimple as ai, JobPosting as aj, ListItemSimple as al, ListItem as am, LocalBusinessSimple as ao, LocalBusiness as ap, MovieSimple as ar, Movie as as, OfferSimple as au, Offer as av, OpeningHoursSimple as ax, OpeningHoursSpecification as ay, Identity as b, SoftwareAppSimple as b1, SoftwareApp as b2, VideoSimple as b4, VideoObject as b5, WebPageSimple as b7, WebPage as b8, ReadActionInput as bb, ReadAction as bc, WebSiteSimple as be, WebSite as bf, SearchActionInput as bi, SearchAction as bj, IdReference as d, NodeRelations as e, ResolvableDate as f, SchemaOrgNode as g, AggregateOfferSimple as h, AggregateOffer as i, AggregateRatingSimple as k, AggregateRating as l, ArticleSimple as n, Article as o, Book as q, BookEditionSimple as r, BookEdition as s, BreadcrumbSimple as w, BreadcrumbList as x };
|
|
@@ -8,6 +8,7 @@ const schemaAutoImports = [
|
|
|
8
8
|
"defineBreadcrumb",
|
|
9
9
|
"defineComment",
|
|
10
10
|
"defineCourse",
|
|
11
|
+
"defineDataset",
|
|
11
12
|
"defineEvent",
|
|
12
13
|
"defineFoodEstablishment",
|
|
13
14
|
"defineHowTo",
|
|
@@ -18,18 +19,29 @@ const schemaAutoImports = [
|
|
|
18
19
|
"defineListItem",
|
|
19
20
|
"defineLocalBusiness",
|
|
20
21
|
"defineMovie",
|
|
22
|
+
"defineMusicAlbum",
|
|
23
|
+
"defineMusicGroup",
|
|
24
|
+
"defineMusicPlaylist",
|
|
25
|
+
"defineMusicRecording",
|
|
21
26
|
"defineOffer",
|
|
22
27
|
"defineOpeningHours",
|
|
23
28
|
"defineOrganization",
|
|
24
29
|
"definePerson",
|
|
25
30
|
"definePlace",
|
|
31
|
+
"definePodcastEpisode",
|
|
32
|
+
"definePodcastSeason",
|
|
33
|
+
"definePodcastSeries",
|
|
26
34
|
"defineProduct",
|
|
27
35
|
"defineQuestion",
|
|
28
36
|
"defineReadAction",
|
|
29
37
|
"defineRecipe",
|
|
30
38
|
"defineReview",
|
|
31
39
|
"defineSearchAction",
|
|
40
|
+
"defineService",
|
|
32
41
|
"defineSoftwareApp",
|
|
42
|
+
"defineTVEpisode",
|
|
43
|
+
"defineTVSeason",
|
|
44
|
+
"defineTVSeries",
|
|
33
45
|
"defineVideo",
|
|
34
46
|
"defineVirtualLocation",
|
|
35
47
|
"defineWebPage",
|