| 12345678910111213141516171819202122232425 |
- const makeId = require("../../util/makeId");
- /**
- * @description 代码一次构建的基本信息
- * @typedef {Object} BuildSerializerType
- * @property {number | string} id 代码一次构建的id
- * @property {number | string} branchId 分支id
- * @property {string} buildState 构建输出的信息
- * @property {number | string} mirrorId 镜像id
- * @property {string} commitMessage commit信息
- */
- /**
- * @description 生成代码构建信息
- * @returns {BuildSerializerType}
- */
- module.exports = () => {
- return {
- id: makeId(),
- branchId: makeId(),
- buildState: "构建中......",
- mirrorId: makeId(),
- commitMessage: "commit信息...."
- };
- };
|