@things-factory/shell 6.1.186 → 6.1.189
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/config/config.development.js +2 -0
- package/config/config.production.js +34 -33
- package/dist-server/index.d.ts +1 -0
- package/dist-server/index.js +1 -0
- package/dist-server/index.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/dist-server/typeorm/encrypt-transform.d.ts +2 -0
- package/dist-server/typeorm/encrypt-transform.js +39 -0
- package/dist-server/typeorm/encrypt-transform.js.map +1 -0
- package/dist-server/typeorm/encrypted-column.d.ts +1 -0
- package/dist-server/typeorm/encrypted-column.js +114 -0
- package/dist-server/typeorm/encrypted-column.js.map +1 -0
- package/dist-server/typeorm/get-data-encryption-key.d.ts +1 -0
- package/dist-server/typeorm/get-data-encryption-key.js +15 -0
- package/dist-server/typeorm/get-data-encryption-key.js.map +1 -0
- package/package.json +2 -2
- package/server/index.ts +1 -0
- package/server/typeorm/encrypt-transform.ts +44 -0
- package/server/typeorm/get-data-encryption-key.ts +13 -0
@@ -19,38 +19,39 @@ module.exports = {
|
|
19
19
|
level: 'info'
|
20
20
|
}
|
21
21
|
},
|
22
|
+
/* database field encryption key : 32 bytes - must be changed by every installation */
|
23
|
+
dataEncryptionKey: 'V6g5oHJZb7KcYzIyL6cM95XvIDouon5b',
|
24
|
+
/**
|
25
|
+
* requestBody configuration
|
26
|
+
* ie.
|
27
|
+
* requestBody: {
|
28
|
+
* formLimit: '100mb',
|
29
|
+
* jsonLimit: '100mb',
|
30
|
+
* textLimit: '100mb'
|
31
|
+
* }
|
32
|
+
**/
|
22
33
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
**/
|
34
|
+
/**
|
35
|
+
* fileUpload configuration
|
36
|
+
* ie.
|
37
|
+
* fileUpload: {
|
38
|
+
* maxFileSize: '100mb',
|
39
|
+
* maxFiles: 10
|
40
|
+
* }
|
41
|
+
**/
|
32
42
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
* Types : "int","int2","int4","int8","integer","tinyint","smallint","mediumint","bigint",'uuid'
|
46
|
-
* Strategy = 'uuid','rowid',"increment","identity"
|
47
|
-
* by defualt use uuid auto generated id
|
48
|
-
* ie.
|
49
|
-
* domainPrimaryOption:{
|
50
|
-
* type:'int8',
|
51
|
-
* strategy:null
|
52
|
-
* }
|
53
|
-
*/
|
43
|
+
/**
|
44
|
+
* Domain Primary Colulumn Configuration
|
45
|
+
* support
|
46
|
+
* Types : "int","int2","int4","int8","integer","tinyint","smallint","mediumint","bigint",'uuid'
|
47
|
+
* Strategy = 'uuid','rowid',"increment","identity"
|
48
|
+
* by defualt use uuid auto generated id
|
49
|
+
* ie.
|
50
|
+
* domainPrimaryOption:{
|
51
|
+
* type:'int8',
|
52
|
+
* strategy:null
|
53
|
+
* }
|
54
|
+
*/
|
54
55
|
|
55
56
|
/*
|
56
57
|
* pubsub configuration
|
@@ -63,16 +64,16 @@ module.exports = {
|
|
63
64
|
* ...
|
64
65
|
* }
|
65
66
|
* }
|
66
|
-
*
|
67
|
+
*
|
67
68
|
* pubsub: {
|
68
69
|
* middleware: 'kafka',
|
69
70
|
* topic: 'operato-app-graphql-pubsub'
|
70
71
|
* host: 'b-3.kafka-server:9092,b-1.kafka-server:9092,b-2.kafka-server:9092',
|
71
72
|
* options: {
|
72
|
-
* ...
|
73
|
+
* ...
|
73
74
|
* }
|
74
75
|
* }
|
75
|
-
*
|
76
|
+
*
|
76
77
|
* pubsub: {
|
77
78
|
* middleware: 'kafka',
|
78
79
|
* host: 'confluent.cloud:9092',
|
package/dist-server/index.d.ts
CHANGED
package/dist-server/index.js
CHANGED
@@ -10,4 +10,5 @@ tslib_1.__exportStar(require("./pubsub-log-transport"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./middlewares"), exports);
|
11
11
|
tslib_1.__exportStar(require("./graphql-local-client"), exports);
|
12
12
|
tslib_1.__exportStar(require("./service"), exports);
|
13
|
+
tslib_1.__exportStar(require("./typeorm/encrypt-transform"), exports);
|
13
14
|
//# sourceMappingURL=index.js.map
|
package/dist-server/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;AAAA,uDAA4B;AAC5B,yEAA8C;AAC9C,kEAAuC;AACvC,kDAAuB;AACvB,mDAAwB;AACxB,iEAAsC;AACtC,wDAA6B;AAC7B,iEAAsC;AACtC,oDAAyB","sourcesContent":["export * from './migrations'\nexport * from './initializers/naming-strategy'\nexport * from './initializers/database'\nexport * from './utils'\nexport * from './pubsub'\nexport * from './pubsub-log-transport'\nexport * from './middlewares'\nexport * from './graphql-local-client'\nexport * from './service'\n"]}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;AAAA,uDAA4B;AAC5B,yEAA8C;AAC9C,kEAAuC;AACvC,kDAAuB;AACvB,mDAAwB;AACxB,iEAAsC;AACtC,wDAA6B;AAC7B,iEAAsC;AACtC,oDAAyB;AACzB,sEAA2C","sourcesContent":["export * from './migrations'\nexport * from './initializers/naming-strategy'\nexport * from './initializers/database'\nexport * from './utils'\nexport * from './pubsub'\nexport * from './pubsub-log-transport'\nexport * from './middlewares'\nexport * from './graphql-local-client'\nexport * from './service'\nexport * from './typeorm/encrypt-transform'\n"]}
|