diff --git a/src/common/config.ts b/src/common/config.ts index 8702c96e2..f905c4f4e 100644 --- a/src/common/config.ts +++ b/src/common/config.ts @@ -101,7 +101,7 @@ interface Options { configuration: Record; } -const ALL_CONFIG_KEYS = new Set( +export const ALL_CONFIG_KEYS = new Set( (OPTIONS.string as readonly string[]) .concat(OPTIONS.array) .concat(OPTIONS.boolean) diff --git a/src/lib.ts b/src/lib.ts index bb2a631ea..c81472e0b 100644 --- a/src/lib.ts +++ b/src/lib.ts @@ -1,6 +1,6 @@ export { Server, type ServerOptions } from "./server.js"; export { Session, type SessionOptions } from "./common/session.js"; -export { defaultUserConfig, type UserConfig } from "./common/config.js"; +export { defaultUserConfig, type UserConfig, ALL_CONFIG_KEYS as configurableProperties } from "./common/config.js"; export { LoggerBase, type LogPayload, type LoggerType, type LogLevel } from "./common/logger.js"; export { StreamableHttpRunner } from "./transports/streamableHttp.js"; export {