mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
20 lines
480 B
TypeScript
20 lines
480 B
TypeScript
|
import { FromSchema } from 'json-schema-to-ts';
|
||
|
|
||
|
export const changePasswordSchema = {
|
||
|
$id: '#/components/schemas/changePasswordSchema',
|
||
|
type: 'object',
|
||
|
additionalProperties: false,
|
||
|
required: ['token', 'password'],
|
||
|
properties: {
|
||
|
token: {
|
||
|
type: 'string',
|
||
|
},
|
||
|
password: {
|
||
|
type: 'string',
|
||
|
},
|
||
|
},
|
||
|
components: {},
|
||
|
} as const;
|
||
|
|
||
|
export type ChangePasswordSchema = FromSchema<typeof changePasswordSchema>;
|