bigbuffet-rw/packages/pl-api/lib/entities/admin/canonical-email-block.ts
marcin mikołajczak bc65755862 pl-api: Update docs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-11-29 16:01:54 +01:00

20 lines
463 B
TypeScript

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,
};