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; };