@mldong/jeeflow 1.8.38 → 1.8.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/facade.js +4 -0
  2. package/package.json +1 -1
package/dist/facade.js CHANGED
@@ -1044,6 +1044,10 @@ export class JeeflowFacade {
1044
1044
  const instanceId = toId(args.id);
1045
1045
  const his = await this.repo.findHistoryTasks(instanceId);
1046
1046
  return his.map(t => ({
1047
+ // issues/154④:审批记录九键之首=任务行主键。本栈 id 全程 string(仓储 rowId 出口),
1048
+ // 仍显式 String() 一挡——"必须是字符串"这条契约不许押在仓储姿势上:19 位雪花 id
1049
+ // 出 number 会被 JS 截精度(同 issues/75/92 那族坑),对齐 java String.valueOf(...)。
1050
+ id: String(t.id ?? ''),
1047
1051
  taskName: t.taskName, displayName: t.displayName, taskType: t.taskType ?? null,
1048
1052
  performType: t.performType ?? null, taskState: t.taskState, operator: t.actorId ?? '',
1049
1053
  // issues/122:可空时间列空值出 '' 不出 null——mldong-nestjs 全局 SmartNullStripping
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mldong/jeeflow",
3
- "version": "1.8.38",
3
+ "version": "1.8.39",
4
4
  "description": "jeeflow workflow engine — Node.js / TypeScript implementation",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",