mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-17 13:46:47 +02:00
Upgrades biome to 1.6.1, and updates husky pre-commit hook. Most changes here are making type imports explicit.
23 lines
765 B
TypeScript
23 lines
765 B
TypeScript
import type { FromSchema } from 'json-schema-to-ts';
|
|
import { splashRequestSchema } from './splash-request-schema';
|
|
|
|
export const splashResponseSchema = {
|
|
...splashRequestSchema,
|
|
$id: '#/components/schemas/splashResponseSchema',
|
|
additionalProperties: false,
|
|
description: 'Data related to a user having seen a splash screen.',
|
|
required: [...splashRequestSchema.required, 'seen'],
|
|
properties: {
|
|
...splashRequestSchema.properties,
|
|
seen: {
|
|
type: 'boolean',
|
|
description:
|
|
'Indicates whether the user has seen the splash screen or not.',
|
|
example: true,
|
|
},
|
|
},
|
|
components: {},
|
|
} as const;
|
|
|
|
export type SplashResponseSchema = FromSchema<typeof splashResponseSchema>;
|