Enhance school simulation management by introducing a new SchoolWeekDays option, allowing configuration of the number of working days in a week. Update the API to include school week days in responses and enhance documentation to reflect these changes. Revise UI components to support the new management features, ensuring a seamless user experience when hiring and assigning staff. Update localization strings for improved clarity and consistency across the application.
This commit is contained in:
@@ -27,6 +27,7 @@ internal static class SchoolEndpoints
|
||||
state.MaxSchools,
|
||||
options.DefaultStartDate,
|
||||
options.GameMinutesPerRealSecond,
|
||||
options.SchoolWeekDays,
|
||||
[.. state.Schools.Select(SchoolResponse.From)]);
|
||||
})
|
||||
.WithName("GetSchools");
|
||||
@@ -474,6 +475,7 @@ internal sealed record SchoolsResponse(
|
||||
int MaxSchools,
|
||||
DateTime DefaultStartDate,
|
||||
double GameMinutesPerRealSecond,
|
||||
int SchoolWeekDays,
|
||||
IReadOnlyList<SchoolResponse> Schools);
|
||||
|
||||
internal sealed record RandomNameResponse(string Name);
|
||||
|
||||
Reference in New Issue
Block a user