refactor: trim gateway runtime type exports · openclaw/openclaw@6635526
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import { randomUUID } from "node:crypto"; |
2 | 2 | |
3 | | -export const NODE_PENDING_WORK_TYPES = ["status.request", "location.request"] as const; |
| 3 | +const NODE_PENDING_WORK_TYPES = ["status.request", "location.request"] as const; |
4 | 4 | export type NodePendingWorkType = (typeof NODE_PENDING_WORK_TYPES)[number]; |
5 | 5 | |
6 | | -export const NODE_PENDING_WORK_PRIORITIES = ["default", "normal", "high"] as const; |
| 6 | +const NODE_PENDING_WORK_PRIORITIES = ["default", "normal", "high"] as const; |
7 | 7 | export type NodePendingWorkPriority = (typeof NODE_PENDING_WORK_PRIORITIES)[number]; |
8 | 8 | |
9 | | -export type NodePendingWorkItem = { |
| 9 | +type NodePendingWorkItem = { |
10 | 10 | id: string; |
11 | 11 | type: NodePendingWorkType; |
12 | 12 | priority: NodePendingWorkPriority; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。