Offerings: lege description/priceNote/ctaLabel toegestaan; ASF-pakketten-seed gevuld; ASF-referentietest gerepareerd
De hosttest op GetReferencedAssemblies faalde in CI (module wordt runtime gevonden, geen compile-referentie); Offerings-aanwezigheid via capabilities. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,11 +4,11 @@ namespace SlpModularCms.Modules.Offerings.Models;
|
||||
|
||||
public record CreateOfferingRequest(
|
||||
[Required, MaxLength(100)] string Title,
|
||||
[Required, MaxLength(500)] string Description,
|
||||
[Required(AllowEmptyStrings = true), MaxLength(500)] string Description,
|
||||
[Required, MaxLength(50)] string Price,
|
||||
[Required, MaxLength(100)] string PriceNote,
|
||||
[Required(AllowEmptyStrings = true), MaxLength(100)] string PriceNote,
|
||||
[Required, FeaturesValidation] List<string> Features,
|
||||
[Required, MaxLength(50)] string CtaLabel,
|
||||
[Required(AllowEmptyStrings = true), MaxLength(50)] string CtaLabel,
|
||||
bool Featured = false,
|
||||
[MaxLength(130)] string? Slug = null,
|
||||
Guid? CategoryId = null,
|
||||
|
||||
@@ -4,11 +4,11 @@ namespace SlpModularCms.Modules.Offerings.Models;
|
||||
|
||||
public record UpdateOfferingRequest(
|
||||
[Required, MaxLength(100)] string Title,
|
||||
[Required, MaxLength(500)] string Description,
|
||||
[Required(AllowEmptyStrings = true), MaxLength(500)] string Description,
|
||||
[Required, MaxLength(50)] string Price,
|
||||
[Required, MaxLength(100)] string PriceNote,
|
||||
[Required(AllowEmptyStrings = true), MaxLength(100)] string PriceNote,
|
||||
[Required, FeaturesValidation] List<string> Features,
|
||||
[Required, MaxLength(50)] string CtaLabel,
|
||||
[Required(AllowEmptyStrings = true), MaxLength(50)] string CtaLabel,
|
||||
bool Featured = false,
|
||||
[MaxLength(130)] string? Slug = null,
|
||||
Guid? CategoryId = null,
|
||||
|
||||
Reference in New Issue
Block a user