Implements the Open Libary metadata plugin.

This commit is contained in:
BinaryAlley committed 2026-08-12 10:19:29 -07:00
1 parent a8d2a1514e
commit a34f5a731e
19 files changed
+1912

No files matched your search

@@ -0,0 +1,27 @@
namespace Lumina.Plugins.OpenLibrary.Core.Settings;
/// <summary>
/// Keys of the settings of the Open Library metadata plugin, shared by the settings schema and the settings loader.
/// </summary>
internal static class OpenLibrarySettingsKeys
{
/// <summary>
/// The key of the setting defining the contact email sent to the Open Library API.
/// </summary>
internal const string CONTACT_EMAIL = "ContactEmail";
/// <summary>
/// The key of the setting defining the maximum number of results returned by a single search.
/// </summary>
internal const string SEARCH_RESULT_LIMIT = "SearchResultLimit";
/// <summary>
/// The key of the setting defining the maximum number of editions fetched for a single work.
/// </summary>
internal const string WORK_EDITION_LIMIT = "WorkEditionLimit";
/// <summary>
/// The key of the setting defining the minimum interval between consecutive requests to the Open Library API, in seconds.
/// </summary>
internal const string MINIMUM_REQUEST_INTERVAL_SECONDS = "MinimumRequestIntervalSeconds";
}