- tweak: Big refactoring of hub and file content overview
This commit is contained in:
12
Nebula.Launcher/Models/ListItemTemplate.cs
Normal file
12
Nebula.Launcher/Models/ListItemTemplate.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Text.Json.Serialization;
|
||||
using Nebula.Launcher.ServerListProviders;
|
||||
|
||||
namespace Nebula.Launcher.Models;
|
||||
|
||||
public record ListItemTemplate(Type ModelType, string IconKey, string Label);
|
||||
public record ServerListTabTemplate(IServerListProvider ServerListProvider, string TabName);
|
||||
public record ServerHubRecord(
|
||||
[property:JsonPropertyName("name")] string Name,
|
||||
[property:JsonPropertyName("url")] string MainUrl,
|
||||
[property:JsonPropertyName("fallback")] string? Fallback);
|
||||
Reference in New Issue
Block a user