Skip to content

Commit e897122

Browse files
Merge pull request #447 from CNinnovation/87-refactor-reporting-service
87 refactor reporting service
2 parents 92eabe7 + c67ca98 commit e897122

3 files changed

Lines changed: 23 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
### APIs
1212

13-
|Banch|Game API|Bot|Live|User|
14-
|:--:|:--:|:--:|:--:|:--:|
15-
**main**|[![API](https://github.com/CNILearn/codebreaker/actions/workflows/codebreakerapi-AutoDeployTrigger-ee54dca3-868c-4c78-9b6c-72e2c6719e10.yml/badge.svg)](https://github.com/CNILearn/codebreaker/actions/workflows/codebreakerapi-AutoDeployTrigger-ee54dca3-868c-4c78-9b6c-72e2c6719e10.yml)|[![Bot](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-bot.yml/badge.svg)](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-bot.yml)|[![Live](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-live.yml/badge.svg)](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-live.yml)|[![User](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-user.yml/badge.svg)](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-user.yml)
13+
|Banch|Game API|Bot|Live|User|Report-WebApi|Report-QueueWorker|
14+
|:--:|:--:|:--:|:--:|:--:|:--:|:--:|
15+
**main**|[![API](https://github.com/CNILearn/codebreaker/actions/workflows/codebreakerapi-AutoDeployTrigger-ee54dca3-868c-4c78-9b6c-72e2c6719e10.yml/badge.svg)](https://github.com/CNILearn/codebreaker/actions/workflows/codebreakerapi-AutoDeployTrigger-ee54dca3-868c-4c78-9b6c-72e2c6719e10.yml)|[![Bot](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-bot.yml/badge.svg)](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-bot.yml)|[![Live](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-live.yml/badge.svg)](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-live.yml)|[![User](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-user.yml/badge.svg)](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-user.yml)|[![Report - WebApi](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-report-webapi.yml/badge.svg)](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-report-webapi.yml)|[![Report - QueueWorker](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-report-queueworker.yml/badge.svg)](https://github.com/CNILearn/codebreaker/actions/workflows/codebreaker-report-queueworker.yml)
1616

1717
### Blazor Clients
1818

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
namespace CodeBreaker.Shared.ReportService.Api;
2+
3+
public record class GameDto(
4+
Guid Id,
5+
DateTime Start,
6+
DateTime? End
7+
);
8+
9+
public record class GetGamesResponse(IAsyncEnumerable<GameDto> Games);
10+
11+
public record class GetGameResponse(GameDto game);
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net7.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
</Project>

0 commit comments

Comments
 (0)