chore(deadcode): remove stale exported type aliases · openclaw/openclaw@172412d
vincentkoc
·
2026-06-21
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,12 +3,9 @@ import {
|
3 | 3 | clearStoreWriterQueuesForTest, |
4 | 4 | drainStoreWriterQueuesForTest, |
5 | 5 | type StoreWriterQueue, |
6 | | -type StoreWriterTask, |
7 | 6 | } from "../../shared/store-writer-queue.js"; |
8 | 7 | import { clearSessionStoreCaches } from "./store-cache.js"; |
9 | 8 | |
10 | | -/** Queued session store write task type. */ |
11 | | -export type SessionStoreWriterTask = StoreWriterTask; |
12 | 9 | export type SessionStoreWriterQueue = StoreWriterQueue; |
13 | 10 | |
14 | 11 | export const WRITER_QUEUES = new Map<string, SessionStoreWriterQueue>(); |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -59,7 +59,6 @@ export type ClawHubPackageArtifactSummary = {
|
59 | 59 | tarballUrl?: string | null; |
60 | 60 | legacyDownloadUrl?: string | null; |
61 | 61 | }; |
62 | | -export type ClawHubArtifactKind = "legacy-zip" | "npm-pack"; |
63 | 62 | export type ClawHubArtifactScanState = |
64 | 63 | | "pending" |
65 | 64 | | "clean" |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | // Normalizes plugin scope identifiers and scope lists. |
2 | 2 | import { normalizeStringEntries } from "@openclaw/normalization-core/string-normalization"; |
3 | 3 | |
4 | | -/** Optional scoped plugin id list; undefined means unscoped. */ |
5 | | -export type PluginIdScope = readonly string[] | undefined; |
6 | | - |
7 | 4 | /** Normalizes plugin id scope input into a sorted unique string list. */ |
8 | 5 | export function normalizePluginIdScope(ids?: readonly unknown[]): string[] | undefined { |
9 | 6 | if (ids === undefined) { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -39,7 +39,6 @@ type ImageGenerationProviderPlugin = import("./types.js").ImageGenerationProvide
|
39 | 39 | type MediaUnderstandingProviderPlugin = import("./types.js").MediaUnderstandingProviderPlugin; |
40 | 40 | type TranscriptSourceProvider = import("./types.js").TranscriptSourceProvider; |
41 | 41 | type MusicGenerationProviderPlugin = import("./types.js").MusicGenerationProviderPlugin; |
42 | | -type OpenClawPluginChannelRegistration = import("./types.js").OpenClawPluginChannelRegistration; |
43 | 42 | type OpenClawPluginCliCommandDescriptor = import("./types.js").OpenClawPluginCliCommandDescriptor; |
44 | 43 | type OpenClawPluginCliRegistrar = import("./types.js").OpenClawPluginCliRegistrar; |
45 | 44 | type OpenClawPluginCommandDefinition = import("./types.js").OpenClawPluginCommandDefinition; |
@@ -503,5 +502,3 @@ export type OpenClawPluginHttpRouteParams = import("./types.js").OpenClawPluginH
|
503 | 502 | export type OpenClawPluginHookOptions = import("./types.js").OpenClawPluginHookOptions; |
504 | 503 | export type PluginHookHandlerMap = import("./types.js").PluginHookHandlerMap; |
505 | 504 | export type OpenClawPluginApi = import("./types.js").OpenClawPluginApi; |
506 | | -export type TypedPluginHook = TypedPluginHookRegistration; |
507 | | -export type OpenClawPluginChannelReg = OpenClawPluginChannelRegistration; |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。