Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Syncpolaris update some query mutation and permission names (#5070)
- Loading branch information
1 parent
2fb5a2a
commit fb084ad
Showing
17 changed files
with
80 additions
and
80 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
packages/plugin-syncpolaris-api/src/graphql/resolvers/index.ts
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
4 changes: 2 additions & 2 deletions
4
packages/plugin-syncpolaris-api/src/graphql/schema/mutations.ts
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const mutations = ` | ||
toCheck(type: String): JSON | ||
toSync( items: [JSON],type: String): JSON | ||
toCheckPolaris(type: String): JSON | ||
toSyncPolaris( items: [JSON],type: String): JSON | ||
`; |
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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
// Settings | ||
|
||
const toCheck = ` | ||
mutation toCheck($type: String) { | ||
toCheck(type: $type) | ||
const toCheckPolaris = ` | ||
mutation toCheckPolaris($type: String) { | ||
toCheckPolaris(type: $type) | ||
} | ||
`; | ||
|
||
const toSync = ` | ||
mutation toSync($type: String, $items: [JSON]) { | ||
toSync(type: $type, items: $items) | ||
const toSyncPolaris = ` | ||
mutation toSyncPolaris($type: String, $items: [JSON]) { | ||
toSyncPolaris(type: $type, items: $items) | ||
} | ||
`; | ||
|
||
export default { | ||
toCheck, | ||
toSync, | ||
toCheckPolaris, | ||
toSyncPolaris, | ||
}; |
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
Oops, something went wrong.