-
Notifications
You must be signed in to change notification settings - Fork 531
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🦄 refactor: convert to TypeScript #174
- Loading branch information
Showing
508 changed files
with
31,934 additions
and
30,813 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,6 @@ | ||
# 程序配置 | ||
## 程序名称 | ||
MAIN_VITE_TITLE = "SPlayer" | ||
## 程序主端口 | ||
MAIN_VITE_MAIN_PORT = 7899 | ||
## 程序开发环境运行端口 | ||
MAIN_VITE_DEV_PORT = 6944 | ||
|
||
# 全局 API 配置 | ||
## API 运行地址 | ||
MAIN_VITE_SERVER_HOST = 127.0.0.1 | ||
## API 运行端口 | ||
MAIN_VITE_SERVER_PORT = 11451 | ||
## API 在线地址( 网址结尾不要加 / ) | ||
### 用于非客户端( 浏览器环境 ) | ||
RENDERER_VITE_SERVER_URL = /api | ||
|
||
# 程序信息 | ||
RENDERER_VITE_SITE_TITLE = "SPlayer" | ||
RENDERER_VITE_SITE_ANTHOR = "無名" | ||
RENDERER_VITE_SITE_KEYWORDS = "SPlayer,云音乐,播放器,在线音乐,在线播放器,音乐播放器" | ||
RENDERER_VITE_SITE_DES = "一个简约的在线音乐播放器,具有音乐搜索、播放、每日推荐、私人FM、歌词显示、歌曲评论、网易云登录与云盘等功能" | ||
RENDERER_VITE_SITE_URL = "imsyy.top" | ||
|
||
# Cookie | ||
## 咪咕音乐 Cookie | ||
MAIN_VITE_MIGU_COOKIE = "" | ||
|
||
# 公告配置 | ||
## 若无需公告,请将标题或内容任意一项设为空即可 | ||
## 公告类型 | ||
RENDERER_VITE_ANN_TYPE = "info" | ||
## 公告标题 | ||
RENDERER_VITE_ANN_TITLE = "" | ||
## 公告内容 | ||
RENDERER_VITE_ANN_CONTENT = "" | ||
## 公告时长(毫秒)不可超过 999999 | ||
RENDERER_VITE_ANN_DURATION = 8000 | ||
## WEB 端口 | ||
VITE_WEB_PORT = 14558 | ||
## API 端口 | ||
VITE_SERVER_PORT = 25884 | ||
## API 地址 - 结尾不要加 / | ||
VITE_API_URL = /api/netease |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,297 @@ | ||
{ | ||
"globals": { | ||
"Component": true, | ||
"ComponentPublicInstance": true, | ||
"ComputedRef": true, | ||
"EffectScope": true, | ||
"ExtractDefaultPropTypes": true, | ||
"ExtractPropTypes": true, | ||
"ExtractPublicPropTypes": true, | ||
"InjectionKey": true, | ||
"PropType": true, | ||
"Ref": true, | ||
"VNode": true, | ||
"WritableComputedRef": true, | ||
"asyncComputed": true, | ||
"autoResetRef": true, | ||
"computed": true, | ||
"computedAsync": true, | ||
"computedEager": true, | ||
"computedInject": true, | ||
"computedWithControl": true, | ||
"controlledComputed": true, | ||
"controlledRef": true, | ||
"createApp": true, | ||
"createEventHook": true, | ||
"createGlobalState": true, | ||
"createInjectionState": true, | ||
"createReactiveFn": true, | ||
"createReusableTemplate": true, | ||
"createSharedComposable": true, | ||
"createTemplatePromise": true, | ||
"createUnrefFn": true, | ||
"customRef": true, | ||
"debouncedRef": true, | ||
"debouncedWatch": true, | ||
"defineAsyncComponent": true, | ||
"defineComponent": true, | ||
"eagerComputed": true, | ||
"effectScope": true, | ||
"extendRef": true, | ||
"getCurrentInstance": true, | ||
"getCurrentScope": true, | ||
"h": true, | ||
"ignorableWatch": true, | ||
"inject": true, | ||
"injectLocal": true, | ||
"isDefined": true, | ||
"isProxy": true, | ||
"isReactive": true, | ||
"isReadonly": true, | ||
"isRef": true, | ||
"makeDestructurable": true, | ||
"markRaw": true, | ||
"nextTick": true, | ||
"onActivated": true, | ||
"onBeforeMount": true, | ||
"onBeforeRouteLeave": true, | ||
"onBeforeRouteUpdate": true, | ||
"onBeforeUnmount": true, | ||
"onBeforeUpdate": true, | ||
"onClickOutside": true, | ||
"onDeactivated": true, | ||
"onErrorCaptured": true, | ||
"onKeyStroke": true, | ||
"onLongPress": true, | ||
"onMounted": true, | ||
"onRenderTracked": true, | ||
"onRenderTriggered": true, | ||
"onScopeDispose": true, | ||
"onServerPrefetch": true, | ||
"onStartTyping": true, | ||
"onUnmounted": true, | ||
"onUpdated": true, | ||
"pausableWatch": true, | ||
"provide": true, | ||
"provideLocal": true, | ||
"reactify": true, | ||
"reactifyObject": true, | ||
"reactive": true, | ||
"reactiveComputed": true, | ||
"reactiveOmit": true, | ||
"reactivePick": true, | ||
"readonly": true, | ||
"ref": true, | ||
"refAutoReset": true, | ||
"refDebounced": true, | ||
"refDefault": true, | ||
"refThrottled": true, | ||
"refWithControl": true, | ||
"resolveComponent": true, | ||
"resolveRef": true, | ||
"resolveUnref": true, | ||
"shallowReactive": true, | ||
"shallowReadonly": true, | ||
"shallowRef": true, | ||
"syncRef": true, | ||
"syncRefs": true, | ||
"templateRef": true, | ||
"throttledRef": true, | ||
"throttledWatch": true, | ||
"toRaw": true, | ||
"toReactive": true, | ||
"toRef": true, | ||
"toRefs": true, | ||
"toValue": true, | ||
"triggerRef": true, | ||
"tryOnBeforeMount": true, | ||
"tryOnBeforeUnmount": true, | ||
"tryOnMounted": true, | ||
"tryOnScopeDispose": true, | ||
"tryOnUnmounted": true, | ||
"unref": true, | ||
"unrefElement": true, | ||
"until": true, | ||
"useActiveElement": true, | ||
"useAnimate": true, | ||
"useArrayDifference": true, | ||
"useArrayEvery": true, | ||
"useArrayFilter": true, | ||
"useArrayFind": true, | ||
"useArrayFindIndex": true, | ||
"useArrayFindLast": true, | ||
"useArrayIncludes": true, | ||
"useArrayJoin": true, | ||
"useArrayMap": true, | ||
"useArrayReduce": true, | ||
"useArraySome": true, | ||
"useArrayUnique": true, | ||
"useAsyncQueue": true, | ||
"useAsyncState": true, | ||
"useAttrs": true, | ||
"useBase64": true, | ||
"useBattery": true, | ||
"useBluetooth": true, | ||
"useBreakpoints": true, | ||
"useBroadcastChannel": true, | ||
"useBrowserLocation": true, | ||
"useCached": true, | ||
"useClipboard": true, | ||
"useClipboardItems": true, | ||
"useCloned": true, | ||
"useColorMode": true, | ||
"useConfirmDialog": true, | ||
"useCounter": true, | ||
"useCssModule": true, | ||
"useCssVar": true, | ||
"useCssVars": true, | ||
"useCurrentElement": true, | ||
"useCycleList": true, | ||
"useDark": true, | ||
"useDateFormat": true, | ||
"useDebounce": true, | ||
"useDebounceFn": true, | ||
"useDebouncedRefHistory": true, | ||
"useDeviceMotion": true, | ||
"useDeviceOrientation": true, | ||
"useDevicePixelRatio": true, | ||
"useDevicesList": true, | ||
"useDialog": true, | ||
"useDisplayMedia": true, | ||
"useDocumentVisibility": true, | ||
"useDraggable": true, | ||
"useDropZone": true, | ||
"useElementBounding": true, | ||
"useElementByPoint": true, | ||
"useElementHover": true, | ||
"useElementSize": true, | ||
"useElementVisibility": true, | ||
"useEventBus": true, | ||
"useEventListener": true, | ||
"useEventSource": true, | ||
"useEyeDropper": true, | ||
"useFavicon": true, | ||
"useFetch": true, | ||
"useFileDialog": true, | ||
"useFileSystemAccess": true, | ||
"useFocus": true, | ||
"useFocusWithin": true, | ||
"useFps": true, | ||
"useFullscreen": true, | ||
"useGamepad": true, | ||
"useGeolocation": true, | ||
"useIdle": true, | ||
"useImage": true, | ||
"useInfiniteScroll": true, | ||
"useIntersectionObserver": true, | ||
"useInterval": true, | ||
"useIntervalFn": true, | ||
"useKeyModifier": true, | ||
"useLastChanged": true, | ||
"useLink": true, | ||
"useLoadingBar": true, | ||
"useLocalStorage": true, | ||
"useMagicKeys": true, | ||
"useManualRefHistory": true, | ||
"useMediaControls": true, | ||
"useMediaQuery": true, | ||
"useMemoize": true, | ||
"useMemory": true, | ||
"useMessage": true, | ||
"useMounted": true, | ||
"useMouse": true, | ||
"useMouseInElement": true, | ||
"useMousePressed": true, | ||
"useMutationObserver": true, | ||
"useNavigatorLanguage": true, | ||
"useNetwork": true, | ||
"useNotification": true, | ||
"useNow": true, | ||
"useObjectUrl": true, | ||
"useOffsetPagination": true, | ||
"useOnline": true, | ||
"usePageLeave": true, | ||
"useParallax": true, | ||
"useParentElement": true, | ||
"usePerformanceObserver": true, | ||
"usePermission": true, | ||
"usePointer": true, | ||
"usePointerLock": true, | ||
"usePointerSwipe": true, | ||
"usePreferredColorScheme": true, | ||
"usePreferredContrast": true, | ||
"usePreferredDark": true, | ||
"usePreferredLanguages": true, | ||
"usePreferredReducedMotion": true, | ||
"usePrevious": true, | ||
"useRafFn": true, | ||
"useRefHistory": true, | ||
"useResizeObserver": true, | ||
"useRoute": true, | ||
"useRouter": true, | ||
"useScreenOrientation": true, | ||
"useScreenSafeArea": true, | ||
"useScriptTag": true, | ||
"useScroll": true, | ||
"useScrollLock": true, | ||
"useSessionStorage": true, | ||
"useShare": true, | ||
"useSlots": true, | ||
"useSorted": true, | ||
"useSpeechRecognition": true, | ||
"useSpeechSynthesis": true, | ||
"useStepper": true, | ||
"useStorage": true, | ||
"useStorageAsync": true, | ||
"useStyleTag": true, | ||
"useSupported": true, | ||
"useSwipe": true, | ||
"useTemplateRefsList": true, | ||
"useTextDirection": true, | ||
"useTextSelection": true, | ||
"useTextareaAutosize": true, | ||
"useThrottle": true, | ||
"useThrottleFn": true, | ||
"useThrottledRefHistory": true, | ||
"useTimeAgo": true, | ||
"useTimeout": true, | ||
"useTimeoutFn": true, | ||
"useTimeoutPoll": true, | ||
"useTimestamp": true, | ||
"useTitle": true, | ||
"useToNumber": true, | ||
"useToString": true, | ||
"useToggle": true, | ||
"useTransition": true, | ||
"useUrlSearchParams": true, | ||
"useUserMedia": true, | ||
"useVModel": true, | ||
"useVModels": true, | ||
"useVibrate": true, | ||
"useVirtualList": true, | ||
"useWakeLock": true, | ||
"useWebNotification": true, | ||
"useWebSocket": true, | ||
"useWebWorker": true, | ||
"useWebWorkerFn": true, | ||
"useWindowFocus": true, | ||
"useWindowScroll": true, | ||
"useWindowSize": true, | ||
"watch": true, | ||
"watchArray": true, | ||
"watchAtMost": true, | ||
"watchDebounced": true, | ||
"watchDeep": true, | ||
"watchEffect": true, | ||
"watchIgnorable": true, | ||
"watchImmediate": true, | ||
"watchOnce": true, | ||
"watchPausable": true, | ||
"watchPostEffect": true, | ||
"watchSyncEffect": true, | ||
"watchThrottled": true, | ||
"watchTriggerable": true, | ||
"watchWithFilter": true, | ||
"whenever": true | ||
} | ||
} |
Oops, something went wrong.