@paris-ias/trees 2.0.51 → 2.1.1

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.
@@ -58,11 +58,28 @@ const data = {
58
58
  "fr": ""
59
59
  },
60
60
  "image": "",
61
- "locations": [
61
+ "location": [
62
62
  {
63
- "locations": {}
63
+ "location": {
64
+ "name": "",
65
+ "acronym": "",
66
+ "image": "",
67
+ "details": {
68
+ "en": "",
69
+ "fr": ""
70
+ },
71
+ "street": "",
72
+ "city": "",
73
+ "country": "",
74
+ "zip": "",
75
+ "geocode": {
76
+ "lat": "",
77
+ "lng": ""
78
+ }
79
+ }
64
80
  }
65
81
  ],
82
+ "category": "",
66
83
  "ror": "",
67
84
  "url": ""
68
85
  },
@@ -86,21 +103,133 @@ const data = {
86
103
  "meta": "image",
87
104
  "default": ""
88
105
  },
89
- "locations": {
106
+ "location": {
90
107
  "label": "locations",
91
108
  "component": "CollectionContainerPanel",
92
109
  "type": "ARRAY",
93
110
  "items": {
94
- "locations": {
111
+ "location": {
95
112
  "label": "location",
96
113
  "component": "ObjectContainerPanel",
97
- "type": "TEMPLATE",
114
+ "type": "OBJECT",
98
115
  "meta": "location",
99
- "items": {}
116
+ "items": {
117
+ "name": {
118
+ "label": "name",
119
+ "component": "TextField",
120
+ "type": "PRIMITIVE",
121
+ "rules": {
122
+ "required": true,
123
+ "min": 5,
124
+ "max": 200
125
+ },
126
+ "meta": "name"
127
+ },
128
+ "acronym": {
129
+ "label": "acronym",
130
+ "component": "TextField",
131
+ "type": "PRIMITIVE",
132
+ "rules": {
133
+ "max": 20
134
+ },
135
+ "meta": "acronym"
136
+ },
137
+ "image": {
138
+ "label": "image",
139
+ "component": "ImagePicker",
140
+ "type": "DOCUMENT",
141
+ "rules": {},
142
+ "meta": "image",
143
+ "default": ""
144
+ },
145
+ "details": {
146
+ "label": "details",
147
+ "component": "TextArea",
148
+ "type": "PRIMITIVE",
149
+ "i18n": true,
150
+ "rules": {
151
+ "min": 5,
152
+ "max": 2000
153
+ },
154
+ "meta": "details"
155
+ },
156
+ "street": {
157
+ "label": "street",
158
+ "component": "TextField",
159
+ "type": "PRIMITIVE",
160
+ "rules": {
161
+ "required": true,
162
+ "max": 2000
163
+ },
164
+ "meta": "street"
165
+ },
166
+ "city": {
167
+ "label": "city",
168
+ "component": "TextField",
169
+ "type": "PRIMITIVE",
170
+ "rules": {
171
+ "required": true,
172
+ "max": 200
173
+ },
174
+ "meta": "city"
175
+ },
176
+ "country": {
177
+ "label": "country",
178
+ "component": "AutoComplete",
179
+ "type": "PRIMITIVE",
180
+ "meta": "country"
181
+ },
182
+ "zip": {
183
+ "label": "zip",
184
+ "component": "TextField",
185
+ "type": "PRIMITIVE",
186
+ "rules": {
187
+ "required": true,
188
+ "numerical": true
189
+ },
190
+ "meta": "zip"
191
+ },
192
+ "geocode": {
193
+ "label": "geocode",
194
+ "component": "GeocodePicker",
195
+ "type": "OBJECT",
196
+ "rules": {},
197
+ "items": {
198
+ "lat": {
199
+ "label": "latitude",
200
+ "component": false,
201
+ "type": "PRIMITIVE",
202
+ "meta": "latitude"
203
+ },
204
+ "lng": {
205
+ "label": "longitude",
206
+ "component": false,
207
+ "type": "PRIMITIVE",
208
+ "meta": "longitude"
209
+ }
210
+ },
211
+ "meta": "geocode"
212
+ }
213
+ }
100
214
  }
101
215
  },
102
216
  "meta": "locations"
103
217
  },
218
+ "category": {
219
+ "label": "category",
220
+ "component": "Select",
221
+ "type": "PRIMITIVE",
222
+ "items": {
223
+ "Member": "MEMBER",
224
+ "Support": "SUPPORT",
225
+ "Partner": "PARTNER",
226
+ "Other": "OTHER",
227
+ "Network": "NETWORK"
228
+ },
229
+ "multiple": true,
230
+ "value": "",
231
+ "meta": "category"
232
+ },
104
233
  "ror": {
105
234
  "label": "ror",
106
235
  "component": "TextField",
@@ -3,8 +3,10 @@ import type { Form } from "../../index"
3
3
  // Inline type definitions
4
4
  export enum AffiliationCategories {
5
5
  Member = "MEMBER",
6
- Sponsor = "SPONSOR",
6
+ Support = "SUPPORT",
7
7
  Partner = "PARTNER",
8
+ Other = "OTHER",
9
+ Network = "NETWORK",
8
10
  }
9
11
 
10
12
  export interface Affiliations {
@@ -56,11 +56,28 @@ const data = {
56
56
  "fr": ""
57
57
  },
58
58
  "image": "",
59
- "locations": [
59
+ "location": [
60
60
  {
61
- "locations": {}
61
+ "location": {
62
+ "name": "",
63
+ "acronym": "",
64
+ "image": "",
65
+ "details": {
66
+ "en": "",
67
+ "fr": ""
68
+ },
69
+ "street": "",
70
+ "city": "",
71
+ "country": "",
72
+ "zip": "",
73
+ "geocode": {
74
+ "lat": "",
75
+ "lng": ""
76
+ }
77
+ }
62
78
  }
63
79
  ],
80
+ "category": "",
64
81
  "ror": "",
65
82
  "url": ""
66
83
  },
@@ -84,21 +101,133 @@ const data = {
84
101
  "meta": "image",
85
102
  "default": ""
86
103
  },
87
- "locations": {
104
+ "location": {
88
105
  "label": "locations",
89
106
  "component": "CollectionContainerPanel",
90
107
  "type": "ARRAY",
91
108
  "items": {
92
- "locations": {
109
+ "location": {
93
110
  "label": "location",
94
111
  "component": "ObjectContainerPanel",
95
- "type": "TEMPLATE",
112
+ "type": "OBJECT",
96
113
  "meta": "location",
97
- "items": {}
114
+ "items": {
115
+ "name": {
116
+ "label": "name",
117
+ "component": "TextField",
118
+ "type": "PRIMITIVE",
119
+ "rules": {
120
+ "required": true,
121
+ "min": 5,
122
+ "max": 200
123
+ },
124
+ "meta": "name"
125
+ },
126
+ "acronym": {
127
+ "label": "acronym",
128
+ "component": "TextField",
129
+ "type": "PRIMITIVE",
130
+ "rules": {
131
+ "max": 20
132
+ },
133
+ "meta": "acronym"
134
+ },
135
+ "image": {
136
+ "label": "image",
137
+ "component": "ImagePicker",
138
+ "type": "DOCUMENT",
139
+ "rules": {},
140
+ "meta": "image",
141
+ "default": ""
142
+ },
143
+ "details": {
144
+ "label": "details",
145
+ "component": "TextArea",
146
+ "type": "PRIMITIVE",
147
+ "i18n": true,
148
+ "rules": {
149
+ "min": 5,
150
+ "max": 2000
151
+ },
152
+ "meta": "details"
153
+ },
154
+ "street": {
155
+ "label": "street",
156
+ "component": "TextField",
157
+ "type": "PRIMITIVE",
158
+ "rules": {
159
+ "required": true,
160
+ "max": 2000
161
+ },
162
+ "meta": "street"
163
+ },
164
+ "city": {
165
+ "label": "city",
166
+ "component": "TextField",
167
+ "type": "PRIMITIVE",
168
+ "rules": {
169
+ "required": true,
170
+ "max": 200
171
+ },
172
+ "meta": "city"
173
+ },
174
+ "country": {
175
+ "label": "country",
176
+ "component": "AutoComplete",
177
+ "type": "PRIMITIVE",
178
+ "meta": "country"
179
+ },
180
+ "zip": {
181
+ "label": "zip",
182
+ "component": "TextField",
183
+ "type": "PRIMITIVE",
184
+ "rules": {
185
+ "required": true,
186
+ "numerical": true
187
+ },
188
+ "meta": "zip"
189
+ },
190
+ "geocode": {
191
+ "label": "geocode",
192
+ "component": "GeocodePicker",
193
+ "type": "OBJECT",
194
+ "rules": {},
195
+ "items": {
196
+ "lat": {
197
+ "label": "latitude",
198
+ "component": false,
199
+ "type": "PRIMITIVE",
200
+ "meta": "latitude"
201
+ },
202
+ "lng": {
203
+ "label": "longitude",
204
+ "component": false,
205
+ "type": "PRIMITIVE",
206
+ "meta": "longitude"
207
+ }
208
+ },
209
+ "meta": "geocode"
210
+ }
211
+ }
98
212
  }
99
213
  },
100
214
  "meta": "locations"
101
215
  },
216
+ "category": {
217
+ "label": "category",
218
+ "component": "Select",
219
+ "type": "PRIMITIVE",
220
+ "items": {
221
+ "Member": "MEMBER",
222
+ "Support": "SUPPORT",
223
+ "Partner": "PARTNER",
224
+ "Other": "OTHER",
225
+ "Network": "NETWORK"
226
+ },
227
+ "multiple": true,
228
+ "value": "",
229
+ "meta": "category"
230
+ },
102
231
  "ror": {
103
232
  "label": "ror",
104
233
  "component": "TextField",
@@ -326,8 +326,7 @@ const data = {
326
326
  },
327
327
  "items": {
328
328
  "ShortStay": "SHORT_STAY",
329
- "LongStay": "LONG_STAY",
330
- "InGroup": "IN_GROUP"
329
+ "LongStay": "LONG_STAY"
331
330
  },
332
331
  "meta": "fellowshipType"
333
332
  },
@@ -29,14 +29,12 @@ export interface Fellowships {
29
29
  export enum FellowshipType {
30
30
  ShortStay = "SHORT_STAY",
31
31
  LongStay = "LONG_STAY",
32
- InGroup = "IN_GROUP",
33
32
  }
34
33
 
35
34
  export enum FellowshipStatus {
36
35
  Planned = "PLANNED",
37
36
  Ongoing = "ONGOING",
38
37
  Finished = "FINISHED",
39
- Cancelled = "CANCELLED",
40
38
  }
41
39
 
42
40
  export interface FormModule {
@@ -324,8 +324,7 @@ const data = {
324
324
  },
325
325
  "items": {
326
326
  "ShortStay": "SHORT_STAY",
327
- "LongStay": "LONG_STAY",
328
- "InGroup": "IN_GROUP"
327
+ "LongStay": "LONG_STAY"
329
328
  },
330
329
  "meta": "fellowshipType"
331
330
  },
@@ -131,6 +131,7 @@ const data = {
131
131
  "groups": {
132
132
  "team": false,
133
133
  "sab": false,
134
+ "ethics": false,
134
135
  "board": false,
135
136
  "fellows": false,
136
137
  "sponsor": false,
@@ -629,6 +630,12 @@ const data = {
629
630
  "type": "PRIMITIVE",
630
631
  "meta": "sab"
631
632
  },
633
+ "ethics": {
634
+ "label": "ethics",
635
+ "component": "Checkbox",
636
+ "type": "PRIMITIVE",
637
+ "meta": "ethics"
638
+ },
632
639
  "board": {
633
640
  "label": "board",
634
641
  "component": "Checkbox",
@@ -17,6 +17,12 @@ export interface People {
17
17
  video?: Video[]
18
18
  }
19
19
 
20
+ export enum FellowStatus {
21
+ Past = "PAST",
22
+ InProgress = "IN_PROGRESS",
23
+ Upcoming = "UPCOMING",
24
+ }
25
+
20
26
  export interface FormModule {
21
27
  _defaults: Record<string, any>
22
28
  schema: Record<string, Form>
@@ -129,6 +129,7 @@ const data = {
129
129
  "groups": {
130
130
  "team": false,
131
131
  "sab": false,
132
+ "ethics": false,
132
133
  "board": false,
133
134
  "fellows": false,
134
135
  "sponsor": false,
@@ -627,6 +628,12 @@ const data = {
627
628
  "type": "PRIMITIVE",
628
629
  "meta": "sab"
629
630
  },
631
+ "ethics": {
632
+ "label": "ethics",
633
+ "component": "Checkbox",
634
+ "type": "PRIMITIVE",
635
+ "meta": "ethics"
636
+ },
630
637
  "board": {
631
638
  "label": "board",
632
639
  "component": "Checkbox",
@@ -69,6 +69,7 @@ const data = {
69
69
  "en": "",
70
70
  "fr": ""
71
71
  },
72
+ "type": "",
72
73
  "image": "",
73
74
  "url": "",
74
75
  "status": "",
@@ -152,6 +153,20 @@ const data = {
152
153
  },
153
154
  "meta": "summary"
154
155
  },
156
+ "type": {
157
+ "label": "type",
158
+ "component": "Select",
159
+ "type": "PRIMITIVE",
160
+ "rules": {
161
+ "required": true
162
+ },
163
+ "items": {
164
+ "Initiative": "INITIATIVE",
165
+ "Platform": "PLATFORM",
166
+ "Research": "RESEARCH"
167
+ },
168
+ "meta": "type"
169
+ },
155
170
  "image": {
156
171
  "label": "image",
157
172
  "component": "ImagePicker",
@@ -1,6 +1,12 @@
1
1
  import type { Form } from "../../index"
2
2
 
3
3
  // Inline type definitions
4
+ export enum projectTypes {
5
+ Initiative = "INITIATIVE",
6
+ Platform = "PLATFORM",
7
+ Research = "RESEARCH",
8
+ }
9
+
4
10
  export interface Projects {
5
11
  name: string
6
12
  subtitle?: string
@@ -18,6 +24,7 @@ export interface Projects {
18
24
  date?: Date
19
25
  featured?: Date
20
26
  status: projectStatus
27
+ type: projectTypes
21
28
  }
22
29
 
23
30
  export enum projectStatus {
@@ -67,6 +67,7 @@ const data = {
67
67
  "en": "",
68
68
  "fr": ""
69
69
  },
70
+ "type": "",
70
71
  "image": "",
71
72
  "url": "",
72
73
  "status": "",
@@ -150,6 +151,20 @@ const data = {
150
151
  },
151
152
  "meta": "summary"
152
153
  },
154
+ "type": {
155
+ "label": "type",
156
+ "component": "Select",
157
+ "type": "PRIMITIVE",
158
+ "rules": {
159
+ "required": true
160
+ },
161
+ "items": {
162
+ "Initiative": "INITIATIVE",
163
+ "Platform": "PLATFORM",
164
+ "Research": "RESEARCH"
165
+ },
166
+ "meta": "type"
167
+ },
153
168
  "image": {
154
169
  "label": "image",
155
170
  "component": "ImagePicker",
@@ -115,6 +115,7 @@ const data = {
115
115
  "groups": {
116
116
  "team": false,
117
117
  "sab": false,
118
+ "ethics": false,
118
119
  "board": false,
119
120
  "fellows": false,
120
121
  "sponsor": false,
@@ -538,6 +539,12 @@ const data = {
538
539
  "type": "PRIMITIVE",
539
540
  "meta": "sab"
540
541
  },
542
+ "ethics": {
543
+ "label": "ethics",
544
+ "component": "Checkbox",
545
+ "type": "PRIMITIVE",
546
+ "meta": "ethics"
547
+ },
541
548
  "board": {
542
549
  "label": "board",
543
550
  "component": "Checkbox",
@@ -113,6 +113,7 @@ const data = {
113
113
  "groups": {
114
114
  "team": false,
115
115
  "sab": false,
116
+ "ethics": false,
116
117
  "board": false,
117
118
  "fellows": false,
118
119
  "sponsor": false,
@@ -536,6 +537,12 @@ const data = {
536
537
  "type": "PRIMITIVE",
537
538
  "meta": "sab"
538
539
  },
540
+ "ethics": {
541
+ "label": "ethics",
542
+ "component": "Checkbox",
543
+ "type": "PRIMITIVE",
544
+ "meta": "ethics"
545
+ },
539
546
  "board": {
540
547
  "label": "board",
541
548
  "component": "Checkbox",
@@ -42,6 +42,7 @@ query getPeople($appId: ID = "iea", $itemId: ID = "", $lang: String = "en") {
42
42
  fellows
43
43
  sab
44
44
  sponsor
45
+ ethics
45
46
  team
46
47
  vintage {
47
48
  name
@@ -20,6 +20,7 @@ query listPeople(
20
20
  fellows
21
21
  sab
22
22
  sponsor
23
+ ethics
23
24
  team
24
25
  vintage {
25
26
  name
@@ -42,6 +42,7 @@ query getProject(
42
42
  license
43
43
  url
44
44
  }
45
+ type
45
46
  affiliations {
46
47
  name
47
48
  ror
@@ -17,6 +17,7 @@ query listProjects(
17
17
  licenseUrl
18
18
  url
19
19
  }
20
+ type
20
21
  name
21
22
  summary
22
23
  url
@@ -199,6 +199,7 @@ input GroupsInput {
199
199
  board: Boolean
200
200
  fellows: Boolean
201
201
  sponsor: Boolean
202
+ ethics: Boolean
202
203
  vintage: [VintageInput]
203
204
  }
204
205
 
@@ -231,7 +232,8 @@ type ActionList {
231
232
  enum affiliationCategory {
232
233
  MEMBER
233
234
  PARTNER
234
- SPONSOR
235
+ SUPPORT
236
+ NETWORK
235
237
  OTHER
236
238
  }
237
239
 
@@ -473,6 +475,12 @@ enum projectStatus {
473
475
  CANCELED
474
476
  }
475
477
 
478
+ enum projectTypes {
479
+ INITIATIVE
480
+ PLATFORM
481
+ RESEARCH
482
+ }
483
+
476
484
  enum publicationType {
477
485
  ARTICLE
478
486
  CONFERENCE_PAPER
@@ -852,7 +860,7 @@ type RelatedProject {
852
860
 
853
861
  type RelatedPublication {
854
862
  name: String!
855
- url: AWSURL!
863
+ url: AWSURL
856
864
  slug: String
857
865
  }
858
866
 
@@ -931,6 +939,7 @@ type Groups {
931
939
  team: Boolean
932
940
  sab: Boolean
933
941
  board: Boolean
942
+ ethics: Boolean
934
943
  fellows: Boolean
935
944
  sponsor: Boolean
936
945
  vintage: [Vintage]
@@ -1017,6 +1026,7 @@ type Project {
1017
1026
  status: projectStatus
1018
1027
  slug: String
1019
1028
  score: Float
1029
+ type: projectTypes
1020
1030
  }
1021
1031
 
1022
1032
  type ProjectFilters {
@@ -24,7 +24,8 @@ type ActionList {
24
24
  enum affiliationCategory {
25
25
  MEMBER
26
26
  PARTNER
27
- SPONSOR
27
+ SUPPORT
28
+ NETWORK
28
29
  OTHER
29
30
  }
30
31
 
@@ -266,6 +267,12 @@ enum projectStatus {
266
267
  CANCELED
267
268
  }
268
269
 
270
+ enum projectTypes {
271
+ INITIATIVE
272
+ PLATFORM
273
+ RESEARCH
274
+ }
275
+
269
276
  enum publicationType {
270
277
  ARTICLE
271
278
  CONFERENCE_PAPER
@@ -672,7 +679,7 @@ type RelatedProject {
672
679
 
673
680
  type RelatedPublication {
674
681
  name: String!
675
- url: AWSURL!
682
+ url: AWSURL
676
683
  slug: String
677
684
  }
678
685
 
@@ -751,6 +758,7 @@ type Groups {
751
758
  team: Boolean
752
759
  sab: Boolean
753
760
  board: Boolean
761
+ ethics: Boolean
754
762
  fellows: Boolean
755
763
  sponsor: Boolean
756
764
  vintage: [Vintage]
@@ -837,6 +845,7 @@ type Project {
837
845
  status: projectStatus
838
846
  slug: String
839
847
  score: Float
848
+ type: projectTypes
840
849
  }
841
850
 
842
851
  type ProjectFilters {
@@ -161,8 +161,10 @@ const data = {
161
161
  "type": "Select",
162
162
  "items": {
163
163
  "Member": "MEMBER",
164
- "Sponsor": "SPONSOR",
165
- "Partner": "PARTNER"
164
+ "Support": "SUPPORT",
165
+ "Partner": "PARTNER",
166
+ "Other": "OTHER",
167
+ "Network": "NETWORK"
166
168
  },
167
169
  "value": "",
168
170
  "multiple": true
@@ -3,8 +3,10 @@ import type { Sort, Views } from "../../index"
3
3
  // Inline type definitions
4
4
  export enum AffiliationCategories {
5
5
  Member = "MEMBER",
6
- Sponsor = "SPONSOR",
6
+ Support = "SUPPORT",
7
7
  Partner = "PARTNER",
8
+ Other = "OTHER",
9
+ Network = "NETWORK",
8
10
  }
9
11
 
10
12
  export interface Affiliations {
@@ -159,8 +159,10 @@ const data = {
159
159
  "type": "Select",
160
160
  "items": {
161
161
  "Member": "MEMBER",
162
- "Sponsor": "SPONSOR",
163
- "Partner": "PARTNER"
162
+ "Support": "SUPPORT",
163
+ "Partner": "PARTNER",
164
+ "Other": "OTHER",
165
+ "Network": "NETWORK"
164
166
  },
165
167
  "value": "",
166
168
  "multiple": true
@@ -173,8 +173,7 @@ const data = {
173
173
  "items": {
174
174
  "Planned": "PLANNED",
175
175
  "Ongoing": "ONGOING",
176
- "Finished": "FINISHED",
177
- "Cancelled": "CANCELLED"
176
+ "Finished": "FINISHED"
178
177
  },
179
178
  "value": ""
180
179
  },
@@ -183,21 +182,9 @@ const data = {
183
182
  "multiple": true,
184
183
  "items": {
185
184
  "ShortStay": "SHORT_STAY",
186
- "LongStay": "LONG_STAY",
187
- "InGroup": "IN_GROUP"
185
+ "LongStay": "LONG_STAY"
188
186
  },
189
187
  "value": ""
190
- },
191
- "affiliation": {
192
- "type": "Select",
193
- "multiple": true,
194
- "items": [],
195
- "value": ""
196
- },
197
- "disciplines": {
198
- "type": "Select",
199
- "multiple": true,
200
- "value": ""
201
188
  }
202
189
  },
203
190
  "limit": 20
@@ -29,14 +29,12 @@ export interface Fellowships {
29
29
  export enum FellowshipType {
30
30
  ShortStay = "SHORT_STAY",
31
31
  LongStay = "LONG_STAY",
32
- InGroup = "IN_GROUP",
33
32
  }
34
33
 
35
34
  export enum FellowshipStatus {
36
35
  Planned = "PLANNED",
37
36
  Ongoing = "ONGOING",
38
37
  Finished = "FINISHED",
39
- Cancelled = "CANCELLED",
40
38
  }
41
39
 
42
40
  export interface ListModule {
@@ -171,8 +171,7 @@ const data = {
171
171
  "items": {
172
172
  "Planned": "PLANNED",
173
173
  "Ongoing": "ONGOING",
174
- "Finished": "FINISHED",
175
- "Cancelled": "CANCELLED"
174
+ "Finished": "FINISHED"
176
175
  },
177
176
  "value": ""
178
177
  },
@@ -181,21 +180,9 @@ const data = {
181
180
  "multiple": true,
182
181
  "items": {
183
182
  "ShortStay": "SHORT_STAY",
184
- "LongStay": "LONG_STAY",
185
- "InGroup": "IN_GROUP"
183
+ "LongStay": "LONG_STAY"
186
184
  },
187
185
  "value": ""
188
- },
189
- "affiliation": {
190
- "type": "Select",
191
- "multiple": true,
192
- "items": [],
193
- "value": ""
194
- },
195
- "disciplines": {
196
- "type": "Select",
197
- "multiple": true,
198
- "value": ""
199
186
  }
200
187
  },
201
188
  "limit": 20
@@ -173,62 +173,27 @@ const data = {
173
173
  }
174
174
  },
175
175
  "filters": {
176
- "groups": {
177
- "type": "Select",
178
- "value": ""
179
- },
180
176
  "vintage": {
181
177
  "type": "Select",
182
- "show": {
183
- "default": false,
184
- "switchIf": [
185
- {
186
- "groups": "fellows"
187
- }
188
- ],
189
- "disjonctive": false
190
- },
191
178
  "multiple": true,
192
179
  "value": ""
193
180
  },
194
181
  "programs": {
195
182
  "type": "Select",
196
- "show": {
197
- "default": false,
198
- "switchIf": [
199
- {
200
- "groups": "fellows"
201
- }
202
- ],
203
- "disjonctive": false
204
- },
205
183
  "multiple": true,
206
184
  "value": ""
207
185
  },
208
186
  "disciplines": {
209
187
  "type": "Select",
210
- "show": {
211
- "default": false,
212
- "switchIf": [
213
- {
214
- "groups": "fellows"
215
- }
216
- ],
217
- "disjonctive": false
218
- },
219
188
  "multiple": true,
220
189
  "value": ""
221
190
  },
222
- "member": {
191
+ "status": {
223
192
  "type": "Select",
224
- "show": {
225
- "default": false,
226
- "switchIf": [
227
- {
228
- "groups": "fellows"
229
- }
230
- ],
231
- "disjonctive": false
193
+ "items": {
194
+ "Past": "PAST",
195
+ "InProgress": "IN_PROGRESS",
196
+ "Upcoming": "UPCOMING"
232
197
  },
233
198
  "multiple": true,
234
199
  "value": ""
@@ -17,6 +17,12 @@ export interface People {
17
17
  video?: Video[]
18
18
  }
19
19
 
20
+ export enum FellowStatus {
21
+ Past = "PAST",
22
+ InProgress = "IN_PROGRESS",
23
+ Upcoming = "UPCOMING",
24
+ }
25
+
20
26
  export interface ListModule {
21
27
  items: People[]
22
28
  itemsPerPage?: number
@@ -171,62 +171,27 @@ const data = {
171
171
  }
172
172
  },
173
173
  "filters": {
174
- "groups": {
175
- "type": "Select",
176
- "value": ""
177
- },
178
174
  "vintage": {
179
175
  "type": "Select",
180
- "show": {
181
- "default": false,
182
- "switchIf": [
183
- {
184
- "groups": "fellows"
185
- }
186
- ],
187
- "disjonctive": false
188
- },
189
176
  "multiple": true,
190
177
  "value": ""
191
178
  },
192
179
  "programs": {
193
180
  "type": "Select",
194
- "show": {
195
- "default": false,
196
- "switchIf": [
197
- {
198
- "groups": "fellows"
199
- }
200
- ],
201
- "disjonctive": false
202
- },
203
181
  "multiple": true,
204
182
  "value": ""
205
183
  },
206
184
  "disciplines": {
207
185
  "type": "Select",
208
- "show": {
209
- "default": false,
210
- "switchIf": [
211
- {
212
- "groups": "fellows"
213
- }
214
- ],
215
- "disjonctive": false
216
- },
217
186
  "multiple": true,
218
187
  "value": ""
219
188
  },
220
- "member": {
189
+ "status": {
221
190
  "type": "Select",
222
- "show": {
223
- "default": false,
224
- "switchIf": [
225
- {
226
- "groups": "fellows"
227
- }
228
- ],
229
- "disjonctive": false
191
+ "items": {
192
+ "Past": "PAST",
193
+ "InProgress": "IN_PROGRESS",
194
+ "Upcoming": "UPCOMING"
230
195
  },
231
196
  "multiple": true,
232
197
  "value": ""
@@ -188,6 +188,14 @@ const data = {
188
188
  "items": [],
189
189
  "multiple": true,
190
190
  "value": ""
191
+ },
192
+ "type": {
193
+ "type": "Select",
194
+ "items": {
195
+ "Initiative": "INITIATIVE",
196
+ "Platform": "PLATFORM",
197
+ "Research": "RESEARCH"
198
+ }
191
199
  }
192
200
  },
193
201
  "limit": 20
@@ -1,6 +1,12 @@
1
1
  import type { Sort, Views } from "../../index"
2
2
 
3
3
  // Inline type definitions
4
+ export enum projectTypes {
5
+ Initiative = "INITIATIVE",
6
+ Platform = "PLATFORM",
7
+ Research = "RESEARCH",
8
+ }
9
+
4
10
  export interface Projects {
5
11
  name: string
6
12
  subtitle?: string
@@ -18,6 +24,7 @@ export interface Projects {
18
24
  date?: Date
19
25
  featured?: Date
20
26
  status: projectStatus
27
+ type: projectTypes
21
28
  }
22
29
 
23
30
  export enum projectStatus {
@@ -186,6 +186,14 @@ const data = {
186
186
  "items": [],
187
187
  "multiple": true,
188
188
  "value": ""
189
+ },
190
+ "type": {
191
+ "type": "Select",
192
+ "items": {
193
+ "Initiative": "INITIATIVE",
194
+ "Platform": "PLATFORM",
195
+ "Research": "RESEARCH"
196
+ }
189
197
  }
190
198
  },
191
199
  "limit": 20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paris-ias/trees",
3
- "version": "2.0.51",
3
+ "version": "2.1.1",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -201,14 +201,14 @@
201
201
  ],
202
202
  "scripts": {
203
203
  "dev": "tsx index.ts",
204
- "build": "npx tsx lib/generateAll.ts && rollup -c",
204
+ "build": "unset npm_config_version_commit_hooks npm_config_version_tag_prefix npm_config_version_git_message npm_config_version_git_tag npm_config_version_git_sign npm_config_argv && npx tsx lib/generateAll.ts && rollup -c",
205
205
  "postbuild": "find src -name '*.d.ts' -type f -delete",
206
206
  "build:types": "tsc -p tsconfig.index.json",
207
207
  "generate:modules": "npx tsx lib/generate.ts",
208
208
  "generate:schemas": "npx tsx lib/buildSchemas.ts",
209
209
  "generate:client": "npx tsx lib/buildClientGraphQL.ts",
210
210
  "draw": "npx depcruise src --include-only \"^src\" --output-type dot | dot -T svg > dependency-graph.svg",
211
- "clean": "rm -rf dist/",
211
+ "clean": "unset npm_config_version_commit_hooks npm_config_version_tag_prefix npm_config_version_git_message npm_config_version_git_tag npm_config_version_git_sign npm_config_argv && rm -rf dist/",
212
212
  "prebuild": "npm run clean",
213
213
  "prepublishOnly": "npm run build"
214
214
  },