diff --git a/src/Squidex.Read/Contents/IContentEntity.cs b/src/Squidex.Read/Contents/IContentEntity.cs new file mode 100644 index 000000000..6b85654dc --- /dev/null +++ b/src/Squidex.Read/Contents/IContentEntity.cs @@ -0,0 +1,17 @@ +// ========================================================================== +// IContentEntity.cs +// Squidex Headless CMS +// ========================================================================== +// Copyright (c) Squidex Group +// All rights reserved. +// ========================================================================== + +using Newtonsoft.Json.Linq; + +namespace Squidex.Read.Contents +{ + public interface IContentEntity : IEntity + { + JToken Data { get; } + } +} diff --git a/src/Squidex.Read/Contents/Repositories/IContentRepoitory.cs b/src/Squidex.Read/Contents/Repositories/IContentRepoitory.cs new file mode 100644 index 000000000..ff66ad955 --- /dev/null +++ b/src/Squidex.Read/Contents/Repositories/IContentRepoitory.cs @@ -0,0 +1,21 @@ +// ========================================================================== +// IContentRepoitory.cs +// Squidex Headless CMS +// ========================================================================== +// Copyright (c) Squidex Group +// All rights reserved. +// ========================================================================== + +using System; +using System.Collections.Generic; +using System.Threading.Tasks; + +namespace Squidex.Read.Contents.Repositories +{ + public interface IContentRepoitory + { + Task> QueryAsync(); + + Task FindContentAsync(Guid id); + } +}