diff options
| author | netop://ウィビ <paul@webb.page> | 2026-04-24 16:37:33 -0700 |
|---|---|---|
| committer | netop://ウィビ <paul@webb.page> | 2026-04-24 16:37:33 -0700 |
| commit | 510fd8cbe53abb39cba2c7cbaaefcf2783dc0066 (patch) | |
| tree | 8f753a33c475b285f2a297785d34cda3b0a8faed /source/library/index.ts | |
| parent | 261f3bdb77799009344aab4a60686b7186ebd3b0 (diff) | |
| download | graphiql-510fd8cbe53abb39cba2c7cbaaefcf2783dc0066.tar.gz graphiql-510fd8cbe53abb39cba2c7cbaaefcf2783dc0066.zip | |
Implement v0.6-1.0: shortcuts, format, export/import, splitter, timing, APQ
- v0.6: matchShortcut + format(); Cmd+Shift+Enter/W/F + Cmd+Alt+arrows
- v0.7: SessionStore.exportAll/importTabs with version-1 validator
- v0.8: Splitter component + four resize handles persisted under layout.*
- v0.10: createApqFetcher (HTTP-only) wrapping shared http-body helpers
- Drop .svelte re-exports from index.ts for multi-entry JSR/npm publishing
Diffstat (limited to 'source/library/index.ts')
| -rw-r--r-- | source/library/index.ts | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/source/library/index.ts b/source/library/index.ts index 2bec6e4..d68955b 100644 --- a/source/library/index.ts +++ b/source/library/index.ts @@ -3,16 +3,20 @@ /*** EXPORT ------------------------------------------- ***/ +export { createApqFetcher } from "./fetcher/apq.ts"; export { createHttpFetcher } from "./fetcher/http.ts"; export { createLocalStorage, createMemoryStorage } from "./state/storage.ts"; export { createSseFetcher } from "./fetcher/sse.ts"; export { createWsFetcher } from "./fetcher/websocket.ts"; -export { default as GraphiQL } from "./GraphiQL.svelte"; +export { format } from "./graphql/format.ts"; export { HistoryStore } from "./state/history.svelte.ts"; export { lightTheme } from "./themes/light.ts"; +export { matchShortcut } from "./state/keyboard.ts"; export { SchemaStore } from "./state/schema.svelte.ts"; export { SessionStore } from "./state/session.svelte.ts"; +export { validateSessionExport } from "./state/session-io.ts"; +export type { ApqOptions } from "./fetcher/apq.ts"; export type { Extension } from "@codemirror/state"; export type { @@ -23,13 +27,20 @@ export type { } from "./fetcher/types.ts"; export type { HistoryEntry, HistoryInput } from "./state/history.svelte.ts"; +export type { + ImportResult, + SessionExport, + TabExport +} from "./state/session-io.ts"; export type { OperationInfo } from "./graphql/operations.ts"; +export type { ShortcutAction } from "./state/keyboard.ts"; export type { SseFetcherOptions } from "./fetcher/sse.ts"; export type { Storage } from "./state/storage.ts"; export type { RunOptions, SubscriptionMode, Tab, - TabSeed + TabSeed, + TabTiming } from "./state/session.svelte.ts"; export type { WsFetcherOptions } from "./fetcher/websocket.ts"; |