@hedia/types 2.1.30 → 2.1.31-alpha.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.
@@ -0,0 +1,16 @@
1
+ export declare namespace NotificationService {
2
+ namespace Types {
3
+ interface INotification {
4
+ title: string;
5
+ body: string;
6
+ }
7
+ interface IFirebaseCloudMessagingData {
8
+ [key: string]: string;
9
+ }
10
+ interface INotificationOptions {
11
+ notification: INotification;
12
+ data?: IFirebaseCloudMessagingData;
13
+ registrationToken: string;
14
+ }
15
+ }
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification.js","sourceRoot":"","sources":["../../../../types/services/outbound/notification.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/types",
3
- "version": "2.1.30",
3
+ "version": "2.1.31-alpha.3",
4
4
  "description": "Enums, interfaces, and other common types for use in Hedia's software.",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -0,0 +1,18 @@
1
+ export namespace NotificationService {
2
+ export namespace Types {
3
+ export interface INotification {
4
+ title: string;
5
+ body: string;
6
+ }
7
+
8
+ export interface IFirebaseCloudMessagingData {
9
+ [key: string]: string;
10
+ }
11
+
12
+ export interface INotificationOptions {
13
+ notification: INotification;
14
+ data?: IFirebaseCloudMessagingData;
15
+ registrationToken: string;
16
+ }
17
+ }
18
+ }