@@ -1,12 +1,10 @@
|
||||
import { types, bool } from '../../../../misc/schema';
|
||||
|
||||
export const schema = {
|
||||
type: types.object,
|
||||
optional: bool.false, nullable: bool.false,
|
||||
type: 'object' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
properties: {
|
||||
foo: {
|
||||
type: types.number,
|
||||
optional: bool.false, nullable: bool.false,
|
||||
type: 'number' as const,
|
||||
optional: false as const, nullable: false as const,
|
||||
description: ''
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user