mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-08-17 01:31:42 +02:00
.github
.idea
app
.idea
Desktop
Resources
Server
Data
Database
Exceptions
Export
Import
Repositories
Sqlite
DatabaseExtensions.cs
DummyDatabaseFile.cs
IDatabaseFile.cs
Download
Endpoints
Service
Server.csproj
State.cs
Utils
.editorconfig
.gitignore
Directory.Build.props
DiscordHistoryTracker.sln
NuGet.Config
Version.cs
build.sh
build.wsl.sh
empty.dht
global.json
tools
web
.gitattributes
.gitignore
LICENSE.md
README.md
20 lines
465 B
C#
20 lines
465 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using DHT.Server.Database.Repositories;
|
|
|
|
namespace DHT.Server.Database;
|
|
|
|
public interface IDatabaseFile : IAsyncDisposable {
|
|
string Path { get; }
|
|
|
|
ISettingsRepository Settings { get; }
|
|
IUserRepository Users { get; }
|
|
IServerRepository Servers { get; }
|
|
IChannelRepository Channels { get; }
|
|
IMessageRepository Messages { get; }
|
|
IDownloadRepository Downloads { get; }
|
|
|
|
Task<string?> GetVersion();
|
|
Task Vacuum();
|
|
}
|