feat: add PackageReleaseNotes to project file and update IBitipClient interface methods

This commit is contained in:
Tudor Stanciu 2025-10-08 02:06:37 +03:00
parent 5deb65a6e1
commit c7f26a78a2
2 changed files with 9 additions and 0 deletions

View File

@ -8,6 +8,7 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://lab.code-rove.com/gitea/tudor.stanciu/bitip/src/branch/main/src/clients/dotnet</RepositoryUrl>
<PackageTags>Bitip Toodle</PackageTags>
<PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/ReleaseNotes.txt"))</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>

View File

@ -1,8 +1,16 @@
// Copyright (c) 2025 Tudor Stanciu
using Bitip.Client.Models;
using System.Threading;
using System.Threading.Tasks;
namespace Bitip.Client.Services
{
public interface IBitipClient
{
Task<HealthInfo> GetHealth(CancellationToken cancellationToken = default);
Task<VersionInfo> GetVersion(CancellationToken cancellationToken = default);
Task<IpLocation> GetIpLocation(string ip, CancellationToken cancellationToken = default);
Task<DetailedIpLocation> GetDetailedIpLocation(string ip, CancellationToken cancellationToken = default);
}
}