@wrcb/cb-common 1.0.28 → 1.0.30

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,9 @@
1
+ import { Subjects } from './subjects';
2
+ export interface NewPasswordGeneratedEvent {
3
+ subject: Subjects.NewPasswordGenerated;
4
+ data: {
5
+ email: string;
6
+ nickName: string;
7
+ newPassword: string;
8
+ };
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,5 @@
1
1
  export declare enum Subjects {
2
+ NewPasswordGenerated = "new:password:generated",
2
3
  CommentCreated = "comment:created",
3
4
  CommentUpdated = "comment:updated",
4
5
  PredictionCreated = "prediction:created",
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Subjects = void 0;
4
4
  var Subjects;
5
5
  (function (Subjects) {
6
+ Subjects["NewPasswordGenerated"] = "new:password:generated";
6
7
  Subjects["CommentCreated"] = "comment:created";
7
8
  Subjects["CommentUpdated"] = "comment:updated";
8
9
  Subjects["PredictionCreated"] = "prediction:created";
@@ -20,4 +20,4 @@ export declare enum Currency {
20
20
  BrazilianReal = "Real Brasileiro",
21
21
  ArgentinePeso = "Peso Argentino"
22
22
  }
23
- export declare const countryInfoMap: Record<Country, CountryInfo>;
23
+ export declare const countryInfoMap: Record<string, CountryInfo>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrcb/cb-common",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "description": "Common resources between services",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",