mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 15:10:52 +00:00
refactor: narrow dead reexports
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
export {
|
||||
downloadMSTeamsBotFrameworkAttachment,
|
||||
downloadMSTeamsBotFrameworkAttachments,
|
||||
isBotFrameworkPersonalChatId,
|
||||
} from "./attachments/bot-framework.js";
|
||||
export {
|
||||
downloadMSTeamsAttachments,
|
||||
/** @deprecated Use `downloadMSTeamsAttachments` instead. */
|
||||
downloadMSTeamsImageAttachments,
|
||||
} from "./attachments/download.js";
|
||||
export { downloadMSTeamsAttachments } from "./attachments/download.js";
|
||||
export { buildMSTeamsGraphMessageUrls, downloadMSTeamsGraphMedia } from "./attachments/graph.js";
|
||||
export {
|
||||
buildMSTeamsAttachmentPlaceholder,
|
||||
@@ -18,7 +13,6 @@ export { buildMSTeamsMediaPayload } from "./attachments/payload.js";
|
||||
export type {
|
||||
MSTeamsAccessTokenProvider,
|
||||
MSTeamsAttachmentLike,
|
||||
MSTeamsGraphMediaResult,
|
||||
MSTeamsHtmlAttachmentSummary,
|
||||
MSTeamsInboundMedia,
|
||||
} from "./attachments/types.js";
|
||||
|
||||
@@ -3,13 +3,11 @@ import { downloadFile } from "../utils/file-utils.js";
|
||||
import { getQQBotMediaDir } from "../utils/platform.js";
|
||||
import { normalizeOptionalString } from "../utils/string-normalize.js";
|
||||
import { transcribeAudio, resolveSTTConfig } from "../utils/stt.js";
|
||||
// Re-export formatVoiceText from core/.
|
||||
export { formatVoiceText } from "../utils/voice-text.js";
|
||||
|
||||
// Re-export the port type for convenience.
|
||||
export type { AudioConvertPort } from "../adapter/audio.port.js";
|
||||
|
||||
export interface RawAttachment {
|
||||
interface RawAttachment {
|
||||
content_type: string;
|
||||
url: string;
|
||||
filename?: string;
|
||||
@@ -17,7 +15,7 @@ export interface RawAttachment {
|
||||
asr_refer_text?: string;
|
||||
}
|
||||
|
||||
export type TranscriptSource = "stt" | "asr" | "fallback";
|
||||
type TranscriptSource = "stt" | "asr" | "fallback";
|
||||
|
||||
/** Normalized attachment output consumed by the gateway. */
|
||||
export interface ProcessedAttachments {
|
||||
|
||||
Reference in New Issue
Block a user