keepset 0.37.0 → 0.38.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-CRr7GPD3.js → bundled-U2l4WT5T.js} +358 -61
- package/dist/{categories-Djnk3zwg.d.ts → categories-gZh8cn-G.d.ts} +130 -14
- 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 +910 -80
- package/dist-cli/keepset.mjs +1 -1
- package/package.json +1 -1
- package/schemas/entry.schema.json +1 -1
- package/schemas/manifest.schema.json +1 -1
|
@@ -114,7 +114,7 @@ declare const PartsArchiveSchema: z.ZodObject<{
|
|
|
114
114
|
}, z.core.$strict>>;
|
|
115
115
|
}, z.core.$strict>;
|
|
116
116
|
type PartsArchive = z.infer<typeof PartsArchiveSchema>;
|
|
117
|
-
/** How the downloaded bytes unpack into the file the parser reads, the named files a parser reads together into one document (`parts`), 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
|
|
117
|
+
/** How the downloaded bytes unpack into the file the parser reads, the named files a parser reads together into one document (`parts`), 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, a spreadsheet inside a zip) is unpacked by `inner`. A spreadsheet (`xlsx`, `xls` or `ods`) is read as the CSV of its named sheet, with dates as ISO 8601 text, for the `csv-table` or `edge-list` parser. A point shapefile (`shapefile`) is a zip whose `member` selects the `.shp`, read with the `.dbf`, `.prj` and `.cpg` of the same name beside it as the CSV of its attribute table with each point's stored coordinates and its WGS84 position, for the `csv-table` parser. */
|
|
118
118
|
declare const ArchiveSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
119
119
|
kind: z.ZodLiteral<"none">;
|
|
120
120
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -151,6 +151,13 @@ declare const ArchiveSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
151
151
|
}, z.core.$strict>, z.ZodObject<{
|
|
152
152
|
pattern: z.ZodString;
|
|
153
153
|
}, z.core.$strict>]>;
|
|
154
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
155
|
+
kind: z.ZodEnum<{
|
|
156
|
+
xlsx: "xlsx";
|
|
157
|
+
xls: "xls";
|
|
158
|
+
ods: "ods";
|
|
159
|
+
}>;
|
|
160
|
+
sheet: z.ZodString;
|
|
154
161
|
}, z.core.$strict>]>>;
|
|
155
162
|
}, z.core.$strict>, z.ZodObject<{
|
|
156
163
|
kind: z.ZodEnum<{
|
|
@@ -188,7 +195,11 @@ declare const ArchiveSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
188
195
|
}, z.core.$strict>]>;
|
|
189
196
|
}, z.core.$strict>>;
|
|
190
197
|
}, z.core.$strict>, z.ZodObject<{
|
|
191
|
-
kind: z.
|
|
198
|
+
kind: z.ZodEnum<{
|
|
199
|
+
xlsx: "xlsx";
|
|
200
|
+
xls: "xls";
|
|
201
|
+
ods: "ods";
|
|
202
|
+
}>;
|
|
192
203
|
sheet: z.ZodString;
|
|
193
204
|
}, z.core.$strict>, z.ZodObject<{
|
|
194
205
|
kind: z.ZodLiteral<"shapefile">;
|
|
@@ -227,6 +238,12 @@ declare const ParserSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
227
238
|
commentPrefixes: z.ZodArray<z.ZodString>;
|
|
228
239
|
sourceColumn: z.ZodInt;
|
|
229
240
|
targetColumn: z.ZodInt;
|
|
241
|
+
keep: z.ZodOptional<z.ZodObject<{
|
|
242
|
+
column: z.ZodInt;
|
|
243
|
+
values: z.ZodArray<z.ZodString>;
|
|
244
|
+
}, z.core.$strict>>;
|
|
245
|
+
multiplicityColumn: z.ZodOptional<z.ZodInt>;
|
|
246
|
+
mirrored: z.ZodOptional<z.ZodLiteral<true>>;
|
|
230
247
|
}, z.core.$strict>, z.ZodObject<{
|
|
231
248
|
format: z.ZodLiteral<"matrix-market">;
|
|
232
249
|
encoding: z.ZodEnum<{
|
|
@@ -316,6 +333,9 @@ declare const ParserSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
316
333
|
"utf-8": "utf-8";
|
|
317
334
|
latin1: "latin1";
|
|
318
335
|
}>;
|
|
336
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
337
|
+
format: z.ZodLiteral<"witvliet-synapses">;
|
|
338
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
319
339
|
}, z.core.$strict>, z.ZodObject<{
|
|
320
340
|
format: z.ZodLiteral<"customer-points">;
|
|
321
341
|
encoding: z.ZodEnum<{
|
|
@@ -438,6 +458,13 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
438
458
|
}, z.core.$strict>, z.ZodObject<{
|
|
439
459
|
pattern: z.ZodString;
|
|
440
460
|
}, z.core.$strict>]>;
|
|
461
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
462
|
+
kind: z.ZodEnum<{
|
|
463
|
+
xlsx: "xlsx";
|
|
464
|
+
xls: "xls";
|
|
465
|
+
ods: "ods";
|
|
466
|
+
}>;
|
|
467
|
+
sheet: z.ZodString;
|
|
441
468
|
}, z.core.$strict>]>>;
|
|
442
469
|
}, z.core.$strict>, z.ZodObject<{
|
|
443
470
|
kind: z.ZodEnum<{
|
|
@@ -475,7 +502,11 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
475
502
|
}, z.core.$strict>]>;
|
|
476
503
|
}, z.core.$strict>>;
|
|
477
504
|
}, z.core.$strict>, z.ZodObject<{
|
|
478
|
-
kind: z.
|
|
505
|
+
kind: z.ZodEnum<{
|
|
506
|
+
xlsx: "xlsx";
|
|
507
|
+
xls: "xls";
|
|
508
|
+
ods: "ods";
|
|
509
|
+
}>;
|
|
479
510
|
sheet: z.ZodString;
|
|
480
511
|
}, z.core.$strict>, z.ZodObject<{
|
|
481
512
|
kind: z.ZodLiteral<"shapefile">;
|
|
@@ -504,6 +535,12 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
504
535
|
commentPrefixes: z.ZodArray<z.ZodString>;
|
|
505
536
|
sourceColumn: z.ZodInt;
|
|
506
537
|
targetColumn: z.ZodInt;
|
|
538
|
+
keep: z.ZodOptional<z.ZodObject<{
|
|
539
|
+
column: z.ZodInt;
|
|
540
|
+
values: z.ZodArray<z.ZodString>;
|
|
541
|
+
}, z.core.$strict>>;
|
|
542
|
+
multiplicityColumn: z.ZodOptional<z.ZodInt>;
|
|
543
|
+
mirrored: z.ZodOptional<z.ZodLiteral<true>>;
|
|
507
544
|
}, z.core.$strict>, z.ZodObject<{
|
|
508
545
|
format: z.ZodLiteral<"matrix-market">;
|
|
509
546
|
encoding: z.ZodEnum<{
|
|
@@ -593,6 +630,9 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
593
630
|
"utf-8": "utf-8";
|
|
594
631
|
latin1: "latin1";
|
|
595
632
|
}>;
|
|
633
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
634
|
+
format: z.ZodLiteral<"witvliet-synapses">;
|
|
635
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
596
636
|
}, z.core.$strict>, z.ZodObject<{
|
|
597
637
|
format: z.ZodLiteral<"customer-points">;
|
|
598
638
|
encoding: z.ZodEnum<{
|
|
@@ -771,6 +811,13 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
771
811
|
}, z.core.$strict>, z.ZodObject<{
|
|
772
812
|
pattern: z.ZodString;
|
|
773
813
|
}, z.core.$strict>]>;
|
|
814
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
815
|
+
kind: z.ZodEnum<{
|
|
816
|
+
xlsx: "xlsx";
|
|
817
|
+
xls: "xls";
|
|
818
|
+
ods: "ods";
|
|
819
|
+
}>;
|
|
820
|
+
sheet: z.ZodString;
|
|
774
821
|
}, z.core.$strict>]>>;
|
|
775
822
|
}, z.core.$strict>, z.ZodObject<{
|
|
776
823
|
kind: z.ZodEnum<{
|
|
@@ -808,7 +855,11 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
808
855
|
}, z.core.$strict>]>;
|
|
809
856
|
}, z.core.$strict>>;
|
|
810
857
|
}, z.core.$strict>, z.ZodObject<{
|
|
811
|
-
kind: z.
|
|
858
|
+
kind: z.ZodEnum<{
|
|
859
|
+
xlsx: "xlsx";
|
|
860
|
+
xls: "xls";
|
|
861
|
+
ods: "ods";
|
|
862
|
+
}>;
|
|
812
863
|
sheet: z.ZodString;
|
|
813
864
|
}, z.core.$strict>, z.ZodObject<{
|
|
814
865
|
kind: z.ZodLiteral<"shapefile">;
|
|
@@ -837,6 +888,12 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
837
888
|
commentPrefixes: z.ZodArray<z.ZodString>;
|
|
838
889
|
sourceColumn: z.ZodInt;
|
|
839
890
|
targetColumn: z.ZodInt;
|
|
891
|
+
keep: z.ZodOptional<z.ZodObject<{
|
|
892
|
+
column: z.ZodInt;
|
|
893
|
+
values: z.ZodArray<z.ZodString>;
|
|
894
|
+
}, z.core.$strict>>;
|
|
895
|
+
multiplicityColumn: z.ZodOptional<z.ZodInt>;
|
|
896
|
+
mirrored: z.ZodOptional<z.ZodLiteral<true>>;
|
|
840
897
|
}, z.core.$strict>, z.ZodObject<{
|
|
841
898
|
format: z.ZodLiteral<"matrix-market">;
|
|
842
899
|
encoding: z.ZodEnum<{
|
|
@@ -926,6 +983,9 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
926
983
|
"utf-8": "utf-8";
|
|
927
984
|
latin1: "latin1";
|
|
928
985
|
}>;
|
|
986
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
987
|
+
format: z.ZodLiteral<"witvliet-synapses">;
|
|
988
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
929
989
|
}, z.core.$strict>, z.ZodObject<{
|
|
930
990
|
format: z.ZodLiteral<"customer-points">;
|
|
931
991
|
encoding: z.ZodEnum<{
|
|
@@ -1052,6 +1112,9 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
1052
1112
|
kind: "xlsx";
|
|
1053
1113
|
sheets?: string | undefined;
|
|
1054
1114
|
} | undefined;
|
|
1115
|
+
} | {
|
|
1116
|
+
kind: "xlsx" | "xls" | "ods";
|
|
1117
|
+
sheet: string;
|
|
1055
1118
|
} | {
|
|
1056
1119
|
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
1057
1120
|
parts: {
|
|
@@ -1080,6 +1143,9 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
1080
1143
|
pattern: string;
|
|
1081
1144
|
};
|
|
1082
1145
|
inner?: {
|
|
1146
|
+
kind: "xlsx" | "xls" | "ods";
|
|
1147
|
+
sheet: string;
|
|
1148
|
+
} | {
|
|
1083
1149
|
kind: "gzip";
|
|
1084
1150
|
} | {
|
|
1085
1151
|
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
@@ -1091,9 +1157,6 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
1091
1157
|
pattern: string;
|
|
1092
1158
|
};
|
|
1093
1159
|
} | undefined;
|
|
1094
|
-
} | {
|
|
1095
|
-
kind: "xlsx";
|
|
1096
|
-
sheet: string;
|
|
1097
1160
|
} | {
|
|
1098
1161
|
kind: "shapefile";
|
|
1099
1162
|
member: {
|
|
@@ -1112,6 +1175,12 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
1112
1175
|
commentPrefixes: string[];
|
|
1113
1176
|
sourceColumn: number;
|
|
1114
1177
|
targetColumn: number;
|
|
1178
|
+
keep?: {
|
|
1179
|
+
column: number;
|
|
1180
|
+
values: string[];
|
|
1181
|
+
} | undefined;
|
|
1182
|
+
multiplicityColumn?: number | undefined;
|
|
1183
|
+
mirrored?: true | undefined;
|
|
1115
1184
|
} | {
|
|
1116
1185
|
format: "hgb";
|
|
1117
1186
|
encoding: "utf-8";
|
|
@@ -1184,6 +1253,9 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
1184
1253
|
} | {
|
|
1185
1254
|
format: "gd-contest";
|
|
1186
1255
|
encoding: "utf-8" | "latin1";
|
|
1256
|
+
} | {
|
|
1257
|
+
format: "witvliet-synapses";
|
|
1258
|
+
encoding: "utf-8";
|
|
1187
1259
|
} | {
|
|
1188
1260
|
format: "customer-points";
|
|
1189
1261
|
encoding: "utf-8" | "latin1";
|
|
@@ -1423,6 +1495,13 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1423
1495
|
}, z.core.$strict>, z.ZodObject<{
|
|
1424
1496
|
pattern: z.ZodString;
|
|
1425
1497
|
}, z.core.$strict>]>;
|
|
1498
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1499
|
+
kind: z.ZodEnum<{
|
|
1500
|
+
xlsx: "xlsx";
|
|
1501
|
+
xls: "xls";
|
|
1502
|
+
ods: "ods";
|
|
1503
|
+
}>;
|
|
1504
|
+
sheet: z.ZodString;
|
|
1426
1505
|
}, z.core.$strict>]>>;
|
|
1427
1506
|
}, z.core.$strict>, z.ZodObject<{
|
|
1428
1507
|
kind: z.ZodEnum<{
|
|
@@ -1460,7 +1539,11 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1460
1539
|
}, z.core.$strict>]>;
|
|
1461
1540
|
}, z.core.$strict>>;
|
|
1462
1541
|
}, z.core.$strict>, z.ZodObject<{
|
|
1463
|
-
kind: z.
|
|
1542
|
+
kind: z.ZodEnum<{
|
|
1543
|
+
xlsx: "xlsx";
|
|
1544
|
+
xls: "xls";
|
|
1545
|
+
ods: "ods";
|
|
1546
|
+
}>;
|
|
1464
1547
|
sheet: z.ZodString;
|
|
1465
1548
|
}, z.core.$strict>, z.ZodObject<{
|
|
1466
1549
|
kind: z.ZodLiteral<"shapefile">;
|
|
@@ -1489,6 +1572,12 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1489
1572
|
commentPrefixes: z.ZodArray<z.ZodString>;
|
|
1490
1573
|
sourceColumn: z.ZodInt;
|
|
1491
1574
|
targetColumn: z.ZodInt;
|
|
1575
|
+
keep: z.ZodOptional<z.ZodObject<{
|
|
1576
|
+
column: z.ZodInt;
|
|
1577
|
+
values: z.ZodArray<z.ZodString>;
|
|
1578
|
+
}, z.core.$strict>>;
|
|
1579
|
+
multiplicityColumn: z.ZodOptional<z.ZodInt>;
|
|
1580
|
+
mirrored: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1492
1581
|
}, z.core.$strict>, z.ZodObject<{
|
|
1493
1582
|
format: z.ZodLiteral<"matrix-market">;
|
|
1494
1583
|
encoding: z.ZodEnum<{
|
|
@@ -1578,6 +1667,9 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1578
1667
|
"utf-8": "utf-8";
|
|
1579
1668
|
latin1: "latin1";
|
|
1580
1669
|
}>;
|
|
1670
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1671
|
+
format: z.ZodLiteral<"witvliet-synapses">;
|
|
1672
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
1581
1673
|
}, z.core.$strict>, z.ZodObject<{
|
|
1582
1674
|
format: z.ZodLiteral<"customer-points">;
|
|
1583
1675
|
encoding: z.ZodEnum<{
|
|
@@ -1704,6 +1796,9 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1704
1796
|
kind: "xlsx";
|
|
1705
1797
|
sheets?: string | undefined;
|
|
1706
1798
|
} | undefined;
|
|
1799
|
+
} | {
|
|
1800
|
+
kind: "xlsx" | "xls" | "ods";
|
|
1801
|
+
sheet: string;
|
|
1707
1802
|
} | {
|
|
1708
1803
|
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
1709
1804
|
parts: {
|
|
@@ -1732,6 +1827,9 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1732
1827
|
pattern: string;
|
|
1733
1828
|
};
|
|
1734
1829
|
inner?: {
|
|
1830
|
+
kind: "xlsx" | "xls" | "ods";
|
|
1831
|
+
sheet: string;
|
|
1832
|
+
} | {
|
|
1735
1833
|
kind: "gzip";
|
|
1736
1834
|
} | {
|
|
1737
1835
|
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
@@ -1743,9 +1841,6 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1743
1841
|
pattern: string;
|
|
1744
1842
|
};
|
|
1745
1843
|
} | undefined;
|
|
1746
|
-
} | {
|
|
1747
|
-
kind: "xlsx";
|
|
1748
|
-
sheet: string;
|
|
1749
1844
|
} | {
|
|
1750
1845
|
kind: "shapefile";
|
|
1751
1846
|
member: {
|
|
@@ -1764,6 +1859,12 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1764
1859
|
commentPrefixes: string[];
|
|
1765
1860
|
sourceColumn: number;
|
|
1766
1861
|
targetColumn: number;
|
|
1862
|
+
keep?: {
|
|
1863
|
+
column: number;
|
|
1864
|
+
values: string[];
|
|
1865
|
+
} | undefined;
|
|
1866
|
+
multiplicityColumn?: number | undefined;
|
|
1867
|
+
mirrored?: true | undefined;
|
|
1767
1868
|
} | {
|
|
1768
1869
|
format: "hgb";
|
|
1769
1870
|
encoding: "utf-8";
|
|
@@ -1836,6 +1937,9 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1836
1937
|
} | {
|
|
1837
1938
|
format: "gd-contest";
|
|
1838
1939
|
encoding: "utf-8" | "latin1";
|
|
1940
|
+
} | {
|
|
1941
|
+
format: "witvliet-synapses";
|
|
1942
|
+
encoding: "utf-8";
|
|
1839
1943
|
} | {
|
|
1840
1944
|
format: "customer-points";
|
|
1841
1945
|
encoding: "utf-8" | "latin1";
|
|
@@ -1951,6 +2055,9 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1951
2055
|
kind: "xlsx";
|
|
1952
2056
|
sheets?: string | undefined;
|
|
1953
2057
|
} | undefined;
|
|
2058
|
+
} | {
|
|
2059
|
+
kind: "xlsx" | "xls" | "ods";
|
|
2060
|
+
sheet: string;
|
|
1954
2061
|
} | {
|
|
1955
2062
|
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
1956
2063
|
parts: {
|
|
@@ -1979,6 +2086,9 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1979
2086
|
pattern: string;
|
|
1980
2087
|
};
|
|
1981
2088
|
inner?: {
|
|
2089
|
+
kind: "xlsx" | "xls" | "ods";
|
|
2090
|
+
sheet: string;
|
|
2091
|
+
} | {
|
|
1982
2092
|
kind: "gzip";
|
|
1983
2093
|
} | {
|
|
1984
2094
|
kind: "zip" | "tar" | "tar.gz" | "tar.bz2";
|
|
@@ -1990,9 +2100,6 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1990
2100
|
pattern: string;
|
|
1991
2101
|
};
|
|
1992
2102
|
} | undefined;
|
|
1993
|
-
} | {
|
|
1994
|
-
kind: "xlsx";
|
|
1995
|
-
sheet: string;
|
|
1996
2103
|
} | {
|
|
1997
2104
|
kind: "shapefile";
|
|
1998
2105
|
member: {
|
|
@@ -2011,6 +2118,12 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
2011
2118
|
commentPrefixes: string[];
|
|
2012
2119
|
sourceColumn: number;
|
|
2013
2120
|
targetColumn: number;
|
|
2121
|
+
keep?: {
|
|
2122
|
+
column: number;
|
|
2123
|
+
values: string[];
|
|
2124
|
+
} | undefined;
|
|
2125
|
+
multiplicityColumn?: number | undefined;
|
|
2126
|
+
mirrored?: true | undefined;
|
|
2014
2127
|
} | {
|
|
2015
2128
|
format: "hgb";
|
|
2016
2129
|
encoding: "utf-8";
|
|
@@ -2083,6 +2196,9 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
2083
2196
|
} | {
|
|
2084
2197
|
format: "gd-contest";
|
|
2085
2198
|
encoding: "utf-8" | "latin1";
|
|
2199
|
+
} | {
|
|
2200
|
+
format: "witvliet-synapses";
|
|
2201
|
+
encoding: "utf-8";
|
|
2086
2202
|
} | {
|
|
2087
2203
|
format: "customer-points";
|
|
2088
2204
|
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 parseEntry, 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 WaybackTimestampSchema, 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 Snapshot, a as CategoryTargets, at as IdSchema, b as Instance, bt as SourceSchema, c as countTarget, ct as Namespace, d as getCollectionTarget, dt as ParserSchema, et as CrosswalkReferenceSchema, f as getTarget, ft as PartsArchive, g as TaskSchema, gt as RelativePathSchema, h as Task, ht as RecipeSchema, i as CategoryTarget, it as HttpUrlSchema, j as CatalogueIndex, k as GraphV1Schema, l as countedKeys, lt as NamespaceSchema, m as listCategories, mt as Recipe, n as CategoryId, nt as Entry, o as CollectionTarget, ot as Licence, p as kindOf, pt as RESERVED_META_KEYS, 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 SnapshotSchema, w as GraphEdge, wt as waybackUrl, x as collectionOf, xt as SubjectSchema, y as Collection, yt as Source, z as Manifest } from "./categories-
|
|
1
|
+
import { $ as CrosswalkReference, A as Catalogue, B as ManifestSchema, C as JsonScalarSchema, Ct as parseEntry, 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 WaybackTimestampSchema, 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 Snapshot, a as CategoryTargets, at as IdSchema, b as Instance, bt as SourceSchema, c as countTarget, ct as Namespace, d as getCollectionTarget, dt as ParserSchema, et as CrosswalkReferenceSchema, f as getTarget, ft as PartsArchive, g as TaskSchema, gt as RelativePathSchema, h as Task, ht as RecipeSchema, i as CategoryTarget, it as HttpUrlSchema, j as CatalogueIndex, k as GraphV1Schema, l as countedKeys, lt as NamespaceSchema, m as listCategories, mt as Recipe, n as CategoryId, nt as Entry, o as CollectionTarget, ot as Licence, p as kindOf, pt as RESERVED_META_KEYS, 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 SnapshotSchema, w as GraphEdge, wt as waybackUrl, x as collectionOf, xt as SubjectSchema, y as Collection, yt as Source, z as Manifest } from "./categories-gZh8cn-G.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-U2l4WT5T.js";
|
|
2
2
|
import { validateCrosswalk } from "crossmap";
|
|
3
3
|
//#region src/serialise.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as Dataset, _t as Snapshot, i as CategoryTarget, nt as Entry, o as CollectionTarget, yt as Source } from "../categories-
|
|
1
|
+
import { N as Dataset, _t as Snapshot, i as CategoryTarget, nt as Entry, o as CollectionTarget, yt as Source } from "../categories-gZh8cn-G.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: {
|