Skip to content

Commit 00b340a

Browse files
committed
Refactor ControlRoom components and update routing for new pages
- Removed outdated ControlRoom components and their associated styles and stories. - Added new pages including CinemaQueuePage, AutoMessageBillboardPage, and BackupsPage to enhance site functionality. - Updated routing to include new pages and adjusted imports accordingly. - Enhanced API documentation with new endpoints for DatabaseBackup operations. - Improved overall structure and organization of the site components for better maintainability.
1 parent c07478f commit 00b340a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+254
-968
lines changed

api/swagger_api.json

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,95 @@
863863
}
864864
}
865865
},
866+
"/api/DatabaseBackup/create": {
867+
"post": {
868+
"tags": [
869+
"DatabaseBackup"
870+
],
871+
"parameters": [
872+
{
873+
"name": "databaseName",
874+
"in": "query",
875+
"schema": {
876+
"type": "string"
877+
}
878+
}
879+
],
880+
"responses": {
881+
"200": {
882+
"description": "OK"
883+
}
884+
}
885+
}
886+
},
887+
"/api/DatabaseBackup/download": {
888+
"get": {
889+
"tags": [
890+
"DatabaseBackup"
891+
],
892+
"parameters": [
893+
{
894+
"name": "fileName",
895+
"in": "query",
896+
"schema": {
897+
"type": "string"
898+
}
899+
}
900+
],
901+
"responses": {
902+
"200": {
903+
"description": "OK"
904+
}
905+
}
906+
}
907+
},
908+
"/api/DatabaseBackup/list": {
909+
"get": {
910+
"tags": [
911+
"DatabaseBackup"
912+
],
913+
"responses": {
914+
"200": {
915+
"description": "OK"
916+
}
917+
}
918+
}
919+
},
920+
"/api/DatabaseBackup/cleanup": {
921+
"post": {
922+
"tags": [
923+
"DatabaseBackup"
924+
],
925+
"parameters": [
926+
{
927+
"name": "keepCount",
928+
"in": "query",
929+
"schema": {
930+
"type": "integer",
931+
"format": "int32",
932+
"default": 10
933+
}
934+
}
935+
],
936+
"responses": {
937+
"200": {
938+
"description": "OK"
939+
}
940+
}
941+
}
942+
},
943+
"/api/DatabaseBackup/status": {
944+
"get": {
945+
"tags": [
946+
"DatabaseBackup"
947+
],
948+
"responses": {
949+
"200": {
950+
"description": "OK"
951+
}
952+
}
953+
}
954+
},
866955
"/api/Framedata/characters": {
867956
"get": {
868957
"tags": [

api/swagger_hubs.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,23 @@
838838
"responses": { }
839839
}
840840
},
841+
"/hubs/telegramus/TemplateMessage": {
842+
"post": {
843+
"tags": [
844+
"TelegramusHub"
845+
],
846+
"parameters": [
847+
{
848+
"name": "message",
849+
"in": "query",
850+
"schema": {
851+
"type": "string"
852+
}
853+
}
854+
],
855+
"responses": { }
856+
}
857+
},
841858
"/hubs/telegramus/UpdateWaifuPrizes": {
842859
"post": {
843860
"tags": [

src/Site/ControlRoom_Components/README.md

Lines changed: 0 additions & 169 deletions
This file was deleted.

src/Site/ControlRoom_Components/index.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/Site/ControlRoom_Components/AdminPanel/AdminPanel.module.scss renamed to src/Site/Pages/AdminPanel/AdminPanel.module.scss

File renamed without changes.

src/Site/ControlRoom_Components/AdminPanel/AdminPanel.stories.tsx renamed to src/Site/Pages/AdminPanel/AdminPanel.stories.tsx

File renamed without changes.
File renamed without changes.

src/Site/ControlRoom_Components/AdminPanel/AdminPanel.types.ts renamed to src/Site/Pages/AdminPanel/AdminPanel.types.ts

File renamed without changes.

0 commit comments

Comments
 (0)