bigbuffet-rw/packages/pl-api/lib/entities/admin/canonical-email-block.ts

21 lines
463 B
TypeScript
Raw Normal View History

import * as v from 'valibot';
/**
* @category Admin schemas
* @see {@link https://docs.joinmastodon.org/entities/Admin_CanonicalEmailBlock/}
*/
const adminCanonicalEmailBlockSchema = v.object({
id: v.string(),
canonical_email_hash: v.string(),
});
/**
* @category Admin entity types
*/
type AdminCanonicalEmailBlock = v.InferOutput<typeof adminCanonicalEmailBlockSchema>;
export {
adminCanonicalEmailBlockSchema,
type AdminCanonicalEmailBlock,
};