From c6cb7b4801c5e421f7516fe92ef3345f7d3695f6 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 1 May 2026 20:10:25 +0100 Subject: [PATCH] refactor: trim qa channel helper exports --- extensions/qa-channel/src/config-schema.ts | 4 ++-- extensions/qa-channel/src/types.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/qa-channel/src/config-schema.ts b/extensions/qa-channel/src/config-schema.ts index f521e0de308..b3d1a1bd183 100644 --- a/extensions/qa-channel/src/config-schema.ts +++ b/extensions/qa-channel/src/config-schema.ts @@ -21,7 +21,7 @@ const QaChannelGroupConfigSchema = z }) .strict(); -export const QaChannelAccountConfigSchema = z +const QaChannelAccountConfigSchema = z .object({ name: z.string().optional(), enabled: z.boolean().optional(), @@ -38,7 +38,7 @@ export const QaChannelAccountConfigSchema = z }) .strict(); -export const QaChannelConfigSchema = QaChannelAccountConfigSchema.extend({ +const QaChannelConfigSchema = QaChannelAccountConfigSchema.extend({ accounts: z.record(z.string(), QaChannelAccountConfigSchema.partial()).optional(), defaultAccount: z.string().optional(), }).strict(); diff --git a/extensions/qa-channel/src/types.ts b/extensions/qa-channel/src/types.ts index 6b2e242739a..49c54801c35 100644 --- a/extensions/qa-channel/src/types.ts +++ b/extensions/qa-channel/src/types.ts @@ -1,4 +1,4 @@ -export type QaChannelActionConfig = { +type QaChannelActionConfig = { messages?: boolean; reactions?: boolean; search?: boolean; @@ -27,7 +27,7 @@ export type QaChannelAccountConfig = { actions?: QaChannelActionConfig; }; -export type QaChannelConfig = QaChannelAccountConfig & { +type QaChannelConfig = QaChannelAccountConfig & { accounts?: Record>; defaultAccount?: string; };