feat(economy): add interactive editors for creating and editing EconomyItems and Mobs

This commit is contained in:
2025-10-05 01:20:52 -05:00
parent d448357369
commit d04f54eb3d
5 changed files with 569 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
import { prisma } from '../../core/database/prisma';
import type { Prisma } from '@prisma/client';
import { Prisma } from '@prisma/client';
async function upsertEconomyItem(guildId: string | null, key: string, data: Omit<Parameters<typeof prisma.economyItem.create>[0]['data'], 'key' | 'guildId'>) {
if (guildId) {