@paris-ias/trees 2.2.13 → 2.2.15

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.
@@ -1,138 +1,173 @@
1
- query search($appId: ID = "", $search: String = "", $lang: String = "en") {
2
- search(appId: $appId, search: $search, lang: $lang) {
3
- people {
1
+ query search(
2
+ $appId: ID = ""
3
+ $search: String = ""
4
+ $lang: String = "en"
5
+ $disciplines: [String]
6
+ ) {
7
+ search(
8
+ appId: $appId
9
+ search: $search
10
+ lang: $lang
11
+ disciplines: $disciplines
12
+ ) {
13
+ events {
4
14
  items {
5
- firstname
6
- image {
7
- alt
8
- backgroundColor
9
- caption
10
- copyright
11
- license
12
- licenseUrl
13
- url
14
- }
15
- lastname
15
+ availableSlots
16
+ bookingState
17
+ category
18
+ disciplines
19
+ start
20
+ status
16
21
  summary
22
+ eventType
17
23
  slug
24
+ name
25
+ image {
26
+ ...searchImage
27
+ }
18
28
  score
19
29
  }
20
30
  total
21
31
  }
22
- projects {
32
+ fellowships {
23
33
  items {
24
- date
25
- featured
26
- name
27
- summary
28
- image {
29
- alt
30
- backgroundColor
31
- caption
32
- copyright
33
- license
34
- licenseUrl
35
- url
36
- }
37
- subtitle
38
- tags {
39
- name
40
- }
41
- slug
42
- score
34
+ ...fellowshipItem
43
35
  }
44
36
  total
45
37
  }
46
- publications {
38
+ team {
47
39
  items {
48
- subtitle
49
- name
50
- summary
51
- image {
52
- alt
53
- backgroundColor
54
- caption
55
- copyright
56
- licenseUrl
57
- license
58
- url
59
- }
60
- date
61
- slug
62
- score
40
+ ...peopleItem
63
41
  }
64
42
  total
65
43
  }
66
- events {
44
+ sab {
67
45
  items {
68
- availableSlots
69
- bookingState
70
- category
71
- start
72
- status
73
- summary
74
- eventType
75
- slug
76
- name
77
- image {
78
- alt
79
- backgroundColor
80
- caption
81
- copyright
82
- licenseUrl
83
- license
84
- url
85
- }
86
- score
46
+ ...peopleItem
87
47
  }
88
48
  total
89
49
  }
90
- fellowships {
50
+ board {
51
+ items {
52
+ ...peopleItem
53
+ }
91
54
  total
55
+ }
56
+ ethics {
92
57
  items {
93
- applicationStart
94
- applicationStop
95
- disciplines {
96
- name
97
- }
98
- fellowshipStart
99
- fellowshipType
100
- fellowshipStop
101
- image {
102
- alt
103
- backgroundColor
104
- caption
105
- copyright
106
- license
107
- licenseUrl
108
- url
109
- }
110
- name
111
- summary
112
- slug
113
- score
58
+ ...peopleItem
59
+ }
60
+ total
61
+ }
62
+ fellows {
63
+ items {
64
+ ...peopleItem
65
+ }
66
+ total
67
+ }
68
+ initiatives {
69
+ items {
70
+ ...projectItem
71
+ }
72
+ total
73
+ }
74
+ tools {
75
+ items {
76
+ ...projectItem
77
+ }
78
+ total
79
+ }
80
+ projects {
81
+ items {
82
+ ...projectItem
83
+ }
84
+ total
85
+ }
86
+ media {
87
+ items {
88
+ ...publicationItem
89
+ }
90
+ total
91
+ }
92
+ publications {
93
+ items {
94
+ ...publicationItem
114
95
  }
96
+ total
115
97
  }
116
98
  news {
117
99
  items {
118
- category
119
- date
120
- featured
121
- summary
122
- image {
123
- alt
124
- backgroundColor
125
- caption
126
- copyright
127
- license
128
- licenseUrl
129
- url
130
- }
131
- name
132
- slug
133
- score
100
+ ...publicationItem
134
101
  }
135
102
  total
136
103
  }
137
104
  }
138
105
  }
106
+
107
+ fragment searchImage on Image {
108
+ alt
109
+ backgroundColor
110
+ caption
111
+ copyright
112
+ license
113
+ licenseUrl
114
+ url
115
+ }
116
+
117
+ fragment peopleItem on People {
118
+ firstname
119
+ lastname
120
+ summary
121
+ disciplines
122
+ slug
123
+ score
124
+ image {
125
+ ...searchImage
126
+ }
127
+ }
128
+
129
+ fragment projectItem on Project {
130
+ date
131
+ featured
132
+ name
133
+ summary
134
+ disciplines
135
+ subtitle
136
+ tags {
137
+ name
138
+ }
139
+ slug
140
+ score
141
+ image {
142
+ ...searchImage
143
+ }
144
+ }
145
+
146
+ fragment publicationItem on Publication {
147
+ disciplines
148
+ subtitle
149
+ name
150
+ summary
151
+ date
152
+ slug
153
+ score
154
+ image {
155
+ ...searchImage
156
+ }
157
+ }
158
+
159
+ fragment fellowshipItem on Fellowship {
160
+ applicationStart
161
+ applicationStop
162
+ disciplines
163
+ fellowshipStart
164
+ fellowshipType
165
+ fellowshipStop
166
+ name
167
+ summary
168
+ slug
169
+ score
170
+ image {
171
+ ...searchImage
172
+ }
173
+ }
@@ -148,7 +148,7 @@ type Query {
148
148
  listUsers(appId: ID, options: ListInput!, lang: String): UserList
149
149
  getUser(appId: ID, itemId: ID, lang: String): User
150
150
  checkAltcha(payload: String!, hmacKey: String!): AltchaVerification
151
- search(appId: ID, search: String, lang: String): SearchList
151
+ search(appId: ID, search: String, lang: String, disciplines: [String]): SearchList
152
152
  getFellowship(appId: ID, itemId: ID, lang: String): Fellowship
153
153
  getAction(appId: ID, itemId: ID, lang: String): Actions
154
154
  getEvent(appId: ID, itemId: ID, lang: String): Event
@@ -787,12 +787,19 @@ type Profile {
787
787
  }
788
788
 
789
789
  type SearchList {
790
- news: NewsList
791
- projects: ProjectsList
792
790
  events: EventsList
793
- people: PeopleList
794
- publications: PublicationsList
795
791
  fellowships: FellowshipList
792
+ team: PeopleList
793
+ sab: PeopleList
794
+ board: PeopleList
795
+ ethics: PeopleList
796
+ fellows: PeopleList
797
+ initiatives: ProjectsList
798
+ tools: ProjectsList
799
+ projects: ProjectsList
800
+ media: PublicationsList
801
+ publications: PublicationsList
802
+ news: PublicationsList
796
803
  }
797
804
 
798
805
  type Settings {
@@ -509,7 +509,7 @@ input LocationInput {
509
509
  }
510
510
 
511
511
  type Query {
512
- search(appId: ID, search: String, lang: String): SearchList
512
+ search(appId: ID, search: String, lang: String, disciplines: [String]): SearchList
513
513
  getFellowship(appId: ID, itemId: ID, lang: String): Fellowship
514
514
  getAction(appId: ID, itemId: ID, lang: String): Actions
515
515
  getEvent(appId: ID, itemId: ID, lang: String): Event
@@ -604,12 +604,19 @@ type Profile {
604
604
  }
605
605
 
606
606
  type SearchList {
607
- news: NewsList
608
- projects: ProjectsList
609
607
  events: EventsList
610
- people: PeopleList
611
- publications: PublicationsList
612
608
  fellowships: FellowshipList
609
+ team: PeopleList
610
+ sab: PeopleList
611
+ board: PeopleList
612
+ ethics: PeopleList
613
+ fellows: PeopleList
614
+ initiatives: ProjectsList
615
+ tools: ProjectsList
616
+ projects: ProjectsList
617
+ media: PublicationsList
618
+ publications: PublicationsList
619
+ news: PublicationsList
613
620
  }
614
621
 
615
622
  type Settings {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paris-ias/trees",
3
- "version": "2.2.13",
3
+ "version": "2.2.15",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",