need4deed-sdk 0.0.158 → 0.0.160
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.
- package/dist/types/api/post.d.ts +6 -0
- package/dist/types/api/user.d.ts +16 -0
- package/package.json +1 -1
package/dist/types/api/post.d.ts
CHANGED
|
@@ -22,6 +22,12 @@ export interface ApiPostGet {
|
|
|
22
22
|
bookmarked: boolean;
|
|
23
23
|
createdAt: Date;
|
|
24
24
|
}
|
|
25
|
+
export interface ApiPostListQuery {
|
|
26
|
+
search?: string;
|
|
27
|
+
authorId?: number;
|
|
28
|
+
page?: number;
|
|
29
|
+
limit?: number;
|
|
30
|
+
}
|
|
25
31
|
export interface ApiPostPost {
|
|
26
32
|
text: string;
|
|
27
33
|
taggedPersonIds?: number[];
|
package/dist/types/api/user.d.ts
CHANGED
|
@@ -44,4 +44,20 @@ export interface ApiUserVerifyEmail {
|
|
|
44
44
|
verified: boolean;
|
|
45
45
|
hasVolunteerProfile?: boolean;
|
|
46
46
|
}
|
|
47
|
+
export interface ApiCoordinatorInvitePost {
|
|
48
|
+
email: string;
|
|
49
|
+
person: {
|
|
50
|
+
firstName?: string;
|
|
51
|
+
middleName?: string;
|
|
52
|
+
lastName?: string;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
export interface ApiCoordinatorInviteResponse {
|
|
56
|
+
token: string;
|
|
57
|
+
link: string;
|
|
58
|
+
expiresAt: string;
|
|
59
|
+
}
|
|
60
|
+
export interface ApiCoordinatorRegisterWithInvite {
|
|
61
|
+
password: string;
|
|
62
|
+
}
|
|
47
63
|
export {};
|