@things-factory/aws-base 5.0.0-alpha.17 → 5.0.0-alpha.20
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/controllers/athena-controller.js +1 -1
- package/dist-server/service/athena/athena-query.js +1 -0
- package/dist-server/service/athena/athena-query.js.map +1 -1
- package/package.json +3 -3
- package/server/controllers/athena-controller.ts +1 -1
- package/server/service/athena/athena-query.ts +1 -1
|
@@ -25,7 +25,7 @@ const env_1 = require("@things-factory/env");
|
|
|
25
25
|
const athenaConfig = env_1.config.get('athena', {});
|
|
26
26
|
const awsCredentials = {
|
|
27
27
|
region: athenaConfig.region,
|
|
28
|
-
accessKeyId: athenaConfig.
|
|
28
|
+
accessKeyId: athenaConfig.accessKeyId,
|
|
29
29
|
secretAccessKey: athenaConfig.secretAccessKey
|
|
30
30
|
};
|
|
31
31
|
aws_sdk_1.default.config.update(awsCredentials);
|
|
@@ -15,6 +15,7 @@ var _a;
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AthenaQuery = void 0;
|
|
17
17
|
const type_graphql_1 = require("type-graphql");
|
|
18
|
+
// import { User } from '@things-factory/auth-base'
|
|
18
19
|
const shell_1 = require("@things-factory/shell");
|
|
19
20
|
const controllers_1 = require("../../controllers");
|
|
20
21
|
const debug = require('debug')('things-factory:reference-app');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"athena-query.js","sourceRoot":"","sources":["../../../server/service/athena/athena-query.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA8F;
|
|
1
|
+
{"version":3,"file":"athena-query.js","sourceRoot":"","sources":["../../../server/service/athena/athena-query.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA8F;AAC9F,mDAAmD;AACnD,iDAAgF;AAEhF,mDAAoD;AAEpD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,8BAA8B,CAAC,CAAA;AAC9D,MAAM,YAAY,GAAG,IAAI,8BAAgB,EAAE,CAAA;AAE3C,MAAa,WAAW;IAEtB,KAAK,CAAC,eAAe,CACX,CAAC,EAC+B,SAAuB,EACxD,OAAY;QAEnB,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,KAAK,CAAA;QAEhC,IAAI,WAAW,GAAG,MAAM,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA;QAErD,OAAO,WAAW,CAAA;IACpB,CAAC;CACF;AAXC;IADC,IAAA,oBAAK,EAAC,OAAO,CAAC,EAAE,CAAC,iBAAS,EAAE,EAAE,WAAW,EAAE,6CAA6C,EAAE,CAAC;IAEzF,WAAA,IAAA,mBAAI,GAAE,CAAA;IACN,WAAA,IAAA,kBAAG,EAAC,WAAW,EAAE,IAAI,CAAC,EAAE,CAAC,oBAAY,CAAC,CAAA;IACtC,WAAA,IAAA,kBAAG,GAAE,CAAA;;iEAD6C,oBAAY,oBAAZ,oBAAY;;kDAQhE;AAZH,kCAaC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/aws-base",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.20",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"things-factory": true,
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@things-factory/shell": "^5.0.0-alpha.
|
|
26
|
+
"@things-factory/shell": "^5.0.0-alpha.20",
|
|
27
27
|
"athena-express": "^7.1.4",
|
|
28
28
|
"aws-sdk": "^2.1096.0"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "47487b293458170f7eeb97612dfa8bbb750f092f"
|
|
31
31
|
}
|
|
@@ -21,7 +21,7 @@ import { config } from '@things-factory/env'
|
|
|
21
21
|
const athenaConfig = config.get('athena', {})
|
|
22
22
|
const awsCredentials = {
|
|
23
23
|
region: athenaConfig.region,
|
|
24
|
-
accessKeyId: athenaConfig.
|
|
24
|
+
accessKeyId: athenaConfig.accessKeyId,
|
|
25
25
|
secretAccessKey: athenaConfig.secretAccessKey
|
|
26
26
|
}
|
|
27
27
|
AWS.config.update(awsCredentials)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Resolver, Query, FieldResolver, Root, Args, Arg, Ctx, Directive } from 'type-graphql'
|
|
2
|
-
import { User } from '@things-factory/auth-base'
|
|
2
|
+
// import { User } from '@things-factory/auth-base'
|
|
3
3
|
import { publishProgress, ScalarAny, ScalarObject } from '@things-factory/shell'
|
|
4
4
|
|
|
5
5
|
import { AthenaController } from '../../controllers'
|