Skip to content

Commit

Permalink
submodules!
Browse files Browse the repository at this point in the history
  • Loading branch information
0xBLCKLPTN committed Jun 12, 2024
1 parent 6ccabdd commit 5b159f0
Show file tree
Hide file tree
Showing 23 changed files with 15 additions and 419 deletions.
8 changes: 7 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
url = https://github.com/0xBLCKLPTN/Memore.git
[submodule "plugins/Box"]
path = plugins/Box
url = https://github.com/0xBLCKLPTN/Box
url = https://github.com/0xBLCKLPTN/Box.git
[submodule "plugins/Memore"]
path = plugins/Memore
url = https://github.com/0xBLCKLPTN/Memore
Expand All @@ -13,3 +13,9 @@
[submodule "plugins/Logfrem"]
path = plugins/Logfrem
url = https://github.com/0xBLCKLPTN/Logfrem
[submodule "plugins/Alice-Database"]
path = plugins/Alice-Database
url = https://github.com/0xBLCKLPTN/Alice-Database.git
[submodule "plugins/MemoreDB"]
path = plugins/MemoreDB
url = https://github.com/0xBLCKLPTN/MemoreDB.git
1 change: 1 addition & 0 deletions plugins/Alice-Database
Submodule Alice-Database added at e0e994
14 changes: 0 additions & 14 deletions plugins/Auther/Cargo.toml

This file was deleted.

18 changes: 0 additions & 18 deletions plugins/Auther/develop_shell.nix

This file was deleted.

33 changes: 0 additions & 33 deletions plugins/Auther/src/main.rs

This file was deleted.

1 change: 1 addition & 0 deletions plugins/Box
Submodule Box added at 55ff08
12 changes: 5 additions & 7 deletions plugins/Kingdom-Scheduler/src/api_v1/schedule_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from models import rr_models
from core.types import *
import json
from .users_router import JWTBearer

router = APIRouter(
prefix='/api/v1/schedule'
)
Expand Down Expand Up @@ -33,11 +35,11 @@ def create_group_dict(group_id: str) -> dict:
'budget': group.budget
}

@router.get('/get_schedule')
@router.get('/get_schedule', )
async def get_schedule(date: str) -> object:
return await ms.get_schedule(date)

@router.post('/create_schedule')
@router.post('/create_schedule', dependencies=[Depends(JWTBearer())])
async def create_schedule(schedule: rr_models.CreateSchedule) -> BoxedResult[rr_models.Result]:
schedule = {
'date': schedule.date,
Expand All @@ -53,12 +55,8 @@ async def create_schedule(schedule: rr_models.CreateSchedule) -> BoxedResult[rr_
print(schedule)
await ms.add_schedule(schedule)
return rr_models.Result(result='schedule created!')
@router.post('/get-schedules')
async def get_schedules() -> object:
pass


@router.post('/add-lesson')
@router.post('/add-lesson', dependencies=[Depends(JWTBearer())])
async def add_lesson(lesson: rr_models.LessonRequest) -> BoxedResult[rr_models.Result]:
return dspc.addLesson(lesson)

Expand Down
1 change: 1 addition & 0 deletions plugins/MemoreDB
Submodule MemoreDB added at daca1d
4 changes: 0 additions & 4 deletions plugins/box/.gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions plugins/box/pyproject.toml

This file was deleted.

2 changes: 0 additions & 2 deletions plugins/box/src/Makefile

This file was deleted.

6 changes: 0 additions & 6 deletions plugins/box/src/crud.py

This file was deleted.

Empty file removed plugins/box/src/files/README.md
Empty file.
41 changes: 0 additions & 41 deletions plugins/box/src/main.py

This file was deleted.

2 changes: 0 additions & 2 deletions plugins/cloud/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions plugins/cloud/README.md

This file was deleted.

Loading

0 comments on commit 5b159f0

Please sign in to comment.