@things-factory/organization 7.1.19 → 7.1.21
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/dist-server/service/department/department-history.js +7 -2
- package/dist-server/service/department/department-history.js.map +1 -1
- package/dist-server/service/employee/employee-history.js +7 -2
- package/dist-server/service/employee/employee-history.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/server/service/department/department-history.ts +8 -2
- package/server/service/employee/employee-history.ts +8 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/organization",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.21",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"@operato/graphql": "^7.0.0",
|
|
34
34
|
"@operato/p13n": "^7.0.0",
|
|
35
35
|
"@operato/shell": "^7.0.0",
|
|
36
|
-
"@things-factory/auth-base": "^7.1.
|
|
37
|
-
"@things-factory/code-ui": "^7.1.
|
|
38
|
-
"@things-factory/contact": "^7.1.
|
|
36
|
+
"@things-factory/auth-base": "^7.1.21",
|
|
37
|
+
"@things-factory/code-ui": "^7.1.21",
|
|
38
|
+
"@things-factory/contact": "^7.1.21",
|
|
39
39
|
"@things-factory/shell": "^7.1.17"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "8391c69c808451e0fdc16a5aaa952bb128466f16"
|
|
42
42
|
}
|
|
@@ -128,8 +128,14 @@ export class DepartmentHistory implements HistoryEntityInterface<Department> {
|
|
|
128
128
|
? 'enum'
|
|
129
129
|
: DATABASE_TYPE == 'oracle'
|
|
130
130
|
? 'varchar2'
|
|
131
|
-
: '
|
|
132
|
-
|
|
131
|
+
: DATABASE_TYPE == 'mssql'
|
|
132
|
+
? 'nvarchar'
|
|
133
|
+
: 'varchar',
|
|
134
|
+
enum:
|
|
135
|
+
DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
136
|
+
? HistoryActionType
|
|
137
|
+
: undefined,
|
|
138
|
+
length: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb' ? undefined : 10
|
|
133
139
|
})
|
|
134
140
|
public action!: HistoryActionType
|
|
135
141
|
}
|
|
@@ -160,8 +160,14 @@ export class EmployeeHistory implements HistoryEntityInterface<Employee> {
|
|
|
160
160
|
? 'enum'
|
|
161
161
|
: DATABASE_TYPE == 'oracle'
|
|
162
162
|
? 'varchar2'
|
|
163
|
-
: '
|
|
164
|
-
|
|
163
|
+
: DATABASE_TYPE == 'mssql'
|
|
164
|
+
? 'nvarchar'
|
|
165
|
+
: 'varchar',
|
|
166
|
+
enum:
|
|
167
|
+
DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
168
|
+
? HistoryActionType
|
|
169
|
+
: undefined,
|
|
170
|
+
length: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb' ? undefined : 10
|
|
165
171
|
})
|
|
166
172
|
public action!: HistoryActionType
|
|
167
173
|
}
|