keepset 0.26.0 → 0.27.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-V1EJ0k9e.js → bundled-qRweq3SB.js} +369 -26
- package/dist/{categories-HeWbVPhc.d.ts → categories-Dwo8gSp_.d.ts} +106 -1
- 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 +678 -87
- package/dist-cli/keepset.mjs +13 -3
- package/package.json +1 -1
- package/schemas/entry.schema.json +1 -1
- package/schemas/manifest.schema.json +1 -1
|
@@ -63,11 +63,13 @@ declare const CitationSchema: z.ZodObject<{
|
|
|
63
63
|
type Citation = z.infer<typeof CitationSchema>;
|
|
64
64
|
/** A relative path inside an archive or a catalogue: `/`-separated segments, none empty, `.` or `..`, so it can never climb out of the directory it is resolved against. */
|
|
65
65
|
declare const RelativePathSchema: z.ZodString;
|
|
66
|
-
/** Which file of an archive to read: a member path, matched against a member's whole path or its trailing segments (so `net.gml` finds `net/net.gml`),
|
|
66
|
+
/** Which file of an archive to read: a member path, matched against a member's whole path or its trailing segments (so `net.gml` finds `net/net.gml`), the member whose name ends with one of a list of extensions (a format can have several, such as Pajek's `.net` and `.paj`), or the member whose whole path matches a regular expression (for an archive whose instance files cannot be told from its readmes and solutions by extension). A `member` selector must match exactly one member when the recipe runs, a `members` selector at least one; macOS resource-fork members (`__MACOSX/` and `._` files) never match. */
|
|
67
67
|
declare const ArchiveMemberSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
68
68
|
path: z.ZodString;
|
|
69
69
|
}, z.core.$strict>, z.ZodObject<{
|
|
70
70
|
extensions: z.ZodArray<z.ZodString>;
|
|
71
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
72
|
+
pattern: z.ZodString;
|
|
71
73
|
}, z.core.$strict>]>;
|
|
72
74
|
type ArchiveMember = z.infer<typeof ArchiveMemberSchema>;
|
|
73
75
|
/** 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 workbook (`xlsx`) is read as the CSV of its named sheet, with dates as ISO 8601 text, for the `csv-table` parser. */
|
|
@@ -85,6 +87,8 @@ declare const ArchiveSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
85
87
|
path: z.ZodString;
|
|
86
88
|
}, z.core.$strict>, z.ZodObject<{
|
|
87
89
|
extensions: z.ZodArray<z.ZodString>;
|
|
90
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
91
|
+
pattern: z.ZodString;
|
|
88
92
|
}, z.core.$strict>]>;
|
|
89
93
|
}, z.core.$strict>, z.ZodObject<{
|
|
90
94
|
kind: z.ZodEnum<{
|
|
@@ -96,6 +100,8 @@ declare const ArchiveSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
96
100
|
path: z.ZodString;
|
|
97
101
|
}, z.core.$strict>, z.ZodObject<{
|
|
98
102
|
extensions: z.ZodArray<z.ZodString>;
|
|
103
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
104
|
+
pattern: z.ZodString;
|
|
99
105
|
}, z.core.$strict>]>;
|
|
100
106
|
}, z.core.$strict>, z.ZodObject<{
|
|
101
107
|
kind: z.ZodLiteral<"xlsx">;
|
|
@@ -140,6 +146,12 @@ declare const ParserSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
140
146
|
"utf-8": "utf-8";
|
|
141
147
|
latin1: "latin1";
|
|
142
148
|
}>;
|
|
149
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
150
|
+
format: z.ZodLiteral<"customer-points">;
|
|
151
|
+
encoding: z.ZodEnum<{
|
|
152
|
+
"utf-8": "utf-8";
|
|
153
|
+
latin1: "latin1";
|
|
154
|
+
}>;
|
|
143
155
|
}, z.core.$strict>, z.ZodObject<{
|
|
144
156
|
format: z.ZodLiteral<"solomon">;
|
|
145
157
|
encoding: z.ZodEnum<{
|
|
@@ -164,6 +176,12 @@ declare const ParserSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
164
176
|
"utf-8": "utf-8";
|
|
165
177
|
latin1: "latin1";
|
|
166
178
|
}>;
|
|
179
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
180
|
+
format: z.ZodLiteral<"verolog-2019">;
|
|
181
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
182
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
183
|
+
format: z.ZodLiteral<"vrp-rep">;
|
|
184
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
167
185
|
}, z.core.$strict>, z.ZodObject<{
|
|
168
186
|
format: z.ZodLiteral<"csv-table">;
|
|
169
187
|
encoding: z.ZodEnum<{
|
|
@@ -226,6 +244,8 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
226
244
|
path: z.ZodString;
|
|
227
245
|
}, z.core.$strict>, z.ZodObject<{
|
|
228
246
|
extensions: z.ZodArray<z.ZodString>;
|
|
247
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
248
|
+
pattern: z.ZodString;
|
|
229
249
|
}, z.core.$strict>]>;
|
|
230
250
|
}, z.core.$strict>, z.ZodObject<{
|
|
231
251
|
kind: z.ZodEnum<{
|
|
@@ -237,6 +257,8 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
237
257
|
path: z.ZodString;
|
|
238
258
|
}, z.core.$strict>, z.ZodObject<{
|
|
239
259
|
extensions: z.ZodArray<z.ZodString>;
|
|
260
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
261
|
+
pattern: z.ZodString;
|
|
240
262
|
}, z.core.$strict>]>;
|
|
241
263
|
}, z.core.$strict>, z.ZodObject<{
|
|
242
264
|
kind: z.ZodLiteral<"xlsx">;
|
|
@@ -277,6 +299,12 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
277
299
|
"utf-8": "utf-8";
|
|
278
300
|
latin1: "latin1";
|
|
279
301
|
}>;
|
|
302
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
303
|
+
format: z.ZodLiteral<"customer-points">;
|
|
304
|
+
encoding: z.ZodEnum<{
|
|
305
|
+
"utf-8": "utf-8";
|
|
306
|
+
latin1: "latin1";
|
|
307
|
+
}>;
|
|
280
308
|
}, z.core.$strict>, z.ZodObject<{
|
|
281
309
|
format: z.ZodLiteral<"solomon">;
|
|
282
310
|
encoding: z.ZodEnum<{
|
|
@@ -301,6 +329,12 @@ declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
301
329
|
"utf-8": "utf-8";
|
|
302
330
|
latin1: "latin1";
|
|
303
331
|
}>;
|
|
332
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
333
|
+
format: z.ZodLiteral<"verolog-2019">;
|
|
334
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
335
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
336
|
+
format: z.ZodLiteral<"vrp-rep">;
|
|
337
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
304
338
|
}, z.core.$strict>, z.ZodObject<{
|
|
305
339
|
format: z.ZodLiteral<"csv-table">;
|
|
306
340
|
encoding: z.ZodEnum<{
|
|
@@ -418,6 +452,8 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
418
452
|
path: z.ZodString;
|
|
419
453
|
}, z.core.$strict>, z.ZodObject<{
|
|
420
454
|
extensions: z.ZodArray<z.ZodString>;
|
|
455
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
456
|
+
pattern: z.ZodString;
|
|
421
457
|
}, z.core.$strict>]>;
|
|
422
458
|
}, z.core.$strict>, z.ZodObject<{
|
|
423
459
|
kind: z.ZodEnum<{
|
|
@@ -429,6 +465,8 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
429
465
|
path: z.ZodString;
|
|
430
466
|
}, z.core.$strict>, z.ZodObject<{
|
|
431
467
|
extensions: z.ZodArray<z.ZodString>;
|
|
468
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
469
|
+
pattern: z.ZodString;
|
|
432
470
|
}, z.core.$strict>]>;
|
|
433
471
|
}, z.core.$strict>, z.ZodObject<{
|
|
434
472
|
kind: z.ZodLiteral<"xlsx">;
|
|
@@ -469,6 +507,12 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
469
507
|
"utf-8": "utf-8";
|
|
470
508
|
latin1: "latin1";
|
|
471
509
|
}>;
|
|
510
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
511
|
+
format: z.ZodLiteral<"customer-points">;
|
|
512
|
+
encoding: z.ZodEnum<{
|
|
513
|
+
"utf-8": "utf-8";
|
|
514
|
+
latin1: "latin1";
|
|
515
|
+
}>;
|
|
472
516
|
}, z.core.$strict>, z.ZodObject<{
|
|
473
517
|
format: z.ZodLiteral<"solomon">;
|
|
474
518
|
encoding: z.ZodEnum<{
|
|
@@ -493,6 +537,12 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
493
537
|
"utf-8": "utf-8";
|
|
494
538
|
latin1: "latin1";
|
|
495
539
|
}>;
|
|
540
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
541
|
+
format: z.ZodLiteral<"verolog-2019">;
|
|
542
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
543
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
544
|
+
format: z.ZodLiteral<"vrp-rep">;
|
|
545
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
496
546
|
}, z.core.$strict>, z.ZodObject<{
|
|
497
547
|
format: z.ZodLiteral<"csv-table">;
|
|
498
548
|
encoding: z.ZodEnum<{
|
|
@@ -573,6 +623,8 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
573
623
|
path: string;
|
|
574
624
|
} | {
|
|
575
625
|
extensions: string[];
|
|
626
|
+
} | {
|
|
627
|
+
pattern: string;
|
|
576
628
|
};
|
|
577
629
|
} | {
|
|
578
630
|
kind: "none";
|
|
@@ -584,6 +636,8 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
584
636
|
path: string;
|
|
585
637
|
} | {
|
|
586
638
|
extensions: string[];
|
|
639
|
+
} | {
|
|
640
|
+
pattern: string;
|
|
587
641
|
};
|
|
588
642
|
} | {
|
|
589
643
|
kind: "xlsx";
|
|
@@ -628,6 +682,9 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
628
682
|
} | {
|
|
629
683
|
format: "pajek";
|
|
630
684
|
encoding: "utf-8" | "latin1";
|
|
685
|
+
} | {
|
|
686
|
+
format: "customer-points";
|
|
687
|
+
encoding: "utf-8" | "latin1";
|
|
631
688
|
} | {
|
|
632
689
|
format: "solomon";
|
|
633
690
|
encoding: "utf-8" | "latin1";
|
|
@@ -640,6 +697,12 @@ declare const EntrySchema: z.ZodObject<{
|
|
|
640
697
|
} | {
|
|
641
698
|
format: "tsplib";
|
|
642
699
|
encoding: "utf-8" | "latin1";
|
|
700
|
+
} | {
|
|
701
|
+
format: "verolog-2019";
|
|
702
|
+
encoding: "utf-8";
|
|
703
|
+
} | {
|
|
704
|
+
format: "vrp-rep";
|
|
705
|
+
encoding: "utf-8";
|
|
643
706
|
};
|
|
644
707
|
paging?: {
|
|
645
708
|
kind: "arcgis-query";
|
|
@@ -832,6 +895,8 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
832
895
|
path: z.ZodString;
|
|
833
896
|
}, z.core.$strict>, z.ZodObject<{
|
|
834
897
|
extensions: z.ZodArray<z.ZodString>;
|
|
898
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
899
|
+
pattern: z.ZodString;
|
|
835
900
|
}, z.core.$strict>]>;
|
|
836
901
|
}, z.core.$strict>, z.ZodObject<{
|
|
837
902
|
kind: z.ZodEnum<{
|
|
@@ -843,6 +908,8 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
843
908
|
path: z.ZodString;
|
|
844
909
|
}, z.core.$strict>, z.ZodObject<{
|
|
845
910
|
extensions: z.ZodArray<z.ZodString>;
|
|
911
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
912
|
+
pattern: z.ZodString;
|
|
846
913
|
}, z.core.$strict>]>;
|
|
847
914
|
}, z.core.$strict>, z.ZodObject<{
|
|
848
915
|
kind: z.ZodLiteral<"xlsx">;
|
|
@@ -883,6 +950,12 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
883
950
|
"utf-8": "utf-8";
|
|
884
951
|
latin1: "latin1";
|
|
885
952
|
}>;
|
|
953
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
954
|
+
format: z.ZodLiteral<"customer-points">;
|
|
955
|
+
encoding: z.ZodEnum<{
|
|
956
|
+
"utf-8": "utf-8";
|
|
957
|
+
latin1: "latin1";
|
|
958
|
+
}>;
|
|
886
959
|
}, z.core.$strict>, z.ZodObject<{
|
|
887
960
|
format: z.ZodLiteral<"solomon">;
|
|
888
961
|
encoding: z.ZodEnum<{
|
|
@@ -907,6 +980,12 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
907
980
|
"utf-8": "utf-8";
|
|
908
981
|
latin1: "latin1";
|
|
909
982
|
}>;
|
|
983
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
984
|
+
format: z.ZodLiteral<"verolog-2019">;
|
|
985
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
986
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
987
|
+
format: z.ZodLiteral<"vrp-rep">;
|
|
988
|
+
encoding: z.ZodLiteral<"utf-8">;
|
|
910
989
|
}, z.core.$strict>, z.ZodObject<{
|
|
911
990
|
format: z.ZodLiteral<"csv-table">;
|
|
912
991
|
encoding: z.ZodEnum<{
|
|
@@ -987,6 +1066,8 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
987
1066
|
path: string;
|
|
988
1067
|
} | {
|
|
989
1068
|
extensions: string[];
|
|
1069
|
+
} | {
|
|
1070
|
+
pattern: string;
|
|
990
1071
|
};
|
|
991
1072
|
} | {
|
|
992
1073
|
kind: "none";
|
|
@@ -998,6 +1079,8 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
998
1079
|
path: string;
|
|
999
1080
|
} | {
|
|
1000
1081
|
extensions: string[];
|
|
1082
|
+
} | {
|
|
1083
|
+
pattern: string;
|
|
1001
1084
|
};
|
|
1002
1085
|
} | {
|
|
1003
1086
|
kind: "xlsx";
|
|
@@ -1042,6 +1125,9 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1042
1125
|
} | {
|
|
1043
1126
|
format: "pajek";
|
|
1044
1127
|
encoding: "utf-8" | "latin1";
|
|
1128
|
+
} | {
|
|
1129
|
+
format: "customer-points";
|
|
1130
|
+
encoding: "utf-8" | "latin1";
|
|
1045
1131
|
} | {
|
|
1046
1132
|
format: "solomon";
|
|
1047
1133
|
encoding: "utf-8" | "latin1";
|
|
@@ -1054,6 +1140,12 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1054
1140
|
} | {
|
|
1055
1141
|
format: "tsplib";
|
|
1056
1142
|
encoding: "utf-8" | "latin1";
|
|
1143
|
+
} | {
|
|
1144
|
+
format: "verolog-2019";
|
|
1145
|
+
encoding: "utf-8";
|
|
1146
|
+
} | {
|
|
1147
|
+
format: "vrp-rep";
|
|
1148
|
+
encoding: "utf-8";
|
|
1057
1149
|
};
|
|
1058
1150
|
paging?: {
|
|
1059
1151
|
kind: "arcgis-query";
|
|
@@ -1137,6 +1229,8 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1137
1229
|
path: string;
|
|
1138
1230
|
} | {
|
|
1139
1231
|
extensions: string[];
|
|
1232
|
+
} | {
|
|
1233
|
+
pattern: string;
|
|
1140
1234
|
};
|
|
1141
1235
|
} | {
|
|
1142
1236
|
kind: "none";
|
|
@@ -1148,6 +1242,8 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1148
1242
|
path: string;
|
|
1149
1243
|
} | {
|
|
1150
1244
|
extensions: string[];
|
|
1245
|
+
} | {
|
|
1246
|
+
pattern: string;
|
|
1151
1247
|
};
|
|
1152
1248
|
} | {
|
|
1153
1249
|
kind: "xlsx";
|
|
@@ -1192,6 +1288,9 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1192
1288
|
} | {
|
|
1193
1289
|
format: "pajek";
|
|
1194
1290
|
encoding: "utf-8" | "latin1";
|
|
1291
|
+
} | {
|
|
1292
|
+
format: "customer-points";
|
|
1293
|
+
encoding: "utf-8" | "latin1";
|
|
1195
1294
|
} | {
|
|
1196
1295
|
format: "solomon";
|
|
1197
1296
|
encoding: "utf-8" | "latin1";
|
|
@@ -1204,6 +1303,12 @@ declare const CatalogueIndexSchema: z.ZodObject<{
|
|
|
1204
1303
|
} | {
|
|
1205
1304
|
format: "tsplib";
|
|
1206
1305
|
encoding: "utf-8" | "latin1";
|
|
1306
|
+
} | {
|
|
1307
|
+
format: "verolog-2019";
|
|
1308
|
+
encoding: "utf-8";
|
|
1309
|
+
} | {
|
|
1310
|
+
format: "vrp-rep";
|
|
1311
|
+
encoding: "utf-8";
|
|
1207
1312
|
};
|
|
1208
1313
|
paging?: {
|
|
1209
1314
|
kind: "arcgis-query";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as Parser, A as LineageSchema, B as Citation, C as CatalogueIndex, D as NamespaceNode, E as DatasetQuery, F as AliasSchema, G as Entry, H as ColumnNameSchema, I as Archive, J as IdSchema, K as EntrySchema, L as ArchiveMember, M as ManifestSchema, N as SemVerSchema, O as createCatalogue, P as parseManifest, Q as NamespaceSchema, R as ArchiveMemberSchema, S as Catalogue, T as Dataset, U as CrosswalkReference, V as CitationSchema, W as CrosswalkReferenceSchema, X as LicenceSchema, Y as Licence, Z as Namespace, _ as GraphEdgeSchema, a as CategoryTargets, at as Snapshot, b as GraphV1, c as getCategory, ct as SourceSchema, d as listCategories, dt as waybackUrl, et as ParserSchema, f as OrNode, g as GraphEdge, h as OrV1Schema, i as CategoryTarget, it as RelativePathSchema, j as Manifest, k as Lineage, l as getTarget, lt as WaybackTimestampSchema, m as OrV1, n as CategoryId, nt as Recipe, o as CountedKey, ot as SnapshotSchema, p as OrNodeSchema, q as HttpUrlSchema, r as CategoryIdSchema, rt as RecipeSchema, s as countTarget, st as Source, t as Category, tt as RESERVED_META_KEYS, u as kindOf, ut as parseEntry, v as GraphNode, w as CatalogueIndexSchema, x as GraphV1Schema, y as GraphNodeSchema, z as ArchiveSchema } from "./categories-
|
|
1
|
+
import { $ as Parser, A as LineageSchema, B as Citation, C as CatalogueIndex, D as NamespaceNode, E as DatasetQuery, F as AliasSchema, G as Entry, H as ColumnNameSchema, I as Archive, J as IdSchema, K as EntrySchema, L as ArchiveMember, M as ManifestSchema, N as SemVerSchema, O as createCatalogue, P as parseManifest, Q as NamespaceSchema, R as ArchiveMemberSchema, S as Catalogue, T as Dataset, U as CrosswalkReference, V as CitationSchema, W as CrosswalkReferenceSchema, X as LicenceSchema, Y as Licence, Z as Namespace, _ as GraphEdgeSchema, a as CategoryTargets, at as Snapshot, b as GraphV1, c as getCategory, ct as SourceSchema, d as listCategories, dt as waybackUrl, et as ParserSchema, f as OrNode, g as GraphEdge, h as OrV1Schema, i as CategoryTarget, it as RelativePathSchema, j as Manifest, k as Lineage, l as getTarget, lt as WaybackTimestampSchema, m as OrV1, n as CategoryId, nt as Recipe, o as CountedKey, ot as SnapshotSchema, p as OrNodeSchema, q as HttpUrlSchema, r as CategoryIdSchema, rt as RecipeSchema, s as countTarget, st as Source, t as Category, tt as RESERVED_META_KEYS, u as kindOf, ut as parseEntry, v as GraphNode, w as CatalogueIndexSchema, x as GraphV1Schema, y as GraphNodeSchema, z as ArchiveSchema } from "./categories-Dwo8gSp_.js";
|
|
2
2
|
import { Crosswalk } from "twindex";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/errors.d.ts
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as NativeParseError, A as toIssues, B as kindOf, C as RESERVED_META_KEYS, D as SourceSchema, E as SnapshotSchema, G as GraphNodeSchema, H as OrNodeSchema, I as CategoryIdSchema, J as ArchiveError, K as GraphV1Schema, L as countTarget, M as NAME_SEPARATOR, N as groupsOf, O as WaybackTimestampSchema, P as namesOf, Q as KeepsetError, R as getCategory, S as ParserSchema, T as RelativePathSchema, U as OrV1Schema, V as listCategories, W as GraphEdgeSchema, X as DatasetAmbiguousError, Y as CatalogueSyntaxError, Z as DatasetNotFoundError, _ as EntrySchema, a as CatalogueIndexSchema, b as LicenceSchema, c as ManifestSchema, d as AliasSchema, et as RecipeError, f as ArchiveMemberSchema, g as CrosswalkReferenceSchema, h as ColumnNameSchema, i as listNamespaces, j as waybackUrl, k as parseEntry, l as SemVerSchema, m as CitationSchema, n as getManifest, o as createCatalogue, p as ArchiveSchema, q as JsonScalarSchema, r as listDatasets, s as LineageSchema, t as getDataset, tt as UnknownCategoryError, u as parseManifest, v as HttpUrlSchema, w as RecipeSchema, x as NamespaceSchema, y as IdSchema, z as getTarget } from "./bundled-
|
|
1
|
+
import { $ as NativeParseError, A as toIssues, B as kindOf, C as RESERVED_META_KEYS, D as SourceSchema, E as SnapshotSchema, G as GraphNodeSchema, H as OrNodeSchema, I as CategoryIdSchema, J as ArchiveError, K as GraphV1Schema, L as countTarget, M as NAME_SEPARATOR, N as groupsOf, O as WaybackTimestampSchema, P as namesOf, Q as KeepsetError, R as getCategory, S as ParserSchema, T as RelativePathSchema, U as OrV1Schema, V as listCategories, W as GraphEdgeSchema, X as DatasetAmbiguousError, Y as CatalogueSyntaxError, Z as DatasetNotFoundError, _ as EntrySchema, a as CatalogueIndexSchema, b as LicenceSchema, c as ManifestSchema, d as AliasSchema, et as RecipeError, f as ArchiveMemberSchema, g as CrosswalkReferenceSchema, h as ColumnNameSchema, i as listNamespaces, j as waybackUrl, k as parseEntry, l as SemVerSchema, m as CitationSchema, n as getManifest, o as createCatalogue, p as ArchiveSchema, q as JsonScalarSchema, r as listDatasets, s as LineageSchema, t as getDataset, tt as UnknownCategoryError, u as parseManifest, v as HttpUrlSchema, w as RecipeSchema, x as NamespaceSchema, y as IdSchema, z as getTarget } from "./bundled-qRweq3SB.js";
|
|
2
2
|
import { validateCrosswalk } from "twindex";
|
|
3
3
|
//#region src/serialise.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as Entry, T as Dataset, at as Snapshot, i as CategoryTarget, st as Source } from "../categories-
|
|
1
|
+
import { G as Entry, T as Dataset, at as Snapshot, i as CategoryTarget, st as Source } from "../categories-Dwo8gSp_.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: {
|