chore: monorepo scaffold, CI, MIT license
Bun workspaces (server/web/shared), typecheck+test gates, Gitea CI. Refs PAI-90.
This commit is contained in:
9
shared/src/types.d.ts
vendored
Normal file
9
shared/src/types.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { z } from "zod";
|
||||
export declare const HealthResponse: z.ZodObject<{
|
||||
ok: z.ZodLiteral<true>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
ok: true;
|
||||
}, {
|
||||
ok: true;
|
||||
}>;
|
||||
export type HealthResponse = z.infer<typeof HealthResponse>;
|
||||
2
shared/src/types.js
Normal file
2
shared/src/types.js
Normal file
@@ -0,0 +1,2 @@
|
||||
import { z } from "zod";
|
||||
export const HealthResponse = z.object({ ok: z.literal(true) });
|
||||
4
shared/src/types.ts
Normal file
4
shared/src/types.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const HealthResponse = z.object({ ok: z.literal(true) });
|
||||
export type HealthResponse = z.infer<typeof HealthResponse>;
|
||||
Reference in New Issue
Block a user