-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from vegaitglobal/develop
Develop
- Loading branch information
Showing
67 changed files
with
2,603 additions
and
730 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
...odaNemaCenu/Hakaton.SlobodaNemaCenu.Web/Models/Generated/CountryDropdownItem.generated.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
//------------------------------------------------------------------------------ | ||
// <auto-generated> | ||
// This code was generated by a tool. | ||
// | ||
// Umbraco.ModelsBuilder.Embedded v10.2.1+25a20cf | ||
// | ||
// Changes to this file will be lost if the code is regenerated. | ||
// </auto-generated> | ||
//------------------------------------------------------------------------------ | ||
|
||
using System; | ||
using System.Linq.Expressions; | ||
using Umbraco.Cms.Core.Models.PublishedContent; | ||
using Umbraco.Cms.Core.PublishedCache; | ||
using Umbraco.Cms.Infrastructure.ModelsBuilder; | ||
using Umbraco.Cms.Core; | ||
using Umbraco.Extensions; | ||
|
||
namespace Hakaton.SlobodaNemaCenu.Web.Models.Generated | ||
{ | ||
/// <summary>Country Dropdown Item</summary> | ||
[PublishedModel("countryDropdownItem")] | ||
public partial class CountryDropdownItem : PublishedElementModel | ||
{ | ||
// helpers | ||
#pragma warning disable 0109 // new is redundant | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
public new const string ModelTypeAlias = "countryDropdownItem"; | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
public new const PublishedItemType ModelItemType = PublishedItemType.Content; | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
public new static IPublishedContentType GetModelContentType(IPublishedSnapshotAccessor publishedSnapshotAccessor) | ||
=> PublishedModelUtility.GetModelContentType(publishedSnapshotAccessor, ModelItemType, ModelTypeAlias); | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
public static IPublishedPropertyType GetModelPropertyType<TValue>(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression<Func<CountryDropdownItem, TValue>> selector) | ||
=> PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); | ||
#pragma warning restore 0109 | ||
|
||
private IPublishedValueFallback _publishedValueFallback; | ||
|
||
// ctor | ||
public CountryDropdownItem(IPublishedElement content, IPublishedValueFallback publishedValueFallback) | ||
: base(content, publishedValueFallback) | ||
{ | ||
_publishedValueFallback = publishedValueFallback; | ||
} | ||
|
||
// properties | ||
|
||
///<summary> | ||
/// Country Flag | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("countryFlag")] | ||
public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops CountryFlag => this.Value<global::Umbraco.Cms.Core.Models.MediaWithCrops>(_publishedValueFallback, "countryFlag"); | ||
|
||
///<summary> | ||
/// Country Key | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("countryKey")] | ||
public virtual string CountryKey => this.Value<string>(_publishedValueFallback, "countryKey"); | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
...obodaNemaCenu/Hakaton.SlobodaNemaCenu.Web/Models/Generated/EducationCategory.generated.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
//------------------------------------------------------------------------------ | ||
// <auto-generated> | ||
// This code was generated by a tool. | ||
// | ||
// Umbraco.ModelsBuilder.Embedded v10.2.1+25a20cf | ||
// | ||
// Changes to this file will be lost if the code is regenerated. | ||
// </auto-generated> | ||
//------------------------------------------------------------------------------ | ||
|
||
using System; | ||
using System.Linq.Expressions; | ||
using Umbraco.Cms.Core.Models.PublishedContent; | ||
using Umbraco.Cms.Core.PublishedCache; | ||
using Umbraco.Cms.Infrastructure.ModelsBuilder; | ||
using Umbraco.Cms.Core; | ||
using Umbraco.Extensions; | ||
|
||
namespace Hakaton.SlobodaNemaCenu.Web.Models.Generated | ||
{ | ||
/// <summary>Education Category</summary> | ||
[PublishedModel("educationCategory")] | ||
public partial class EducationCategory : PublishedContentModel | ||
{ | ||
// helpers | ||
#pragma warning disable 0109 // new is redundant | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
public new const string ModelTypeAlias = "educationCategory"; | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
public new const PublishedItemType ModelItemType = PublishedItemType.Content; | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
public new static IPublishedContentType GetModelContentType(IPublishedSnapshotAccessor publishedSnapshotAccessor) | ||
=> PublishedModelUtility.GetModelContentType(publishedSnapshotAccessor, ModelItemType, ModelTypeAlias); | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
public static IPublishedPropertyType GetModelPropertyType<TValue>(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression<Func<EducationCategory, TValue>> selector) | ||
=> PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); | ||
#pragma warning restore 0109 | ||
|
||
private IPublishedValueFallback _publishedValueFallback; | ||
|
||
// ctor | ||
public EducationCategory(IPublishedContent content, IPublishedValueFallback publishedValueFallback) | ||
: base(content, publishedValueFallback) | ||
{ | ||
_publishedValueFallback = publishedValueFallback; | ||
} | ||
|
||
// properties | ||
|
||
///<summary> | ||
/// Color | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("color")] | ||
public virtual string Color => this.Value<string>(_publishedValueFallback, "color"); | ||
|
||
///<summary> | ||
/// Title | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("title")] | ||
public virtual string Title => this.Value<string>(_publishedValueFallback, "title"); | ||
} | ||
} |
92 changes: 92 additions & 0 deletions
92
...n.SlobodaNemaCenu/Hakaton.SlobodaNemaCenu.Web/Models/Generated/EducationItem.generated.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
//------------------------------------------------------------------------------ | ||
// <auto-generated> | ||
// This code was generated by a tool. | ||
// | ||
// Umbraco.ModelsBuilder.Embedded v10.2.1+25a20cf | ||
// | ||
// Changes to this file will be lost if the code is regenerated. | ||
// </auto-generated> | ||
//------------------------------------------------------------------------------ | ||
|
||
using System; | ||
using System.Linq.Expressions; | ||
using Umbraco.Cms.Core.Models.PublishedContent; | ||
using Umbraco.Cms.Core.PublishedCache; | ||
using Umbraco.Cms.Infrastructure.ModelsBuilder; | ||
using Umbraco.Cms.Core; | ||
using Umbraco.Extensions; | ||
|
||
namespace Hakaton.SlobodaNemaCenu.Web.Models.Generated | ||
{ | ||
/// <summary>Education Item</summary> | ||
[PublishedModel("educationItem")] | ||
public partial class EducationItem : PublishedElementModel | ||
{ | ||
// helpers | ||
#pragma warning disable 0109 // new is redundant | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
public new const string ModelTypeAlias = "educationItem"; | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
public new const PublishedItemType ModelItemType = PublishedItemType.Content; | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
public new static IPublishedContentType GetModelContentType(IPublishedSnapshotAccessor publishedSnapshotAccessor) | ||
=> PublishedModelUtility.GetModelContentType(publishedSnapshotAccessor, ModelItemType, ModelTypeAlias); | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
public static IPublishedPropertyType GetModelPropertyType<TValue>(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression<Func<EducationItem, TValue>> selector) | ||
=> PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); | ||
#pragma warning restore 0109 | ||
|
||
private IPublishedValueFallback _publishedValueFallback; | ||
|
||
// ctor | ||
public EducationItem(IPublishedElement content, IPublishedValueFallback publishedValueFallback) | ||
: base(content, publishedValueFallback) | ||
{ | ||
_publishedValueFallback = publishedValueFallback; | ||
} | ||
|
||
// properties | ||
|
||
///<summary> | ||
/// Category | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("category")] | ||
public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent Category => this.Value<global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent>(_publishedValueFallback, "category"); | ||
|
||
///<summary> | ||
/// Download | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("download")] | ||
public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Download => this.Value<global::Umbraco.Cms.Core.Models.MediaWithCrops>(_publishedValueFallback, "download"); | ||
|
||
///<summary> | ||
/// Image | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("image")] | ||
public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops Image => this.Value<global::Umbraco.Cms.Core.Models.MediaWithCrops>(_publishedValueFallback, "image"); | ||
|
||
///<summary> | ||
/// Title | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("title")] | ||
public virtual string Title => this.Value<string>(_publishedValueFallback, "title"); | ||
|
||
///<summary> | ||
/// Url | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("url")] | ||
public virtual global::Umbraco.Cms.Core.Models.Link Url => this.Value<global::Umbraco.Cms.Core.Models.Link>(_publishedValueFallback, "url"); | ||
} | ||
} |
100 changes: 100 additions & 0 deletions
100
...n.SlobodaNemaCenu/Hakaton.SlobodaNemaCenu.Web/Models/Generated/EducationPage.generated.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
//------------------------------------------------------------------------------ | ||
// <auto-generated> | ||
// This code was generated by a tool. | ||
// | ||
// Umbraco.ModelsBuilder.Embedded v10.2.1+25a20cf | ||
// | ||
// Changes to this file will be lost if the code is regenerated. | ||
// </auto-generated> | ||
//------------------------------------------------------------------------------ | ||
|
||
using System; | ||
using System.Linq.Expressions; | ||
using Umbraco.Cms.Core.Models.PublishedContent; | ||
using Umbraco.Cms.Core.PublishedCache; | ||
using Umbraco.Cms.Infrastructure.ModelsBuilder; | ||
using Umbraco.Cms.Core; | ||
using Umbraco.Extensions; | ||
|
||
namespace Hakaton.SlobodaNemaCenu.Web.Models.Generated | ||
{ | ||
/// <summary>Education Page</summary> | ||
[PublishedModel("educationPage")] | ||
public partial class EducationPage : PublishedContentModel, IPageBase | ||
{ | ||
// helpers | ||
#pragma warning disable 0109 // new is redundant | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
public new const string ModelTypeAlias = "educationPage"; | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
public new const PublishedItemType ModelItemType = PublishedItemType.Content; | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
public new static IPublishedContentType GetModelContentType(IPublishedSnapshotAccessor publishedSnapshotAccessor) | ||
=> PublishedModelUtility.GetModelContentType(publishedSnapshotAccessor, ModelItemType, ModelTypeAlias); | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[return: global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
public static IPublishedPropertyType GetModelPropertyType<TValue>(IPublishedSnapshotAccessor publishedSnapshotAccessor, Expression<Func<EducationPage, TValue>> selector) | ||
=> PublishedModelUtility.GetModelPropertyType(GetModelContentType(publishedSnapshotAccessor), selector); | ||
#pragma warning restore 0109 | ||
|
||
private IPublishedValueFallback _publishedValueFallback; | ||
|
||
// ctor | ||
public EducationPage(IPublishedContent content, IPublishedValueFallback publishedValueFallback) | ||
: base(content, publishedValueFallback) | ||
{ | ||
_publishedValueFallback = publishedValueFallback; | ||
} | ||
|
||
// properties | ||
|
||
///<summary> | ||
/// Banner Image | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("bannerImage")] | ||
public virtual global::Umbraco.Cms.Core.Models.MediaWithCrops BannerImage => this.Value<global::Umbraco.Cms.Core.Models.MediaWithCrops>(_publishedValueFallback, "bannerImage"); | ||
|
||
///<summary> | ||
/// Categories Container | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("categoriesContainer")] | ||
public virtual global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent CategoriesContainer => this.Value<global::Umbraco.Cms.Core.Models.PublishedContent.IPublishedContent>(_publishedValueFallback, "categoriesContainer"); | ||
|
||
///<summary> | ||
/// Education Items | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("educationItems")] | ||
public virtual global::Umbraco.Cms.Core.Models.Blocks.BlockListModel EducationItems => this.Value<global::Umbraco.Cms.Core.Models.Blocks.BlockListModel>(_publishedValueFallback, "educationItems"); | ||
|
||
///<summary> | ||
/// Text | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("text")] | ||
public virtual string Text => this.Value<string>(_publishedValueFallback, "text"); | ||
|
||
///<summary> | ||
/// SEO Title | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("sEOTitle")] | ||
public virtual string SEotitle => global::Hakaton.SlobodaNemaCenu.Web.Models.Generated.PageBase.GetSEotitle(this, _publishedValueFallback); | ||
|
||
///<summary> | ||
/// Title | ||
///</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Umbraco.ModelsBuilder.Embedded", "10.2.1+25a20cf")] | ||
[global::System.Diagnostics.CodeAnalysis.MaybeNull] | ||
[ImplementPropertyType("title")] | ||
public virtual string Title => global::Hakaton.SlobodaNemaCenu.Web.Models.Generated.PageBase.GetTitle(this, _publishedValueFallback); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.