14 lines
392 B
TypeScript
14 lines
392 B
TypeScript
import * as v from 'valibot';
|
|
|
|
/** @see {@link https://docs.joinmastodon.org/entities/Admin_CanonicalEmailBlock/} */
|
|
const adminCanonicalEmailBlockSchema = v.object({
|
|
id: v.string(),
|
|
canonical_email_hash: v.string(),
|
|
});
|
|
|
|
type AdminCanonicalEmailBlock = v.InferOutput<typeof adminCanonicalEmailBlockSchema>;
|
|
|
|
export {
|
|
adminCanonicalEmailBlockSchema,
|
|
type AdminCanonicalEmailBlock,
|
|
};
|