github.com/zppinho/prow@v0.0.0-20240510014325-1738badeb017/cmd/deck/static/api/help.ts (about)

     1  export interface Command {
     2    Usage: string;
     3    Featured: boolean;
     4    Description: string;
     5    Examples: string[];
     6    WhoCanUse: string;
     7  }
     8  
     9  export interface PluginHelp {
    10    Description: string;
    11    Config: {[key: string]: string};
    12    Events: string[];
    13    Commands: Command[];
    14    Snippet?: string;
    15  }
    16  
    17  export interface Help {
    18    AllRepos: string[];
    19    RepoPlugins: {[key: string]: string[]};
    20    RepoExternalPlugins: {[key: string]: string[]};
    21    PluginHelp: {[key: string]: PluginHelp};
    22    ExternalPluginHelp: {[key: string]: PluginHelp};
    23  }