10 lines
No EOL
267 B
TypeScript
10 lines
No EOL
267 B
TypeScript
import { z } from 'zod';
|
|
|
|
import { normalizeStatus } from 'soapbox/normalizers';
|
|
import { toSchema } from 'soapbox/utils/normalizers';
|
|
|
|
const statusSchema = toSchema(normalizeStatus);
|
|
|
|
type Status = z.infer<typeof statusSchema>;
|
|
|
|
export { statusSchema, type Status }; |