Skip to content

Commit

Permalink
Merge pull request #32 from pluralsh/refresh-schema
Browse files Browse the repository at this point in the history
Refresh schema
  • Loading branch information
michaeljguarino committed Jun 27, 2024
2 parents 09aa00d + 4b7e068 commit fc49bbe
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
6 changes: 6 additions & 0 deletions models_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 13 additions & 2 deletions schema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,8 @@ type RootMutationType {
"the id of the PR automation instance to use"
id: ID!

identifier: String

branch: String

context: Json
Expand Down Expand Up @@ -742,7 +744,7 @@ type RootMutationType {
deleteCustomStackRun(id: ID!): CustomStackRun

"Creates a custom run, with the given command list, to execute w\/in the stack's environment"
onDemandRun(stackId: ID!, commands: [CommandAttributes]): StackRun
onDemandRun(stackId: ID!, commands: [CommandAttributes], context: Json): StackRun

upsertObservabilityProvider(attributes: ObservabilityProviderAttributes!): ObservabilityProvider

Expand All @@ -757,7 +759,7 @@ type RootMutationType {
updateProject(id: ID!, attributes: ProjectAttributes!): Project

"a reusable mutation for updating rbac settings on core services"
updateRbac(rbac: RbacAttributes!, serviceId: ID, clusterId: ID, providerId: ID, pipelineId: ID): Boolean
updateRbac(rbac: RbacAttributes!, serviceId: ID, clusterId: ID, providerId: ID, pipelineId: ID, stackId: ID): Boolean
}

type RootSubscriptionType {
Expand Down Expand Up @@ -2312,6 +2314,9 @@ input PromotionCriteriaAttributes {
"the id of a pr automation to update this service"
prAutomationId: ID

"overrides the repository slug for the referenced pr automation"
repository: String

"the secrets to copy over in a promotion"
secrets: [String]
}
Expand Down Expand Up @@ -2375,6 +2380,9 @@ type PipelineStage {
"the name of this stage (eg dev, prod, staging)"
name: String!

"the errors for this stage"
errors: [ServiceError]

"the services within this stage"
services: [StageService]

Expand Down Expand Up @@ -2515,6 +2523,9 @@ type StageService {
type PromotionCriteria {
id: ID!

"overrides the repository slug for the referenced pr automation"
repository: String

"the source service in a prior stage to promote settings from"
source: ServiceDeployment

Expand Down

0 comments on commit fc49bbe

Please sign in to comment.