From c990518cb533a793399e44edbb4bc036342c7175 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Sat, 4 Jan 2025 22:38:23 +0800 Subject: feat(core): Initialize core components and configuration models --- src/hrc/rule/BaseRule/CharacterCard.py | 17 +++++++++++++++++ src/hrc/rule/BaseRule/CustomRule.py | 0 src/hrc/rule/BaseRule/Wiki.py | 0 src/hrc/rule/BaseRule/__init__.py | 3 +++ 4 files changed, 20 insertions(+) create mode 100644 src/hrc/rule/BaseRule/CharacterCard.py create mode 100644 src/hrc/rule/BaseRule/CustomRule.py create mode 100644 src/hrc/rule/BaseRule/Wiki.py create mode 100644 src/hrc/rule/BaseRule/__init__.py (limited to 'src/hrc/rule/BaseRule') diff --git a/src/hrc/rule/BaseRule/CharacterCard.py b/src/hrc/rule/BaseRule/CharacterCard.py new file mode 100644 index 0000000..2baea48 --- /dev/null +++ b/src/hrc/rule/BaseRule/CharacterCard.py @@ -0,0 +1,17 @@ +from dataclasses import dataclass + + +@dataclass +class Custom(object): + """Docstring for Custom.""" + + property: type + + +class Attribute(Custom): ... + + +class Skill(Custom): ... + + +class Information(Custom): ... diff --git a/src/hrc/rule/BaseRule/CustomRule.py b/src/hrc/rule/BaseRule/CustomRule.py new file mode 100644 index 0000000..e69de29 diff --git a/src/hrc/rule/BaseRule/Wiki.py b/src/hrc/rule/BaseRule/Wiki.py new file mode 100644 index 0000000..e69de29 diff --git a/src/hrc/rule/BaseRule/__init__.py b/src/hrc/rule/BaseRule/__init__.py new file mode 100644 index 0000000..fdde86c --- /dev/null +++ b/src/hrc/rule/BaseRule/__init__.py @@ -0,0 +1,3 @@ +from . import CharacterCard # noqa: F401 +from . import CustomRule # noqa: F401 +from . import Wiki # noqa: F401 -- cgit v1.2.3-70-g09d2