@paris-ias/trees 2.0.12 → 2.0.14

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.
@@ -52,7 +52,11 @@ const data = {
52
52
  "fr": ""
53
53
  },
54
54
  "disciplines": "",
55
- "discussants": "",
55
+ "discussants": [
56
+ {
57
+ "discussants": ""
58
+ }
59
+ ],
56
60
  "organiserType": "",
57
61
  "lang": "",
58
62
  "files": "",
@@ -69,26 +73,7 @@ const data = {
69
73
  ],
70
74
  "organizers": [
71
75
  {
72
- "name": {
73
- "en": "",
74
- "fr": ""
75
- },
76
- "image": "",
77
- "location": {
78
- "name": "",
79
- "details": "",
80
- "alt": "",
81
- "street": "",
82
- "city": "",
83
- "country": "",
84
- "zip": "",
85
- "geocode": {
86
- "lat": "",
87
- "lng": ""
88
- }
89
- },
90
- "ror": "",
91
- "url": ""
76
+ "organizers": ""
92
77
  }
93
78
  ],
94
79
  "organizerState": "",
@@ -114,7 +99,11 @@ const data = {
114
99
  "projects": "",
115
100
  "fellowships": ""
116
101
  },
117
- "speakers": "",
102
+ "speakers": [
103
+ {
104
+ "speakers": ""
105
+ }
106
+ ],
118
107
  "state": "",
119
108
  "tags": "",
120
109
  "totalSlots": "",
@@ -312,12 +301,17 @@ const data = {
312
301
  "discussants": {
313
302
  "label": "discussants",
314
303
  "component": "CollectionContainerPanel",
315
- "type": "DOCUMENT",
316
- "rules": {
317
- "required": true
304
+ "type": "ARRAY",
305
+ "items": {
306
+ "discussants": {
307
+ "label": "discussants",
308
+ "component": "DocumentPicker",
309
+ "type": "DOCUMENT",
310
+ "meta": "discussants",
311
+ "default": ""
312
+ }
318
313
  },
319
- "meta": "discussants",
320
- "default": ""
314
+ "meta": "discussants"
321
315
  },
322
316
  "organiserType": {
323
317
  "label": "organiserType",
@@ -435,166 +429,16 @@ const data = {
435
429
  "label": "organizers",
436
430
  "component": "CollectionContainerPanel",
437
431
  "type": "ARRAY",
438
- "rules": {
439
- "required": true,
440
- "min": 5,
441
- "max": 200
442
- },
443
- "meta": "organizers",
444
432
  "items": {
445
- "name": {
446
- "label": "name",
447
- "component": "TextField",
448
- "type": "PRIMITIVE",
449
- "i18n": true,
450
- "rules": {
451
- "required": true,
452
- "min": 5,
453
- "max": 200
454
- },
455
- "meta": "name"
456
- },
457
- "image": {
458
- "label": "image",
459
- "component": "ImagePicker",
433
+ "organizers": {
434
+ "label": "organizers",
435
+ "component": "DocumentPicker",
460
436
  "type": "DOCUMENT",
461
- "meta": "image",
437
+ "meta": "organizers",
462
438
  "default": ""
463
- },
464
- "location": {
465
- "label": "location",
466
- "component": "ObjectContainerPanel",
467
- "type": "OBJECT",
468
- "meta": "location",
469
- "items": {
470
- "name": {
471
- "label": "name",
472
- "component": "TextField",
473
- "type": "PRIMITIVE",
474
- "rules": {
475
- "required": true,
476
- "min": 5,
477
- "max": 200
478
- },
479
- "meta": "name"
480
- },
481
- "details": {
482
- "label": "details",
483
- "component": "TextArea",
484
- "type": "PRIMITIVE",
485
- "rules": {
486
- "required": true,
487
- "min": 5,
488
- "max": 200
489
- },
490
- "meta": "details"
491
- },
492
- "alt": {
493
- "label": "alt",
494
- "component": "TextArea",
495
- "type": "PRIMITIVE",
496
- "rules": {
497
- "required": true,
498
- "min": 5,
499
- "max": 200
500
- },
501
- "meta": "alt"
502
- },
503
- "street": {
504
- "label": "street",
505
- "component": "TextField",
506
- "type": "PRIMITIVE",
507
- "rules": {
508
- "required": true,
509
- "max": 200
510
- },
511
- "meta": "street"
512
- },
513
- "city": {
514
- "label": "city",
515
- "component": "TextField",
516
- "type": "PRIMITIVE",
517
- "rules": {
518
- "required": true,
519
- "max": 200
520
- },
521
- "meta": "city"
522
- },
523
- "country": {
524
- "label": "country",
525
- "component": "AutoComplete",
526
- "type": "PRIMITIVE",
527
- "meta": "country"
528
- },
529
- "zip": {
530
- "label": "zip",
531
- "component": "TextField",
532
- "type": "PRIMITIVE",
533
- "rules": {
534
- "required": true,
535
- "min": 5,
536
- "max": 200
537
- },
538
- "meta": "zip"
539
- },
540
- "geocode": {
541
- "label": "geocode",
542
- "component": "LocationPicker",
543
- "type": "OBJECT",
544
- "rules": {
545
- "required": true,
546
- "min": 5,
547
- "max": 200
548
- },
549
- "items": {
550
- "lat": {
551
- "label": "latitude",
552
- "component": "TextField",
553
- "type": "PRIMITIVE",
554
- "rules": {
555
- "required": true,
556
- "min": 5,
557
- "max": 200
558
- },
559
- "meta": "latitude"
560
- },
561
- "lng": {
562
- "label": "longitude",
563
- "component": "TextField",
564
- "type": "PRIMITIVE",
565
- "rules": {
566
- "required": true,
567
- "min": 5,
568
- "max": 200
569
- },
570
- "meta": "longitude"
571
- }
572
- },
573
- "meta": "geocode"
574
- }
575
- }
576
- },
577
- "ror": {
578
- "label": "ror",
579
- "component": "TextField",
580
- "type": "PRIMITIVE",
581
- "rules": {
582
- "required": true,
583
- "ror": true
584
- },
585
- "meta": "ror"
586
- },
587
- "url": {
588
- "label": "url",
589
- "component": "TextField",
590
- "type": "PRIMITIVE",
591
- "rules": {
592
- "required": true,
593
- "url": true
594
- },
595
- "meta": "url"
596
439
  }
597
- }
440
+ },
441
+ "meta": "organizers"
598
442
  },
599
443
  "organizerState": {
600
444
  "label": "organizerState",
@@ -790,12 +634,17 @@ const data = {
790
634
  "speakers": {
791
635
  "label": "speakers",
792
636
  "component": "CollectionContainerPanel",
793
- "type": "DOCUMENT",
794
- "rules": {
795
- "required": true
637
+ "type": "ARRAY",
638
+ "items": {
639
+ "speakers": {
640
+ "label": "speakers",
641
+ "component": "DocumentPicker",
642
+ "type": "DOCUMENT",
643
+ "meta": "speakers",
644
+ "default": ""
645
+ }
796
646
  },
797
- "meta": "speakers",
798
- "default": ""
647
+ "meta": "speakers"
799
648
  },
800
649
  "state": {
801
650
  "label": "state",
@@ -13,21 +13,21 @@ export interface Events {
13
13
  description: string // 0 - Server & Client -
14
14
  details: String // 0 - Server & Client -
15
15
  disciplines?: Disciplines[] // 3 - Server & Client //Inside=> Presentation
16
- discussants?: People[] // 0 - Server & Client -
16
+ discussants?: RelatedPeople[] // 0 - Server & Client -
17
17
  files?: Files[] // 3 - Server & Client -
18
18
  lang: string[]
19
19
  image?: Image // 3 - Server & Client -
20
20
  gallery?: Image[]
21
21
  name: string // 0 - Server & Client -
22
22
  eventSlot?: EventSlot[] //// 3 - Server -
23
- organizers: People[] | Affiliations[] // 3 - Server & Client -
23
+ organizers: RelatedPeople[] | Affiliations[] // 3 - Server & Client -
24
24
  outside: boolean // 0 - Server & Client - // Near inscription
25
25
  location: Location // 0 - Server & Client -
26
26
  organiserType: organiserType // server & client - 0 = IAS, 1 = member, 2 = fellow, 3 = external
27
27
  program: String // 0 - Server & Client -
28
28
  related: Related
29
29
  // slots?: EventSlot[]; //// 3 - Server
30
- speakers?: People[] // 3 - Server & Client -
30
+ speakers?: RelatedPeople[] // 3 - Server & Client -
31
31
  start: string // 0 - Server & Client - A verifier string ? string[]
32
32
  state: eventState // 0 - Server & Client -
33
33
  stop: string // 0 - Server & Client - A verifier string ? string[]
@@ -50,7 +50,11 @@ const data = {
50
50
  "fr": ""
51
51
  },
52
52
  "disciplines": "",
53
- "discussants": "",
53
+ "discussants": [
54
+ {
55
+ "discussants": ""
56
+ }
57
+ ],
54
58
  "organiserType": "",
55
59
  "lang": "",
56
60
  "files": "",
@@ -67,26 +71,7 @@ const data = {
67
71
  ],
68
72
  "organizers": [
69
73
  {
70
- "name": {
71
- "en": "",
72
- "fr": ""
73
- },
74
- "image": "",
75
- "location": {
76
- "name": "",
77
- "details": "",
78
- "alt": "",
79
- "street": "",
80
- "city": "",
81
- "country": "",
82
- "zip": "",
83
- "geocode": {
84
- "lat": "",
85
- "lng": ""
86
- }
87
- },
88
- "ror": "",
89
- "url": ""
74
+ "organizers": ""
90
75
  }
91
76
  ],
92
77
  "organizerState": "",
@@ -112,7 +97,11 @@ const data = {
112
97
  "projects": "",
113
98
  "fellowships": ""
114
99
  },
115
- "speakers": "",
100
+ "speakers": [
101
+ {
102
+ "speakers": ""
103
+ }
104
+ ],
116
105
  "state": "",
117
106
  "tags": "",
118
107
  "totalSlots": "",
@@ -310,12 +299,17 @@ const data = {
310
299
  "discussants": {
311
300
  "label": "discussants",
312
301
  "component": "CollectionContainerPanel",
313
- "type": "DOCUMENT",
314
- "rules": {
315
- "required": true
302
+ "type": "ARRAY",
303
+ "items": {
304
+ "discussants": {
305
+ "label": "discussants",
306
+ "component": "DocumentPicker",
307
+ "type": "DOCUMENT",
308
+ "meta": "discussants",
309
+ "default": ""
310
+ }
316
311
  },
317
- "meta": "discussants",
318
- "default": ""
312
+ "meta": "discussants"
319
313
  },
320
314
  "organiserType": {
321
315
  "label": "organiserType",
@@ -433,166 +427,16 @@ const data = {
433
427
  "label": "organizers",
434
428
  "component": "CollectionContainerPanel",
435
429
  "type": "ARRAY",
436
- "rules": {
437
- "required": true,
438
- "min": 5,
439
- "max": 200
440
- },
441
- "meta": "organizers",
442
430
  "items": {
443
- "name": {
444
- "label": "name",
445
- "component": "TextField",
446
- "type": "PRIMITIVE",
447
- "i18n": true,
448
- "rules": {
449
- "required": true,
450
- "min": 5,
451
- "max": 200
452
- },
453
- "meta": "name"
454
- },
455
- "image": {
456
- "label": "image",
457
- "component": "ImagePicker",
431
+ "organizers": {
432
+ "label": "organizers",
433
+ "component": "DocumentPicker",
458
434
  "type": "DOCUMENT",
459
- "meta": "image",
435
+ "meta": "organizers",
460
436
  "default": ""
461
- },
462
- "location": {
463
- "label": "location",
464
- "component": "ObjectContainerPanel",
465
- "type": "OBJECT",
466
- "meta": "location",
467
- "items": {
468
- "name": {
469
- "label": "name",
470
- "component": "TextField",
471
- "type": "PRIMITIVE",
472
- "rules": {
473
- "required": true,
474
- "min": 5,
475
- "max": 200
476
- },
477
- "meta": "name"
478
- },
479
- "details": {
480
- "label": "details",
481
- "component": "TextArea",
482
- "type": "PRIMITIVE",
483
- "rules": {
484
- "required": true,
485
- "min": 5,
486
- "max": 200
487
- },
488
- "meta": "details"
489
- },
490
- "alt": {
491
- "label": "alt",
492
- "component": "TextArea",
493
- "type": "PRIMITIVE",
494
- "rules": {
495
- "required": true,
496
- "min": 5,
497
- "max": 200
498
- },
499
- "meta": "alt"
500
- },
501
- "street": {
502
- "label": "street",
503
- "component": "TextField",
504
- "type": "PRIMITIVE",
505
- "rules": {
506
- "required": true,
507
- "max": 200
508
- },
509
- "meta": "street"
510
- },
511
- "city": {
512
- "label": "city",
513
- "component": "TextField",
514
- "type": "PRIMITIVE",
515
- "rules": {
516
- "required": true,
517
- "max": 200
518
- },
519
- "meta": "city"
520
- },
521
- "country": {
522
- "label": "country",
523
- "component": "AutoComplete",
524
- "type": "PRIMITIVE",
525
- "meta": "country"
526
- },
527
- "zip": {
528
- "label": "zip",
529
- "component": "TextField",
530
- "type": "PRIMITIVE",
531
- "rules": {
532
- "required": true,
533
- "min": 5,
534
- "max": 200
535
- },
536
- "meta": "zip"
537
- },
538
- "geocode": {
539
- "label": "geocode",
540
- "component": "LocationPicker",
541
- "type": "OBJECT",
542
- "rules": {
543
- "required": true,
544
- "min": 5,
545
- "max": 200
546
- },
547
- "items": {
548
- "lat": {
549
- "label": "latitude",
550
- "component": "TextField",
551
- "type": "PRIMITIVE",
552
- "rules": {
553
- "required": true,
554
- "min": 5,
555
- "max": 200
556
- },
557
- "meta": "latitude"
558
- },
559
- "lng": {
560
- "label": "longitude",
561
- "component": "TextField",
562
- "type": "PRIMITIVE",
563
- "rules": {
564
- "required": true,
565
- "min": 5,
566
- "max": 200
567
- },
568
- "meta": "longitude"
569
- }
570
- },
571
- "meta": "geocode"
572
- }
573
- }
574
- },
575
- "ror": {
576
- "label": "ror",
577
- "component": "TextField",
578
- "type": "PRIMITIVE",
579
- "rules": {
580
- "required": true,
581
- "ror": true
582
- },
583
- "meta": "ror"
584
- },
585
- "url": {
586
- "label": "url",
587
- "component": "TextField",
588
- "type": "PRIMITIVE",
589
- "rules": {
590
- "required": true,
591
- "url": true
592
- },
593
- "meta": "url"
594
437
  }
595
- }
438
+ },
439
+ "meta": "organizers"
596
440
  },
597
441
  "organizerState": {
598
442
  "label": "organizerState",
@@ -788,12 +632,17 @@ const data = {
788
632
  "speakers": {
789
633
  "label": "speakers",
790
634
  "component": "CollectionContainerPanel",
791
- "type": "DOCUMENT",
792
- "rules": {
793
- "required": true
635
+ "type": "ARRAY",
636
+ "items": {
637
+ "speakers": {
638
+ "label": "speakers",
639
+ "component": "DocumentPicker",
640
+ "type": "DOCUMENT",
641
+ "meta": "speakers",
642
+ "default": ""
643
+ }
794
644
  },
795
- "meta": "speakers",
796
- "default": ""
645
+ "meta": "speakers"
797
646
  },
798
647
  "state": {
799
648
  "label": "state",
@@ -628,7 +628,7 @@ const data = {
628
628
  },
629
629
  "meta": "biography",
630
630
  "transformers": [
631
- "OPTIONS"
631
+ "CANDIDATES"
632
632
  ]
633
633
  },
634
634
  "image": {
@@ -626,7 +626,7 @@ const data = {
626
626
  },
627
627
  "meta": "biography",
628
628
  "transformers": [
629
- "OPTIONS"
629
+ "CANDIDATES"
630
630
  ]
631
631
  },
632
632
  "image": {
@@ -144,7 +144,7 @@ const data = {
144
144
  },
145
145
  "meta": "biography",
146
146
  "transformers": [
147
- "OPTIONS"
147
+ "CANDIDATES"
148
148
  ]
149
149
  },
150
150
  "image": {
@@ -142,7 +142,7 @@ const data = {
142
142
  },
143
143
  "meta": "biography",
144
144
  "transformers": [
145
- "OPTIONS"
145
+ "CANDIDATES"
146
146
  ]
147
147
  },
148
148
  "image": {
@@ -11,7 +11,6 @@ query getNews($appId: ID = "iea", $itemId: ID = "", $lang: String = "en") {
11
11
  file
12
12
  fileType
13
13
  hash
14
- slug
15
14
  image {
16
15
  alt
17
16
  caption
@@ -39,7 +39,6 @@ query getPublication(
39
39
  file
40
40
  fileType
41
41
  hash
42
- slug
43
42
  image {
44
43
  alt
45
44
  backgroundColor
@@ -96,7 +96,7 @@ const data = {
96
96
  "text": "by-date-most-recent-first",
97
97
  "value": [
98
98
  "start",
99
- 1
99
+ -1
100
100
  ],
101
101
  "default": true
102
102
  },
@@ -196,7 +196,7 @@ const data = {
196
196
  "start"
197
197
  ],
198
198
  "sortDesc": [
199
- 1
199
+ -1
200
200
  ]
201
201
  };
202
202
 
@@ -13,21 +13,21 @@ export interface Events {
13
13
  description: string // 0 - Server & Client -
14
14
  details: String // 0 - Server & Client -
15
15
  disciplines?: Disciplines[] // 3 - Server & Client //Inside=> Presentation
16
- discussants?: People[] // 0 - Server & Client -
16
+ discussants?: RelatedPeople[] // 0 - Server & Client -
17
17
  files?: Files[] // 3 - Server & Client -
18
18
  lang: string[]
19
19
  image?: Image // 3 - Server & Client -
20
20
  gallery?: Image[]
21
21
  name: string // 0 - Server & Client -
22
22
  eventSlot?: EventSlot[] //// 3 - Server -
23
- organizers: People[] | Affiliations[] // 3 - Server & Client -
23
+ organizers: RelatedPeople[] | Affiliations[] // 3 - Server & Client -
24
24
  outside: boolean // 0 - Server & Client - // Near inscription
25
25
  location: Location // 0 - Server & Client -
26
26
  organiserType: organiserType // server & client - 0 = IAS, 1 = member, 2 = fellow, 3 = external
27
27
  program: String // 0 - Server & Client -
28
28
  related: Related
29
29
  // slots?: EventSlot[]; //// 3 - Server
30
- speakers?: People[] // 3 - Server & Client -
30
+ speakers?: RelatedPeople[] // 3 - Server & Client -
31
31
  start: string // 0 - Server & Client - A verifier string ? string[]
32
32
  state: eventState // 0 - Server & Client -
33
33
  stop: string // 0 - Server & Client - A verifier string ? string[]
@@ -94,7 +94,7 @@ const data = {
94
94
  "text": "by-date-most-recent-first",
95
95
  "value": [
96
96
  "start",
97
- 1
97
+ -1
98
98
  ],
99
99
  "default": true
100
100
  },
@@ -194,7 +194,7 @@ const data = {
194
194
  "start"
195
195
  ],
196
196
  "sortDesc": [
197
- 1
197
+ -1
198
198
  ]
199
199
  };
200
200
 
@@ -96,7 +96,7 @@ const data = {
96
96
  "text": "by-vintage-from-old-to-recent",
97
97
  "value": [
98
98
  "groups.vintage.year",
99
- 1
99
+ -1
100
100
  ]
101
101
  },
102
102
  "vintageasc": {
@@ -104,7 +104,7 @@ const data = {
104
104
  "text": "by-vintage-from-recent-to-old",
105
105
  "value": [
106
106
  "groups.vintage.year",
107
- -1
107
+ 1
108
108
  ],
109
109
  "default": true
110
110
  }
@@ -186,7 +186,7 @@ const data = {
186
186
  "groups.vintage.year"
187
187
  ],
188
188
  "sortDesc": [
189
- -1
189
+ 1
190
190
  ]
191
191
  };
192
192
 
@@ -94,7 +94,7 @@ const data = {
94
94
  "text": "by-vintage-from-old-to-recent",
95
95
  "value": [
96
96
  "groups.vintage.year",
97
- 1
97
+ -1
98
98
  ]
99
99
  },
100
100
  "vintageasc": {
@@ -102,7 +102,7 @@ const data = {
102
102
  "text": "by-vintage-from-recent-to-old",
103
103
  "value": [
104
104
  "groups.vintage.year",
105
- -1
105
+ 1
106
106
  ],
107
107
  "default": true
108
108
  }
@@ -184,7 +184,7 @@ const data = {
184
184
  "groups.vintage.year"
185
185
  ],
186
186
  "sortDesc": [
187
- -1
187
+ 1
188
188
  ]
189
189
  };
190
190
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paris-ias/trees",
3
- "version": "2.0.12",
3
+ "version": "2.0.14",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",