@paris-ias/trees 2.2.2 → 2.2.4

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.
@@ -223,6 +223,7 @@ const data = {
223
223
  "Member": "MEMBER",
224
224
  "Support": "SUPPORT",
225
225
  "Partner": "PARTNER",
226
+ "Funding": "FUNDING",
226
227
  "Other": "OTHER",
227
228
  "Network": "NETWORK"
228
229
  },
@@ -5,6 +5,7 @@ export enum AffiliationCategories {
5
5
  Member = "MEMBER",
6
6
  Support = "SUPPORT",
7
7
  Partner = "PARTNER",
8
+ Funding = "FUNDING",
8
9
  Other = "OTHER",
9
10
  Network = "NETWORK",
10
11
  }
@@ -221,6 +221,7 @@ const data = {
221
221
  "Member": "MEMBER",
222
222
  "Support": "SUPPORT",
223
223
  "Partner": "PARTNER",
224
+ "Funding": "FUNDING",
224
225
  "Other": "OTHER",
225
226
  "Network": "NETWORK"
226
227
  },
@@ -156,9 +156,47 @@ const data = {
156
156
  },
157
157
  "disciplines": {
158
158
  "label": "disciplines",
159
- "component": "DocumentPicker",
159
+ "component": "Select",
160
160
  "type": "DOCUMENT",
161
161
  "meta": "disciplines",
162
+ "items": {
163
+ "AnthropologyAndEthnology": "ANTHROPOLOGY_AND_ETHNOLOGY",
164
+ "ArchitectureAndUrbanPlanning": "ARCHITECTURE_AND_URBAN_PLANNING",
165
+ "Archaeology": "ARCHAEOLOGY",
166
+ "ArtAndHistoryOfArt": "ART_AND_HISTORY_OF_ART",
167
+ "ClassicalStudies": "CLASSICAL_STUDIES",
168
+ "Demography": "DEMOGRAPHY",
169
+ "DigitalHumanities": "DIGITAL_HUMANITIES",
170
+ "Economics": "ECONOMICS",
171
+ "EducationSciences": "EDUCATION_SCIENCES",
172
+ "EnvironmentalSciences": "ENVIRONMENTAL_SCIENCES",
173
+ "Geography": "GEOGRAPHY",
174
+ "History": "HISTORY",
175
+ "InformationAndCommunicationSciences": "INFORMATION_AND_COMMUNICATION_SCIENCES",
176
+ "InternationalRelations": "INTERNATIONAL_RELATIONS",
177
+ "Law": "LAW",
178
+ "Linguistics": "LINGUISTICS",
179
+ "Literature": "LITERATURE",
180
+ "ManagementAndPublicAdministration": "MANAGEMENT_AND_PUBLIC_ADMINISTRATION",
181
+ "NeurosciencesAndCognitiveSciences": "NEUROSCIENCES_AND_COGNITIVE_SCIENCES",
182
+ "Philosophy": "PHILOSOPHY",
183
+ "PoliticalScience": "POLITICAL_SCIENCE",
184
+ "Psychology": "PSYCHOLOGY",
185
+ "Sociology": "SOCIOLOGY",
186
+ "StudiesInScienceAndTechnology": "STUDIES_IN_SCIENCE_AND_TECHNOLOGY",
187
+ "Theology": "THEOLOGY",
188
+ "Biology": "BIOLOGY",
189
+ "Chemistry": "CHEMISTRY",
190
+ "ComputerScience": "COMPUTER_SCIENCE",
191
+ "Medicine": "MEDICINE",
192
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
193
+ },
194
+ "multiple": true,
195
+ "rules": {
196
+ "required": true,
197
+ "min": 1,
198
+ "max": 5
199
+ },
162
200
  "default": ""
163
201
  },
164
202
  "type": {
@@ -12,7 +12,7 @@ export interface Projects {
12
12
  subtitle?: string
13
13
  description?: string
14
14
  summary?: string
15
- disciplines?: Disciplines[]
15
+ disciplines?: DisciplinesOptions[]
16
16
  url?: URL
17
17
  affiliations?: Affiliations[]
18
18
  related?: Related[]
@@ -154,9 +154,47 @@ const data = {
154
154
  },
155
155
  "disciplines": {
156
156
  "label": "disciplines",
157
- "component": "DocumentPicker",
157
+ "component": "Select",
158
158
  "type": "DOCUMENT",
159
159
  "meta": "disciplines",
160
+ "items": {
161
+ "AnthropologyAndEthnology": "ANTHROPOLOGY_AND_ETHNOLOGY",
162
+ "ArchitectureAndUrbanPlanning": "ARCHITECTURE_AND_URBAN_PLANNING",
163
+ "Archaeology": "ARCHAEOLOGY",
164
+ "ArtAndHistoryOfArt": "ART_AND_HISTORY_OF_ART",
165
+ "ClassicalStudies": "CLASSICAL_STUDIES",
166
+ "Demography": "DEMOGRAPHY",
167
+ "DigitalHumanities": "DIGITAL_HUMANITIES",
168
+ "Economics": "ECONOMICS",
169
+ "EducationSciences": "EDUCATION_SCIENCES",
170
+ "EnvironmentalSciences": "ENVIRONMENTAL_SCIENCES",
171
+ "Geography": "GEOGRAPHY",
172
+ "History": "HISTORY",
173
+ "InformationAndCommunicationSciences": "INFORMATION_AND_COMMUNICATION_SCIENCES",
174
+ "InternationalRelations": "INTERNATIONAL_RELATIONS",
175
+ "Law": "LAW",
176
+ "Linguistics": "LINGUISTICS",
177
+ "Literature": "LITERATURE",
178
+ "ManagementAndPublicAdministration": "MANAGEMENT_AND_PUBLIC_ADMINISTRATION",
179
+ "NeurosciencesAndCognitiveSciences": "NEUROSCIENCES_AND_COGNITIVE_SCIENCES",
180
+ "Philosophy": "PHILOSOPHY",
181
+ "PoliticalScience": "POLITICAL_SCIENCE",
182
+ "Psychology": "PSYCHOLOGY",
183
+ "Sociology": "SOCIOLOGY",
184
+ "StudiesInScienceAndTechnology": "STUDIES_IN_SCIENCE_AND_TECHNOLOGY",
185
+ "Theology": "THEOLOGY",
186
+ "Biology": "BIOLOGY",
187
+ "Chemistry": "CHEMISTRY",
188
+ "ComputerScience": "COMPUTER_SCIENCE",
189
+ "Medicine": "MEDICINE",
190
+ "PhysicsMathematicsAndEngineering": "PHYSICS_MATHEMATICS_AND_ENGINEERING"
191
+ },
192
+ "multiple": true,
193
+ "rules": {
194
+ "required": true,
195
+ "min": 1,
196
+ "max": 5
197
+ },
160
198
  "default": ""
161
199
  },
162
200
  "type": {
@@ -7,10 +7,7 @@ query getProject(
7
7
  color
8
8
  date
9
9
  description
10
- disciplines {
11
- name
12
- slug
13
- }
10
+ disciplines
14
11
  featured
15
12
  slug
16
13
  files {
@@ -7,10 +7,7 @@ query listProjects(
7
7
  total
8
8
  items {
9
9
  date
10
- disciplines {
11
- name
12
- slug
13
- }
10
+ disciplines
14
11
  featured
15
12
  image {
16
13
  alt
@@ -234,6 +234,7 @@ enum affiliationCategory {
234
234
  PARTNER
235
235
  SUPPORT
236
236
  NETWORK
237
+ FUNDING
237
238
  OTHER
238
239
  }
239
240
 
@@ -1032,7 +1033,7 @@ type Project {
1032
1033
  color: String
1033
1034
  date: AWSDateTime
1034
1035
  description: String
1035
- disciplines: [Discipline]
1036
+ disciplines: [String]
1036
1037
  featured: AWSDateTime
1037
1038
  files: [File]
1038
1039
  gallery: [Image]
@@ -26,6 +26,7 @@ enum affiliationCategory {
26
26
  PARTNER
27
27
  SUPPORT
28
28
  NETWORK
29
+ FUNDING
29
30
  OTHER
30
31
  }
31
32
 
@@ -851,7 +852,7 @@ type Project {
851
852
  color: String
852
853
  date: AWSDateTime
853
854
  description: String
854
- disciplines: [Discipline]
855
+ disciplines: [String]
855
856
  featured: AWSDateTime
856
857
  files: [File]
857
858
  gallery: [Image]
@@ -163,6 +163,7 @@ const data = {
163
163
  "Member": "MEMBER",
164
164
  "Support": "SUPPORT",
165
165
  "Partner": "PARTNER",
166
+ "Funding": "FUNDING",
166
167
  "Other": "OTHER",
167
168
  "Network": "NETWORK"
168
169
  },
@@ -5,6 +5,7 @@ export enum AffiliationCategories {
5
5
  Member = "MEMBER",
6
6
  Support = "SUPPORT",
7
7
  Partner = "PARTNER",
8
+ Funding = "FUNDING",
8
9
  Other = "OTHER",
9
10
  Network = "NETWORK",
10
11
  }
@@ -161,6 +161,7 @@ const data = {
161
161
  "Member": "MEMBER",
162
162
  "Support": "SUPPORT",
163
163
  "Partner": "PARTNER",
164
+ "Funding": "FUNDING",
164
165
  "Other": "OTHER",
165
166
  "Network": "NETWORK"
166
167
  },
@@ -12,7 +12,7 @@ export interface Projects {
12
12
  subtitle?: string
13
13
  description?: string
14
14
  summary?: string
15
- disciplines?: Disciplines[]
15
+ disciplines?: DisciplinesOptions[]
16
16
  url?: URL
17
17
  affiliations?: Affiliations[]
18
18
  related?: Related[]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paris-ias/trees",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",