@nlabs/reaktor 0.1.1 → 0.1.3

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 (57) hide show
  1. package/.DS_Store +0 -0
  2. package/lib/config.js +10 -7
  3. package/lib/data/posts.d.ts +13 -7
  4. package/lib/data/posts.js +77 -39
  5. package/lib/types/posts.d.ts +1 -0
  6. package/package.json +8 -8
  7. package/.vscode/extensions.json +0 -15
  8. package/.vscode/settings.json +0 -82
  9. package/lex.config.js +0 -4
  10. package/src/config.ts +0 -121
  11. package/src/data/conversations.ts +0 -181
  12. package/src/data/dynamodb.ts +0 -157
  13. package/src/data/email.ts +0 -163
  14. package/src/data/files.ts +0 -352
  15. package/src/data/groups.ts +0 -308
  16. package/src/data/images.ts +0 -606
  17. package/src/data/index.ts +0 -23
  18. package/src/data/ios.ts +0 -249
  19. package/src/data/locations.ts +0 -114
  20. package/src/data/messages.ts +0 -237
  21. package/src/data/notifications.ts +0 -48
  22. package/src/data/payments.ts +0 -675
  23. package/src/data/posts.ts +0 -561
  24. package/src/data/reactions.ts +0 -186
  25. package/src/data/s3.ts +0 -117
  26. package/src/data/search.ts +0 -74
  27. package/src/data/sms.ts +0 -60
  28. package/src/data/subscription.ts +0 -228
  29. package/src/data/tags.ts +0 -230
  30. package/src/data/users.ts +0 -254
  31. package/src/index.ts +0 -7
  32. package/src/types/apps.ts +0 -56
  33. package/src/types/arangodb.ts +0 -23
  34. package/src/types/auth.ts +0 -20
  35. package/src/types/conversations.ts +0 -11
  36. package/src/types/email.ts +0 -17
  37. package/src/types/files.ts +0 -31
  38. package/src/types/google.ts +0 -37
  39. package/src/types/groups.ts +0 -27
  40. package/src/types/images.ts +0 -32
  41. package/src/types/index.ts +0 -21
  42. package/src/types/locations.ts +0 -24
  43. package/src/types/messages.ts +0 -16
  44. package/src/types/notifications.ts +0 -26
  45. package/src/types/payments.ts +0 -129
  46. package/src/types/posts.ts +0 -33
  47. package/src/types/reactions.ts +0 -8
  48. package/src/types/tags.ts +0 -13
  49. package/src/types/users.ts +0 -89
  50. package/src/utils/analytics.ts +0 -41
  51. package/src/utils/arangodb.ts +0 -100
  52. package/src/utils/auth.ts +0 -61
  53. package/src/utils/graphql.ts +0 -7
  54. package/src/utils/index.ts +0 -10
  55. package/src/utils/objects.ts +0 -34
  56. package/src/utils/redis.ts +0 -17
  57. package/tsconfig.json +0 -45
@@ -1,17 +0,0 @@
1
- /**
2
- * Copyright (c) 2019-Present, Nitrogen Labs, Inc.
3
- * Copyrights licensed under the MIT License. See the accompanying LICENSE file for terms.
4
- */
5
- import * as redis from 'redis';
6
- import * as tp from 'typed-promisify';
7
-
8
- import {Config} from '../config';
9
-
10
- // Promisify redis module
11
- tp.promisify(redis.RedisClient.prototype);
12
-
13
- export const redisClient = redis.createClient({
14
- host: Config.get('redis.host'),
15
- port: Config.get('redis.port'),
16
- string_numbers: false
17
- });
package/tsconfig.json DELETED
@@ -1,45 +0,0 @@
1
- {
2
- "compileOnSave": false,
3
- "compilerOptions": {
4
- "allowSyntheticDefaultImports": true,
5
- "baseUrl": "src",
6
- "declaration": false,
7
- "emitDecoratorMetadata": true,
8
- "esModuleInterop": true,
9
- "experimentalDecorators": true,
10
- "inlineSourceMap": true,
11
- "lib": [
12
- "dom",
13
- "es2015",
14
- "es5",
15
- "es6",
16
- "es7",
17
- "esnext"
18
- ],
19
- "moduleResolution": "node",
20
- "noImplicitReturns": true,
21
- "noImplicitThis": true,
22
- "noStrictGenericChecks": true,
23
- "noUnusedLocals": true,
24
- "outDir": "./build",
25
- "removeComments": true,
26
- "skipLibCheck": true,
27
- "target": "es5",
28
- "typeRoots": [
29
- "node_modules/@types"
30
- ],
31
- "types": [
32
- "jest",
33
- "node"
34
- ]
35
- },
36
- "exclude": [
37
- "node_modules",
38
- "node_modules_custom",
39
- "LambdaFunc"
40
- ],
41
- "include": [
42
- "src/**/*.ts*",
43
- "src/*.ts*"
44
- ]
45
- }