refactor(tests): hide gateway state helper types · openclaw/openclaw@d03ef9d
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -5,7 +5,7 @@ import { vi } from "vitest";
|
5 | 5 | import type { GatewayClient, GatewayRequestContext, GatewayRequestHandlers } from "./types.js"; |
6 | 6 | |
7 | 7 | /** Captured JSON-RPC response tuple emitted by a gateway request handler. */ |
8 | | -export type CapturedGatewayResponse = { |
| 8 | +type CapturedGatewayResponse = { |
9 | 9 | ok: boolean | null; |
10 | 10 | response: unknown; |
11 | 11 | error: unknown; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,7 +3,7 @@ import { seedPluginStateDatabaseEntriesForTests } from "./plugin-state-store.sql
|
3 | 3 | |
4 | 4 | // Test-only seed helpers for plugin state. Values are serialized through the |
5 | 5 | // same JSON storage path used by the production sqlite store. |
6 | | -export type PluginStateSeedEntry = { |
| 6 | +type PluginStateSeedEntry = { |
7 | 7 | pluginId: string; |
8 | 8 | namespace: string; |
9 | 9 | key: string; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。