@things-factory/process 8.0.0-alpha.3 → 8.0.0-alpha.30

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/process",
3
- "version": "8.0.0-alpha.3",
3
+ "version": "8.0.0-alpha.30",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -31,14 +31,14 @@
31
31
  "@operato/graphql": "^8.0.0-alpha",
32
32
  "@operato/grist-editor": "^8.0.0-alpha",
33
33
  "@operato/shell": "^8.0.0-alpha",
34
- "@things-factory/attachment-base": "^8.0.0-alpha.3",
35
- "@things-factory/auth-base": "^8.0.0-alpha.2",
36
- "@things-factory/board-service": "^8.0.0-alpha.3",
37
- "@things-factory/context-ui": "^8.0.0-alpha.2",
38
- "@things-factory/organization": "^8.0.0-alpha.3",
39
- "@things-factory/scheduler-client": "^8.0.0-alpha.2",
40
- "@things-factory/shell": "^8.0.0-alpha.2",
41
- "@things-factory/worklist": "^8.0.0-alpha.3"
34
+ "@things-factory/attachment-base": "^8.0.0-alpha.29",
35
+ "@things-factory/auth-base": "^8.0.0-alpha.29",
36
+ "@things-factory/board-service": "^8.0.0-alpha.30",
37
+ "@things-factory/context-ui": "^8.0.0-alpha.29",
38
+ "@things-factory/organization": "^8.0.0-alpha.29",
39
+ "@things-factory/scheduler-client": "^8.0.0-alpha.29",
40
+ "@things-factory/shell": "^8.0.0-alpha.29",
41
+ "@things-factory/worklist": "^8.0.0-alpha.30"
42
42
  },
43
- "gitHead": "610cf58f02e8d6ec5f988500ab5c4fd601fca8d8"
43
+ "gitHead": "f01fac46630cf06e1697edc185dfb4cddcd61365"
44
44
  }
@@ -95,8 +95,14 @@ export class ProcessHistory implements HistoryEntityInterface<Process> {
95
95
  ? 'enum'
96
96
  : DATABASE_TYPE == 'oracle'
97
97
  ? 'varchar2'
98
- : 'smallint',
99
- enum: HistoryActionType
98
+ : DATABASE_TYPE == 'mssql'
99
+ ? 'nvarchar'
100
+ : 'varchar',
101
+ enum:
102
+ DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
103
+ ? HistoryActionType
104
+ : undefined,
105
+ length: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb' ? undefined : 10
100
106
  })
101
107
  public action!: HistoryActionType
102
108
  }
@@ -141,8 +141,14 @@ export class ProcessInstanceHistory implements HistoryEntityInterface<ProcessIns
141
141
  ? 'enum'
142
142
  : DATABASE_TYPE == 'oracle'
143
143
  ? 'varchar2'
144
- : 'smallint',
145
- enum: HistoryActionType
144
+ : DATABASE_TYPE == 'mssql'
145
+ ? 'nvarchar'
146
+ : 'varchar',
147
+ enum:
148
+ DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
149
+ ? HistoryActionType
150
+ : undefined,
151
+ length: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb' ? undefined : 10
146
152
  })
147
153
  public action!: HistoryActionType
148
154
  }