mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
10 lines
241 B
TypeScript
10 lines
241 B
TypeScript
import { z } from "zod";
|
|
import { url } from "../common.ts";
|
|
import { EntitySchema } from "../entity.ts";
|
|
|
|
export const ShareSchema = EntitySchema.extend({
|
|
type: z.literal("pub.versia:share/Share"),
|
|
author: url,
|
|
shared: url,
|
|
});
|