Viewer
version : 0.0.0
stability : stable
Objects
User
Fields
| Name | Type | Description |
|---|---|---|
| account | Account | Find an account by its login that the user belongs to. |
| id | ID! | The user's identifier. |
| login | String! | The user's login name. |
| name | String | The user's public profile name. |
| organization | Organization | Find an organization by its login that the user belongs to. |
| accountPermission | Permission | The permission level of the user inside the account. |
| organizationPermission | Permission | The permission level of the user inside the organization. |
ViewerAccount
Fields
| Name | Type | Description |
|---|---|---|
| login | String! | - |
| permission | Permission! | - |
| name | String | - |
| plan | String | - |
| phone | String | - |
| String | - | |
| address | String | - |
| country | String | - |
| beta | Boolean | - |
ViewerOrganization
Fields
| Name | Type | Description |
|---|---|---|
| login | String! | - |
| permission | Permission! | - |
Viewer
Fields
| Name | Type | Description |
|---|---|---|
| user | User! | - |
| account | ViewerAccount! | Authenticated user account |
| organization | ViewerOrganization! | Authenticated user organization |
Queries
viewer
Returns: Viewer