need4deed-sdk 0.0.95 → 0.0.97

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.
@@ -5,4 +5,5 @@ export interface ApiComment {
5
5
  entityType?: string;
6
6
  authorName: string;
7
7
  timestamp: Date;
8
+ taggedPersonIds: number[];
8
9
  }
@@ -1,3 +1,4 @@
1
+ import { VoidableProps } from "../utils";
1
2
  export declare enum UserRole {
2
3
  USER = "user",
3
4
  COORDINATOR = "coordinator",
@@ -5,8 +6,9 @@ export declare enum UserRole {
5
6
  VOLUNTEER = "volunteer",
6
7
  ADMIN = "admin"
7
8
  }
8
- export interface ApiUserGet {
9
+ interface UserGet {
9
10
  id: number;
11
+ personId: number;
10
12
  email: string;
11
13
  isActive: boolean;
12
14
  role: UserRole;
@@ -16,3 +18,5 @@ export interface ApiUserGet {
16
18
  isoCode: string;
17
19
  timezone: string;
18
20
  }
21
+ export type ApiUserGet = VoidableProps<UserGet, "avatarUrl" | "personId">;
22
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "need4deed-sdk",
3
- "version": "0.0.95",
3
+ "version": "0.0.97",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",