github.com/jfrog/frogbot@v1.1.1-0.20231221090046-821a26f50338/action/node_modules/simple-git/dist/src/lib/tasks/log.d.ts (about)

     1  import type { Options, StringTask } from '../types';
     2  import type { LogResult, SimpleGit } from '../../../typings';
     3  export interface DefaultLogFields {
     4      hash: string;
     5      date: string;
     6      message: string;
     7      refs: string;
     8      body: string;
     9      author_name: string;
    10      author_email: string;
    11  }
    12  export declare type LogOptions<T = DefaultLogFields> = {
    13      file?: string;
    14      format?: T;
    15      from?: string;
    16      mailMap?: boolean;
    17      maxCount?: number;
    18      multiLine?: boolean;
    19      splitter?: string;
    20      strictDate?: boolean;
    21      symmetric?: boolean;
    22      to?: string;
    23  };
    24  interface ParsedLogOptions {
    25      fields: string[];
    26      splitter: string;
    27      commands: string[];
    28  }
    29  export declare function parseLogOptions<T extends Options>(opt?: Options | LogOptions<T>, customArgs?: string[]): ParsedLogOptions;
    30  export declare function logTask<T>(splitter: string, fields: string[], customArgs: string[]): StringTask<LogResult<T>>;
    31  export default function (): Pick<SimpleGit, 'log'>;
    32  export {};