@paris-ias/trees 2.2.21 → 2.2.24

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.
@@ -438,7 +438,8 @@ const data = {
438
438
  "Chemistry": "CHEMISTRY",
439
439
  "ComputerScience": "COMPUTER_SCIENCE",
440
440
  "Medicine": "MEDICINE",
441
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
441
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
442
+ "Other": "OTHER"
442
443
  },
443
444
  "default": ""
444
445
  },
@@ -436,7 +436,8 @@ const data = {
436
436
  "Chemistry": "CHEMISTRY",
437
437
  "ComputerScience": "COMPUTER_SCIENCE",
438
438
  "Medicine": "MEDICINE",
439
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
439
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
440
+ "Other": "OTHER"
440
441
  },
441
442
  "default": ""
442
443
  },
@@ -189,7 +189,8 @@ const data = {
189
189
  "Chemistry": "CHEMISTRY",
190
190
  "ComputerScience": "COMPUTER_SCIENCE",
191
191
  "Medicine": "MEDICINE",
192
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
192
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
193
+ "Other": "OTHER"
193
194
  },
194
195
  "multiple": true,
195
196
  "rules": {
@@ -187,7 +187,8 @@ const data = {
187
187
  "Chemistry": "CHEMISTRY",
188
188
  "ComputerScience": "COMPUTER_SCIENCE",
189
189
  "Medicine": "MEDICINE",
190
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
190
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
191
+ "Other": "OTHER"
191
192
  },
192
193
  "multiple": true,
193
194
  "rules": {
@@ -48,6 +48,23 @@ export enum newsCategories {
48
48
  Video = "VIDEO",
49
49
  }
50
50
 
51
+ export enum publicationPublicType {
52
+ Article = "ARTICLE", // Aka PPIAS publication
53
+ Book = "BOOK",
54
+ BookChapter = "BOOK_CHAPTER",
55
+ ConferencePaper = "CONFERENCE_PAPER",
56
+ Data = "DATA",
57
+ Report = "REPORT",
58
+ Software = "SOFTWARE",
59
+ Thesis = "THESIS",
60
+ }
61
+
62
+ export enum mediaPublicType {
63
+ Audio = "AUDIO",
64
+ Podcast = "PODCAST",
65
+ Video = "VIDEO",
66
+ }
67
+
51
68
  export enum publicationType {
52
69
  // Publication
53
70
  Article = "ARTICLE", // Aka PPIAS publication
@@ -85,6 +102,9 @@ export interface Publications {
85
102
  state?: publicationState | publicationStateAdmin
86
103
  tags?: Tag[]
87
104
  type: publicationType
105
+ publicationType?: publicationPublicType
106
+ mediaType?: mediaPublicType
107
+ mediaCategory?: mediaType
88
108
  url?: URL
89
109
  video?: Video
90
110
  }
@@ -247,6 +247,9 @@ const data = {
247
247
  "WorkInnovationTechnology": "WORK_INNOVATION_TECHNOLOGY"
248
248
  },
249
249
  "multiple": true,
250
+ "appId": [
251
+ "apex"
252
+ ],
250
253
  "value": ""
251
254
  },
252
255
  "disciplines": {
@@ -281,7 +284,8 @@ const data = {
281
284
  "Chemistry": "CHEMISTRY",
282
285
  "ComputerScience": "COMPUTER_SCIENCE",
283
286
  "Medicine": "MEDICINE",
284
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
287
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
288
+ "Other": "OTHER"
285
289
  },
286
290
  "multiple": true,
287
291
  "value": ""
@@ -245,6 +245,9 @@ const data = {
245
245
  "WorkInnovationTechnology": "WORK_INNOVATION_TECHNOLOGY"
246
246
  },
247
247
  "multiple": true,
248
+ "appId": [
249
+ "apex"
250
+ ],
248
251
  "value": ""
249
252
  },
250
253
  "disciplines": {
@@ -279,7 +282,8 @@ const data = {
279
282
  "Chemistry": "CHEMISTRY",
280
283
  "ComputerScience": "COMPUTER_SCIENCE",
281
284
  "Medicine": "MEDICINE",
282
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
285
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
286
+ "Other": "OTHER"
283
287
  },
284
288
  "multiple": true,
285
289
  "value": ""
@@ -219,7 +219,8 @@ const data = {
219
219
  "Chemistry": "CHEMISTRY",
220
220
  "ComputerScience": "COMPUTER_SCIENCE",
221
221
  "Medicine": "MEDICINE",
222
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
222
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
223
+ "Other": "OTHER"
223
224
  },
224
225
  "multiple": true,
225
226
  "value": ""
@@ -217,7 +217,8 @@ const data = {
217
217
  "Chemistry": "CHEMISTRY",
218
218
  "ComputerScience": "COMPUTER_SCIENCE",
219
219
  "Medicine": "MEDICINE",
220
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
220
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
221
+ "Other": "OTHER"
221
222
  },
222
223
  "multiple": true,
223
224
  "value": ""
@@ -206,7 +206,8 @@ const data = {
206
206
  "Chemistry": "CHEMISTRY",
207
207
  "ComputerScience": "COMPUTER_SCIENCE",
208
208
  "Medicine": "MEDICINE",
209
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
209
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
210
+ "Other": "OTHER"
210
211
  },
211
212
  "value": ""
212
213
  },
@@ -204,7 +204,8 @@ const data = {
204
204
  "Chemistry": "CHEMISTRY",
205
205
  "ComputerScience": "COMPUTER_SCIENCE",
206
206
  "Medicine": "MEDICINE",
207
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
207
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
208
+ "Other": "OTHER"
208
209
  },
209
210
  "value": ""
210
211
  },
@@ -244,7 +244,8 @@ const data = {
244
244
  "Chemistry": "CHEMISTRY",
245
245
  "ComputerScience": "COMPUTER_SCIENCE",
246
246
  "Medicine": "MEDICINE",
247
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
247
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
248
+ "Other": "OTHER"
248
249
  },
249
250
  "multiple": true,
250
251
  "value": ""
@@ -242,7 +242,8 @@ const data = {
242
242
  "Chemistry": "CHEMISTRY",
243
243
  "ComputerScience": "COMPUTER_SCIENCE",
244
244
  "Medicine": "MEDICINE",
245
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
245
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
246
+ "Other": "OTHER"
246
247
  },
247
248
  "multiple": true,
248
249
  "value": ""
@@ -275,7 +275,8 @@ const data = {
275
275
  "Chemistry": "CHEMISTRY",
276
276
  "ComputerScience": "COMPUTER_SCIENCE",
277
277
  "Medicine": "MEDICINE",
278
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
278
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
279
+ "Other": "OTHER"
279
280
  },
280
281
  "multiple": true,
281
282
  "value": ""
@@ -338,6 +339,70 @@ const data = {
338
339
  "disjonctive": false
339
340
  },
340
341
  "value": ""
342
+ },
343
+ "publicationType": {
344
+ "type": "Select",
345
+ "items": {
346
+ "Article": "ARTICLE",
347
+ "Book": "BOOK",
348
+ "BookChapter": "BOOK_CHAPTER",
349
+ "ConferencePaper": "CONFERENCE_PAPER",
350
+ "Data": "DATA",
351
+ "Report": "REPORT",
352
+ "Software": "SOFTWARE",
353
+ "Thesis": "THESIS"
354
+ },
355
+ "multiple": true,
356
+ "show": {
357
+ "default": false,
358
+ "switchIf": [
359
+ {
360
+ "modifier": "publications"
361
+ }
362
+ ],
363
+ "disjonctive": true
364
+ },
365
+ "value": ""
366
+ },
367
+ "mediaPublicType": {
368
+ "type": "Select",
369
+ "items": {
370
+ "Audio": "AUDIO",
371
+ "Podcast": "PODCAST",
372
+ "Video": "VIDEO"
373
+ },
374
+ "multiple": true,
375
+ "show": {
376
+ "default": false,
377
+ "switchIf": [
378
+ {
379
+ "modifier": "media"
380
+ }
381
+ ],
382
+ "disjonctive": true
383
+ },
384
+ "value": ""
385
+ },
386
+ "mediaCategory": {
387
+ "type": "Select",
388
+ "items": {
389
+ "Fellows": "FELLOWS",
390
+ "Events": "EVENTS",
391
+ "Ideas": "IDEAS",
392
+ "ConferenceCycle": "CONFERENCE_CYCLE",
393
+ "Other": "OTHER"
394
+ },
395
+ "multiple": true,
396
+ "show": {
397
+ "default": false,
398
+ "switchIf": [
399
+ {
400
+ "modifier": "media"
401
+ }
402
+ ],
403
+ "disjonctive": true
404
+ },
405
+ "value": ""
341
406
  }
342
407
  },
343
408
  "limit": 20
@@ -48,6 +48,23 @@ export enum newsCategories {
48
48
  Video = "VIDEO",
49
49
  }
50
50
 
51
+ export enum publicationPublicType {
52
+ Article = "ARTICLE", // Aka PPIAS publication
53
+ Book = "BOOK",
54
+ BookChapter = "BOOK_CHAPTER",
55
+ ConferencePaper = "CONFERENCE_PAPER",
56
+ Data = "DATA",
57
+ Report = "REPORT",
58
+ Software = "SOFTWARE",
59
+ Thesis = "THESIS",
60
+ }
61
+
62
+ export enum mediaPublicType {
63
+ Audio = "AUDIO",
64
+ Podcast = "PODCAST",
65
+ Video = "VIDEO",
66
+ }
67
+
51
68
  export enum publicationType {
52
69
  // Publication
53
70
  Article = "ARTICLE", // Aka PPIAS publication
@@ -85,6 +102,9 @@ export interface Publications {
85
102
  state?: publicationState | publicationStateAdmin
86
103
  tags?: Tag[]
87
104
  type: publicationType
105
+ publicationType?: publicationPublicType
106
+ mediaType?: mediaPublicType
107
+ mediaCategory?: mediaType
88
108
  url?: URL
89
109
  video?: Video
90
110
  }
@@ -273,7 +273,8 @@ const data = {
273
273
  "Chemistry": "CHEMISTRY",
274
274
  "ComputerScience": "COMPUTER_SCIENCE",
275
275
  "Medicine": "MEDICINE",
276
- "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
276
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING",
277
+ "Other": "OTHER"
277
278
  },
278
279
  "multiple": true,
279
280
  "value": ""
@@ -336,6 +337,70 @@ const data = {
336
337
  "disjonctive": false
337
338
  },
338
339
  "value": ""
340
+ },
341
+ "publicationType": {
342
+ "type": "Select",
343
+ "items": {
344
+ "Article": "ARTICLE",
345
+ "Book": "BOOK",
346
+ "BookChapter": "BOOK_CHAPTER",
347
+ "ConferencePaper": "CONFERENCE_PAPER",
348
+ "Data": "DATA",
349
+ "Report": "REPORT",
350
+ "Software": "SOFTWARE",
351
+ "Thesis": "THESIS"
352
+ },
353
+ "multiple": true,
354
+ "show": {
355
+ "default": false,
356
+ "switchIf": [
357
+ {
358
+ "modifier": "publications"
359
+ }
360
+ ],
361
+ "disjonctive": true
362
+ },
363
+ "value": ""
364
+ },
365
+ "mediaPublicType": {
366
+ "type": "Select",
367
+ "items": {
368
+ "Audio": "AUDIO",
369
+ "Podcast": "PODCAST",
370
+ "Video": "VIDEO"
371
+ },
372
+ "multiple": true,
373
+ "show": {
374
+ "default": false,
375
+ "switchIf": [
376
+ {
377
+ "modifier": "media"
378
+ }
379
+ ],
380
+ "disjonctive": true
381
+ },
382
+ "value": ""
383
+ },
384
+ "mediaCategory": {
385
+ "type": "Select",
386
+ "items": {
387
+ "Fellows": "FELLOWS",
388
+ "Events": "EVENTS",
389
+ "Ideas": "IDEAS",
390
+ "ConferenceCycle": "CONFERENCE_CYCLE",
391
+ "Other": "OTHER"
392
+ },
393
+ "multiple": true,
394
+ "show": {
395
+ "default": false,
396
+ "switchIf": [
397
+ {
398
+ "modifier": "media"
399
+ }
400
+ ],
401
+ "disjonctive": true
402
+ },
403
+ "value": ""
339
404
  }
340
405
  },
341
406
  "limit": 20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paris-ias/trees",
3
- "version": "2.2.21",
3
+ "version": "2.2.24",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",