@mediaryorg/contracts 1.0.6 → 1.0.8

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,5 @@
1
+ /** Routing keys / patterns for auth-related notification messages (e.g. RMQ) */
2
+ export declare const AUTH_NOTIFICATION_EVENTS: {
3
+ readonly EMAIL_VERIFICATION_REQUESTED: "auth.email-verification.requested";
4
+ readonly PASSWORD_RESET_REQUESTED: "auth.password-reset.requested";
5
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AUTH_NOTIFICATION_EVENTS = void 0;
4
+ /** Routing keys / patterns for auth-related notification messages (e.g. RMQ) */
5
+ exports.AUTH_NOTIFICATION_EVENTS = {
6
+ EMAIL_VERIFICATION_REQUESTED: "auth.email-verification.requested",
7
+ PASSWORD_RESET_REQUESTED: "auth.password-reset.requested",
8
+ };
@@ -1 +1,2 @@
1
- export * from './notification-payloads';
1
+ export * from "./event-payloads.ts.js";
2
+ export * from "./event-keys.js";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./notification-payloads"), exports);
17
+ __exportStar(require("./event-payloads.ts.js"), exports);
18
+ __exportStar(require("./event-keys.js"), exports);
@@ -118,6 +118,7 @@ export interface OauthConnectResponse {
118
118
  export interface OauthCallbackRequest {
119
119
  provider: string;
120
120
  code: string;
121
+ state: string;
121
122
  }
122
123
 
123
124
  export interface AdminLoginRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediaryorg/contracts",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -132,6 +132,7 @@ message OauthConnectResponse {
132
132
  message OauthCallbackRequest {
133
133
  string provider = 1;
134
134
  string code = 2;
135
+ string state = 3;
135
136
  }
136
137
 
137
138
  message AdminLoginRequest {