TagStudio icon indicating copy to clipboard operation
TagStudio copied to clipboard

🏷️ Add strict typing dicts for ts_library.json

Open chao-master opened this issue 1 year ago • 0 comments

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

chao-master avatar Apr 24 '24 23:04 chao-master