@things-factory/operato-tools 7.1.20 → 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-tools",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.21",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@things-factory/builder": "^7.1.16",
|
|
42
|
-
"@things-factory/meta-ui": "^7.1.
|
|
42
|
+
"@things-factory/meta-ui": "^7.1.21"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "8391c69c808451e0fdc16a5aaa952bb128466f16"
|
|
45
45
|
}
|
|
@@ -956,16 +956,21 @@ export class {{pascalCase name}}History implements HistoryEntityInterface<{{pas
|
|
|
956
956
|
@Field({ nullable: false })
|
|
957
957
|
public originalId!: string
|
|
958
958
|
|
|
959
|
-
|
|
960
959
|
@HistoryActionColumn({
|
|
961
960
|
nullable: false,
|
|
962
961
|
type:
|
|
963
962
|
DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
964
963
|
? 'enum'
|
|
965
964
|
: DATABASE_TYPE == 'oracle'
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
965
|
+
? 'varchar2'
|
|
966
|
+
: DATABASE_TYPE == 'mssql'
|
|
967
|
+
? 'nvarchar'
|
|
968
|
+
: 'varchar',
|
|
969
|
+
enum:
|
|
970
|
+
DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
971
|
+
? HistoryActionType
|
|
972
|
+
: undefined,
|
|
973
|
+
length: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb' ? undefined: 32
|
|
969
974
|
})
|
|
970
975
|
@Field({ nullable: false })
|
|
971
976
|
public dataRevisionAction!: HistoryActionType
|
|
@@ -1068,14 +1073,19 @@ export class {{pascalCase name}}History implements HistoryEntityInterface<{{pas
|
|
|
1068
1073
|
DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
1069
1074
|
? 'enum'
|
|
1070
1075
|
: DATABASE_TYPE == 'oracle'
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1076
|
+
? 'varchar2'
|
|
1077
|
+
: DATABASE_TYPE == 'mssql'
|
|
1078
|
+
? 'nvarchar'
|
|
1079
|
+
: 'varchar',
|
|
1080
|
+
enum:
|
|
1081
|
+
DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
1082
|
+
? HistoryActionType
|
|
1083
|
+
: undefined,
|
|
1084
|
+
length: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb' ? undefined: 32
|
|
1074
1085
|
})
|
|
1075
1086
|
@Field({ nullable: false })
|
|
1076
1087
|
public dataRevisionAction!: HistoryActionType
|
|
1077
1088
|
|
|
1078
|
-
|
|
1079
1089
|
@Column({ default: 1, nullable: false })
|
|
1080
1090
|
@Field({ nullable: false })
|
|
1081
1091
|
dataRevisionNo?: number = 1
|