@svartz/theme-api-docs
16 exported symbols.
Interfaces
| i ApiDocsThemeConfig | The vault's `theme` settings for API docs. |
| i ApiParameter | |
| i ApiResponse | |
| i GraphqlOperation | |
| i RestOperation | |
| i SocketMessage | One kind of WebSocket message, by who sends it: the client (`send`) or the server (`receive`). |
| i WebSocketOperation | A WebSocket endpoint: the upgrade request's parameters and responses, then the messages over the open socket. |
Types
| t ApiOperation | The `operation` frontmatter schema, one endpoint or GraphQL field per note. An OpenAPI or GraphQL SDL plugin emits this shape. |
Functions
| f default | Node-safe manifest used by the build pipeline. |
| f theme | Vite-bundled runtime manifest. |
Variables
| v apiRenderers | REST endpoints, WebSockets, GraphQL operations, and shared schemas. |
| v extensions | The Node-safe extension the build composes. |
| v extensions | REST, GraphQL, and schema pages on theme-minimal, with the reference frame. Compose them with other themes' extensions. |
| v graphqlRenderer | `operation.protocol: graphql`: one query, mutation, or subscription field per page. |
| v restRenderer | `operation.protocol: rest` (the default): one HTTP endpoint per page. |
| v websocketRenderer | `operation.protocol: websocket`: one WebSocket endpoint per page, listed after the path's HTTP methods. |