1export const internalSymbolKey = Symbol.for('$'); 2export const internalSerializeKey = '$'; 3export const localMusicSheetId = 'local-music-sheet'; 4 5export const localPluginPlatform = '本地'; 6export const localPluginHash = 'local-plugin-hash'; 7 8export const internalFakeSoundKey = 'fake-key'; 9export const tabName = { 10 music: '单曲', 11 album: '专辑', 12 artist: '作者', 13}; 14 15export enum RequestStateCode { 16 /** 空闲 */ 17 IDLE = 0, 18 /** 检索首页 */ 19 PENDING_FP = 1, 20 /** 检索中 */ 21 PENDING = 2, 22 /** 部分结束 */ 23 PARTLY_DONE = 4, 24 /** 全部结束 */ 25 FINISHED = 5, 26} 27 28export const StorageKeys = { 29 MediaMetaKeys: 'media-meta-keys', 30 MediaCache: 'media-cache', 31 LocalMusicSheet: 'local-music-sheet', 32}; 33 34export const CacheControl = { 35 Cache: 'cache', 36 NoCache: 'no-cache', 37 NoStore: 'no-store', 38}; 39