DB & Dev Tools · APIs: requests, answers, environments, sockets and GraphQL

ApiRequestBuilder builds a request: its method and address, then tabs
for the query's pairs, headers, body and sign-in, with the address that
goes out under the field, the environment's {{variables}} filled in or
the missing ones named. Send hands the owner the request. The query's
pairs go through forms::KeyValueInput. ResponseViewer shows an answer's
status in its class's tone with its words, its time and size, then its
body, JSON indented, or its headers in a HeadersTable.
EnvironmentSelector picks a set of variables and masks secrets until
their eye opens them. CollectionTree holds saved requests in folders;
Enter opens one. WebSocketConsole shows a socket's messages, each
marked sent or received with its time, and sends on Enter while the
socket is open and the field holds words. GraphQLExplorer browses a
schema beside a query and its variables; Run waits for variables that
read as JSON and the answer shows as a tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-09-27 10:24:44 -04:00
1 parent 54eb947b34
commit 4550c87bf4
12 files changed
+1963 -8

No files matched your search

+12
View File
@@ -1,24 +1,36 @@
mod collection;
mod connection_form;
mod connections;
mod datum;
mod document;
mod environment;
mod graphql;
mod json_editor;
mod queries;
mod redis;
mod request;
mod response;
mod schema;
mod socket;
mod structure;
mod xml;
#[cfg(all(test, feature = "test-support"))]
mod tests;
pub use collection::{CollectionTree, Saved};
pub use connection_form::{ConnectionForm, TestState};
pub use connections::{Connection, ConnectionManager, ConnectionState, Engine};
pub use datum::{Datum, Unread, read_json, read_yaml};
pub use document::{JsonViewer, YamlViewer};
pub use environment::{Environment, EnvironmentSelector};
pub use graphql::{GraphQLExplorer, SchemaType, TypeKind};
pub use json_editor::JsonEditor;
pub use queries::{Outcome, PlanStep, QueryHistory, QueryPlanViewer, QueryRun};
pub use redis::{RedisKey, RedisKeyBrowser, RedisValue};
pub use request::{ApiRequest, ApiRequestBuilder, Auth, Method, percent, resolve};
pub use response::{ApiResponse, HeadersTable, ResponseViewer, reason, status_tone};
pub use schema::{DbTable, ERDiagram, Field, FieldKey, Schema, SchemaTree};
pub use socket::{Direction, SocketMessage, SocketState, WebSocketConsole};
pub use structure::{Index, IndexManager, TableStructureEditor};
pub use xml::{XmlElement, XmlNode, XmlViewer, read_xml};