@magmamath/frontend-config 1.0.29-rc.2 → 1.0.29-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +26 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -263,7 +263,6 @@ type MobileCommon = {
|
|
|
263
263
|
GOOGLE_API_KEY: string;
|
|
264
264
|
GOOGLE_TEXT_TO_SPEECH_URL: string;
|
|
265
265
|
GOOGLE_TRANSLATE_URL: string;
|
|
266
|
-
PROBLEM_CREATOR_URL: string;
|
|
267
266
|
SIGN_UP_BOOKING_ONBOARDING: string;
|
|
268
267
|
};
|
|
269
268
|
type MobileBaseVars = {
|
|
@@ -273,6 +272,7 @@ type MobileBaseVars = {
|
|
|
273
272
|
CDN_HOST: string;
|
|
274
273
|
SOCKET_URL: string;
|
|
275
274
|
LOGGLY_TAG: string;
|
|
275
|
+
PROBLEM_CREATOR_URL: string;
|
|
276
276
|
} & MobileCommon;
|
|
277
277
|
type MobileVars<T extends SSOVariant> = Prettify<MobileBaseVars & T>;
|
|
278
278
|
type MobileVarsPreset = {
|
package/dist/index.d.ts
CHANGED
|
@@ -263,7 +263,6 @@ type MobileCommon = {
|
|
|
263
263
|
GOOGLE_API_KEY: string;
|
|
264
264
|
GOOGLE_TEXT_TO_SPEECH_URL: string;
|
|
265
265
|
GOOGLE_TRANSLATE_URL: string;
|
|
266
|
-
PROBLEM_CREATOR_URL: string;
|
|
267
266
|
SIGN_UP_BOOKING_ONBOARDING: string;
|
|
268
267
|
};
|
|
269
268
|
type MobileBaseVars = {
|
|
@@ -273,6 +272,7 @@ type MobileBaseVars = {
|
|
|
273
272
|
CDN_HOST: string;
|
|
274
273
|
SOCKET_URL: string;
|
|
275
274
|
LOGGLY_TAG: string;
|
|
275
|
+
PROBLEM_CREATOR_URL: string;
|
|
276
276
|
} & MobileCommon;
|
|
277
277
|
type MobileVars<T extends SSOVariant> = Prettify<MobileBaseVars & T>;
|
|
278
278
|
type MobileVarsPreset = {
|
package/dist/index.js
CHANGED
|
@@ -1132,7 +1132,6 @@ var ENV_MOBILE_COMMON_MARS = {
|
|
|
1132
1132
|
GOOGLE_API_KEY: "AIzaSyCJBFfT3AjV1WjitLfO0ub40WMlSSGooMc",
|
|
1133
1133
|
GOOGLE_TEXT_TO_SPEECH_URL: "https://texttospeech.googleapis.com/v1beta1/text:synthesize",
|
|
1134
1134
|
GOOGLE_TRANSLATE_URL: "https://translation.googleapis.com/language/translate/v2",
|
|
1135
|
-
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.MARS.TEACHERS_WEB_URL}/content/react-native/problems/add`,
|
|
1136
1135
|
SIGN_UP_BOOKING_ONBOARDING: "https://meetings-eu1.hubspot.com/meetings/martin-persson/onboarding-meeting?embed=true"
|
|
1137
1136
|
};
|
|
1138
1137
|
|
|
@@ -1149,13 +1148,14 @@ var ENV_MOBILE_US_MARS = {
|
|
|
1149
1148
|
MICROSOFT_AUTH: "https://api.mars.magmamath.com/v2/auth/microsoft",
|
|
1150
1149
|
CLASS_LINK_AUTH: "https://api.mars.magmamath.com/v2/auth/edlink-classlink",
|
|
1151
1150
|
SCHOOLOGY_AUTH: "https://api.mars.magmamath.com/v2/auth/edlink",
|
|
1152
|
-
CLEVER_AUTH: "https://api.mars.magmamath.com/v2/auth/clever"
|
|
1151
|
+
CLEVER_AUTH: "https://api.mars.magmamath.com/v2/auth/clever",
|
|
1152
|
+
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.MARS.TEACHERS_WEB_URL}/content/react-native/problems/add`
|
|
1153
1153
|
};
|
|
1154
1154
|
|
|
1155
1155
|
// src/configs/env/mobile/se/env.se.mars.ts
|
|
1156
1156
|
var ENV_MOBILE_SE_MARS = {
|
|
1157
1157
|
...ENV_MOBILE_COMMON_MARS,
|
|
1158
|
-
TEACHERS_WEB_URL:
|
|
1158
|
+
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1159
1159
|
AUTH_WEB_URL: "https://app.mars.matteappen.se",
|
|
1160
1160
|
API_URL: "https://api.mars.matteappen.se/v2",
|
|
1161
1161
|
CDN_HOST: "https://cdn.mars.matteappen.se",
|
|
@@ -1164,7 +1164,8 @@ var ENV_MOBILE_SE_MARS = {
|
|
|
1164
1164
|
GOOGLE_AUTH: "https://api.mars.matteappen.se/v2/auth/google",
|
|
1165
1165
|
MICROSOFT_AUTH: "https://api.mars.matteappen.se/v2/auth/microsoft",
|
|
1166
1166
|
SKOLFEDERATION_AUTH: "https://fed.skolfederation.se/trial/ds/?entityID=TestMatteappen",
|
|
1167
|
-
SKOLON_AUTH: "https://api.mars.matteappen.se/v2/auth/skolon"
|
|
1167
|
+
SKOLON_AUTH: "https://api.mars.matteappen.se/v2/auth/skolon",
|
|
1168
|
+
PROBLEM_CREATOR_URL: "https://teachers.mars.matteappen.se/content/react-native/problems/add"
|
|
1168
1169
|
};
|
|
1169
1170
|
|
|
1170
1171
|
// src/configs/env/mobile/gb/env.gb.mars.ts
|
|
@@ -1179,7 +1180,8 @@ var ENV_MOBILE_GB_MARS = {
|
|
|
1179
1180
|
GOOGLE_AUTH: "https://api.mars.magmamath.com/v2/auth/google",
|
|
1180
1181
|
MICROSOFT_AUTH: "https://api.mars.magmamath.com/v2/auth/microsoft",
|
|
1181
1182
|
SKOLON_AUTH: "https://api.mars.magmamath.com/v2/auth/skolon",
|
|
1182
|
-
WONDE_AUTH: "https://api.mars.magmamath.com/v2/auth/mylogin"
|
|
1183
|
+
WONDE_AUTH: "https://api.mars.magmamath.com/v2/auth/mylogin",
|
|
1184
|
+
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.MARS.TEACHERS_WEB_URL}/content/react-native/problems/add`
|
|
1183
1185
|
};
|
|
1184
1186
|
|
|
1185
1187
|
// src/configs/env/mobile/ca/env.ca.mars.ts
|
|
@@ -1195,7 +1197,8 @@ var ENV_MOBILE_CA_MARS = {
|
|
|
1195
1197
|
MICROSOFT_AUTH: "https://api.ca.magmamath.com/v2/auth/microsoft",
|
|
1196
1198
|
CLASS_LINK_AUTH: "https://api.ca.magmamath.com/v2/auth/edlink-classlink",
|
|
1197
1199
|
SCHOOLOGY_AUTH: "https://api.ca.magmamath.com/v2/auth/edlink",
|
|
1198
|
-
CLEVER_AUTH: "https://api.ca.magmamath.com/v2/auth/clever"
|
|
1200
|
+
CLEVER_AUTH: "https://api.ca.magmamath.com/v2/auth/clever",
|
|
1201
|
+
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.MARS.TEACHERS_WEB_URL}/content/react-native/problems/add`
|
|
1199
1202
|
};
|
|
1200
1203
|
|
|
1201
1204
|
// src/configs/env/mobile/sct/env.sct.mars.ts
|
|
@@ -1210,7 +1213,8 @@ var ENV_MOBILE_SCT_MARS = {
|
|
|
1210
1213
|
GOOGLE_AUTH: "https://api.mars.magmamath.com/v2/auth/google",
|
|
1211
1214
|
MICROSOFT_AUTH: "https://api.mars.magmamath.com/v2/auth/microsoft",
|
|
1212
1215
|
SKOLON_AUTH: "https://api.mars.magmamath.com/v2/auth/skolon",
|
|
1213
|
-
WONDE_AUTH: "https://api.mars.magmamath.com/v2/auth/mylogin"
|
|
1216
|
+
WONDE_AUTH: "https://api.mars.magmamath.com/v2/auth/mylogin",
|
|
1217
|
+
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.MARS.TEACHERS_WEB_URL}/content/react-native/problems/add`
|
|
1214
1218
|
};
|
|
1215
1219
|
|
|
1216
1220
|
// src/configs/env/mobile/de/env.de.mars.ts
|
|
@@ -1223,7 +1227,8 @@ var ENV_MOBILE_DE_MARS = {
|
|
|
1223
1227
|
SOCKET_URL: "https://sockets-mars.magmamath.com",
|
|
1224
1228
|
LOGGLY_TAG: "MOBILE_MARS,MOBILE_MARS_DE",
|
|
1225
1229
|
GOOGLE_AUTH: "https://api.mars.magmamath.com/v2/auth/google",
|
|
1226
|
-
MICROSOFT_AUTH: "https://api.mars.magmamath.com/v2/auth/microsoft"
|
|
1230
|
+
MICROSOFT_AUTH: "https://api.mars.magmamath.com/v2/auth/microsoft",
|
|
1231
|
+
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.MARS.TEACHERS_WEB_URL}/content/react-native/problems/add`
|
|
1227
1232
|
};
|
|
1228
1233
|
|
|
1229
1234
|
// src/configs/env/mobile/env.common.prod.ts
|
|
@@ -1240,7 +1245,6 @@ var ENV_MOBILE_COMMON_PROD = {
|
|
|
1240
1245
|
GOOGLE_API_KEY: "AIzaSyCJBFfT3AjV1WjitLfO0ub40WMlSSGooMc",
|
|
1241
1246
|
GOOGLE_TEXT_TO_SPEECH_URL: "https://texttospeech.googleapis.com/v1beta1/text:synthesize",
|
|
1242
1247
|
GOOGLE_TRANSLATE_URL: "https://translation.googleapis.com/language/translate/v2",
|
|
1243
|
-
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.PROD.TEACHERS_WEB_URL}/content/react-native/problems/add`,
|
|
1244
1248
|
SIGN_UP_BOOKING_ONBOARDING: "https://meetings-eu1.hubspot.com/meetings/martin-persson/onboarding-meeting?embed=true"
|
|
1245
1249
|
};
|
|
1246
1250
|
|
|
@@ -1257,13 +1261,14 @@ var ENV_MOBILE_US_PROD = {
|
|
|
1257
1261
|
MICROSOFT_AUTH: "https://api.magmamath.com/v2/auth/microsoft",
|
|
1258
1262
|
CLASS_LINK_AUTH: "https://api.magmamath.com/v2/auth/edlink-classlink",
|
|
1259
1263
|
SCHOOLOGY_AUTH: "https://api.magmamath.com/v2/auth/edlink",
|
|
1260
|
-
CLEVER_AUTH: "https://api.magmamath.com/v2/auth/clever"
|
|
1264
|
+
CLEVER_AUTH: "https://api.magmamath.com/v2/auth/clever",
|
|
1265
|
+
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.PROD.TEACHERS_WEB_URL}/content/react-native/problems/add`
|
|
1261
1266
|
};
|
|
1262
1267
|
|
|
1263
1268
|
// src/configs/env/mobile/se/env.se.prod.ts
|
|
1264
1269
|
var ENV_MOBILE_SE_PROD = {
|
|
1265
1270
|
...ENV_MOBILE_COMMON_PROD,
|
|
1266
|
-
TEACHERS_WEB_URL:
|
|
1271
|
+
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1267
1272
|
AUTH_WEB_URL: "https://app.matteappen.se",
|
|
1268
1273
|
API_URL: "https://api.matteappen.se/v2",
|
|
1269
1274
|
CDN_HOST: "https://cdn.matteappen.se",
|
|
@@ -1272,7 +1277,8 @@ var ENV_MOBILE_SE_PROD = {
|
|
|
1272
1277
|
GOOGLE_AUTH: "https://api.matteappen.se/v2/auth/google",
|
|
1273
1278
|
MICROSOFT_AUTH: "https://api.matteappen.se/v2/auth/microsoft",
|
|
1274
1279
|
SKOLFEDERATION_AUTH: "https://fed.skolfederation.se/prod/ds/?entityID=https://matteappen.se",
|
|
1275
|
-
SKOLON_AUTH: "https://api.matteappen.se/v2/auth/skolon"
|
|
1280
|
+
SKOLON_AUTH: "https://api.matteappen.se/v2/auth/skolon",
|
|
1281
|
+
PROBLEM_CREATOR_URL: "https://teachers.matteappen.se/content/react-native/problems/add"
|
|
1276
1282
|
};
|
|
1277
1283
|
|
|
1278
1284
|
// src/configs/env/mobile/gb/env.gb.prod.ts
|
|
@@ -1287,7 +1293,8 @@ var ENV_MOBILE_GB_PROD = {
|
|
|
1287
1293
|
GOOGLE_AUTH: "https://api.magmamath.com/v2/auth/google",
|
|
1288
1294
|
MICROSOFT_AUTH: "https://api.magmamath.com/v2/auth/microsoft",
|
|
1289
1295
|
SKOLON_AUTH: "https://api.magmamath.com/v2/auth/skolon",
|
|
1290
|
-
WONDE_AUTH: "https://api.magmamath.com/v2/auth/mylogin"
|
|
1296
|
+
WONDE_AUTH: "https://api.magmamath.com/v2/auth/mylogin",
|
|
1297
|
+
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.PROD.TEACHERS_WEB_URL}/content/react-native/problems/add`
|
|
1291
1298
|
};
|
|
1292
1299
|
|
|
1293
1300
|
// src/configs/env/mobile/ca/env.ca.prod.ts
|
|
@@ -1303,7 +1310,8 @@ var ENV_MOBILE_CA_PROD = {
|
|
|
1303
1310
|
MICROSOFT_AUTH: "https://api.ca.magmamath.com/v2/auth/microsoft",
|
|
1304
1311
|
CLASS_LINK_AUTH: "https://api.ca.magmamath.com/v2/auth/edlink-classlink",
|
|
1305
1312
|
SCHOOLOGY_AUTH: "https://api.ca.magmamath.com/v2/auth/edlink",
|
|
1306
|
-
CLEVER_AUTH: "https://api.ca.magmamath.com/v2/auth/clever"
|
|
1313
|
+
CLEVER_AUTH: "https://api.ca.magmamath.com/v2/auth/clever",
|
|
1314
|
+
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.PROD.TEACHERS_WEB_URL}/content/react-native/problems/add`
|
|
1307
1315
|
};
|
|
1308
1316
|
|
|
1309
1317
|
// src/configs/env/mobile/sct/env.sct.prod.ts
|
|
@@ -1318,7 +1326,8 @@ var ENV_MOBILE_SCT_PROD = {
|
|
|
1318
1326
|
GOOGLE_AUTH: "https://api.magmamath.com/v2/auth/google",
|
|
1319
1327
|
MICROSOFT_AUTH: "https://api.magmamath.com/v2/auth/microsoft",
|
|
1320
1328
|
SKOLON_AUTH: "https://api.magmamath.com/v2/auth/skolon",
|
|
1321
|
-
WONDE_AUTH: "https://api.magmamath.com/v2/auth/mylogin"
|
|
1329
|
+
WONDE_AUTH: "https://api.magmamath.com/v2/auth/mylogin",
|
|
1330
|
+
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.PROD.TEACHERS_WEB_URL}/content/react-native/problems/add`
|
|
1322
1331
|
};
|
|
1323
1332
|
|
|
1324
1333
|
// src/configs/env/mobile/de/env.de.prod.ts
|
|
@@ -1331,7 +1340,8 @@ var ENV_MOBILE_DE_PROD = {
|
|
|
1331
1340
|
SOCKET_URL: "https://sockets.magmamath.com",
|
|
1332
1341
|
LOGGLY_TAG: "MOBILE_PROD,MOBILE_PROD_DE",
|
|
1333
1342
|
GOOGLE_AUTH: "https://api.magmamath.com/v2/auth/google",
|
|
1334
|
-
MICROSOFT_AUTH: "https://api.magmamath.com/v2/auth/microsoft"
|
|
1343
|
+
MICROSOFT_AUTH: "https://api.magmamath.com/v2/auth/microsoft",
|
|
1344
|
+
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.PROD.TEACHERS_WEB_URL}/content/react-native/problems/add`
|
|
1335
1345
|
};
|
|
1336
1346
|
|
|
1337
1347
|
// src/configs/env/env.preset.ts
|