Add auto tagger for posts

This commit is contained in:
2023-05-06 19:58:59 +10:00
parent c4bd903e74
commit 9f8359d782
25 changed files with 424 additions and 2 deletions

13
slices/admin/types.rb Normal file
View 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