Skip to content

Commit

Permalink
chore: update GraphQL schema dump
Browse files Browse the repository at this point in the history
  • Loading branch information
kyujin-cho authored and github-actions[bot] committed Aug 19, 2024
1 parent 9b4bc84 commit 9ba60eb
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions src/ai/backend/manager/api/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ type Queries {

"""Added in 24.03.0."""
model_cards(filter: String, order: String, offset: Int, before: String, after: String, first: Int, last: Int): ModelCardConnection
network(id: UUID!): NetworkNode

Check failure on line 142 in src/ai/backend/manager/api/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

New fields must include a description with a version number in the format "Added in XX.XX.X.", Field 'network' was added to object type 'Queries'

New fields must include a description with a version number in the format "Added in XX.XX.X."
networks(filter: String, order: String, offset: Int, before: String, after: String, first: Int, last: Int): NetworkConnection

Check failure on line 143 in src/ai/backend/manager/api/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

New fields must include a description with a version number in the format "Added in XX.XX.X.", Field 'networks' was added to object type 'Queries'

New fields must include a description with a version number in the format "Added in XX.XX.X."
}

"""
Expand Down Expand Up @@ -1120,6 +1122,37 @@ type ModelCardEdge {
cursor: String!
}

type NetworkNode implements Node {

Check failure on line 1125 in src/ai/backend/manager/api/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

New types must include a description with a version number in the format "Added in XX.XX.X.", Type 'NetworkNode' was added

New types must include a description with a version number in the format "Added in XX.XX.X."
"""The ID of the object"""
id: ID!
row_id: UUID
name: String
ref_name: String
project: UUID
domain_name: String
options: JSONString
}

type NetworkConnection {

Check failure on line 1136 in src/ai/backend/manager/api/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

New types must include a description with a version number in the format "Added in XX.XX.X.", Type 'NetworkConnection' was added

New types must include a description with a version number in the format "Added in XX.XX.X."
"""Pagination data for this connection."""
pageInfo: PageInfo!

"""Contains the nodes in this connection."""
edges: [NetworkEdge]!

"""Total count of the GQL nodes of the query."""
count: Int
}

"""A Relay edge containing a `Network` and its cursor."""
type NetworkEdge {

Check failure on line 1148 in src/ai/backend/manager/api/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

New types must include a description with a version number in the format "Added in XX.XX.X.", Type 'NetworkEdge' was added

New types must include a description with a version number in the format "Added in XX.XX.X."
"""The item at the end of the edge"""
node: NetworkNode

"""A cursor for use in pagination"""
cursor: String!
}

"""All available GraphQL mutations."""
type Mutations {
modify_agent(id: String!, props: ModifyAgentInput!): ModifyAgent
Expand Down Expand Up @@ -1239,6 +1272,9 @@ type Mutations {
modify_container_registry(hostname: String!, props: ModifyContainerRegistryInput!): ModifyContainerRegistry
delete_container_registry(hostname: String!): DeleteContainerRegistry
modify_endpoint(endpoint_id: UUID!, props: ModifyEndpointInput!): ModifyEndpoint
create_network(name: String!, project: UUID!): CreateNetwork

Check failure on line 1275 in src/ai/backend/manager/api/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

New fields must include a description with a version number in the format "Added in XX.XX.X.", Field 'create_network' was added to object type 'Mutations'

New fields must include a description with a version number in the format "Added in XX.XX.X."
modify_network(network_id: UUID!, props: ModifyNetworkInput!): ModifyNetwork

Check failure on line 1276 in src/ai/backend/manager/api/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

New fields must include a description with a version number in the format "Added in XX.XX.X.", Field 'modify_network' was added to object type 'Mutations'

New fields must include a description with a version number in the format "Added in XX.XX.X."
delete_network(network_id: UUID!): DeleteNetwork

Check failure on line 1277 in src/ai/backend/manager/api/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

New fields must include a description with a version number in the format "Added in XX.XX.X.", Field 'delete_network' was added to object type 'Mutations'

New fields must include a description with a version number in the format "Added in XX.XX.X."
}

type ModifyAgent {
Expand Down Expand Up @@ -1963,4 +1999,25 @@ input ExtraMountInput {
Added in 24.03.4. Set permission of this mount. Should be one of (ro,rw,wd). Default is null
"""
permission: String
}

type CreateNetwork {

Check failure on line 2004 in src/ai/backend/manager/api/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

New types must include a description with a version number in the format "Added in XX.XX.X.", Type 'CreateNetwork' was added

New types must include a description with a version number in the format "Added in XX.XX.X."
ok: Boolean
msg: String
network: NetworkNode
}

type ModifyNetwork {

Check failure on line 2010 in src/ai/backend/manager/api/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

New types must include a description with a version number in the format "Added in XX.XX.X.", Type 'ModifyNetwork' was added

New types must include a description with a version number in the format "Added in XX.XX.X."
ok: Boolean
msg: String
network: NetworkNode
}

input ModifyNetworkInput {

Check failure on line 2016 in src/ai/backend/manager/api/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

New types must include a description with a version number in the format "Added in XX.XX.X.", Type 'ModifyNetworkInput' was added

New types must include a description with a version number in the format "Added in XX.XX.X."
name: String!
}

type DeleteNetwork {

Check failure on line 2020 in src/ai/backend/manager/api/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

New types must include a description with a version number in the format "Added in XX.XX.X.", Type 'DeleteNetwork' was added

New types must include a description with a version number in the format "Added in XX.XX.X."
ok: Boolean
msg: String
}

0 comments on commit 9ba60eb

Please sign in to comment.