Skip to content

Commit fead5f9

Browse files
committed
+changelog-ignore: models builder
1 parent c3a858e commit fead5f9

14 files changed

+69
-452
lines changed

src/Umbraco.Community.FileSystemProviders.B2.TestSite/umbraco/models/BasePage.generated.cs

Lines changed: 0 additions & 75 deletions
This file was deleted.

src/Umbraco.Community.FileSystemProviders.B2.TestSite/umbraco/models/File.generated.cs

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// <auto-generated>
33
// This code was generated by a tool.
44
//
5-
// Umbraco.ModelsBuilder.Embedded v15.0.0+76ed170
5+
// Umbraco.ModelsBuilder.Embedded v16.0.0-rc+2feef9c
66
//
77
// Changes to this file will be lost if the code is regenerated.
88
// </auto-generated>
@@ -24,15 +24,15 @@ public partial class File : PublishedContentModel
2424
{
2525
// helpers
2626
#pragma warning disable 0109 // new is redundant
27-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
27+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
2828
public new const string ModelTypeAlias = "File";
29-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
29+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
3030
public new const PublishedItemType ModelItemType = PublishedItemType.Media;
31-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
31+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
3232
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull]
3333
public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache)
3434
=> PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias);
35-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
35+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
3636
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull]
3737
public static IPublishedPropertyType GetModelPropertyType<TValue>(IPublishedContentTypeCache contentTypeCache, Expression<Func<File, TValue>> selector)
3838
=> PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector);
@@ -52,23 +52,22 @@ public File(IPublishedContent content, IPublishedValueFallback publishedValueFal
5252
///<summary>
5353
/// Size: in bytes
5454
///</summary>
55-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
56-
[global::System.Diagnostics.CodeAnalysis.MaybeNull]
55+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
5756
[ImplementPropertyType("umbracoBytes")]
58-
public virtual string UmbracoBytes => this.Value<string>(_publishedValueFallback, "umbracoBytes");
57+
public virtual long UmbracoBytes => this.Value<long>(_publishedValueFallback, "umbracoBytes");
5958

6059
///<summary>
6160
/// Type
6261
///</summary>
63-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
62+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
6463
[global::System.Diagnostics.CodeAnalysis.MaybeNull]
6564
[ImplementPropertyType("umbracoExtension")]
6665
public virtual string UmbracoExtension => this.Value<string>(_publishedValueFallback, "umbracoExtension");
6766

6867
///<summary>
6968
/// File
7069
///</summary>
71-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
70+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
7271
[global::System.Diagnostics.CodeAnalysis.MaybeNull]
7372
[ImplementPropertyType("umbracoFile")]
7473
public virtual string UmbracoFile => this.Value<string>(_publishedValueFallback, "umbracoFile");

src/Umbraco.Community.FileSystemProviders.B2.TestSite/umbraco/models/Folder.generated.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// <auto-generated>
33
// This code was generated by a tool.
44
//
5-
// Umbraco.ModelsBuilder.Embedded v15.0.0+76ed170
5+
// Umbraco.ModelsBuilder.Embedded v16.0.0-rc+2feef9c
66
//
77
// Changes to this file will be lost if the code is regenerated.
88
// </auto-generated>
@@ -24,15 +24,15 @@ public partial class Folder : PublishedContentModel
2424
{
2525
// helpers
2626
#pragma warning disable 0109 // new is redundant
27-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
27+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
2828
public new const string ModelTypeAlias = "Folder";
29-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
29+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
3030
public new const PublishedItemType ModelItemType = PublishedItemType.Media;
31-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
31+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
3232
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull]
3333
public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache)
3434
=> PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias);
35-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
35+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
3636
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull]
3737
public static IPublishedPropertyType GetModelPropertyType<TValue>(IPublishedContentTypeCache contentTypeCache, Expression<Func<Folder, TValue>> selector)
3838
=> PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector);

src/Umbraco.Community.FileSystemProviders.B2.TestSite/umbraco/models/Home.generated.cs

Lines changed: 0 additions & 68 deletions
This file was deleted.

src/Umbraco.Community.FileSystemProviders.B2.TestSite/umbraco/models/Image.generated.cs

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// <auto-generated>
33
// This code was generated by a tool.
44
//
5-
// Umbraco.ModelsBuilder.Embedded v15.0.0+76ed170
5+
// Umbraco.ModelsBuilder.Embedded v16.0.0-rc+2feef9c
66
//
77
// Changes to this file will be lost if the code is regenerated.
88
// </auto-generated>
@@ -24,15 +24,15 @@ public partial class Image : PublishedContentModel
2424
{
2525
// helpers
2626
#pragma warning disable 0109 // new is redundant
27-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
27+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
2828
public new const string ModelTypeAlias = "Image";
29-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
29+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
3030
public new const PublishedItemType ModelItemType = PublishedItemType.Media;
31-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
31+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
3232
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull]
3333
public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache)
3434
=> PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias);
35-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
35+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
3636
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull]
3737
public static IPublishedPropertyType GetModelPropertyType<TValue>(IPublishedContentTypeCache contentTypeCache, Expression<Func<Image, TValue>> selector)
3838
=> PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector);
@@ -52,41 +52,38 @@ public Image(IPublishedContent content, IPublishedValueFallback publishedValueFa
5252
///<summary>
5353
/// Size: in bytes
5454
///</summary>
55-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
56-
[global::System.Diagnostics.CodeAnalysis.MaybeNull]
55+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
5756
[ImplementPropertyType("umbracoBytes")]
58-
public virtual string UmbracoBytes => this.Value<string>(_publishedValueFallback, "umbracoBytes");
57+
public virtual long UmbracoBytes => this.Value<long>(_publishedValueFallback, "umbracoBytes");
5958

6059
///<summary>
6160
/// Type
6261
///</summary>
63-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
62+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
6463
[global::System.Diagnostics.CodeAnalysis.MaybeNull]
6564
[ImplementPropertyType("umbracoExtension")]
6665
public virtual string UmbracoExtension => this.Value<string>(_publishedValueFallback, "umbracoExtension");
6766

6867
///<summary>
6968
/// Image
7069
///</summary>
71-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
70+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
7271
[global::System.Diagnostics.CodeAnalysis.MaybeNull]
7372
[ImplementPropertyType("umbracoFile")]
7473
public virtual global::Umbraco.Cms.Core.PropertyEditors.ValueConverters.ImageCropperValue UmbracoFile => this.Value<global::Umbraco.Cms.Core.PropertyEditors.ValueConverters.ImageCropperValue>(_publishedValueFallback, "umbracoFile");
7574

7675
///<summary>
7776
/// Height: in pixels
7877
///</summary>
79-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
80-
[global::System.Diagnostics.CodeAnalysis.MaybeNull]
78+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
8179
[ImplementPropertyType("umbracoHeight")]
82-
public virtual string UmbracoHeight => this.Value<string>(_publishedValueFallback, "umbracoHeight");
80+
public virtual int UmbracoHeight => this.Value<int>(_publishedValueFallback, "umbracoHeight");
8381

8482
///<summary>
8583
/// Width: in pixels
8684
///</summary>
87-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
88-
[global::System.Diagnostics.CodeAnalysis.MaybeNull]
85+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
8986
[ImplementPropertyType("umbracoWidth")]
90-
public virtual string UmbracoWidth => this.Value<string>(_publishedValueFallback, "umbracoWidth");
87+
public virtual int UmbracoWidth => this.Value<int>(_publishedValueFallback, "umbracoWidth");
9188
}
9289
}

src/Umbraco.Community.FileSystemProviders.B2.TestSite/umbraco/models/Member.generated.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// <auto-generated>
33
// This code was generated by a tool.
44
//
5-
// Umbraco.ModelsBuilder.Embedded v15.0.0+76ed170
5+
// Umbraco.ModelsBuilder.Embedded v16.0.0-rc+2feef9c
66
//
77
// Changes to this file will be lost if the code is regenerated.
88
// </auto-generated>
@@ -24,15 +24,15 @@ public partial class Member : PublishedContentModel
2424
{
2525
// helpers
2626
#pragma warning disable 0109 // new is redundant
27-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
27+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
2828
public new const string ModelTypeAlias = "Member";
29-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
29+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
3030
public new const PublishedItemType ModelItemType = PublishedItemType.Member;
31-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
31+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
3232
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull]
3333
public new static IPublishedContentType GetModelContentType(IPublishedContentTypeCache contentTypeCache)
3434
=> PublishedModelUtility.GetModelContentType(contentTypeCache, ModelItemType, ModelTypeAlias);
35-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
35+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
3636
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull]
3737
public static IPublishedPropertyType GetModelPropertyType<TValue>(IPublishedContentTypeCache contentTypeCache, Expression<Func<Member, TValue>> selector)
3838
=> PublishedModelUtility.GetModelPropertyType(GetModelContentType(contentTypeCache), selector);
@@ -52,7 +52,7 @@ public Member(IPublishedContent content, IPublishedValueFallback publishedValueF
5252
///<summary>
5353
/// Comments
5454
///</summary>
55-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "15.0.0+76ed170")]
55+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "16.0.0-rc+2feef9c")]
5656
[global::System.Diagnostics.CodeAnalysis.MaybeNull]
5757
[ImplementPropertyType("umbracoMemberComments")]
5858
public virtual string UmbracoMemberComments => this.Value<string>(_publishedValueFallback, "umbracoMemberComments");

0 commit comments

Comments
 (0)