forked from deltaDAO/portal-fmdm
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Sphereon-Opensource/feature/VDX-233/facete…
…d_search VDX-233 Implement faceted search to the Energy SHR portal
- Loading branch information
Showing
41 changed files
with
2,816 additions
and
487 deletions.
There are no files selected for viewing
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,13 @@ | ||
const getAggregations = ` | ||
query getAggregations { | ||
aggregations { | ||
category | ||
keywords { | ||
label | ||
location | ||
count | ||
} | ||
} | ||
} | ||
` | ||
export default getAggregations |
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,17 @@ | ||
const schema = ` | ||
type Query { | ||
aggregations: [Aggregation] | ||
} | ||
type Keyword { | ||
label: String | ||
location: String | ||
count: Int | ||
} | ||
type Aggregation { | ||
category: String | ||
keywords: [Keyword] | ||
} | ||
` | ||
export default schema |
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.