@educabot/educablocks-boards 0.2.33 → 0.2.35

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.
@@ -4,43 +4,49 @@ exports.getBoards = exports.getBoardById = exports.getAllBoards = void 0;
4
4
  const getAllBoards = ({ boards, type = 'all', premium = true, disabled = true, hidden = false, exclude = {
5
5
  prop: '',
6
6
  value: ''
7
- } }) => {
7
+ }, include = [], }) => {
8
8
  switch (type) {
9
9
  case 'machineLearning':
10
10
  return boards.filter(b => b.type === 'machineLearning' &&
11
11
  (hidden || b.show === 1) &&
12
12
  (premium || !b.premium) &&
13
13
  (disabled || b.enabled) &&
14
- (!b[exclude.prop] || b[exclude.prop] !== exclude.value));
14
+ (!b[exclude.prop] || b[exclude.prop] !== exclude.value) &&
15
+ (include.length === 0 || include.includes(b.id)));
15
16
  case 'senior':
16
17
  return boards.filter(b => b.type === 'senior' &&
17
18
  (hidden || b.show === 1) &&
18
19
  (premium || !b.premium) &&
19
20
  (disabled || b.enabled) &&
20
- (!b[exclude.prop] || b[exclude.prop] !== exclude.value));
21
+ (!b[exclude.prop] || b[exclude.prop] !== exclude.value) &&
22
+ (include.length === 0 || include.includes(b.id)));
21
23
  case 'junior':
22
24
  return boards.filter(b => b.type === 'junior' &&
23
25
  (hidden || b.show === 1) &&
24
26
  (premium || !b.premium) &&
25
27
  (disabled || b.enabled) &&
26
- (!b[exclude.prop] || b[exclude.prop] !== exclude.value));
28
+ (!b[exclude.prop] || b[exclude.prop] !== exclude.value) &&
29
+ (include.length === 0 || include.includes(b.id)));
27
30
  case 'code':
28
31
  return boards.filter(b => b.type === 'senior' &&
29
32
  b.enabledForCode > 0 &&
30
33
  (hidden || b.show === 1) &&
31
34
  (premium || !b.premium) &&
32
35
  (disabled || b.enabled) &&
33
- (!b[exclude.prop] || b[exclude.prop] !== exclude.value));
36
+ (!b[exclude.prop] || b[exclude.prop] !== exclude.value) &&
37
+ (include.length === 0 || include.includes(b.id)));
34
38
  case 'aula':
35
39
  return boards.filter(b => (hidden || b.showOnAula === 1) &&
36
40
  (disabled || b.enabled) &&
37
- (!b[exclude.prop] || b[exclude.prop] !== exclude.value));
41
+ (!b[exclude.prop] || b[exclude.prop] !== exclude.value) &&
42
+ (include.length === 0 || include.includes(b.id)));
38
43
  case 'all':
39
44
  default:
40
45
  return boards.filter(b => (hidden || b.show === 1) &&
41
46
  (premium || !b.premium) &&
42
47
  (disabled || b.enabled) &&
43
- (!b[exclude.prop] || b[exclude.prop] !== exclude.value));
48
+ (!b[exclude.prop] || b[exclude.prop] !== exclude.value) &&
49
+ (include.length === 0 || include.includes(b.id)));
44
50
  }
45
51
  };
46
52
  exports.getAllBoards = getAllBoards;
@@ -67,6 +73,6 @@ exports.getBoardById = getBoardById;
67
73
  const getBoards = (boards, type = 'all', premium = true, disabled = true, hidden = false, exclude = {
68
74
  prop: '',
69
75
  value: ''
70
- }) => (0, exports.getAllBoards)({ boards, type, premium, disabled, hidden, exclude });
76
+ }, include = []) => (0, exports.getAllBoards)({ boards, type, premium, disabled, hidden, exclude, include });
71
77
  exports.getBoards = getBoards;
72
78
  //# sourceMappingURL=boards.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"boards.js","sourceRoot":"","sources":["../../../src/boards/boards.ts"],"names":[],"mappings":";;;AAgBO,MAAM,YAAY,GAAG,CAAC,EACzB,MAAM,EACN,IAAI,GAAG,KAAK,EACZ,OAAO,GAAG,IAAI,EACd,QAAQ,GAAG,IAAI,EACf,MAAM,GAAG,KAAK,EACd,OAAO,GAAG;IACN,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;CACZ,EACU,EAAW,EAAE;IACxB,QAAQ,IAAI,EAAE;QACV,KAAK,iBAAiB;YAClB,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CACrB,CAAC,CAAC,IAAI,KAAK,iBAAiB;gBAC5B,CAAC,MAAM,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAA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gBACvB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,OAAO,CAAC,KAAK,CAAC;gBACvD,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CACnD,CAAA;KACR;AACL,CAAC,CAAA;AAnEY,QAAA,YAAY,gBAmExB;AAEM,MAAM,YAAY,GAAG,CAAC,MAAe,EAAE,EAAmB,EAAE,EAAE,CAAC,MAAM;KACvE,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE;IACZ,MAAM,OAAO,GAAG,OAAO,EAAE,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;IAC9D,OAAO,KAAK,CAAC,EAAE,KAAK,OAAO,CAAA;AAC/B,CAAC,CAAC,CAAA;AAJO,QAAA,YAAY,gBAInB;AAEN;;;;;;;;;;;;;EAaE;AACK,MAAM,SAAS,GAAG,CACrB,MAAe,EACf,IAAI,GAAG,KAAK,EACZ,OAAO,GAAG,IAAI,EACd,QAAQ,GAAG,IAAI,EACf,MAAM,GAAG,KAAK,EACd,OAAO,GAAG;IACN,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;CACZ,EACD,OAAO,GAAG,EAAE,EACL,EAAE,CAAC,IAAA,oBAAY,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAA;AAX5E,QAAA,SAAS,aAWmE"}
@@ -147,7 +147,7 @@ exports.boards = [
147
147
  class: 'smart-team-3-cap-1',
148
148
  groupClass: 'smart-team',
149
149
  name: 'Libro 3',
150
- groupImage: 'smart-team-3.png',
150
+ groupImage: 'smart-team.png',
151
151
  groupPath: ['Poses de manos', 'Smart Team'],
152
152
  company: 'Smart Team',
153
153
  compilerBoard: 'arduino:avr:uno',
@@ -175,7 +175,7 @@ exports.boards = [
175
175
  class: 'smart-team-4-cap-1',
176
176
  groupClass: 'smart-team',
177
177
  name: 'Libro 4',
178
- groupImage: 'smart-team-3.png',
178
+ groupImage: 'smart-team.png',
179
179
  groupPath: ['Poses de manos', 'Smart Team'],
180
180
  company: 'Smart Team',
181
181
  compilerBoard: 'arduino:avr:uno',
@@ -203,7 +203,7 @@ exports.boards = [
203
203
  class: 'smart-team-5-cap-1',
204
204
  groupClass: 'smart-team',
205
205
  name: 'Libro 5',
206
- groupImage: 'smart-team-3.png',
206
+ groupImage: 'smart-team.png',
207
207
  groupPath: ['Poses de manos', 'Smart Team'],
208
208
  company: 'Smart Team',
209
209
  compilerBoard: 'arduino:avr:uno',
@@ -231,7 +231,7 @@ exports.boards = [
231
231
  class: 'smart-team-6-cap-1',
232
232
  groupClass: 'smart-team',
233
233
  name: 'Libro 6',
234
- groupImage: 'smart-team-3.png',
234
+ groupImage: 'smart-team.png',
235
235
  groupPath: ['Poses de manos', 'Smart Team'],
236
236
  company: 'Smart Team',
237
237
  compilerBoard: 'arduino:avr:uno',
@@ -259,7 +259,7 @@ exports.boards = [
259
259
  class: 'smart-team-7-cap-1',
260
260
  groupClass: 'smart-team',
261
261
  name: 'Libro 7',
262
- groupImage: 'smart-team-3.png',
262
+ groupImage: 'smart-team.png',
263
263
  groupPath: ['Poses de manos', 'Smart Team'],
264
264
  company: 'Smart Team',
265
265
  compilerBoard: 'arduino:avr:uno',
@@ -287,7 +287,7 @@ exports.boards = [
287
287
  class: 'smart-team-8-cap-1',
288
288
  groupClass: 'smart-team',
289
289
  name: 'Libro 8',
290
- groupImage: 'smart-team-3.png',
290
+ groupImage: 'smart-team.png',
291
291
  groupPath: ['Poses de manos', 'Smart Team'],
292
292
  company: 'Smart Team',
293
293
  compilerBoard: 'arduino:avr:uno',
@@ -315,7 +315,7 @@ exports.boards = [
315
315
  class: 'smart-team-9-cap-1',
316
316
  groupClass: 'smart-team',
317
317
  name: 'Libro 9',
318
- groupImage: 'smart-team-3.png',
318
+ groupImage: 'smart-team.png',
319
319
  groupPath: ['Poses de manos', 'Smart Team'],
320
320
  company: 'Smart Team',
321
321
  compilerBoard: 'arduino:avr:uno',
@@ -430,7 +430,7 @@ exports.boards = [
430
430
  class: 'smart-team-3-cap-1',
431
431
  groupClass: 'smart-team',
432
432
  name: 'Libro 3',
433
- groupImage: 'smart-team-3.png',
433
+ groupImage: 'smart-team.png',
434
434
  groupPath: ['Clasificador de imágenes', 'Smart Team'],
435
435
  company: 'Smart Team',
436
436
  compilerBoard: 'arduino:avr:uno',
@@ -458,7 +458,7 @@ exports.boards = [
458
458
  class: 'smart-team-4-cap-1',
459
459
  groupClass: 'smart-team',
460
460
  name: 'Libro 4',
461
- groupImage: 'smart-team-3.png',
461
+ groupImage: 'smart-team.png',
462
462
  groupPath: ['Clasificador de imágenes', 'Smart Team'],
463
463
  company: 'Smart Team',
464
464
  compilerBoard: 'arduino:avr:uno',
@@ -486,7 +486,7 @@ exports.boards = [
486
486
  class: 'smart-team-5-cap-1',
487
487
  groupClass: 'smart-team',
488
488
  name: 'Libro 5',
489
- groupImage: 'smart-team-3.png',
489
+ groupImage: 'smart-team.png',
490
490
  groupPath: ['Clasificador de imágenes', 'Smart Team'],
491
491
  company: 'Smart Team',
492
492
  compilerBoard: 'arduino:avr:uno',
@@ -514,7 +514,7 @@ exports.boards = [
514
514
  class: 'smart-team-6-cap-1',
515
515
  groupClass: 'smart-team',
516
516
  name: 'Libro 6',
517
- groupImage: 'smart-team-3.png',
517
+ groupImage: 'smart-team.png',
518
518
  groupPath: ['Clasificador de imágenes', 'Smart Team'],
519
519
  company: 'Smart Team',
520
520
  compilerBoard: 'arduino:avr:uno',
@@ -542,7 +542,7 @@ exports.boards = [
542
542
  class: 'smart-team-7-cap-1',
543
543
  groupClass: 'smart-team',
544
544
  name: 'Libro 7',
545
- groupImage: 'smart-team-3.png',
545
+ groupImage: 'smart-team.png',
546
546
  groupPath: ['Clasificador de imágenes', 'Smart Team'],
547
547
  company: 'Smart Team',
548
548
  compilerBoard: 'arduino:avr:uno',
@@ -570,7 +570,7 @@ exports.boards = [
570
570
  class: 'smart-team-8-cap-1',
571
571
  groupClass: 'smart-team',
572
572
  name: 'Libro 8',
573
- groupImage: 'smart-team-3.png',
573
+ groupImage: 'smart-team.png',
574
574
  groupPath: ['Clasificador de imágenes', 'Smart Team'],
575
575
  company: 'Smart Team',
576
576
  compilerBoard: 'arduino:avr:uno',
@@ -598,7 +598,7 @@ exports.boards = [
598
598
  class: 'smart-team-9-cap-1',
599
599
  groupClass: 'smart-team',
600
600
  name: 'Libro 9',
601
- groupImage: 'smart-team-3.png',
601
+ groupImage: 'smart-team.png',
602
602
  groupPath: ['Clasificador de imágenes', 'Smart Team'],
603
603
  company: 'Smart Team',
604
604
  compilerBoard: 'arduino:avr:uno',
@@ -800,7 +800,7 @@ exports.boards = [
800
800
  class: 'smart-team-3-cap-1',
801
801
  groupClass: 'smart-team',
802
802
  name: 'Libro 3',
803
- groupImage: 'smart-team-3.png',
803
+ groupImage: 'smart-team.png',
804
804
  groupPath: ['Clasificador de sonidos', 'Smart Team'],
805
805
  company: 'Smart Team',
806
806
  compilerBoard: 'arduino:avr:uno',
@@ -828,7 +828,7 @@ exports.boards = [
828
828
  class: 'smart-team-4-cap-1',
829
829
  groupClass: 'smart-team',
830
830
  name: 'Libro 4',
831
- groupImage: 'smart-team-3.png',
831
+ groupImage: 'smart-team.png',
832
832
  groupPath: ['Clasificador de sonidos', 'Smart Team'],
833
833
  company: 'Smart Team',
834
834
  compilerBoard: 'arduino:avr:uno',
@@ -856,7 +856,7 @@ exports.boards = [
856
856
  class: 'smart-team-5-cap-1',
857
857
  groupClass: 'smart-team',
858
858
  name: 'Libro 5',
859
- groupImage: 'smart-team-3.png',
859
+ groupImage: 'smart-team.png',
860
860
  groupPath: ['Clasificador de sonidos', 'Smart Team'],
861
861
  company: 'Smart Team',
862
862
  compilerBoard: 'arduino:avr:uno',
@@ -884,7 +884,7 @@ exports.boards = [
884
884
  class: 'smart-team-6-cap-1',
885
885
  groupClass: 'smart-team',
886
886
  name: 'Libro 6',
887
- groupImage: 'smart-team-3.png',
887
+ groupImage: 'smart-team.png',
888
888
  groupPath: ['Clasificador de sonidos', 'Smart Team'],
889
889
  company: 'Smart Team',
890
890
  compilerBoard: 'arduino:avr:uno',
@@ -912,7 +912,7 @@ exports.boards = [
912
912
  class: 'smart-team-7-cap-1',
913
913
  groupClass: 'smart-team',
914
914
  name: 'Libro 7',
915
- groupImage: 'smart-team-3.png',
915
+ groupImage: 'smart-team.png',
916
916
  groupPath: ['Clasificador de sonidos', 'Smart Team'],
917
917
  company: 'Smart Team',
918
918
  compilerBoard: 'arduino:avr:uno',
@@ -940,7 +940,7 @@ exports.boards = [
940
940
  class: 'smart-team-8-cap-1',
941
941
  groupClass: 'smart-team',
942
942
  name: 'Libro 8',
943
- groupImage: 'smart-team-3.png',
943
+ groupImage: 'smart-team.png',
944
944
  groupPath: ['Clasificador de sonidos', 'Smart Team'],
945
945
  company: 'Smart Team',
946
946
  compilerBoard: 'arduino:avr:uno',
@@ -968,7 +968,7 @@ exports.boards = [
968
968
  class: 'smart-team-9-cap-1',
969
969
  groupClass: 'smart-team',
970
970
  name: 'Libro 9',
971
- groupImage: 'smart-team-3.png',
971
+ groupImage: 'smart-team.png',
972
972
  groupPath: ['Clasificador de sonidos', 'Smart Team'],
973
973
  company: 'Smart Team',
974
974
  compilerBoard: 'arduino:avr:uno',
@@ -1083,7 +1083,7 @@ exports.boards = [
1083
1083
  class: 'smart-team-3-cap-1',
1084
1084
  groupClass: 'smart-team',
1085
1085
  name: 'Libro 3',
1086
- groupImage: 'smart-team-3.png',
1086
+ groupImage: 'smart-team.png',
1087
1087
  groupPath: ['Clasificador de textos', 'Smart Team'],
1088
1088
  company: 'Smart Team',
1089
1089
  compilerBoard: 'arduino:avr:uno',
@@ -1111,7 +1111,7 @@ exports.boards = [
1111
1111
  class: 'smart-team-4-cap-1',
1112
1112
  groupClass: 'smart-team',
1113
1113
  name: 'Libro 4',
1114
- groupImage: 'smart-team-3.png',
1114
+ groupImage: 'smart-team.png',
1115
1115
  groupPath: ['Clasificador de textos', 'Smart Team'],
1116
1116
  company: 'Smart Team',
1117
1117
  compilerBoard: 'arduino:avr:uno',
@@ -1139,7 +1139,7 @@ exports.boards = [
1139
1139
  class: 'smart-team-5-cap-1',
1140
1140
  groupClass: 'smart-team',
1141
1141
  name: 'Libro 5',
1142
- groupImage: 'smart-team-3.png',
1142
+ groupImage: 'smart-team.png',
1143
1143
  groupPath: ['Clasificador de textos', 'Smart Team'],
1144
1144
  company: 'Smart Team',
1145
1145
  compilerBoard: 'arduino:avr:uno',
@@ -1167,7 +1167,7 @@ exports.boards = [
1167
1167
  class: 'smart-team-6-cap-1',
1168
1168
  groupClass: 'smart-team',
1169
1169
  name: 'Libro 6',
1170
- groupImage: 'smart-team-3.png',
1170
+ groupImage: 'smart-team.png',
1171
1171
  groupPath: ['Clasificador de textos', 'Smart Team'],
1172
1172
  company: 'Smart Team',
1173
1173
  compilerBoard: 'arduino:avr:uno',
@@ -1195,7 +1195,7 @@ exports.boards = [
1195
1195
  class: 'smart-team-7-cap-1',
1196
1196
  groupClass: 'smart-team',
1197
1197
  name: 'Libro 7',
1198
- groupImage: 'smart-team-3.png',
1198
+ groupImage: 'smart-team.png',
1199
1199
  groupPath: ['Clasificador de textos', 'Smart Team'],
1200
1200
  company: 'Smart Team',
1201
1201
  compilerBoard: 'arduino:avr:uno',
@@ -1223,7 +1223,7 @@ exports.boards = [
1223
1223
  class: 'smart-team-8-cap-1',
1224
1224
  groupClass: 'smart-team',
1225
1225
  name: 'Libro 8',
1226
- groupImage: 'smart-team-3.png',
1226
+ groupImage: 'smart-team.png',
1227
1227
  groupPath: ['Clasificador de textos', 'Smart Team'],
1228
1228
  company: 'Smart Team',
1229
1229
  compilerBoard: 'arduino:avr:uno',
@@ -1251,7 +1251,7 @@ exports.boards = [
1251
1251
  class: 'smart-team-9-cap-1',
1252
1252
  groupClass: 'smart-team',
1253
1253
  name: 'Libro 9',
1254
- groupImage: 'smart-team-3.png',
1254
+ groupImage: 'smart-team.png',
1255
1255
  groupPath: ['Clasificador de textos', 'Smart Team'],
1256
1256
  company: 'Smart Team',
1257
1257
  compilerBoard: 'arduino:avr:uno',
@@ -1366,7 +1366,7 @@ exports.boards = [
1366
1366
  class: 'smart-team-3-cap-1',
1367
1367
  groupClass: 'smart-team',
1368
1368
  name: 'Libro 3',
1369
- groupImage: 'smart-team-3.png',
1369
+ groupImage: 'smart-team.png',
1370
1370
  groupPath: ['Poses del cuerpo', 'Smart Team'],
1371
1371
  company: 'Smart Team',
1372
1372
  compilerBoard: 'arduino:avr:uno',
@@ -1394,7 +1394,7 @@ exports.boards = [
1394
1394
  class: 'smart-team-4-cap-1',
1395
1395
  groupClass: 'smart-team',
1396
1396
  name: 'Libro 4',
1397
- groupImage: 'smart-team-3.png',
1397
+ groupImage: 'smart-team.png',
1398
1398
  groupPath: ['Poses del cuerpo', 'Smart Team'],
1399
1399
  company: 'Smart Team',
1400
1400
  compilerBoard: 'arduino:avr:uno',
@@ -1422,7 +1422,7 @@ exports.boards = [
1422
1422
  class: 'smart-team-5-cap-1',
1423
1423
  groupClass: 'smart-team',
1424
1424
  name: 'Libro 5',
1425
- groupImage: 'smart-team-3.png',
1425
+ groupImage: 'smart-team.png',
1426
1426
  groupPath: ['Poses del cuerpo', 'Smart Team'],
1427
1427
  company: 'Smart Team',
1428
1428
  compilerBoard: 'arduino:avr:uno',
@@ -1450,7 +1450,7 @@ exports.boards = [
1450
1450
  class: 'smart-team-6-cap-1',
1451
1451
  groupClass: 'smart-team',
1452
1452
  name: 'Libro 6',
1453
- groupImage: 'smart-team-3.png',
1453
+ groupImage: 'smart-team.png',
1454
1454
  groupPath: ['Poses del cuerpo', 'Smart Team'],
1455
1455
  company: 'Smart Team',
1456
1456
  compilerBoard: 'arduino:avr:uno',
@@ -1478,7 +1478,7 @@ exports.boards = [
1478
1478
  class: 'smart-team-7-cap-1',
1479
1479
  groupClass: 'smart-team',
1480
1480
  name: 'Libro 7',
1481
- groupImage: 'smart-team-3.png',
1481
+ groupImage: 'smart-team.png',
1482
1482
  groupPath: ['Poses del cuerpo', 'Smart Team'],
1483
1483
  company: 'Smart Team',
1484
1484
  compilerBoard: 'arduino:avr:uno',
@@ -1506,7 +1506,7 @@ exports.boards = [
1506
1506
  class: 'smart-team-8-cap-1',
1507
1507
  groupClass: 'smart-team',
1508
1508
  name: 'Libro 8',
1509
- groupImage: 'smart-team-3.png',
1509
+ groupImage: 'smart-team.png',
1510
1510
  groupPath: ['Poses del cuerpo', 'Smart Team'],
1511
1511
  company: 'Smart Team',
1512
1512
  compilerBoard: 'arduino:avr:uno',
@@ -1534,7 +1534,7 @@ exports.boards = [
1534
1534
  class: 'smart-team-9-cap-1',
1535
1535
  groupClass: 'smart-team',
1536
1536
  name: 'Libro 9',
1537
- groupImage: 'smart-team-3.png',
1537
+ groupImage: 'smart-team.png',
1538
1538
  groupPath: ['Poses del cuerpo', 'Smart Team'],
1539
1539
  company: 'Smart Team',
1540
1540
  compilerBoard: 'arduino:avr:uno',
@@ -1649,7 +1649,7 @@ exports.boards = [
1649
1649
  class: 'smart-team-3-cap-1',
1650
1650
  groupClass: 'smart-team',
1651
1651
  name: 'Libro 3',
1652
- groupImage: 'smart-team-3.png',
1652
+ groupImage: 'smart-team.png',
1653
1653
  groupPath: ['Gestos de la cara', 'Smart Team'],
1654
1654
  company: 'Smart Team',
1655
1655
  compilerBoard: 'arduino:avr:uno',
@@ -1677,7 +1677,7 @@ exports.boards = [
1677
1677
  class: 'smart-team-4-cap-1',
1678
1678
  groupClass: 'smart-team',
1679
1679
  name: 'Libro 4',
1680
- groupImage: 'smart-team-3.png',
1680
+ groupImage: 'smart-team.png',
1681
1681
  groupPath: ['Gestos de la cara', 'Smart Team'],
1682
1682
  company: 'Smart Team',
1683
1683
  compilerBoard: 'arduino:avr:uno',
@@ -1705,7 +1705,7 @@ exports.boards = [
1705
1705
  class: 'smart-team-5-cap-1',
1706
1706
  groupClass: 'smart-team',
1707
1707
  name: 'Libro 5',
1708
- groupImage: 'smart-team-3.png',
1708
+ groupImage: 'smart-team.png',
1709
1709
  groupPath: ['Gestos de la cara', 'Smart Team'],
1710
1710
  company: 'Smart Team',
1711
1711
  compilerBoard: 'arduino:avr:uno',
@@ -1733,7 +1733,7 @@ exports.boards = [
1733
1733
  class: 'smart-team-6-cap-1',
1734
1734
  groupClass: 'smart-team',
1735
1735
  name: 'Libro 6',
1736
- groupImage: 'smart-team-3.png',
1736
+ groupImage: 'smart-team.png',
1737
1737
  groupPath: ['Gestos de la cara', 'Smart Team'],
1738
1738
  company: 'Smart Team',
1739
1739
  compilerBoard: 'arduino:avr:uno',
@@ -1761,7 +1761,7 @@ exports.boards = [
1761
1761
  class: 'smart-team-7-cap-1',
1762
1762
  groupClass: 'smart-team',
1763
1763
  name: 'Libro 7',
1764
- groupImage: 'smart-team-3.png',
1764
+ groupImage: 'smart-team.png',
1765
1765
  groupPath: ['Gestos de la cara', 'Smart Team'],
1766
1766
  company: 'Smart Team',
1767
1767
  compilerBoard: 'arduino:avr:uno',
@@ -1789,7 +1789,7 @@ exports.boards = [
1789
1789
  class: 'smart-team-8-cap-1',
1790
1790
  groupClass: 'smart-team',
1791
1791
  name: 'Libro 8',
1792
- groupImage: 'smart-team-3.png',
1792
+ groupImage: 'smart-team.png',
1793
1793
  groupPath: ['Gestos de la cara', 'Smart Team'],
1794
1794
  company: 'Smart Team',
1795
1795
  compilerBoard: 'arduino:avr:uno',
@@ -1817,7 +1817,7 @@ exports.boards = [
1817
1817
  class: 'smart-team-9-cap-1',
1818
1818
  groupClass: 'smart-team',
1819
1819
  name: 'Libro 9',
1820
- groupImage: 'smart-team-3.png',
1820
+ groupImage: 'smart-team.png',
1821
1821
  groupPath: ['Gestos de la cara', 'Smart Team'],
1822
1822
  company: 'Smart Team',
1823
1823
  compilerBoard: 'arduino:avr:uno',
@@ -2221,6 +2221,7 @@ exports.boards = [
2221
2221
  elementType: types_1.BOARD_ITEM_TYPE.ROBOT,
2222
2222
  pins: pins_1.BHOOT_IACO,
2223
2223
  },
2224
+ // ------------ CREABOTS ------------ //
2224
2225
  {
2225
2226
  id: 39,
2226
2227
  type: 'senior',
@@ -2326,6 +2327,7 @@ exports.boards = [
2326
2327
  pins: pins_1.BHOOT_LGO20,
2327
2328
  simulator: 0,
2328
2329
  },
2330
+ // ------------ SmartTeam ------------ //
2329
2331
  {
2330
2332
  id: 14,
2331
2333
  type: 'senior',
@@ -2333,7 +2335,7 @@ exports.boards = [
2333
2335
  class: 'smart-team-3-cap-1',
2334
2336
  groupClass: 'smart-team',
2335
2337
  name: 'Libro 3',
2336
- groupImage: 'smart-team-3.png',
2338
+ groupImage: 'smart-team.png',
2337
2339
  groupPath: ['Smart Team'],
2338
2340
  company: 'Smart Team',
2339
2341
  compilerBoard: 'arduino:avr:uno',
@@ -2359,7 +2361,7 @@ exports.boards = [
2359
2361
  class: 'smart-team-4-cap-1',
2360
2362
  groupClass: 'smart-team',
2361
2363
  name: 'Libro 4',
2362
- groupImage: 'smart-team-3.png',
2364
+ groupImage: 'smart-team.png',
2363
2365
  groupPath: ['Smart Team'],
2364
2366
  company: 'Smart Team',
2365
2367
  compilerBoard: 'arduino:avr:uno',
@@ -2385,7 +2387,7 @@ exports.boards = [
2385
2387
  class: 'smart-team-5-cap-1',
2386
2388
  groupClass: 'smart-team',
2387
2389
  name: 'Libro 5',
2388
- groupImage: 'smart-team-3.png',
2390
+ groupImage: 'smart-team.png',
2389
2391
  groupPath: ['Smart Team'],
2390
2392
  company: 'Smart Team',
2391
2393
  compilerBoard: 'arduino:avr:uno',
@@ -2412,7 +2414,7 @@ exports.boards = [
2412
2414
  class: 'smart-team-6-cap-1',
2413
2415
  groupClass: 'smart-team',
2414
2416
  name: 'Libro 6',
2415
- groupImage: 'smart-team-3.png',
2417
+ groupImage: 'smart-team.png',
2416
2418
  groupPath: ['Smart Team'],
2417
2419
  company: 'Smart Team',
2418
2420
  compilerBoard: 'arduino:avr:uno',
@@ -2439,7 +2441,7 @@ exports.boards = [
2439
2441
  class: 'smart-team-7-cap-1',
2440
2442
  groupClass: 'smart-team',
2441
2443
  name: 'Libro 7',
2442
- groupImage: 'smart-team-3.png',
2444
+ groupImage: 'smart-team.png',
2443
2445
  groupPath: ['Smart Team'],
2444
2446
  company: 'Smart Team',
2445
2447
  compilerBoard: 'arduino:avr:uno',
@@ -2466,7 +2468,7 @@ exports.boards = [
2466
2468
  class: 'smart-team-8-cap-1',
2467
2469
  groupClass: 'smart-team',
2468
2470
  name: 'Libro 8',
2469
- groupImage: 'smart-team-3.png',
2471
+ groupImage: 'smart-team.png',
2470
2472
  groupPath: ['Smart Team'],
2471
2473
  company: 'Smart Team',
2472
2474
  compilerBoard: 'arduino:avr:uno',
@@ -2493,7 +2495,7 @@ exports.boards = [
2493
2495
  class: 'smart-team-9-cap-1',
2494
2496
  groupClass: 'smart-team',
2495
2497
  name: 'Libro 9',
2496
- groupImage: 'smart-team-3.png',
2498
+ groupImage: 'smart-team.png',
2497
2499
  groupPath: ['Smart Team'],
2498
2500
  company: 'Smart Team',
2499
2501
  compilerBoard: 'arduino:avr:uno',