From 3c06c95f396b6e911076bc3291d5855ed01b5caa Mon Sep 17 00:00:00 2001
From: "netop://ウィビ" <paul@webb.page>
Date: Sun, 26 Apr 2026 20:18:30 -0700
Subject: cleanup and ready for launch

---
 playground/src/App.svelte | 31 ++++++++++++++++++++-----------
 1 file changed, 20 insertions(+), 11 deletions(-)

(limited to 'playground/src/App.svelte')

diff --git a/playground/src/App.svelte b/playground/src/App.svelte
index dc4f0a5..350f956 100644
--- a/playground/src/App.svelte
+++ b/playground/src/App.svelte
@@ -1,24 +1,33 @@
 <script lang="ts">
   /*** IMPORT ------------------------------------------- ***/
 
-  import { createHttpFetcher } from "../../source/library/index.ts";
+  import { createHttpFetcher, lightTheme } from "../../source/library/index.ts";
   import GraphiQL from "../../source/library/GraphiQL.svelte";
 
   /*** UTILITY ------------------------------------------ ***/
 
   const fetcher = createHttpFetcher({
     url: "https://graphql.pokeapi.co/v1beta2"
-    // url: "https://countries.trevorblades.com/"
   });
 
-  const initialQuery = `query Countries {
-  countries {
-    code
-    name
-    emoji
-  }
-}
-`;
+  const initialQuery = `
+    query best_grass_poison_pokemons {
+      pokemon: pokemon(
+        where: {_and: [{pokemontypes: {type: {name: {_eq: "grass"}}}}, {pokemontypes: {type: {name: {_eq: "poison"}}}}]}
+        order_by: {pokemonstats_aggregate: {sum: {base_stat: desc}}}
+        limit: 3
+      ) {
+        name
+        stats: pokemonstats_aggregate(order_by: {}) {
+          aggregate {
+            sum {
+              base_stat
+            }
+          }
+        }
+      }
+    }
+  `;
 </script>
 
-<GraphiQL {fetcher} {initialQuery}/>
+<GraphiQL {fetcher} {initialQuery} theme={lightTheme}/>
-- 
cgit v1.2.3

