1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-08 19:04:05 +02:00
Files
misskey/src/services/chart/charts/schemas/test-grouped.ts
syuilo 0463c6bb0f Refactor API (#4770)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update description.ts

* wip
2019-04-23 22:35:26 +09:00

34 lines
651 B
TypeScript

import { types, bool } from '../../../../misc/schema';
export const schema = {
type: types.object,
optional: bool.false, nullable: bool.false,
properties: {
foo: {
type: types.object,
optional: bool.false, nullable: bool.false,
properties: {
total: {
type: types.number,
optional: bool.false, nullable: bool.false,
description: ''
},
inc: {
type: types.number,
optional: bool.false, nullable: bool.false,
description: ''
},
dec: {
type: types.number,
optional: bool.false, nullable: bool.false,
description: ''
},
}
}
}
};
export const name = 'testGrouped';