Tech stack stub page and changing project to be just one Web Assembly project for now
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
using WebAssembly.Data;
|
||||
using WebAssembly.Services;
|
||||
|
||||
namespace WebAssembly;
|
||||
|
||||
public interface IToastService
|
||||
{
|
||||
public void Subscribe(Action action);
|
||||
public void Unsubscribe(Action action);
|
||||
void AddToast(ToastModel toast);
|
||||
void RemoveToast(ToastModel toast);
|
||||
bool HasToasts();
|
||||
List<ToastModel> GetToasts();
|
||||
void AgeToasts();
|
||||
void ClearAllToasts();
|
||||
}
|
||||
|
||||
|
||||
public interface ISearchService
|
||||
{
|
||||
public List<SearchPointModel> SearchPoints { get; set; }
|
||||
|
||||
public Dictionary<string, List<SearchPointModel>> Searches { get; set; }
|
||||
|
||||
public bool IsVisible { get; set; }
|
||||
|
||||
public void Subscribe(Action action);
|
||||
public void Unsubscribe(Action action);
|
||||
|
||||
public void Search(string entityId);
|
||||
|
||||
public Task Load();
|
||||
|
||||
public bool IsLoaded();
|
||||
void Show();
|
||||
void Hide();
|
||||
}
|
||||
|
||||
public interface IMyDialogService
|
||||
{
|
||||
public bool IsVisible { get; set; }
|
||||
public void Subscribe(Action action);
|
||||
public void Unsubscribe(Action action);
|
||||
public void Show(DialogContents dialogContents);
|
||||
public DialogContents GetDialogContents();
|
||||
public void Hide();
|
||||
}
|
||||
Reference in New Issue
Block a user