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

Interface PostTs

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected