code-story
Version:
Get your code activity log for standup from git
35 lines (34 loc) • 1.77 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OPTIONS_WEEK_DAY_CODE_MAP = exports.TextEntity = exports.TICKET_NAME_REGEXP = exports.LINE_BREAK_CHAR = exports.TAB = void 0;
exports.TAB = ' ';
exports.LINE_BREAK_CHAR = '\n';
exports.TICKET_NAME_REGEXP = /[A-Z]{1,}-\d{1,}/g;
var TextEntity;
(function (TextEntity) {
TextEntity["url"] = "url";
TextEntity["nope"] = "nope";
TextEntity["label"] = "label";
TextEntity["repositoryName"] = "repositoryName";
TextEntity["branch"] = "branch";
TextEntity["commitHash"] = "commitHash";
TextEntity["commitSubject"] = "commitSubject";
TextEntity["date"] = "date";
TextEntity["author"] = "author";
TextEntity["addedCommit"] = "addedCommit";
TextEntity["modifiedCommit"] = "modifiedCommit";
TextEntity["addedFile"] = "addedFile";
TextEntity["rebasedFile"] = "rebasedFile";
TextEntity["modifiedFile"] = "modifiedFile";
TextEntity["deletedFile"] = "deletedFile";
})(TextEntity = exports.TextEntity || (exports.TextEntity = {}));
var OPTIONS_WEEK_DAY_CODE_MAP;
(function (OPTIONS_WEEK_DAY_CODE_MAP) {
OPTIONS_WEEK_DAY_CODE_MAP[OPTIONS_WEEK_DAY_CODE_MAP["Su"] = 0] = "Su";
OPTIONS_WEEK_DAY_CODE_MAP[OPTIONS_WEEK_DAY_CODE_MAP["Mo"] = 1] = "Mo";
OPTIONS_WEEK_DAY_CODE_MAP[OPTIONS_WEEK_DAY_CODE_MAP["Tu"] = 2] = "Tu";
OPTIONS_WEEK_DAY_CODE_MAP[OPTIONS_WEEK_DAY_CODE_MAP["We"] = 3] = "We";
OPTIONS_WEEK_DAY_CODE_MAP[OPTIONS_WEEK_DAY_CODE_MAP["Th"] = 4] = "Th";
OPTIONS_WEEK_DAY_CODE_MAP[OPTIONS_WEEK_DAY_CODE_MAP["Fr"] = 5] = "Fr";
OPTIONS_WEEK_DAY_CODE_MAP[OPTIONS_WEEK_DAY_CODE_MAP["Sa"] = 6] = "Sa";
})(OPTIONS_WEEK_DAY_CODE_MAP = exports.OPTIONS_WEEK_DAY_CODE_MAP || (exports.OPTIONS_WEEK_DAY_CODE_MAP = {}));