Skip to content

Commit b81c023

Browse files
committed
Merge #149: streaming CSV & Parquet export for transfers
Reconciled package-lock.json for @fast-csv/format + parquetjs-lite. Verified: tsc build clean.
2 parents 1da3a82 + b50a518 commit b81c023

4 files changed

Lines changed: 241 additions & 39 deletions

File tree

package-lock.json

Lines changed: 58 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,15 @@
6060
"@apollo/server": "^5.5.1",
6161
"@as-integrations/express4": "^1.1.2",
6262
"@asteasolutions/zod-to-openapi": "^8.5.0",
63+
"@fast-csv/format": "^5.0.7",
6364
"@prisma/client": "^5.10.0",
6465
"@stellar/stellar-sdk": "^15.0.1",
6566
"cors": "^2.8.5",
6667
"dotenv": "^16.4.5",
6768
"express": "^4.18.3",
6869
"express-rate-limit": "^8.3.2",
6970
"graphql": "^16.11.0",
71+
"parquetjs-lite": "^0.8.7",
7072
"ws": "^8.20.0",
7173
"zod": "^4.4.3"
7274
},

src/api.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { createAccountsRouter } from "./api/accounts";
99
import { createWebhooksRouter } from "./api/webhooks";
1010
import { createGraphQLMiddleware } from "./graphql/server";
1111
import { createPopularAssetsRouter } from "./routes/assets/popular";
12+
import { createExportsRouter } from "./routes/exports";
1213
import {
1314
hostFnQuerySchema,
1415
nftOwnerParamsSchema,
@@ -96,6 +97,9 @@ export function createApp(): express.Application {
9697
// ── Assets routes ───────────────────────────────────────────────────────────
9798
app.use("/assets", createPopularAssetsRouter());
9899

100+
// ── Export routes ─────────────────────────────────────────────────────────────
101+
app.use("/", createExportsRouter());
102+
99103
// ── Helpers ──────────────────────────────────────────────────────────────────
100104
const parseIntParam = (val: unknown, fallback: number): number => {
101105
const n = parseInt(String(val), 10);

0 commit comments

Comments
 (0)