You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gql/batches.graphql
+197-3Lines changed: 197 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,7 @@ enum ChangesetReviewState {
112
112
PENDING
113
113
COMMENTED
114
114
DISMISSED
115
+
NOT_APPLICABLE
115
116
}
116
117
117
118
"""
@@ -608,6 +609,10 @@ type ChangesetsStats {
608
609
The count of changesets that are complete (i.e in a merged or closed state) and not archived or deleted.
609
610
"""
610
611
percentComplete: Int!
612
+
"""
613
+
The count of pushed-only changesets.
614
+
"""
615
+
pushedOnly: Int!
611
616
}
612
617
613
618
"""
@@ -638,6 +643,10 @@ type RepoChangesetsStats {
638
643
The count of all changesets.
639
644
"""
640
645
total: Int!
646
+
"""
647
+
The count of pushed-only changesets.
648
+
"""
649
+
pushedOnly: Int!
641
650
}
642
651
643
652
"""
@@ -668,6 +677,10 @@ type GlobalChangesetsStats {
668
677
The count of all changesets.
669
678
"""
670
679
total: Int!
680
+
"""
681
+
The count of pushed-only changesets.
682
+
"""
683
+
pushedOnly: Int!
671
684
}
672
685
673
686
"""
@@ -730,6 +743,36 @@ type ChangesetEventConnection {
730
743
pageInfo: PageInfo!
731
744
}
732
745
746
+
"""
747
+
Input type for creating or updating a batch spec library variable.
748
+
"""
749
+
inputBatchSpecLibraryVariableInput {
750
+
"""
751
+
The name of the library variable.
752
+
"""
753
+
name: String!
754
+
755
+
"""
756
+
The description of the library variable.
757
+
"""
758
+
description: String!
759
+
760
+
"""
761
+
The regex pattern to match against in the batch spec.
762
+
"""
763
+
pattern: String!
764
+
765
+
"""
766
+
The level of the library variable (ERROR, WARNING, or INFO). Will be used to display an alert when the input doesn't match the pattern.
767
+
"""
768
+
level: BatchSpecLibraryVariableLevel!
769
+
770
+
"""
771
+
If the variable is mandatory when filling out values.
772
+
"""
773
+
mandatory: Boolean!
774
+
}
775
+
733
776
"""
734
777
This enum declares all supported sorting orders for batch changes.
735
778
"""
@@ -853,7 +896,7 @@ enum ChangesetSpecOperation {
853
896
"""
854
897
Push code to code host on new branch, but do not start a merge request.
855
898
"""
856
-
PUSH_ONLY
899
+
PUSHED_ONLY
857
900
}
858
901
859
902
"""
@@ -1035,7 +1078,7 @@ type ExistingChangesetReference {
1035
1078
}
1036
1079
1037
1080
"""
1038
-
A quadruple that represents all possible states of the published value: true, false, 'draft', or null. Note: this will also include `"pushed-only"` if the 'push-only-changesets' frontend feature flag is set to 'true'.
1081
+
A quadruple that represents all possible states of the published value: true, false, 'draft', 'pushed-only', or null.
1039
1082
"""
1040
1083
scalarPublishedValue
1041
1084
@@ -1437,6 +1480,10 @@ extend type Mutation {
1437
1480
Labels associated with this batch spec, such as "featured". Used for filtering and categorization.
1438
1481
"""
1439
1482
labels: [String!]
1483
+
"""
1484
+
Library variables to associate with this batch spec template.
0 commit comments