Connect Athena to Spotify

This commit is contained in:
2022-01-15 19:35:43 +01:00
parent f6070b20ee
commit 240fcbac90
23 changed files with 684 additions and 99 deletions

18
env.ts
View File

@@ -1,17 +1,3 @@
/*
|--------------------------------------------------------------------------
| Validating Environment Variables
|--------------------------------------------------------------------------
|
| In this file we define the rules for validating environment variables.
| By performing validation we ensure that your application is running in
| a stable environment with correct configuration values.
|
| This file is read automatically by the framework during the boot lifecycle
| and hence do not rename or move this file to a different location.
|
*/
import Env from '@ioc:Adonis/Core/Env'
export default Env.rules({
@@ -61,4 +47,8 @@ export default Env.rules({
WAKATIME_USER: Env.schema.string(),
WAKATIME_KEY: Env.schema.string(),
WAKATIME_ID: Env.schema.string(),
// Spotify
SPOTIFY_ID: Env.schema.string(),
SPOTIFY_SECRET: Env.schema.string(),
})