@vsniksnet/contracts 1.3.14 → 1.3.15

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.
@@ -2,3 +2,4 @@ export * from './auth';
2
2
  export * from './account';
3
3
  export * from './users';
4
4
  export * from './friends';
5
+ export * from './posts';
@@ -18,3 +18,4 @@ __exportStar(require("./auth"), exports);
18
18
  __exportStar(require("./account"), exports);
19
19
  __exportStar(require("./users"), exports);
20
20
  __exportStar(require("./friends"), exports);
21
+ __exportStar(require("./posts"), exports);
@@ -0,0 +1,2 @@
1
+ export * from './post-created.event';
2
+ export * from './post-removed.event';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./post-created.event"), exports);
18
+ __exportStar(require("./post-removed.event"), exports);
@@ -0,0 +1,6 @@
1
+ export declare const POST_CREATED = "posts.created.event";
2
+ export interface PostCreatedEvent {
3
+ userId: string;
4
+ postId: string;
5
+ eventDate: string;
6
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.POST_CREATED = void 0;
4
+ exports.POST_CREATED = 'posts.created.event';
@@ -0,0 +1,6 @@
1
+ export declare const POST_REMOVED = "posts.removed.event";
2
+ export interface PostRemovedEvent {
3
+ userId: string;
4
+ postId: string;
5
+ eventDate: string;
6
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.POST_REMOVED = void 0;
4
+ exports.POST_REMOVED = 'posts.removed.event';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vsniksnet/contracts",
3
- "version": "1.3.14",
3
+ "version": "1.3.15",
4
4
  "description": "Protobuf definitions and generated typescript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",