mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 12:49:16 +02:00
9 lines
279 B
TypeScript
9 lines
279 B
TypeScript
import { z } from "zod";
|
|
import { ReferenceSchema, TransientEntitySchema } from "./entity.ts";
|
|
|
|
export const DeleteSchema = TransientEntitySchema.extend({
|
|
type: z.literal("Delete"),
|
|
author: ReferenceSchema,
|
|
deleted_type: z.string(),
|
|
deleted: ReferenceSchema,
|
|
});
|