MCPcopy
hub / github.com/ts-rest/ts-rest / Post

Interface Post

libs/example-contracts/src/lib/contract-blog.ts:4–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { z } from 'zod';
3
4export interface Post {
5 id: string;
6 title: string;
7 description: string | null;
8 content: string | null;
9 published: boolean;
10 tags: string[];
11}
12
13const PostSchema = z.object({
14 id: z.string(),

Callers 3

getHttpVerbDecoratorFunction · 0.50
getMethodDecoratorFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected