このコミットが含まれているのは:
2026-07-14 20:03:11 +09:00
コミット b0c24f319a
11個のファイルの変更849行の追加716行の削除
+3 -6
ファイルの表示
@@ -6,8 +6,7 @@ class PostImportRowNormaliser
'original_created_from',
'original_created_before',
'tags',
'parent_post_ids',
].freeze
'parent_post_ids'].freeze
FLEXIBLE_FIELDS = ['duration', 'video_ms'].freeze
ATTRIBUTE_FIELDS = (STRING_FIELDS + FLEXIBLE_FIELDS).freeze
@@ -59,16 +58,14 @@ class PostImportRowNormaliser
{ attributes: {} },
{ provenance: {} },
{ tag_sources: {} },
{ tagSources: {} },
]
{ tagSources: {} }]
return keys unless allow_warning_fields
keys + [
{ field_warnings: {} },
{ fieldWarnings: {} },
{ base_warnings: [] },
{ baseWarnings: [] },
]
{ baseWarnings: [] }]
end
private_class_method :permitted_keys