Skip to content

Commit

Permalink
Move default QR and MovingUI to content manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Cohee1207 committed Apr 6, 2024
1 parent 59daeeb commit b3b7017
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions default/content/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,5 +610,17 @@
{
"filename": "presets/instruct/simple-proxy-for-tavern.json",
"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"
}
]
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added public/QuickReplies/.gitkeep
Empty file.
Empty file added public/backgrounds/.gitkeep
Empty file.
Empty file added public/movingUI/.gitkeep
Empty file.
4 changes: 4 additions & 0 deletions src/endpoints/content-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ function getTargetByType(type) {
return DIRECTORIES.instruct;
case 'context':
return DIRECTORIES.context;
case 'moving_ui':
return DIRECTORIES.movingUI;
case 'quick_replies':
return DIRECTORIES.quickreplies;
default:
return null;
}
Expand Down

0 comments on commit b3b7017

Please sign in to comment.