UNPKG

719 BTypeScriptView Raw
1import { TBumpType } from '@auto/utils/node/';
2export declare type TSlackOptions = {
3 token: string;
4 channel: string;
5 username: string;
6 iconEmoji: string;
7 colors: {
8 major: string;
9 minor: string;
10 patch: string;
11 };
12};
13export declare type TTelegramOptions = {
14 token: string;
15 chatId: string;
16};
17export declare type TGithubOptions = {
18 token: string;
19 username: string;
20 repo: string;
21};
22export declare type TLogMessage = {
23 type: TBumpType | 'dependencies' | 'initial';
24 value: string;
25 description?: string;
26};
27export declare type TLog = {
28 name: string;
29 version: string;
30 type: TBumpType;
31 dir: string;
32 messages: TLogMessage[];
33};