@paris-ias/trees 2.0.21 → 2.0.23

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.
@@ -65,10 +65,13 @@ const data = {
65
65
  "en": "",
66
66
  "fr": ""
67
67
  },
68
- "action": "",
69
- "affiliation": "",
68
+ "image": "",
69
+ "affiliations": "",
70
+ "publicationDate": "",
70
71
  "applicationStart": "",
72
+ "applicationStop": "",
71
73
  "fellowshipStart": "",
74
+ "fellowshipStop": "",
72
75
  "contact": "",
73
76
  "description": {
74
77
  "en": "",
@@ -96,8 +99,9 @@ const data = {
96
99
  "location": [
97
100
  {
98
101
  "name": "",
102
+ "acronym": "",
103
+ "image": "",
99
104
  "details": "",
100
- "alt": "",
101
105
  "street": "",
102
106
  "city": "",
103
107
  "country": "",
@@ -140,10 +144,6 @@ const data = {
140
144
  ],
141
145
  "gallery": "",
142
146
  "url": "",
143
- "fellowshipStop": "",
144
- "applicationStop": "",
145
- "image": "",
146
- "publicationDate": "",
147
147
  "files": "",
148
148
  "video": [
149
149
  {
@@ -173,7 +173,7 @@ const data = {
173
173
  "type": "PRIMITIVE",
174
174
  "rules": {
175
175
  "required": true,
176
- "min": 5,
176
+ "min": 3,
177
177
  "max": 200
178
178
  },
179
179
  "meta": "name"
@@ -194,26 +194,27 @@ const data = {
194
194
  "label": "summary",
195
195
  "component": "TextArea",
196
196
  "type": "PRIMITIVE",
197
+ "description": "Will be extracted from description if left empty",
197
198
  "i18n": true,
198
199
  "rules": {
199
- "required": true,
200
200
  "min": 5,
201
201
  "max": 200
202
202
  },
203
203
  "meta": "summary"
204
204
  },
205
- "action": {
206
- "label": "action",
207
- "component": "TextField",
208
- "type": "PRIMITIVE",
205
+ "image": {
206
+ "label": "image",
207
+ "component": "ImagePicker",
208
+ "type": "DOCUMENT",
209
209
  "rules": {
210
210
  "required": true
211
211
  },
212
- "meta": "action"
212
+ "meta": "image",
213
+ "default": ""
213
214
  },
214
- "affiliation": {
215
+ "affiliations": {
215
216
  "label": "affiliations",
216
- "component": "AffiliationPicker",
217
+ "component": "DocumentPicker",
217
218
  "type": "DOCUMENT",
218
219
  "rules": {
219
220
  "required": true
@@ -221,30 +222,66 @@ const data = {
221
222
  "meta": "affiliations",
222
223
  "default": ""
223
224
  },
225
+ "publicationDate": {
226
+ "label": "publicationDate",
227
+ "component": "DatePicker",
228
+ "description": "The date when the fellowship is published on the website. It should not be visible before.",
229
+ "type": "PRIMITIVE",
230
+ "rules": {
231
+ "required": true,
232
+ "date": true
233
+ },
234
+ "meta": "publicationDate"
235
+ },
224
236
  "applicationStart": {
225
237
  "label": "applicationStart",
226
238
  "component": "DatePicker",
227
239
  "type": "PRIMITIVE",
240
+ "description": "The date when applications open",
228
241
  "rules": {
229
242
  "required": true,
230
243
  "date": true
231
244
  },
232
245
  "meta": "applicationStart"
233
246
  },
247
+ "applicationStop": {
248
+ "label": "applicationStop",
249
+ "component": "DatePicker",
250
+ "description": "The date when applications close",
251
+ "type": "PRIMITIVE",
252
+ "rules": {
253
+ "required": true,
254
+ "date": true
255
+ },
256
+ "meta": "applicationStop"
257
+ },
234
258
  "fellowshipStart": {
235
259
  "label": "fellowshipStart",
236
260
  "component": "DatePicker",
237
261
  "type": "PRIMITIVE",
262
+ "description": "The date when the fellowship starts, i.e. the fellow arrives",
238
263
  "rules": {
239
264
  "required": true,
240
265
  "date": true
241
266
  },
242
267
  "meta": "fellowshipStart"
243
268
  },
269
+ "fellowshipStop": {
270
+ "label": "fellowshipStop",
271
+ "component": "DatePicker",
272
+ "type": "PRIMITIVE",
273
+ "description": "The date when the fellowship ends",
274
+ "rules": {
275
+ "required": true,
276
+ "date": true
277
+ },
278
+ "meta": "fellowshipStop"
279
+ },
244
280
  "contact": {
245
281
  "label": "contact",
246
282
  "component": "TextField",
247
283
  "type": "PRIMITIVE",
284
+ "description": "it will be hidden from public view but used to reroute applications",
248
285
  "rules": {
249
286
  "required": true,
250
287
  "email": true
@@ -259,7 +296,7 @@ const data = {
259
296
  "rules": {
260
297
  "required": true,
261
298
  "min": 5,
262
- "max": 200
299
+ "max": 1600
263
300
  },
264
301
  "meta": "description"
265
302
  },
@@ -269,8 +306,8 @@ const data = {
269
306
  "type": "DOCUMENT",
270
307
  "rules": {
271
308
  "required": true,
272
- "min": 5,
273
- "max": 200
309
+ "min": 1,
310
+ "max": 15
274
311
  },
275
312
  "meta": "disciplines",
276
313
  "default": ""
@@ -281,8 +318,8 @@ const data = {
281
318
  "type": "PRIMITIVE",
282
319
  "rules": {
283
320
  "required": true,
284
- "min": 5,
285
- "max": 200
321
+ "min": 1,
322
+ "max": 3
286
323
  },
287
324
  "items": {
288
325
  "ShortStay": "SHORT_STAY",
@@ -296,7 +333,9 @@ const data = {
296
333
  "component": "ObjectContainerPanel",
297
334
  "type": "OBJECT",
298
335
  "rules": {
299
- "required": true
336
+ "required": true,
337
+ "min": 1,
338
+ "max": 1600
300
339
  },
301
340
  "meta": "details",
302
341
  "items": {
@@ -361,27 +400,34 @@ const data = {
361
400
  },
362
401
  "meta": "name"
363
402
  },
364
- "details": {
365
- "label": "details",
366
- "component": "TextArea",
403
+ "acronym": {
404
+ "label": "acronym",
405
+ "component": "TextField",
367
406
  "type": "PRIMITIVE",
368
407
  "rules": {
369
- "required": true,
370
- "min": 5,
371
- "max": 200
408
+ "max": 20
372
409
  },
373
- "meta": "details"
410
+ "meta": "acronym"
374
411
  },
375
- "alt": {
376
- "label": "alt",
412
+ "image": {
413
+ "label": "image",
414
+ "component": "ImagePicker",
415
+ "type": "DOCUMENT",
416
+ "rules": {
417
+ "required": true
418
+ },
419
+ "meta": "image",
420
+ "default": ""
421
+ },
422
+ "details": {
423
+ "label": "details",
377
424
  "component": "TextArea",
378
425
  "type": "PRIMITIVE",
379
426
  "rules": {
380
- "required": true,
381
427
  "min": 5,
382
- "max": 200
428
+ "max": 2000
383
429
  },
384
- "meta": "alt"
430
+ "meta": "details"
385
431
  },
386
432
  "street": {
387
433
  "label": "street",
@@ -389,7 +435,7 @@ const data = {
389
435
  "type": "PRIMITIVE",
390
436
  "rules": {
391
437
  "required": true,
392
- "max": 200
438
+ "max": 2000
393
439
  },
394
440
  "meta": "street"
395
441
  },
@@ -415,41 +461,26 @@ const data = {
415
461
  "type": "PRIMITIVE",
416
462
  "rules": {
417
463
  "required": true,
418
- "min": 5,
419
- "max": 200
464
+ "numerical": true
420
465
  },
421
466
  "meta": "zip"
422
467
  },
423
468
  "geocode": {
424
469
  "label": "geocode",
425
- "component": "LocationPicker",
470
+ "component": "GeocodePicker",
426
471
  "type": "OBJECT",
427
- "rules": {
428
- "required": true,
429
- "min": 5,
430
- "max": 200
431
- },
472
+ "rules": {},
432
473
  "items": {
433
474
  "lat": {
434
475
  "label": "latitude",
435
- "component": "TextField",
476
+ "component": false,
436
477
  "type": "PRIMITIVE",
437
- "rules": {
438
- "required": true,
439
- "min": 5,
440
- "max": 200
441
- },
442
478
  "meta": "latitude"
443
479
  },
444
480
  "lng": {
445
481
  "label": "longitude",
446
- "component": "TextField",
482
+ "component": false,
447
483
  "type": "PRIMITIVE",
448
- "rules": {
449
- "required": true,
450
- "min": 5,
451
- "max": 200
452
- },
453
484
  "meta": "longitude"
454
485
  }
455
486
  },
@@ -475,7 +506,7 @@ const data = {
475
506
  "rules": {
476
507
  "required": true,
477
508
  "min": 5,
478
- "max": 200
509
+ "max": 2000
479
510
  },
480
511
  "meta": "housing"
481
512
  },
@@ -487,7 +518,7 @@ const data = {
487
518
  "rules": {
488
519
  "required": true,
489
520
  "min": 5,
490
- "max": 200
521
+ "max": 2000
491
522
  },
492
523
  "meta": "meals"
493
524
  },
@@ -499,7 +530,7 @@ const data = {
499
530
  "rules": {
500
531
  "required": true,
501
532
  "min": 5,
502
- "max": 200
533
+ "max": 2000
503
534
  },
504
535
  "meta": "applicationMaterials"
505
536
  },
@@ -511,7 +542,7 @@ const data = {
511
542
  "rules": {
512
543
  "required": true,
513
544
  "min": 5,
514
- "max": 200
545
+ "max": 2000
515
546
  },
516
547
  "meta": "selectionProcess"
517
548
  },
@@ -523,7 +554,7 @@ const data = {
523
554
  "rules": {
524
555
  "required": true,
525
556
  "min": 5,
526
- "max": 200
557
+ "max": 2000
527
558
  },
528
559
  "meta": "researchSupport"
529
560
  }
@@ -562,49 +593,10 @@ const data = {
562
593
  },
563
594
  "meta": "url"
564
595
  },
565
- "fellowshipStop": {
566
- "label": "fellowshipStop",
567
- "component": "DatePicker",
568
- "type": "PRIMITIVE",
569
- "rules": {
570
- "required": true,
571
- "date": true
572
- },
573
- "meta": "fellowshipStop"
574
- },
575
- "applicationStop": {
576
- "label": "applicationStop",
577
- "component": "DatePicker",
578
- "type": "PRIMITIVE",
579
- "rules": {
580
- "required": true,
581
- "date": true
582
- },
583
- "meta": "applicationStop"
584
- },
585
- "image": {
586
- "label": "image",
587
- "component": "ImagePicker",
588
- "type": "DOCUMENT",
589
- "rules": {
590
- "required": true
591
- },
592
- "meta": "image",
593
- "default": ""
594
- },
595
- "publicationDate": {
596
- "label": "publicationDate",
597
- "component": "DatePicker",
598
- "type": "PRIMITIVE",
599
- "rules": {
600
- "required": true,
601
- "date": true
602
- },
603
- "meta": "publicationDate"
604
- },
605
596
  "files": {
606
597
  "label": "files",
607
598
  "component": "FilePicker",
599
+ "description": "Additional files related to the fellowship - e.g. application form",
608
600
  "type": "DOCUMENT",
609
601
  "meta": "files",
610
602
  "default": ""