1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib/openapi/spec/splash-schema.ts

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>;