-
-
Notifications
You must be signed in to change notification settings - Fork 715
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/PalisadoesFoundation/tal…
…awa-admin into session-timeout
- Loading branch information
Showing
27 changed files
with
1,789 additions
and
429 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
import gql from 'graphql-tag'; | ||
|
||
export const USER_TAGS_ASSIGNED_MEMBERS = gql` | ||
query UserTagDetails( | ||
$id: ID! | ||
$after: String | ||
$before: String | ||
$first: PositiveInt | ||
$last: PositiveInt | ||
) { | ||
getUserTag(id: $id) { | ||
name | ||
usersAssignedTo( | ||
after: $after | ||
before: $before | ||
first: $first | ||
last: $last | ||
) { | ||
edges { | ||
node { | ||
_id | ||
firstName | ||
lastName | ||
} | ||
} | ||
pageInfo { | ||
startCursor | ||
endCursor | ||
hasNextPage | ||
hasPreviousPage | ||
} | ||
totalCount | ||
} | ||
} | ||
} | ||
`; | ||
|
||
export const USER_TAG_CHILD_TAGS = gql` | ||
query GetChildTags( | ||
$id: ID! | ||
$after: String | ||
$before: String | ||
$first: PositiveInt | ||
$last: PositiveInt | ||
) { | ||
getUserTag(id: $id) { | ||
name | ||
childTags(after: $after, before: $before, first: $first, last: $last) { | ||
edges { | ||
node { | ||
_id | ||
name | ||
usersAssignedTo(first: $first, last: $last) { | ||
totalCount | ||
} | ||
childTags(first: $first, last: $last) { | ||
totalCount | ||
} | ||
} | ||
} | ||
pageInfo { | ||
startCursor | ||
endCursor | ||
hasNextPage | ||
hasPreviousPage | ||
} | ||
totalCount | ||
} | ||
} | ||
} | ||
`; | ||
|
||
export const USER_TAG_ANCESTORS = gql` | ||
query GetUserTagAncestors($id: ID!) { | ||
getUserTagAncestors(id: $id) { | ||
_id | ||
name | ||
} | ||
} | ||
`; |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.