Add highlights

This commit is contained in:
2024-04-05 21:35:39 +11:00
parent d02b74621a
commit 38d5108979
22 changed files with 188 additions and 25 deletions

View File

@@ -0,0 +1,16 @@
module Admin
module Commands
module Highlight
class Create
include Dry::Monads[:result]
include Deps["repos.highlight_repo"]
def call(post_id:, text:)
highlight_repo.create(post_id:, text:)
Success()
end
end
end
end
end