-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d335c71
commit f2d0781
Showing
7 changed files
with
6 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
using System; | ||
using Notion.Client.Models.Blocks; | ||
|
||
namespace Notion.Client | ||
{ | ||
|
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,14 +1,14 @@ | ||
using JsonSubTypes; | ||
using Newtonsoft.Json; | ||
|
||
namespace Notion.Client.Models.Blocks | ||
namespace Notion.Client | ||
{ | ||
[JsonConverter(typeof(JsonSubtypes), "type")] | ||
[JsonSubtypes.KnownSubType(typeof(DatabaseParent), ParentType.DatabaseId)] | ||
[JsonSubtypes.KnownSubType(typeof(PageParent), ParentType.PageId)] | ||
[JsonSubtypes.KnownSubType(typeof(WorkspaceParent), ParentType.Workspace)] | ||
[JsonSubtypes.KnownSubType(typeof(BlockParent), ParentType.BlockId)] | ||
public interface IBlockParent | ||
public interface IBlockParent : IParent | ||
{ | ||
} | ||
} |
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
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