mirror of
https://github.com/sim1222/misskey.git
synced 2025-06-12 23:07:56 +09:00
48 lines
1003 B
TypeScript
48 lines
1003 B
TypeScript
import Chart from '../../core';
|
|
|
|
export const name = 'perUserNotes';
|
|
|
|
export const schema = {
|
|
type: 'object' as const,
|
|
optional: false as const, nullable: false as const,
|
|
properties: {
|
|
total: {
|
|
type: 'number' as const,
|
|
optional: false as const, nullable: false as const,
|
|
},
|
|
|
|
inc: {
|
|
type: 'number' as const,
|
|
optional: false as const, nullable: false as const,
|
|
},
|
|
|
|
dec: {
|
|
type: 'number' as const,
|
|
optional: false as const, nullable: false as const,
|
|
},
|
|
|
|
diffs: {
|
|
type: 'object' as const,
|
|
optional: false as const, nullable: false as const,
|
|
properties: {
|
|
normal: {
|
|
type: 'number' as const,
|
|
optional: false as const, nullable: false as const,
|
|
},
|
|
|
|
reply: {
|
|
type: 'number' as const,
|
|
optional: false as const, nullable: false as const,
|
|
},
|
|
|
|
renote: {
|
|
type: 'number' as const,
|
|
optional: false as const, nullable: false as const,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|
|
|
|
export const entity = Chart.schemaToEntity(name, schema, true);
|