Enhance template and scheduling functionalities: add PlanningRules to template endpoints and commands, implement repeat limits and audience filtering in scheduling logic, and update related data structures. Refactor frontend components to support new rules and improve user experience in channel management.
This commit is contained in:
@@ -106,7 +106,8 @@ public static class TemplateEndpoints
|
||||
templateId,
|
||||
body.Name,
|
||||
body.FallbackGroupId,
|
||||
body.DefaultJunctionId
|
||||
body.DefaultJunctionId,
|
||||
body.Rules
|
||||
),
|
||||
cancellationToken
|
||||
);
|
||||
@@ -197,7 +198,8 @@ public static class TemplateEndpoints
|
||||
public sealed record UpdateTemplateBody(
|
||||
string Name,
|
||||
Guid? FallbackGroupId,
|
||||
Guid? DefaultJunctionId
|
||||
Guid? DefaultJunctionId,
|
||||
PlanningRules? Rules
|
||||
);
|
||||
|
||||
public sealed record CreateLayerBody(string Name, int Priority);
|
||||
|
||||
Reference in New Issue
Block a user