diff --git a/backend/src/MethodConf.Cms/Controllers/ConferenceScheduleController.cs b/backend/src/MethodConf.Cms/Controllers/ConferenceScheduleController.cs index d3421c8..68af0de 100644 --- a/backend/src/MethodConf.Cms/Controllers/ConferenceScheduleController.cs +++ b/backend/src/MethodConf.Cms/Controllers/ConferenceScheduleController.cs @@ -4,8 +4,6 @@ using MethodConf.Cms.Dtos; using MethodConf.Cms.Services.Interfaces; using Microsoft.AspNetCore.Mvc; -using Umbraco.Cms.Api.Delivery.Controllers.Content; -using Umbraco.Cms.Api.Management.Controllers.PartialView.Snippet; namespace MethodConf.Cms.Controllers; diff --git a/backend/src/MethodConf.Cms/Converters/MultiDimensionalArraySchemaFilter.cs b/backend/src/MethodConf.Cms/Converters/MultiDimensionalArraySchemaFilter.cs index 3441247..fbf09ff 100644 --- a/backend/src/MethodConf.Cms/Converters/MultiDimensionalArraySchemaFilter.cs +++ b/backend/src/MethodConf.Cms/Converters/MultiDimensionalArraySchemaFilter.cs @@ -1,38 +1,42 @@ +using Microsoft.AspNetCore.OpenApi; using Microsoft.OpenApi; -using Swashbuckle.AspNetCore.SwaggerGen; namespace MethodConf.Cms.Converters; -public class MultiDimensionalArraySchemaFilter : ISchemaFilter +public class MultiDimensionalArraySchemaFilter : IOpenApiSchemaTransformer { - public void Apply(IOpenApiSchema schema, SchemaFilterContext context) + public Task TransformAsync( + OpenApiSchema schema, + OpenApiSchemaTransformerContext context, + CancellationToken cancellationToken) { - if (schema is not OpenApiSchema openApiSchema) - { - return; - } - - var type = context.Type; + var type = context.JsonTypeInfo.Type; if (!type.IsArray || type.GetArrayRank() <= 1) { - return; + return Task.CompletedTask; } - var elementType = type.GetElementType(); - - var elementSchema = context.SchemaGenerator.GenerateSchema(elementType, context.SchemaRepository); + var elementType = type.GetElementType()!; + var elementSchema = CreateElementSchema(elementType); for (var i = type.GetArrayRank(); i > 0; i--) { elementSchema = new OpenApiSchema { Type = JsonSchemaType.Array, - Items = elementSchema + Items = elementSchema, }; } - openApiSchema.Type = JsonSchemaType.Array; - openApiSchema.Items = elementSchema.Items; + schema.Type = JsonSchemaType.Array; + schema.Items = elementSchema.Items; + + return Task.CompletedTask; } + + private static OpenApiSchema CreateElementSchema(Type elementType) => + elementType == typeof(string) + ? new OpenApiSchema { Type = JsonSchemaType.String } + : new OpenApiSchema(); } diff --git a/backend/src/MethodConf.Cms/Mapping/DefaultProfile.cs b/backend/src/MethodConf.Cms/Mapping/DefaultProfile.cs index d833bb9..b05dc30 100644 --- a/backend/src/MethodConf.Cms/Mapping/DefaultProfile.cs +++ b/backend/src/MethodConf.Cms/Mapping/DefaultProfile.cs @@ -11,7 +11,7 @@ public DefaultProfile() { CreateMap(); CreateMap() - .ForMember(dest => dest.Key, opts => opts.MapFrom(src => src.UrlSegment)); + .ForMember(dest => dest.Key, opts => opts.MapFrom()); CreateMap() .ForMember(dest => dest.Sessions, opts => opts.MapFrom((src, _) => src.Children() ?? [])); diff --git a/backend/src/MethodConf.Cms/Mapping/SessionUrlSegmentResolver.cs b/backend/src/MethodConf.Cms/Mapping/SessionUrlSegmentResolver.cs new file mode 100644 index 0000000..e4566c1 --- /dev/null +++ b/backend/src/MethodConf.Cms/Mapping/SessionUrlSegmentResolver.cs @@ -0,0 +1,21 @@ +using AutoMapper; +using MethodConf.Cms.Domain; +using Umbraco.Cms.Core.Services; +using Umbraco.Cms.Web.Common.PublishedModels; + +namespace MethodConf.Cms.Mapping; + +public class SessionUrlSegmentResolver : IValueResolver +{ + private readonly IDocumentUrlService _documentUrlService; + + public SessionUrlSegmentResolver(IDocumentUrlService documentUrlService) + { + _documentUrlService = documentUrlService; + } + + public string Resolve(Session source, SessionItem destination, string destMember, ResolutionContext context) + { + return _documentUrlService.GetUrlSegment(source.Key, "", false) ?? source.Key.ToString(); + } +} diff --git a/backend/src/MethodConf.Cms/MethodConf.Cms.csproj b/backend/src/MethodConf.Cms/MethodConf.Cms.csproj index b944b54..f632859 100644 --- a/backend/src/MethodConf.Cms/MethodConf.Cms.csproj +++ b/backend/src/MethodConf.Cms/MethodConf.Cms.csproj @@ -18,9 +18,8 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + diff --git a/backend/src/MethodConf.Cms/Program.cs b/backend/src/MethodConf.Cms/Program.cs index d0fa89d..29b94bc 100644 --- a/backend/src/MethodConf.Cms/Program.cs +++ b/backend/src/MethodConf.Cms/Program.cs @@ -1,6 +1,7 @@ using MethodConf.Cms.Converters; using MethodConf.Cms.Infrastructure; using MethodConf.Cms.Services; +using Microsoft.AspNetCore.OpenApi; using Serilog; var builder = WebApplication.CreateBuilder(args); @@ -18,9 +19,9 @@ .AddComposers() .Build(); -builder.Services.AddSwaggerGen(opts => +builder.Services.Configure("default", options => { - opts.SchemaFilter(); + options.AddSchemaTransformer(); }); builder.AddApplicationInfrastructure(); diff --git a/backend/src/MethodConf.Cms/appsettings.json b/backend/src/MethodConf.Cms/appsettings.json index 4446f7e..3ac7567 100644 --- a/backend/src/MethodConf.Cms/appsettings.json +++ b/backend/src/MethodConf.Cms/appsettings.json @@ -21,7 +21,10 @@ }, "DeliveryApi": { "Enabled": true, - "PublicAccess": true + "PublicAccess": true, + "OpenApi": { + "GenerateContentTypeSchemas": true + } }, "Content": { "AllowEditInvariantFromNonDefault": true, diff --git a/backend/src/MethodConf.Cms/uSync/v17/usync.config b/backend/src/MethodConf.Cms/uSync/v17/usync.config deleted file mode 100644 index 8292d5f..0000000 --- a/backend/src/MethodConf.Cms/uSync/v17/usync.config +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/conference.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/conference.config similarity index 99% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/conference.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/conference.config index e288089..aa9d488 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/conference.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/conference.config @@ -17,6 +17,7 @@ + false sponsors diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/conferences.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/conferences.config similarity index 95% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/conferences.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/conferences.config index 3fc0bb4..f24b421 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/conferences.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/conferences.config @@ -17,6 +17,7 @@ + false conference diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/home.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/home.config similarity index 95% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/home.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/home.config index 5f70a04..47fa924 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/home.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/home.config @@ -19,6 +19,7 @@ + false diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/introandemailsignupblock.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/introandemailsignupblock.config similarity index 98% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/introandemailsignupblock.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/introandemailsignupblock.config index 6f29dfe..6ccd7d1 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/introandemailsignupblock.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/introandemailsignupblock.config @@ -18,6 +18,7 @@ + false diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/locationblock.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/locationblock.config similarity index 94% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/locationblock.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/locationblock.config index a4c84e8..f73eed9 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/locationblock.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/locationblock.config @@ -18,6 +18,7 @@ + false diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/page.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/page.config similarity index 98% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/page.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/page.config index 1530d4e..67f0300 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/page.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/page.config @@ -17,6 +17,7 @@ + false page diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/richtext.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/richtext.config similarity index 97% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/richtext.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/richtext.config index 190c1f7..2568a09 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/richtext.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/richtext.config @@ -18,6 +18,7 @@ + false diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/scheduleblock.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/scheduleblock.config similarity index 94% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/scheduleblock.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/scheduleblock.config index bc8531d..8b53dbe 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/scheduleblock.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/scheduleblock.config @@ -18,6 +18,7 @@ + false diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/session.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/session.config similarity index 98% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/session.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/session.config index c7e6937..b203ccf 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/session.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/session.config @@ -17,6 +17,7 @@ + false diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sessions.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sessions.config similarity index 95% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sessions.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sessions.config index 4a09922..e0a4101 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sessions.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sessions.config @@ -17,6 +17,7 @@ + false track diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/speaker.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/speaker.config similarity index 99% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/speaker.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/speaker.config index 3862d99..6c910b9 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/speaker.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/speaker.config @@ -17,6 +17,7 @@ + false diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/speakers.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/speakers.config similarity index 95% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/speakers.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/speakers.config index 82930c5..215e457 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/speakers.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/speakers.config @@ -17,6 +17,7 @@ + false speaker diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sponsor.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sponsor.config similarity index 98% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sponsor.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sponsor.config index 6c86284..dc26f2e 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sponsor.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sponsor.config @@ -17,6 +17,7 @@ + false diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sponsors.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sponsors.config similarity index 98% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sponsors.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sponsors.config index 5c331ec..e954603 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sponsors.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sponsors.config @@ -17,6 +17,7 @@ + false diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sponsorsblock.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sponsorsblock.config similarity index 94% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sponsorsblock.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sponsorsblock.config index 410f238..75ac124 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sponsorsblock.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sponsorsblock.config @@ -18,6 +18,7 @@ + false diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sponsortier.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sponsortier.config similarity index 98% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sponsortier.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sponsortier.config index 6ac4afc..4529fd1 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/sponsortier.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/sponsortier.config @@ -17,6 +17,7 @@ + false diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/textwithbuttons.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/textwithbuttons.config similarity index 98% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/textwithbuttons.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/textwithbuttons.config index bbfaa7a..472549a 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/textwithbuttons.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/textwithbuttons.config @@ -18,6 +18,7 @@ + false diff --git a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/track.config b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/track.config similarity index 95% rename from backend/src/MethodConf.Cms/uSync/v17/ContentTypes/track.config rename to backend/src/MethodConf.Cms/uSync/v18/ContentTypes/track.config index 1f8bc85..03647ca 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/ContentTypes/track.config +++ b/backend/src/MethodConf.Cms/uSync/v18/ContentTypes/track.config @@ -17,6 +17,7 @@ + false session diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/ApprovedColor.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/ApprovedColor.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/ApprovedColor.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/ApprovedColor.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/CheckboxList.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/CheckboxList.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/CheckboxList.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/CheckboxList.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/ContentBlocks.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/ContentBlocks.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/ContentBlocks.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/ContentBlocks.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/ContentPicker.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/ContentPicker.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/ContentPicker.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/ContentPicker.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/DatePicker.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/DatePicker.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/DatePicker.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/DatePicker.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/DatePickerWithTime.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/DatePickerWithTime.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/DatePickerWithTime.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/DatePickerWithTime.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/Dropdown.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/Dropdown.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/Dropdown.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/Dropdown.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/DropdownMultiple.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/DropdownMultiple.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/DropdownMultiple.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/DropdownMultiple.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/ImageCropper.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/ImageCropper.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/ImageCropper.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/ImageCropper.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/ImageMediaPicker.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/ImageMediaPicker.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/ImageMediaPicker.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/ImageMediaPicker.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelBigint.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelBigint.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelBigint.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelBigint.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelBytes.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelBytes.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelBytes.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelBytes.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelDatetime.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelDatetime.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelDatetime.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelDatetime.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelDecimal.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelDecimal.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelDecimal.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelDecimal.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelInteger.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelInteger.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelInteger.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelInteger.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelPixels.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelPixels.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelPixels.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelPixels.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelString.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelString.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelString.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelString.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelTime.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelTime.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/LabelTime.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/LabelTime.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/ListViewContent.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/ListViewContent.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/ListViewContent.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/ListViewContent.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/ListViewMedia.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/ListViewMedia.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/ListViewMedia.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/ListViewMedia.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/MediaPicker.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/MediaPicker.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/MediaPicker.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/MediaPicker.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/MemberPicker.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/MemberPicker.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/MemberPicker.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/MemberPicker.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/MultiURLPicker.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/MultiURLPicker.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/MultiURLPicker.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/MultiURLPicker.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/MultipleImageMediaPicker.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/MultipleImageMediaPicker.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/MultipleImageMediaPicker.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/MultipleImageMediaPicker.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/MultipleMediaPicker.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/MultipleMediaPicker.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/MultipleMediaPicker.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/MultipleMediaPicker.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/Numeric.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/Numeric.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/Numeric.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/Numeric.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/Radiobox.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/Radiobox.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/Radiobox.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/Radiobox.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/RichtextEditor.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/RichtextEditor.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/RichtextEditor.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/RichtextEditor.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/SessionSpeakersContentPickerPropertyEditorUI.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/SessionSpeakersContentPickerPropertyEditorUI.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/SessionSpeakersContentPickerPropertyEditorUI.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/SessionSpeakersContentPickerPropertyEditorUI.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/SimpleRichTextEditor.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/SimpleRichTextEditor.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/SimpleRichTextEditor.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/SimpleRichTextEditor.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/SingleURLPicker.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/SingleURLPicker.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/SingleURLPicker.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/SingleURLPicker.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/SponsorTierLogoSizesDropdownPropertyEditorUI.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/SponsorTierLogoSizesDropdownPropertyEditorUI.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/SponsorTierLogoSizesDropdownPropertyEditorUI.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/SponsorTierLogoSizesDropdownPropertyEditorUI.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/SponsorTierSponsorsBlockListPropertyEditorUI.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/SponsorTierSponsorsBlockListPropertyEditorUI.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/SponsorTierSponsorsBlockListPropertyEditorUI.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/SponsorTierSponsorsBlockListPropertyEditorUI.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/SponsorsTiersBlockListPropertyEditorUI.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/SponsorsTiersBlockListPropertyEditorUI.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/SponsorsTiersBlockListPropertyEditorUI.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/SponsorsTiersBlockListPropertyEditorUI.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/Tags.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/Tags.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/Tags.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/Tags.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/Textarea.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/Textarea.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/Textarea.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/Textarea.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/Textstring.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/Textstring.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/Textstring.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/Textstring.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/Truefalse.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/Truefalse.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/Truefalse.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/Truefalse.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/UploadArticle.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/UploadArticle.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/UploadArticle.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/UploadArticle.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/UploadAudio.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/UploadAudio.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/UploadAudio.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/UploadAudio.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/UploadFile.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/UploadFile.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/UploadFile.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/UploadFile.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/UploadVectorGraphics.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/UploadVectorGraphics.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/UploadVectorGraphics.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/UploadVectorGraphics.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/DataTypes/UploadVideo.config b/backend/src/MethodConf.Cms/uSync/v18/DataTypes/UploadVideo.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/DataTypes/UploadVideo.config rename to backend/src/MethodConf.Cms/uSync/v18/DataTypes/UploadVideo.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/Domains/https-wwwmethodconf.com_en-us.config b/backend/src/MethodConf.Cms/uSync/v18/Domains/https-wwwmethodconf.com_en-us.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/Domains/https-wwwmethodconf.com_en-us.config rename to backend/src/MethodConf.Cms/uSync/v18/Domains/https-wwwmethodconf.com_en-us.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/Languages/en-us.config b/backend/src/MethodConf.Cms/uSync/v18/Languages/en-us.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/Languages/en-us.config rename to backend/src/MethodConf.Cms/uSync/v18/Languages/en-us.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/MediaTypes/file.config b/backend/src/MethodConf.Cms/uSync/v18/MediaTypes/file.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/MediaTypes/file.config rename to backend/src/MethodConf.Cms/uSync/v18/MediaTypes/file.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/MediaTypes/folder.config b/backend/src/MethodConf.Cms/uSync/v18/MediaTypes/folder.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/MediaTypes/folder.config rename to backend/src/MethodConf.Cms/uSync/v18/MediaTypes/folder.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/MediaTypes/image.config b/backend/src/MethodConf.Cms/uSync/v18/MediaTypes/image.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/MediaTypes/image.config rename to backend/src/MethodConf.Cms/uSync/v18/MediaTypes/image.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/MediaTypes/umbracomediaarticle.config b/backend/src/MethodConf.Cms/uSync/v18/MediaTypes/umbracomediaarticle.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/MediaTypes/umbracomediaarticle.config rename to backend/src/MethodConf.Cms/uSync/v18/MediaTypes/umbracomediaarticle.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/MediaTypes/umbracomediaaudio.config b/backend/src/MethodConf.Cms/uSync/v18/MediaTypes/umbracomediaaudio.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/MediaTypes/umbracomediaaudio.config rename to backend/src/MethodConf.Cms/uSync/v18/MediaTypes/umbracomediaaudio.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/MediaTypes/umbracomediavectorgraphics.config b/backend/src/MethodConf.Cms/uSync/v18/MediaTypes/umbracomediavectorgraphics.config similarity index 68% rename from backend/src/MethodConf.Cms/uSync/v17/MediaTypes/umbracomediavectorgraphics.config rename to backend/src/MethodConf.Cms/uSync/v18/MediaTypes/umbracomediavectorgraphics.config index accc3a7..aa9dac1 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/MediaTypes/umbracomediavectorgraphics.config +++ b/backend/src/MethodConf.Cms/uSync/v18/MediaTypes/umbracomediavectorgraphics.config @@ -57,6 +57,36 @@ false + + 948d8635-d460-4fed-91ce-760aa4b46104 + Height + umbracoHeight + 5eb57825-e15e-4fc7-8e37-fca65cdafbde + Umbraco.Label + false + + + 4 + Vector Graphics + + + false + + + d70dbf39-d331-4abe-8894-2304fb943e90 + Width + umbracoWidth + 5eb57825-e15e-4fc7-8e37-fca65cdafbde + Umbraco.Label + false + + + 3 + Vector Graphics + + + false + diff --git a/backend/src/MethodConf.Cms/uSync/v17/MediaTypes/umbracomediavideo.config b/backend/src/MethodConf.Cms/uSync/v18/MediaTypes/umbracomediavideo.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/MediaTypes/umbracomediavideo.config rename to backend/src/MethodConf.Cms/uSync/v18/MediaTypes/umbracomediavideo.config diff --git a/backend/src/MethodConf.Cms/uSync/v17/MemberTypes/member.config b/backend/src/MethodConf.Cms/uSync/v18/MemberTypes/member.config similarity index 96% rename from backend/src/MethodConf.Cms/uSync/v17/MemberTypes/member.config rename to backend/src/MethodConf.Cms/uSync/v18/MemberTypes/member.config index 91898b5..a9aa04e 100644 --- a/backend/src/MethodConf.Cms/uSync/v17/MemberTypes/member.config +++ b/backend/src/MethodConf.Cms/uSync/v18/MemberTypes/member.config @@ -13,7 +13,7 @@ - 2a280588-0000-0000-0000-000000000000 + 70f24c26-1c0e-4053-bd8e-e9e6e4ec4c01 Comments umbracoMemberComments c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3 diff --git a/backend/src/MethodConf.Cms/uSync/v18/RelationTypes/relateParentElementContainerOnContainerDelete.config b/backend/src/MethodConf.Cms/uSync/v18/RelationTypes/relateParentElementContainerOnContainerDelete.config new file mode 100644 index 0000000..f35d5b0 --- /dev/null +++ b/backend/src/MethodConf.Cms/uSync/v18/RelationTypes/relateParentElementContainerOnContainerDelete.config @@ -0,0 +1,10 @@ + + + + Relate Parent Element Container On Container Delete + 2815b0cf-9706-499f-aa2a-8a4c7aef005d + 2815b0cf-9706-499f-aa2a-8a4c7aef005d + false + false + + \ No newline at end of file diff --git a/backend/src/MethodConf.Cms/uSync/v18/RelationTypes/relateParentElementContainerOnElementDelete.config b/backend/src/MethodConf.Cms/uSync/v18/RelationTypes/relateParentElementContainerOnElementDelete.config new file mode 100644 index 0000000..a33a1f5 --- /dev/null +++ b/backend/src/MethodConf.Cms/uSync/v18/RelationTypes/relateParentElementContainerOnElementDelete.config @@ -0,0 +1,10 @@ + + + + Relate Parent Element Container On Element Delete + 2815b0cf-9706-499f-aa2a-8a4c7aef005d + 3d7b623c-94b1-487d-8554-a46ec37568be + false + false + + \ No newline at end of file diff --git a/backend/src/MethodConf.Cms/uSync/v18/RelationTypes/umbElement.config b/backend/src/MethodConf.Cms/uSync/v18/RelationTypes/umbElement.config new file mode 100644 index 0000000..5c0f114 --- /dev/null +++ b/backend/src/MethodConf.Cms/uSync/v18/RelationTypes/umbElement.config @@ -0,0 +1,10 @@ + + + + Related Element + + + false + true + + \ No newline at end of file diff --git a/backend/src/MethodConf.Cms/uSync/v17/RelationTypes/umbMember.config b/backend/src/MethodConf.Cms/uSync/v18/RelationTypes/umbMember.config similarity index 100% rename from backend/src/MethodConf.Cms/uSync/v17/RelationTypes/umbMember.config rename to backend/src/MethodConf.Cms/uSync/v18/RelationTypes/umbMember.config diff --git a/backend/src/MethodConf.Cms/uSync/v18/usync.config b/backend/src/MethodConf.Cms/uSync/v18/usync.config new file mode 100644 index 0000000..9691248 --- /dev/null +++ b/backend/src/MethodConf.Cms/uSync/v18/usync.config @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/backend/src/MethodConf.Cms/umbraco/models/Conference.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Conference.generated.cs index 631643f..c38310e 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Conference.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Conference.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class Conference : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "conference"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,7 +52,7 @@ public Conference(IPublishedContent content, IPublishedValueFallback publishedVa /// /// Call For Speakers Url /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("callForSpeakersUrl")] public virtual string CallForSpeakersUrl => this.Value(_publishedValueFallback, "callForSpeakersUrl"); @@ -60,14 +60,14 @@ public Conference(IPublishedContent content, IPublishedValueFallback publishedVa /// /// Date /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("date")] public virtual global::System.DateTime Date => this.Value(_publishedValueFallback, "date"); /// /// Location /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("location")] public virtual string Location => this.Value(_publishedValueFallback, "location"); @@ -75,7 +75,7 @@ public Conference(IPublishedContent content, IPublishedValueFallback publishedVa /// /// Mobile App Links /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("mobileAppLinks")] public virtual global::System.Collections.Generic.IEnumerable MobileAppLinks => this.Value>(_publishedValueFallback, "mobileAppLinks"); @@ -83,7 +83,7 @@ public Conference(IPublishedContent content, IPublishedValueFallback publishedVa /// /// Register Url /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("registerUrl")] public virtual string RegisterUrl => this.Value(_publishedValueFallback, "registerUrl"); @@ -91,14 +91,14 @@ public Conference(IPublishedContent content, IPublishedValueFallback publishedVa /// /// Survey Available At: Determines when the survey will be available in the app /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("surveyAvailableAt")] public virtual global::System.DateTime SurveyAvailableAt => this.Value(_publishedValueFallback, "surveyAvailableAt"); /// /// Survey Url /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("surveyUrl")] public virtual global::Umbraco.Cms.Core.Models.Link SurveyUrl => this.Value(_publishedValueFallback, "surveyUrl"); @@ -106,7 +106,7 @@ public Conference(IPublishedContent content, IPublishedValueFallback publishedVa /// /// Tagline /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("tagline")] public virtual string Tagline => this.Value(_publishedValueFallback, "tagline"); diff --git a/backend/src/MethodConf.Cms/umbraco/models/Conferences.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Conferences.generated.cs index d9dc29c..16a5982 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Conferences.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Conferences.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class Conferences : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "conferences"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); diff --git a/backend/src/MethodConf.Cms/umbraco/models/File.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/File.generated.cs index 9719cf3..33d9bc5 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/File.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/File.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class File : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "File"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,14 +52,14 @@ public File(IPublishedContent content, IPublishedValueFallback publishedValueFal /// /// File size /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("umbracoBytes")] public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); /// /// File extension /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("umbracoExtension")] public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); @@ -67,7 +67,7 @@ public File(IPublishedContent content, IPublishedValueFallback publishedValueFal /// /// File /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("umbracoFile")] public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); diff --git a/backend/src/MethodConf.Cms/umbraco/models/Folder.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Folder.generated.cs index 2aabd47..0bae776 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Folder.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Folder.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class Folder : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "Folder"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); diff --git a/backend/src/MethodConf.Cms/umbraco/models/Home.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Home.generated.cs index f40e34e..eb0c779 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Home.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Home.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class Home : PublishedContentModel, IPage { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "home"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,7 +52,7 @@ public Home(IPublishedContent content, IPublishedValueFallback publishedValueFal /// /// Blocks /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("blocks")] public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockListModel Blocks => global::Umbraco.Cms.Web.Common.PublishedModels.Page.GetBlocks(this, _publishedValueFallback); @@ -60,7 +60,7 @@ public Home(IPublishedContent content, IPublishedValueFallback publishedValueFal /// /// Meta Description /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("metaDescription")] public virtual string MetaDescription => global::Umbraco.Cms.Web.Common.PublishedModels.Page.GetMetaDescription(this, _publishedValueFallback); @@ -68,7 +68,7 @@ public Home(IPublishedContent content, IPublishedValueFallback publishedValueFal /// /// Open Graph Image /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("openGraphImage")] public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops OpenGraphImage => global::Umbraco.Cms.Web.Common.PublishedModels.Page.GetOpenGraphImage(this, _publishedValueFallback); @@ -76,7 +76,7 @@ public Home(IPublishedContent content, IPublishedValueFallback publishedValueFal /// /// Title /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("title")] public virtual string Title => global::Umbraco.Cms.Web.Common.PublishedModels.Page.GetTitle(this, _publishedValueFallback); diff --git a/backend/src/MethodConf.Cms/umbraco/models/Image.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Image.generated.cs index 2169dde..0cfa554 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Image.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Image.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class Image : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "Image"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,14 +52,14 @@ public Image(IPublishedContent content, IPublishedValueFallback publishedValueFa /// /// File size /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("umbracoBytes")] public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); /// /// File extension /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("umbracoExtension")] public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); @@ -67,7 +67,7 @@ public Image(IPublishedContent content, IPublishedValueFallback publishedValueFa /// /// Image /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("umbracoFile")] public virtual global::Umbraco.Cms.Core.PropertyEditors.ValueConverters.ImageCropperValue UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); @@ -75,14 +75,14 @@ public Image(IPublishedContent content, IPublishedValueFallback publishedValueFa /// /// Height /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("umbracoHeight")] public virtual int UmbracoHeight => this.Value(_publishedValueFallback, "umbracoHeight"); /// /// Width /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("umbracoWidth")] public virtual int UmbracoWidth => this.Value(_publishedValueFallback, "umbracoWidth"); } diff --git a/backend/src/MethodConf.Cms/umbraco/models/IntroAndEmailSignupBlock.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/IntroAndEmailSignupBlock.generated.cs index 4a11cf3..0fc2d0d 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/IntroAndEmailSignupBlock.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/IntroAndEmailSignupBlock.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class IntroAndEmailSignupBlock : PublishedElementModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "introAndEmailSignupBlock"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,7 +52,7 @@ public IntroAndEmailSignupBlock(IPublishedElement content, IPublishedValueFallba /// /// Email Signup Text /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("emailSignupText")] public virtual string EmailSignupText => this.Value(_publishedValueFallback, "emailSignupText"); @@ -60,7 +60,7 @@ public IntroAndEmailSignupBlock(IPublishedElement content, IPublishedValueFallba /// /// Text /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("text")] public virtual global::Umbraco.Cms.Core.Strings.IHtmlEncodedString Text => this.Value(_publishedValueFallback, "text"); diff --git a/backend/src/MethodConf.Cms/umbraco/models/LocationBlock.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/LocationBlock.generated.cs index d932aaf..f726fe7 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/LocationBlock.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/LocationBlock.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class LocationBlock : PublishedElementModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "locationBlock"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); diff --git a/backend/src/MethodConf.Cms/umbraco/models/Member.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Member.generated.cs index e0989c5..cc463c6 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Member.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Member.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class Member : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "Member"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Member; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,7 +52,7 @@ public Member(IPublishedContent content, IPublishedValueFallback publishedValueF /// /// Comments /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("umbracoMemberComments")] public virtual string UmbracoMemberComments => this.Value(_publishedValueFallback, "umbracoMemberComments"); diff --git a/backend/src/MethodConf.Cms/umbraco/models/Page.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Page.generated.cs index e3881ca..aed9a98 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Page.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Page.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -23,22 +23,22 @@ namespace Umbraco.Cms.Web.Common.PublishedModels public partial interface IPage : IPublishedContent { /// Blocks - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] global::Umbraco.Cms.Core.Models.Blocks.BlockListModel Blocks { get; } /// Meta Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] string MetaDescription { get; } /// Open Graph Image - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] global::Umbraco.Cms.Core.Models.MediaWithCrops OpenGraphImage { get; } /// Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] string Title { get; } } @@ -49,15 +49,15 @@ public partial class Page : PublishedContentModel, IPage { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "page"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -77,52 +77,52 @@ public Page(IPublishedContent content, IPublishedValueFallback publishedValueFal /// /// Blocks /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("blocks")] public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockListModel Blocks => GetBlocks(this, _publishedValueFallback); /// Static getter for Blocks - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static global::Umbraco.Cms.Core.Models.Blocks.BlockListModel GetBlocks(IPage that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "blocks"); /// /// Meta Description /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("metaDescription")] public virtual string MetaDescription => GetMetaDescription(this, _publishedValueFallback); /// Static getter for Meta Description - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static string GetMetaDescription(IPage that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "metaDescription"); /// /// Open Graph Image /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("openGraphImage")] public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops OpenGraphImage => GetOpenGraphImage(this, _publishedValueFallback); /// Static getter for Open Graph Image - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static global::Umbraco.Cms.Core.Models.MediaWithCrops GetOpenGraphImage(IPage that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "openGraphImage"); /// /// Title /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("title")] public virtual string Title => GetTitle(this, _publishedValueFallback); /// Static getter for Title - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static string GetTitle(IPage that, IPublishedValueFallback publishedValueFallback) => that.Value(publishedValueFallback, "title"); } diff --git a/backend/src/MethodConf.Cms/umbraco/models/RichText.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/RichText.generated.cs index 0e7e34e..bc1db11 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/RichText.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/RichText.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class RichText : PublishedElementModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "richText"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,7 +52,7 @@ public RichText(IPublishedElement content, IPublishedValueFallback publishedValu /// /// Text /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("text")] public virtual global::Umbraco.Cms.Core.Strings.IHtmlEncodedString Text => this.Value(_publishedValueFallback, "text"); diff --git a/backend/src/MethodConf.Cms/umbraco/models/ScheduleBlock.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/ScheduleBlock.generated.cs index c7d328d..e8270ad 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/ScheduleBlock.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/ScheduleBlock.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class ScheduleBlock : PublishedElementModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "scheduleBlock"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); diff --git a/backend/src/MethodConf.Cms/umbraco/models/Session.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Session.generated.cs index bf87e8a..482307f 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Session.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Session.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class Session : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "session"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,7 +52,7 @@ public Session(IPublishedContent content, IPublishedValueFallback publishedValue /// /// Description /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("description")] public virtual global::Umbraco.Cms.Core.Strings.IHtmlEncodedString Description => this.Value(_publishedValueFallback, "description"); @@ -60,21 +60,21 @@ public Session(IPublishedContent content, IPublishedValueFallback publishedValue /// /// End /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("end")] public virtual global::System.DateTime End => this.Value(_publishedValueFallback, "end"); /// /// Is Eligible For Feedback /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("isEligibleForFeedback")] public virtual bool IsEligibleForFeedback => this.Value(_publishedValueFallback, "isEligibleForFeedback"); /// /// Speakers /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("speakers")] public virtual global::System.Collections.Generic.IEnumerable Speakers => this.Value>(_publishedValueFallback, "speakers"); @@ -82,7 +82,7 @@ public Session(IPublishedContent content, IPublishedValueFallback publishedValue /// /// Start /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("start")] public virtual global::System.DateTime Start => this.Value(_publishedValueFallback, "start"); } diff --git a/backend/src/MethodConf.Cms/umbraco/models/Sessions.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Sessions.generated.cs index a3bbd2b..e18a241 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Sessions.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Sessions.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class Sessions : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "sessions"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); diff --git a/backend/src/MethodConf.Cms/umbraco/models/Speaker.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Speaker.generated.cs index 9387b6a..aa72320 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Speaker.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Speaker.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class Speaker : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "speaker"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,7 +52,7 @@ public Speaker(IPublishedContent content, IPublishedValueFallback publishedValue /// /// Bio /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("bio")] public virtual global::Umbraco.Cms.Core.Strings.IHtmlEncodedString Bio => this.Value(_publishedValueFallback, "bio"); @@ -60,7 +60,7 @@ public Speaker(IPublishedContent content, IPublishedValueFallback publishedValue /// /// Instagram Url /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("instagramUrl")] public virtual string InstagramUrl => this.Value(_publishedValueFallback, "instagramUrl"); @@ -68,7 +68,7 @@ public Speaker(IPublishedContent content, IPublishedValueFallback publishedValue /// /// Job Title /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("jobTitle")] public virtual string JobTitle => this.Value(_publishedValueFallback, "jobTitle"); @@ -76,7 +76,7 @@ public Speaker(IPublishedContent content, IPublishedValueFallback publishedValue /// /// LinkedIn Url /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("linkedInUrl")] public virtual string LinkedInUrl => this.Value(_publishedValueFallback, "linkedInUrl"); @@ -84,7 +84,7 @@ public Speaker(IPublishedContent content, IPublishedValueFallback publishedValue /// /// Profile Image /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("profileImage")] public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops ProfileImage => this.Value(_publishedValueFallback, "profileImage"); @@ -92,7 +92,7 @@ public Speaker(IPublishedContent content, IPublishedValueFallback publishedValue /// /// Website Url /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("websiteUrl")] public virtual string WebsiteUrl => this.Value(_publishedValueFallback, "websiteUrl"); @@ -100,7 +100,7 @@ public Speaker(IPublishedContent content, IPublishedValueFallback publishedValue /// /// X (Twitter) Url /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("xTwitterUrl")] public virtual string XTwitterUrl => this.Value(_publishedValueFallback, "xTwitterUrl"); diff --git a/backend/src/MethodConf.Cms/umbraco/models/Speakers.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Speakers.generated.cs index 18f5f93..433c690 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Speakers.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Speakers.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class Speakers : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "speakers"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); diff --git a/backend/src/MethodConf.Cms/umbraco/models/Sponsor.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Sponsor.generated.cs index caec2ae..7c529ef 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Sponsor.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Sponsor.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class Sponsor : PublishedElementModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "sponsor"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,14 +52,14 @@ public Sponsor(IPublishedElement content, IPublishedValueFallback publishedValue /// /// Dark Background /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("darkBackground")] public virtual bool DarkBackground => this.Value(_publishedValueFallback, "darkBackground"); /// /// Logo /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("logo")] public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Logo => this.Value(_publishedValueFallback, "logo"); @@ -67,14 +67,14 @@ public Sponsor(IPublishedElement content, IPublishedValueFallback publishedValue /// /// Mobile App Sponsor /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("mobileAppSponsor")] public virtual bool MobileAppSponsor => this.Value(_publishedValueFallback, "mobileAppSponsor"); /// /// Title /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("title")] public virtual string Title => this.Value(_publishedValueFallback, "title"); @@ -82,7 +82,7 @@ public Sponsor(IPublishedElement content, IPublishedValueFallback publishedValue /// /// Url /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("url")] public virtual string Url => this.Value(_publishedValueFallback, "url"); diff --git a/backend/src/MethodConf.Cms/umbraco/models/SponsorTier.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/SponsorTier.generated.cs index d63807b..54c3e80 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/SponsorTier.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/SponsorTier.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class SponsorTier : PublishedElementModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "sponsorTier"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,7 +52,7 @@ public SponsorTier(IPublishedElement content, IPublishedValueFallback publishedV /// /// Logo Sizes /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("logoSizes")] public virtual string LogoSizes => this.Value(_publishedValueFallback, "logoSizes"); @@ -60,7 +60,7 @@ public SponsorTier(IPublishedElement content, IPublishedValueFallback publishedV /// /// Sponsors /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("sponsors")] public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockListModel Sponsors => this.Value(_publishedValueFallback, "sponsors"); @@ -68,7 +68,7 @@ public SponsorTier(IPublishedElement content, IPublishedValueFallback publishedV /// /// Title /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("title")] public virtual string Title => this.Value(_publishedValueFallback, "title"); diff --git a/backend/src/MethodConf.Cms/umbraco/models/Sponsors.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Sponsors.generated.cs index 450c431..738fd87 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Sponsors.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Sponsors.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class Sponsors : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "sponsors"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,7 +52,7 @@ public Sponsors(IPublishedContent content, IPublishedValueFallback publishedValu /// /// Opportunities Url /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("opportunitiesUrl")] public virtual global::Umbraco.Cms.Core.Models.Link OpportunitiesUrl => this.Value(_publishedValueFallback, "opportunitiesUrl"); @@ -60,7 +60,7 @@ public Sponsors(IPublishedContent content, IPublishedValueFallback publishedValu /// /// Tiers /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("tiers")] public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockListModel Tiers => this.Value(_publishedValueFallback, "tiers"); diff --git a/backend/src/MethodConf.Cms/umbraco/models/SponsorsBlock.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/SponsorsBlock.generated.cs index 0ca0920..54805db 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/SponsorsBlock.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/SponsorsBlock.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class SponsorsBlock : PublishedElementModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "sponsorsBlock"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); diff --git a/backend/src/MethodConf.Cms/umbraco/models/TextWithButtons.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/TextWithButtons.generated.cs index 95e1b5e..af93bed 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/TextWithButtons.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/TextWithButtons.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class TextWithButtons : PublishedElementModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "textWithButtons"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,7 +52,7 @@ public TextWithButtons(IPublishedElement content, IPublishedValueFallback publis /// /// Buttons /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("buttons")] public virtual global::System.Collections.Generic.IEnumerable Buttons => this.Value>(_publishedValueFallback, "buttons"); @@ -60,7 +60,7 @@ public TextWithButtons(IPublishedElement content, IPublishedValueFallback publis /// /// Text /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("text")] public virtual global::Umbraco.Cms.Core.Strings.IHtmlEncodedString Text => this.Value(_publishedValueFallback, "text"); diff --git a/backend/src/MethodConf.Cms/umbraco/models/Track.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/Track.generated.cs index 30b27ff..83e86e9 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/Track.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/Track.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class Track : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "track"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Content; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); diff --git a/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaArticle.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaArticle.generated.cs index 2320661..e5b8d6e 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaArticle.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaArticle.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class UmbracoMediaArticle : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "umbracoMediaArticle"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,14 +52,14 @@ public UmbracoMediaArticle(IPublishedContent content, IPublishedValueFallback pu /// /// File size /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("umbracoBytes")] public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); /// /// File extension /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("umbracoExtension")] public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); @@ -67,7 +67,7 @@ public UmbracoMediaArticle(IPublishedContent content, IPublishedValueFallback pu /// /// Article /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("umbracoFile")] public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); diff --git a/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaAudio.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaAudio.generated.cs index ee42df8..e3b80f9 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaAudio.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaAudio.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class UmbracoMediaAudio : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "umbracoMediaAudio"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,14 +52,14 @@ public UmbracoMediaAudio(IPublishedContent content, IPublishedValueFallback publ /// /// File size /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("umbracoBytes")] public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); /// /// File extension /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("umbracoExtension")] public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); @@ -67,7 +67,7 @@ public UmbracoMediaAudio(IPublishedContent content, IPublishedValueFallback publ /// /// Audio /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("umbracoFile")] public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); diff --git a/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaVectorGraphics.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaVectorGraphics.generated.cs index f41f85d..c093570 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaVectorGraphics.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaVectorGraphics.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class UmbracoMediaVectorGraphics : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "umbracoMediaVectorGraphics"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,14 +52,14 @@ public UmbracoMediaVectorGraphics(IPublishedContent content, IPublishedValueFall /// /// File size /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("umbracoBytes")] public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); /// /// File extension /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("umbracoExtension")] public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); @@ -67,9 +67,23 @@ public UmbracoMediaVectorGraphics(IPublishedContent content, IPublishedValueFall /// /// Vector Graphics /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("umbracoFile")] public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); + + /// + /// Height + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] + [ImplementPropertyType("umbracoHeight")] + public virtual int UmbracoHeight => this.Value(_publishedValueFallback, "umbracoHeight"); + + /// + /// Width + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] + [ImplementPropertyType("umbracoWidth")] + public virtual int UmbracoWidth => this.Value(_publishedValueFallback, "umbracoWidth"); } } diff --git a/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaVideo.generated.cs b/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaVideo.generated.cs index 359279c..f858029 100644 --- a/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaVideo.generated.cs +++ b/backend/src/MethodConf.Cms/umbraco/models/UmbracoMediaVideo.generated.cs @@ -2,7 +2,7 @@ // // This code was generated by a tool. // -// Umbraco.ModelsBuilder.Embedded v17.3.1+6c089db +// Umbraco.ModelsBuilder.Embedded v18.0.2+26312a3 // // Changes to this file will be lost if the code is regenerated. // @@ -24,15 +24,15 @@ public partial class UmbracoMediaVideo : PublishedContentModel { // helpers #pragma warning disable 0109 // new is redundant - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const string ModelTypeAlias = "umbracoMediaVideo"; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] public new const PublishedItemType ModelItemType = PublishedItemType.Media; - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache) => PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias); - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [return: global::System.Diagnostics.CodeAnalysis.MaybeNull] public static IPublishedPropertyType GetModelPropertyType(IPublishedContentTypeCache contentTypeCache, Expression> selector) => PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector); @@ -52,14 +52,14 @@ public UmbracoMediaVideo(IPublishedContent content, IPublishedValueFallback publ /// /// File size /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [ImplementPropertyType("umbracoBytes")] public virtual long UmbracoBytes => this.Value(_publishedValueFallback, "umbracoBytes"); /// /// File extension /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("umbracoExtension")] public virtual string UmbracoExtension => this.Value(_publishedValueFallback, "umbracoExtension"); @@ -67,7 +67,7 @@ public UmbracoMediaVideo(IPublishedContent content, IPublishedValueFallback publ /// /// Video /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "17.3.1+6c089db")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "18.0.2+26312a3")] [global::System.Diagnostics.CodeAnalysis.MaybeNull] [ImplementPropertyType("umbracoFile")] public virtual string UmbracoFile => this.Value(_publishedValueFallback, "umbracoFile"); diff --git a/frontend/generateUmbracoApiClient.ts b/frontend/generateUmbracoApiClient.ts index 25fd5f7..6e9e09f 100644 --- a/frontend/generateUmbracoApiClient.ts +++ b/frontend/generateUmbracoApiClient.ts @@ -9,18 +9,11 @@ async function main() { const schemaConfigs = [ { - url: new URL( - '/umbraco/swagger/delivery/swagger.json?urls.primaryName=Umbraco+Delivery+API', - baseUrl, - ), + url: new URL('/umbraco/openapi/delivery.json', baseUrl), outputFile: `deliveryApiSchema.d.ts`, }, - { - url: new URL( - '/umbraco/swagger/default/swagger.json?urls.primaryName=Default+API', - baseUrl, - ), + url: new URL('/umbraco/openapi/default.json', baseUrl), outputFile: `defaultApiSchema.d.ts`, }, ]; diff --git a/frontend/src/app/register/route.ts b/frontend/src/app/register/route.ts index 07368cd..ac480e7 100644 --- a/frontend/src/app/register/route.ts +++ b/frontend/src/app/register/route.ts @@ -8,7 +8,7 @@ export async function GET() { return notFound(); } - const path = conference.route.path.replace(/\/$/, ''); + const path = (conference.route.path ?? '/').replace(/\/$/, ''); permanentRedirect(`${path}/register/`); } diff --git a/frontend/src/app/route.ts b/frontend/src/app/route.ts index d957e5d..3e46742 100644 --- a/frontend/src/app/route.ts +++ b/frontend/src/app/route.ts @@ -8,5 +8,5 @@ export async function GET() { return notFound(); } - redirect(conference.route.path); + redirect(conference.route.path ?? '/'); } diff --git a/frontend/src/app/speak/route.ts b/frontend/src/app/speak/route.ts index 3c546a3..899f381 100644 --- a/frontend/src/app/speak/route.ts +++ b/frontend/src/app/speak/route.ts @@ -10,5 +10,5 @@ export async function GET() { return notFound(); } - redirect(conference.route.path); + redirect(conference.route.path ?? '/'); } diff --git a/frontend/src/components/ScheduleGrid/ScheduleGrid.tsx b/frontend/src/components/ScheduleGrid/ScheduleGrid.tsx index 2dfd6cb..d6f5fcc 100644 --- a/frontend/src/components/ScheduleGrid/ScheduleGrid.tsx +++ b/frontend/src/components/ScheduleGrid/ScheduleGrid.tsx @@ -105,7 +105,7 @@ export function ScheduleGrid({ grid, tracks, sessions }: ScheduleGridProps) { {sessions.map((session) => { const gridAreaId = createGridAreaId( - getEndPath(session.route.path), + getEndPath(session.route.path ?? ''), ); return ( diff --git a/frontend/src/components/SessionCard.tsx b/frontend/src/components/SessionCard.tsx index d35aad2..0361937 100644 --- a/frontend/src/components/SessionCard.tsx +++ b/frontend/src/components/SessionCard.tsx @@ -38,7 +38,7 @@ export function SessionCard({
{profileImage ? ( {speakerContent.name} diff --git a/frontend/src/components/SponsorCard.tsx b/frontend/src/components/SponsorCard.tsx index 788de6f..9dee4c4 100644 --- a/frontend/src/components/SponsorCard.tsx +++ b/frontend/src/components/SponsorCard.tsx @@ -37,7 +37,7 @@ export function SponsorCard({ sponsor, cardSize }: SponsorCardProps) {
{image ? ( {image ? ( ; -export type operations = Record; +export interface operations { + PostConferenceByConferenceIdIssue: { + parameters: { + query?: never; + header?: never; + path: { + conferenceId: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateIssueRequestDto"]; + "text/json": components["schemas"]["CreateIssueRequestDto"]; + "application/*+json": components["schemas"]["CreateIssueRequestDto"]; + }; + }; + responses: { + /** @description OK */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["CreateIssueResponseDto"]; + "text/json": components["schemas"]["CreateIssueResponseDto"]; + "text/plain": components["schemas"]["CreateIssueResponseDto"]; + }; + }; + }; + }; + GetConferenceByConferenceIdSchedule: { + parameters: { + query?: never; + header?: never; + path: { + conferenceId: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description OK */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ConferenceScheduleResponseDto"]; + "text/json": components["schemas"]["ConferenceScheduleResponseDto"]; + "text/plain": components["schemas"]["ConferenceScheduleResponseDto"]; + }; + }; + }; + }; + PostSessionBySessionIdFeedback: { + parameters: { + query?: never; + header?: never; + path: { + sessionId: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateSessionFeedbackRequestDto"]; + "text/json": components["schemas"]["CreateSessionFeedbackRequestDto"]; + "application/*+json": components["schemas"]["CreateSessionFeedbackRequestDto"]; + }; + }; + responses: { + /** @description OK */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["SessionFeedbackResponseDto"]; + "text/json": components["schemas"]["SessionFeedbackResponseDto"]; + "text/plain": components["schemas"]["SessionFeedbackResponseDto"]; + }; + }; + }; + }; +} diff --git a/frontend/src/data/umbraco/deliveryApiSchema.d.ts b/frontend/src/data/umbraco/deliveryApiSchema.d.ts index 6f6637f..e947cf6 100644 --- a/frontend/src/data/umbraco/deliveryApiSchema.d.ts +++ b/frontend/src/data/umbraco/deliveryApiSchema.d.ts @@ -15,14 +15,14 @@ export interface paths { patch?: never; trace?: never; }; - "/umbraco/delivery/api/v2/content/item/{path}": { + "/umbraco/delivery/api/v2/content/item/{id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - get: operations["GetContentItemByPath2.0"]; + get: operations["GetContentItemById2.0"]; put?: never; post?: never; delete?: never; @@ -31,14 +31,14 @@ export interface paths { patch?: never; trace?: never; }; - "/umbraco/delivery/api/v2/content/item/{id}": { + "/umbraco/delivery/api/v2/content/item/{path}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - get: operations["GetContentItemById2.0"]; + get: operations["GetContentItemByPath2.0"]; put?: never; post?: never; delete?: never; @@ -79,14 +79,14 @@ export interface paths { patch?: never; trace?: never; }; - "/umbraco/delivery/api/v2/media/item/{path}": { + "/umbraco/delivery/api/v2/media/item/{id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - get: operations["GetMediaItemByPath2.0"]; + get: operations["GetMediaItemById2.0"]; put?: never; post?: never; delete?: never; @@ -95,14 +95,14 @@ export interface paths { patch?: never; trace?: never; }; - "/umbraco/delivery/api/v2/media/item/{id}": { + "/umbraco/delivery/api/v2/media/item/{path}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; - get: operations["GetMediaItemById2.0"]; + get: operations["GetMediaItemByPath2.0"]; put?: never; post?: never; delete?: never; @@ -131,197 +131,236 @@ export interface paths { export type webhooks = Record; export interface components { schemas: { - ApiBlockGridAreaModel: { - alias: string; - /** Format: int32 */ - rowSpan: number; - /** Format: int32 */ - columnSpan: number; - items: components["schemas"]["ApiBlockGridItemModel"][]; - }; - ApiBlockGridItemModel: components["schemas"]["ApiBlockItemModel"] & { - /** Format: int32 */ - rowSpan?: number; - /** Format: int32 */ - columnSpan?: number; - /** Format: int32 */ - areaGridColumns?: number; - areas?: components["schemas"]["ApiBlockGridAreaModel"][]; - }; ApiBlockItemModel: { content: components["schemas"]["IApiElementModel"]; - settings?: components["schemas"]["IApiElementModel"]; + settings: components["schemas"]["IApiElementModel"]; }; ApiBlockListModel: { - items: (components["schemas"]["ApiBlockItemModel"] | components["schemas"]["ApiBlockGridItemModel"])[]; - }; - ApiContentRouteModel: { - path: string; - queryString?: string | null; - startItem: components["schemas"]["ApiContentStartItemModel"]; + items: components["schemas"]["ApiBlockItemModel"][]; }; - ApiContentStartItemModel: { - /** Format: uuid */ - id: string; - path: string; + ApiImageCropperValueModel: { + url: string; + focalPoint: components["schemas"]["ImageFocalPointModel"]; + crops: null | components["schemas"]["ImageCropModel"][]; }; ApiLinkModel: { - readonly url?: string | null; - readonly queryString?: string | null; - readonly title?: string | null; - readonly target?: string | null; + url?: null | string; + queryString?: null | string; + title?: null | string; + target?: null | string; /** Format: uuid */ - readonly destinationId?: string | null; - readonly destinationType?: string | null; - readonly route?: components["schemas"]["ApiContentRouteModel"] | null; + destinationId?: null | string; + destinationType?: null | string; + route?: components["schemas"]["IApiContentRouteModel"]; linkType: components["schemas"]["LinkTypeModel"]; - readonly culture?: string | null; + culture?: null | string; }; ConferenceContentModel: { - properties?: components["schemas"]["ConferencePropertiesModel"]; - } & (Omit & { + /** @constant */ + contentType: "conference"; + properties?: components["schemas"]["ConferenceContentPropertiesModel"]; + } & (WithRequired & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ contentType: "conference"; }); - ConferenceContentResponseModel: Omit & Omit & { + ConferenceContentPropertiesModel: { + /** Format: date-time */ + date?: null | string; + registerUrl?: null | string; + callForSpeakersUrl?: null | string; + tagline?: null | string; + location?: null | string; + surveyUrl?: null | components["schemas"]["ApiLinkModel"][]; + /** Format: date-time */ + surveyAvailableAt?: null | string; + mobileAppLinks?: null | components["schemas"]["ApiLinkModel"][]; + }; + ConferenceContentResponseModel: components["schemas"]["IApiContentResponseBaseModel"] & components["schemas"]["ConferenceContentModel"] & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ contentType: "conference"; }; - ConferencePropertiesModel: { - /** Format: date-time */ - date?: string | null; - registerUrl?: string | null; - callForSpeakersUrl?: string | null; - tagline?: string | null; - location?: string | null; - surveyUrl?: components["schemas"]["ApiLinkModel"][] | null; - /** Format: date-time */ - surveyAvailableAt?: string | null; - mobileAppLinks?: components["schemas"]["ApiLinkModel"][] | null; - }; ConferencesContentModel: { - properties?: components["schemas"]["ConferencesPropertiesModel"]; - } & (Omit & { + /** @constant */ + contentType: "conferences"; + properties?: components["schemas"]["ConferencesContentPropertiesModel"]; + } & (WithRequired & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ contentType: "conferences"; }); - ConferencesContentResponseModel: Omit & Omit & { + ConferencesContentPropertiesModel: Record; + ConferencesContentResponseModel: components["schemas"]["IApiContentResponseBaseModel"] & components["schemas"]["ConferencesContentModel"] & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ contentType: "conferences"; }; - ConferencesPropertiesModel: Record; + FileMediaPropertiesModel: { + umbracoFile?: null | string; + umbracoExtension?: null | string; + /** Format: int64 */ + umbracoBytes?: null | number; + }; + FileMediaWithCropsModel: { + /** @constant */ + mediaType: "File"; + properties?: components["schemas"]["FileMediaPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "File"; + }); + FileMediaWithCropsResponseModel: components["schemas"]["IApiMediaWithCropsResponseBaseModel"] & components["schemas"]["FileMediaWithCropsModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "File"; + }; + FolderMediaPropertiesModel: Record; + FolderMediaWithCropsModel: { + /** @constant */ + mediaType: "Folder"; + properties?: components["schemas"]["FolderMediaPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "Folder"; + }); + FolderMediaWithCropsResponseModel: components["schemas"]["IApiMediaWithCropsResponseBaseModel"] & components["schemas"]["FolderMediaWithCropsModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "Folder"; + }; HomeContentModel: { - properties?: components["schemas"]["HomePropertiesModel"]; - } & (Omit & { + /** @constant */ + contentType: "home"; + properties?: components["schemas"]["HomeContentPropertiesModel"]; + } & (WithRequired & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ contentType: "home"; }); - HomeContentResponseModel: Omit & Omit & { + HomeContentPropertiesModel: components["schemas"]["PageContentPropertiesModel"]; + HomeContentResponseModel: components["schemas"]["IApiContentResponseBaseModel"] & components["schemas"]["HomeContentModel"] & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ contentType: "home"; }; - HomePropertiesModel: components["schemas"]["PagePropertiesModel"]; - HttpValidationProblemDetails: components["schemas"]["ProblemDetails"] & ({ - errors?: { - [key: string]: string[]; - }; - } & { - [key: string]: unknown; - }); - IApiContentModel: components["schemas"]["ConferenceContentModel"] | components["schemas"]["SponsorsContentModel"] | components["schemas"]["SessionContentModel"] | components["schemas"]["SpeakersContentModel"] | components["schemas"]["TrackContentModel"] | components["schemas"]["SpeakerContentModel"] | components["schemas"]["SessionsContentModel"] | components["schemas"]["HomeContentModel"] | components["schemas"]["ConferencesContentModel"] | components["schemas"]["PageContentModel"]; - IApiContentModelBase: { - /** Format: uuid */ - readonly id: string; - readonly contentType: string; - readonly name?: string | null; + IApiContentBaseModel: { + contentType: null | string; + name?: null | string; /** Format: date-time */ - readonly createDate: string; + createDate: string; /** Format: date-time */ - readonly updateDate: string; - readonly route: components["schemas"]["ApiContentRouteModel"]; - } & Omit, "contentType">; - IApiContentResponseModel: components["schemas"]["ConferenceContentResponseModel"] | components["schemas"]["SponsorsContentResponseModel"] | components["schemas"]["SessionContentResponseModel"] | components["schemas"]["SpeakersContentResponseModel"] | components["schemas"]["TrackContentResponseModel"] | components["schemas"]["SpeakerContentResponseModel"] | components["schemas"]["SessionsContentResponseModel"] | components["schemas"]["HomeContentResponseModel"] | components["schemas"]["ConferencesContentResponseModel"] | components["schemas"]["PageContentResponseModel"]; - IApiContentResponseModelBase: { + updateDate: string; + route: components["schemas"]["IApiContentRouteModel"]; /** Format: uuid */ - readonly id: string; - readonly contentType: string; - readonly name?: string | null; + id: string; + properties: null | Record; + }; + IApiContentModel: components["schemas"]["ConferenceContentModel"] | components["schemas"]["SponsorsContentModel"] | components["schemas"]["SessionContentModel"] | components["schemas"]["SpeakersContentModel"] | components["schemas"]["TrackContentModel"] | components["schemas"]["SpeakerContentModel"] | components["schemas"]["SessionsContentModel"] | components["schemas"]["HomeContentModel"] | components["schemas"]["ConferencesContentModel"] | components["schemas"]["PageContentModel"]; + IApiContentResponseBaseModel: { + contentType: null | string; + name?: null | string; /** Format: date-time */ - readonly createDate: string; + createDate: string; /** Format: date-time */ - readonly updateDate: string; - readonly route: components["schemas"]["ApiContentRouteModel"]; - readonly cultures: { - [key: string]: components["schemas"]["ApiContentRouteModel"]; + updateDate: string; + route: components["schemas"]["IApiContentRouteModel"]; + /** Format: uuid */ + id: string; + properties: null | Record; + cultures: null | { + [key: string]: { + path: null | string; + queryString?: null | string; + startItem: { + /** Format: uuid */ + id: string; + path: null | string; + }; + }; }; - } & Omit, "contentType">; - IApiElementModel: components["schemas"]["SponsorElementModel"] | components["schemas"]["SponsorTierElementModel"] | components["schemas"]["IntroAndEmailSignupBlockElementModel"] | components["schemas"]["ScheduleBlockElementModel"] | components["schemas"]["TextWithButtonsElementModel"] | components["schemas"]["SponsorsBlockElementModel"] | components["schemas"]["LocationBlockElementModel"] | components["schemas"]["RichTextElementModel"]; - IApiElementModelBase: { + }; + IApiContentResponseModel: components["schemas"]["ConferenceContentResponseModel"] | components["schemas"]["SponsorsContentResponseModel"] | components["schemas"]["SessionContentResponseModel"] | components["schemas"]["SpeakersContentResponseModel"] | components["schemas"]["TrackContentResponseModel"] | components["schemas"]["SpeakerContentResponseModel"] | components["schemas"]["SessionsContentResponseModel"] | components["schemas"]["HomeContentResponseModel"] | components["schemas"]["ConferencesContentResponseModel"] | components["schemas"]["PageContentResponseModel"]; + IApiContentRouteModel: { + path: null | string; + queryString?: null | string; + startItem: components["schemas"]["IApiContentStartItemModel"]; + }; + IApiContentStartItemModel: { /** Format: uuid */ - readonly id: string; - readonly contentType: string; + id: string; + path: null | string; }; - IApiMediaWithCropsModel: { + IApiElementBaseModel: { + contentType: null | string; /** Format: uuid */ - readonly id: string; - readonly name: string; - readonly mediaType: string; - readonly url: string; - readonly extension?: string | null; + id: string; + properties: null | Record; + }; + IApiElementModel: components["schemas"]["SponsorElementModel"] | components["schemas"]["SponsorTierElementModel"] | components["schemas"]["IntroAndEmailSignupBlockElementModel"] | components["schemas"]["ScheduleBlockElementModel"] | components["schemas"]["TextWithButtonsElementModel"] | components["schemas"]["SponsorsBlockElementModel"] | components["schemas"]["LocationBlockElementModel"] | components["schemas"]["RichTextElementModel"]; + IApiMediaWithCropsBaseModel: { + focalPoint?: components["schemas"]["ImageFocalPointModel"]; + crops?: null | components["schemas"]["ImageCropModel"][]; + /** Format: uuid */ + id: string; + name: null | string; + mediaType: null | string; + url: null | string; + extension?: null | string; /** Format: int32 */ - readonly width?: number | null; + width?: null | number; /** Format: int32 */ - readonly height?: number | null; + height?: null | number; /** Format: int32 */ - readonly bytes?: number | null; - readonly properties: { - [key: string]: unknown; - }; - focalPoint?: components["schemas"]["ImageFocalPointModel"]; - readonly crops?: components["schemas"]["ImageCropModel"][] | null; + bytes?: null | number; + properties: null | Record; }; - IApiMediaWithCropsResponseModel: { + IApiMediaWithCropsModel: components["schemas"]["FolderMediaWithCropsModel"] | components["schemas"]["ImageMediaWithCropsModel"] | components["schemas"]["FileMediaWithCropsModel"] | components["schemas"]["UmbracoMediaVideoMediaWithCropsModel"] | components["schemas"]["UmbracoMediaAudioMediaWithCropsModel"] | components["schemas"]["UmbracoMediaArticleMediaWithCropsModel"] | components["schemas"]["UmbracoMediaVectorGraphicsMediaWithCropsModel"]; + IApiMediaWithCropsResponseBaseModel: { + path: null | string; + /** Format: date-time */ + createDate: string; + /** Format: date-time */ + updateDate: string; + focalPoint?: components["schemas"]["ImageFocalPointModel"]; + crops?: null | components["schemas"]["ImageCropModel"][]; /** Format: uuid */ - readonly id: string; - readonly name: string; - readonly mediaType: string; - readonly url: string; - readonly extension?: string | null; + id: string; + name: null | string; + mediaType: null | string; + url: null | string; + extension?: null | string; /** Format: int32 */ - readonly width?: number | null; + width?: null | number; /** Format: int32 */ - readonly height?: number | null; + height?: null | number; /** Format: int32 */ - readonly bytes?: number | null; - readonly properties: { - [key: string]: unknown; - }; - focalPoint: components["schemas"]["ImageFocalPointModel"]; - readonly crops?: components["schemas"]["ImageCropModel"][] | null; - readonly path: string; - /** Format: date-time */ - readonly createDate: string; - /** Format: date-time */ - readonly updateDate: string; + bytes?: null | number; + properties: null | Record; }; + IApiMediaWithCropsResponseModel: components["schemas"]["FolderMediaWithCropsResponseModel"] | components["schemas"]["ImageMediaWithCropsResponseModel"] | components["schemas"]["FileMediaWithCropsResponseModel"] | components["schemas"]["UmbracoMediaVideoMediaWithCropsResponseModel"] | components["schemas"]["UmbracoMediaAudioMediaWithCropsResponseModel"] | components["schemas"]["UmbracoMediaArticleMediaWithCropsResponseModel"] | components["schemas"]["UmbracoMediaVectorGraphicsMediaWithCropsResponseModel"]; ImageCropCoordinatesModel: { /** Format: double */ x1: number; @@ -333,12 +372,12 @@ export interface components { y2: number; }; ImageCropModel: { - alias?: string | null; + alias: null | string; /** Format: int32 */ width: number; /** Format: int32 */ height: number; - coordinates?: components["schemas"]["ImageCropCoordinatesModel"]; + coordinates: components["schemas"]["ImageCropCoordinatesModel"]; }; ImageFocalPointModel: { /** Format: double */ @@ -346,43 +385,86 @@ export interface components { /** Format: double */ top: number; }; + ImageMediaPropertiesModel: { + umbracoFile?: components["schemas"]["ApiImageCropperValueModel"] | null; + /** Format: int32 */ + umbracoWidth?: null | number; + /** Format: int32 */ + umbracoHeight?: null | number; + /** Format: int64 */ + umbracoBytes?: null | number; + umbracoExtension?: null | string; + }; + ImageMediaWithCropsModel: { + /** @constant */ + mediaType: "Image"; + properties?: components["schemas"]["ImageMediaPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "Image"; + }); + ImageMediaWithCropsResponseModel: components["schemas"]["IApiMediaWithCropsResponseBaseModel"] & components["schemas"]["ImageMediaWithCropsModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "Image"; + }; IntroAndEmailSignupBlockElementModel: { - properties?: components["schemas"]["IntroAndEmailSignupBlockPropertiesModel"]; - } & (Omit & { + /** @constant */ + contentType: "introAndEmailSignupBlock"; + properties?: components["schemas"]["IntroAndEmailSignupBlockElementPropertiesModel"]; + } & (WithRequired & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ contentType: "introAndEmailSignupBlock"; }); - IntroAndEmailSignupBlockPropertiesModel: { - text?: components["schemas"]["RichTextModel"]; - emailSignupText?: string | null; + IntroAndEmailSignupBlockElementPropertiesModel: { + text?: components["schemas"]["RichTextModel"] | null; + emailSignupText?: null | string; }; - /** @enum {string} */ + /** @enum {unknown} */ LinkTypeModel: "Content" | "Media" | "External"; LocationBlockElementModel: { - properties?: components["schemas"]["LocationBlockPropertiesModel"]; - } & (Omit & { + /** @constant */ + contentType: "locationBlock"; + properties?: components["schemas"]["LocationBlockElementPropertiesModel"]; + } & (WithRequired & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ contentType: "locationBlock"; }); - LocationBlockPropertiesModel: Record; + LocationBlockElementPropertiesModel: Record; PageContentModel: { - contentType: "PageContentModel"; - properties?: components["schemas"]["PagePropertiesModel"]; - } & Omit; - PageContentResponseModel: { - contentType: "PageContentResponseModel"; - } & (Omit & Omit); - PagePropertiesModel: { - blocks?: components["schemas"]["ApiBlockListModel"]; - title?: string | null; - metaDescription?: string | null; - openGraphImage?: components["schemas"]["IApiMediaWithCropsModel"][] | null; + /** @constant */ + contentType: "page"; + properties?: components["schemas"]["PageContentPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "page"; + }); + PageContentPropertiesModel: { + blocks?: components["schemas"]["ApiBlockListModel"] | null; + title?: null | string; + metaDescription?: null | string; + openGraphImage?: null | components["schemas"]["IApiMediaWithCropsModel"][]; + }; + PageContentResponseModel: components["schemas"]["IApiContentResponseBaseModel"] & components["schemas"]["PageContentModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "page"; }; PagedIApiContentResponseModel: { /** Format: int64 */ @@ -395,161 +477,337 @@ export interface components { items: components["schemas"]["IApiMediaWithCropsResponseModel"][]; }; ProblemDetails: { - type?: string | null; - title?: string | null; + type?: null | string; + title?: null | string; /** Format: int32 */ - status?: number | null; - detail?: string | null; - instance?: string | null; - } & { - [key: string]: unknown; + status?: null | number; + detail?: null | string; + instance?: null | string; }; RichTextElementModel: { - properties?: components["schemas"]["RichTextPropertiesModel"]; - } & (Omit & { + /** @constant */ + contentType: "richText"; + properties?: components["schemas"]["RichTextElementPropertiesModel"]; + } & (WithRequired & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ contentType: "richText"; }); + RichTextElementPropertiesModel: { + text?: components["schemas"]["RichTextModel"] | null; + }; RichTextModel: { markup: string; - blocks: (components["schemas"]["ApiBlockItemModel"] | components["schemas"]["ApiBlockGridItemModel"])[]; - }; - RichTextPropertiesModel: { - text?: components["schemas"]["RichTextModel"]; + blocks: components["schemas"]["ApiBlockItemModel"][]; }; ScheduleBlockElementModel: { - properties?: components["schemas"]["ScheduleBlockPropertiesModel"]; - } & (Omit & { + /** @constant */ + contentType: "scheduleBlock"; + properties?: components["schemas"]["ScheduleBlockElementPropertiesModel"]; + } & (WithRequired & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ contentType: "scheduleBlock"; }); - ScheduleBlockPropertiesModel: Record; + ScheduleBlockElementPropertiesModel: Record; SessionContentModel: { - contentType: "SessionContentModel"; - properties?: components["schemas"]["SessionPropertiesModel"]; - } & Omit; - SessionContentResponseModel: { - contentType: "SessionContentResponseModel"; - } & (Omit & Omit); - SessionPropertiesModel: { + /** @constant */ + contentType: "session"; + properties?: components["schemas"]["SessionContentPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "session"; + }); + SessionContentPropertiesModel: { /** Format: date-time */ - start?: string | null; + start?: null | string; /** Format: date-time */ - end?: string | null; - speakers?: components["schemas"]["IApiContentModel"][] | null; - isEligibleForFeedback?: boolean | null; - description?: components["schemas"]["RichTextModel"]; + end?: null | string; + speakers?: null | components["schemas"]["IApiContentModel"][]; + isEligibleForFeedback?: null | boolean; + description?: components["schemas"]["RichTextModel"] | null; + }; + SessionContentResponseModel: components["schemas"]["IApiContentResponseBaseModel"] & components["schemas"]["SessionContentModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "session"; }; SessionsContentModel: { - contentType: "SessionsContentModel"; - properties?: components["schemas"]["SessionsPropertiesModel"]; - } & Omit; - SessionsContentResponseModel: { - contentType: "SessionsContentResponseModel"; - } & (Omit & Omit); - SessionsPropertiesModel: Record; + /** @constant */ + contentType: "sessions"; + properties?: components["schemas"]["SessionsContentPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "sessions"; + }); + SessionsContentPropertiesModel: Record; + SessionsContentResponseModel: components["schemas"]["IApiContentResponseBaseModel"] & components["schemas"]["SessionsContentModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "sessions"; + }; SpeakerContentModel: { - contentType: "SpeakerContentModel"; - properties?: components["schemas"]["SpeakerPropertiesModel"]; - } & Omit; - SpeakerContentResponseModel: { - contentType: "SpeakerContentResponseModel"; - } & (Omit & Omit); - SpeakerPropertiesModel: { - jobTitle?: string | null; - profileImage?: components["schemas"]["IApiMediaWithCropsModel"][] | null; - bio?: components["schemas"]["RichTextModel"]; - websiteUrl?: string | null; - xTwitterUrl?: string | null; - linkedInUrl?: string | null; - instagramUrl?: string | null; + /** @constant */ + contentType: "speaker"; + properties?: components["schemas"]["SpeakerContentPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "speaker"; + }); + SpeakerContentPropertiesModel: { + jobTitle?: null | string; + profileImage?: null | components["schemas"]["IApiMediaWithCropsModel"][]; + bio?: components["schemas"]["RichTextModel"] | null; + websiteUrl?: null | string; + xTwitterUrl?: null | string; + linkedInUrl?: null | string; + instagramUrl?: null | string; + }; + SpeakerContentResponseModel: components["schemas"]["IApiContentResponseBaseModel"] & components["schemas"]["SpeakerContentModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "speaker"; }; SpeakersContentModel: { - contentType: "SpeakersContentModel"; - properties?: components["schemas"]["SpeakersPropertiesModel"]; - } & Omit; - SpeakersContentResponseModel: { - contentType: "SpeakersContentResponseModel"; - } & (Omit & Omit); - SpeakersPropertiesModel: Record; - SponsorElementModel: { - properties?: components["schemas"]["SponsorPropertiesModel"]; - } & (Omit & { + /** @constant */ + contentType: "speakers"; + properties?: components["schemas"]["SpeakersContentPropertiesModel"]; + } & (WithRequired & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ - contentType: "sponsor"; + contentType: "speakers"; }); - SponsorPropertiesModel: { - title?: string | null; - logo?: components["schemas"]["IApiMediaWithCropsModel"][] | null; - darkBackground?: boolean | null; - mobileAppSponsor?: boolean | null; - url?: string | null; + SpeakersContentPropertiesModel: Record; + SpeakersContentResponseModel: components["schemas"]["IApiContentResponseBaseModel"] & components["schemas"]["SpeakersContentModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "speakers"; }; - SponsorTierElementModel: { - properties?: components["schemas"]["SponsorTierPropertiesModel"]; - } & (Omit & { + SponsorElementModel: { + /** @constant */ + contentType: "sponsor"; + properties?: components["schemas"]["SponsorElementPropertiesModel"]; + } & (WithRequired & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ - contentType: "sponsorTier"; + contentType: "sponsor"; }); - SponsorTierPropertiesModel: { - title?: string | null; - logoSizes?: string | null; - sponsors?: components["schemas"]["ApiBlockListModel"]; + SponsorElementPropertiesModel: { + title?: null | string; + logo?: null | components["schemas"]["IApiMediaWithCropsModel"][]; + darkBackground?: null | boolean; + mobileAppSponsor?: null | boolean; + url?: null | string; }; SponsorsBlockElementModel: { - properties?: components["schemas"]["SponsorsBlockPropertiesModel"]; - } & (Omit & { + /** @constant */ + contentType: "sponsorsBlock"; + properties?: components["schemas"]["SponsorsBlockElementPropertiesModel"]; + } & (WithRequired & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ contentType: "sponsorsBlock"; }); - SponsorsBlockPropertiesModel: Record; + SponsorsBlockElementPropertiesModel: Record; SponsorsContentModel: { - contentType: "SponsorsContentModel"; - properties?: components["schemas"]["SponsorsPropertiesModel"]; - } & Omit; - SponsorsContentResponseModel: { - contentType: "SponsorsContentResponseModel"; - } & (Omit & Omit); - SponsorsPropertiesModel: { - tiers?: components["schemas"]["ApiBlockListModel"]; - opportunitiesUrl?: components["schemas"]["ApiLinkModel"][] | null; + /** @constant */ + contentType: "sponsors"; + properties?: components["schemas"]["SponsorsContentPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "sponsors"; + }); + SponsorsContentPropertiesModel: { + tiers?: components["schemas"]["ApiBlockListModel"] | null; + opportunitiesUrl?: null | components["schemas"]["ApiLinkModel"][]; + }; + SponsorsContentResponseModel: components["schemas"]["IApiContentResponseBaseModel"] & components["schemas"]["SponsorsContentModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "sponsors"; + }; + SponsorTierElementModel: { + /** @constant */ + contentType: "sponsorTier"; + properties?: components["schemas"]["SponsorTierElementPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "sponsorTier"; + }); + SponsorTierElementPropertiesModel: { + title?: null | string; + logoSizes?: null | string; + sponsors?: components["schemas"]["ApiBlockListModel"] | null; }; TextWithButtonsElementModel: { - properties?: components["schemas"]["TextWithButtonsPropertiesModel"]; - } & (Omit & { + /** @constant */ + contentType: "textWithButtons"; + properties?: components["schemas"]["TextWithButtonsElementPropertiesModel"]; + } & (WithRequired & { /** * @description discriminator enum property added by openapi-typescript * @enum {string} */ contentType: "textWithButtons"; }); - TextWithButtonsPropertiesModel: { - text?: components["schemas"]["RichTextModel"]; - buttons?: components["schemas"]["ApiLinkModel"][] | null; + TextWithButtonsElementPropertiesModel: { + text?: components["schemas"]["RichTextModel"] | null; + buttons?: null | components["schemas"]["ApiLinkModel"][]; }; TrackContentModel: { - contentType: "TrackContentModel"; - properties?: components["schemas"]["TrackPropertiesModel"]; - } & Omit; - TrackContentResponseModel: { - contentType: "TrackContentResponseModel"; - } & (Omit & Omit); - TrackPropertiesModel: Record; + /** @constant */ + contentType: "track"; + properties?: components["schemas"]["TrackContentPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "track"; + }); + TrackContentPropertiesModel: Record; + TrackContentResponseModel: components["schemas"]["IApiContentResponseBaseModel"] & components["schemas"]["TrackContentModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + contentType: "track"; + }; + UmbracoMediaArticleMediaPropertiesModel: { + umbracoFile?: null | string; + umbracoExtension?: null | string; + /** Format: int64 */ + umbracoBytes?: null | number; + }; + UmbracoMediaArticleMediaWithCropsModel: { + /** @constant */ + mediaType: "umbracoMediaArticle"; + properties?: components["schemas"]["UmbracoMediaArticleMediaPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "umbracoMediaArticle"; + }); + UmbracoMediaArticleMediaWithCropsResponseModel: components["schemas"]["IApiMediaWithCropsResponseBaseModel"] & components["schemas"]["UmbracoMediaArticleMediaWithCropsModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "umbracoMediaArticle"; + }; + UmbracoMediaAudioMediaPropertiesModel: { + umbracoFile?: null | string; + umbracoExtension?: null | string; + /** Format: int64 */ + umbracoBytes?: null | number; + }; + UmbracoMediaAudioMediaWithCropsModel: { + /** @constant */ + mediaType: "umbracoMediaAudio"; + properties?: components["schemas"]["UmbracoMediaAudioMediaPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "umbracoMediaAudio"; + }); + UmbracoMediaAudioMediaWithCropsResponseModel: components["schemas"]["IApiMediaWithCropsResponseBaseModel"] & components["schemas"]["UmbracoMediaAudioMediaWithCropsModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "umbracoMediaAudio"; + }; + UmbracoMediaVectorGraphicsMediaPropertiesModel: { + umbracoFile?: null | string; + umbracoExtension?: null | string; + /** Format: int64 */ + umbracoBytes?: null | number; + /** Format: int32 */ + umbracoWidth?: null | number; + /** Format: int32 */ + umbracoHeight?: null | number; + }; + UmbracoMediaVectorGraphicsMediaWithCropsModel: { + /** @constant */ + mediaType: "umbracoMediaVectorGraphics"; + properties?: components["schemas"]["UmbracoMediaVectorGraphicsMediaPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "umbracoMediaVectorGraphics"; + }); + UmbracoMediaVectorGraphicsMediaWithCropsResponseModel: components["schemas"]["IApiMediaWithCropsResponseBaseModel"] & components["schemas"]["UmbracoMediaVectorGraphicsMediaWithCropsModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "umbracoMediaVectorGraphics"; + }; + UmbracoMediaVideoMediaPropertiesModel: { + umbracoFile?: null | string; + umbracoExtension?: null | string; + /** Format: int64 */ + umbracoBytes?: null | number; + }; + UmbracoMediaVideoMediaWithCropsModel: { + /** @constant */ + mediaType: "umbracoMediaVideo"; + properties?: components["schemas"]["UmbracoMediaVideoMediaPropertiesModel"]; + } & (WithRequired & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "umbracoMediaVideo"; + }); + UmbracoMediaVideoMediaWithCropsResponseModel: components["schemas"]["IApiMediaWithCropsResponseBaseModel"] & components["schemas"]["UmbracoMediaVideoMediaWithCropsModel"] & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + mediaType: "umbracoMediaVideo"; + }; }; responses: never; parameters: never; @@ -582,8 +840,6 @@ export interface operations { "Accept-Language"?: string; /** @description Defines the segment to return. Use this when querying segment variant content items. */ "Accept-Segment"?: string; - /** @description API key specified through configuration to authorize access to the API. */ - "Api-Key"?: string; /** @description Whether to request draft content. */ Preview?: boolean; /** @description URL segment or GUID of a root content item. */ @@ -609,7 +865,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["ProblemDetails"] | components["schemas"]["HttpValidationProblemDetails"]; + "application/json": components["schemas"]["ProblemDetails"]; }; }; /** @description Not Found */ @@ -621,7 +877,7 @@ export interface operations { }; }; }; - "GetContentItemByPath2.0": { + "GetContentItemById2.0": { parameters: { query?: { /** @description Defines the properties that should be expanded in the response. Refer to [the documentation](https://docs.umbraco.com/umbraco-cms/reference/content-delivery-api#query-parameters) for more details on this. */ @@ -634,15 +890,13 @@ export interface operations { "Accept-Language"?: string; /** @description Defines the segment to return. Use this when querying segment variant content items. */ "Accept-Segment"?: string; - /** @description API key specified through configuration to authorize access to the API. */ - "Api-Key"?: string; /** @description Whether to request draft content. */ Preview?: boolean; /** @description URL segment or GUID of a root content item. */ "Start-Item"?: string; }; path: { - path: string; + id: string; }; cookie?: never; }; @@ -680,7 +934,7 @@ export interface operations { }; }; }; - "GetContentItemById2.0": { + "GetContentItemByPath2.0": { parameters: { query?: { /** @description Defines the properties that should be expanded in the response. Refer to [the documentation](https://docs.umbraco.com/umbraco-cms/reference/content-delivery-api#query-parameters) for more details on this. */ @@ -693,15 +947,13 @@ export interface operations { "Accept-Language"?: string; /** @description Defines the segment to return. Use this when querying segment variant content items. */ "Accept-Segment"?: string; - /** @description API key specified through configuration to authorize access to the API. */ - "Api-Key"?: string; /** @description Whether to request draft content. */ Preview?: boolean; /** @description URL segment or GUID of a root content item. */ "Start-Item"?: string; }; path: { - id: string; + path: string; }; cookie?: never; }; @@ -753,8 +1005,6 @@ export interface operations { "Accept-Language"?: string; /** @description Defines the segment to return. Use this when querying segment variant content items. */ "Accept-Segment"?: string; - /** @description API key specified through configuration to authorize access to the API. */ - "Api-Key"?: string; /** @description Whether to request draft content. */ Preview?: boolean; /** @description URL segment or GUID of a root content item. */ @@ -808,10 +1058,7 @@ export interface operations { /** @description Explicitly defines which properties should be included in the response (by default all properties are included). Refer to [the documentation](https://docs.umbraco.com/umbraco-cms/reference/content-delivery-api/media-delivery-api#query-parameters) for more details on this. */ fields?: string; }; - header?: { - /** @description API key specified through configuration to authorize access to the API. */ - "Api-Key"?: string; - }; + header?: never; path?: never; cookie?: never; }; @@ -832,12 +1079,12 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["ProblemDetails"] | components["schemas"]["HttpValidationProblemDetails"]; + "application/json": components["schemas"]["ProblemDetails"]; }; }; }; }; - "GetMediaItemByPath2.0": { + "GetMediaItemById2.0": { parameters: { query?: { /** @description Defines the properties that should be expanded in the response. Refer to [the documentation](https://docs.umbraco.com/umbraco-cms/reference/content-delivery-api/media-delivery-api#query-parameters) for more details on this. */ @@ -845,12 +1092,9 @@ export interface operations { /** @description Explicitly defines which properties should be included in the response (by default all properties are included). Refer to [the documentation](https://docs.umbraco.com/umbraco-cms/reference/content-delivery-api/media-delivery-api#query-parameters) for more details on this. */ fields?: string; }; - header?: { - /** @description API key specified through configuration to authorize access to the API. */ - "Api-Key"?: string; - }; + header?: never; path: { - path: string; + id: string; }; cookie?: never; }; @@ -874,7 +1118,7 @@ export interface operations { }; }; }; - "GetMediaItemById2.0": { + "GetMediaItemByPath2.0": { parameters: { query?: { /** @description Defines the properties that should be expanded in the response. Refer to [the documentation](https://docs.umbraco.com/umbraco-cms/reference/content-delivery-api/media-delivery-api#query-parameters) for more details on this. */ @@ -882,12 +1126,9 @@ export interface operations { /** @description Explicitly defines which properties should be included in the response (by default all properties are included). Refer to [the documentation](https://docs.umbraco.com/umbraco-cms/reference/content-delivery-api/media-delivery-api#query-parameters) for more details on this. */ fields?: string; }; - header?: { - /** @description API key specified through configuration to authorize access to the API. */ - "Api-Key"?: string; - }; + header?: never; path: { - id: string; + path: string; }; cookie?: never; }; @@ -920,10 +1161,7 @@ export interface operations { /** @description Explicitly defines which properties should be included in the response (by default all properties are included). Refer to [the documentation](https://docs.umbraco.com/umbraco-cms/reference/content-delivery-api/media-delivery-api#query-parameters) for more details on this. */ fields?: string; }; - header?: { - /** @description API key specified through configuration to authorize access to the API. */ - "Api-Key"?: string; - }; + header?: never; path?: never; cookie?: never; }; diff --git a/frontend/src/data/umbraco/getItemByPath.ts b/frontend/src/data/umbraco/getItemByPath.ts index 6b4f1d4..3d3222e 100644 --- a/frontend/src/data/umbraco/getItemByPath.ts +++ b/frontend/src/data/umbraco/getItemByPath.ts @@ -1,7 +1,6 @@ import { umbracoClient } from '@/data/umbraco/client'; import type { paths } from '@/data/umbraco/deliveryApiSchema'; import type { - RawUmbracoContent, UmbracoClientOptions, UmbracoContent, } from '@/data/umbraco/types'; @@ -27,21 +26,14 @@ export async function getItemByPathOrDefault( export async function getItemByPath( path: string, { requestOptions = {}, ...options }: GetItemByPathOptions = {}, -): Promise<{ - data?: RawUmbracoContent; - error?: unknown; - response: Response; -}> { - return await umbracoClient.GET( - '/umbraco/delivery/api/v2/content/item/{path}', - { - params: { - path: { - path: path, - }, - query: options, +) { + return umbracoClient.GET('/umbraco/delivery/api/v2/content/item/{path}', { + params: { + path: { + path: path, }, - ...requestOptions, + query: options, }, - ); + ...requestOptions, + }); } diff --git a/frontend/src/data/umbraco/getItems.ts b/frontend/src/data/umbraco/getItems.ts index 47b3606..06d1613 100644 --- a/frontend/src/data/umbraco/getItems.ts +++ b/frontend/src/data/umbraco/getItems.ts @@ -1,7 +1,6 @@ import { umbracoClient } from '@/data/umbraco/client'; import type { paths } from '@/data/umbraco/deliveryApiSchema'; import type { - RawUmbracoContentCollection, UmbracoClientOptions, UmbracoContentCollection, } from '@/data/umbraco/types'; @@ -27,12 +26,8 @@ export async function getItemsOrDefault( export async function getItems({ requestOptions, ...options -}: GetItemsOptions): Promise<{ - data?: RawUmbracoContentCollection; - error?: unknown; - response: Response; -}> { - return await umbracoClient.GET('/umbraco/delivery/api/v2/content', { +}: GetItemsOptions) { + return umbracoClient.GET('/umbraco/delivery/api/v2/content', { params: { query: options, }, diff --git a/frontend/src/data/umbraco/treeByRoutePath.ts b/frontend/src/data/umbraco/treeByRoutePath.ts index 05b36e0..eed2d7c 100644 --- a/frontend/src/data/umbraco/treeByRoutePath.ts +++ b/frontend/src/data/umbraco/treeByRoutePath.ts @@ -6,7 +6,7 @@ const originalOrder = Symbol(); type WithOriginalOrder = T & { [originalOrder]?: number }; -export function treeByRoutePath( +export function treeByRoutePath( items: T[], ): Nested[] { const itemsWithOriginalOrder = items.map((item, index) => { @@ -16,7 +16,7 @@ export function treeByRoutePath( }); const sortedItems = itemsWithOriginalOrder.sort( - (a, b) => a.route.path.length - b.route.path.length, + (a, b) => (a.route.path ?? '').length - (b.route.path ?? '').length, ); const tree = treeByRoutePathSorted(sortedItems); @@ -26,7 +26,7 @@ export function treeByRoutePath( return tree; } -function treeByRoutePathSorted( +function treeByRoutePathSorted( items: T[], ): Nested[] { const [shortestItem, ...otherItems] = items; @@ -35,8 +35,10 @@ function treeByRoutePathSorted( return []; } + const shortestPath = shortestItem.route.path ?? ''; + const [matchingItems, nonMatchingItems] = splitBy(otherItems, (item) => - item.route.path.startsWith(shortestItem.route.path), + (item.route.path ?? '').startsWith(shortestPath), ); const itemWithChildren = shortestItem as Nested; diff --git a/frontend/src/data/umbraco/types.ts b/frontend/src/data/umbraco/types.ts index 7ffc1d8..b7e9267 100644 --- a/frontend/src/data/umbraco/types.ts +++ b/frontend/src/data/umbraco/types.ts @@ -1,95 +1,58 @@ import type { components } from '@/data/umbraco/deliveryApiSchema'; -const CONTENT_TYPE_MAP = { - PageContentModel: 'page', - PageContentResponseModel: 'page', - SessionContentModel: 'session', - SessionContentResponseModel: 'session', - SessionsContentModel: 'sessions', - SessionsContentResponseModel: 'sessions', - SpeakerContentModel: 'speaker', - SpeakerContentResponseModel: 'speaker', - SpeakersContentModel: 'speakers', - SpeakersContentResponseModel: 'speakers', - SponsorsContentModel: 'sponsors', - SponsorsContentResponseModel: 'sponsors', - TrackContentModel: 'track', - TrackContentResponseModel: 'track', -} as const; - -type ContentTypeMap = { - [K in keyof typeof CONTENT_TYPE_MAP]: (typeof CONTENT_TYPE_MAP)[K]; -}; - -type NormalizeContentType = T extends keyof ContentTypeMap - ? ContentTypeMap[T] +// The v18 OpenAPI schema intersects each content model with a base model that has +// `properties: null | Record`. This poisons the specific properties +// model via the index signature. ResolveContent overrides `properties` with the +// correct specific type for each content type. +type ContentPropertiesFor = C extends 'conference' + ? components['schemas']['ConferenceContentPropertiesModel'] + : C extends 'conferences' + ? components['schemas']['ConferencesContentPropertiesModel'] + : C extends 'home' + ? components['schemas']['HomeContentPropertiesModel'] + : C extends 'page' + ? components['schemas']['PageContentPropertiesModel'] + : C extends 'session' + ? components['schemas']['SessionContentPropertiesModel'] + : C extends 'sessions' + ? components['schemas']['SessionsContentPropertiesModel'] + : C extends 'speaker' + ? components['schemas']['SpeakerContentPropertiesModel'] + : C extends 'speakers' + ? components['schemas']['SpeakersContentPropertiesModel'] + : C extends 'sponsors' + ? components['schemas']['SponsorsContentPropertiesModel'] + : C extends 'track' + ? components['schemas']['TrackContentPropertiesModel'] + : Record; + +type ResolveContent = T extends { contentType: infer C extends string } + ? Omit & { properties?: ContentPropertiesFor } : T; -type NormalizeUmbracoType = T extends (infer U)[] - ? NormalizeUmbracoType[] - : T extends readonly (infer U)[] - ? readonly NormalizeUmbracoType[] - : T extends object - ? { - [K in keyof T]: K extends 'contentType' - ? T[K] extends string - ? NormalizeContentType - : T[K] - : NormalizeUmbracoType; - } - : T; - -export type UmbracoContent = NormalizeUmbracoType< +export type UmbracoContent = ResolveContent< components['schemas']['IApiContentResponseModel'] >; export type RawUmbracoContent = components['schemas']['IApiContentResponseModel']; -export type UmbracoContentCollection = NormalizeUmbracoType< - components['schemas']['PagedIApiContentResponseModel'] ->; +export type UmbracoContentCollection = Omit< + components['schemas']['PagedIApiContentResponseModel'], + 'items' +> & { items: UmbracoContent[] }; export type RawUmbracoContentCollection = components['schemas']['PagedIApiContentResponseModel']; export type ContentTypes = UmbracoContent; export type ContentTypeKeys = ContentTypes['contentType']; -function isRecord(value: unknown): value is Record { - return typeof value === 'object' && value !== null; -} - -function normalizeValue(value: unknown): unknown { - if (Array.isArray(value)) { - return value.map(normalizeValue); - } - - if (!isRecord(value)) { - return value; - } - - return Object.fromEntries( - Object.entries(value).map(([key, entry]) => { - if (key === 'contentType' && typeof entry === 'string') { - return [ - key, - CONTENT_TYPE_MAP[entry as keyof ContentTypeMap] ?? entry, - ]; - } - - return [key, normalizeValue(entry)]; - }), - ); -} - -export function normalizeUmbracoContent( - content: RawUmbracoContent, -): UmbracoContent { - return normalizeValue(content) as UmbracoContent; +export function normalizeUmbracoContent(content: T): UmbracoContent { + return content as unknown as UmbracoContent; } -export function normalizeUmbracoContentCollection( - collection: RawUmbracoContentCollection, +export function normalizeUmbracoContentCollection( + collection: T, ): UmbracoContentCollection { - return normalizeValue(collection) as UmbracoContentCollection; + return collection as unknown as UmbracoContentCollection; } export type UmbracoClientOptions = {