mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
906 B
24 lines
906 B
// ==========================================================================
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex UG (haftungsbeschraenkt)
|
|
// All rights reserved. Licensed under the MIT license.
|
|
// ==========================================================================
|
|
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Squidex.Infrastructure;
|
|
|
|
namespace Squidex.Domain.Apps.Entities.Schemas.Indexes
|
|
{
|
|
public interface ISchemasIndex
|
|
{
|
|
Task<ISchemaEntity?> GetSchemaAsync(DomainId appId, DomainId id, bool canCache);
|
|
|
|
Task<ISchemaEntity?> GetSchemaByNameAsync(DomainId appId, string name, bool canCache);
|
|
|
|
Task<List<ISchemaEntity>> GetSchemasAsync(DomainId appId);
|
|
|
|
Task RebuildAsync(DomainId appId, Dictionary<string, DomainId> schemas);
|
|
}
|
|
}
|