clean repo
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@ts-rest/core": "^3.52.1",
|
||||
"zod": "^3.22.3"
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
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;
|
||||
@@ -1 +0,0 @@
|
||||
export * from "./hello";
|
||||
Reference in New Issue
Block a user