Headless CMS and Content Managment Hub
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.
 
 
 
 
 

25 lines
797 B

// ==========================================================================
// ISchemaRepository.cs
// PinkParrot Headless CMS
// ==========================================================================
// Copyright (c) PinkParrot Group
// All rights reserved.
// ==========================================================================
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace PinkParrot.Read.Repositories
{
public interface ISchemaRepository
{
Task<List<ISchemaEntity>> QueryAllAsync(Guid tenantId);
Task<Guid?> FindSchemaIdAsync(Guid tenantId, string name);
Task<EntityWithSchema> FindSchemaAsync(Guid tenantId, string name);
Task<EntityWithSchema> FindSchemaAsync(Guid schemaId);
}
}