Improve chart performance (#7360)
* wip * wip * wip * wip * wip * Update chart.ts * wip * Improve server performance * wip * wip
This commit is contained in:
@@ -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,
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user