@pulsecharterconnect/types 0.0.34 → 0.0.35

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,21 @@
1
+ export interface IInAppNotification {
2
+ id: string;
3
+ userId: string;
4
+ subject: string;
5
+ message: string;
6
+ messageRead: boolean;
7
+ messageReadTime: number;
8
+ createdAt?: number;
9
+ updatedAt?: number;
10
+ }
11
+ export declare class InAppNotification implements IInAppNotification {
12
+ id: string;
13
+ userId: string;
14
+ subject: string;
15
+ message: string;
16
+ messageRead: boolean;
17
+ messageReadTime: number;
18
+ createdAt?: number;
19
+ updatedAt?: number;
20
+ constructor(inAppNotification: IInAppNotification);
21
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InAppNotification = void 0;
4
+ class InAppNotification {
5
+ constructor(inAppNotification) {
6
+ this.id = inAppNotification.id;
7
+ this.userId = inAppNotification.userId;
8
+ this.subject = inAppNotification.subject;
9
+ this.message = inAppNotification.message;
10
+ this.messageRead = inAppNotification.messageRead;
11
+ this.messageReadTime = inAppNotification.messageReadTime;
12
+ this.createdAt = inAppNotification.createdAt;
13
+ this.updatedAt = inAppNotification.updatedAt;
14
+ }
15
+ }
16
+ exports.InAppNotification = InAppNotification;
@@ -3,3 +3,4 @@ export * from './Organization';
3
3
  export * from './Sample';
4
4
  export * from './User';
5
5
  export * from './TransportationRequest';
6
+ export * from './Notification';
@@ -19,3 +19,4 @@ __exportStar(require("./Organization"), exports);
19
19
  __exportStar(require("./Sample"), exports);
20
20
  __exportStar(require("./User"), exports);
21
21
  __exportStar(require("./TransportationRequest"), exports);
22
+ __exportStar(require("./Notification"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",