mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Fix RepoInfo delegate type
This commit is contained in:
@@ -11,7 +11,7 @@ use super::cobs::Author;
|
||||
#[ts(export)]
|
||||
pub struct RepoInfo {
|
||||
pub payloads: SupportedPayloads,
|
||||
#[ts(type = "({ id: string } | { id: string, alias?: string })[]")]
|
||||
#[ts(as = "Vec<Author>")]
|
||||
pub delegates: Vec<Author>,
|
||||
pub threshold: usize,
|
||||
#[ts(type = "{ type: 'public' } | { type: 'private', allow?: string[] }")]
|
||||
|
||||
Reference in New Issue
Block a user