@things-factory/quotation 8.0.0-alpha.8 → 8.0.0-beta.1

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/quotation",
3
- "version": "8.0.0-alpha.8",
3
+ "version": "8.0.0-beta.1",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -27,11 +27,11 @@
27
27
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create ./server/migrations/migration"
28
28
  },
29
29
  "dependencies": {
30
- "@operato/graphql": "^8.0.0-alpha",
31
- "@operato/shell": "^8.0.0-alpha",
32
- "@things-factory/auth-base": "^8.0.0-alpha.8",
33
- "@things-factory/shell": "^8.0.0-alpha.8",
34
- "@things-factory/worklist": "^8.0.0-alpha.8"
30
+ "@operato/graphql": "^8.0.0-beta",
31
+ "@operato/shell": "^8.0.0-beta",
32
+ "@things-factory/auth-base": "^8.0.0-beta.1",
33
+ "@things-factory/shell": "^8.0.0-beta.1",
34
+ "@things-factory/worklist": "^8.0.0-beta.1"
35
35
  },
36
- "gitHead": "0a9fb3ab431934982294b58c743d01b6f782a15f"
36
+ "gitHead": "36c494e587640c1490318ef7b95adab02606e0c2"
37
37
  }
@@ -107,8 +107,14 @@ export class QuotationHistory implements HistoryEntityInterface<Quotation> {
107
107
  ? 'enum'
108
108
  : DATABASE_TYPE == 'oracle'
109
109
  ? 'varchar2'
110
- : 'smallint',
111
- enum: HistoryActionType
110
+ : DATABASE_TYPE == 'mssql'
111
+ ? 'nvarchar'
112
+ : 'varchar',
113
+ enum:
114
+ DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
115
+ ? HistoryActionType
116
+ : undefined,
117
+ length: DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb' ? undefined : 10
112
118
  })
113
119
  public action!: HistoryActionType
114
120
  }