interface SearchSort {
    direction?: "ascending" | "descending";
    property: DMSFilterProperty;
}

Properties

Properties

direction?: "ascending" | "descending"

A reference to either a DMS base property or a container property. For nodes the DMS base properties are instanceType, version, space, externalId, type, createdTime, lastUpdatedTime, and deletedTime. For edges the DMS base properties are all of the node base properties with the addition of startNode and endNode.

References to DMS base properties are on the form ["node", "identifier"] or ["edge", "identifier"] where identifier is a DMS base property. Container properties can be referenced either through a view or through the container where it is defined.

  • To reference a property through the container where it is defined the format is ["space", "externalId", "identifier"] where space, externalId is the space and externalId of the container and identifier is one of the property identifiers defined in the container.
  • To reference a property through one of the views mapping it the format is ["space", "externalId/version", "identifier"] where space, externalId, version is the space, externalId, and version of the view respectively, and identifier is one of the property identifiers defined in the view.