mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
@@ -141,12 +141,14 @@ const treeSchema = strictObject({
|
||||
|
||||
export interface Remote {
|
||||
id: string;
|
||||
alias?: string;
|
||||
heads: Record<string, string>;
|
||||
delegate: boolean;
|
||||
}
|
||||
|
||||
const remoteSchema = strictObject({
|
||||
id: string(),
|
||||
alias: string().optional(),
|
||||
heads: record(string(), string()),
|
||||
delegate: boolean(),
|
||||
}) satisfies ZodSchema<Remote>;
|
||||
|
||||
Reference in New Issue
Block a user