@paris-ias/trees 2.2.1 → 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.
@@ -69,6 +69,7 @@ const data = {
69
69
  "en": "",
70
70
  "fr": ""
71
71
  },
72
+ "disciplines": "",
72
73
  "type": "",
73
74
  "image": "",
74
75
  "url": "",
@@ -153,6 +154,51 @@ const data = {
153
154
  },
154
155
  "meta": "summary"
155
156
  },
157
+ "disciplines": {
158
+ "label": "disciplines",
159
+ "component": "Select",
160
+ "type": "DOCUMENT",
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
+ },
200
+ "default": ""
201
+ },
156
202
  "type": {
157
203
  "label": "type",
158
204
  "component": "Select",
@@ -12,6 +12,7 @@ export interface Projects {
12
12
  subtitle?: string
13
13
  description?: string
14
14
  summary?: string
15
+ disciplines?: DisciplinesOptions[]
15
16
  url?: URL
16
17
  affiliations?: Affiliations[]
17
18
  related?: Related[]
@@ -23,16 +24,16 @@ export interface Projects {
23
24
  color?: string
24
25
  date?: Date
25
26
  featured?: Date
26
- status: projectStatus | projectStatusAdmin
27
+ state: projectState | projectStateAdmin
27
28
  type: projectTypes
28
29
  }
29
30
 
30
- export enum projectStatus {
31
+ export enum projectState {
31
32
  InProgress = "IN_PROGRESS",
32
33
  Finished = "FINISHED",
33
34
  }
34
35
 
35
- export enum projectStatusAdmin {
36
+ export enum projectStateAdmin {
36
37
  Planned = "PLANNED",
37
38
  InProgress = "IN_PROGRESS",
38
39
  Finished = "FINISHED",
@@ -67,6 +67,7 @@ const data = {
67
67
  "en": "",
68
68
  "fr": ""
69
69
  },
70
+ "disciplines": "",
70
71
  "type": "",
71
72
  "image": "",
72
73
  "url": "",
@@ -151,6 +152,51 @@ const data = {
151
152
  },
152
153
  "meta": "summary"
153
154
  },
155
+ "disciplines": {
156
+ "label": "disciplines",
157
+ "component": "Select",
158
+ "type": "DOCUMENT",
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
+ },
198
+ "default": ""
199
+ },
154
200
  "type": {
155
201
  "label": "type",
156
202
  "component": "Select",
@@ -9,6 +9,20 @@ export enum mediaType {
9
9
  Other = "OTHER",
10
10
  }
11
11
 
12
+ export enum publicationState {
13
+ Published = "PUBLISHED",
14
+ Finished = "FINISHED",
15
+ }
16
+
17
+ export enum publicationStateAdmin {
18
+ Published = "PUBLISHED",
19
+ Removed = "REMOVED",
20
+ Finished = "FINISHED",
21
+ Cancelled = "CANCELLED",
22
+ Postponed = "POSTPONED",
23
+ Rescheduled = "RESCHEDULED",
24
+ }
25
+
12
26
  export enum newsCategories {
13
27
  Announcement = "ANNOUNCEMENT",
14
28
  Article = "ARTICLE",
@@ -68,6 +82,7 @@ export interface Publications {
68
82
  related?: Related[]
69
83
  subtitle?: string
70
84
  summary?: string
85
+ state?: publicationState | publicationStateAdmin
71
86
  tags?: Tag[]
72
87
  type: publicationType
73
88
  url?: URL
@@ -7,6 +7,7 @@ query getProject(
7
7
  color
8
8
  date
9
9
  description
10
+ disciplines
10
11
  featured
11
12
  slug
12
13
  files {
@@ -96,7 +97,7 @@ query getProject(
96
97
  updatedAt
97
98
  }
98
99
  appId
99
- status
100
+ state
100
101
  related {
101
102
  events {
102
103
  description
@@ -7,6 +7,7 @@ query listProjects(
7
7
  total
8
8
  items {
9
9
  date
10
+ disciplines
10
11
  featured
11
12
  image {
12
13
  alt
@@ -19,6 +20,7 @@ query listProjects(
19
20
  }
20
21
  type
21
22
  name
23
+ state
22
24
  summary
23
25
  url
24
26
  tags {
@@ -1027,26 +1027,27 @@ type Vintage {
1027
1027
  }
1028
1028
 
1029
1029
  type Project {
1030
- appId: String
1031
- name: String!
1032
- subtitle: String
1033
- summary: String
1034
- description: String
1035
- url: AWSURL
1036
1030
  affiliations: [Affiliation]
1037
- related: Related
1038
- gallery: [Image]
1039
- image: Image
1040
- video: [Video]
1041
- tags: [Tag]
1042
- files: [File]
1031
+ appId: String
1043
1032
  color: String
1044
1033
  date: AWSDateTime
1034
+ description: String
1035
+ disciplines: [String]
1045
1036
  featured: AWSDateTime
1046
- status: projectStatus
1047
- slug: String
1037
+ files: [File]
1038
+ gallery: [Image]
1039
+ image: Image
1040
+ name: String!
1041
+ related: Related
1048
1042
  score: Float
1043
+ slug: String
1044
+ state: projectState
1045
+ subtitle: String
1046
+ summary: String
1047
+ tags: [Tag]
1049
1048
  type: projectTypes
1049
+ url: AWSURL
1050
+ video: [Video]
1050
1051
  }
1051
1052
 
1052
1053
  type ProjectFilters {
@@ -846,26 +846,27 @@ type Vintage {
846
846
  }
847
847
 
848
848
  type Project {
849
- appId: String
850
- name: String!
851
- subtitle: String
852
- summary: String
853
- description: String
854
- url: AWSURL
855
849
  affiliations: [Affiliation]
856
- related: Related
857
- gallery: [Image]
858
- image: Image
859
- video: [Video]
860
- tags: [Tag]
861
- files: [File]
850
+ appId: String
862
851
  color: String
863
852
  date: AWSDateTime
853
+ description: String
854
+ disciplines: [String]
864
855
  featured: AWSDateTime
865
- status: projectStatus
866
- slug: String
856
+ files: [File]
857
+ gallery: [Image]
858
+ image: Image
859
+ name: String!
860
+ related: Related
867
861
  score: Float
862
+ slug: String
863
+ state: projectState
864
+ subtitle: String
865
+ summary: String
866
+ tags: [Tag]
868
867
  type: projectTypes
868
+ url: AWSURL
869
+ video: [Video]
869
870
  }
870
871
 
871
872
  type ProjectFilters {
@@ -12,6 +12,7 @@ export interface Projects {
12
12
  subtitle?: string
13
13
  description?: string
14
14
  summary?: string
15
+ disciplines?: DisciplinesOptions[]
15
16
  url?: URL
16
17
  affiliations?: Affiliations[]
17
18
  related?: Related[]
@@ -23,16 +24,16 @@ export interface Projects {
23
24
  color?: string
24
25
  date?: Date
25
26
  featured?: Date
26
- status: projectStatus | projectStatusAdmin
27
+ state: projectState | projectStateAdmin
27
28
  type: projectTypes
28
29
  }
29
30
 
30
- export enum projectStatus {
31
+ export enum projectState {
31
32
  InProgress = "IN_PROGRESS",
32
33
  Finished = "FINISHED",
33
34
  }
34
35
 
35
- export enum projectStatusAdmin {
36
+ export enum projectStateAdmin {
36
37
  Planned = "PLANNED",
37
38
  InProgress = "IN_PROGRESS",
38
39
  Finished = "FINISHED",
@@ -9,6 +9,20 @@ export enum mediaType {
9
9
  Other = "OTHER",
10
10
  }
11
11
 
12
+ export enum publicationState {
13
+ Published = "PUBLISHED",
14
+ Finished = "FINISHED",
15
+ }
16
+
17
+ export enum publicationStateAdmin {
18
+ Published = "PUBLISHED",
19
+ Removed = "REMOVED",
20
+ Finished = "FINISHED",
21
+ Cancelled = "CANCELLED",
22
+ Postponed = "POSTPONED",
23
+ Rescheduled = "RESCHEDULED",
24
+ }
25
+
12
26
  export enum newsCategories {
13
27
  Announcement = "ANNOUNCEMENT",
14
28
  Article = "ARTICLE",
@@ -68,6 +82,7 @@ export interface Publications {
68
82
  related?: Related[]
69
83
  subtitle?: string
70
84
  summary?: string
85
+ state?: publicationState | publicationStateAdmin
71
86
  tags?: Tag[]
72
87
  type: publicationType
73
88
  url?: URL
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paris-ias/trees",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",