|
|
@@ -1,5 +1,7 @@
|
|
|
-export enum SlackbotType {
|
|
|
- OFFICIAL = 'officialBot',
|
|
|
- CUSTOM_WITHOUT_PROXY = 'customBotWithoutProxy',
|
|
|
- CUSTOM_WITH_PROXY = 'customBotWithProxy',
|
|
|
-}
|
|
|
+export const SlackbotType = {
|
|
|
+ OFFICIAL: 'officialBot',
|
|
|
+ CUSTOM_WITHOUT_PROXY: 'customBotWithoutProxy',
|
|
|
+ CUSTOM_WITH_PROXY: 'customBotWithProxy',
|
|
|
+} as const;
|
|
|
+
|
|
|
+export type SlackbotType = typeof SlackbotType[keyof typeof SlackbotType]
|