Skip to main content

Reference documentation for GraphQL schema types in the Dependency graph category.

Objects

DependencyGraphDependency

Object

A dependency manifest entry.

Поля для DependencyGraphDependency

Имя.Description

hasDependencies (Boolean!)

Does the dependency itself have dependencies?.

packageLabel (String!)

The original name of the package, as it appears in the manifest.

Предупреждение

packageLabel is deprecated.

packageLabel will be removed. Use normalized packageName field instead. Removal on 2022-10-01 UTC.

packageManager (String)

The dependency package manager.

packageName (String!)

The name of the package in the canonical form used by the package manager.

relationship (String!)

Public preview: The relationship of the dependency. Can be direct, transitive, or unknown.

repository (Repository)

The repository containing the package.

requirements (String!)

The dependency version requirements.

DependencyGraphDependencyConnection

Object

The connection type for DependencyGraphDependency.

Поля для DependencyGraphDependencyConnection

Имя.Description

edges ([DependencyGraphDependencyEdge])

A list of edges.

nodes ([DependencyGraphDependency])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DependencyGraphDependencyEdge

Object

An edge in a connection.

Поля для DependencyGraphDependencyEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (DependencyGraphDependency)

The item at the end of the edge.

DependencyGraphManifest

Object

Dependency manifest for a repository.

DependencyGraphManifest Реализует

Поля для DependencyGraphManifest

Имя.Description

blobPath (String!)

Path to view the manifest file blob.

dependencies (DependencyGraphDependencyConnection)

A list of manifest dependencies.

Аргументы для dependencies

  • after (String)

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

  • before (String)

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

  • first (Int)

    Returns the first n elements from the list.

  • last (Int)

    Returns the last n elements from the list.

dependenciesCount (Int)

The number of dependencies listed in the manifest.

exceedsMaxSize (Boolean!)

Is the manifest too big to parse?.

filename (String!)

Fully qualified manifest filename.

id (ID!)

The Node ID of the DependencyGraphManifest object.

parseable (Boolean!)

Were we able to parse the manifest?.

repository (Repository!)

The repository containing the manifest.

DependencyGraphManifestConnection

Object

The connection type for DependencyGraphManifest.

Поля для DependencyGraphManifestConnection

Имя.Description

edges ([DependencyGraphManifestEdge])

A list of edges.

nodes ([DependencyGraphManifest])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

DependencyGraphManifestEdge

Object

An edge in a connection.

Поля для DependencyGraphManifestEdge

Имя.Description

cursor (String!)

A cursor for use in pagination.

node (DependencyGraphManifest)

The item at the end of the edge.