@paris-ias/trees 2.2.2 → 2.2.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.
@@ -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
@@ -1032,7 +1032,7 @@ type Project {
1032
1032
  color: String
1033
1033
  date: AWSDateTime
1034
1034
  description: String
1035
- disciplines: [Discipline]
1035
+ disciplines: [String]
1036
1036
  featured: AWSDateTime
1037
1037
  files: [File]
1038
1038
  gallery: [Image]
@@ -851,7 +851,7 @@ type Project {
851
851
  color: String
852
852
  date: AWSDateTime
853
853
  description: String
854
- disciplines: [Discipline]
854
+ disciplines: [String]
855
855
  featured: AWSDateTime
856
856
  files: [File]
857
857
  gallery: [Image]
@@ -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.3",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",