()
| 52 | # Config |
| 53 | # --------------------------------------------------------------------------- # |
| 54 | def load_config() -> dict: |
| 55 | with open(COLLECTIONS_FILE) as f: |
| 56 | cfg = json.load(f) |
| 57 | return {k: v for k, v in cfg.items() if not k.startswith("_")} # drop "_notes" etc. |
| 58 | |
| 59 | |
| 60 | def collection_config(key: str) -> dict: |