From 6265e89ffd5d9bce89b45fabcf9ef57cd3f37e60 Mon Sep 17 00:00:00 2001 From: buildkite-docs-bot Date: Thu, 29 Aug 2024 00:05:54 +0000 Subject: [PATCH] Update GraphQL docs --- data/graphql/schema.graphql | 16 ++++++++-------- .../schemas/input_object/rulecreateinput.md | 2 +- pages/apis/graphql/schemas/object/rule.md | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/data/graphql/schema.graphql b/data/graphql/schema.graphql index d70e8eb795..b01b5ffe32 100644 --- a/data/graphql/schema.graphql +++ b/data/graphql/schema.graphql @@ -8963,11 +8963,6 @@ type Rule implements Node { """ effect: RuleEffect id: ID! - - """ - Name of the rule - """ - name: String! organization: Organization """ @@ -8990,6 +8985,11 @@ type Rule implements Node { """ targetType: RuleTargetType + """ + The type of rule + """ + type: String! + """ The public UUID for the rule """ @@ -9025,12 +9025,12 @@ input RuleCreateInput { A unique identifier for the client performing the mutation. """ clientMutationId: String + organizationId: ID! """ - Rule name + Rule type """ - name: String! - organizationId: ID! + type: String! """ Serialised JSON of the attributes for this rule diff --git a/pages/apis/graphql/schemas/input_object/rulecreateinput.md b/pages/apis/graphql/schemas/input_object/rulecreateinput.md index f0177a415a..a2b2ac2e69 100644 --- a/pages/apis/graphql/schemas/input_object/rulecreateinput.md +++ b/pages/apis/graphql/schemas/input_object/rulecreateinput.md @@ -33,6 +33,6 @@ Autogenerated input type of RuleCreate -

clientMutationIdString

A unique identifier for the client performing the mutation.

nameString!

Rule name

organizationIdID!

valueJSON!

Serialised JSON of the attributes for this rule

+

clientMutationIdString

A unique identifier for the client performing the mutation.

organizationIdID!

typeString!

Rule type

valueJSON!

Serialised JSON of the attributes for this rule

diff --git a/pages/apis/graphql/schemas/object/rule.md b/pages/apis/graphql/schemas/object/rule.md index ed0301abba..645170528d 100644 --- a/pages/apis/graphql/schemas/object/rule.md +++ b/pages/apis/graphql/schemas/object/rule.md @@ -31,7 +31,7 @@ toc: false -

actionRuleAction

Action for the rule

createdByUser

User who created the rule

effectRuleEffect

Effect for the rule

idID!

nameString!

Name of the rule

organizationOrganization

sourceRuleSource

The source for the rule

sourceTypeRuleSourceType

Source type for the rule

targetRuleTarget

The target for the rule

targetTypeRuleTargetType

Target type for the rule

uuidID!

The public UUID for the rule

+

actionRuleAction

Action for the rule

createdByUser

User who created the rule

effectRuleEffect

Effect for the rule

idID!

organizationOrganization

sourceRuleSource

The source for the rule

sourceTypeRuleSourceType

Source type for the rule

targetRuleTarget

The target for the rule

targetTypeRuleTargetType

Target type for the rule

typeString!

The type of rule

uuidID!

The public UUID for the rule