@things-factory/notification 8.0.0-alpha.3 → 8.0.0-alpha.35

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/notification",
3
- "version": "8.0.0-alpha.3",
3
+ "version": "8.0.0-alpha.35",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -29,16 +29,16 @@
29
29
  "dependencies": {
30
30
  "@material/web": "^2.0.0",
31
31
  "@operato/layout": "^8.0.0-alpha",
32
- "@things-factory/auth-base": "^8.0.0-alpha.2",
33
- "@things-factory/codelingua": "^8.0.0-alpha.2",
34
- "@things-factory/i18n-base": "^8.0.0-alpha.2",
35
- "@things-factory/organization": "^8.0.0-alpha.3",
36
- "@things-factory/setting-base": "^8.0.0-alpha.2",
37
- "@things-factory/shell": "^8.0.0-alpha.2",
32
+ "@things-factory/auth-base": "^8.0.0-alpha.35",
33
+ "@things-factory/codelingua": "^8.0.0-alpha.35",
34
+ "@things-factory/i18n-base": "^8.0.0-alpha.35",
35
+ "@things-factory/organization": "^8.0.0-alpha.35",
36
+ "@things-factory/setting-base": "^8.0.0-alpha.35",
37
+ "@things-factory/shell": "^8.0.0-alpha.29",
38
38
  "clipboard": "^2.0.6",
39
39
  "firebase": "^9.14.0",
40
40
  "firebase-admin": "^11.3.0",
41
41
  "google": "^2.1.0"
42
42
  },
43
- "gitHead": "610cf58f02e8d6ec5f988500ab5c4fd601fca8d8"
43
+ "gitHead": "94fe243a5c99837a1e6f98de2c454c351ac8e6fd"
44
44
  }
@@ -123,8 +123,14 @@ export class NotificationRuleHistory implements HistoryEntityInterface<Notificat
123
123
  ? 'enum'
124
124
  : DATABASE_TYPE == 'oracle'
125
125
  ? 'varchar2'
126
- : 'smallint',
127
- enum: HistoryActionType
126
+ : DATABASE_TYPE == 'mssql'
127
+ ? 'nvarchar'
128
+ : 'varchar',
129
+ enum:
130
+ DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
131
+ ? HistoryActionType
132
+ : undefined,
133
+ length: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb' ? undefined : 10
128
134
  })
129
135
  public action!: HistoryActionType
130
136
  }