17 lines · 698 B · TypeScript
RawDownload
import { z } from "zod";import { keybindingRuleSchema, resolvedKeybindingsConfigSchema } from "./keybindings"; export const serverConfigSchema = z.object({  cwd: z.string().min(1),  keybindings: resolvedKeybindingsConfigSchema.default([]),}); export const serverUpsertKeybindingInputSchema = keybindingRuleSchema; export const serverUpsertKeybindingResultSchema = z.object({  keybindings: resolvedKeybindingsConfigSchema.default([]),}); export type ServerConfig = z.infer<typeof serverConfigSchema>;export type ServerUpsertKeybindingInput = z.infer<typeof serverUpsertKeybindingInputSchema>;export type ServerUpsertKeybindingResult = z.infer<typeof serverUpsertKeybindingResultSchema>;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t