TagStudio
TagStudio copied to clipboard
🏷️ Add strict typing dicts for ts_library.json
Wip:
Adds a new file json_typing.py that includes TypedDict declarations for the json file format
Then uses those thoughout core where nessesary.
The main benefit is strict typing checking then making and reading the json
Unfinished work:
-
fields, I couldn't work out that is being stored or loaded here -
macros, I can't actually tell if these are used