Modrinth OAuth support

This commit is contained in:
oitsjustjose 2024-12-31 16:19:05 -06:00
commit 52e28067d8
10 changed files with 125 additions and 66 deletions

View file

@ -2,6 +2,7 @@
Houses commonly used dataclasses and Enums
Author: oitsjustjose @ modrinth/curseforge/twitter
"""
from dataclasses import dataclass
from enum import Enum
from typing import List
@ -23,7 +24,7 @@ class Status(Enum):
class Job:
"""A single job"""
github_pat: str
oauth_token: str
curseforge_slug: str
modrinth_id: str
job_id: str = ""