@paris-ias/trees 2.1.0 → 2.1.3

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.
Files changed (37) hide show
  1. package/dist/form/affiliations.cjs.js +134 -6
  2. package/dist/form/affiliations.js +134 -6
  3. package/dist/form/events.cjs.js +0 -1
  4. package/dist/form/events.d.ts +2 -2
  5. package/dist/form/events.js +0 -1
  6. package/dist/form/fellowships.cjs.js +2 -1
  7. package/dist/form/fellowships.d.ts +1 -0
  8. package/dist/form/fellowships.js +2 -1
  9. package/dist/form/news.d.ts +7 -7
  10. package/dist/form/people.cjs.js +65 -0
  11. package/dist/form/people.d.ts +2 -1
  12. package/dist/form/people.js +65 -0
  13. package/dist/form/projects.d.ts +6 -6
  14. package/dist/form/publications.cjs.js +45 -0
  15. package/dist/form/publications.d.ts +40 -12
  16. package/dist/form/publications.js +45 -0
  17. package/dist/graphql/client/publications/query.get.publications.gql +17 -0
  18. package/dist/graphql/client/publications/query.list.publications.gql +17 -1
  19. package/dist/graphql/schemas/schema.apex.graphql +20 -14
  20. package/dist/graphql/schemas/schema.website.graphql +20 -14
  21. package/dist/list/events.cjs.js +32 -1
  22. package/dist/list/events.d.ts +2 -2
  23. package/dist/list/events.js +32 -1
  24. package/dist/list/fellowships.cjs.js +2 -1
  25. package/dist/list/fellowships.d.ts +1 -0
  26. package/dist/list/fellowships.js +2 -1
  27. package/dist/list/news.d.ts +7 -7
  28. package/dist/list/people.cjs.js +62 -0
  29. package/dist/list/people.d.ts +2 -1
  30. package/dist/list/people.js +62 -0
  31. package/dist/list/projects.cjs.js +8 -0
  32. package/dist/list/projects.d.ts +6 -6
  33. package/dist/list/projects.js +8 -0
  34. package/dist/list/publications.cjs.js +1 -0
  35. package/dist/list/publications.d.ts +40 -12
  36. package/dist/list/publications.js +1 -0
  37. package/package.json +3 -3
@@ -184,6 +184,68 @@ const data = {
184
184
  "disciplines": {
185
185
  "type": "Select",
186
186
  "multiple": true,
187
+ "items": {
188
+ "AnthropologyAndEthnology": "ANTHROPOLOGY_AND_ETHNOLOGY",
189
+ "ArchitectureAndUrbanPlanning": "ARCHITECTURE_AND_URBAN_PLANNING",
190
+ "Archaeology": "ARCHAEOLOGY",
191
+ "ArtAndHistoryOfArt": "ART_AND_HISTORY_OF_ART",
192
+ "ClassicalStudies": "CLASSICAL_STUDIES",
193
+ "Demography": "DEMOGRAPHY",
194
+ "DigitalHumanities": "DIGITAL_HUMANITIES",
195
+ "Economics": "ECONOMICS",
196
+ "EducationSciences": "EDUCATION_SCIENCES",
197
+ "EnvironmentalSciences": "ENVIRONMENTAL_SCIENCES",
198
+ "Geography": "GEOGRAPHY",
199
+ "History": "HISTORY",
200
+ "InformationAndCommunicationSciences": "INFORMATION_AND_COMMUNICATION_SCIENCES",
201
+ "InternationalRelations": "INTERNATIONAL_RELATIONS",
202
+ "Law": "LAW",
203
+ "Linguistics": "LINGUISTICS",
204
+ "Literature": "LITERATURE",
205
+ "ManagementAndPublicAdministration": "MANAGEMENT_AND_PUBLIC_ADMINISTRATION",
206
+ "NeurosciencesAndCognitiveSciences": "NEUROSCIENCES_AND_COGNITIVE_SCIENCES",
207
+ "Philosophy": "PHILOSOPHY",
208
+ "PoliticalScience": "POLITICAL_SCIENCE",
209
+ "Psychology": "PSYCHOLOGY",
210
+ "Sociology": "SOCIOLOGY",
211
+ "StudiesInScienceAndTechnology": "STUDIES_IN_SCIENCE_AND_TECHNOLOGY",
212
+ "Theology": "THEOLOGY",
213
+ "Biology": "BIOLOGY",
214
+ "Chemistry": "CHEMISTRY",
215
+ "ComputerScience": "COMPUTER_SCIENCE",
216
+ "Medicine": "MEDICINE",
217
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
218
+ },
219
+ "value": ""
220
+ },
221
+ "thematics": {
222
+ "type": "Select",
223
+ "multiple": true,
224
+ "items": {
225
+ "AgricultureAndFood": "AGRICULTURE_AND_FOOD",
226
+ "ArtificialIntelligence": "ARTIFICIAL_INTELLIGENCE",
227
+ "CommunicationAndDigitalEconomy": "COMMUNICATION_AND_DIGITAL_ECONOMY",
228
+ "BehaviourPerceptionEmotions": "BEHAVIOUR_PERCEPTION_EMOTIONS",
229
+ "CitiesAndRegions": "CITIES_AND_REGIONS",
230
+ "CulturalHeritage": "CULTURAL_HERITAGE",
231
+ "DemocracyCitizenshipAndGovernance": "DEMOCRACY_CITIZENSHIP_AND_GOVERNANCE",
232
+ "EducationAndResearch": "EDUCATION_AND_RESEARCH",
233
+ "EnergyNaturalResources": "ENERGY_NATURAL_RESOURCES",
234
+ "EnvironmentAndClimate": "ENVIRONMENT_AND_CLIMATE",
235
+ "IdentitiesGenderAndSexualities": "IDENTITIES_GENDER_AND_SEXUALITIES",
236
+ "InequalitiesInclusionSocialInnovation": "INEQUALITIES_INCLUSION_SOCIAL_INNOVATION",
237
+ "Migrations": "MIGRATIONS",
238
+ "Oceans": "OCEANS",
239
+ "PublicPolicies": "PUBLIC_POLICIES",
240
+ "RadicalisationViolenceExtremism": "RADICALISATION_VIOLENCE_EXTREMISM",
241
+ "RegulationAndGlobalisation": "REGULATION_AND_GLOBALISATION",
242
+ "ReligionSecularismSocieties": "RELIGION_SECULARISM_SOCIETIES",
243
+ "HealthAndAgeing": "HEALTH_AND_AGEING",
244
+ "SecurityWarAndPeace": "SECURITY_WAR_AND_PEACE",
245
+ "Space": "SPACE",
246
+ "TransportMobilityTourism": "TRANSPORT_MOBILITY_TOURISM",
247
+ "WorkInnovationTechnology": "WORK_INNOVATION_TECHNOLOGY"
248
+ },
187
249
  "value": ""
188
250
  },
189
251
  "status": {
@@ -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
@@ -21,12 +27,6 @@ export interface Projects {
21
27
  type: projectTypes
22
28
  }
23
29
 
24
- export enum projectTypes {
25
- Initiative = "INITIATIVE",
26
- Platform = "PLATFORM",
27
- Research = "RESEARCH",
28
- }
29
-
30
30
  export enum projectStatus {
31
31
  Planned = "PLANNED",
32
32
  InProgress = "IN_PROGRESS",
@@ -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
@@ -206,6 +206,7 @@ const data = {
206
206
  "Thesis": "THESIS",
207
207
  "Report": "REPORT",
208
208
  "Software": "SOFTWARE",
209
+ "News": "NEWS",
209
210
  "Data": "DATA",
210
211
  "Video": "VIDEO",
211
212
  "Audio": "AUDIO",
@@ -1,24 +1,51 @@
1
1
  import type { Sort, Views } from "../../index"
2
2
 
3
3
  // Inline type definitions
4
+ export enum newsCategories {
5
+ Announcement = "ANNOUNCEMENT",
6
+ Article = "ARTICLE",
7
+ Audio = "AUDIO",
8
+ Award = "AWARD",
9
+ Blog = "BLOG",
10
+ Data = "DATA",
11
+ Event = "EVENT",
12
+ Fellowship = "FELLOWSHIP",
13
+ Grant = "GRANT",
14
+ Interview = "INTERVIEW",
15
+ Job = "JOB",
16
+ LifeAtTheInstitute = "LIFE_AT_THE_INSTITUTE",
17
+ Opinion = "OPINION",
18
+ Other = "OTHER",
19
+ Ppias = "PPIAS",
20
+ PressRelease = "PRESS_RELEASE",
21
+ Project = "PROJECT",
22
+ Publication = "PUBLICATION",
23
+ Report = "REPORT",
24
+ Software = "SOFTWARE",
25
+ Tool = "TOOL",
26
+ Video = "VIDEO",
27
+ }
28
+
4
29
  export interface Publications {
5
- name: string
6
- subtitle?: string
30
+ authors: [RelatedPeople]
31
+ color?: string
32
+ date?: Date
7
33
  description?: string
8
- summary?: string
9
- url?: URL
10
- affiliations?: Affiliations[]
11
- related?: Related[]
34
+ disciplines?: Disciplines[]
35
+ eventCategories?: eventCategories
36
+ featured?: Date
37
+ files?: Files[]
12
38
  gallery?: Image[]
13
39
  image?: Image
14
- video?: Video
40
+ name: string
41
+ newsCategories?: newsCategories
42
+ related?: Related[]
43
+ subtitle?: string
44
+ summary?: string
15
45
  tags?: Tag[]
16
- disciplines?: Disciplines[]
17
- files?: Files[]
18
- color?: string
19
- date?: Date
20
46
  type: publicationType
21
- eventCategories: eventCategories
47
+ url?: URL
48
+ video?: Video
22
49
  }
23
50
 
24
51
  export enum publicationType {
@@ -29,6 +56,7 @@ export enum publicationType {
29
56
  Thesis = "THESIS",
30
57
  Report = "REPORT",
31
58
  Software = "SOFTWARE",
59
+ News = "NEWS",
32
60
  Data = "DATA",
33
61
  Video = "VIDEO",
34
62
  Audio = "AUDIO",
@@ -204,6 +204,7 @@ const data = {
204
204
  "Thesis": "THESIS",
205
205
  "Report": "REPORT",
206
206
  "Software": "SOFTWARE",
207
+ "News": "NEWS",
207
208
  "Data": "DATA",
208
209
  "Video": "VIDEO",
209
210
  "Audio": "AUDIO",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paris-ias/trees",
3
- "version": "2.1.0",
3
+ "version": "2.1.3",
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
  },