Add research CSV ZIP exports#8
Open
Spbd1 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
player_idreferences and omitting emails, IPs, names, comprehension answers, and other sensitive data.Description
players.csv,parcels.csv,decisions.csv,contracts.csv,server_events.csv,treasury_transactions.csv,round_outcomes.csv, andserver_summary.csv(apps/web/lib/services/researchExport.ts).researchExport.ts).GET /api/admin/servers/:serverId/export.zip(apps/web/app/api/admin/servers/[serverId]/export.zip/route.ts) andGET /api/admin/export/all.zip(apps/web/app/api/admin/export/all.zip/route.ts) that require admin auth and return the ZIP asapplication/zipwith appropriateContent-Dispositionheaders.apps/web/app/admin/exports/page.tsx).docs/data-dictionary.mddocumenting every exported column, types, missingness rules, and privacy notes (sensitive fields explicitly omitted).Testing
git diff --checkto validate no whitespace/merge errors and it succeeded.pnpm install, but the run failed due to an external registry authorization error (403for@tailwindcss/postcss), preventing full dependency installation and project-wide typechecking.pnpm --filter @parcel-society/web lint,pnpm --filter @parcel-society/web typecheck, andpnpm --filter @parcel-society/web testbut these could not complete becausepnpm installwas blocked and required dev/runtime packages (e.g.,vitest, type declarations) were missing.tscin this environment are primarily due to missing node modules / type definitions rather than the added export logic itself.Codex Task