mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 18:21:10 +00:00
Adds the scheduler page to the web application
This commit is contained in:
1 parent
29c7d536e0
commit
f882f9192f
67 files changed
+4133
-8
No files matched your search
@@ -0,0 +1,22 @@
|
||||
namespace Lumina.Presentation.Web.Common.Routes;
|
||||
|
||||
/// <summary>
|
||||
/// Class for the collection of routes defined in the Web application.
|
||||
/// </summary>
|
||||
public static partial class WebRoutes
|
||||
{
|
||||
/// <summary>
|
||||
/// Routes for the scheduled jobs pages.
|
||||
/// </summary>
|
||||
public static class Scheduler
|
||||
{
|
||||
public const string INDEX = "{culture}/admin/scheduled-jobs";
|
||||
public const string GET_SCHEDULED_JOBS = "{culture}/admin/api-scheduled-jobs";
|
||||
public const string ADD_SCHEDULED_JOB = "{culture}/admin/api-scheduled-jobs/add";
|
||||
public const string GET_SCHEDULED_JOB_HISTORY = "{culture}/admin/api-scheduled-jobs/history";
|
||||
public const string REMOVE_SCHEDULED_JOB = "{culture}/admin/api-scheduled-jobs/{scheduledJobId}";
|
||||
public const string START_SCHEDULED_JOB = "{culture}/admin/api-scheduled-jobs/{scheduledJobId}/start";
|
||||
public const string STOP_SCHEDULED_JOB = "{culture}/admin/api-scheduled-jobs/{scheduledJobId}/stop";
|
||||
public const string FIRE_SCHEDULED_JOB = "{culture}/admin/api-scheduled-jobs/{scheduledJobId}/fire";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user