@paris-ias/trees 2.0.2 → 2.0.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.
@@ -0,0 +1,41 @@
1
+ query GetUser($appId: ID = "iea", $itemId: ID = "", $lang: String = "") {
2
+ getUser(appId: $appId, itemId: $itemId, lang: $lang) {
3
+ admin
4
+ apps {
5
+ appId
6
+ roles
7
+ }
8
+ branch
9
+ createdAt
10
+ email
11
+ profile {
12
+ country
13
+ firstname
14
+ image {
15
+ alt
16
+ backgroundColor
17
+ caption
18
+ copyright
19
+ license
20
+ licenseUrl
21
+ url
22
+ }
23
+ lastname
24
+ linkedin
25
+ position
26
+ presentation
27
+ references
28
+ twitter
29
+ wikipedia
30
+ }
31
+ role
32
+ settings {
33
+ lang
34
+ }
35
+ slug {
36
+ en
37
+ fr
38
+ }
39
+ status
40
+ }
41
+ }
@@ -883,16 +883,14 @@ type Position {
883
883
  stop: AWSDateTime
884
884
  }
885
885
 
886
- type User {
886
+ type User implements People {
887
887
  admin: Boolean
888
888
  apps: [AppRole]
889
889
  createdAt: AWSDateTime!
890
- email: AWSEmail!
891
- profile: Profile
890
+ email: [AWSEmail]!
892
891
  settings: Settings
893
892
  status: Int
894
893
  role: Int
895
- branch: [String]
896
894
  slug: AWSJSON
897
895
  }
898
896
 
@@ -730,16 +730,14 @@ type Position {
730
730
  stop: AWSDateTime
731
731
  }
732
732
 
733
- type User {
733
+ type User implements People {
734
734
  admin: Boolean
735
735
  apps: [AppRole]
736
736
  createdAt: AWSDateTime!
737
- email: AWSEmail!
738
- profile: Profile
737
+ email: [AWSEmail]!
739
738
  settings: Settings
740
739
  status: Int
741
740
  role: Int
742
- branch: [String]
743
741
  slug: AWSJSON
744
742
  }
745
743
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paris-ias/trees",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",