@things-factory/accounting 7.0.1-alpha.77 → 7.0.1-alpha.78
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/account/account-history.js +1 -1
- package/dist-server/service/account/account-history.js.map +1 -1
- package/dist-server/service/account/account.js +1 -1
- package/dist-server/service/account/account.js.map +1 -1
- package/dist-server/service/accounting-category/accounting-category.js +1 -1
- package/dist-server/service/accounting-category/accounting-category.js.map +1 -1
- package/dist-server/service/financial-statement/financial-statement-history.js +1 -1
- package/dist-server/service/financial-statement/financial-statement-history.js.map +1 -1
- package/dist-server/service/financial-statement/financial-statement.js +1 -1
- package/dist-server/service/financial-statement/financial-statement.js.map +1 -1
- package/dist-server/service/income-statement/income-statement-history.js +1 -1
- package/dist-server/service/income-statement/income-statement-history.js.map +1 -1
- package/dist-server/service/income-statement/income-statement.js +1 -1
- package/dist-server/service/income-statement/income-statement.js.map +1 -1
- package/dist-server/service/transaction/transaction-history.js +1 -1
- package/dist-server/service/transaction/transaction-history.js.map +1 -1
- package/dist-server/service/transaction/transaction.js +1 -1
- package/dist-server/service/transaction/transaction.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/server/service/account/account-history.ts +3 -3
- package/server/service/account/account.ts +1 -1
- package/server/service/accounting-category/accounting-category.ts +1 -1
- package/server/service/financial-statement/financial-statement-history.ts +3 -3
- package/server/service/financial-statement/financial-statement.ts +1 -1
- package/server/service/income-statement/income-statement-history.ts +3 -3
- package/server/service/income-statement/income-statement.ts +1 -1
- package/server/service/transaction/transaction-history.ts +3 -3
- package/server/service/transaction/transaction.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/accounting",
|
|
3
|
-
"version": "7.0.1-alpha.
|
|
3
|
+
"version": "7.0.1-alpha.78",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@operato/graphql": "^2.0.0-alpha.0",
|
|
31
31
|
"@operato/shell": "^2.0.0-alpha.0",
|
|
32
|
-
"@things-factory/auth-base": "^7.0.1-alpha.
|
|
32
|
+
"@things-factory/auth-base": "^7.0.1-alpha.78",
|
|
33
33
|
"@things-factory/shell": "^7.0.1-alpha.71",
|
|
34
|
-
"@things-factory/worklist": "^7.0.1-alpha.
|
|
34
|
+
"@things-factory/worklist": "^7.0.1-alpha.78"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "6423c664e70e7877c362b4aebb7f169e4a2ad22d"
|
|
37
37
|
}
|
|
@@ -38,7 +38,7 @@ export class AccountHistory implements HistoryEntityInterface<Account> {
|
|
|
38
38
|
version?: number = 1
|
|
39
39
|
|
|
40
40
|
@ManyToOne(type => Domain)
|
|
41
|
-
@Field(
|
|
41
|
+
@Field(type => Domain)
|
|
42
42
|
domain?: Domain
|
|
43
43
|
|
|
44
44
|
@RelationId((account: Account) => account.domain)
|
|
@@ -95,8 +95,8 @@ export class AccountHistory implements HistoryEntityInterface<Account> {
|
|
|
95
95
|
DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
96
96
|
? 'enum'
|
|
97
97
|
: DATABASE_TYPE == 'oracle'
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
? 'varchar2'
|
|
99
|
+
: 'smallint',
|
|
100
100
|
enum: HistoryActionType
|
|
101
101
|
})
|
|
102
102
|
public action!: HistoryActionType
|
|
@@ -45,7 +45,7 @@ export class FinancialStatementHistory implements HistoryEntityInterface<Financi
|
|
|
45
45
|
version?: number = 1
|
|
46
46
|
|
|
47
47
|
@ManyToOne(type => Domain)
|
|
48
|
-
@Field(
|
|
48
|
+
@Field(type => Domain)
|
|
49
49
|
domain?: Domain
|
|
50
50
|
|
|
51
51
|
@RelationId((financialStatement: FinancialStatement) => financialStatement.domain)
|
|
@@ -106,8 +106,8 @@ export class FinancialStatementHistory implements HistoryEntityInterface<Financi
|
|
|
106
106
|
DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
107
107
|
? 'enum'
|
|
108
108
|
: DATABASE_TYPE == 'oracle'
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
? 'varchar2'
|
|
110
|
+
: 'smallint',
|
|
111
111
|
enum: HistoryActionType
|
|
112
112
|
})
|
|
113
113
|
public action!: HistoryActionType
|
|
@@ -45,7 +45,7 @@ export class IncomeStatementHistory implements HistoryEntityInterface<IncomeStat
|
|
|
45
45
|
version?: number = 1
|
|
46
46
|
|
|
47
47
|
@ManyToOne(type => Domain)
|
|
48
|
-
@Field(
|
|
48
|
+
@Field(type => Domain)
|
|
49
49
|
domain?: Domain
|
|
50
50
|
|
|
51
51
|
@RelationId((incomeStatement: IncomeStatement) => incomeStatement.domain)
|
|
@@ -106,8 +106,8 @@ export class IncomeStatementHistory implements HistoryEntityInterface<IncomeStat
|
|
|
106
106
|
DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
107
107
|
? 'enum'
|
|
108
108
|
: DATABASE_TYPE == 'oracle'
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
? 'varchar2'
|
|
110
|
+
: 'smallint',
|
|
111
111
|
enum: HistoryActionType
|
|
112
112
|
})
|
|
113
113
|
public action!: HistoryActionType
|
|
@@ -42,7 +42,7 @@ export class TransactionHistory implements HistoryEntityInterface<Transaction> {
|
|
|
42
42
|
version?: number = 1
|
|
43
43
|
|
|
44
44
|
@ManyToOne(type => Domain)
|
|
45
|
-
@Field(
|
|
45
|
+
@Field(type => Domain)
|
|
46
46
|
domain?: Domain
|
|
47
47
|
|
|
48
48
|
@RelationId((transaction: Transaction) => transaction.domain)
|
|
@@ -103,8 +103,8 @@ export class TransactionHistory implements HistoryEntityInterface<Transaction> {
|
|
|
103
103
|
DATABASE_TYPE == 'postgres' || DATABASE_TYPE == 'mysql' || DATABASE_TYPE == 'mariadb'
|
|
104
104
|
? 'enum'
|
|
105
105
|
: DATABASE_TYPE == 'oracle'
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
? 'varchar2'
|
|
107
|
+
: 'smallint',
|
|
108
108
|
enum: HistoryActionType
|
|
109
109
|
})
|
|
110
110
|
public action!: HistoryActionType
|