aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hrc/dev
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2025-01-04 22:38:23 +0800
committerHsiangNianian <i@jyunko.cn>2025-01-04 22:38:23 +0800
commitc990518cb533a793399e44edbb4bc036342c7175 (patch)
tree8e2bd0f833b803a73dea7d88e7c294cf3d078d4d /hrc/dev
parentbc57c1410c08323ba37114082d0fe609fafc2c5d (diff)
downloadHydroRollCore-c990518cb533a793399e44edbb4bc036342c7175.tar.gz
HydroRollCore-c990518cb533a793399e44edbb4bc036342c7175.zip
feat(core): Initialize core components and configuration modelsHEADmain
Diffstat (limited to 'hrc/dev')
-rw-r--r--hrc/dev/__init__.py1
-rw-r--r--hrc/dev/api/__init__.py0
-rw-r--r--hrc/dev/character.py2
-rw-r--r--hrc/dev/echo.py105
-rw-r--r--hrc/dev/grps/__init__.py1
-rw-r--r--hrc/dev/grps/v1.py12
6 files changed, 0 insertions, 121 deletions
diff --git a/hrc/dev/__init__.py b/hrc/dev/__init__.py
deleted file mode 100644
index ea8f56b..0000000
--- a/hrc/dev/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-from hrc.dev.grps import v1 \ No newline at end of file
diff --git a/hrc/dev/api/__init__.py b/hrc/dev/api/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/hrc/dev/api/__init__.py
+++ /dev/null
diff --git a/hrc/dev/character.py b/hrc/dev/character.py
deleted file mode 100644
index c883e45..0000000
--- a/hrc/dev/character.py
+++ /dev/null
@@ -1,2 +0,0 @@
-class Character:
- class Attribute: ...
diff --git a/hrc/dev/echo.py b/hrc/dev/echo.py
deleted file mode 100644
index 5bdeab7..0000000
--- a/hrc/dev/echo.py
+++ /dev/null
@@ -1,105 +0,0 @@
-"""HydroRoll-Team/echo
-水系跨平台事件标准(cross-platform event standard): Event Communication and Harmonization across Online platforms.
-:ref: https://github/com/HydroRoll-Team/echo
-:ref: https://echo.hydroroll.team
-"""
-
-class Event(object):
- """事件基类
- :ref: https://echo.hydroroll.team/Event/#0_event
- """
- def __init__(self, event_type, data, metadata):
- self.event_type = event_type
- self.data = data
- self.metadata = metadata
-
-class WorkFlow(Event):
- """workflow
- :ref: https://echo.hydroroll.team/Event/#1_workflow
- """
- def __init__(self, data, metadata):
- super().__init__('workflow', data, metadata)
-
-class CallBack(Event):
- """callback
- :ref: https://echo.hydroroll.team/Event/#4_callback
- """
- def __init__(self, data, metadata):
- super().__init__('callback', data, metadata)
-
-class Message(Event):
- """message
- :ref: https://echo.hydroroll.team/Event/#2_message
- """
- def __init__(self, data, metadata):
- super().__init__('message', data, metadata)
-
-class Reaction(Event):
- """reaction
- :ref: https://echo.hydroroll.team/Event/#3_reaction
- """
- def __init__(self, data, metadata):
- super().__init__('reaction', data, metadata)
-
-class Typing(Event):
- """typing
- :ref: https://echo.hydroroll.team/Event/#5_typing
- """
- def __init__(self, data, metadata):
- super().__init__('typing', data, metadata)
-
-class UserJoin(Event):
- """user join
- :ref: https://echo.hydroroll.team/Event/#6_user_join
- """
- def __init__(self, data, metadata):
- super().__init__('user_join', data, metadata)
-
-class UserLeave(Event):
- """user leave
- :ref: https://echo.hydroroll.team/Event/#7_user_leave
- """
- def __init__(self, data, metadata):
- super().__init__('user_leave', data, metadata)
-
-class FileShare(Event):
- """file share
- :ref: https://echo.hydroroll.team/Event/#8_file_share
- """
- def __init__(self, data, metadata):
- super().__init__('file_share', data, metadata)
-
-class Mention(Event):
- """mention
- :ref: https://echo.hydroroll.team/Event/#9_mention
- """
- def __init__(self, data, metadata):
- super().__init__('mention', data, metadata)
-
-class ChannelCreate(Event):
- """channel create
- :ref: https://echo.hydroroll.team/Event/#10_channel_create
- """
- def __init__(self, data, metadata):
- super().__init__('channel_create', data, metadata)
-
-class ChannelDelete(Event):
- """channel delete
- :ref: https://echo.hydroroll.team/Event/#11_channel_delete
- """
- def __init__(self, data, metadata):
- super().__init__('channel_delete', data, metadata)
-
-class ChannelUpdate(Event):
- """channel update
- :ref: https://echo.hydroroll.team/Event/#12_channel_update
- """
- def __init__(self, data, metadata):
- super().__init__('channel_update', data, metadata)
-
-class UserUpdate(Event):
- """user update
- :ref: https://echo.hydroroll.team/Event/#13_user_update
- """
- def __init__(self, data, metadata):
- super().__init__('user_update', data, metadata) \ No newline at end of file
diff --git a/hrc/dev/grps/__init__.py b/hrc/dev/grps/__init__.py
deleted file mode 100644
index bbf8c7e..0000000
--- a/hrc/dev/grps/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-from . import v1 \ No newline at end of file
diff --git a/hrc/dev/grps/v1.py b/hrc/dev/grps/v1.py
deleted file mode 100644
index fa987a7..0000000
--- a/hrc/dev/grps/v1.py
+++ /dev/null
@@ -1,12 +0,0 @@
-from datetime import datetime
-from pydantic import BaseModel
-
-
-__version__ = "1.0.0-alpha.1"
-
-class GRPS(BaseModel):
- id: str
- name: str
- description: str
- created_at: datetime
- updated_at: datetime \ No newline at end of file