Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

server.ts

9 lines290 Bytes

1import { z } from "zod";
2import { resolvedKeybindingsConfigSchema } from "./keybindings";
3​
4export const serverConfigSchema = z.object({
5 cwd: z.string().min(1),
6 keybindings: resolvedKeybindingsConfigSchema.default([]),
7});
8​
9export type ServerConfig = z.infer<typeof serverConfigSchema>;