This commit is contained in:
syuilo 2018-10-21 17:28:27 +09:00
parent 4c180869c6
commit a62013f54d
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 19 additions and 95 deletions

View File

@ -291,37 +291,22 @@ abstract class Stats<T> {
type UsersLog = {
local: {
/**
* ()
*
*/
total: number;
/**
* ()
*
*/
inc: number;
/**
* ()
*
*/
dec: number;
};
remote: {
/**
* ()
*/
total: number;
/**
* ()
*/
inc: number;
/**
* ()
*/
dec: number;
};
remote: UsersLog['local'];
};
class UsersStats extends Stats<UsersLog> {
@ -380,71 +365,39 @@ export const usersStats = new UsersStats();
type NotesLog = {
local: {
/**
* 稿 ()
* 稿
*/
total: number;
/**
* 稿 ()
* 稿
*/
inc: number;
/**
* 稿 ()
* 稿
*/
dec: number;
diffs: {
/**
* 稿 ()
* 稿
*/
normal: number;
/**
* 稿 ()
* 稿
*/
reply: number;
/**
* Renoteの投稿数の差分 ()
* Renoteの投稿数の差分
*/
renote: number;
};
};
remote: {
/**
* 稿 ()
*/
total: number;
/**
* 稿 ()
*/
inc: number;
/**
* 稿 ()
*/
dec: number;
diffs: {
/**
* 稿 ()
*/
normal: number;
/**
* 稿 ()
*/
reply: number;
/**
* Renoteの投稿数の差分 ()
*/
renote: number;
};
};
remote: NotesLog['local'];
};
class NotesStats extends Stats<NotesLog> {
@ -524,67 +477,37 @@ export const notesStats = new NotesStats();
type DriveLog = {
local: {
/**
* ()
*
*/
totalCount: number;
/**
* ()
*
*/
totalSize: number;
/**
* ()
*
*/
incCount: number;
/**
* 使 ()
* 使
*/
incSize: number;
/**
* ()
*
*/
decCount: number;
/**
* 使 ()
* 使
*/
decSize: number;
};
remote: {
/**
* ()
*/
totalCount: number;
/**
* ()
*/
totalSize: number;
/**
* ()
*/
incCount: number;
/**
* 使 ()
*/
incSize: number;
/**
* ()
*/
decCount: number;
/**
* 使 ()
*/
decSize: number;
};
remote: DriveLog['local'];
};
class DriveStats extends Stats<DriveLog> {
@ -766,3 +689,4 @@ class HashtagStats extends Stats<HashtagLog> {
export const hashtagStats = new HashtagStats();
//#endregion
//#endregion