mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 06:52:44 +00:00
fix: dedupe probe/token base types (#16986) (thanks @iyoda)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import type { BaseTokenResolution } from "../channels/plugins/types.js";
|
||||
import type { OpenClawConfig } from "../config/config.js";
|
||||
import { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "../routing/session-key.js";
|
||||
|
||||
export type DiscordTokenSource = "env" | "config" | "none";
|
||||
|
||||
export type DiscordTokenResolution = {
|
||||
token: string;
|
||||
export type DiscordTokenResolution = BaseTokenResolution & {
|
||||
source: DiscordTokenSource;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user