-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nov 13 Patches before onboarding (#189)
* fix: bad timer type and dependency issues * fix: breaking changes in google sheet lib * fix: wrong logger * fix: incorrect enum value * fix: make the on ready handler temporary * fix: temporarily remove typedoc, remove unused dependencies * fix: dependencies for typedoc * fix: missing arg for typedoc * style: reduce clutter * syle: cleanup gitignore * fix: update eslint version * fix: temporarily let pm2 deal with log rotation * fix: add permission check before every write to google sheets * style: remove unnecessary ternary * feat: swap to env files * Revert "feat: swap to env files" This reverts commit 00837a7.
- Loading branch information
1 parent
c2c7a50
commit d347ac1
Showing
23 changed files
with
1,487 additions
and
8,415 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 10 additions & 3 deletions
13
src/extensions/google-sheet-logging/google-sheet-constants/google-sheet-interaction-names.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
import { EnsureCorrectEnum } from '../../../utils/type-aliases.js'; | ||
|
||
enum GoogleSheetCommandNames { | ||
stats = 'stats', | ||
weekly_report = 'weekly_report' | ||
} | ||
|
||
enum GoogleSheetButtonNames { | ||
ResetGoogleSheetSettings = 'ResetGoogleSheetSettings', | ||
ShowGoogleSheetSettingsModal = 'ShowGoogleSheetsSettingsModal' | ||
ShowGoogleSheetSettingsModal = 'ShowGoogleSheetSettingsModal' | ||
} | ||
|
||
enum GoogleSheetModalNames { | ||
GoogleSheetSettingsModal = 'GoogleSheetsSettingsModal', | ||
GoogleSheetSettingsModalMenuVersion = 'GoogleSheetsSettingsModalMenuVersion' | ||
GoogleSheetSettingsModal = 'GoogleSheetSettingsModal', | ||
GoogleSheetSettingsModalMenuVersion = 'GoogleSheetSettingsModalMenuVersion' | ||
} | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
type AllEnumsCorrect = EnsureCorrectEnum<typeof GoogleSheetCommandNames> & | ||
EnsureCorrectEnum<typeof GoogleSheetButtonNames> & | ||
EnsureCorrectEnum<typeof GoogleSheetModalNames>; // checks if all names and values are the same | ||
|
||
export { GoogleSheetCommandNames, GoogleSheetButtonNames, GoogleSheetModalNames }; |
Oops, something went wrong.