wewe-rss / apps /server /src /constants.ts
Elkins's picture
Upload 84 files
ca668ce verified
raw
history blame contribute delete
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;