keepset 0.33.0 → 0.34.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 +1 -1
- package/dist/{bundled-pT7q4sWm.js → bundled-CPSe9InV.js} +358 -53
- package/dist/{categories-HwqAn-Lc.d.ts → categories-DUG7URRd.d.ts} +149 -10
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/node/fetch-dataset.d.ts +1 -1
- package/dist/node/fetch-dataset.js +416 -95
- package/dist-cli/keepset.mjs +1 -1
- package/package.json +3 -1
- package/schemas/entry.schema.json +1 -1
- package/schemas/manifest.schema.json +1 -1
|
@@ -80,6 +80,7 @@ declare const CollectionArchiveSchema: z.ZodObject<{
|
|
|
80
80
|
zip: "zip";
|
|
81
81
|
tar: "tar";
|
|
82
82
|
"tar.gz": "tar.gz";
|
|
83
|
+
"tar.bz2": "tar.bz2";
|
|
83
84
|
}>;
|
|
84
85
|
members: z.ZodUnion<readonly [z.ZodObject<{
|
|
85
86
|
path: z.ZodString;
|
|
@@ -89,16 +90,19 @@ declare const CollectionArchiveSchema: z.ZodObject<{
|
|
|
89
90
|
pattern: z.ZodString;
|
|
90
91
|
}, z.core.$strict>]>;
|
|
91
92
|
}, z.core.$strict>;
|
|
92
|
-
/** How the downloaded bytes unpack into the file the parser reads, or for a collection the files it reads one by one. A `members` selector gives every member it matches, at least one, in path order. A member that is an archive in its turn (a contest bundle that ships its problems as a zip inside the zip) is unpacked by `inner`. A workbook (`xlsx`) is read as the CSV of its named sheet, with dates as ISO 8601 text, for the `csv-table` parser. */
|
|
93
|
+
/** How the downloaded bytes unpack into the file the parser reads, or for a collection the files it reads one by one. A `members` selector gives every member it matches, at least one, in path order. `gzip` and `bzip2` are one compressed file, and `tar.gz` and `tar.bz2` a tar archive compressed with them. A member that is an archive in its turn (a contest bundle that ships its problems as a zip inside the zip) is unpacked by `inner`. A workbook (`xlsx`) is read as the CSV of its named sheet, with dates as ISO 8601 text, for the `csv-table` parser. */
|
|
93
94
|
declare const ArchiveSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
94
95
|
kind: z.ZodLiteral<"none">;
|
|
95
96
|
}, z.core.$strict>, z.ZodObject<{
|
|
96
97
|
kind: z.ZodLiteral<"gzip">;
|
|
98
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
99
|
+
kind: z.ZodLiteral<"bzip2">;
|
|
97
100
|
}, z.core.$strict>, z.ZodObject<{
|
|
98
101
|
kind: z.ZodEnum<{
|
|
99
102
|
zip: "zip";
|
|
100
103
|
tar: "tar";
|
|
101
104
|
"tar.gz": "tar.gz";
|
|
105
|
+
"tar.bz2": "tar.bz2";
|
|
102
106
|
}>;
|
|
103
107
|
member: z.ZodUnion<readonly [z.ZodObject<{
|
|
104
108
|
path: z.ZodString;
|
|
@@ -114,6 +118,7 @@ declare const ArchiveSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
114
118
|
zip: "zip";
|
|
115
119
|
tar: "tar";
|
|
116
120
|
"tar.gz": "tar.gz";
|
|
121
|
+
"tar.bz2": "tar.bz2";
|
|
117
122
|
}>;
|
|
118
123
|
member: z.ZodUnion<readonly [z.ZodObject<{
|
|
119
124
|
path: z.ZodString;
|
|
@@ -128,6 +133,7 @@ declare const ArchiveSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
128
133
|
zip: "zip";
|
|
129
134
|
tar: "tar";
|
|
130
135
|
"tar.gz": "tar.gz";
|
|
136
|
+
"tar.bz2": "tar.bz2";
|
|
131
137
|
}>;
|
|
132
138
|
members: z.ZodUnion<readonly [z.ZodObject<{
|
|
133
139
|
path: z.ZodString;
|
|
@@ -173,6 +179,25 @@ declare const ParserSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
173
179
|
"utf-8": "utf-8";
|
|
174
180
|
latin1: "latin1";
|
|
175
181
|
}>;
|
|
182
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
183
|
+
format: z.ZodLiteral<"user-item-ratings">;
|
|
184
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
185
|
+
delimiter: z.ZodEnum<{
|
|
186
|
+
tab: "tab";
|
|
187
|
+
comma: "comma";
|
|
188
|
+
"double-colon": "double-colon";
|
|
189
|
+
}>;
|
|
190
|
+
skipLines: z.ZodInt;
|
|
191
|
+
itemType: z.ZodEnum<{
|
|
192
|
+
movie: "movie";
|
|
193
|
+
product: "product";
|
|
194
|
+
}>;
|
|
195
|
+
maxRating: z.ZodNumber;
|
|
196
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
197
|
+
format: z.ZodLiteral<"konect">;
|
|
198
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
199
|
+
weighted: z.ZodBoolean;
|
|
200
|
+
timestamped: z.ZodBoolean;
|
|
176
201
|
}, z.core.$strict>, z.ZodObject<{
|
|
177
202
|
format: z.ZodLiteral<"gml">;
|
|
178
203
|
encoding: z.ZodEnum<{
|
|
@@ -286,11 +311,14 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
286
311
|
kind: z.ZodLiteral<"none">;
|
|
287
312
|
}, z.core.$strict>, z.ZodObject<{
|
|
288
313
|
kind: z.ZodLiteral<"gzip">;
|
|
314
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
315
|
+
kind: z.ZodLiteral<"bzip2">;
|
|
289
316
|
}, z.core.$strict>, z.ZodObject<{
|
|
290
317
|
kind: z.ZodEnum<{
|
|
291
318
|
zip: "zip";
|
|
292
319
|
tar: "tar";
|
|
293
320
|
"tar.gz": "tar.gz";
|
|
321
|
+
"tar.bz2": "tar.bz2";
|
|
294
322
|
}>;
|
|
295
323
|
member: z.ZodUnion<readonly [z.ZodObject<{
|
|
296
324
|
path: z.ZodString;
|
|
@@ -306,6 +334,7 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
306
334
|
zip: "zip";
|
|
307
335
|
tar: "tar";
|
|
308
336
|
"tar.gz": "tar.gz";
|
|
337
|
+
"tar.bz2": "tar.bz2";
|
|
309
338
|
}>;
|
|
310
339
|
member: z.ZodUnion<readonly [z.ZodObject<{
|
|
311
340
|
path: z.ZodString;
|
|
@@ -320,6 +349,7 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
320
349
|
zip: "zip";
|
|
321
350
|
tar: "tar";
|
|
322
351
|
"tar.gz": "tar.gz";
|
|
352
|
+
"tar.bz2": "tar.bz2";
|
|
323
353
|
}>;
|
|
324
354
|
members: z.ZodUnion<readonly [z.ZodObject<{
|
|
325
355
|
path: z.ZodString;
|
|
@@ -355,6 +385,25 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
355
385
|
"utf-8": "utf-8";
|
|
356
386
|
latin1: "latin1";
|
|
357
387
|
}>;
|
|
388
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
389
|
+
format: z.ZodLiteral<"user-item-ratings">;
|
|
390
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
391
|
+
delimiter: z.ZodEnum<{
|
|
392
|
+
tab: "tab";
|
|
393
|
+
comma: "comma";
|
|
394
|
+
"double-colon": "double-colon";
|
|
395
|
+
}>;
|
|
396
|
+
skipLines: z.ZodInt;
|
|
397
|
+
itemType: z.ZodEnum<{
|
|
398
|
+
movie: "movie";
|
|
399
|
+
product: "product";
|
|
400
|
+
}>;
|
|
401
|
+
maxRating: z.ZodNumber;
|
|
402
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
403
|
+
format: z.ZodLiteral<"konect">;
|
|
404
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
405
|
+
weighted: z.ZodBoolean;
|
|
406
|
+
timestamped: z.ZodBoolean;
|
|
358
407
|
}, z.core.$strict>, z.ZodObject<{
|
|
359
408
|
format: z.ZodLiteral<"gml">;
|
|
360
409
|
encoding: z.ZodEnum<{
|
|
@@ -523,11 +572,14 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
523
572
|
kind: z.ZodLiteral<"none">;
|
|
524
573
|
}, z.core.$strict>, z.ZodObject<{
|
|
525
574
|
kind: z.ZodLiteral<"gzip">;
|
|
575
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
576
|
+
kind: z.ZodLiteral<"bzip2">;
|
|
526
577
|
}, z.core.$strict>, z.ZodObject<{
|
|
527
578
|
kind: z.ZodEnum<{
|
|
528
579
|
zip: "zip";
|
|
529
580
|
tar: "tar";
|
|
530
581
|
"tar.gz": "tar.gz";
|
|
582
|
+
"tar.bz2": "tar.bz2";
|
|
531
583
|
}>;
|
|
532
584
|
member: z.ZodUnion<readonly [z.ZodObject<{
|
|
533
585
|
path: z.ZodString;
|
|
@@ -543,6 +595,7 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
543
595
|
zip: "zip";
|
|
544
596
|
tar: "tar";
|
|
545
597
|
"tar.gz": "tar.gz";
|
|
598
|
+
"tar.bz2": "tar.bz2";
|
|
546
599
|
}>;
|
|
547
600
|
member: z.ZodUnion<readonly [z.ZodObject<{
|
|
548
601
|
path: z.ZodString;
|
|
@@ -557,6 +610,7 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
557
610
|
zip: "zip";
|
|
558
611
|
tar: "tar";
|
|
559
612
|
"tar.gz": "tar.gz";
|
|
613
|
+
"tar.bz2": "tar.bz2";
|
|
560
614
|
}>;
|
|
561
615
|
members: z.ZodUnion<readonly [z.ZodObject<{
|
|
562
616
|
path: z.ZodString;
|
|
@@ -592,6 +646,25 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
592
646
|
"utf-8": "utf-8";
|
|
593
647
|
latin1: "latin1";
|
|
594
648
|
}>;
|
|
649
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
650
|
+
format: z.ZodLiteral<"user-item-ratings">;
|
|
651
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
652
|
+
delimiter: z.ZodEnum<{
|
|
653
|
+
tab: "tab";
|
|
654
|
+
comma: "comma";
|
|
655
|
+
"double-colon": "double-colon";
|
|
656
|
+
}>;
|
|
657
|
+
skipLines: z.ZodInt;
|
|
658
|
+
itemType: z.ZodEnum<{
|
|
659
|
+
movie: "movie";
|
|
660
|
+
product: "product";
|
|
661
|
+
}>;
|
|
662
|
+
maxRating: z.ZodNumber;
|
|
663
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
664
|
+
format: z.ZodLiteral<"konect">;
|
|
665
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
666
|
+
weighted: z.ZodBoolean;
|
|
667
|
+
timestamped: z.ZodBoolean;
|
|
595
668
|
}, z.core.$strict>, z.ZodObject<{
|
|
596
669
|
format: z.ZodLiteral<"gml">;
|
|
597
670
|
encoding: z.ZodEnum<{
|
|
@@ -728,7 +801,7 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
728
801
|
status: "fetchable";
|
|
729
802
|
source: number;
|
|
730
803
|
archive: {
|
|
731
|
-
kind: "zip" | "tar" | "tar.gz";
|
|
804
|
+
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
732
805
|
members: {
|
|
733
806
|
path: string;
|
|
734
807
|
} | {
|
|
@@ -741,7 +814,9 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
741
814
|
} | {
|
|
742
815
|
kind: "gzip";
|
|
743
816
|
} | {
|
|
744
|
-
kind: "
|
|
817
|
+
kind: "bzip2";
|
|
818
|
+
} | {
|
|
819
|
+
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
745
820
|
member: {
|
|
746
821
|
path: string;
|
|
747
822
|
} | {
|
|
@@ -752,7 +827,7 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
752
827
|
inner?: {
|
|
753
828
|
kind: "gzip";
|
|
754
829
|
} | {
|
|
755
|
-
kind: "zip" | "tar" | "tar.gz";
|
|
830
|
+
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
756
831
|
member: {
|
|
757
832
|
path: string;
|
|
758
833
|
} | {
|
|
@@ -798,6 +873,18 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
798
873
|
} | {
|
|
799
874
|
format: "matrix-market";
|
|
800
875
|
encoding: "utf-8" | "latin1";
|
|
876
|
+
} | {
|
|
877
|
+
format: "user-item-ratings";
|
|
878
|
+
encoding: "utf-8";
|
|
879
|
+
delimiter: "tab" | "comma" | "double-colon";
|
|
880
|
+
skipLines: number;
|
|
881
|
+
itemType: "movie" | "product";
|
|
882
|
+
maxRating: number;
|
|
883
|
+
} | {
|
|
884
|
+
format: "konect";
|
|
885
|
+
encoding: "utf-8";
|
|
886
|
+
weighted: boolean;
|
|
887
|
+
timestamped: boolean;
|
|
801
888
|
} | {
|
|
802
889
|
format: "gml";
|
|
803
890
|
encoding: "utf-8" | "latin1";
|
|
@@ -1015,11 +1102,14 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1015
1102
|
kind: z.ZodLiteral<"none">;
|
|
1016
1103
|
}, z.core.$strict>, z.ZodObject<{
|
|
1017
1104
|
kind: z.ZodLiteral<"gzip">;
|
|
1105
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1106
|
+
kind: z.ZodLiteral<"bzip2">;
|
|
1018
1107
|
}, z.core.$strict>, z.ZodObject<{
|
|
1019
1108
|
kind: z.ZodEnum<{
|
|
1020
1109
|
zip: "zip";
|
|
1021
1110
|
tar: "tar";
|
|
1022
1111
|
"tar.gz": "tar.gz";
|
|
1112
|
+
"tar.bz2": "tar.bz2";
|
|
1023
1113
|
}>;
|
|
1024
1114
|
member: z.ZodUnion<readonly [z.ZodObject<{
|
|
1025
1115
|
path: z.ZodString;
|
|
@@ -1035,6 +1125,7 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1035
1125
|
zip: "zip";
|
|
1036
1126
|
tar: "tar";
|
|
1037
1127
|
"tar.gz": "tar.gz";
|
|
1128
|
+
"tar.bz2": "tar.bz2";
|
|
1038
1129
|
}>;
|
|
1039
1130
|
member: z.ZodUnion<readonly [z.ZodObject<{
|
|
1040
1131
|
path: z.ZodString;
|
|
@@ -1049,6 +1140,7 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1049
1140
|
zip: "zip";
|
|
1050
1141
|
tar: "tar";
|
|
1051
1142
|
"tar.gz": "tar.gz";
|
|
1143
|
+
"tar.bz2": "tar.bz2";
|
|
1052
1144
|
}>;
|
|
1053
1145
|
members: z.ZodUnion<readonly [z.ZodObject<{
|
|
1054
1146
|
path: z.ZodString;
|
|
@@ -1084,6 +1176,25 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1084
1176
|
"utf-8": "utf-8";
|
|
1085
1177
|
latin1: "latin1";
|
|
1086
1178
|
}>;
|
|
1179
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1180
|
+
format: z.ZodLiteral<"user-item-ratings">;
|
|
1181
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
1182
|
+
delimiter: z.ZodEnum<{
|
|
1183
|
+
tab: "tab";
|
|
1184
|
+
comma: "comma";
|
|
1185
|
+
"double-colon": "double-colon";
|
|
1186
|
+
}>;
|
|
1187
|
+
skipLines: z.ZodInt;
|
|
1188
|
+
itemType: z.ZodEnum<{
|
|
1189
|
+
movie: "movie";
|
|
1190
|
+
product: "product";
|
|
1191
|
+
}>;
|
|
1192
|
+
maxRating: z.ZodNumber;
|
|
1193
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1194
|
+
format: z.ZodLiteral<"konect">;
|
|
1195
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
1196
|
+
weighted: z.ZodBoolean;
|
|
1197
|
+
timestamped: z.ZodBoolean;
|
|
1087
1198
|
}, z.core.$strict>, z.ZodObject<{
|
|
1088
1199
|
format: z.ZodLiteral<"gml">;
|
|
1089
1200
|
encoding: z.ZodEnum<{
|
|
@@ -1220,7 +1331,7 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1220
1331
|
status: "fetchable";
|
|
1221
1332
|
source: number;
|
|
1222
1333
|
archive: {
|
|
1223
|
-
kind: "zip" | "tar" | "tar.gz";
|
|
1334
|
+
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
1224
1335
|
members: {
|
|
1225
1336
|
path: string;
|
|
1226
1337
|
} | {
|
|
@@ -1233,7 +1344,9 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1233
1344
|
} | {
|
|
1234
1345
|
kind: "gzip";
|
|
1235
1346
|
} | {
|
|
1236
|
-
kind: "
|
|
1347
|
+
kind: "bzip2";
|
|
1348
|
+
} | {
|
|
1349
|
+
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
1237
1350
|
member: {
|
|
1238
1351
|
path: string;
|
|
1239
1352
|
} | {
|
|
@@ -1244,7 +1357,7 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1244
1357
|
inner?: {
|
|
1245
1358
|
kind: "gzip";
|
|
1246
1359
|
} | {
|
|
1247
|
-
kind: "zip" | "tar" | "tar.gz";
|
|
1360
|
+
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
1248
1361
|
member: {
|
|
1249
1362
|
path: string;
|
|
1250
1363
|
} | {
|
|
@@ -1290,6 +1403,18 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1290
1403
|
} | {
|
|
1291
1404
|
format: "matrix-market";
|
|
1292
1405
|
encoding: "utf-8" | "latin1";
|
|
1406
|
+
} | {
|
|
1407
|
+
format: "user-item-ratings";
|
|
1408
|
+
encoding: "utf-8";
|
|
1409
|
+
delimiter: "tab" | "comma" | "double-colon";
|
|
1410
|
+
skipLines: number;
|
|
1411
|
+
itemType: "movie" | "product";
|
|
1412
|
+
maxRating: number;
|
|
1413
|
+
} | {
|
|
1414
|
+
format: "konect";
|
|
1415
|
+
encoding: "utf-8";
|
|
1416
|
+
weighted: boolean;
|
|
1417
|
+
timestamped: boolean;
|
|
1293
1418
|
} | {
|
|
1294
1419
|
format: "gml";
|
|
1295
1420
|
encoding: "utf-8" | "latin1";
|
|
@@ -1403,7 +1528,7 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1403
1528
|
status: "fetchable";
|
|
1404
1529
|
source: number;
|
|
1405
1530
|
archive: {
|
|
1406
|
-
kind: "zip" | "tar" | "tar.gz";
|
|
1531
|
+
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
1407
1532
|
members: {
|
|
1408
1533
|
path: string;
|
|
1409
1534
|
} | {
|
|
@@ -1416,7 +1541,9 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1416
1541
|
} | {
|
|
1417
1542
|
kind: "gzip";
|
|
1418
1543
|
} | {
|
|
1419
|
-
kind: "
|
|
1544
|
+
kind: "bzip2";
|
|
1545
|
+
} | {
|
|
1546
|
+
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
1420
1547
|
member: {
|
|
1421
1548
|
path: string;
|
|
1422
1549
|
} | {
|
|
@@ -1427,7 +1554,7 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1427
1554
|
inner?: {
|
|
1428
1555
|
kind: "gzip";
|
|
1429
1556
|
} | {
|
|
1430
|
-
kind: "zip" | "tar" | "tar.gz";
|
|
1557
|
+
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
1431
1558
|
member: {
|
|
1432
1559
|
path: string;
|
|
1433
1560
|
} | {
|
|
@@ -1473,6 +1600,18 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1473
1600
|
} | {
|
|
1474
1601
|
format: "matrix-market";
|
|
1475
1602
|
encoding: "utf-8" | "latin1";
|
|
1603
|
+
} | {
|
|
1604
|
+
format: "user-item-ratings";
|
|
1605
|
+
encoding: "utf-8";
|
|
1606
|
+
delimiter: "tab" | "comma" | "double-colon";
|
|
1607
|
+
skipLines: number;
|
|
1608
|
+
itemType: "movie" | "product";
|
|
1609
|
+
maxRating: number;
|
|
1610
|
+
} | {
|
|
1611
|
+
format: "konect";
|
|
1612
|
+
encoding: "utf-8";
|
|
1613
|
+
weighted: boolean;
|
|
1614
|
+
timestamped: boolean;
|
|
1476
1615
|
} | {
|
|
1477
1616
|
format: "gml";
|
|
1478
1617
|
encoding: "utf-8" | "latin1";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as CrosswalkReference, A as Catalogue, B as ManifestSchema, C as JsonScalarSchema, Ct as waybackUrl, D as GraphNodeSchema, E as GraphNode, F as NamespaceNode, G as ArchiveMember, H as parseManifest, I as createCatalogue, J as Citation, K as ArchiveMemberSchema, L as Lineage, M as CatalogueIndexSchema, N as Dataset, O as GraphV1, P as DatasetQuery, Q as ColumnNameSchema, R as LineageSchema, S as JsonScalar, St as parseEntry, T as GraphEdgeSchema, U as AliasSchema, V as SemVerSchema, W as Archive, X as CollectionArchive, Y as CitationSchema, Z as CollectionArchiveSchema, _ as TasksV1, _t as SnapshotSchema, a as CategoryTargets, at as IdSchema, b as Instance, bt as SubjectSchema, c as countTarget, ct as Namespace, d as getCollectionTarget, dt as ParserSchema, et as CrosswalkReferenceSchema, f as getTarget, ft as RESERVED_META_KEYS, g as TaskSchema, gt as Snapshot, h as Task, ht as RelativePathSchema, i as CategoryTarget, it as HttpUrlSchema, j as CatalogueIndex, k as GraphV1Schema, l as countedKeys, lt as NamespaceSchema, m as listCategories, mt as RecipeSchema, n as CategoryId, nt as Entry, o as CollectionTarget, ot as Licence, p as kindOf, pt as Recipe, q as ArchiveSchema, r as CategoryIdSchema, rt as EntrySchema, s as CountedKey, st as LicenceSchema, t as Category, tt as DocumentArchive, u as getCategory, ut as Parser, v as TasksV1Schema, vt as Source, w as GraphEdge, x as collectionOf, xt as WaybackTimestampSchema, y as Collection, yt as SourceSchema, z as Manifest } from "./categories-
|
|
1
|
+
import { $ as CrosswalkReference, A as Catalogue, B as ManifestSchema, C as JsonScalarSchema, Ct as waybackUrl, D as GraphNodeSchema, E as GraphNode, F as NamespaceNode, G as ArchiveMember, H as parseManifest, I as createCatalogue, J as Citation, K as ArchiveMemberSchema, L as Lineage, M as CatalogueIndexSchema, N as Dataset, O as GraphV1, P as DatasetQuery, Q as ColumnNameSchema, R as LineageSchema, S as JsonScalar, St as parseEntry, T as GraphEdgeSchema, U as AliasSchema, V as SemVerSchema, W as Archive, X as CollectionArchive, Y as CitationSchema, Z as CollectionArchiveSchema, _ as TasksV1, _t as SnapshotSchema, a as CategoryTargets, at as IdSchema, b as Instance, bt as SubjectSchema, c as countTarget, ct as Namespace, d as getCollectionTarget, dt as ParserSchema, et as CrosswalkReferenceSchema, f as getTarget, ft as RESERVED_META_KEYS, g as TaskSchema, gt as Snapshot, h as Task, ht as RelativePathSchema, i as CategoryTarget, it as HttpUrlSchema, j as CatalogueIndex, k as GraphV1Schema, l as countedKeys, lt as NamespaceSchema, m as listCategories, mt as RecipeSchema, n as CategoryId, nt as Entry, o as CollectionTarget, ot as Licence, p as kindOf, pt as Recipe, q as ArchiveSchema, r as CategoryIdSchema, rt as EntrySchema, s as CountedKey, st as LicenceSchema, t as Category, tt as DocumentArchive, u as getCategory, ut as Parser, v as TasksV1Schema, vt as Source, w as GraphEdge, x as collectionOf, xt as WaybackTimestampSchema, y as Collection, yt as SourceSchema, z as Manifest } from "./categories-DUG7URRd.js";
|
|
2
2
|
import { Crosswalk } from "crossmap";
|
|
3
3
|
//#region src/errors.d.ts
|
|
4
4
|
/** The root of this package's error taxonomy: every error keepset throws is a `KeepsetError`, so callers can catch the family with one check. */
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as ArchiveError, A as WaybackTimestampSchema, B as countedKeys, C as ParserSchema, D as SnapshotSchema, E as RelativePathSchema, F as groupsOf, G as listCategories, H as getCollectionTarget, I as namesOf, J as collectionOf, K as TaskSchema, M as toIssues, N as waybackUrl, O as SourceSchema, P as NAME_SEPARATOR, Q as JsonScalarSchema, R as CategoryIdSchema, S as NamespaceSchema, T as RecipeSchema, U as getTarget, V as getCategory, W as kindOf, X as GraphNodeSchema, Y as GraphEdgeSchema, Z as GraphV1Schema, _ as CrosswalkReferenceSchema, a as CatalogueIndexSchema, at as RecipeError, b as IdSchema, c as ManifestSchema, d as AliasSchema, et as CatalogueSyntaxError, f as ArchiveMemberSchema, g as ColumnNameSchema, h as CollectionArchiveSchema, i as listNamespaces, it as NativeParseError, j as parseEntry, k as SubjectSchema, l as SemVerSchema, m as CitationSchema, n as getManifest, nt as DatasetNotFoundError, o as createCatalogue, ot as UnknownCategoryError, p as ArchiveSchema, q as TasksV1Schema, r as listDatasets, rt as KeepsetError, s as LineageSchema, t as getDataset, tt as DatasetAmbiguousError, u as parseManifest, v as EntrySchema, w as RESERVED_META_KEYS, x as LicenceSchema, y as HttpUrlSchema, z as countTarget } from "./bundled-
|
|
1
|
+
import { $ as ArchiveError, A as WaybackTimestampSchema, B as countedKeys, C as ParserSchema, D as SnapshotSchema, E as RelativePathSchema, F as groupsOf, G as listCategories, H as getCollectionTarget, I as namesOf, J as collectionOf, K as TaskSchema, M as toIssues, N as waybackUrl, O as SourceSchema, P as NAME_SEPARATOR, Q as JsonScalarSchema, R as CategoryIdSchema, S as NamespaceSchema, T as RecipeSchema, U as getTarget, V as getCategory, W as kindOf, X as GraphNodeSchema, Y as GraphEdgeSchema, Z as GraphV1Schema, _ as CrosswalkReferenceSchema, a as CatalogueIndexSchema, at as RecipeError, b as IdSchema, c as ManifestSchema, d as AliasSchema, et as CatalogueSyntaxError, f as ArchiveMemberSchema, g as ColumnNameSchema, h as CollectionArchiveSchema, i as listNamespaces, it as NativeParseError, j as parseEntry, k as SubjectSchema, l as SemVerSchema, m as CitationSchema, n as getManifest, nt as DatasetNotFoundError, o as createCatalogue, ot as UnknownCategoryError, p as ArchiveSchema, q as TasksV1Schema, r as listDatasets, rt as KeepsetError, s as LineageSchema, t as getDataset, tt as DatasetAmbiguousError, u as parseManifest, v as EntrySchema, w as RESERVED_META_KEYS, x as LicenceSchema, y as HttpUrlSchema, z as countTarget } from "./bundled-CPSe9InV.js";
|
|
2
2
|
import { validateCrosswalk } from "crossmap";
|
|
3
3
|
//#region src/serialise.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as Dataset, gt as Snapshot, i as CategoryTarget, nt as Entry, o as CollectionTarget, vt as Source } from "../categories-
|
|
1
|
+
import { N as Dataset, gt as Snapshot, i as CategoryTarget, nt as Entry, o as CollectionTarget, vt as Source } from "../categories-DUG7URRd.js";
|
|
2
2
|
//#region src/node/fetch-dataset.d.ts
|
|
3
3
|
/** The network port a recipe downloads through: `downloadRaw` by default, which returns the bytes exactly as served, or a stand-in under test. */
|
|
4
4
|
export type FetchPort = (url: string, init: {
|