@rocketmakers/orbit-notify-firebase 2.0.0-beta.0

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 (67) hide show
  1. package/README.md +47 -0
  2. package/lib/_tests_/manualTest/index.test.d.ts +2 -0
  3. package/lib/_tests_/manualTest/index.test.d.ts.map +1 -0
  4. package/lib/_tests_/manualTest/index.test.js +7 -0
  5. package/lib/_tests_/manualTest/index.test.js.map +1 -0
  6. package/lib/_tests_/manualTest/sendNotification.d.ts +2 -0
  7. package/lib/_tests_/manualTest/sendNotification.d.ts.map +1 -0
  8. package/lib/_tests_/manualTest/sendNotification.js +51 -0
  9. package/lib/_tests_/manualTest/sendNotification.js.map +1 -0
  10. package/lib/_tests_/manualTest/serviceInstance.d.ts +9 -0
  11. package/lib/_tests_/manualTest/serviceInstance.d.ts.map +1 -0
  12. package/lib/_tests_/manualTest/serviceInstance.js +25 -0
  13. package/lib/_tests_/manualTest/serviceInstance.js.map +1 -0
  14. package/lib/_tests_/unit/validation/index.test.d.ts +2 -0
  15. package/lib/_tests_/unit/validation/index.test.d.ts.map +1 -0
  16. package/lib/_tests_/unit/validation/index.test.js +7 -0
  17. package/lib/_tests_/unit/validation/index.test.js.map +1 -0
  18. package/lib/_tests_/unit/validation/mockedService.d.ts +13 -0
  19. package/lib/_tests_/unit/validation/mockedService.d.ts.map +1 -0
  20. package/lib/_tests_/unit/validation/mockedService.js +20 -0
  21. package/lib/_tests_/unit/validation/mockedService.js.map +1 -0
  22. package/lib/_tests_/unit/validation/sendNotification.d.ts +2 -0
  23. package/lib/_tests_/unit/validation/sendNotification.d.ts.map +1 -0
  24. package/lib/_tests_/unit/validation/sendNotification.js +40 -0
  25. package/lib/_tests_/unit/validation/sendNotification.js.map +1 -0
  26. package/lib/src/config/environment.generated.d.ts +7 -0
  27. package/lib/src/config/environment.generated.d.ts.map +1 -0
  28. package/lib/src/config/environment.generated.js +28 -0
  29. package/lib/src/config/environment.generated.js.map +1 -0
  30. package/lib/src/config/index.d.ts +7 -0
  31. package/lib/src/config/index.d.ts.map +1 -0
  32. package/lib/src/config/index.js +5 -0
  33. package/lib/src/config/index.js.map +1 -0
  34. package/lib/src/index.d.ts +5 -0
  35. package/lib/src/index.d.ts.map +1 -0
  36. package/lib/src/index.js +8 -0
  37. package/lib/src/index.js.map +1 -0
  38. package/lib/src/ioc/container.d.ts +13 -0
  39. package/lib/src/ioc/container.d.ts.map +1 -0
  40. package/lib/src/ioc/container.js +7 -0
  41. package/lib/src/ioc/container.js.map +1 -0
  42. package/lib/src/ioc/index.d.ts +3 -0
  43. package/lib/src/ioc/index.d.ts.map +1 -0
  44. package/lib/src/ioc/index.js +6 -0
  45. package/lib/src/ioc/index.js.map +1 -0
  46. package/lib/src/ioc/register.d.ts +3 -0
  47. package/lib/src/ioc/register.d.ts.map +1 -0
  48. package/lib/src/ioc/register.js +23 -0
  49. package/lib/src/ioc/register.js.map +1 -0
  50. package/lib/src/ioc/types.d.ts +10 -0
  51. package/lib/src/ioc/types.d.ts.map +1 -0
  52. package/lib/src/ioc/types.js +3 -0
  53. package/lib/src/ioc/types.js.map +1 -0
  54. package/lib/src/services/firebaseService.d.ts +30 -0
  55. package/lib/src/services/firebaseService.d.ts.map +1 -0
  56. package/lib/src/services/firebaseService.js +78 -0
  57. package/lib/src/services/firebaseService.js.map +1 -0
  58. package/lib/src/services/index.d.ts +2 -0
  59. package/lib/src/services/index.d.ts.map +1 -0
  60. package/lib/src/services/index.js +5 -0
  61. package/lib/src/services/index.js.map +1 -0
  62. package/lib/src/validation/index.d.ts +15 -0
  63. package/lib/src/validation/index.d.ts.map +1 -0
  64. package/lib/src/validation/index.js +24 -0
  65. package/lib/src/validation/index.js.map +1 -0
  66. package/lib/tsconfig.tsbuildinfo +11729 -0
  67. package/package.json +53 -0
package/package.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "@rocketmakers/orbit-notify-firebase",
3
+ "version": "2.0.0-beta.0",
4
+ "description": "> TODO: description",
5
+ "author": "Product team <product-team@rocketmakers.com>",
6
+ "homepage": "https://gitlab.com/rocketmakers/microservices/orbit-packages#readme",
7
+ "license": "ISC",
8
+ "main": "lib/src/index.js",
9
+ "types": "lib/src/index.d.ts",
10
+ "directories": {
11
+ "lib": "lib",
12
+ "test": "__tests__"
13
+ },
14
+ "files": [
15
+ "lib/**/*"
16
+ ],
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://gitlab.com/rocketmakers/microservices/orbit-packages"
20
+ },
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "scripts": {
25
+ "build": "tsc",
26
+ "build-watch": "tsc --watch",
27
+ "local-publish": "npm publish --registry=http://127.0.0.1:4873 --force",
28
+ "local-unpublish": "npm unpublish @rocketmakers/orbit-notify-firebase --registry=http://127.0.0.1:4873 --force",
29
+ "local-update": "npm run local-unpublish && npm run local-publish",
30
+ "test": "mocha -r ts-node/register --recursive \"./_tests_/unit/**/*.test.ts\"",
31
+ "manual-test-firebase": "mocha --timeout 15000 -r ts-node/register --recursive \"./{,!(node_modules)/**/}*.test.ts\"",
32
+ "env-config": "npx environment-generate ./src/config/core-environment.json ./src/config/environment.generated.ts"
33
+ },
34
+ "bugs": {
35
+ "url": "https://gitlab.com/rocketmakers/microservices/orbit-packages/issues"
36
+ },
37
+ "dependencies": {
38
+ "@rocketmakers/environment": "^0.1.4",
39
+ "@rocketmakers/ioc": "^0.1.7",
40
+ "@rocketmakers/log": "^0.1.0",
41
+ "@rocketmakers/orbit-core": "^2.0.0-beta.0",
42
+ "@rocketmakers/orbit-notify-core": "^2.0.0-beta.0",
43
+ "@rocketmakers/orbit-template-core": "^2.0.0-beta.0",
44
+ "@rocketmakers/orbit-template-http-repository": "^2.0.0-beta.0",
45
+ "@rocketmakers/orbit-template-service": "^2.0.0-beta.0",
46
+ "@rocketmakers/shell-commands": "5.0.1",
47
+ "firebase-admin": "^9.12.0"
48
+ },
49
+ "devDependencies": {
50
+ "@rocketmakers/orbit-testing-core": "^2.0.0-beta.0"
51
+ },
52
+ "gitHead": "a4fea2fc194ddc2833621eee30f1d56857bb4b7d"
53
+ }