@educabot/educablocks-cosmos 0.1.19 → 0.1.20

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.
@@ -20,84 +20,96 @@ const getCosmos = (key, domain = '', newEnv = '') => {
20
20
  || hostname === customers_1.customers.EDUCABOT[environment].cosmosFrontUrl
21
21
  || hostname === customers_1.customers.EDUCABOT[environment].cosmosBackUrl
22
22
  || hostname === customers_1.customers.EDUCABOT[environment].cosmosFrontAnimationsUrl
23
- || hostname === customers_1.customers.EDUCABOT[environment].cosmosFrontGamesUrl)) {
23
+ || hostname === customers_1.customers.EDUCABOT[environment].cosmosFrontGamesUrl
24
+ || hostname === customers_1.customers.EDUCABOT[environment].trainUrl)) {
24
25
  return (typeof customers_1.customers.EDUCABOT[environment][key] !== 'undefined') ? customers_1.customers.EDUCABOT[environment][key] : getDefaultCosmos(key);
25
26
  ///////// CODIT /////////
26
27
  }
27
28
  else if (customers_1.customers.CODIT[environment]
28
29
  && (hostname === customers_1.customers.CODIT[environment].cosmosFrontUrl
29
30
  || hostname === customers_1.customers.CODIT[environment].cosmosBackUrl
30
- || hostname === customers_1.customers.CODIT[environment].cosmosFrontAnimationsUrl)) {
31
+ || hostname === customers_1.customers.CODIT[environment].cosmosFrontAnimationsUrl
32
+ || hostname === customers_1.customers.CODIT[environment].trainUrl)) {
31
33
  return (typeof customers_1.customers.CODIT[environment][key] !== 'undefined') ? customers_1.customers.CODIT[environment][key] : getDefaultCosmos(key);
32
34
  ///////// COPA_ROBOTICA /////////
33
35
  }
34
36
  else if (customers_1.customers.COPA_ROBOTICA[environment]
35
37
  && (hostname === customers_1.customers.COPA_ROBOTICA[environment].cosmosFrontUrl
36
38
  || hostname === customers_1.customers.COPA_ROBOTICA[environment].cosmosBackUrl
37
- || hostname === customers_1.customers.COPA_ROBOTICA[environment].cosmosFrontAnimationsUrl)) {
39
+ || hostname === customers_1.customers.COPA_ROBOTICA[environment].cosmosFrontAnimationsUrl
40
+ || hostname === customers_1.customers.COPA_ROBOTICA[environment].trainUrl)) {
38
41
  return (typeof customers_1.customers.COPA_ROBOTICA[environment][key] !== 'undefined') ? customers_1.customers.COPA_ROBOTICA[environment][key] : getDefaultCosmos(key);
39
42
  ///////// REV_ROBOTICS /////////
40
43
  }
41
44
  else if (customers_1.customers.REV_ROBOTICS[environment]
42
45
  && (hostname === customers_1.customers.REV_ROBOTICS[environment].cosmosFrontUrl
43
46
  || hostname === customers_1.customers.REV_ROBOTICS[environment].cosmosBackUrl
44
- || hostname === customers_1.customers.REV_ROBOTICS[environment].cosmosFrontAnimationsUrl)) {
47
+ || hostname === customers_1.customers.REV_ROBOTICS[environment].cosmosFrontAnimationsUrl
48
+ || hostname === customers_1.customers.REV_ROBOTICS[environment].trainUrl)) {
45
49
  return (typeof customers_1.customers.REV_ROBOTICS[environment][key] !== 'undefined') ? customers_1.customers.REV_ROBOTICS[environment][key] : getDefaultCosmos(key);
46
50
  ///////// CREATEC /////////
47
51
  }
48
52
  else if (customers_1.customers.CREATEC[environment]
49
53
  && (hostname === customers_1.customers.CREATEC[environment].cosmosFrontUrl
50
54
  || hostname === customers_1.customers.CREATEC[environment].cosmosBackUrl
51
- || hostname === customers_1.customers.CREATEC[environment].cosmosFrontAnimationsUrl)) {
55
+ || hostname === customers_1.customers.CREATEC[environment].cosmosFrontAnimationsUrl
56
+ || hostname === customers_1.customers.CREATEC[environment].trainUrl)) {
52
57
  return (typeof customers_1.customers.CREATEC[environment][key] !== 'undefined') ? customers_1.customers.CREATEC[environment][key] : getDefaultCosmos(key);
53
58
  ///////// FIFA /////////
54
59
  }
55
60
  else if (customers_1.customers.FIFA[environment]
56
61
  && (hostname === customers_1.customers.FIFA[environment].cosmosFrontUrl
57
62
  || hostname === customers_1.customers.FIFA[environment].cosmosBackUrl
58
- || hostname === customers_1.customers.FIFA[environment].cosmosFrontAnimationsUrl)) {
63
+ || hostname === customers_1.customers.FIFA[environment].cosmosFrontAnimationsUrl
64
+ || hostname === customers_1.customers.FIFA[environment].trainUrl)) {
59
65
  return (typeof customers_1.customers.FIFA[environment][key] !== 'undefined') ? customers_1.customers.FIFA[environment][key] : getDefaultCosmos(key);
60
66
  ///////// FIFA FOUNDATION /////////
61
67
  }
62
68
  else if (customers_1.customers.FIFA_FOUNDATION[environment]
63
69
  && (hostname === customers_1.customers.FIFA_FOUNDATION[environment].cosmosFrontUrl
64
70
  || hostname === customers_1.customers.FIFA_FOUNDATION[environment].cosmosBackUrl
65
- || hostname === customers_1.customers.FIFA_FOUNDATION[environment].cosmosFrontAnimationsUrl)) {
71
+ || hostname === customers_1.customers.FIFA_FOUNDATION[environment].cosmosFrontAnimationsUrl
72
+ || hostname === customers_1.customers.FIFA_FOUNDATION[environment].trainUrl)) {
66
73
  return (typeof customers_1.customers.FIFA_FOUNDATION[environment][key] !== 'undefined') ? customers_1.customers.FIFA_FOUNDATION[environment][key] : getDefaultCosmos(key);
67
74
  ///////// CREABOTS /////////
68
75
  }
69
76
  else if (customers_1.customers.CREABOTS[environment]
70
77
  && (hostname === customers_1.customers.CREABOTS[environment].cosmosFrontUrl
71
78
  || hostname === customers_1.customers.CREABOTS[environment].cosmosBackUrl
72
- || hostname === customers_1.customers.CREABOTS[environment].cosmosFrontAnimationsUrl)) {
79
+ || hostname === customers_1.customers.CREABOTS[environment].cosmosFrontAnimationsUrl
80
+ || hostname === customers_1.customers.CREABOTS[environment].trainUrl)) {
73
81
  return (typeof customers_1.customers.CREABOTS[environment][key] !== 'undefined') ? customers_1.customers.CREABOTS[environment][key] : getDefaultCosmos(key);
74
82
  ///////// CREABOTS_LANDING /////////
75
83
  }
76
84
  else if (customers_1.customers.CREABOTS_LANDING[environment]
77
85
  && (hostname === customers_1.customers.CREABOTS_LANDING[environment].cosmosFrontUrl
78
86
  || hostname === customers_1.customers.CREABOTS_LANDING[environment].cosmosBackUrl
79
- || hostname === customers_1.customers.CREABOTS_LANDING[environment].cosmosFrontAnimationsUrl)) {
87
+ || hostname === customers_1.customers.CREABOTS_LANDING[environment].cosmosFrontAnimationsUrl
88
+ || hostname === customers_1.customers.CREABOTS_LANDING[environment].trainUrl)) {
80
89
  return (typeof customers_1.customers.CREABOTS_LANDING[environment][key] !== 'undefined') ? customers_1.customers.CREABOTS_LANDING[environment][key] : getDefaultCosmos(key);
81
90
  ///////// TICMAS /////////
82
91
  }
83
92
  else if (customers_1.customers.TICMAS[environment]
84
93
  && (hostname === customers_1.customers.TICMAS[environment].cosmosFrontUrl
85
94
  || hostname === customers_1.customers.TICMAS[environment].cosmosBackUrl
86
- || hostname === customers_1.customers.TICMAS[environment].cosmosFrontAnimationsUrl)) {
95
+ || hostname === customers_1.customers.TICMAS[environment].cosmosFrontAnimationsUrl
96
+ || hostname === customers_1.customers.TICMAS[environment].trainUrl)) {
87
97
  return (typeof customers_1.customers.TICMAS[environment][key] !== 'undefined') ? customers_1.customers.TICMAS[environment][key] : getDefaultCosmos(key);
88
98
  ///////// TICMAS_ROBOTICA /////////
89
99
  }
90
100
  else if (customers_1.customers.TICMAS_ROBOTICA[environment]
91
101
  && (hostname === customers_1.customers.TICMAS_ROBOTICA[environment].cosmosFrontUrl
92
102
  || hostname === customers_1.customers.TICMAS_ROBOTICA[environment].cosmosBackUrl
93
- || hostname === customers_1.customers.TICMAS_ROBOTICA[environment].cosmosFrontAnimationsUrl)) {
103
+ || hostname === customers_1.customers.TICMAS_ROBOTICA[environment].cosmosFrontAnimationsUrl
104
+ || hostname === customers_1.customers.TICMAS_ROBOTICA[environment].trainUrl)) {
94
105
  return (typeof customers_1.customers.TICMAS_ROBOTICA[environment][key] !== 'undefined') ? customers_1.customers.TICMAS_ROBOTICA[environment][key] : getDefaultCosmos(key);
95
106
  ///////// ROBOTS 2 /////////
96
107
  }
97
108
  else if (customers_1.customers.ROBOTS_2[environment]
98
109
  && (hostname === customers_1.customers.ROBOTS_2[environment].cosmosFrontUrl
99
110
  || hostname === customers_1.customers.ROBOTS_2[environment].cosmosBackUrl
100
- || hostname === customers_1.customers.ROBOTS_2[environment].cosmosFrontAnimationsUrl)) {
111
+ || hostname === customers_1.customers.ROBOTS_2[environment].cosmosFrontAnimationsUrl
112
+ || hostname === customers_1.customers.ROBOTS_2[environment].trainUrl)) {
101
113
  return (typeof customers_1.customers.ROBOTS_2[environment][key] !== 'undefined') ? customers_1.customers.ROBOTS_2[environment][key] : getDefaultCosmos(key);
102
114
  ///////// DEFAULT /////////
103
115
  }
@@ -1 +1 @@
1
- {"version":3,"file":"cosmos.js","sourceRoot":"","sources":["../../src/cosmos.ts"],"names":[],"mappings":";;;AAAA,2CAAwC;AAExC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC;AAEjC,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,EAAE;IACvC,IAAI,qBAAS,CAAC,OAAO,CAAC,WAAW,IAAI,OAAO,qBAAS,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,KAAK,WAAW,EAAE;QAC9F,OAAO,qBAAS,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;KAC3C;SAAM;QACL,OAAO,EAAE,CAAC;KACX;AACH,CAAC,CAAC;AAEK,MAAM,SAAS,GAAG,CAAC,GAAW,EAAE,SAAiB,EAAE,EAAE,SAAiB,EAAE,EAAE,EAAE;IACjF,MAAM,WAAW,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IACrE,MAAM,QAAQ,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAEvG,4BAA4B;IAC5B,IAAI,qBAAS,CA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
5
  "main": "dist/index.js",
6
6
  "types": "index.ts",
package/src/cosmos.ts CHANGED
@@ -22,6 +22,7 @@ export const getCosmos = (key: string, domain: string = '', newEnv: string = '')
22
22
  || hostname === customers.EDUCABOT[environment].cosmosBackUrl
23
23
  || hostname === customers.EDUCABOT[environment].cosmosFrontAnimationsUrl
24
24
  || hostname === customers.EDUCABOT[environment].cosmosFrontGamesUrl
25
+ || hostname === customers.EDUCABOT[environment].trainUrl
25
26
  )
26
27
  ) {
27
28
  return (typeof customers.EDUCABOT[environment][key] !== 'undefined') ? customers.EDUCABOT[environment][key] : getDefaultCosmos(key);
@@ -32,6 +33,8 @@ export const getCosmos = (key: string, domain: string = '', newEnv: string = '')
32
33
  hostname === customers.CODIT[environment].cosmosFrontUrl
33
34
  || hostname === customers.CODIT[environment].cosmosBackUrl
34
35
  || hostname === customers.CODIT[environment].cosmosFrontAnimationsUrl
36
+ || hostname === customers.CODIT[environment].trainUrl
37
+
35
38
  )
36
39
  ) {
37
40
  return (typeof customers.CODIT[environment][key] !== 'undefined') ? customers.CODIT[environment][key] : getDefaultCosmos(key);
@@ -42,6 +45,7 @@ export const getCosmos = (key: string, domain: string = '', newEnv: string = '')
42
45
  hostname === customers.COPA_ROBOTICA[environment].cosmosFrontUrl
43
46
  || hostname === customers.COPA_ROBOTICA[environment].cosmosBackUrl
44
47
  || hostname === customers.COPA_ROBOTICA[environment].cosmosFrontAnimationsUrl
48
+ || hostname === customers.COPA_ROBOTICA[environment].trainUrl
45
49
  )
46
50
  ) {
47
51
  return (typeof customers.COPA_ROBOTICA[environment][key] !== 'undefined') ? customers.COPA_ROBOTICA[environment][key] : getDefaultCosmos(key);
@@ -52,6 +56,7 @@ export const getCosmos = (key: string, domain: string = '', newEnv: string = '')
52
56
  hostname === customers.REV_ROBOTICS[environment].cosmosFrontUrl
53
57
  || hostname === customers.REV_ROBOTICS[environment].cosmosBackUrl
54
58
  || hostname === customers.REV_ROBOTICS[environment].cosmosFrontAnimationsUrl
59
+ || hostname === customers.REV_ROBOTICS[environment].trainUrl
55
60
  )
56
61
  ) {
57
62
  return (typeof customers.REV_ROBOTICS[environment][key] !== 'undefined') ? customers.REV_ROBOTICS[environment][key] : getDefaultCosmos(key);
@@ -62,6 +67,7 @@ export const getCosmos = (key: string, domain: string = '', newEnv: string = '')
62
67
  hostname === customers.CREATEC[environment].cosmosFrontUrl
63
68
  || hostname === customers.CREATEC[environment].cosmosBackUrl
64
69
  || hostname === customers.CREATEC[environment].cosmosFrontAnimationsUrl
70
+ || hostname === customers.CREATEC[environment].trainUrl
65
71
  )
66
72
  ) {
67
73
  return (typeof customers.CREATEC[environment][key] !== 'undefined') ? customers.CREATEC[environment][key] : getDefaultCosmos(key);
@@ -72,6 +78,7 @@ export const getCosmos = (key: string, domain: string = '', newEnv: string = '')
72
78
  hostname === customers.FIFA[environment].cosmosFrontUrl
73
79
  || hostname === customers.FIFA[environment].cosmosBackUrl
74
80
  || hostname === customers.FIFA[environment].cosmosFrontAnimationsUrl
81
+ || hostname === customers.FIFA[environment].trainUrl
75
82
  )
76
83
  ) {
77
84
  return (typeof customers.FIFA[environment][key] !== 'undefined') ? customers.FIFA[environment][key] : getDefaultCosmos(key);
@@ -82,6 +89,7 @@ export const getCosmos = (key: string, domain: string = '', newEnv: string = '')
82
89
  hostname === customers.FIFA_FOUNDATION[environment].cosmosFrontUrl
83
90
  || hostname === customers.FIFA_FOUNDATION[environment].cosmosBackUrl
84
91
  || hostname === customers.FIFA_FOUNDATION[environment].cosmosFrontAnimationsUrl
92
+ || hostname === customers.FIFA_FOUNDATION[environment].trainUrl
85
93
  )
86
94
  ) {
87
95
  return (typeof customers.FIFA_FOUNDATION[environment][key] !== 'undefined') ? customers.FIFA_FOUNDATION[environment][key] : getDefaultCosmos(key);
@@ -92,6 +100,7 @@ export const getCosmos = (key: string, domain: string = '', newEnv: string = '')
92
100
  hostname === customers.CREABOTS[environment].cosmosFrontUrl
93
101
  || hostname === customers.CREABOTS[environment].cosmosBackUrl
94
102
  || hostname === customers.CREABOTS[environment].cosmosFrontAnimationsUrl
103
+ || hostname === customers.CREABOTS[environment].trainUrl
95
104
  )
96
105
  ) {
97
106
  return (typeof customers.CREABOTS[environment][key] !== 'undefined') ? customers.CREABOTS[environment][key] : getDefaultCosmos(key);
@@ -102,6 +111,7 @@ export const getCosmos = (key: string, domain: string = '', newEnv: string = '')
102
111
  hostname === customers.CREABOTS_LANDING[environment].cosmosFrontUrl
103
112
  || hostname === customers.CREABOTS_LANDING[environment].cosmosBackUrl
104
113
  || hostname === customers.CREABOTS_LANDING[environment].cosmosFrontAnimationsUrl
114
+ || hostname === customers.CREABOTS_LANDING[environment].trainUrl
105
115
  )
106
116
  ) {
107
117
  return (typeof customers.CREABOTS_LANDING[environment][key] !== 'undefined') ? customers.CREABOTS_LANDING[environment][key] : getDefaultCosmos(key);
@@ -112,6 +122,7 @@ export const getCosmos = (key: string, domain: string = '', newEnv: string = '')
112
122
  hostname === customers.TICMAS[environment].cosmosFrontUrl
113
123
  || hostname === customers.TICMAS[environment].cosmosBackUrl
114
124
  || hostname === customers.TICMAS[environment].cosmosFrontAnimationsUrl
125
+ || hostname === customers.TICMAS[environment].trainUrl
115
126
  )
116
127
  ) {
117
128
  return (typeof customers.TICMAS[environment][key] !== 'undefined') ? customers.TICMAS[environment][key] : getDefaultCosmos(key);
@@ -122,6 +133,7 @@ export const getCosmos = (key: string, domain: string = '', newEnv: string = '')
122
133
  hostname === customers.TICMAS_ROBOTICA[environment].cosmosFrontUrl
123
134
  || hostname === customers.TICMAS_ROBOTICA[environment].cosmosBackUrl
124
135
  || hostname === customers.TICMAS_ROBOTICA[environment].cosmosFrontAnimationsUrl
136
+ || hostname === customers.TICMAS_ROBOTICA[environment].trainUrl
125
137
  )
126
138
  ) {
127
139
  return (typeof customers.TICMAS_ROBOTICA[environment][key] !== 'undefined') ? customers.TICMAS_ROBOTICA[environment][key] : getDefaultCosmos(key);
@@ -132,6 +144,7 @@ export const getCosmos = (key: string, domain: string = '', newEnv: string = '')
132
144
  hostname === customers.ROBOTS_2[environment].cosmosFrontUrl
133
145
  || hostname === customers.ROBOTS_2[environment].cosmosBackUrl
134
146
  || hostname === customers.ROBOTS_2[environment].cosmosFrontAnimationsUrl
147
+ || hostname === customers.ROBOTS_2[environment].trainUrl
135
148
  )
136
149
  ) {
137
150
  return (typeof customers.ROBOTS_2[environment][key] !== 'undefined') ? customers.ROBOTS_2[environment][key] : getDefaultCosmos(key);