@things-factory/accounting 7.0.1-alpha.9 → 7.0.1-alpha.90

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.
Files changed (72) hide show
  1. package/client/pages/account/account-importer.ts +7 -18
  2. package/client/pages/account/account-list-page.ts +6 -5
  3. package/client/pages/accounting-category/accounting-category-importer.ts +7 -18
  4. package/client/pages/accounting-category/accounting-category-list-page.ts +5 -5
  5. package/client/pages/financial-statement/financial-statement-importer.ts +7 -18
  6. package/client/pages/financial-statement/financial-statement-list-page.ts +6 -5
  7. package/client/pages/income-statement/income-statement-importer.ts +7 -18
  8. package/client/pages/income-statement/income-statement-list-page.ts +6 -5
  9. package/client/pages/ledger/ledger-importer.ts +7 -18
  10. package/client/pages/ledger/ledger-list-page.ts +6 -5
  11. package/client/pages/transaction/transaction-importer.ts +7 -18
  12. package/client/pages/transaction/transaction-list-page.ts +6 -5
  13. package/dist-client/pages/account/account-importer.d.ts +1 -0
  14. package/dist-client/pages/account/account-importer.js +4 -11
  15. package/dist-client/pages/account/account-importer.js.map +1 -1
  16. package/dist-client/pages/account/account-list-page.js +6 -5
  17. package/dist-client/pages/account/account-list-page.js.map +1 -1
  18. package/dist-client/pages/accounting-category/accounting-category-importer.d.ts +1 -0
  19. package/dist-client/pages/accounting-category/accounting-category-importer.js +4 -11
  20. package/dist-client/pages/accounting-category/accounting-category-importer.js.map +1 -1
  21. package/dist-client/pages/accounting-category/accounting-category-list-page.js +5 -5
  22. package/dist-client/pages/accounting-category/accounting-category-list-page.js.map +1 -1
  23. package/dist-client/pages/financial-statement/financial-statement-importer.d.ts +1 -0
  24. package/dist-client/pages/financial-statement/financial-statement-importer.js +4 -11
  25. package/dist-client/pages/financial-statement/financial-statement-importer.js.map +1 -1
  26. package/dist-client/pages/financial-statement/financial-statement-list-page.js +6 -5
  27. package/dist-client/pages/financial-statement/financial-statement-list-page.js.map +1 -1
  28. package/dist-client/pages/income-statement/income-statement-importer.d.ts +1 -0
  29. package/dist-client/pages/income-statement/income-statement-importer.js +4 -11
  30. package/dist-client/pages/income-statement/income-statement-importer.js.map +1 -1
  31. package/dist-client/pages/income-statement/income-statement-list-page.js +6 -5
  32. package/dist-client/pages/income-statement/income-statement-list-page.js.map +1 -1
  33. package/dist-client/pages/ledger/ledger-importer.d.ts +1 -0
  34. package/dist-client/pages/ledger/ledger-importer.js +4 -11
  35. package/dist-client/pages/ledger/ledger-importer.js.map +1 -1
  36. package/dist-client/pages/ledger/ledger-list-page.js +6 -5
  37. package/dist-client/pages/ledger/ledger-list-page.js.map +1 -1
  38. package/dist-client/pages/transaction/transaction-importer.d.ts +1 -0
  39. package/dist-client/pages/transaction/transaction-importer.js +4 -11
  40. package/dist-client/pages/transaction/transaction-importer.js.map +1 -1
  41. package/dist-client/pages/transaction/transaction-list-page.js +6 -5
  42. package/dist-client/pages/transaction/transaction-list-page.js.map +1 -1
  43. package/dist-client/tsconfig.tsbuildinfo +1 -1
  44. package/dist-server/service/account/account-history.js +1 -1
  45. package/dist-server/service/account/account-history.js.map +1 -1
  46. package/dist-server/service/account/account.js +1 -1
  47. package/dist-server/service/account/account.js.map +1 -1
  48. package/dist-server/service/accounting-category/accounting-category.js +1 -1
  49. package/dist-server/service/accounting-category/accounting-category.js.map +1 -1
  50. package/dist-server/service/financial-statement/financial-statement-history.js +1 -1
  51. package/dist-server/service/financial-statement/financial-statement-history.js.map +1 -1
  52. package/dist-server/service/financial-statement/financial-statement.js +1 -1
  53. package/dist-server/service/financial-statement/financial-statement.js.map +1 -1
  54. package/dist-server/service/income-statement/income-statement-history.js +1 -1
  55. package/dist-server/service/income-statement/income-statement-history.js.map +1 -1
  56. package/dist-server/service/income-statement/income-statement.js +1 -1
  57. package/dist-server/service/income-statement/income-statement.js.map +1 -1
  58. package/dist-server/service/transaction/transaction-history.js +1 -1
  59. package/dist-server/service/transaction/transaction-history.js.map +1 -1
  60. package/dist-server/service/transaction/transaction.js +1 -1
  61. package/dist-server/service/transaction/transaction.js.map +1 -1
  62. package/dist-server/tsconfig.tsbuildinfo +1 -1
  63. package/package.json +5 -5
  64. package/server/service/account/account-history.ts +3 -3
  65. package/server/service/account/account.ts +1 -1
  66. package/server/service/accounting-category/accounting-category.ts +1 -1
  67. package/server/service/financial-statement/financial-statement-history.ts +3 -3
  68. package/server/service/financial-statement/financial-statement.ts +1 -1
  69. package/server/service/income-statement/income-statement-history.ts +3 -3
  70. package/server/service/income-statement/income-statement.ts +1 -1
  71. package/server/service/transaction/transaction-history.ts +3 -3
  72. 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.9",
3
+ "version": "7.0.1-alpha.90",
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.9",
33
- "@things-factory/shell": "^7.0.1-alpha.9",
34
- "@things-factory/worklist": "^7.0.1-alpha.9"
32
+ "@things-factory/auth-base": "^7.0.1-alpha.90",
33
+ "@things-factory/shell": "^7.0.1-alpha.90",
34
+ "@things-factory/worklist": "^7.0.1-alpha.90"
35
35
  },
36
- "gitHead": "e77082517f5483704f1e884cbc81b7f94c0eec15"
36
+ "gitHead": "79086a82c81dadca6c105a37fa91a2cd34a74183"
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({ nullable: true })
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
- ? 'varchar2'
99
- : 'smallint',
98
+ ? 'varchar2'
99
+ : 'smallint',
100
100
  enum: HistoryActionType
101
101
  })
102
102
  public action!: HistoryActionType
@@ -29,7 +29,7 @@ export class Account {
29
29
  version?: number = 1
30
30
 
31
31
  @ManyToOne(type => Domain)
32
- @Field({ nullable: true })
32
+ @Field(type => Domain)
33
33
  domain?: Domain
34
34
 
35
35
  @RelationId((account: Account) => account.domain)
@@ -27,7 +27,7 @@ export class AccountingCategory {
27
27
  readonly id: string
28
28
 
29
29
  @ManyToOne(type => Domain)
30
- @Field({ nullable: true })
30
+ @Field(type => Domain)
31
31
  domain?: Domain
32
32
 
33
33
  @RelationId((accountingCategory: AccountingCategory) => accountingCategory.domain)
@@ -45,7 +45,7 @@ export class FinancialStatementHistory implements HistoryEntityInterface<Financi
45
45
  version?: number = 1
46
46
 
47
47
  @ManyToOne(type => Domain)
48
- @Field({ nullable: true })
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
- ? 'varchar2'
110
- : 'smallint',
109
+ ? 'varchar2'
110
+ : 'smallint',
111
111
  enum: HistoryActionType
112
112
  })
113
113
  public action!: HistoryActionType
@@ -42,7 +42,7 @@ export class FinancialStatement {
42
42
  version?: number = 1
43
43
 
44
44
  @ManyToOne(type => Domain)
45
- @Field({ nullable: true })
45
+ @Field(type => Domain)
46
46
  domain?: Domain
47
47
 
48
48
  @RelationId((financialStatement: FinancialStatement) => financialStatement.domain)
@@ -45,7 +45,7 @@ export class IncomeStatementHistory implements HistoryEntityInterface<IncomeStat
45
45
  version?: number = 1
46
46
 
47
47
  @ManyToOne(type => Domain)
48
- @Field({ nullable: true })
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
- ? 'varchar2'
110
- : 'smallint',
109
+ ? 'varchar2'
110
+ : 'smallint',
111
111
  enum: HistoryActionType
112
112
  })
113
113
  public action!: HistoryActionType
@@ -43,7 +43,7 @@ export class IncomeStatement {
43
43
  version?: number = 1
44
44
 
45
45
  @ManyToOne(type => Domain)
46
- @Field({ nullable: true })
46
+ @Field(type => Domain)
47
47
  domain?: Domain
48
48
 
49
49
  @RelationId((incomeStatement: IncomeStatement) => incomeStatement.domain)
@@ -42,7 +42,7 @@ export class TransactionHistory implements HistoryEntityInterface<Transaction> {
42
42
  version?: number = 1
43
43
 
44
44
  @ManyToOne(type => Domain)
45
- @Field({ nullable: true })
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
- ? 'varchar2'
107
- : 'smallint',
106
+ ? 'varchar2'
107
+ : 'smallint',
108
108
  enum: HistoryActionType
109
109
  })
110
110
  public action!: HistoryActionType
@@ -46,7 +46,7 @@ export class Transaction {
46
46
  version?: number = 1
47
47
 
48
48
  @ManyToOne(type => Domain)
49
- @Field({ nullable: true })
49
+ @Field(type => Domain)
50
50
  domain?: Domain
51
51
 
52
52
  @RelationId((transaction: Transaction) => transaction.domain)