mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-19 23:21:25 +02:00
- Integrate worldream (text-first world-building platform) into games/ - Configure as @worldream/web workspace package - Remove standalone git repo, now part of monorepo 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
499 B
JavaScript
19 lines
499 B
JavaScript
// Quick debug script to check character slugs
|
|
import { createClient } from '@supabase/supabase-js';
|
|
|
|
const supabaseUrl = 'your_supabase_url';
|
|
const supabaseKey = 'your_supabase_anon_key';
|
|
|
|
const supabase = createClient(supabaseUrl, supabaseKey);
|
|
|
|
async function checkSlugs() {
|
|
const { data, error } = await supabase
|
|
.from('nodes')
|
|
.select('slug, title, kind')
|
|
.eq('kind', 'character')
|
|
.ilike('title', '%magier%');
|
|
|
|
console.log('Found characters with "magier":', data);
|
|
}
|
|
|
|
// checkSlugs()
|