Skip to content

chore(supabase): drop dead SMP queries - #9

Open
jochemwhite wants to merge 1 commit into
mainfrom
chore/drop-dead-smp-queries
Open

jochemwhite wants to merge 1 commit into
mainfrom
chore/drop-dead-smp-queries

Conversation

@jochemwhite

Copy link
Copy Markdown
Contributor

Companion to streamwizard#222, which drops the Minecraft SMP tables from the database.

What goes

  • packages/supabase/src/queries/smp.tsupdateSmpPlayerOnlineStatus (writes smp_players.is_online) and getSmpActionsByTrigger (reads smp_actions). Nothing in this repo imports either, so this changes no behaviour. They were already dead code; once #222 lands they'd throw the moment anything wired them up.
  • The "./queries/smp" subpath export in packages/supabase/package.json — it points at the deleted file, so leaving it would advertise an entry point that no longer resolves.
  • The four SMP tables in the vendored generated types.

Structure only, no runtime code paths touched.

Verification

  • bun x turbo run check-types — the two Cannot find module 'next/server' / 'next/headers' failures in @repo/supabase are pre-existing, confirmed identical on a stashed clean tree. This branch adds none.
  • package.json still parses as valid JSON
  • No remaining smp references anywhere in the repo

Ordering

Independent of #222 — safe to merge either way round, since the code is unreferenced today and the tables are unused.

🤖 Generated with Claude Code

https://claude.ai/code/session_0177pZz5wqi3H3BJq4PLM1be

The Minecraft SMP tables are being dropped from the database
(streamwizard#222), so the queries that read them cannot work any more.

queries/smp.ts held updateSmpPlayerOnlineStatus and getSmpActionsByTrigger.
Nothing in this repo imported either, so removing them changes no behaviour —
they were already dead, and would have started throwing the moment anything
wired them up.

The "./queries/smp" subpath export goes with the file, otherwise package.json
would advertise an entry point that no longer resolves, and the vendored
generated types lose the four SMP tables.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0177pZz5wqi3H3BJq4PLM1be
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant