File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ public interface INotionClient
77 IPagesClient Pages { get ; }
88 ISearchClient Search { get ; }
99 IBlocksClient Blocks { get ; }
10+ ICommentsClient Comments { get ; }
1011 IRestClient RestClient { get ; }
1112 }
1213
@@ -18,13 +19,15 @@ public NotionClient(
1819 DatabasesClient databases ,
1920 PagesClient pages ,
2021 SearchClient search ,
22+ CommentsClient comments ,
2123 BlocksClient blocks )
2224 {
2325 RestClient = restClient ;
2426 Users = users ;
2527 Databases = databases ;
2628 Pages = pages ;
2729 Search = search ;
30+ Comments = comments ;
2831 Blocks = blocks ;
2932 }
3033
@@ -33,6 +36,7 @@ public NotionClient(
3336 public IPagesClient Pages { get ; }
3437 public ISearchClient Search { get ; }
3538 public IBlocksClient Blocks { get ; }
39+ public ICommentsClient Comments { get ; }
3640 public IRestClient RestClient { get ; }
3741 }
3842}
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ public static NotionClient Create(ClientOptions options)
1313 , pages : new PagesClient ( restClient )
1414 , search : new SearchClient ( restClient )
1515 , blocks : new BlocksClient ( restClient )
16+ , comments : new CommentsClient ( restClient )
1617 ) ;
1718 }
1819 }
You can’t perform that action at this time.
0 commit comments