@volontariapp/contracts 3.3.4 → 4.0.0-snap-cf24bfa
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/CHANGELOG.md +200 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/social/index.d.ts +5 -0
- package/dist/social/index.d.ts.map +1 -0
- package/dist/social/index.js +5 -0
- package/dist/social/index.js.map +1 -0
- package/dist/social/social.command.d.ts +75 -0
- package/dist/social/social.command.d.ts.map +1 -0
- package/dist/social/social.command.js +2 -0
- package/dist/social/social.command.js.map +1 -0
- package/dist/social/social.d.ts +10 -0
- package/dist/social/social.d.ts.map +1 -0
- package/dist/social/social.js +2 -0
- package/dist/social/social.js.map +1 -0
- package/dist/social/social.query.d.ts +59 -0
- package/dist/social/social.query.d.ts.map +1 -0
- package/dist/social/social.query.js +2 -0
- package/dist/social/social.query.js.map +1 -0
- package/dist/social/social.responses.d.ts +99 -0
- package/dist/social/social.responses.d.ts.map +1 -0
- package/dist/social/social.responses.js +2 -0
- package/dist/social/social.responses.js.map +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 4.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Contract social added
|
|
8
|
+
|
|
9
|
+
## 3.3.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies []:
|
|
14
|
+
- @volontariapp/logger@0.2.3
|
|
15
|
+
|
|
16
|
+
## 3.3.3
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Auto-generated proto typings update for both pure contracts and NestJS integration.
|
|
21
|
+
|
|
22
|
+
## 3.3.2
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Auto-generated proto typings update for both pure contracts and NestJS integration.
|
|
27
|
+
|
|
28
|
+
## 3.3.1
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- add requirement request on contract
|
|
33
|
+
|
|
34
|
+
## 3.3.0
|
|
35
|
+
|
|
36
|
+
### Minor Changes
|
|
37
|
+
|
|
38
|
+
- date for request & response
|
|
39
|
+
|
|
40
|
+
## 3.2.2
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- fix: index.ts deps
|
|
45
|
+
|
|
46
|
+
## 3.2.1
|
|
47
|
+
|
|
48
|
+
### Patch Changes
|
|
49
|
+
|
|
50
|
+
- This PR performs a full regeneration of all proto files and TypeScript types for both pure @volontariapp/contracts and NestJS @volontariapp/contracts-nest packages.
|
|
51
|
+
|
|
52
|
+
## 3.2.0
|
|
53
|
+
|
|
54
|
+
### Minor Changes
|
|
55
|
+
|
|
56
|
+
- patch version
|
|
57
|
+
|
|
58
|
+
## 3.1.5
|
|
59
|
+
|
|
60
|
+
### Patch Changes
|
|
61
|
+
|
|
62
|
+
- This PR performs a full regeneration of all proto files and TypeScript types for both pure @volontariapp/contracts and NestJS @volontariapp/contracts-nest packages.
|
|
63
|
+
|
|
64
|
+
## 3.1.4
|
|
65
|
+
|
|
66
|
+
### Patch Changes
|
|
67
|
+
|
|
68
|
+
- Add missing event request interfaces
|
|
69
|
+
|
|
70
|
+
## 3.1.3
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- bump global version
|
|
75
|
+
|
|
76
|
+
- Updated dependencies []:
|
|
77
|
+
- @volontariapp/logger@0.2.2
|
|
78
|
+
|
|
79
|
+
## 3.1.2
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- bump ci
|
|
84
|
+
|
|
85
|
+
- Updated dependencies []:
|
|
86
|
+
- @volontariapp/logger@0.2.1
|
|
87
|
+
|
|
88
|
+
## 3.1.1
|
|
89
|
+
|
|
90
|
+
### Patch Changes
|
|
91
|
+
|
|
92
|
+
- refacto contract libs
|
|
93
|
+
|
|
94
|
+
## 3.1.0
|
|
95
|
+
|
|
96
|
+
### Minor Changes
|
|
97
|
+
|
|
98
|
+
- refacto contract for gateway compatibility
|
|
99
|
+
|
|
100
|
+
## 3.0.10
|
|
101
|
+
|
|
102
|
+
### Patch Changes
|
|
103
|
+
|
|
104
|
+
- Auto-generated proto typings update for both pure contracts and NestJS integration.
|
|
105
|
+
|
|
106
|
+
## 3.0.9
|
|
107
|
+
|
|
108
|
+
### Patch Changes
|
|
109
|
+
|
|
110
|
+
- Bump contract-nest packages
|
|
111
|
+
|
|
112
|
+
## 3.0.8
|
|
113
|
+
|
|
114
|
+
### Patch Changes
|
|
115
|
+
|
|
116
|
+
- This PR performs a full regeneration of all proto files and TypeScript types for both pure @volontariapp/contracts and NestJS @volontariapp/contracts-nest packages.
|
|
117
|
+
|
|
118
|
+
## 3.0.7
|
|
119
|
+
|
|
120
|
+
### Patch Changes
|
|
121
|
+
|
|
122
|
+
- Auto-generated proto typings update for both pure contracts and NestJS integration.
|
|
123
|
+
|
|
124
|
+
## 3.0.6
|
|
125
|
+
|
|
126
|
+
### Patch Changes
|
|
127
|
+
|
|
128
|
+
- Auto-generated proto typings update for both pure contracts and NestJS integration.
|
|
129
|
+
|
|
130
|
+
## 3.0.5
|
|
131
|
+
|
|
132
|
+
### Patch Changes
|
|
133
|
+
|
|
134
|
+
- Auto-generated proto typings update for both pure contracts and NestJS integration.
|
|
135
|
+
|
|
136
|
+
## 3.0.4
|
|
137
|
+
|
|
138
|
+
### Patch Changes
|
|
139
|
+
|
|
140
|
+
- This PR performs a full regeneration of all proto files and TypeScript types for both pure @volontariapp/contracts and NestJS @volontariapp/contracts-nest packages.
|
|
141
|
+
|
|
142
|
+
## 3.0.3
|
|
143
|
+
|
|
144
|
+
### Patch Changes
|
|
145
|
+
|
|
146
|
+
- Auto-generated proto typings update for both pure contracts and NestJS integration.
|
|
147
|
+
|
|
148
|
+
## 3.0.2
|
|
149
|
+
|
|
150
|
+
### Patch Changes
|
|
151
|
+
|
|
152
|
+
- This PR performs a full regeneration of all proto files and TypeScript types for both pure @volontariapp/contracts and NestJS @volontariapp/contracts-nest packages.
|
|
153
|
+
|
|
154
|
+
## 3.0.1
|
|
155
|
+
|
|
156
|
+
### Patch Changes
|
|
157
|
+
|
|
158
|
+
- This PR performs a full regeneration of all proto files and TypeScript types for both pure @volontariapp/contracts and NestJS @volontariapp/contracts-nest packages.
|
|
159
|
+
|
|
160
|
+
## 3.0.0
|
|
161
|
+
|
|
162
|
+
### Major Changes
|
|
163
|
+
|
|
164
|
+
- BREAKING CHANGES: split libs contracts
|
|
165
|
+
|
|
166
|
+
## 2.2.0
|
|
167
|
+
|
|
168
|
+
### Minor Changes
|
|
169
|
+
|
|
170
|
+
- logger added
|
|
171
|
+
|
|
172
|
+
## 2.1.1
|
|
173
|
+
|
|
174
|
+
### Patch Changes
|
|
175
|
+
|
|
176
|
+
- update version for exposing dist
|
|
177
|
+
|
|
178
|
+
## 2.1.0
|
|
179
|
+
|
|
180
|
+
### Minor Changes
|
|
181
|
+
|
|
182
|
+
- update version for exposing proto
|
|
183
|
+
|
|
184
|
+
## 2.0.2
|
|
185
|
+
|
|
186
|
+
### Patch Changes
|
|
187
|
+
|
|
188
|
+
- Cleaning triggers
|
|
189
|
+
|
|
190
|
+
## 2.0.1
|
|
191
|
+
|
|
192
|
+
### Patch Changes
|
|
193
|
+
|
|
194
|
+
- New CI tests and trigger
|
|
195
|
+
|
|
196
|
+
## 2.0.0
|
|
197
|
+
|
|
198
|
+
### Major Changes
|
|
199
|
+
|
|
200
|
+
- CI done, so major release to flush previous trash versions
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/social/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/social/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export interface CreateSocialUserCommand {
|
|
2
|
+
userId: string;
|
|
3
|
+
}
|
|
4
|
+
export interface DeleteSocialUserCommand {
|
|
5
|
+
userId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface PostFollowUserCommand {
|
|
8
|
+
followerId: string;
|
|
9
|
+
followedId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface DeleteFollowUserCommand {
|
|
12
|
+
followerId: string;
|
|
13
|
+
followedId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface PostBlockUserCommand {
|
|
16
|
+
blockerId: string;
|
|
17
|
+
blockedId: string;
|
|
18
|
+
}
|
|
19
|
+
export interface DeleteBlockUserCommand {
|
|
20
|
+
blockerId: string;
|
|
21
|
+
blockedId: string;
|
|
22
|
+
}
|
|
23
|
+
export interface CreateSocialPostCommand {
|
|
24
|
+
postId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface DeleteSocialPostCommand {
|
|
27
|
+
postId: string;
|
|
28
|
+
}
|
|
29
|
+
export interface PostUserOwnCommand {
|
|
30
|
+
userId: string;
|
|
31
|
+
postId: string;
|
|
32
|
+
}
|
|
33
|
+
export interface DeleteUserOwnCommand {
|
|
34
|
+
userId: string;
|
|
35
|
+
postId: string;
|
|
36
|
+
}
|
|
37
|
+
export interface PostLikePostCommand {
|
|
38
|
+
userId: string;
|
|
39
|
+
postId: string;
|
|
40
|
+
}
|
|
41
|
+
export interface DeleteLikePostCommand {
|
|
42
|
+
userId: string;
|
|
43
|
+
postId: string;
|
|
44
|
+
}
|
|
45
|
+
export interface CreateSocialEventCommand {
|
|
46
|
+
eventId: string;
|
|
47
|
+
}
|
|
48
|
+
export interface DeleteSocialEventCommand {
|
|
49
|
+
eventId: string;
|
|
50
|
+
}
|
|
51
|
+
export interface PostUserEventCommand {
|
|
52
|
+
userId: string;
|
|
53
|
+
eventId: string;
|
|
54
|
+
}
|
|
55
|
+
export interface DeleteUserEventCommand {
|
|
56
|
+
userId: string;
|
|
57
|
+
eventId: string;
|
|
58
|
+
}
|
|
59
|
+
export interface PostUserParticipateEventCommand {
|
|
60
|
+
userId: string;
|
|
61
|
+
eventId: string;
|
|
62
|
+
}
|
|
63
|
+
export interface DeleteUserParticipateEventCommand {
|
|
64
|
+
userId: string;
|
|
65
|
+
eventId: string;
|
|
66
|
+
}
|
|
67
|
+
export interface LinkPostToEventCommand {
|
|
68
|
+
postId: string;
|
|
69
|
+
eventId: string;
|
|
70
|
+
}
|
|
71
|
+
export interface UnlinkPostFromEventCommand {
|
|
72
|
+
postId: string;
|
|
73
|
+
eventId: string;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=social.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social.command.d.ts","sourceRoot":"","sources":["../../src/social/social.command.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,+BAA+B;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iCAAiC;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social.command.js","sourceRoot":"","sources":["../../src/social/social.command.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social.d.ts","sourceRoot":"","sources":["../../src/social/social.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social.js","sourceRoot":"","sources":["../../src/social/social.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { PaginationRequest } from "../common/pagination.js";
|
|
2
|
+
export interface GetSocialUserQuery {
|
|
3
|
+
userId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface GetMyFollowsQuery {
|
|
6
|
+
userId: string;
|
|
7
|
+
pagination: PaginationRequest | undefined;
|
|
8
|
+
}
|
|
9
|
+
export interface GetMyFollowersQuery {
|
|
10
|
+
userId: string;
|
|
11
|
+
pagination: PaginationRequest | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface GetMyBlocksQuery {
|
|
14
|
+
userId: string;
|
|
15
|
+
pagination: PaginationRequest | undefined;
|
|
16
|
+
}
|
|
17
|
+
export interface GetWhoBlockedMeQuery {
|
|
18
|
+
userId: string;
|
|
19
|
+
pagination: PaginationRequest | undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface GetSocialPostQuery {
|
|
22
|
+
postId: string;
|
|
23
|
+
}
|
|
24
|
+
export interface GetUserPostsQuery {
|
|
25
|
+
userId: string;
|
|
26
|
+
pagination: PaginationRequest | undefined;
|
|
27
|
+
}
|
|
28
|
+
export interface GetFeedQuery {
|
|
29
|
+
userId: string;
|
|
30
|
+
pagination: PaginationRequest | undefined;
|
|
31
|
+
}
|
|
32
|
+
export interface GetUserLikesQuery {
|
|
33
|
+
userId: string;
|
|
34
|
+
pagination: PaginationRequest | undefined;
|
|
35
|
+
}
|
|
36
|
+
export interface GetPostLikersQuery {
|
|
37
|
+
postId: string;
|
|
38
|
+
pagination: PaginationRequest | undefined;
|
|
39
|
+
}
|
|
40
|
+
export interface GetUserEventQuery {
|
|
41
|
+
userId: string;
|
|
42
|
+
pagination: PaginationRequest | undefined;
|
|
43
|
+
}
|
|
44
|
+
export interface GetUserParticipateEventQuery {
|
|
45
|
+
userId: string;
|
|
46
|
+
pagination: PaginationRequest | undefined;
|
|
47
|
+
}
|
|
48
|
+
export interface GetEventParticipantsQuery {
|
|
49
|
+
eventId: string;
|
|
50
|
+
pagination: PaginationRequest | undefined;
|
|
51
|
+
}
|
|
52
|
+
export interface GetEventRelatedToPostQuery {
|
|
53
|
+
postId: string;
|
|
54
|
+
}
|
|
55
|
+
export interface GetEventPostsQuery {
|
|
56
|
+
eventId: string;
|
|
57
|
+
pagination: PaginationRequest | undefined;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=social.query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social.query.d.ts","sourceRoot":"","sources":["../../src/social/social.query.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social.query.js","sourceRoot":"","sources":["../../src/social/social.query.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { PaginationResponse } from "../common/pagination.js";
|
|
2
|
+
export interface CreateUserNodeResponse {
|
|
3
|
+
}
|
|
4
|
+
export interface DeleteUserNodeResponse {
|
|
5
|
+
}
|
|
6
|
+
export interface GetUserNodeResponse {
|
|
7
|
+
exists: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface PostFollowUserResponse {
|
|
10
|
+
}
|
|
11
|
+
export interface DeleteFollowUserResponse {
|
|
12
|
+
}
|
|
13
|
+
export interface PostBlockUserResponse {
|
|
14
|
+
}
|
|
15
|
+
export interface DeleteBlockUserResponse {
|
|
16
|
+
}
|
|
17
|
+
export interface GetMyFollowsResponse {
|
|
18
|
+
ids: string[];
|
|
19
|
+
pagination: PaginationResponse | undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface GetMyFollowersResponse {
|
|
22
|
+
ids: string[];
|
|
23
|
+
pagination: PaginationResponse | undefined;
|
|
24
|
+
}
|
|
25
|
+
export interface GetMyBlocksResponse {
|
|
26
|
+
ids: string[];
|
|
27
|
+
pagination: PaginationResponse | undefined;
|
|
28
|
+
}
|
|
29
|
+
export interface GetWhoBlockedMeResponse {
|
|
30
|
+
ids: string[];
|
|
31
|
+
pagination: PaginationResponse | undefined;
|
|
32
|
+
}
|
|
33
|
+
export interface CreatePostNodeResponse {
|
|
34
|
+
}
|
|
35
|
+
export interface DeletePostNodeResponse {
|
|
36
|
+
}
|
|
37
|
+
export interface PostUserOwnResponse {
|
|
38
|
+
}
|
|
39
|
+
export interface DeleteUserOwnResponse {
|
|
40
|
+
}
|
|
41
|
+
export interface GetPostNodeResponse {
|
|
42
|
+
exists: boolean;
|
|
43
|
+
}
|
|
44
|
+
export interface GetUserPostsResponse {
|
|
45
|
+
ids: string[];
|
|
46
|
+
pagination: PaginationResponse | undefined;
|
|
47
|
+
}
|
|
48
|
+
export interface GetFeedResponse {
|
|
49
|
+
ids: string[];
|
|
50
|
+
pagination: PaginationResponse | undefined;
|
|
51
|
+
}
|
|
52
|
+
export interface PostLikePostResponse {
|
|
53
|
+
}
|
|
54
|
+
export interface DeleteLikePostResponse {
|
|
55
|
+
}
|
|
56
|
+
export interface GetUserLikesResponse {
|
|
57
|
+
ids: string[];
|
|
58
|
+
pagination: PaginationResponse | undefined;
|
|
59
|
+
}
|
|
60
|
+
export interface GetPostLikersResponse {
|
|
61
|
+
ids: string[];
|
|
62
|
+
pagination: PaginationResponse | undefined;
|
|
63
|
+
}
|
|
64
|
+
export interface CreateEventNodeResponse {
|
|
65
|
+
}
|
|
66
|
+
export interface DeleteEventNodeResponse {
|
|
67
|
+
}
|
|
68
|
+
export interface PostUserEventResponse {
|
|
69
|
+
}
|
|
70
|
+
export interface DeleteUserEventResponse {
|
|
71
|
+
}
|
|
72
|
+
export interface PostUserParticipateEventResponse {
|
|
73
|
+
}
|
|
74
|
+
export interface DeleteUserParticipateEventResponse {
|
|
75
|
+
}
|
|
76
|
+
export interface GetUserEventResponse {
|
|
77
|
+
ids: string[];
|
|
78
|
+
pagination: PaginationResponse | undefined;
|
|
79
|
+
}
|
|
80
|
+
export interface GetUserParticipateEventResponse {
|
|
81
|
+
ids: string[];
|
|
82
|
+
pagination: PaginationResponse | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface GetEventParticipantsResponse {
|
|
85
|
+
ids: string[];
|
|
86
|
+
pagination: PaginationResponse | undefined;
|
|
87
|
+
}
|
|
88
|
+
export interface LinkPostToEventResponse {
|
|
89
|
+
}
|
|
90
|
+
export interface UnlinkPostFromEventResponse {
|
|
91
|
+
}
|
|
92
|
+
export interface GetEventRelatedToPostResponse {
|
|
93
|
+
eventId: string;
|
|
94
|
+
}
|
|
95
|
+
export interface GetEventPostsResponse {
|
|
96
|
+
ids: string[];
|
|
97
|
+
pagination: PaginationResponse | undefined;
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=social.responses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social.responses.d.ts","sourceRoot":"","sources":["../../src/social/social.responses.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,WAAW,sBAAsB;CACtC;AAED,MAAM,WAAW,sBAAsB;CACtC;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;CACtC;AAED,MAAM,WAAW,wBAAwB;CACxC;AAED,MAAM,WAAW,qBAAqB;CACrC;AAED,MAAM,WAAW,uBAAuB;CACvC;AAED,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,sBAAsB;IACrC,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,sBAAsB;CACtC;AAED,MAAM,WAAW,sBAAsB;CACtC;AAED,MAAM,WAAW,mBAAmB;CACnC;AAED,MAAM,WAAW,qBAAqB;CACrC;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,oBAAoB;CACpC;AAED,MAAM,WAAW,sBAAsB;CACtC;AAED,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,uBAAuB;CACvC;AAED,MAAM,WAAW,uBAAuB;CACvC;AAED,MAAM,WAAW,qBAAqB;CACrC;AAED,MAAM,WAAW,uBAAuB;CACvC;AAED,MAAM,WAAW,gCAAgC;CAChD;AAED,MAAM,WAAW,kCAAkC;CAClD;AAED,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,+BAA+B;IAC9C,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,4BAA4B;IAC3C,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,uBAAuB;CACvC;AAED,MAAM,WAAW,2BAA2B;CAC3C;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social.responses.js","sourceRoot":"","sources":["../../src/social/social.responses.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED