Add core model classes for auth, culture, images, and links

Introduced new models in EnvelopeGenerator.GeneratorAPI.Models:
- Auth, ContactLink, Culture, Cultures, CustomImages, ErrorViewModel, Image, MainViewModel, and TFARegParams.
These provide foundational structures for authentication, localization, error handling, image management, and contact links. All changes are new file additions.
This commit is contained in:
2026-01-30 12:55:44 +01:00
parent 03a8154b1c
commit 1d4ad13532
9 changed files with 152 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
namespace EnvelopeGenerator.GeneratorAPI.Models;
public class CustomImages : Dictionary<string, Image>
{
public new Image this[string key] => TryGetValue(key, out var img) && img is not null ? img : new();
}