File size: 349 Bytes
ca668ce
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;