-
Notifications
You must be signed in to change notification settings - Fork 1
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
598389c
commit e4cd204
Showing
8 changed files
with
215 additions
and
5 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
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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using Nerosoft.Starfish.Transit; | ||
using Refit; | ||
|
||
namespace Nerosoft.Starfish.Webapp.Rest; | ||
|
||
public interface IDashboardApi | ||
{ | ||
[Get("/api/dashboard/connections/count")] | ||
Task<IApiResponse<int>> GetConnectionCountAsync(CancellationToken cancellationToken = default); | ||
|
||
[Get("/api/dashboard/connections")] | ||
Task<IApiResponse<List<ConnectionInfoDto>>> GetConnectionsListAsync(CancellationToken cancellationToken = default); | ||
|
||
[Get("/api/dashboard/configurations/count")] | ||
Task<IApiResponse<int>> GetConfigurationCountAsync(CancellationToken cancellationToken = default); | ||
|
||
[Get("/api/dashboard/configurations/items/count")] | ||
Task<IApiResponse<int>> GetConfigurationItemCountAsync(CancellationToken cancellationToken = default); | ||
|
||
[Get("/api/dashboard/teams/count")] | ||
Task<IApiResponse<int>> GetTeamCountAsync(CancellationToken cancellationToken = default); | ||
} |
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