refactor(commands): hide status task helper types · openclaw/openclaw@83ad2cd
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -8,7 +8,7 @@ import {
|
8 | 8 | import type { GatewayServiceRuntime } from "../daemon/service-runtime.js"; |
9 | 9 | import { readGatewayServiceState, type GatewayService } from "../daemon/service.js"; |
10 | 10 | |
11 | | -export type ServiceStatusSummary = { |
| 11 | +type ServiceStatusSummary = { |
12 | 12 | label: string; |
13 | 13 | installed: boolean | null; |
14 | 14 | loaded: boolean; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -36,7 +36,7 @@ export async function getUpdateCheckResult(params: {
|
36 | 36 | }); |
37 | 37 | } |
38 | 38 | |
39 | | -export type UpdateAvailability = { |
| 39 | +type UpdateAvailability = { |
40 | 40 | available: boolean; |
41 | 41 | hasGitUpdate: boolean; |
42 | 42 | hasRegistryUpdate: boolean; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -9,7 +9,7 @@ import {
|
9 | 9 | } from "../daemon/systemd.js"; |
10 | 10 | import type { RuntimeEnv } from "../runtime.js"; |
11 | 11 | |
12 | | -export type LingerPrompter = { |
| 12 | +type LingerPrompter = { |
13 | 13 | confirm?: (params: { message: string; initialValue?: boolean }) => Promise<boolean>; |
14 | 14 | note: (message: string, title?: string) => Promise<void> | void; |
15 | 15 | }; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -20,13 +20,13 @@ function listTaskJsonRecords(): TaskRecord[] {
|
20 | 20 | return listTaskRecords(); |
21 | 21 | } |
22 | 22 | |
23 | | -export type TasksListJsonArgs = { |
| 23 | +type TasksListJsonArgs = { |
24 | 24 | json?: boolean; |
25 | 25 | runtime?: string; |
26 | 26 | status?: string; |
27 | 27 | }; |
28 | 28 | |
29 | | -export type TasksAuditJsonArgs = { |
| 29 | +type TasksAuditJsonArgs = { |
30 | 30 | json?: boolean; |
31 | 31 | severity?: string; |
32 | 32 | code?: string; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。