From 8a59f92d031963e23ecc84b75feecf43eb4dd146 Mon Sep 17 00:00:00 2001 From: "netop://ウィビ" Date: Fri, 24 Apr 2026 11:33:25 -0700 Subject: Initial commit: @eol/graphiql v0.3 Svelte 5 GraphiQL alternative for JSR. Covers: - HTTP fetcher with injectable fetch; SSE/WS stubs - Session store with tabs, auto-titling, persistence, rename - Operation detection via graphql parse(); Toolbar picker - CodeMirror 6 editor via cm6-graphql with theme prop - Light theme preset (hand-rolled EditorView.theme) - Doc explorer with breadcrumb nav and type guards - History panel with 100-entry cap, favorite pinning - Deno tests for operations, storage, and history eviction --- source/library/components/DocExplorer.svelte | 226 +++++++++++++++++++++++++++ 1 file changed, 226 insertions(+) create mode 100644 source/library/components/DocExplorer.svelte (limited to 'source/library/components/DocExplorer.svelte') diff --git a/source/library/components/DocExplorer.svelte b/source/library/components/DocExplorer.svelte new file mode 100644 index 0000000..536cb2a --- /dev/null +++ b/source/library/components/DocExplorer.svelte @@ -0,0 +1,226 @@ + + + + +
+ +
+ {#if stack.length === 0} +
+ +
+ {#each rootTypes as entry} + + {/each} +
+
+ {:else if currentField} + + {:else if currentType} + + {:else} +
Type not found in schema.
+ {/if} +
+
-- cgit v1.2.3