@paris-ias/trees 2.2.20 → 2.2.22

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.
@@ -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": {
@@ -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": {
@@ -195,6 +195,21 @@ const data = {
195
195
  "Project": "PROJECT"
196
196
  },
197
197
  "multiple": true,
198
+ "show": {
199
+ "default": true,
200
+ "switchIf": [
201
+ {
202
+ "modifier": "initiatives"
203
+ },
204
+ {
205
+ "modifier": "tools"
206
+ },
207
+ {
208
+ "modifier": "projects"
209
+ }
210
+ ],
211
+ "disjonctive": true
212
+ },
198
213
  "value": ""
199
214
  },
200
215
  "disciplines": {
@@ -193,6 +193,21 @@ const data = {
193
193
  "Project": "PROJECT"
194
194
  },
195
195
  "multiple": true,
196
+ "show": {
197
+ "default": true,
198
+ "switchIf": [
199
+ {
200
+ "modifier": "initiatives"
201
+ },
202
+ {
203
+ "modifier": "tools"
204
+ },
205
+ {
206
+ "modifier": "projects"
207
+ }
208
+ ],
209
+ "disjonctive": true
210
+ },
196
211
  "value": ""
197
212
  },
198
213
  "disciplines": {
@@ -277,18 +277,6 @@ const data = {
277
277
  "Medicine": "MEDICINE",
278
278
  "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
279
279
  },
280
- "show": {
281
- "default": false,
282
- "switchIf": [
283
- {
284
- "modifier": "news"
285
- },
286
- {
287
- "modifier": "media"
288
- }
289
- ],
290
- "disjonctive": true
291
- },
292
280
  "multiple": true,
293
281
  "value": ""
294
282
  },
@@ -350,6 +338,70 @@ const data = {
350
338
  "disjonctive": false
351
339
  },
352
340
  "value": ""
341
+ },
342
+ "publicationType": {
343
+ "type": "Select",
344
+ "items": {
345
+ "Article": "ARTICLE",
346
+ "Book": "BOOK",
347
+ "BookChapter": "BOOK_CHAPTER",
348
+ "ConferencePaper": "CONFERENCE_PAPER",
349
+ "Data": "DATA",
350
+ "Report": "REPORT",
351
+ "Software": "SOFTWARE",
352
+ "Thesis": "THESIS"
353
+ },
354
+ "multiple": true,
355
+ "show": {
356
+ "default": false,
357
+ "switchIf": [
358
+ {
359
+ "modifier": "publications"
360
+ }
361
+ ],
362
+ "disjonctive": true
363
+ },
364
+ "value": ""
365
+ },
366
+ "mediaPublicType": {
367
+ "type": "Select",
368
+ "items": {
369
+ "Audio": "AUDIO",
370
+ "Podcast": "PODCAST",
371
+ "Video": "VIDEO"
372
+ },
373
+ "multiple": true,
374
+ "show": {
375
+ "default": false,
376
+ "switchIf": [
377
+ {
378
+ "modifier": "media"
379
+ }
380
+ ],
381
+ "disjonctive": true
382
+ },
383
+ "value": ""
384
+ },
385
+ "mediaCategory": {
386
+ "type": "Select",
387
+ "items": {
388
+ "Fellows": "FELLOWS",
389
+ "Events": "EVENTS",
390
+ "Ideas": "IDEAS",
391
+ "ConferenceCycle": "CONFERENCE_CYCLE",
392
+ "Other": "OTHER"
393
+ },
394
+ "multiple": true,
395
+ "show": {
396
+ "default": false,
397
+ "switchIf": [
398
+ {
399
+ "modifier": "media"
400
+ }
401
+ ],
402
+ "disjonctive": true
403
+ },
404
+ "value": ""
353
405
  }
354
406
  },
355
407
  "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
  }
@@ -275,18 +275,6 @@ const data = {
275
275
  "Medicine": "MEDICINE",
276
276
  "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
277
277
  },
278
- "show": {
279
- "default": false,
280
- "switchIf": [
281
- {
282
- "modifier": "news"
283
- },
284
- {
285
- "modifier": "media"
286
- }
287
- ],
288
- "disjonctive": true
289
- },
290
278
  "multiple": true,
291
279
  "value": ""
292
280
  },
@@ -348,6 +336,70 @@ const data = {
348
336
  "disjonctive": false
349
337
  },
350
338
  "value": ""
339
+ },
340
+ "publicationType": {
341
+ "type": "Select",
342
+ "items": {
343
+ "Article": "ARTICLE",
344
+ "Book": "BOOK",
345
+ "BookChapter": "BOOK_CHAPTER",
346
+ "ConferencePaper": "CONFERENCE_PAPER",
347
+ "Data": "DATA",
348
+ "Report": "REPORT",
349
+ "Software": "SOFTWARE",
350
+ "Thesis": "THESIS"
351
+ },
352
+ "multiple": true,
353
+ "show": {
354
+ "default": false,
355
+ "switchIf": [
356
+ {
357
+ "modifier": "publications"
358
+ }
359
+ ],
360
+ "disjonctive": true
361
+ },
362
+ "value": ""
363
+ },
364
+ "mediaPublicType": {
365
+ "type": "Select",
366
+ "items": {
367
+ "Audio": "AUDIO",
368
+ "Podcast": "PODCAST",
369
+ "Video": "VIDEO"
370
+ },
371
+ "multiple": true,
372
+ "show": {
373
+ "default": false,
374
+ "switchIf": [
375
+ {
376
+ "modifier": "media"
377
+ }
378
+ ],
379
+ "disjonctive": true
380
+ },
381
+ "value": ""
382
+ },
383
+ "mediaCategory": {
384
+ "type": "Select",
385
+ "items": {
386
+ "Fellows": "FELLOWS",
387
+ "Events": "EVENTS",
388
+ "Ideas": "IDEAS",
389
+ "ConferenceCycle": "CONFERENCE_CYCLE",
390
+ "Other": "OTHER"
391
+ },
392
+ "multiple": true,
393
+ "show": {
394
+ "default": false,
395
+ "switchIf": [
396
+ {
397
+ "modifier": "media"
398
+ }
399
+ ],
400
+ "disjonctive": true
401
+ },
402
+ "value": ""
351
403
  }
352
404
  },
353
405
  "limit": 20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paris-ias/trees",
3
- "version": "2.2.20",
3
+ "version": "2.2.22",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",