...

Text file src/edge-infra.dev/pkg/edge/api/graph/schema/compatibility_queries.graphql

Documentation: edge-infra.dev/pkg/edge/api/graph/schema

     1extend type Query {
     2  """
     3  getArtifactVersionCompatibility gets a list of the compatible artifacts and their versions for a given artifact
     4  """
     5  getArtifactVersionCompatibility(
     6    artifactName: String!
     7    artifactVersion: String!
     8  ): ArtifactCompatibility
     9    @hasRole(
    10      roles: [
    11        EDGE_ORG_ADMIN
    12        EDGE_BANNER_ADMIN
    13        EDGE_BANNER_OPERATOR
    14        EDGE_BANNER_VIEWER
    15      ]
    16    )
    17  """
    18  checkVersionSupport checks that a version is supported based on the latest available version
    19  """
    20  checkVersionSupport(
    21    artifactName: String!
    22    artifactVersion: String!
    23  ): Boolean!
    24    @hasRole(
    25      roles: [
    26        EDGE_ORG_ADMIN
    27        EDGE_BANNER_ADMIN
    28        EDGE_BANNER_OPERATOR
    29        EDGE_BANNER_VIEWER
    30      ]
    31    )
    32}
    33
    34extend type Mutation {
    35  """
    36  addArtifactCompatibility adds an artifacts compatibility relationship to other artifacts
    37  """
    38  addArtifactCompatibility(
    39    artifactCompatibility: ArtifactCompatibilityPayload!
    40  ): Boolean! @hasRole(roles: [EDGE_ENGINEERING_LEADS])
    41
    42  """
    43  deleteArtifactCompatibility deletes an artifacts compatibility relationships
    44  """
    45  deleteArtifactCompatibility(
    46    artifactCompatibility: ArtifactCompatibilityPayload!
    47  ): Boolean! @hasRole(roles: [EDGE_ENGINEERING_LEADS])
    48}

View as plain text