mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 22:38:30 +01:00
display news on dashboard home page
This commit is contained in:
@@ -136,6 +136,7 @@
|
||||
<Compile Include="Net\IHttpResultFactory.cs" />
|
||||
<Compile Include="Net\IHttpServer.cs" />
|
||||
<Compile Include="Net\IRestfulService.cs" />
|
||||
<Compile Include="News\INewsService.cs" />
|
||||
<Compile Include="Notifications\INotificationsRepository.cs" />
|
||||
<Compile Include="Notifications\NotificationUpdateEventArgs.cs" />
|
||||
<Compile Include="Persistence\MediaStreamQuery.cs" />
|
||||
|
||||
19
MediaBrowser.Controller/News/INewsService.cs
Normal file
19
MediaBrowser.Controller/News/INewsService.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using MediaBrowser.Model.News;
|
||||
using MediaBrowser.Model.Querying;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MediaBrowser.Controller.News
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface INewsFeed
|
||||
/// </summary>
|
||||
public interface INewsService
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the product news.
|
||||
/// </summary>
|
||||
/// <param name="query">The query.</param>
|
||||
/// <returns>IEnumerable{NewsItem}.</returns>
|
||||
Task<QueryResult<NewsItem>> GetProductNews(NewsQuery query);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user