mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
23 lines
514 B
TypeScript
23 lines
514 B
TypeScript
import { FromSchema } from 'json-schema-to-ts';
|
|
|
|
export const splashSchema = {
|
|
$id: '#/components/schemas/splashSchema',
|
|
type: 'object',
|
|
additionalProperties: false,
|
|
required: ['userId', 'splashId', 'seen'],
|
|
properties: {
|
|
userId: {
|
|
type: 'number',
|
|
},
|
|
splashId: {
|
|
type: 'string',
|
|
},
|
|
seen: {
|
|
type: 'boolean',
|
|
},
|
|
},
|
|
components: {},
|
|
} as const;
|
|
|
|
export type SplashSchema = FromSchema<typeof splashSchema>;
|