1
0

Improve chart performance (#7360)

* wip

* wip

* wip

* wip

* wip

* Update chart.ts

* wip

* Improve server performance

* wip

* wip
This commit is contained in:
syuilo
2021-03-18 11:17:05 +09:00
committed by GitHub
parent 0d19c2d42e
commit 4f249159d3
32 changed files with 889 additions and 161 deletions
@@ -1,11 +1,15 @@
export const logSchema = {
/**
* アクティブユーザー
* アクティブユーザー
*/
count: {
type: 'number' as const,
users: {
type: 'array' as const,
optional: false as const, nullable: false as const,
description: 'アクティブユーザー',
description: 'アクティブユーザー',
items: {
type: 'string' as const,
optional: false as const, nullable: false as const,
}
},
};
+8 -4
View File
@@ -1,11 +1,15 @@
export const logSchema = {
/**
* 投稿された数
* 投稿したユーザー
*/
count: {
type: 'number' as const,
users: {
type: 'array' as const,
optional: false as const, nullable: false as const,
description: '投稿された数',
description: '投稿したユーザー',
items: {
type: 'string' as const,
optional: false as const, nullable: false as const,
}
},
};
@@ -3,9 +3,12 @@ export const schema = {
optional: false as const, nullable: false as const,
properties: {
foo: {
type: 'number' as const,
type: 'array' as const,
optional: false as const, nullable: false as const,
description: ''
items: {
type: 'string' as const,
optional: false as const, nullable: false as const,
}
},
}
};