Files
openclaw/src/plugin-sdk/directory-runtime.ts
2026-03-26 23:20:26 +00:00

32 lines
1.4 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,
createInspectedDirectoryEntriesLister,
createResolvedDirectoryEntriesLister,
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";