From 552e686aeb67687474a0e37c9a81c715601ea55d Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sun, 15 Jan 2023 02:37:35 +0100 Subject: [PATCH] Updated model #162 --- kdb-bot/src/bot_graphql/filter/level_filter.py | 4 ---- kdb-bot/src/bot_graphql/model.gql | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/kdb-bot/src/bot_graphql/filter/level_filter.py b/kdb-bot/src/bot_graphql/filter/level_filter.py index e12f40cb..314b9112 100644 --- a/kdb-bot/src/bot_graphql/filter/level_filter.py +++ b/kdb-bot/src/bot_graphql/filter/level_filter.py @@ -1,10 +1,6 @@ -from cpl_core.dependency_injection import ServiceProviderABC -from cpl_discord.container import Guild -from cpl_discord.service import DiscordBotServiceABC from cpl_query.extension import List from bot_data.model.level import Level -from bot_data.model.server import Server from bot_graphql.abc.filter_abc import FilterABC diff --git a/kdb-bot/src/bot_graphql/model.gql b/kdb-bot/src/bot_graphql/model.gql index 727b92c1..e30efb9b 100644 --- a/kdb-bot/src/bot_graphql/model.gql +++ b/kdb-bot/src/bot_graphql/model.gql @@ -93,6 +93,11 @@ type UserJoinedVoiceChannel implements TableQuery { input LevelFilter { id: ID name: String + + page_index: Int + page_size: Int + sort_direction: String + sort_column: String } type Level implements TableQuery {