need4deed-sdk 0.0.149 → 0.0.151

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.
@@ -13,6 +13,7 @@ export * from "./opportunity";
13
13
  export * from "./opportunity-event-registration";
14
14
  export * from "./option";
15
15
  export * from "./post";
16
+ export * from "./post-reaction";
16
17
  export * from "./post-reply";
17
18
  export * from "./organization";
18
19
  export * from "./person";
@@ -29,6 +29,7 @@ __exportStar(require("./opportunity"), exports);
29
29
  __exportStar(require("./opportunity-event-registration"), exports);
30
30
  __exportStar(require("./option"), exports);
31
31
  __exportStar(require("./post"), exports);
32
+ __exportStar(require("./post-reaction"), exports);
32
33
  __exportStar(require("./post-reply"), exports);
33
34
  __exportStar(require("./organization"), exports);
34
35
  __exportStar(require("./person"), exports);
@@ -0,0 +1,7 @@
1
+ export interface ApiPostReactionSummary {
2
+ emoji: string;
3
+ count: number;
4
+ }
5
+ export interface ApiPostReactionPost {
6
+ emoji: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +1,14 @@
1
1
  import { VoidableProps } from "../utils";
2
2
  import { ApiPostPerson } from "./post";
3
+ import { ApiPostReactionSummary } from "./post-reaction";
3
4
  export interface ApiPostReplyGet {
4
5
  id: number;
5
6
  text: string;
6
7
  author: ApiPostPerson;
7
8
  postId: number;
8
9
  parentReplyId: number | null;
10
+ reactions: ApiPostReactionSummary[];
11
+ myReaction: string | null;
9
12
  createdAt: Date;
10
13
  }
11
14
  export interface ApiPostReplyPost {
@@ -1,4 +1,5 @@
1
1
  import { VoidableProps } from "../utils";
2
+ import { ApiPostReactionSummary } from "./post-reaction";
2
3
  export interface ApiPostPerson {
3
4
  id: number;
4
5
  fullName: string;
@@ -16,6 +17,9 @@ export interface ApiPostGet {
16
17
  taggedPersons: ApiPostPerson[];
17
18
  linkedOpportunities: ApiPostLinkedOpportunity[];
18
19
  replyCount: number;
20
+ reactions: ApiPostReactionSummary[];
21
+ myReaction: string | null;
22
+ bookmarked: boolean;
19
23
  createdAt: Date;
20
24
  }
21
25
  export interface ApiPostPost {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.149",
3
+ "version": "0.0.151",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",