@paris-ias/trees 2.2.0 → 2.2.2

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.
@@ -16,6 +16,7 @@ export interface People {
16
16
  thematics?: Thematics[]
17
17
  related?: Related[]
18
18
  video?: Video[]
19
+ latest: Vintage | Position
19
20
  }
20
21
 
21
22
  export enum FellowStatus {
@@ -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,13 @@ const data = {
153
154
  },
154
155
  "meta": "summary"
155
156
  },
157
+ "disciplines": {
158
+ "label": "disciplines",
159
+ "component": "DocumentPicker",
160
+ "type": "DOCUMENT",
161
+ "meta": "disciplines",
162
+ "default": ""
163
+ },
156
164
  "type": {
157
165
  "label": "type",
158
166
  "component": "Select",
@@ -12,6 +12,7 @@ export interface Projects {
12
12
  subtitle?: string
13
13
  description?: string
14
14
  summary?: string
15
+ disciplines?: Disciplines[]
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,13 @@ const data = {
151
152
  },
152
153
  "meta": "summary"
153
154
  },
155
+ "disciplines": {
156
+ "label": "disciplines",
157
+ "component": "DocumentPicker",
158
+ "type": "DOCUMENT",
159
+ "meta": "disciplines",
160
+ "default": ""
161
+ },
154
162
  "type": {
155
163
  "label": "type",
156
164
  "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
@@ -50,6 +50,20 @@ query listPeople(
50
50
  website
51
51
  wikipedia
52
52
  }
53
+ latest {
54
+ ... on Vintage {
55
+ name
56
+ theme
57
+ url
58
+ year
59
+ }
60
+ ... on Position {
61
+ role
62
+ department
63
+ start
64
+ stop
65
+ }
66
+ }
53
67
  }
54
68
  total
55
69
  }
@@ -7,6 +7,10 @@ query getProject(
7
7
  color
8
8
  date
9
9
  description
10
+ disciplines {
11
+ name
12
+ slug
13
+ }
10
14
  featured
11
15
  slug
12
16
  files {
@@ -96,7 +100,7 @@ query getProject(
96
100
  updatedAt
97
101
  }
98
102
  appId
99
- status
103
+ state
100
104
  related {
101
105
  events {
102
106
  description
@@ -7,6 +7,10 @@ query listProjects(
7
7
  total
8
8
  items {
9
9
  date
10
+ disciplines {
11
+ name
12
+ slug
13
+ }
10
14
  featured
11
15
  image {
12
16
  alt
@@ -19,6 +23,7 @@ query listProjects(
19
23
  }
20
24
  type
21
25
  name
26
+ state
22
27
  summary
23
28
  url
24
29
  tags {
@@ -962,6 +962,8 @@ type Groups {
962
962
  vintage: [Vintage]
963
963
  }
964
964
 
965
+ union Latest = Vintage | Position
966
+
965
967
  type People {
966
968
  appId: String
967
969
  firstname: String!
@@ -979,6 +981,7 @@ type People {
979
981
  slug: String
980
982
  tags: [Tag]
981
983
  score: Float
984
+ latest: Latest
982
985
  }
983
986
 
984
987
  type PeopleFilters {
@@ -1024,26 +1027,27 @@ type Vintage {
1024
1027
  }
1025
1028
 
1026
1029
  type Project {
1027
- appId: String
1028
- name: String!
1029
- subtitle: String
1030
- summary: String
1031
- description: String
1032
- url: AWSURL
1033
1030
  affiliations: [Affiliation]
1034
- related: Related
1035
- gallery: [Image]
1036
- image: Image
1037
- video: [Video]
1038
- tags: [Tag]
1039
- files: [File]
1031
+ appId: String
1040
1032
  color: String
1041
1033
  date: AWSDateTime
1034
+ description: String
1035
+ disciplines: [Discipline]
1042
1036
  featured: AWSDateTime
1043
- status: projectStatus
1044
- slug: String
1037
+ files: [File]
1038
+ gallery: [Image]
1039
+ image: Image
1040
+ name: String!
1041
+ related: Related
1045
1042
  score: Float
1043
+ slug: String
1044
+ state: projectState
1045
+ subtitle: String
1046
+ summary: String
1047
+ tags: [Tag]
1046
1048
  type: projectTypes
1049
+ url: AWSURL
1050
+ video: [Video]
1047
1051
  }
1048
1052
 
1049
1053
  type ProjectFilters {
@@ -781,6 +781,8 @@ type Groups {
781
781
  vintage: [Vintage]
782
782
  }
783
783
 
784
+ union Latest = Vintage | Position
785
+
784
786
  type People {
785
787
  appId: String
786
788
  firstname: String!
@@ -798,6 +800,7 @@ type People {
798
800
  slug: String
799
801
  tags: [Tag]
800
802
  score: Float
803
+ latest: Latest
801
804
  }
802
805
 
803
806
  type PeopleFilters {
@@ -843,26 +846,27 @@ type Vintage {
843
846
  }
844
847
 
845
848
  type Project {
846
- appId: String
847
- name: String!
848
- subtitle: String
849
- summary: String
850
- description: String
851
- url: AWSURL
852
849
  affiliations: [Affiliation]
853
- related: Related
854
- gallery: [Image]
855
- image: Image
856
- video: [Video]
857
- tags: [Tag]
858
- files: [File]
850
+ appId: String
859
851
  color: String
860
852
  date: AWSDateTime
853
+ description: String
854
+ disciplines: [Discipline]
861
855
  featured: AWSDateTime
862
- status: projectStatus
863
- slug: String
856
+ files: [File]
857
+ gallery: [Image]
858
+ image: Image
859
+ name: String!
860
+ related: Related
864
861
  score: Float
862
+ slug: String
863
+ state: projectState
864
+ subtitle: String
865
+ summary: String
866
+ tags: [Tag]
865
867
  type: projectTypes
868
+ url: AWSURL
869
+ video: [Video]
866
870
  }
867
871
 
868
872
  type ProjectFilters {
@@ -16,6 +16,7 @@ export interface People {
16
16
  thematics?: Thematics[]
17
17
  related?: Related[]
18
18
  video?: Video[]
19
+ latest: Vintage | Position
19
20
  }
20
21
 
21
22
  export enum FellowStatus {
@@ -12,6 +12,7 @@ export interface Projects {
12
12
  subtitle?: string
13
13
  description?: string
14
14
  summary?: string
15
+ disciplines?: Disciplines[]
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.0",
3
+ "version": "2.2.2",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",