Skip to content

Commit 7b2d558

Browse files
authored
Merge pull request #1651 from Real-Dev-Squad/develop
Dev to Main Sync
2 parents 7c5e573 + bde2a97 commit 7b2d558

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+256
-77
lines changed

config/default.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ module.exports = {
4747
routes: {
4848
authRedirection: "/goto",
4949
},
50+
goalAPI: {
51+
baseUrl: "",
52+
secretKey: "",
53+
cookieName: "",
54+
},
5055
},
5156
discordBot: {
5257
baseUrl: "<DISCORD_BOT_BASE_URL>",

config/development.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ module.exports = {
2222
authRedirection: "/healthcheck",
2323
},
2424
},
25+
26+
goalAPI: {
27+
baseUrl: "",
28+
secretKey: "",
29+
cookieName: "",
30+
},
2531
},
2632

2733
userToken: {

config/staging.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ module.exports = {
1717
rdsApi: {
1818
baseUrl: "https://staging-api.realdevsquad.com",
1919
},
20+
goalAPI: {
21+
baseUrl: "",
22+
secretKey: "",
23+
cookieName: "",
24+
},
2025
},
2126

2227
integrations: {

config/test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ module.exports = {
3535
discordBot: {
3636
baseUrl: "DISCORD_BASE_URL",
3737
},
38+
goalAPI: {
39+
baseUrl: "https://goals-api.realdevsquad.com",
40+
secretKey: "123456789",
41+
cookieName: "goals_session",
42+
},
3843
},
3944

4045
cors: {

constants/badges.js renamed to constants/badges.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
const DOCUMENT_WRITE_SIZE = 500;
2-
31
const ERROR_MESSAGES = {
42
MODELS: {
53
REMOVE_BADGES: "Error removing badges",
@@ -42,7 +40,6 @@ const SUCCESS_MESSAGES = {
4240
};
4341

4442
module.exports = {
45-
DOCUMENT_WRITE_SIZE,
4643
ERROR_MESSAGES,
4744
SUCCESS_MESSAGES,
4845
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

constants/constants.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const DOCUMENT_WRITE_SIZE = 500;
2+
3+
module.exports = {
4+
DOCUMENT_WRITE_SIZE,
5+
};

0 commit comments

Comments
 (0)