Download apps/server/src/constants.ts from fukeke/rss: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/spaces/fukeke/rss/resolve/main/apps/server/src/constants.ts
- Command line
-
hf download hf://spaces/fukeke/rss/apps/server/src/constants.ts
-
curl -L -o constants.ts https://huggingface.co/spaces/fukeke/rss/resolve/main/apps/server/src/constants.ts
349 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; | |