Skip to content

Commit c6cb7b4

Browse files
committed
refactor: trim qa channel helper exports
1 parent f5f8562 commit c6cb7b4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

extensions/qa-channel/src/config-schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const QaChannelGroupConfigSchema = z
2121
})
2222
.strict();
2323

24-
export const QaChannelAccountConfigSchema = z
24+
const QaChannelAccountConfigSchema = z
2525
.object({
2626
name: z.string().optional(),
2727
enabled: z.boolean().optional(),
@@ -38,7 +38,7 @@ export const QaChannelAccountConfigSchema = z
3838
})
3939
.strict();
4040

41-
export const QaChannelConfigSchema = QaChannelAccountConfigSchema.extend({
41+
const QaChannelConfigSchema = QaChannelAccountConfigSchema.extend({
4242
accounts: z.record(z.string(), QaChannelAccountConfigSchema.partial()).optional(),
4343
defaultAccount: z.string().optional(),
4444
}).strict();

extensions/qa-channel/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export type QaChannelActionConfig = {
1+
type QaChannelActionConfig = {
22
messages?: boolean;
33
reactions?: boolean;
44
search?: boolean;
@@ -27,7 +27,7 @@ export type QaChannelAccountConfig = {
2727
actions?: QaChannelActionConfig;
2828
};
2929

30-
export type QaChannelConfig = QaChannelAccountConfig & {
30+
type QaChannelConfig = QaChannelAccountConfig & {
3131
accounts?: Record<string, Partial<QaChannelAccountConfig>>;
3232
defaultAccount?: string;
3333
};

0 commit comments

Comments
 (0)