@flink-app/firebase-messaging-plugin 0.11.9 → 0.11.14

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.
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 05 2025 22:45:04 GMT+0100 (Central European Standard Time)
1
+ // Generated Mon Feb 24 2025 14:41:50 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredHandlers, HttpMethod } from "@flink-app/flink";
3
3
  import * as PostMessage_0 from "../src/handlers/PostMessage";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 05 2025 22:45:04 GMT+0100 (Central European Standard Time)
1
+ // Generated Mon Feb 24 2025 14:41:51 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredJobs } from "@flink-app/flink";
3
3
  export const jobs = [];
4
4
  autoRegisteredJobs.push(...jobs);
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 05 2025 22:45:04 GMT+0100 (Central European Standard Time)
1
+ // Generated Mon Feb 24 2025 14:41:50 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredRepos } from "@flink-app/flink";
3
3
  export const repos = [];
4
4
  autoRegisteredRepos.push(...repos);
@@ -1,7 +1,7 @@
1
1
  import Message from "../../src/schemas/Message";
2
2
  import SendResult from "../../src/schemas/SendResult";
3
3
 
4
- // Generated Wed Feb 05 2025 22:45:05 GMT+0100 (Central European Standard Time)
4
+ // Generated Mon Feb 24 2025 14:41:51 GMT+0100 (Central European Standard Time)
5
5
  export interface PostMessage_12_ReqSchema extends Message {}
6
6
 
7
7
  export interface PostMessage_12_ResSchema extends SendResult {}
package/.flink/start.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 05 2025 22:45:04 GMT+0100 (Central European Standard Time)
1
+ // Generated Mon Feb 24 2025 14:41:51 GMT+0100 (Central European Standard Time)
2
2
  import "./generatedHandlers";
3
3
  import "./generatedRepos";
4
4
  import "./generatedJobs";
@@ -20,7 +20,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
20
20
  };
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
22
  exports.handlers = void 0;
23
- // Generated Wed Feb 05 2025 22:45:04 GMT+0100 (Central European Standard Time)
23
+ // Generated Mon Feb 24 2025 14:41:50 GMT+0100 (Central European Standard Time)
24
24
  var flink_1 = require("@flink-app/flink");
25
25
  var PostMessage_0 = __importStar(require("../src/handlers/PostMessage"));
26
26
  exports.handlers = [{ handler: PostMessage_0, assumedHttpMethod: flink_1.HttpMethod.post }];
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.jobs = void 0;
4
- // Generated Wed Feb 05 2025 22:45:04 GMT+0100 (Central European Standard Time)
4
+ // Generated Mon Feb 24 2025 14:41:51 GMT+0100 (Central European Standard Time)
5
5
  var flink_1 = require("@flink-app/flink");
6
6
  exports.jobs = [];
7
7
  flink_1.autoRegisteredJobs.push.apply(flink_1.autoRegisteredJobs, exports.jobs);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.repos = void 0;
4
- // Generated Wed Feb 05 2025 22:45:04 GMT+0100 (Central European Standard Time)
4
+ // Generated Mon Feb 24 2025 14:41:50 GMT+0100 (Central European Standard Time)
5
5
  var flink_1 = require("@flink-app/flink");
6
6
  exports.repos = [];
7
7
  flink_1.autoRegisteredRepos.push.apply(flink_1.autoRegisteredRepos, exports.repos);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- // Generated Wed Feb 05 2025 22:45:04 GMT+0100 (Central European Standard Time)
3
+ // Generated Mon Feb 24 2025 14:41:51 GMT+0100 (Central European Standard Time)
4
4
  require("./generatedHandlers");
5
5
  require("./generatedRepos");
6
6
  require("./generatedJobs");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flink-app/firebase-messaging-plugin",
3
- "version": "0.11.9",
3
+ "version": "0.11.14",
4
4
  "description": "Flink plugin to send Firebase cloud messages",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\"",
@@ -16,11 +16,11 @@
16
16
  "access": "public"
17
17
  },
18
18
  "dependencies": {
19
- "@flink-app/management-api-plugin": "^0.11.9",
19
+ "@flink-app/management-api-plugin": "^0.11.14",
20
20
  "firebase-admin": "^12.1.1"
21
21
  },
22
22
  "devDependencies": {
23
- "@flink-app/flink": "^0.11.9",
23
+ "@flink-app/flink": "^0.11.14",
24
24
  "@types/express": "^4.17.12",
25
25
  "@types/node": "^15.6.2",
26
26
  "nodemon": "^2.0.7",
@@ -28,5 +28,5 @@
28
28
  "tsc-watch": "^4.2.9",
29
29
  "typescript": "^4.2.4"
30
30
  },
31
- "gitHead": "cc04e10ae82ed022031ef8bcfaafa9beb1d6564f"
31
+ "gitHead": "8172291cf7330d13c7958d170100fe9771fd7dfb"
32
32
  }
@@ -1,57 +0,0 @@
1
- {
2
- "Message": {
3
- "type": "object",
4
- "properties": {
5
- "to": {
6
- "description": "Devices to send to",
7
- "type": "array",
8
- "items": {
9
- "type": "string"
10
- }
11
- },
12
- "notification": {
13
- "description": "Use `notification` if sending a standard push notification\nhttps://firebase.google.com/docs/cloud-messaging/concept-options#notifications",
14
- "type": "object",
15
- "properties": {
16
- "title": {
17
- "description": "Optional push notification title",
18
- "type": "string"
19
- },
20
- "body": {
21
- "description": "Optional body",
22
- "type": "string"
23
- }
24
- },
25
- "additionalProperties": false
26
- },
27
- "data": {
28
- "description": "Use `data` to send data messages.\nhttps://firebase.google.com/docs/cloud-messaging/concept-options#data_messages",
29
- "type": "object",
30
- "additionalProperties": {
31
- "type": "string"
32
- }
33
- }
34
- },
35
- "additionalProperties": false,
36
- "required": [
37
- "data",
38
- "to"
39
- ]
40
- },
41
- "SendResult": {
42
- "type": "object",
43
- "properties": {
44
- "failedDevices": {
45
- "description": "Devices to which delivery failed",
46
- "type": "array",
47
- "items": {
48
- "type": "string"
49
- }
50
- }
51
- },
52
- "additionalProperties": false,
53
- "required": [
54
- "failedDevices"
55
- ]
56
- }
57
- }