-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into release/0.1.0
- Loading branch information
Showing
22 changed files
with
835 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/PLACE_ACCESSORHOLDER_ATTRIBUTE_ON_SAME_LINE_EX/@EntryValue">NEVER</s:String> | ||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_AFTER_TYPECAST_PARENTHESES/@EntryValue">False</s:Boolean> | ||
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpAttributeForSingleLineMethodUpgrade/@EntryIndexedValue">True</s:Boolean> | ||
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpKeepExistingMigration/@EntryIndexedValue">True</s:Boolean> | ||
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpPlaceEmbeddedOnSameLineMigration/@EntryIndexedValue">True</s:Boolean> | ||
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpRenamePlacementToArrangementMigration/@EntryIndexedValue">True</s:Boolean> | ||
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EAddAccessorOwnerDeclarationBracesMigration/@EntryIndexedValue">True</s:Boolean> | ||
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002ECSharpPlaceAttributeOnSameLineMigration/@EntryIndexedValue">True</s:Boolean> | ||
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateBlankLinesAroundFieldToBlankLinesAroundProperty/@EntryIndexedValue">True</s:Boolean> | ||
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateThisQualifierSettings/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
namespace Octokit.GraphQL.Model | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq.Expressions; | ||
using Octokit.GraphQL.Core; | ||
using Octokit.GraphQL.Core.Builders; | ||
|
||
/// <summary> | ||
/// A single check annotation. | ||
/// </summary> | ||
public class CheckAnnotation : QueryableValue<CheckAnnotation> | ||
{ | ||
public CheckAnnotation(Expression expression) : base(expression) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// The path to the file that this annotation was made on. | ||
/// </summary> | ||
public string BlobUrl { get; } | ||
|
||
/// <summary> | ||
/// Identifies the primary key from the database. | ||
/// </summary> | ||
public int? DatabaseId { get; } | ||
|
||
/// <summary> | ||
/// The ending line for this annotation. | ||
/// </summary> | ||
public int EndLine { get; } | ||
|
||
/// <summary> | ||
/// The filename that this annotation was made on. | ||
/// </summary> | ||
public string Filename { get; } | ||
|
||
/// <summary> | ||
/// The annotation's message. | ||
/// </summary> | ||
public string Message { get; } | ||
|
||
/// <summary> | ||
/// Additional information about the annotation. | ||
/// </summary> | ||
public string RawDetails { get; } | ||
|
||
/// <summary> | ||
/// The starting line for this annotation. | ||
/// </summary> | ||
public int StartLine { get; } | ||
|
||
/// <summary> | ||
/// The annotation's title | ||
/// </summary> | ||
public string Title { get; } | ||
|
||
/// <summary> | ||
/// The annotation's severity level. | ||
/// </summary> | ||
public CheckAnnotationLevel? WarningLevel { get; } | ||
|
||
internal static CheckAnnotation Create(Expression expression) | ||
{ | ||
return new CheckAnnotation(expression); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
namespace Octokit.GraphQL.Model | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq.Expressions; | ||
using Octokit.GraphQL.Core; | ||
using Octokit.GraphQL.Core.Builders; | ||
|
||
/// <summary> | ||
/// The connection type for CheckAnnotation. | ||
/// </summary> | ||
public class CheckAnnotationConnection : QueryableValue<CheckAnnotationConnection>, IPagingConnection<CheckAnnotation> | ||
{ | ||
public CheckAnnotationConnection(Expression expression) : base(expression) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// A list of edges. | ||
/// </summary> | ||
public IQueryableList<CheckAnnotationEdge> Edges => this.CreateProperty(x => x.Edges); | ||
|
||
/// <summary> | ||
/// A list of nodes. | ||
/// </summary> | ||
public IQueryableList<CheckAnnotation> Nodes => this.CreateProperty(x => x.Nodes); | ||
|
||
/// <summary> | ||
/// Information to aid in pagination. | ||
/// </summary> | ||
public PageInfo PageInfo => this.CreateProperty(x => x.PageInfo, Octokit.GraphQL.Model.PageInfo.Create); | ||
|
||
/// <summary> | ||
/// Identifies the total count of items in the connection. | ||
/// </summary> | ||
public int TotalCount { get; } | ||
|
||
IPageInfo IPagingConnection.PageInfo => PageInfo; | ||
|
||
internal static CheckAnnotationConnection Create(Expression expression) | ||
{ | ||
return new CheckAnnotationConnection(expression); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
namespace Octokit.GraphQL.Model | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq.Expressions; | ||
using Octokit.GraphQL.Core; | ||
using Octokit.GraphQL.Core.Builders; | ||
|
||
/// <summary> | ||
/// An edge in a connection. | ||
/// </summary> | ||
public class CheckAnnotationEdge : QueryableValue<CheckAnnotationEdge> | ||
{ | ||
public CheckAnnotationEdge(Expression expression) : base(expression) | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// A cursor for use in pagination. | ||
/// </summary> | ||
public string Cursor { get; } | ||
|
||
/// <summary> | ||
/// The item at the end of the edge. | ||
/// </summary> | ||
public CheckAnnotation Node => this.CreateProperty(x => x.Node, Octokit.GraphQL.Model.CheckAnnotation.Create); | ||
|
||
internal static CheckAnnotationEdge Create(Expression expression) | ||
{ | ||
return new CheckAnnotationEdge(expression); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
using System.Runtime.Serialization; | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
namespace Octokit.GraphQL.Model | ||
{ | ||
/// <summary> | ||
/// Represents an annotation's information level. | ||
/// </summary> | ||
[JsonConverter(typeof(StringEnumConverter))] | ||
public enum CheckAnnotationLevel | ||
{ | ||
/// <summary> | ||
/// An annotation indicating an inescapable error. | ||
/// </summary> | ||
[EnumMember(Value = "FAILURE")] | ||
Failure, | ||
|
||
/// <summary> | ||
/// An annotation indicating some information. | ||
/// </summary> | ||
[EnumMember(Value = "NOTICE")] | ||
Notice, | ||
|
||
/// <summary> | ||
/// An annotation indicating an ignorable error. | ||
/// </summary> | ||
[EnumMember(Value = "WARNING")] | ||
Warning, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
using System; | ||
using System.Runtime.Serialization; | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
namespace Octokit.GraphQL.Model | ||
{ | ||
/// <summary> | ||
/// The possible states for a check suite or run conclusion. | ||
/// </summary> | ||
[JsonConverter(typeof(StringEnumConverter))] | ||
public enum CheckConclusionState | ||
{ | ||
/// <summary> | ||
/// The check suite or run requires action. | ||
/// </summary> | ||
[EnumMember(Value = "ACTION_REQUIRED")] | ||
ActionRequired, | ||
|
||
/// <summary> | ||
/// The check suite or run has timed out. | ||
/// </summary> | ||
[EnumMember(Value = "TIMED_OUT")] | ||
TimedOut, | ||
|
||
/// <summary> | ||
/// The check suite or run has been cancelled. | ||
/// </summary> | ||
[EnumMember(Value = "CANCELLED")] | ||
Cancelled, | ||
|
||
/// <summary> | ||
/// The check suite or run has failed. | ||
/// </summary> | ||
[EnumMember(Value = "FAILURE")] | ||
Failure, | ||
|
||
/// <summary> | ||
/// The check suite or run has succeeded. | ||
/// </summary> | ||
[EnumMember(Value = "SUCCESS")] | ||
Success, | ||
|
||
/// <summary> | ||
/// The check suite or run was neutral. | ||
/// </summary> | ||
[EnumMember(Value = "NEUTRAL")] | ||
Neutral, | ||
} | ||
} |
Oops, something went wrong.