Initial commit

This commit is contained in:
Paul Coral
2025-07-26 17:36:27 +02:00
committed by GitHub
commit 8c4e5ebc31
48 changed files with 14445 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { initContract } from "@ts-rest/core";
import z from "zod";
const c = initContract();
export const contracts = c.router({
hello: {
method: "GET",
path: "/hello",
responses: {
200: z.object({
payload: z.string(),
}),
},
},
});
type C = typeof contracts;

View File

@@ -0,0 +1 @@
export * from "./hello";

View File

@@ -0,0 +1 @@
export * from "./contracts/index";