UNPKG

2.25 kBTypeScriptView Raw
1export function setDirection(dir: any): void;
2export function setOptions(rawOptString: any): void;
3export function getOptions(): {};
4export function commit(msg: any, id: any, type: any, tag: any): void;
5export function branch(name: any, order: any): void;
6export function merge(otherBranch: any, custom_id: any, override_type: any, custom_tag: any): void;
7export function cherryPick(sourceId: any, targetId: any, tag: any, parentCommitId: any): void;
8export function checkout(branch: any): void;
9export function prettyPrint(): void;
10export function clear(): void;
11export function getBranchesAsObjArray(): {
12 name: any;
13}[];
14export function getBranches(): typeof branches;
15export function getCommits(): {};
16export function getCommitsArray(): any[];
17export function getCurrentBranch(): string | undefined;
18export function getDirection(): string;
19export function getHead(): any;
20export namespace commitType {
21 let NORMAL: number;
22 let REVERSE: number;
23 let HIGHLIGHT: number;
24 let MERGE: number;
25 let CHERRY_PICK: number;
26}
27declare namespace _default {
28 export function getConfig(): import("../../config.type.js").GitGraphDiagramConfig | undefined;
29 export { setDirection };
30 export { setOptions };
31 export { getOptions };
32 export { commit };
33 export { branch };
34 export { merge };
35 export { cherryPick };
36 export { checkout };
37 export { prettyPrint };
38 export { clear };
39 export { getBranchesAsObjArray };
40 export { getBranches };
41 export { getCommits };
42 export { getCommitsArray };
43 export { getCurrentBranch };
44 export { getDirection };
45 export { getHead };
46 export { setAccTitle };
47 export { getAccTitle };
48 export { getAccDescription };
49 export { setAccDescription };
50 export { setDiagramTitle };
51 export { getDiagramTitle };
52 export { commitType };
53}
54export default _default;
55declare let branches: typeof branches;
56import { setAccTitle } from '../common/commonDb.js';
57import { getAccTitle } from '../common/commonDb.js';
58import { getAccDescription } from '../common/commonDb.js';
59import { setAccDescription } from '../common/commonDb.js';
60import { setDiagramTitle } from '../common/commonDb.js';
61import { getDiagramTitle } from '../common/commonDb.js';