8000 Fixing typo issues · nlprog/notion-sdk-net@2b2189f · GitHub
[go: up one dir, main page]

Skip to content

Commit 2b2189f

Browse files
committed
Fixing typo issues
1 parent 6d97ad5 commit 2b2189f

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

Src/Notion.Client/Api/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/HeadingThreeeUpdateBlock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Notion.Client
66
{
7-
public class HeadingThreeeUpdateBlock : UpdateBlock
7+
public class HeadingThreeUpdateBlock : UpdateBlock
88
{
99
[JsonProperty("heading_3")]
1010
[SuppressMessage("ReSharper", "InconsistentNaming")]

Src/Notion.Client/Api/Databases/RequestParams/DatabasesCreateParameters/PropertySchema/RelationPropertySchema.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ public class RelationInfo
1414
public Guid DatabaseId { get; set; }
1515

1616
[JsonProperty("synced_property_id")]
17-
public string SynchedPropertyId { get; set; }
17+
public string SyncedPropertyId { get; set; }
1818

1919
[JsonProperty("synced_property_name")]
20-
public string SynchedPropertyName { get; set; }
20+
public string SyncedPropertyName { get; set; }
2121
}
2222
}
2323
}

Src/Notion.Client/Api/Databases/RequestParams/DatabasesUpdateParameters/PropertySchema/RelationUpdatePropertySchema.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ public class RelationInfo
1414
public Guid DatabaseId { get; set; }
1515

1616
[JsonProperty("synced_property_id")]
17-
public string SynchedPropertyId { get; set; }
17+
public string SyncedPropertyId { get; set; }
1818

1919
[JsonProperty("synced_property_name")]
20-
public string SynchedPropertyName { get; set; }
20+
public string SyncedPropertyName { get; set; }
2121
}
2222
}
2323
}

Src/Notion.Client/Models/Blocks/HeadingThreeeBlock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace Notion.Client
77
{
8-
public class HeadingThreeeBlock : Block, IColumnChildrenBlock, INonColumnBlock
8+
public class HeadingThreeBlock : Block, IColumnChildrenBlock, INonColumnBlock
99
{
1010
[JsonProperty("heading_3")]
1111
[SuppressMessage("ReSharper", "InconsistentNaming")]

Src/Notion.Client/Models/Blocks/IBlock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Notion.Client
2121
[JsonSubtypes.KnownSubTypeAttribute(typeof(FileBlock), BlockType.File)]
2222
[JsonSubtypes.KnownSubTypeAttribute(typeof(HeadingOneBlock), BlockType.Heading_1)]
2323
[JsonSubtypes.KnownSubTypeAttribute(typeof(HeadingTwoBlock), BlockType.Heading_2)]
24-
[JsonSubtypes.KnownSubTypeAttribute(typeof(HeadingThreeeBlock), BlockType.Heading_3)]
24+
[JsonSubtypes.KnownSubTypeAttribute(typeof(HeadingThreeBlock), BlockType.Heading_3)]
2525
[JsonSubtypes.KnownSubTypeAttribute(typeof(ImageBlock), BlockType.Image)]
2626
[JsonSubtypes.KnownSubTypeAttribute(typeof(LinkPreviewBlock), BlockType.LinkPreview)]
2727
[JsonSubtypes.KnownSubTypeAttribute(typeof(LinkToPageBlock), BlockType.LinkToPage)]

Src/Notion.Client/Models/Blocks/IColumnChildrenBlock.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
namespace Notion.Client
22
{
3-
public interface ITemplateChildrendBlock : IBlock
3+
public interface ITemplateChildrenBlock : IBlock
44
{
55
}
66

77
public interface ISyncedBlockChildren : IBlock
88
{
99
}
1010

11-
public interface IColumnChildrenBlock : ITemplateChildrendBlock, ISyncedBlockChildren
11+
public interface IColumnChildrenBlock : ITemplateChildrenBlock, ISyncedBlockChildren
1212
{
1313
}
1414

Src/Notion.Client/Models/Blocks/TemplateBlock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class Data
1616
public IEnumerable<RichTextBase> RichText { get; set; }
1717

1818
[JsonProperty("children")]
19-
public IEnumerable<ITemplateChildrendBlock> Children { get; set; }
19+
public IEnumerable<ITemplateChildrenBlock> Children { get; set; }
2020
}
2121
}
2222
}

Test/Notion.IntegrationTests/IBlocksClientTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ private static IEnumerable<object[]> BlockData()
370370
{
371371
new RichTextText { Text = new Text { Content = "Test Template" } }
372372
},
373-
Children = new List<ITemplateChildrendBlock>
373+
Children = new List<ITemplateChildrenBlock>
374374
{
375375
new EmbedBlock
376376
{

0 commit comments

Comments
 (0)
0