using System; using System.Collections.Generic; using Data.Models.Client; using InteractionCallback = System.Func, System.Threading.CancellationToken, System.Threading.Tasks.Task>; namespace SharedLibraryCore.Interfaces; public interface IInteractionData { int? EntityId { get; } bool Enabled { get; } string Name { get; } string Description { get; } string DisplayMeta { get; } string ActionPath { get; } Dictionary ActionMeta { get; } string ActionUri { get; } EFClient.Permission? MinimumPermission { get; } string PermissionEntity { get; } string PermissionAccess { get; } string Source { get; } InteractionCallback Action { get; } Delegate ScriptAction { get; } }