This is an automated email from the ASF dual-hosted git repository. bdelacretaz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git
The following commit(s) were added to refs/heads/master by this push: new 3eb7e37 Expose website root 3eb7e37 is described below commit 3eb7e374e24df36a5716ee2e11fb20e6e95dfe1f Author: Bertrand Delacretaz <bdelacre...@apache.org> AuthorDate: Fri May 29 11:22:13 2020 +0200 Expose website root --- .../resources/SLING-INF/initial-content/apps/samples/article/json.gql | 1 + .../SLING-INF/initial-content/apps/samples/common/GQLschema.jsp | 1 + .../resources/SLING-INF/initial-content/apps/samples/section/json.gql | 1 + .../main/resources/SLING-INF/initial-content/apps/samples/tag/json.gql | 1 + 4 files changed, 4 insertions(+) diff --git a/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/article/json.gql b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/article/json.gql index 9a381fc..6c12163 100644 --- a/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/article/json.gql +++ b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/article/json.gql @@ -18,6 +18,7 @@ # Define the query for this resource type, selector and extension { navigation { + root sections { path name diff --git a/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/common/GQLschema.jsp b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/common/GQLschema.jsp index b412106..7b909b8 100644 --- a/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/common/GQLschema.jsp +++ b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/common/GQLschema.jsp @@ -22,6 +22,7 @@ # the resourceType-specific schemas type Navigation { + root: String sections: [Section] } diff --git a/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/section/json.gql b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/section/json.gql index 5b14ec3..81c5e13 100644 --- a/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/section/json.gql +++ b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/section/json.gql @@ -18,6 +18,7 @@ # Define the query for this resource type, selector and extension { navigation { + root sections { path name diff --git a/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/tag/json.gql b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/tag/json.gql index 519adc8..383d8a0 100644 --- a/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/tag/json.gql +++ b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/tag/json.gql @@ -18,6 +18,7 @@ # Define the query for this resource type, selector and extension { navigation { + root sections { path name