Files
Umbraco-CMS/src/Umbraco.Core/Models/Blocks/IBlockEditorDataHelper.cs
T

17 lines
713 B
C#
Raw Normal View History

2020-04-01 15:54:49 -07:00
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace Umbraco.Core.Models.Blocks
{
// TODO: Rename this, we don't want to use the name "Helper"
// TODO: What is this? This requires code docs
// TODO: This is not used publicly at all - therefore it probably shouldn't be public
2020-06-15 23:22:29 +10:00
// TODO: These could easily be abstract methods on the underlying BlockEditorPropertyEditor instead
2020-04-01 15:54:49 -07:00
public interface IBlockEditorDataHelper
{
// TODO: Does this abstraction need a reference to JObject? Maybe it does but ideally it doesn't
2020-04-01 15:54:49 -07:00
IEnumerable<IBlockReference> GetBlockReferences(JObject layout);
bool IsEditorSpecificPropertyKey(string propertyKey);
}
}