Merge pull request 'feat(teams): answer core's Team provider from the guild board' (#9) from feat/teams-phase2-provider into edge

Reviewed-on: #9
This commit is contained in:
2026-08-17 22:48:20 +00:00

View File

@@ -5,9 +5,10 @@
// core-internal (docs/website/TEAMS.md §10.3) and this module must never name // core-internal (docs/website/TEAMS.md §10.3) and this module must never name
// one, even though it is what fills them. // one, even though it is what fills them.
const core = require('../../core') // `query` is destructured from the core facade at require time, like every other
// *.db.js here. The facade resolves `ctx` per call, so taking it now is safe even
const query = (...args) => core.db.query(...args) // though `ctx` does not exist yet when this file is first required.
const { query } = require('../../core')
/** /**
* The guild board — one row per guild the shard has told us about. * The guild board — one row per guild the shard has told us about.