Command.cs 942 B

123456789101112131415161718192021222324252627
  1. using MediatR;
  2. namespace Application.Features.Config.Update
  3. {
  4. public sealed record Command(
  5. Request.BasicConfigDto? Basic = null,
  6. Request.ImagesConfigDto? Images = null,
  7. Request.MetaConfigDto? Meta = null,
  8. Request.CompanyConfigDto? Company = null,
  9. Request.AccountConfigDto? Account = null,
  10. Request.EmailTemplateConfigDto? EmailTemplate = null,
  11. Request.ExternalApiConfigDto? External = null,
  12. Request.PaymentConfigDto? Payment = null,
  13. Command.ImagesDeleteFlags? ImagesDelete = null
  14. ) : IRequest {
  15. public sealed record ImagesDeleteFlags(
  16. bool Favicon = false,
  17. bool LogoSquare = false,
  18. bool LogoHorizontal = false,
  19. bool OgDefault = false,
  20. bool TwitterImage = false,
  21. bool AppleTouchIcon = false,
  22. bool AppIcon192 = false,
  23. bool AppIcon512 = false
  24. );
  25. }
  26. }