// ========================================================================== // 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 GetSchemaAsync(DomainId appId, DomainId id, bool canCache); Task GetSchemaByNameAsync(DomainId appId, string name, bool canCache); Task> GetSchemasAsync(DomainId appId); Task RebuildAsync(DomainId appId, Dictionary schemas); } }