@finbheara/archive-client 0.10.0 → 0.11.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 +7 -2
- package/dist/chunks/{index-hs72zekf.js → index-7hw19tw1.js} +644 -633
- package/dist/cli.js +1 -1
- package/dist/index.js +5 -5
- package/dist/types/stream.d.ts +6 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -8,6 +8,10 @@ import {
|
|
|
8
8
|
nameLevel2,
|
|
9
9
|
NO_CALENDAR2,
|
|
10
10
|
FeisFinder2,
|
|
11
|
+
columnsOf2,
|
|
12
|
+
FEATURES2,
|
|
13
|
+
capabilityOf2,
|
|
14
|
+
needsRelease2,
|
|
11
15
|
entryRank2,
|
|
12
16
|
FEIS_LOCAL_ID_FLOOR2,
|
|
13
17
|
ResultFinder2,
|
|
@@ -36,17 +40,13 @@ import {
|
|
|
36
40
|
httpsRemote2,
|
|
37
41
|
fallbackRemote2,
|
|
38
42
|
setRemote2,
|
|
39
|
-
columnsOf2,
|
|
40
|
-
FEATURES2,
|
|
41
|
-
capabilityOf2,
|
|
42
|
-
needsRelease2,
|
|
43
43
|
resolveTag2,
|
|
44
44
|
Release2,
|
|
45
45
|
openRelease2,
|
|
46
46
|
openCached2,
|
|
47
47
|
ReleaseManager2,
|
|
48
48
|
releases2
|
|
49
|
-
} from "./chunks/index-
|
|
49
|
+
} from "./chunks/index-7hw19tw1.js";
|
|
50
50
|
import {
|
|
51
51
|
cacheRoot2,
|
|
52
52
|
repoOf2
|
package/dist/types/stream.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export interface StreamRow {
|
|
|
50
50
|
dancer_scope: "per-release" | "stable" | null;
|
|
51
51
|
yob: number | null;
|
|
52
52
|
yob_printed: string | null;
|
|
53
|
+
printed_age: string | null;
|
|
53
54
|
points_printed: string | null;
|
|
54
55
|
platform_dancer_id: string | null;
|
|
55
56
|
primary_source: string | null;
|
|
@@ -60,8 +61,12 @@ export interface EntryRow extends StreamRow {
|
|
|
60
61
|
recall_place: number | null;
|
|
61
62
|
}
|
|
62
63
|
export declare function entryRank(section: string): number;
|
|
64
|
+
export interface StreamColumns {
|
|
65
|
+
printedAge: boolean;
|
|
66
|
+
}
|
|
67
|
+
export declare const streamColumns: (db: Database) => StreamColumns;
|
|
63
68
|
export declare const scopeDb: (s: StreamScope) => "majors" | "results";
|
|
64
|
-
export declare function streamSql(q: StreamQuery): {
|
|
69
|
+
export declare function streamSql(q: StreamQuery, carried?: StreamColumns): {
|
|
65
70
|
sql: string;
|
|
66
71
|
args: (string | number)[];
|
|
67
72
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finbheara/archive-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Open a versioned release of an Irish dance results archive: download, verify, decompress and cache it by tag, keep the cache, and resolve feises and schools against it",
|
|
5
5
|
"keywords": ["irish-dance", "results", "release", "cache", "sqlite"],
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@finbheara/domain": "0.50.0",
|
|
48
|
-
"@finbheara/names": "0.
|
|
48
|
+
"@finbheara/names": "0.25.0",
|
|
49
49
|
"hyparquet": "1.31.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|