feat: add filter video length action (#3960)

This commit is contained in:
pseudoyu 2025-06-19 23:54:16 +08:00 committed by GitHub
parent b6ec2a09cf
commit 710622a907
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 10 additions and 0 deletions

View File

@ -17,6 +17,7 @@
"actions.action_card.empty.start": "Start here!",
"actions.action_card.empty.title": "No Actions Yet",
"actions.action_card.enable_readability": "Enable Readability",
"actions.action_card.feed_options.entry_attachments_duration": "Entry Video Length",
"actions.action_card.feed_options.entry_author": "Entry Author",
"actions.action_card.feed_options.entry_content": "Entry Content",
"actions.action_card.feed_options.entry_media_length": "Entry Media Length",

View File

@ -14,6 +14,7 @@
"actions.action_card.block_rules": "ブロックルール",
"actions.action_card.custom_filters": "カスタムフィルター",
"actions.action_card.enable_readability": "読みやすさを有効化",
"actions.action_card.feed_options.entry_attachments_duration": "エントリー動画の長さ",
"actions.action_card.feed_options.entry_author": "エントリー作成者",
"actions.action_card.feed_options.entry_content": "エントリーコンテンツ",
"actions.action_card.feed_options.entry_media_length": "エントリーメディアの長さ",

View File

@ -14,6 +14,7 @@
"actions.action_card.block_rules": "阻止规则",
"actions.action_card.custom_filters": "指定条件",
"actions.action_card.enable_readability": "启用阅读模式",
"actions.action_card.feed_options.entry_attachments_duration": "条目视频时长",
"actions.action_card.feed_options.entry_author": "条目作者",
"actions.action_card.feed_options.entry_content": "条目内容",
"actions.action_card.feed_options.entry_media_length": "条目媒体个数",

View File

@ -14,6 +14,7 @@
"actions.action_card.block_rules": "封鎖規則",
"actions.action_card.custom_filters": "自訂過濾條件",
"actions.action_card.enable_readability": "啟用可讀模式",
"actions.action_card.feed_options.entry_attachments_duration": "條目視頻時長",
"actions.action_card.feed_options.entry_author": "條目作者",
"actions.action_card.feed_options.entry_content": "條目內容",
"actions.action_card.feed_options.entry_media_length": "條目媒體數量",

View File

@ -123,6 +123,7 @@ export type ActionFeedField =
| "entry_url"
| "entry_author"
| "entry_media_length"
| "entry_attachments_duration"
export type MediaModel = Exclude<
ExtractBizResponse<typeof _apiClient.entries.$get>["data"],

View File

@ -56,6 +56,11 @@ export const filterFieldOptions: Array<{
value: "entry_media_length",
type: "number",
},
{
label: "actions.action_card.feed_options.entry_attachments_duration",
value: "entry_attachments_duration",
type: "number",
},
]
export const filterOperatorOptions: Array<{