Move default QR and MovingUI to content manager

This commit is contained in:
Cohee 2024-04-06 17:55:53 +03:00
parent 59daeeb37a
commit b3b7017bf2
8 changed files with 16 additions and 0 deletions

View File

@ -610,5 +610,17 @@
{ {
"filename": "presets/instruct/simple-proxy-for-tavern.json", "filename": "presets/instruct/simple-proxy-for-tavern.json",
"type": "instruct" "type": "instruct"
},
{
"filename": "presets/moving-ui/Default.json",
"type": "moving_ui"
},
{
"filename": "presets/moving-ui/Black Magic Time.json",
"type": "moving_ui"
},
{
"filename": "presets/quick-replies/Default.json",
"type": "quick_replies"
} }
] ]

View File

View File

0
public/movingUI/.gitkeep Normal file
View File

View File

@ -163,6 +163,10 @@ function getTargetByType(type) {
return DIRECTORIES.instruct; return DIRECTORIES.instruct;
case 'context': case 'context':
return DIRECTORIES.context; return DIRECTORIES.context;
case 'moving_ui':
return DIRECTORIES.movingUI;
case 'quick_replies':
return DIRECTORIES.quickreplies;
default: default:
return null; return null;
} }