Skip to content

Commit

Permalink
feat: Add synced mutation (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino authored Aug 23, 2023
1 parent 470dac2 commit fc894c5
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 3 deletions.
22 changes: 22 additions & 0 deletions client.go

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

4 changes: 4 additions & 0 deletions graph/installations.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@ mutation ResetInstallations(){

mutation DeleteInstallation($id: ID!) {
deleteInstallation(id: $id) { id }
}

mutation MarkSynced($repository: String!) {
synced(repository: $repository)
}
9 changes: 6 additions & 3 deletions models_gen.go

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

7 changes: 7 additions & 0 deletions schema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ type PlanFeatures {
vpn: Boolean
userManagement: Boolean
audit: Boolean
databaseManagement: Boolean
}

type PlatformSubscriptionLineItems {
Expand Down Expand Up @@ -1801,6 +1802,8 @@ type RootMutationType {

releaseLock(repository: String!, attributes: LockAttributes!): ApplyLock

synced(repository: String!): Boolean

createRecipe(repositoryName: String, repositoryId: String, attributes: RecipeAttributes!): Recipe

deleteRecipe(id: ID!): Recipe
Expand Down Expand Up @@ -2048,6 +2051,10 @@ type Installation {

acmeSecret: String

locked: Boolean

synced: Boolean

license: String

insertedAt: DateTime
Expand Down

0 comments on commit fc894c5

Please sign in to comment.