Add project files.

This commit is contained in:
2025-04-19 20:47:58 +03:00
parent 9e14d137ae
commit bfdcdb1f3b
66 changed files with 2394 additions and 0 deletions
@@ -0,0 +1,48 @@
using aeqw89.PersistentData;
using aeqw89.DataKeys;
using Beam.Dynamic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
namespace Beam.Temporary.Cli {
public class SharedDataDictionary : BaseDataDictionary {
public Dictionary<DataKey<WebResource>, PackagedSourceLinkGenerationData> Templates {
get => GetOrCreateDictionary<DataKey<WebResource>, PackagedSourceLinkGenerationData>(nameof(Templates));
set => Data[nameof(Templates)] = value;
}
public Dictionary<DataKey<WebResource>, WebResource> Aggregators {
get => GetOrCreateDictionary<DataKey<WebResource>, WebResource>(nameof(Aggregators));
set => Data[nameof(Aggregators)] = value;
}
public Dictionary<DataKey<WebResource>, WebResource> Auxillaries {
get => GetOrCreateDictionary<DataKey<WebResource>, WebResource>(nameof(Auxillaries));
set => Data[nameof(Auxillaries)] = value;
}
public Dictionary<DataKey<DataBindings>, DataBindings> Bindings {
get => GetOrCreateDictionary<DataKey<DataBindings>, DataBindings>(nameof(Bindings));
set => Data[nameof(Bindings)] = value;
}
public Dictionary<DataKey<WebResource>, HashSet<DataKey<TextResource>>> AggregatorNovels {
get => GetOrCreateDictionary<DataKey<WebResource>, HashSet<DataKey<TextResource>>>(nameof(AggregatorNovels));
set => Data[nameof(AggregatorNovels)] = value;
}
public Dictionary<DataKey<TextResource>, TextResource> Novels {
get => GetOrCreateDictionary<DataKey<TextResource>, TextResource>(nameof(Novels));
set => Data[nameof(Novels)] = value;
}
internal Dictionary<DataKey<File>, File> Files {
get => GetOrCreateDictionary<DataKey<File>, File>(nameof(Files));
set => Data[nameof(Files)] = value;
}
}
}