diff --git a/package.json b/package.json index 09dd0cb..b302822 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "dependencies": { "@discordjs/core": "^0.6.0", "@discordjs/rest": "^1.7.1", - "@prisma/client": "^5.0.0", + "@prisma/client": "latest", "@sapphire/bitfield": "^1.2.0", "@sapphire/eslint-config": "^5.0.0", "@sapphire/prettier-config": "^1.4.5", @@ -61,7 +61,7 @@ "daisyui": "^3.2.1", "postcss": "^8.4.25", "postcss-import": "^15.1.0", - "prisma": "^5.0.0", + "prisma": "latest", "sass": "^1.63.6", "tailwindcss": "^3.3.2", "typescript": "^5.1.6", diff --git a/src/app/(dashboard)/guild/[guildId]/configScreen.tsx b/src/app/(dashboard)/guild/[guildId]/configScreen.tsx index 303c4e0..031be5b 100644 --- a/src/app/(dashboard)/guild/[guildId]/configScreen.tsx +++ b/src/app/(dashboard)/guild/[guildId]/configScreen.tsx @@ -9,7 +9,7 @@ import type { APIGuild } from 'discord-api-types/v10'; export default async function ConfigScreen(params: { guildId: string; databaseData: Guild; discordData: APIGuild }) { const guildRoles = await getGuildRoles(params.guildId); const guildChannels = await getGuildChannels(params.guildId); - const { guildId, databaseData, discordData } = params; + const { guildId, databaseData } = params; return (
diff --git a/yarn.lock b/yarn.lock index 86a0c03..84efa2c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -400,31 +400,31 @@ __metadata: languageName: node linkType: hard -"@prisma/client@npm:^5.0.0": - version: 5.0.0 - resolution: "@prisma/client@npm:5.0.0" +"@prisma/client@npm:latest": + version: 5.3.1 + resolution: "@prisma/client@npm:5.3.1" dependencies: - "@prisma/engines-version": 4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584 + "@prisma/engines-version": 5.3.1-2.61e140623197a131c2a6189271ffee05a7aa9a59 peerDependencies: prisma: "*" peerDependenciesMeta: prisma: optional: true - checksum: 332c2af44e880ffc9dd1223992bf6f45910094c7a3a540cbbfdda45d6caf3e82998376338abdf85e34a12f1082ae932f2385d6396c62fe4bba7ec6b84de54466 + checksum: 8017b721a231ab7b2b0f932507b02bf075aae2c6f6e630a69d7089ff33bab44fa50b50dd8a81655b7202092ffc19717d484ae5f183fc4f2a1822b0d228991a7c languageName: node linkType: hard -"@prisma/engines-version@npm:4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584": - version: 4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584 - resolution: "@prisma/engines-version@npm:4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584" - checksum: 8fcbceef3b554ee7fa404bead50be5286412a097b21723272aff298b289caf2802b01b84bb85c4c9f3b592eeac114c8d6e79db083f271dc8c54f453b4a515233 +"@prisma/engines-version@npm:5.3.1-2.61e140623197a131c2a6189271ffee05a7aa9a59": + version: 5.3.1-2.61e140623197a131c2a6189271ffee05a7aa9a59 + resolution: "@prisma/engines-version@npm:5.3.1-2.61e140623197a131c2a6189271ffee05a7aa9a59" + checksum: c1adf540c9330a54a000c3005a4621c5d8355f2e3b159121587d33f82bf5992f567ac453f0ce76dd48fac427ec4dbc55942228fcee10d522b0d2c03bddbe422a languageName: node linkType: hard -"@prisma/engines@npm:5.0.0": - version: 5.0.0 - resolution: "@prisma/engines@npm:5.0.0" - checksum: 31271d85c29709059f91051d4cef7acf874014ba0128b674ca2f842e5fac61d3011e9db246dfa67ba4803081d36dbc9e31492716bab677128588343c92117b2b +"@prisma/engines@npm:5.3.1": + version: 5.3.1 + resolution: "@prisma/engines@npm:5.3.1" + checksum: a231adad60ac42569b560ea9782bc181818d8ad15e65283d1317bda5d7aa754e5b536a3f9365ce1eda8961e1eff4eca5978c456fa9764a867fe4339d123e7371 languageName: node linkType: hard @@ -1225,7 +1225,7 @@ __metadata: dependencies: "@discordjs/core": ^0.6.0 "@discordjs/rest": ^1.7.1 - "@prisma/client": ^5.0.0 + "@prisma/client": latest "@sapphire/bitfield": ^1.2.0 "@sapphire/eslint-config": ^5.0.0 "@sapphire/prettier-config": ^1.4.5 @@ -1249,7 +1249,7 @@ __metadata: next-auth: ^4.22.1 postcss: ^8.4.25 postcss-import: ^15.1.0 - prisma: ^5.0.0 + prisma: latest react: 18.2.0 react-dom: 18.2.0 react-icons: ^4.10.1 @@ -4376,14 +4376,14 @@ __metadata: languageName: node linkType: hard -"prisma@npm:^5.0.0": - version: 5.0.0 - resolution: "prisma@npm:5.0.0" +"prisma@npm:latest": + version: 5.3.1 + resolution: "prisma@npm:5.3.1" dependencies: - "@prisma/engines": 5.0.0 + "@prisma/engines": 5.3.1 bin: prisma: build/index.js - checksum: fdc62377853d25b4db664c736fd0b08d2b0c6db5752e6f6c6ec3bda77634cfb79e6f49d52d4b8f54ddb8ec9c28fc3fb0c13f95caf61085447d0929e258af9284 + checksum: e825adbcb4eec81de276de5507fb7e5486db7788c8c9de36ba6ed73f9e87d9f56b64d0e183a31dc6b80f6737ae1fbcdb110aac44ab89299af646aeb966655bef languageName: node linkType: hard