@@ -107,7 +107,10 @@ export const getSongLevelsData = (
107107 ) ;
108108} ;
109109
110- // 排序选项
110+ /**
111+ * 排序选项
112+ * @returns 排序选项
113+ */
111114export const sortOptions = {
112115 default : { name : "默认排序" , show : "all" , icon : "Sort" } ,
113116 titleAZ : { name : "标题升序( A - Z )" , show : "all" , icon : "SortAZ" } ,
@@ -120,7 +123,11 @@ export const sortOptions = {
120123 dateDown : { name : "日期降序" , show : "radio" , icon : "SortDateDown" } ,
121124} as const ;
122125
123- // 自定义图片工具栏
126+ /**
127+ * 渲染图片工具栏
128+ * @param nodes 图片工具栏节点
129+ * @returns 图片工具栏
130+ */
124131export const renderToolbar = ( { nodes } : ImageRenderToolbarProps ) => {
125132 return [
126133 nodes . prev ,
@@ -134,20 +141,24 @@ export const renderToolbar = ({ nodes }: ImageRenderToolbarProps) => {
134141 ] ;
135142} ;
136143
137- // AMLL TTML DB Server 列表
144+ /**
145+ * AMLL TTML DB Server 列表
146+ * @returns AMLL TTML DB Server 列表
147+ */
138148export const amllDbServers = [
139149 {
140- label : "GitHub 官方仓库 (推荐) " ,
150+ label : "【推荐】 GitHub 官方仓库" ,
141151 description : "官方源,更新及时,但访问速度可能较慢" ,
142- value : "https://raw.githubusercontent.com/Steve-xmh/amll-ttml-db/refs/heads/main/ncm-lyrics/%s.ttml" ,
152+ value :
153+ "https://raw.githubusercontent.com/Steve-xmh/amll-ttml-db/refs/heads/main/ncm-lyrics/%s.ttml" ,
143154 } ,
144155 {
145156 label : "AMLL TTML DB Service (SteveXMH)" ,
146- description : "作者提供的官方镜像源,但免费额度快没了" ,
157+ description : "作者提供的官方镜像源,但免费额度快没了 😂 " ,
147158 value : "https://amll-ttml-db.stevexmh.net/ncm/%s" ,
148159 } ,
149160 {
150- label : "AMLL TTML DB 镜像站 (HelloZGY) (默认 )" ,
161+ label : "【默认】 AMLL TTML DB 镜像站 (HelloZGY)" ,
151162 description : "社区提供的镜像源,感谢 HelloZGY" ,
152163 value : "https://amlldb.bikonoo.com/ncm-lyrics/%s.ttml" ,
153164 } ,
@@ -163,5 +174,9 @@ export const amllDbServers = [
163174 } ,
164175] as const ;
165176
166- // 默认 AMLL TTML DB Server (HelloZGY)
177+ /**
178+ * 默认 AMLL TTML DB Server
179+ * 感谢 HelloZGY 提供镜像源
180+ * @returns 默认 AMLL TTML DB Server
181+ */
167182export const defaultAMLLDbServer = amllDbServers [ 2 ] . value ;
0 commit comments