import type { PushPermission, ShellPermission } from "../external.ts"; export interface RepoSettings { model: string | null; setupScript: string | null; postCheckoutScript: string | null; prepushScript: string | null; stopScript: string | null; push: PushPermission; shell: ShellPermission; prApproveEnabled: boolean; modeInstructions: Record; } export function defaultRepoSettings(): RepoSettings { return { model: null, setupScript: null, postCheckoutScript: null, prepushScript: null, stopScript: null, push: "restricted", shell: "disabled", prApproveEnabled: false, modeInstructions: {}, }; }