global: snapshot

This commit is contained in:
nym21
2026-01-13 22:32:29 +01:00
parent 0c442b4a71
commit e77993fb76
61 changed files with 5047 additions and 5404 deletions
+7
View File
@@ -0,0 +1,7 @@
# Types
To check types run:
```sh
npx --package typescript tsc --noEmit --pretty false | grep -v "modules/"
```
File diff suppressed because it is too large Load Diff
+2 -9
View File
@@ -65,16 +65,9 @@ async function testAllEndpoints() {
}
try {
const endpoint = metric.by[idxName];
const res = await endpoint.last(1);
const count = res.data.length;
if (count !== 1) {
console.log(
`FAIL: ${fullPath} -> expected 1, got ${count}`,
);
return;
}
await endpoint.last(0);
success++;
console.log(`OK: ${fullPath} -> ${count} items`);
console.log(`OK: ${fullPath}`);
} catch (e) {
console.log(
`FAIL: ${fullPath} -> ${e instanceof Error ? e.message : e}`,