@flink-app/firebase-messaging-plugin 0.4.5 → 0.4.7

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 Mon Feb 13 2023 19:17:33 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 25 2023 22:17:18 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 Mon Feb 13 2023 19:17:33 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 25 2023 22:17:18 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 Mon Feb 13 2023 19:17:33 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 25 2023 22:17:18 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredRepos } from "@flink-app/flink";
3
3
  export const repos = [];
4
4
  autoRegisteredRepos.push(...repos);
@@ -3,6 +3,7 @@
3
3
  "$ref": "#/definitions/Schemas",
4
4
  "definitions": {
5
5
  "PostMessage_17_ReqSchema": {
6
+ "$schema": "http://json-schema.org/draft-07/schema#",
6
7
  "type": "object",
7
8
  "additionalProperties": false,
8
9
  "properties": {
@@ -39,9 +40,11 @@
39
40
  "required": [
40
41
  "data",
41
42
  "to"
42
- ]
43
+ ],
44
+ "definitions": {}
43
45
  },
44
46
  "PostMessage_17_ResSchema": {
47
+ "$schema": "http://json-schema.org/draft-07/schema#",
45
48
  "type": "object",
46
49
  "additionalProperties": false,
47
50
  "properties": {
@@ -55,7 +58,8 @@
55
58
  },
56
59
  "required": [
57
60
  "failedDevices"
58
- ]
61
+ ],
62
+ "definitions": {}
59
63
  }
60
64
  }
61
65
  }
@@ -1,7 +1,7 @@
1
1
  import Message from "../../src/schemas/Message";
2
2
  import SendResult from "../../src/schemas/SendResult";
3
3
 
4
- // Generated Mon Feb 13 2023 19:17:33 GMT+0100 (Central European Standard Time)
4
+ // Generated Sat Feb 25 2023 22:17:18 GMT+0100 (Central European Standard Time)
5
5
  export interface PostMessage_17_ReqSchema extends Message {}
6
6
 
7
7
  export interface PostMessage_17_ResSchema extends SendResult {}
package/.flink/start.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated Mon Feb 13 2023 19:17:33 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 25 2023 22:17:18 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 Mon Feb 13 2023 19:17:33 GMT+0100 (Central European Standard Time)
23
+ // Generated Sat Feb 25 2023 22:17:18 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 Mon Feb 13 2023 19:17:33 GMT+0100 (Central European Standard Time)
4
+ // Generated Sat Feb 25 2023 22:17:18 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 Mon Feb 13 2023 19:17:33 GMT+0100 (Central European Standard Time)
4
+ // Generated Sat Feb 25 2023 22:17:18 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);
@@ -3,6 +3,7 @@
3
3
  "$ref": "#/definitions/Schemas",
4
4
  "definitions": {
5
5
  "PostMessage_17_ReqSchema": {
6
+ "$schema": "http://json-schema.org/draft-07/schema#",
6
7
  "type": "object",
7
8
  "additionalProperties": false,
8
9
  "properties": {
@@ -39,9 +40,11 @@
39
40
  "required": [
40
41
  "data",
41
42
  "to"
42
- ]
43
+ ],
44
+ "definitions": {}
43
45
  },
44
46
  "PostMessage_17_ResSchema": {
47
+ "$schema": "http://json-schema.org/draft-07/schema#",
45
48
  "type": "object",
46
49
  "additionalProperties": false,
47
50
  "properties": {
@@ -55,7 +58,8 @@
55
58
  },
56
59
  "required": [
57
60
  "failedDevices"
58
- ]
61
+ ],
62
+ "definitions": {}
59
63
  }
60
64
  }
61
65
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- // Generated Mon Feb 13 2023 19:17:33 GMT+0100 (Central European Standard Time)
3
+ // Generated Sat Feb 25 2023 22:17:18 GMT+0100 (Central European Standard Time)
4
4
  require("./generatedHandlers");
5
5
  require("./generatedRepos");
6
6
  require("./generatedJobs");
@@ -60,4 +60,4 @@ var PostMessage = function (_a) {
60
60
  };
61
61
  exports.default = PostMessage;
62
62
  exports.__assumedHttpMethod = "post", exports.__file = "PostMessage.ts", exports.__query = [], exports.__params = [];
63
- exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "to": { "type": "array", "items": { "type": "string" }, "description": "Devices to send to" }, "notification": { "type": "object", "properties": { "title": { "type": "string", "description": "Optional push notification title" }, "body": { "type": "string", "description": "Optional body" } }, "additionalProperties": false, "description": "Use `notification` if sending a standard push notification https://firebase.google.com/docs/cloud-messaging/concept-options#notifications" }, "data": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Use `data` to send data messages. https://firebase.google.com/docs/cloud-messaging/concept-options#data_messages" } }, "required": ["data", "to"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "failedDevices": { "type": "array", "items": { "type": "string" }, "description": "Devices to which delivery failed" } }, "required": ["failedDevices"] } };
63
+ exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "to": { "type": "array", "items": { "type": "string" }, "description": "Devices to send to" }, "notification": { "type": "object", "properties": { "title": { "type": "string", "description": "Optional push notification title" }, "body": { "type": "string", "description": "Optional body" } }, "additionalProperties": false, "description": "Use `notification` if sending a standard push notification https://firebase.google.com/docs/cloud-messaging/concept-options#notifications" }, "data": { "type": "object", "additionalProperties": { "type": "string" }, "description": "Use `data` to send data messages. https://firebase.google.com/docs/cloud-messaging/concept-options#data_messages" } }, "required": ["data", "to"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "failedDevices": { "type": "array", "items": { "type": "string" }, "description": "Devices to which delivery failed" } }, "required": ["failedDevices"], "definitions": {} } };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flink-app/firebase-messaging-plugin",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
4
4
  "description": "Flink plugin to send Firebase cloud messages",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\"",
@@ -19,7 +19,7 @@
19
19
  "fcm-push": "^1.1.3"
20
20
  },
21
21
  "devDependencies": {
22
- "@flink-app/flink": "^0.4.5",
22
+ "@flink-app/flink": "^0.4.7",
23
23
  "@types/express": "^4.17.12",
24
24
  "@types/node": "^15.6.2",
25
25
  "nodemon": "^2.0.7",
@@ -27,5 +27,5 @@
27
27
  "tsc-watch": "^4.2.9",
28
28
  "typescript": "^4.2.4"
29
29
  },
30
- "gitHead": "38a0ca4c987f280accc5f4c7f408e51f7b076587"
30
+ "gitHead": "b565d5987e08ba3aba3653325e935e6c56cab24c"
31
31
  }