Skip to content

Commit

Permalink
feat: introduce graphQL query to find application by id
Browse files Browse the repository at this point in the history
  • Loading branch information
ahennr committed Jul 4, 2023
1 parent aa3a739 commit 575000c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ coverage
dist
docs
node_modules

# IntelliJ files
*.iml
17 changes: 17 additions & 0 deletions src/graphqlqueries/Applications.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export const applicationAttributes = `
id
created
modified
name
stateOnly
clientConfig
layerTree
layerConfig
toolConfig
`;

export const applicationById = `query($id: Int) {
applicationById(id: $id) {
${applicationAttributes}
}
}`;

0 comments on commit 575000c

Please sign in to comment.