fix: 合并服务器未推送改动并保留手动视频标签
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
export const VIDEO_CONTENT_TAGS = [
|
||||
"美女",
|
||||
"游戏",
|
||||
"时政",
|
||||
"美食",
|
||||
"旅行",
|
||||
"体育",
|
||||
"科技",
|
||||
"教育",
|
||||
"宠物",
|
||||
"音乐",
|
||||
"影视",
|
||||
"财经",
|
||||
"生活",
|
||||
"其他",
|
||||
] as const;
|
||||
|
||||
export type VideoContentTag = (typeof VIDEO_CONTENT_TAGS)[number];
|
||||
|
||||
const videoContentTagSet = new Set<string>(VIDEO_CONTENT_TAGS);
|
||||
|
||||
export function isVideoContentTag(value: string): value is VideoContentTag {
|
||||
return videoContentTagSet.has(value);
|
||||
}
|
||||
Reference in New Issue
Block a user