refactor: trim auth and exec type exports · openclaw/openclaw@3f4ca7c
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -10,11 +10,11 @@ import { resolveEffectiveOAuthCredential } from "./auth-profiles/effective-oauth
|
10 | 10 | import type { AuthProfileCredential, AuthProfileStore } from "./auth-profiles/types.js"; |
11 | 11 | import { normalizeProviderId } from "./provider-id.js"; |
12 | 12 | |
13 | | -export type AuthProfileSource = "store"; |
| 13 | +type AuthProfileSource = "store"; |
14 | 14 | |
15 | 15 | export type AuthProfileHealthStatus = "ok" | "expiring" | "expired" | "missing" | "static"; |
16 | 16 | |
17 | | -export type AuthProfileHealth = { |
| 17 | +type AuthProfileHealth = { |
18 | 18 | profileId: string; |
19 | 19 | provider: string; |
20 | 20 | type: "oauth" | "token" | "api_key"; |
@@ -45,7 +45,7 @@ export type AuthHealthSummary = {
|
45 | 45 | |
46 | 46 | export const DEFAULT_OAUTH_WARN_MS = 24 * 60 * 60 * 1000; |
47 | 47 | |
48 | | -export function resolveAuthProfileSource(_profileId: string): AuthProfileSource { |
| 48 | +function resolveAuthProfileSource(_profileId: string): AuthProfileSource { |
49 | 49 | return "store"; |
50 | 50 | } |
51 | 51 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。