Skip to content

Commit

Permalink
Expand m levels
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoTheissen committed Aug 14, 2023
1 parent 6d61a27 commit dea350a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion vocabularies/Hierarchy.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
"$Name": "Expand",
"$Type": "JSON.JSON",
"@Core.Description": "Nested Javascript object whose member names are identifiers of nodes to be expanded",
"@Core.LongDescription": "The members of the object A must have as value null or another object that follows the same rule, possibly empty.\n Given a sequence of node identifiers N1,...,Nm, the node reached by descending from the root via nodes identified by N1,...,Nm\n <br>- must be expanded if A[N1]...[Nm] is an empty object, even if that leads beyond level n\n <br>- must be collapsed if A[N1]...[Nm] = null.",
"@Core.LongDescription": "The members of the object A must have as value a number or another object that follows the same rule, possibly empty.\n Given a sequence of node identifiers N1,...,Nk, the node reached by descending from the root via nodes identified by N1,...,Nk\n must be expanded m levels deep if A[N1]...[Nk] = m, even if that leads beyond level n.\n m = 0 means the node must be collapsed.",
"@Core.OptionalParameter": {}
},
{
Expand Down
2 changes: 1 addition & 1 deletion vocabularies/Hierarchy.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Parameter|Type|Description
[HierarchyQualifier](./Hierarchy.xml#L227:~:text=<Function%20Name="-,TopLevels,-")|[HierarchyQualifier](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Aggregation.V1.md#HierarchyQualifier)|
[NodeProperty](./Hierarchy.xml#L228:~:text=<Function%20Name="-,TopLevels,-")|String|Property path to the node identifier, evaluated relative to the binding parameter
*[Levels](./Hierarchy.xml#L231:~:text=<Function%20Name="-,TopLevels,-")*|Int64|*Optional parameter:* The number n of levels to be output, absent means all levels
*[Expand](./Hierarchy.xml#L238:~:text=<Function%20Name="-,TopLevels,-")*|[JSON](JSON.md#JSON)|*Optional parameter:* Nested Javascript object whose member names are identifiers of nodes to be expanded<br>The members of the object A must have as value null or another object that follows the same rule, possibly empty. Given a sequence of node identifiers N1,...,Nm, the node reached by descending from the root via nodes identified by N1,...,Nm <br>- must be expanded if A[N1]...[Nm] is an empty object, even if that leads beyond level n <br>- must be collapsed if A[N1]...[Nm] = null.
*[Expand](./Hierarchy.xml#L238:~:text=<Function%20Name="-,TopLevels,-")*|[JSON](JSON.md#JSON)|*Optional parameter:* Nested Javascript object whose member names are identifiers of nodes to be expanded<br>The members of the object A must have as value a number or another object that follows the same rule, possibly empty. Given a sequence of node identifiers N1,...,Nk, the node reached by descending from the root via nodes identified by N1,...,Nk must be expanded m levels deep if A[N1]...[Nk] = m, even if that leads beyond level n. m = 0 means the node must be collapsed.
*[Show](./Hierarchy.xml#L250:~:text=<Function%20Name="-,TopLevels,-")*|\[String\]|*Optional parameter:* Identifiers of nodes to be shown
[&rarr;](./Hierarchy.xml#L256:~:text=<Function%20Name="-,TopLevels,-")|\[EntityType\]|

Expand Down
8 changes: 4 additions & 4 deletions vocabularies/Hierarchy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ The template actions themselves cannot be invoked.</String>
<Parameter Name="Expand" Type="JSON.JSON" Nullable="false">
<Annotation Term="Core.Description" String="Nested Javascript object whose member names are identifiers of nodes to be expanded" />
<Annotation Term="Core.LongDescription">
<String>The members of the object A must have as value null or another object that follows the same rule, possibly empty.
Given a sequence of node identifiers N1,...,Nm, the node reached by descending from the root via nodes identified by N1,...,Nm
&lt;br&gt;- must be expanded if A[N1]...[Nm] is an empty object, even if that leads beyond level n
&lt;br&gt;- must be collapsed if A[N1]...[Nm] = null.</String>
<String>The members of the object A must have as value a number or another object that follows the same rule, possibly empty.
Given a sequence of node identifiers N1,...,Nk, the node reached by descending from the root via nodes identified by N1,...,Nk
must be expanded m levels deep if A[N1]...[Nk] = m, even if that leads beyond level n.
m = 0 means the node must be collapsed.</String>
</Annotation>
<Annotation Term="Core.OptionalParameter">
<Record/>
Expand Down

0 comments on commit dea350a

Please sign in to comment.