forked from gongxuegit/tiku-backend.net
feat: add phase five operations foundation
This commit is contained in:
49
Tiku.Application/Backoffice/IBackofficeService.cs
Normal file
49
Tiku.Application/Backoffice/IBackofficeService.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
namespace Tiku.Application.Backoffice;
|
||||
|
||||
public interface IBackofficeService
|
||||
{
|
||||
Task<BackofficeBootstrap> GetTenantBootstrapAsync(
|
||||
BackofficeActor actor,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<BackofficeBootstrap> GetPlatformBootstrapAsync(
|
||||
BackofficeActor actor,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<BackofficeRoleItem> UpsertTenantRoleAsync(
|
||||
BackofficeActor actor,
|
||||
UpsertBackofficeRoleCommand command,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<BackofficeRoleItem> UpsertPlatformRoleAsync(
|
||||
BackofficeActor actor,
|
||||
UpsertBackofficeRoleCommand command,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<BackofficeRoleItem> ReplaceTenantRoleBindingsAsync(
|
||||
BackofficeActor actor,
|
||||
ReplaceRoleBindingsCommand command,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<BackofficeRoleItem> ReplacePlatformRoleBindingsAsync(
|
||||
BackofficeActor actor,
|
||||
ReplaceRoleBindingsCommand command,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task ReplaceTenantUserRolesAsync(
|
||||
BackofficeActor actor,
|
||||
ReplaceUserRolesCommand command,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task ReplacePlatformUserRolesAsync(
|
||||
BackofficeActor actor,
|
||||
ReplaceUserRolesCommand command,
|
||||
CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
public interface IOperationAuditService
|
||||
{
|
||||
Task WriteAsync(
|
||||
BackofficeOperationAuditCommand command,
|
||||
CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user