refactor(tests): hide helper-only types · openclaw/openclaw@490ef68
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
File tree
agents/embedded-agent-runner/run
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,7 +3,7 @@
|
3 | 3 | import { expect } from "vitest"; |
4 | 4 | import { buildEmbeddedRunPayloads } from "./payloads.js"; |
5 | 5 | |
6 | | -export type BuildPayloadParams = Parameters<typeof buildEmbeddedRunPayloads>[0]; |
| 6 | +type BuildPayloadParams = Parameters<typeof buildEmbeddedRunPayloads>[0]; |
7 | 7 | type RunPayloads = ReturnType<typeof buildEmbeddedRunPayloads>; |
8 | 8 | |
9 | 9 | export function buildPayloads(overrides: Partial<BuildPayloadParams> = {}) { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -5,7 +5,7 @@ import type { WebSocketServer } from "ws";
|
5 | 5 | import { PROTOCOL_VERSION } from "../../packages/gateway-protocol/src/index.js"; |
6 | 6 | import { rawDataToString } from "../infra/ws.js"; |
7 | 7 | |
8 | | -export type MinimalGatewayRequestFrame = { |
| 8 | +type MinimalGatewayRequestFrame = { |
9 | 9 | type?: string; |
10 | 10 | id?: string; |
11 | 11 | method?: string; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。