mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 14:13:12 +00:00
Some checks are pending
Validate and deploy / Validate deployable source bundle (push) Waiting to run
Validate and deploy / Deploy shoc-backend-dev through Terraform (push) Blocked by required conditions
Validate and deploy / Deploy shoc-backend-staging to Elastic Beanstalk (push) Blocked by required conditions
* fix(work-orders): filter unscheduled search server-side * fix(work-orders): preserve unscheduled status scope
39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
using Data.SeaHavenIndustries.Enums;
|
|
using SeaHaven.DataServices.Interfaces;
|
|
|
|
namespace SeaHaven.DataServices.Interfaces
|
|
{
|
|
public record WorkOrderAdvancedSearchQuery(
|
|
string? Search,
|
|
DateOnly DateFrom,
|
|
DateOnly DateTo,
|
|
bool UnscheduledOnly,
|
|
IReadOnlyList<string>? Sites,
|
|
IReadOnlyList<WorkOrderType>? Types,
|
|
bool Overdue,
|
|
IReadOnlyList<string>? Dispatchers,
|
|
IReadOnlyList<LifecycleStatus>? Statuses,
|
|
IReadOnlyList<string>? PmTypes,
|
|
IReadOnlyList<int>? VendorIds,
|
|
IReadOnlyList<DocStatus>? DocStatuses,
|
|
IReadOnlyList<int>? Severities,
|
|
bool Rescheduled,
|
|
bool CarriedOver,
|
|
bool AddOn,
|
|
bool AvetaOnly,
|
|
IReadOnlyList<string>? FlagColors,
|
|
bool InternalOnly,
|
|
bool HasUplift,
|
|
IReadOnlyList<string>? UpliftStatuses,
|
|
bool MyWorkOrders,
|
|
string? CurrentUserId,
|
|
int Page,
|
|
int PageSize,
|
|
string SortBy,
|
|
string SortDir,
|
|
int? AccountId = null);
|
|
|
|
public record WorkOrderAdvancedSearchResult(
|
|
IReadOnlyList<WorkOrderBoardRawRow> Rows,
|
|
int TotalCount);
|
|
}
|