mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 10:50:22 +00:00
perf(plugin-sdk): split channel secret runtime helpers
This commit is contained in:
29
src/plugin-sdk/channel-secret-basic-runtime.ts
Normal file
29
src/plugin-sdk/channel-secret-basic-runtime.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
// Narrow shared secret-contract exports for non-TTS channel/plugin secret surfaces.
|
||||
|
||||
export {
|
||||
collectConditionalChannelFieldAssignments,
|
||||
collectNestedChannelFieldAssignments,
|
||||
collectSimpleChannelFieldAssignments,
|
||||
getChannelRecord,
|
||||
getChannelSurface,
|
||||
hasConfiguredSecretInputValue,
|
||||
isBaseFieldActiveForChannelSurface,
|
||||
normalizeSecretStringValue,
|
||||
resolveChannelAccountSurface,
|
||||
} from "../secrets/channel-secret-basic-runtime.js";
|
||||
export type {
|
||||
ChannelAccountEntry,
|
||||
ChannelAccountPredicate,
|
||||
ChannelAccountSurface,
|
||||
} from "../secrets/channel-secret-basic-runtime.js";
|
||||
export {
|
||||
collectSecretInputAssignment,
|
||||
hasOwnProperty,
|
||||
isEnabledFlag,
|
||||
pushAssignment,
|
||||
pushInactiveSurfaceWarning,
|
||||
pushWarning,
|
||||
} from "../secrets/runtime-shared.js";
|
||||
export type { ResolverContext, SecretDefaults } from "../secrets/runtime-shared.js";
|
||||
export { isRecord } from "../secrets/shared.js";
|
||||
export type { SecretTargetRegistryEntry } from "../secrets/target-registry-types.js";
|
||||
Reference in New Issue
Block a user