Skip to content

Commit 78a583f

Browse files
authored
Merge pull request #82 from abdlquadri/feature/add-graphql
feature: Add missing graphql files
2 parents 4b8da32 + bae311e commit 78a583f

11 files changed

+70
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
query getAccessPermissions ($id: String!){
2+
getAccessPermission (id: $id){
3+
id
4+
locationPatterns
5+
type
6+
}
7+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
mutation ($id: String!, $type: RedactionType!, $lookup: String!, $replacement: String!){
2+
addDataRedaction (id: $id, type: $type, lookup: $lookup, replacement: $replacement){
3+
id
4+
type
5+
lookup
6+
replacement
7+
}
8+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
mutation ($role: String!, $dataRedactionId: String!){
2+
addRoleDataRedaction (role: $role, dataRedactionId: $dataRedactionId)
3+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
query ($id: String!){
2+
getDataRedaction (id: $id){
3+
id
4+
type
5+
lookup
6+
replacement
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
query {
2+
getDataRedactions {
3+
id
4+
type
5+
lookup
6+
replacement
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
query ($developerId: String!){
2+
getDeveloperDataRedactions (developerId: $developerId){
3+
id
4+
type
5+
lookup
6+
replacement
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
query ($role: String!){
2+
getRoleDataRedactions (role: $role){
3+
id
4+
type
5+
lookup
6+
replacement
7+
}
8+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
mutation ($id: String!){
2+
removeDataRedaction (id: $id)
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
mutation ($role: String!, $dataRedactionId: String!){
2+
removeRoleDataRedaction (role: $role, dataRedactionId: $dataRedactionId)
3+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
mutation ($id: String!, $type: RedactionType!, $lookup: String!, $replacement: String!){
2+
updateDataRedaction (id: $id, type: $type, lookup: $lookup, replacement: $replacement){
3+
id
4+
type
5+
lookup
6+
replacement
7+
}
8+
}

0 commit comments

Comments
 (0)