Files
openclaw/src/plugin-sdk/directory-runtime.ts
2026-03-20 19:24:10 +00:00

30 lines
1.3 KiB
TypeScript

/** Shared directory listing helpers for plugins that derive users/groups from config maps. */
export type { DirectoryConfigParams } from "../channels/plugins/directory-types.js";
export type {
ChannelDirectoryEntry,
ChannelDirectoryEntryKind,
} from "../channels/plugins/types.js";
export type { ReadOnlyInspectedAccount } from "../channels/read-only-account-inspect.js";
export {
createChannelDirectoryAdapter,
createEmptyChannelDirectoryAdapter,
emptyChannelDirectoryList,
nullChannelDirectorySelf,
} from "../channels/plugins/directory-adapters.js";
export {
applyDirectoryQueryAndLimit,
collectNormalizedDirectoryIds,
listDirectoryEntriesFromSources,
listDirectoryGroupEntriesFromMapKeys,
listDirectoryGroupEntriesFromMapKeysAndAllowFrom,
listInspectedDirectoryEntriesFromSources,
listResolvedDirectoryEntriesFromSources,
listResolvedDirectoryGroupEntriesFromMapKeys,
listResolvedDirectoryUserEntriesFromAllowFrom,
listDirectoryUserEntriesFromAllowFrom,
listDirectoryUserEntriesFromAllowFromAndMapKeys,
toDirectoryEntries,
} from "../channels/plugins/directory-config-helpers.js";
export { createRuntimeDirectoryLiveAdapter } from "../channels/plugins/runtime-forwarders.js";
export { inspectReadOnlyChannelAccount } from "../channels/read-only-account-inspect.js";