-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved content type model classes to correct namespace, usings cleanup…
… and related files update. (#103) * moved content type model classes to correct namespace, usings cleanup, related files update. * updated tests * disabled codecov patch check (Ondřej Chrastina) Co-authored-by: Ondřej Chrastina <9218736+Simply007@users.noreply.github.com>
- Loading branch information
1 parent
4be92fb
commit 57f1e01
Showing
34 changed files
with
619 additions
and
665 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
coverage: | ||
status: | ||
patch: off | ||
|
||
ignore: | ||
- "tests/" |
2 changes: 1 addition & 1 deletion
2
src/content/Kentico.Kontent.Boilerplate/Controllers/HomeController.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
88 changes: 44 additions & 44 deletions
88
src/content/Kentico.Kontent.Boilerplate/Models/ContentTypes/AboutUs.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 |
---|---|---|
@@ -1,45 +1,45 @@ | ||
// This code was generated by a kontent-generators-net tool | ||
// (see https://github.com/Kentico/kontent-generators-net). | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. | ||
// For further modifications of the class, create a separate file with the partial class. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using Kentico.Kontent.Delivery.Abstractions; | ||
|
||
namespace Kentico.Kontent.Boilerplate.Models | ||
{ | ||
public partial class AboutUs | ||
{ | ||
public const string Codename = "about_us"; | ||
public const string FactsCodename = "facts"; | ||
public const string MetadataMetaDescriptionCodename = "metadata__meta_description"; | ||
public const string MetadataMetaTitleCodename = "metadata__meta_title"; | ||
public const string MetadataOgDescriptionCodename = "metadata__og_description"; | ||
public const string MetadataOgImageCodename = "metadata__og_image"; | ||
public const string MetadataOgTitleCodename = "metadata__og_title"; | ||
public const string MetadataTwitterCreatorCodename = "metadata__twitter_creator"; | ||
public const string MetadataTwitterDescriptionCodename = "metadata__twitter_description"; | ||
public const string MetadataTwitterImageCodename = "metadata__twitter_image"; | ||
public const string MetadataTwitterSiteCodename = "metadata__twitter_site"; | ||
public const string MetadataTwitterTitleCodename = "metadata__twitter_title"; | ||
public const string SitemapCodename = "sitemap"; | ||
public const string UrlPatternCodename = "url_pattern"; | ||
|
||
public IEnumerable<object> Facts { get; set; } | ||
public string MetadataMetaDescription { get; set; } | ||
public string MetadataMetaTitle { get; set; } | ||
public string MetadataOgDescription { get; set; } | ||
public IEnumerable<IAsset> MetadataOgImage { get; set; } | ||
public string MetadataOgTitle { get; set; } | ||
public string MetadataTwitterCreator { get; set; } | ||
public string MetadataTwitterDescription { get; set; } | ||
public IEnumerable<IAsset> MetadataTwitterImage { get; set; } | ||
public string MetadataTwitterSite { get; set; } | ||
public string MetadataTwitterTitle { get; set; } | ||
public IEnumerable<ITaxonomyTerm> Sitemap { get; set; } | ||
public IContentItemSystemAttributes System { get; set; } | ||
public string UrlPattern { get; set; } | ||
} | ||
// This code was generated by a kontent-generators-net tool | ||
// (see https://github.com/Kentico/kontent-generators-net). | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. | ||
// For further modifications of the class, create a separate file with the partial class. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using Kentico.Kontent.Delivery.Abstractions; | ||
|
||
namespace Kentico.Kontent.Boilerplate.Models.ContentTypes | ||
{ | ||
public partial class AboutUs | ||
{ | ||
public const string Codename = "about_us"; | ||
public const string FactsCodename = "facts"; | ||
public const string MetadataMetaDescriptionCodename = "metadata__meta_description"; | ||
public const string MetadataMetaTitleCodename = "metadata__meta_title"; | ||
public const string MetadataOgDescriptionCodename = "metadata__og_description"; | ||
public const string MetadataOgImageCodename = "metadata__og_image"; | ||
public const string MetadataOgTitleCodename = "metadata__og_title"; | ||
public const string MetadataTwitterCreatorCodename = "metadata__twitter_creator"; | ||
public const string MetadataTwitterDescriptionCodename = "metadata__twitter_description"; | ||
public const string MetadataTwitterImageCodename = "metadata__twitter_image"; | ||
public const string MetadataTwitterSiteCodename = "metadata__twitter_site"; | ||
public const string MetadataTwitterTitleCodename = "metadata__twitter_title"; | ||
public const string SitemapCodename = "sitemap"; | ||
public const string UrlPatternCodename = "url_pattern"; | ||
|
||
public IEnumerable<object> Facts { get; set; } | ||
public string MetadataMetaDescription { get; set; } | ||
public string MetadataMetaTitle { get; set; } | ||
public string MetadataOgDescription { get; set; } | ||
public IEnumerable<IAsset> MetadataOgImage { get; set; } | ||
public string MetadataOgTitle { get; set; } | ||
public string MetadataTwitterCreator { get; set; } | ||
public string MetadataTwitterDescription { get; set; } | ||
public IEnumerable<IAsset> MetadataTwitterImage { get; set; } | ||
public string MetadataTwitterSite { get; set; } | ||
public string MetadataTwitterTitle { get; set; } | ||
public IEnumerable<ITaxonomyTerm> Sitemap { get; set; } | ||
public IContentItemSystemAttributes System { get; set; } | ||
public string UrlPattern { get; set; } | ||
} | ||
} |
6 changes: 1 addition & 5 deletions
6
src/content/Kentico.Kontent.Boilerplate/Models/ContentTypes/AboutUs.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
112 changes: 56 additions & 56 deletions
112
src/content/Kentico.Kontent.Boilerplate/Models/ContentTypes/Accessory.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 |
---|---|---|
@@ -1,57 +1,57 @@ | ||
// This code was generated by a kontent-generators-net tool | ||
// (see https://github.com/Kentico/kontent-generators-net). | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. | ||
// For further modifications of the class, create a separate file with the partial class. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using Kentico.Kontent.Delivery.Abstractions; | ||
|
||
namespace Kentico.Kontent.Boilerplate.Models | ||
{ | ||
public partial class Accessory | ||
{ | ||
public const string Codename = "accessory"; | ||
public const string ImageCodename = "image"; | ||
public const string LongDescriptionCodename = "long_description"; | ||
public const string ManufacturerCodename = "manufacturer"; | ||
public const string MetadataMetaDescriptionCodename = "metadata__meta_description"; | ||
public const string MetadataMetaTitleCodename = "metadata__meta_title"; | ||
public const string MetadataOgDescriptionCodename = "metadata__og_description"; | ||
public const string MetadataOgImageCodename = "metadata__og_image"; | ||
public const string MetadataOgTitleCodename = "metadata__og_title"; | ||
public const string MetadataTwitterCreatorCodename = "metadata__twitter_creator"; | ||
public const string MetadataTwitterDescriptionCodename = "metadata__twitter_description"; | ||
public const string MetadataTwitterImageCodename = "metadata__twitter_image"; | ||
public const string MetadataTwitterSiteCodename = "metadata__twitter_site"; | ||
public const string MetadataTwitterTitleCodename = "metadata__twitter_title"; | ||
public const string PriceCodename = "price"; | ||
public const string ProductNameCodename = "product_name"; | ||
public const string ProductStatusCodename = "product_status"; | ||
public const string ShortDescriptionCodename = "short_description"; | ||
public const string SitemapCodename = "sitemap"; | ||
public const string UrlPatternCodename = "url_pattern"; | ||
|
||
public IEnumerable<IAsset> Image { get; set; } | ||
public string LongDescription { get; set; } | ||
public string Manufacturer { get; set; } | ||
public string MetadataMetaDescription { get; set; } | ||
public string MetadataMetaTitle { get; set; } | ||
public string MetadataOgDescription { get; set; } | ||
public IEnumerable<IAsset> MetadataOgImage { get; set; } | ||
public string MetadataOgTitle { get; set; } | ||
public string MetadataTwitterCreator { get; set; } | ||
public string MetadataTwitterDescription { get; set; } | ||
public IEnumerable<IAsset> MetadataTwitterImage { get; set; } | ||
public string MetadataTwitterSite { get; set; } | ||
public string MetadataTwitterTitle { get; set; } | ||
public decimal? Price { get; set; } | ||
public string ProductName { get; set; } | ||
public IEnumerable<ITaxonomyTerm> ProductStatus { get; set; } | ||
public string ShortDescription { get; set; } | ||
public IEnumerable<ITaxonomyTerm> Sitemap { get; set; } | ||
public IContentItemSystemAttributes System { get; set; } | ||
public string UrlPattern { get; set; } | ||
} | ||
// This code was generated by a kontent-generators-net tool | ||
// (see https://github.com/Kentico/kontent-generators-net). | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. | ||
// For further modifications of the class, create a separate file with the partial class. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using Kentico.Kontent.Delivery.Abstractions; | ||
|
||
namespace Kentico.Kontent.Boilerplate.Models.ContentTypes | ||
{ | ||
public partial class Accessory | ||
{ | ||
public const string Codename = "accessory"; | ||
public const string ImageCodename = "image"; | ||
public const string LongDescriptionCodename = "long_description"; | ||
public const string ManufacturerCodename = "manufacturer"; | ||
public const string MetadataMetaDescriptionCodename = "metadata__meta_description"; | ||
public const string MetadataMetaTitleCodename = "metadata__meta_title"; | ||
public const string MetadataOgDescriptionCodename = "metadata__og_description"; | ||
public const string MetadataOgImageCodename = "metadata__og_image"; | ||
public const string MetadataOgTitleCodename = "metadata__og_title"; | ||
public const string MetadataTwitterCreatorCodename = "metadata__twitter_creator"; | ||
public const string MetadataTwitterDescriptionCodename = "metadata__twitter_description"; | ||
public const string MetadataTwitterImageCodename = "metadata__twitter_image"; | ||
public const string MetadataTwitterSiteCodename = "metadata__twitter_site"; | ||
public const string MetadataTwitterTitleCodename = "metadata__twitter_title"; | ||
public const string PriceCodename = "price"; | ||
public const string ProductNameCodename = "product_name"; | ||
public const string ProductStatusCodename = "product_status"; | ||
public const string ShortDescriptionCodename = "short_description"; | ||
public const string SitemapCodename = "sitemap"; | ||
public const string UrlPatternCodename = "url_pattern"; | ||
|
||
public IEnumerable<IAsset> Image { get; set; } | ||
public string LongDescription { get; set; } | ||
public string Manufacturer { get; set; } | ||
public string MetadataMetaDescription { get; set; } | ||
public string MetadataMetaTitle { get; set; } | ||
public string MetadataOgDescription { get; set; } | ||
public IEnumerable<IAsset> MetadataOgImage { get; set; } | ||
public string MetadataOgTitle { get; set; } | ||
public string MetadataTwitterCreator { get; set; } | ||
public string MetadataTwitterDescription { get; set; } | ||
public IEnumerable<IAsset> MetadataTwitterImage { get; set; } | ||
public string MetadataTwitterSite { get; set; } | ||
public string MetadataTwitterTitle { get; set; } | ||
public decimal? Price { get; set; } | ||
public string ProductName { get; set; } | ||
public IEnumerable<ITaxonomyTerm> ProductStatus { get; set; } | ||
public string ShortDescription { get; set; } | ||
public IEnumerable<ITaxonomyTerm> Sitemap { get; set; } | ||
public IContentItemSystemAttributes System { get; set; } | ||
public string UrlPattern { get; set; } | ||
} | ||
} |
6 changes: 1 addition & 5 deletions
6
src/content/Kentico.Kontent.Boilerplate/Models/ContentTypes/Accessory.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
120 changes: 60 additions & 60 deletions
120
src/content/Kentico.Kontent.Boilerplate/Models/ContentTypes/Article.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 |
---|---|---|
@@ -1,61 +1,61 @@ | ||
// This code was generated by a kontent-generators-net tool | ||
// (see https://github.com/Kentico/kontent-generators-net). | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. | ||
// For further modifications of the class, create a separate file with the partial class. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using Kentico.Kontent.Delivery.Abstractions; | ||
|
||
namespace Kentico.Kontent.Boilerplate.Models | ||
{ | ||
public partial class Article | ||
{ | ||
public const string Codename = "article"; | ||
public const string BodyCopyCodename = "body_copy"; | ||
public const string MetaDescriptionCodename = "meta_description"; | ||
public const string MetaKeywordsCodename = "meta_keywords"; | ||
public const string MetadataMetaDescriptionCodename = "metadata__meta_description"; | ||
public const string MetadataMetaTitleCodename = "metadata__meta_title"; | ||
public const string MetadataOgDescriptionCodename = "metadata__og_description"; | ||
public const string MetadataOgImageCodename = "metadata__og_image"; | ||
public const string MetadataOgTitleCodename = "metadata__og_title"; | ||
public const string MetadataTwitterCreatorCodename = "metadata__twitter_creator"; | ||
public const string MetadataTwitterDescriptionCodename = "metadata__twitter_description"; | ||
public const string MetadataTwitterImageCodename = "metadata__twitter_image"; | ||
public const string MetadataTwitterSiteCodename = "metadata__twitter_site"; | ||
public const string MetadataTwitterTitleCodename = "metadata__twitter_title"; | ||
public const string PersonasCodename = "personas"; | ||
public const string PostDateCodename = "post_date"; | ||
public const string RelatedArticlesCodename = "related_articles"; | ||
public const string SitemapCodename = "sitemap"; | ||
public const string SummaryCodename = "summary"; | ||
public const string TeaserImageCodename = "teaser_image"; | ||
public const string TitleCodename = "title"; | ||
public const string UrlPatternCodename = "url_pattern"; | ||
|
||
public string BodyCopy { get; set; } | ||
public string MetaDescription { get; set; } | ||
public string MetaKeywords { get; set; } | ||
public string MetadataMetaDescription { get; set; } | ||
public string MetadataMetaTitle { get; set; } | ||
public string MetadataOgDescription { get; set; } | ||
public IEnumerable<IAsset> MetadataOgImage { get; set; } | ||
public string MetadataOgTitle { get; set; } | ||
public string MetadataTwitterCreator { get; set; } | ||
public string MetadataTwitterDescription { get; set; } | ||
public IEnumerable<IAsset> MetadataTwitterImage { get; set; } | ||
public string MetadataTwitterSite { get; set; } | ||
public string MetadataTwitterTitle { get; set; } | ||
public IEnumerable<ITaxonomyTerm> Personas { get; set; } | ||
public DateTime? PostDate { get; set; } | ||
public IEnumerable<object> RelatedArticles { get; set; } | ||
public IEnumerable<ITaxonomyTerm> Sitemap { get; set; } | ||
public string Summary { get; set; } | ||
public IContentItemSystemAttributes System { get; set; } | ||
public IEnumerable<IAsset> TeaserImage { get; set; } | ||
public string Title { get; set; } | ||
public string UrlPattern { get; set; } | ||
} | ||
// This code was generated by a kontent-generators-net tool | ||
// (see https://github.com/Kentico/kontent-generators-net). | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. | ||
// For further modifications of the class, create a separate file with the partial class. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using Kentico.Kontent.Delivery.Abstractions; | ||
|
||
namespace Kentico.Kontent.Boilerplate.Models.ContentTypes | ||
{ | ||
public partial class Article | ||
{ | ||
public const string Codename = "article"; | ||
public const string BodyCopyCodename = "body_copy"; | ||
public const string MetaDescriptionCodename = "meta_description"; | ||
public const string MetaKeywordsCodename = "meta_keywords"; | ||
public const string MetadataMetaDescriptionCodename = "metadata__meta_description"; | ||
public const string MetadataMetaTitleCodename = "metadata__meta_title"; | ||
public const string MetadataOgDescriptionCodename = "metadata__og_description"; | ||
public const string MetadataOgImageCodename = "metadata__og_image"; | ||
public const string MetadataOgTitleCodename = "metadata__og_title"; | ||
public const string MetadataTwitterCreatorCodename = "metadata__twitter_creator"; | ||
public const string MetadataTwitterDescriptionCodename = "metadata__twitter_description"; | ||
public const string MetadataTwitterImageCodename = "metadata__twitter_image"; | ||
public const string MetadataTwitterSiteCodename = "metadata__twitter_site"; | ||
public const string MetadataTwitterTitleCodename = "metadata__twitter_title"; | ||
public const string PersonasCodename = "personas"; | ||
public const string PostDateCodename = "post_date"; | ||
public const string RelatedArticlesCodename = "related_articles"; | ||
public const string SitemapCodename = "sitemap"; | ||
public const string SummaryCodename = "summary"; | ||
public const string TeaserImageCodename = "teaser_image"; | ||
public const string TitleCodename = "title"; | ||
public const string UrlPatternCodename = "url_pattern"; | ||
|
||
public string BodyCopy { get; set; } | ||
public string MetaDescription { get; set; } | ||
public string MetaKeywords { get; set; } | ||
public string MetadataMetaDescription { get; set; } | ||
public string MetadataMetaTitle { get; set; } | ||
public string MetadataOgDescription { get; set; } | ||
public IEnumerable<IAsset> MetadataOgImage { get; set; } | ||
public string MetadataOgTitle { get; set; } | ||
public string MetadataTwitterCreator { get; set; } | ||
public string MetadataTwitterDescription { get; set; } | ||
public IEnumerable<IAsset> MetadataTwitterImage { get; set; } | ||
public string MetadataTwitterSite { get; set; } | ||
public string MetadataTwitterTitle { get; set; } | ||
public IEnumerable<ITaxonomyTerm> Personas { get; set; } | ||
public DateTime? PostDate { get; set; } | ||
public IEnumerable<object> RelatedArticles { get; set; } | ||
public IEnumerable<ITaxonomyTerm> Sitemap { get; set; } | ||
public string Summary { get; set; } | ||
public IContentItemSystemAttributes System { get; set; } | ||
public IEnumerable<IAsset> TeaserImage { get; set; } | ||
public string Title { get; set; } | ||
public string UrlPattern { get; set; } | ||
} | ||
} |
6 changes: 1 addition & 5 deletions
6
src/content/Kentico.Kontent.Boilerplate/Models/ContentTypes/Article.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
Oops, something went wrong.