need4deed-sdk 0.0.94 → 0.0.96

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.
@@ -26,3 +26,5 @@ export interface EventN4D {
26
26
  additionalInfo?: string[];
27
27
  outro?: string;
28
28
  }
29
+ export interface ApiEventN4DGet extends EventN4D {
30
+ }
@@ -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.94",
3
+ "version": "0.0.96",
4
4
  "description": "Need4Deed.org SDK",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",