Download apps/server/src/constants.ts from Moniee/wewe2: direct link, hf CLI and curl.
- Browser
- Download file 382 Bytes
-
https://huggingface.co/spaces/Moniee/wewe2/resolve/main/apps/server/src/constants.ts
- Command line
-
hf download hf://spaces/Moniee/wewe2/apps/server/src/constants.ts
-
curl -L -o constants.ts https://huggingface.co/spaces/Moniee/wewe2/resolve/main/apps/server/src/constants.ts
382 Bytes
| export const statusMap = { | |
| // 0:失效 1:启用 2:禁用 | |
| INVALID: 0, | |
| ENABLE: 1, | |
| DISABLE: 2, | |
| }; | |
| export const feedTypes = ['rss', 'atom', 'json'] as const; | |
| export const feedMimeTypeMap = { | |
| rss: 'application/rss+xml; charset=utf-8', | |
| atom: 'application/atom+xml; charset=utf-8', | |
| json: 'application/feed+json; charset=utf-8', | |
| } as const; | |
| export const defaultCount = 20; | |