fix: dedupe probe/token base types (#16986) (thanks @iyoda)

This commit is contained in:
Shadow
2026-02-15 11:34:21 -06:00
committed by Shadow
parent a0e763168f
commit c6b3736fe7
23 changed files with 101 additions and 55 deletions

View File

@@ -1,11 +1,9 @@
import type { MSTeamsConfig } from "openclaw/plugin-sdk";
import type { BaseProbeResult, MSTeamsConfig } from "openclaw/plugin-sdk";
import { formatUnknownError } from "./errors.js";
import { loadMSTeamsSdkWithAuth } from "./sdk.js";
import { resolveMSTeamsCredentials } from "./token.js";
export type ProbeMSTeamsResult = {
ok: boolean;
error?: string;
export type ProbeMSTeamsResult = BaseProbeResult<string> & {
appId?: string;
graph?: {
ok: boolean;