Merge branch 'main' into repo-sync
This commit is contained in:
@@ -1 +1,2 @@
|
||||
translations/
|
||||
includes/
|
||||
@@ -8,13 +8,14 @@
|
||||
</div>
|
||||
|
||||
<div>
|
||||
{% include graphql-preview %} {% include graphql-deprecation %}
|
||||
{% include graphql-preview %}
|
||||
{% include graphql-deprecation %}
|
||||
|
||||
<h4>{% data ui.products.graphql.reference.values %}</h4>
|
||||
{% for value in item.values %}
|
||||
<p><strong>{{ value.name }}</strong></p>
|
||||
<p>{{ value.description }}</p>
|
||||
{% endfor %}
|
||||
<h4>{% data ui.products.graphql.reference.values %}</h4>
|
||||
{% for value in item.values %}
|
||||
<p><strong>{{ value.name }}</strong></p>
|
||||
<p>{{ value.description }}</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
@@ -8,28 +8,28 @@
|
||||
</div>
|
||||
|
||||
<div>
|
||||
{% include graphql-preview %} {% include graphql-deprecation %}
|
||||
{% include graphql-preview %}
|
||||
{% include graphql-deprecation %}
|
||||
|
||||
<!-- Calculate and render "Implemented By" section -->
|
||||
<!-- TODO instead of calculating in layout, better to calculate in graphql-data? -->
|
||||
<h4>{% data ui.products.graphql.reference.implemented_by %}</h4>
|
||||
<ul>
|
||||
<!-- Loop over objects, then loop over object interfaces, and find a match -->
|
||||
{% for object in graphql.schemaForCurrentVersion.objects %} {% for
|
||||
interface in object.implements %} {% if interface.name == item.name %}
|
||||
<li>
|
||||
<code
|
||||
><a href="/{{ currentLanguage }}{{ object.href }}"
|
||||
>{{ object.name }}</a
|
||||
></code
|
||||
>
|
||||
</li>
|
||||
{% endif %} {% endfor %} {% endfor %}
|
||||
</ul>
|
||||
<!-- Calculate and render "Implemented By" section -->
|
||||
<!-- TODO instead of calculating in layout, better to calculate in graphql-data? -->
|
||||
<h4>{% data ui.products.graphql.reference.implemented_by %}</h4>
|
||||
<ul>
|
||||
<!-- Loop over objects, then loop over object interfaces, and find a match -->
|
||||
{% for object in graphql.schemaForCurrentVersion.objects %}
|
||||
{% for interface in object.implements %}
|
||||
{% if interface.name == item.name %}
|
||||
<li>
|
||||
<code><a href="/{{ currentLanguage }}{{ object.href }}">{{ object.name }}</a></code>
|
||||
</li>
|
||||
{% endif %} {% endfor %} {% endfor %}
|
||||
</ul>
|
||||
|
||||
{% if item.fields %}
|
||||
<h4>{% data ui.products.graphql.reference.fields %}</h4>
|
||||
{% assign fields = item.fields %} {% include graphql-fields %} {% endif %}
|
||||
{% if item.fields %}
|
||||
<h4>{% data ui.products.graphql.reference.fields %}</h4>
|
||||
{% assign fields = item.fields %}
|
||||
{% include graphql-fields %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
@@ -4,13 +4,16 @@
|
||||
<a href="#{{ item.id }}" class="doctocat-link">{% include doctocat-link-icon %}</a>
|
||||
{{- item.name -}}
|
||||
</h2>
|
||||
{{ item.description }}
|
||||
{{ item.description }}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
{% include graphql-preview %} {% include graphql-deprecation %} {% assign
|
||||
inputFields = item.inputFields %} {% assign returnFields = item.returnFields
|
||||
%} {% include graphql-input-fields %} {% include graphql-return-fields %}
|
||||
{% include graphql-preview %}
|
||||
{% include graphql-deprecation %}
|
||||
{% assign inputFields = item.inputFields %}
|
||||
{% assign returnFields = item.returnFields %}
|
||||
{% include graphql-input-fields %}
|
||||
{% include graphql-return-fields %}
|
||||
</div>
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
@@ -5,8 +5,9 @@
|
||||
{{- item.name -}}
|
||||
</h2>
|
||||
|
||||
{{ item.description }} {% include graphql-preview %} {% include
|
||||
graphql-deprecation %}
|
||||
{{ item.description }}
|
||||
{% include graphql-preview %}
|
||||
{% include graphql-deprecation %}
|
||||
</div>
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user