dotenvを廃止しconfig.tsへ・天気の分割数をconfigで変更できるように・デバッグ用のサンプルログを.gitignoreに追加・地震情報解析の修正
This commit is contained in:
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
interface earthquakeTypes {
|
||||
reconnectTimes: number;
|
||||
websocketUrl: string;
|
||||
areasCsvUrl: string;
|
||||
}
|
||||
|
||||
interface weatherTypes {
|
||||
splitCount: number;
|
||||
}
|
||||
|
||||
export interface configTypes {
|
||||
earthquake: earthquakeTypes;
|
||||
weather: weatherTypes;
|
||||
|
||||
apiToken: string;
|
||||
uwuzuServer: string;
|
||||
}
|
||||
Vendored
+33
@@ -0,0 +1,33 @@
|
||||
export interface Role {
|
||||
name: string;
|
||||
color: string;
|
||||
effect: string;
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface meApi {
|
||||
username: string;
|
||||
userid: string;
|
||||
profile: string;
|
||||
user_icon: string;
|
||||
user_header: string;
|
||||
registered_date: string;
|
||||
followee: Array;
|
||||
followee_cnt: number;
|
||||
follower: Array;
|
||||
follower_cnt: number;
|
||||
ueuse_cnt: number;
|
||||
isBot: Boolean;
|
||||
isAdmin: Boolean;
|
||||
role: Role[];
|
||||
language: String;
|
||||
}
|
||||
|
||||
export interface ueuseCreateApi {
|
||||
uniqid: string;
|
||||
userid: string;
|
||||
}
|
||||
|
||||
export interface followApi {
|
||||
userid: string;
|
||||
}
|
||||
Reference in New Issue
Block a user