UNPKG

gitquick

Version:

Git Add, Commit, and Push on the Fly

33 lines 749 B
/** * Shared type definitions for gitquick */ export interface GitContext { remoteUrl: string; currentBranch: string; } export interface CommandResult { stdout: string; stderr: string; all: string; exitCode: number; code: number; } export interface ValidationConfig { COMMIT_MESSAGE_MAX_LENGTH: number; COMMIT_MESSAGE_MIN_LENGTH: number; } export interface ErrorMessages { EMPTY_COMMIT_MESSAGE: string; COMMIT_MESSAGE_TOO_LONG: string; NO_GIT_REPOSITORY: string; GIT_NOT_FOUND: string; NO_CHANGES: string; } export interface FileChanges { added: string[]; modified: string[]; deleted: string[]; renamed: string[]; totalCount: number; } //# sourceMappingURL=types.d.ts.map