rsshub
Version:
Make RSS Great Again!
68 lines (59 loc) • 1.74 kB
text/typescript
export enum RankingPeriod {
DAILY = 'daily',
WEEKLY = 'weekly',
MONTHLY = 'monthly',
QUARTER = 'quarter',
YEARLY = 'yearly',
TOTAL = 'total',
}
export enum NovelType {
TOTAL = 'total',
SHORT = 't',
ONGOING = 'r',
COMPLETE = 'er',
}
export enum RankingType {
LIST = 'list',
GENRE = 'genre',
ISEKAI = 'isekai',
}
export const periodToOrder = {
[]: 'dailypoint',
[]: 'weeklypoint',
[]: 'monthlypoint',
[]: 'quarterpoint',
[]: 'yearlypoint',
[]: 'hyoka',
} as const;
export const periodToPointField = {
[]: 'pt',
[]: 'weekly_point',
[]: 'monthly_point',
[]: 'quarter_point',
[]: 'yearly_point',
[]: 'global_point',
} as const;
export const periodToJapanese = {
[]: '日間',
[]: '週間',
[]: '月間',
[]: '四半期',
[]: '年間',
[]: '累計',
} as const;
export const novelTypeToJapanese = {
[]: 'すべて',
[]: '短編',
[]: '連載中',
[]: '完結済',
} as const;
export enum IsekaiCategory {
RENAI = '1',
FANTASY = '2',
OTHER = 'o',
}
export const isekaiCategoryToJapanese = {
[]: '〔恋愛〕',
[]: '〔ファンタジー〕',
[]: '〔文芸・SF・その他〕',
} as const;