Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

repositoryMovements

Audience: Programmer

Served by: inventory

Arguments

Name
Type
Default
Description

after

Returns the elements in the list that come after the specified cursor.

first

Int

Returns the first n elements from the list.

before

Returns the elements in the list that come before the specified cursor.

last

Int

Returns the last n elements from the list.

orderBy

Ordering options for RepositoryMovements returned from the connection.

where

Filtering options for RepositoryMovements returned from the connection.

Returns

RepositoryMovementConnection!

Example

Returns the 3 most recent unexecuted repository movements.

query GetRepositoryMovements($after: Cursor, $first: Int, $before: Cursor, $last: Int, $orderBy: RepositoryMovementOrder, $where: RepositoryMovementWhereInput) {
  repositoryMovements(after: $after, first: $first, before: $before, last: $last, orderBy: $orderBy, where: $where) {
    totalCount
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
    edges {
      cursor
      node {
        blockedBy
        collectionID
        createdAt
        createdBy
        data
        dataTypeID
        dataTypeSlug
        deletedAt
        deletedBy
        executed
        executedAt
        fromID
        handler
        id
        orderID
        position
        repositoryID
        tenantID
        toID
        updatedAt
        updatedBy
      }
    }
  }
}

Variables

Last updated

Was this helpful?