Files
ncd-fe/packages/pl-api/lib/entities/circle.ts
mkljczk f30fec0ded pl-api: support kmyblue circles
Signed-off-by: mkljczk <git@mkljczk.pl>
2024-12-22 20:20:12 +01:00

17 lines
259 B
TypeScript

import * as v from 'valibot';
/**
* @category Schemas
*/
const circleSchema = v.object({
id: v.string(),
title: v.string(),
});
/**
* @category Entity types
*/
type Circle = v.InferOutput<typeof circleSchema>;
export { circleSchema, type Circle };