Add auto tagger for posts
This commit is contained in:
13
slices/admin/types.rb
Normal file
13
slices/admin/types.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "dry/types"
|
||||
|
||||
module Admin
|
||||
Types = Dry.Types
|
||||
|
||||
module Types
|
||||
class Tag < Dry::Struct
|
||||
attribute :label, Types::Coercible::String
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user