@@ -12,25 +12,25 @@ Content:
1212 contentType :
1313 type : " ContentType"
1414 description : " The content type of the Content item."
15- resolve : " @=resolver ('ContentTypeById', [ value.contentTypeId] )"
15+ resolve : " @=query ('ContentTypeById', value.contentTypeId)"
1616 name :
1717 type : " String"
1818 description : " The computed name (via name schema) in the main language of the Content item."
1919 section :
2020 type : " Section"
2121 description : " The section to which the Content object is assigned."
22- resolve : " @=resolver ('SectionById', [ value.sectionId] )"
22+ resolve : " @=query ('SectionById', value.sectionId)"
2323 currentVersionNo :
2424 type : " Int"
2525 description : " Version number of the published version, or 1 for a newly created draft."
2626 currentVersion :
2727 type : " Version"
2828 description : " The currently published version"
29- resolve : " @=resolver ('CurrentVersion', [ value] )"
29+ resolve : " @=query ('CurrentVersion', value)"
3030 versions :
3131 type : " [Version]"
3232 description : " All content versions."
33- resolve : " @=resolver ('ContentVersions', [ value.id] )"
33+ resolve : " @=query ('ContentVersions', value.id)"
3434 published :
3535 type : " Boolean"
3636 description : " If the Content item has a published version."
@@ -40,7 +40,7 @@ Content:
4040 owner :
4141 type : " User"
4242 description : " The owner user of the Content object"
43- resolve : " @=resolver ('UserById', [ value.ownerId] )"
43+ resolve : " @=query ('UserById', value.ownerId)"
4444 modificationDate :
4545 type : DateTime
4646 description : " Date the Content item was last modified on."
@@ -62,23 +62,23 @@ Content:
6262 mainLocation :
6363 type : " Location"
6464 description : " Content item's main location."
65- resolve : " @=resolver ('LocationById', [ value.mainLocationId] )"
65+ resolve : " @=query ('LocationById', value.mainLocationId)"
6666 locations :
6767 type : " [Location]"
6868 description : " All the locations of the Content item"
69- resolve : " @=resolver ('LocationsByContentId', [ value.id] )"
69+ resolve : " @=query ('LocationsByContentId', value.id)"
7070 relations :
7171 type : " [ContentRelation]"
7272 description : " Relations from this Content"
73- resolve : " @=resolver ('ContentRelations', [ value] )"
73+ resolve : " @=query ('ContentRelations', value)"
7474 reverseRelations :
7575 type : " [ContentRelation]"
7676 description : " Relations to this Content"
77- resolve : " @=resolver ('ContentReverseRelations', [ value] )"
77+ resolve : " @=query ('ContentReverseRelations', value)"
7878 states :
7979 type : " [ObjectState]"
8080 description : " Content States."
81- resolve : " @=resolver ('ObjectStateByContentInfo', [ value] )"
81+ resolve : " @=query ('ObjectStateByContentInfo', value)"
8282
8383ContentRelation :
8484 type : " object"
0 commit comments