Skip to main content
Skip to content

Paquets

Documentation de référence sur les types de schéma GraphQL dans la catégorie Packages.

Mutations

deletePackageVersion

Mutation

Delete a package version.

Champs d’entrée pour deletePackageVersion

Champs de retour pour deletePackageVersion

NomDescription

clientMutationId (String)

A unique identifier for the client performing the mutation.

success (Boolean)

Whether or not the operation succeeded.

Objects

Package

Object

Information for an uploaded package.

Package Met en œuvre

Champs pour Package

NomDescription

id (ID!)

The Node ID of the Package object.

latestVersion (PackageVersion)

Find the latest version for the package.

name (String!)

Identifies the name of the package.

packageType (PackageType!)

Identifies the type of the package.

repository (Repository)

The repository this package belongs to.

statistics (PackageStatistics)

Statistics about package activity.

version (PackageVersion)

Find package version by version string.

Arguments pour version

  • version (String!)

    The package version.

versions (PackageVersionConnection!)

list of versions for this package.

Arguments pour versions

  • 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.

PackageConnection

Object

The connection type for Package.

Champs pour PackageConnection

NomDescription

edges ([PackageEdge])

A list of edges.

nodes ([Package])

A list of nodes.

pageInfo (PageInfo!)

Information to aid in pagination.

totalCount (Int!)

Identifies the total count of items in the connection.

PackageEdge

Object

An edge in a connection.

Champs pour PackageEdge

NomDescription

cursor (String!)

A cursor for use in pagination.

node (Package)

The item at the end of the edge.

PackageFile

Object

A file in a package version.

PackageFile Met en œuvre

Champs pour PackageFile

NomDescription

id (ID!)

The Node ID of the PackageFile object.

md5 (String)

MD5 hash of the file.

name (String!)

Name of the file.

packageVersion (PackageVersion)

The package version this file belongs to.

sha1 (String)

SHA1 hash of the file.

sha256 (String)

SHA256 hash of the file.

size (Int)

Size of the file in bytes.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

url (