refactor: reboot req params

This commit is contained in:
手瓜一十雪 2024-06-05 14:25:21 +08:00
parent 3377c383c1
commit c35d2e08cd
2 changed files with 2 additions and 3 deletions

@ -1 +1 @@
Subproject commit 2abb424c620da4a1b47f7afac9ff054d2abf20dd Subproject commit 1d7364fe519cfedb6cd2f88e42f5ec2738a7adc8

View File

@ -8,8 +8,7 @@ const SchemaData = {
type: 'object', type: 'object',
properties: { properties: {
delay: { type: 'number' } delay: { type: 'number' }
}, }
required: ['delay']
} as const satisfies JSONSchema; } as const satisfies JSONSchema;
type Payload = FromSchema<typeof SchemaData>; type Payload = FromSchema<typeof SchemaData>;