Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Notion.Client
{
public class HeadingThreeeUpdateBlock : UpdateBlock
public class HeadingThreeUpdateBlock : UpdateBlock
{
[JsonProperty("heading_3")]
[SuppressMessage("ReSharper", "InconsistentNaming")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ public class RelationInfo
public Guid DatabaseId { get; set; }

[JsonProperty("synced_property_id")]
public string SynchedPropertyId { get; set; }
public string SyncedPropertyId { get; set; }

[JsonProperty("synced_property_name")]
public string SynchedPropertyName { get; set; }
public string SyncedPropertyName { get; set; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ public class RelationInfo
public Guid DatabaseId { get; set; }

[JsonProperty("synced_property_id")]
public string SynchedPropertyId { get; set; }
public string SyncedPropertyId { get; set; }

[JsonProperty("synced_property_name")]
public string SynchedPropertyName { get; set; }
public string SyncedPropertyName { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Src/Notion.Client/Models/Blocks/HeadingThreeeBlock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Notion.Client
{
public class HeadingThreeeBlock : Block, IColumnChildrenBlock, INonColumnBlock
public class HeadingThreeBlock : Block, IColumnChildrenBlock, INonColumnBlock
{
[JsonProperty("heading_3")]
[SuppressMessage("ReSharper", "InconsistentNaming")]
Expand Down
2 changes: 1 addition & 1 deletion Src/Notion.Client/Models/Blocks/IBlock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace Notion.Client
[JsonSubtypes.KnownSubTypeAttribute(typeof(FileBlock), BlockType.File)]
[JsonSubtypes.KnownSubTypeAttribute(typeof(HeadingOneBlock), BlockType.Heading_1)]
[JsonSubtypes.KnownSubTypeAttribute(typeof(HeadingTwoBlock), BlockType.Heading_2)]
[JsonSubtypes.KnownSubTypeAttribute(typeof(HeadingThreeeBlock), BlockType.Heading_3)]
[JsonSubtypes.KnownSubTypeAttribute(typeof(HeadingThreeBlock), BlockType.Heading_3)]
[JsonSubtypes.KnownSubTypeAttribute(typeof(ImageBlock), BlockType.Image)]
[JsonSubtypes.KnownSubTypeAttribute(typeof(LinkPreviewBlock), BlockType.LinkPreview)]
[JsonSubtypes.KnownSubTypeAttribute(typeof(LinkToPageBlock), BlockType.LinkToPage)]
Expand Down
4 changes: 2 additions & 2 deletions Src/Notion.Client/Models/Blocks/IColumnChildrenBlock.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
namespace Notion.Client
{
public interface ITemplateChildrendBlock : IBlock
public interface ITemplateChildrenBlock : IBlock
{
}

public interface ISyncedBlockChildren : IBlock
{
}

public interface IColumnChildrenBlock : ITemplateChildrendBlock, ISyncedBlockChildren
public interface IColumnChildrenBlock : ITemplateChildrenBlock, ISyncedBlockChildren
{
}

Expand Down
2 changes: 1 addition & 1 deletion Src/Notion.Client/Models/Blocks/TemplateBlock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class Data
public IEnumerable<RichTextBase> RichText { get; set; }

[JsonProperty("children")]
public IEnumerable<ITemplateChildrendBlock> Children { get; set; }
public IEnumerable<ITemplateChildrenBlock> Children { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Test/Notion.IntegrationTests/IBlocksClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ private static IEnumerable<object[]> BlockData()
{
new RichTextText { Text = new Text { Content = "Test Template" } }
},
Children = new List<ITemplateChildrendBlock>
Children = new List<ITemplateChildrenBlock>
{
new EmbedBlock
{
Expand Down