@things-factory/organization 10.1.122 → 10.1.134
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-client/tsconfig.tsbuildinfo +1 -1
- package/dist-client/types/contact.d.ts +4 -2
- package/dist-client/types/contact.js +0 -1
- package/dist-client/types/contact.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/tests/department-parent.test.ts +3 -1
- package/tests/domain-reference.test.ts +3 -1
- package/tests/employee-day.test.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/organization",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.134",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"@operato/p13n": "^10.0.0",
|
|
37
37
|
"@operato/popup": "^10.15.0",
|
|
38
38
|
"@operato/shell": "^10.0.0",
|
|
39
|
-
"@things-factory/auth-base": "^10.1.
|
|
40
|
-
"@things-factory/code-ui": "^10.1.
|
|
41
|
-
"@things-factory/contact": "^10.1.
|
|
42
|
-
"@things-factory/shell": "^10.1.
|
|
39
|
+
"@things-factory/auth-base": "^10.1.123",
|
|
40
|
+
"@things-factory/code-ui": "^10.1.123",
|
|
41
|
+
"@things-factory/contact": "^10.1.134",
|
|
42
|
+
"@things-factory/shell": "^10.1.123"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "ff2f8411fc981fe91fb3ed12274c8d76c1dc33f4"
|
|
45
45
|
}
|
|
@@ -19,6 +19,8 @@ const { graphql } = require('graphql')
|
|
|
19
19
|
const shell = require('@things-factory/shell')
|
|
20
20
|
const authBase = require('@things-factory/auth-base')
|
|
21
21
|
const contact = require('@things-factory/contact')
|
|
22
|
+
/* contact's Contact names a biz-base Counterparty (ADR-0122 decision C), so its entities come along. */
|
|
23
|
+
const bizBase = require('@things-factory/biz-base')
|
|
22
24
|
|
|
23
25
|
function loadCompiled(modulePath: string): any {
|
|
24
26
|
const resolved = join(__dirname, '..', 'dist-server', `${modulePath}.js`)
|
|
@@ -52,7 +54,7 @@ beforeAll(async () => {
|
|
|
52
54
|
synchronize: true,
|
|
53
55
|
dropSchema: true,
|
|
54
56
|
namingStrategy: new shell.NamingStrategy(),
|
|
55
|
-
entities: [...shell.entities, ...authBase.entities, ...contact.entities, ...organization.entities],
|
|
57
|
+
entities: [...shell.entities, ...authBase.entities, ...bizBase.entities, ...contact.entities, ...organization.entities],
|
|
56
58
|
logging: false
|
|
57
59
|
})
|
|
58
60
|
await dataSource.initialize()
|
|
@@ -14,6 +14,8 @@ const { DataSource } = require('typeorm')
|
|
|
14
14
|
const shell = require('@things-factory/shell')
|
|
15
15
|
const authBase = require('@things-factory/auth-base')
|
|
16
16
|
const contact = require('@things-factory/contact')
|
|
17
|
+
/* contact's Contact names a biz-base Counterparty (ADR-0122 decision C), so its entities come along. */
|
|
18
|
+
const bizBase = require('@things-factory/biz-base')
|
|
17
19
|
|
|
18
20
|
function loadCompiled(modulePath: string): any {
|
|
19
21
|
const resolved = join(__dirname, '..', 'dist-server', `${modulePath}.js`)
|
|
@@ -52,7 +54,7 @@ beforeAll(async () => {
|
|
|
52
54
|
synchronize: true,
|
|
53
55
|
dropSchema: true,
|
|
54
56
|
namingStrategy: new shell.NamingStrategy(),
|
|
55
|
-
entities: [...shell.entities, ...authBase.entities, ...contact.entities, ...organization.entities],
|
|
57
|
+
entities: [...shell.entities, ...authBase.entities, ...bizBase.entities, ...contact.entities, ...organization.entities],
|
|
56
58
|
logging: false
|
|
57
59
|
})
|
|
58
60
|
await dataSource.initialize()
|
|
@@ -20,6 +20,8 @@ const { graphql } = require('graphql')
|
|
|
20
20
|
const shell = require('@things-factory/shell')
|
|
21
21
|
const authBase = require('@things-factory/auth-base')
|
|
22
22
|
const contact = require('@things-factory/contact')
|
|
23
|
+
/* contact's Contact names a biz-base Counterparty (ADR-0122 decision C), so its entities come along. */
|
|
24
|
+
const bizBase = require('@things-factory/biz-base')
|
|
23
25
|
|
|
24
26
|
function loadCompiled(modulePath: string): any {
|
|
25
27
|
const resolved = join(__dirname, '..', 'dist-server', `${modulePath}.js`)
|
|
@@ -57,7 +59,7 @@ beforeAll(async () => {
|
|
|
57
59
|
synchronize: true,
|
|
58
60
|
dropSchema: true,
|
|
59
61
|
namingStrategy: new shell.NamingStrategy(),
|
|
60
|
-
entities: [...shell.entities, ...authBase.entities, ...contact.entities, ...organization.entities],
|
|
62
|
+
entities: [...shell.entities, ...authBase.entities, ...bizBase.entities, ...contact.entities, ...organization.entities],
|
|
61
63
|
subscribers: [EmployeeHistoryEntitySubscriber],
|
|
62
64
|
logging: false
|
|
63
65
|
})
|