29 lines
503 B
TypeScript
29 lines
503 B
TypeScript
|
|
export const logSchema = {
|
||
|
|
/**
|
||
|
|
* フォローしている合計
|
||
|
|
*/
|
||
|
|
count: {
|
||
|
|
type: 'number' as 'number',
|
||
|
|
description: 'リアクションされた数',
|
||
|
|
},
|
||
|
|
};
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ユーザーごとのリアクションに関するチャート
|
||
|
|
*/
|
||
|
|
export const schema = {
|
||
|
|
type: 'object' as 'object',
|
||
|
|
properties: {
|
||
|
|
local: {
|
||
|
|
type: 'object' as 'object',
|
||
|
|
properties: logSchema
|
||
|
|
},
|
||
|
|
remote: {
|
||
|
|
type: 'object' as 'object',
|
||
|
|
properties: logSchema
|
||
|
|
},
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
export const name = 'perUserReaction';
|