-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: russkyc <[email protected]>
- Loading branch information
Showing
33 changed files
with
408 additions
and
114 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
73 changes: 73 additions & 0 deletions
73
Russkyc.GroomWise/Models/Interfaces/Service/IConfigProvider.cs
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,73 @@ | ||
// Copyright (C) 2023 Russell Camo (Russkyc).- All Rights Reserved | ||
// | ||
// Unauthorized copying or redistribution of all files, in source and binary forms via any medium | ||
// without written, signed consent from the author is strictly prohibited. | ||
|
||
namespace GroomWise.Models.Interfaces.Service; | ||
|
||
/// <summary> | ||
/// Configuration Provider. | ||
/// </summary> | ||
public interface IConfigProvider | ||
{ | ||
// App | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether the application should be in dark mode. | ||
/// </summary> | ||
bool DarkMode { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the color theme of the application. | ||
/// </summary> | ||
string ColorTheme { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the version of the application. | ||
/// </summary> | ||
string Version { get; set; } | ||
|
||
// Database | ||
|
||
/// <summary> | ||
/// Gets or sets the path to the database. | ||
/// </summary> | ||
string Path { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the name of the database. | ||
/// </summary> | ||
string Database { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the username to use when connecting to the database. | ||
/// </summary> | ||
string Username { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the password to use when connecting to the database. | ||
/// </summary> | ||
string Password { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the path to the database migrations. | ||
/// </summary> | ||
string MigrationsPath { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether database migrations should be run on startup. | ||
/// </summary> | ||
bool RunMigrations { get; set; } | ||
|
||
// Debug | ||
|
||
/// <summary> | ||
/// Gets or sets the path to the log file. | ||
/// </summary> | ||
string LogPath { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether logging is enabled. | ||
/// </summary> | ||
bool Logging { get; set; } | ||
} |
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
11 changes: 0 additions & 11 deletions
11
Russkyc.GroomWise/Models/Interfaces/Service/IContextManager.cs
This file was deleted.
Oops, something went wrong.
9 changes: 5 additions & 4 deletions
9
Russkyc.GroomWise/Models/Interfaces/Service/IDatabaseServiceAsync.cs
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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
// Copyright (C) 2023 Russell Camo (Russkyc).- All Rights Reserved | ||
// | ||
// | ||
// Unauthorized copying or redistribution of all files, in source and binary forms via any medium | ||
// without written, signed consent from the author is strictly prohibited. | ||
|
||
namespace GroomWise.Models.Interfaces.Service; | ||
|
||
public interface IDatabaseServiceAsync : IDbAccessAsync | ||
{ | ||
} | ||
/// <summary> | ||
/// Handles calls to database | ||
/// </summary> | ||
public interface IDatabaseServiceAsync : IDbAccessAsync { } |
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
Oops, something went wrong.