@volontariapp/contracts-nest 3.0.1 → 3.0.2-snap-3312857
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 +6 -0
- package/dist/social/index.d.ts +1 -1
- package/dist/social/index.d.ts.map +1 -1
- package/dist/social/index.js +1 -1
- package/dist/social/index.js.map +1 -1
- package/dist/social/social.command.d.ts +8 -0
- package/dist/social/social.command.d.ts.map +1 -1
- package/dist/social/social.d.ts.map +1 -1
- package/dist/social/social.query.d.ts +5 -1
- package/dist/social/social.query.d.ts.map +1 -1
- package/dist/social/social.responses.d.ts +9 -1
- package/dist/social/social.responses.d.ts.map +1 -1
- package/dist/social/social.services.d.ts +10 -4
- package/dist/social/social.services.d.ts.map +1 -1
- package/dist/social/social.services.js +60 -72
- package/dist/social/social.services.js.map +1 -1
- package/package.json +1 -1
- package/proto/volontariapp/social/social.command.proto +10 -0
- package/proto/volontariapp/social/social.query.proto +9 -0
- package/proto/volontariapp/social/social.responses.proto +10 -0
- package/proto/volontariapp/social/social.services.proto +4 -0
package/CHANGELOG.md
CHANGED
package/dist/social/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './social.responses.js';
|
|
2
|
+
export * from './grpc-helpers.js';
|
|
2
3
|
export * from './social.js';
|
|
3
4
|
export * from './social.command.js';
|
|
4
5
|
export * from './social.services.js';
|
|
5
6
|
export * from './social.query.js';
|
|
6
|
-
export * from './grpc-helpers.js';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/social/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC"}
|
package/dist/social/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './social.responses.js';
|
|
2
|
+
export * from './grpc-helpers.js';
|
|
2
3
|
export * from './social.js';
|
|
3
4
|
export * from './social.command.js';
|
|
4
5
|
export * from './social.services.js';
|
|
5
6
|
export * from './social.query.js';
|
|
6
|
-
export * from './grpc-helpers.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/social/index.js.map
CHANGED
|
@@ -1 +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,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/social/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC"}
|
|
@@ -64,6 +64,14 @@ export interface DeleteUserParticipateEventCommand {
|
|
|
64
64
|
userId: string;
|
|
65
65
|
eventId: string;
|
|
66
66
|
}
|
|
67
|
+
export interface PostUserWishEventCommand {
|
|
68
|
+
userId: string;
|
|
69
|
+
eventId: string;
|
|
70
|
+
}
|
|
71
|
+
export interface DeleteUserWishEventCommand {
|
|
72
|
+
userId: string;
|
|
73
|
+
eventId: string;
|
|
74
|
+
}
|
|
67
75
|
export interface LinkPostToEventCommand {
|
|
68
76
|
postId: string;
|
|
69
77
|
eventId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social.command.d.ts","sourceRoot":"","sources":["../../src/social/social.command.ts"],"names":[],"mappings":"
|
|
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,wBAAwB;IACvC,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;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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social.d.ts","sourceRoot":"","sources":["../../src/social/social.ts"],"names":[],"mappings":"
|
|
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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaginationRequest } from
|
|
1
|
+
import { PaginationRequest } from "../common/pagination.js";
|
|
2
2
|
export interface GetSocialUserQuery {
|
|
3
3
|
userId: string;
|
|
4
4
|
}
|
|
@@ -45,6 +45,10 @@ export interface GetUserParticipateEventQuery {
|
|
|
45
45
|
userId: string;
|
|
46
46
|
pagination: PaginationRequest | undefined;
|
|
47
47
|
}
|
|
48
|
+
export interface GetUserWishEventQuery {
|
|
49
|
+
userId: string;
|
|
50
|
+
pagination: PaginationRequest | undefined;
|
|
51
|
+
}
|
|
48
52
|
export interface GetEventParticipantsQuery {
|
|
49
53
|
eventId: string;
|
|
50
54
|
pagination: PaginationRequest | undefined;
|
|
@@ -1 +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,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AW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaginationResponse } from
|
|
1
|
+
import { PaginationResponse } from "../common/pagination.js";
|
|
2
2
|
export interface CreateUserNodeResponse {
|
|
3
3
|
}
|
|
4
4
|
export interface DeleteUserNodeResponse {
|
|
@@ -73,6 +73,10 @@ export interface PostUserParticipateEventResponse {
|
|
|
73
73
|
}
|
|
74
74
|
export interface DeleteUserParticipateEventResponse {
|
|
75
75
|
}
|
|
76
|
+
export interface PostUserWishEventResponse {
|
|
77
|
+
}
|
|
78
|
+
export interface DeleteUserWishEventResponse {
|
|
79
|
+
}
|
|
76
80
|
export interface GetUserEventResponse {
|
|
77
81
|
ids: string[];
|
|
78
82
|
pagination: PaginationResponse | undefined;
|
|
@@ -81,6 +85,10 @@ export interface GetUserParticipateEventResponse {
|
|
|
81
85
|
ids: string[];
|
|
82
86
|
pagination: PaginationResponse | undefined;
|
|
83
87
|
}
|
|
88
|
+
export interface GetUserWishEventResponse {
|
|
89
|
+
ids: string[];
|
|
90
|
+
pagination: PaginationResponse | undefined;
|
|
91
|
+
}
|
|
84
92
|
export interface GetEventParticipantsResponse {
|
|
85
93
|
ids: string[];
|
|
86
94
|
pagination: PaginationResponse | undefined;
|
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"social.responses.d.ts","sourceRoot":"","sources":["../../src/social/social.responses.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,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import { CreateSocialEventCommand, CreateSocialPostCommand, CreateSocialUserCommand, DeleteBlockUserCommand, DeleteFollowUserCommand, DeleteLikePostCommand, DeleteSocialEventCommand, DeleteSocialPostCommand, DeleteSocialUserCommand, DeleteUserEventCommand, DeleteUserOwnCommand, DeleteUserParticipateEventCommand, LinkPostToEventCommand, PostBlockUserCommand, PostFollowUserCommand, PostLikePostCommand, PostUserEventCommand, PostUserOwnCommand, PostUserParticipateEventCommand, UnlinkPostFromEventCommand } from
|
|
3
|
-
import { GetEventParticipantsQuery, GetEventPostsQuery, GetEventRelatedToPostQuery, GetFeedQuery, GetMyBlocksQuery, GetMyFollowersQuery, GetMyFollowsQuery, GetPostLikersQuery, GetSocialEventQuery, GetSocialPostQuery, GetSocialUserQuery, GetUserEventQuery, GetUserLikesQuery, GetUserParticipateEventQuery, GetUserPostsQuery, GetWhoBlockedMeQuery } from
|
|
4
|
-
import { CreateEventNodeResponse, CreatePostNodeResponse, CreateUserNodeResponse, DeleteBlockUserResponse, DeleteEventNodeResponse, DeleteFollowUserResponse, DeleteLikePostResponse, DeletePostNodeResponse, DeleteUserEventResponse, DeleteUserNodeResponse, DeleteUserOwnResponse, DeleteUserParticipateEventResponse, GetEventNodeResponse, GetEventParticipantsResponse, GetEventPostsResponse, GetEventRelatedToPostResponse, GetFeedResponse, GetMyBlocksResponse, GetMyFollowersResponse, GetMyFollowsResponse, GetPostLikersResponse, GetPostNodeResponse, GetUserEventResponse, GetUserLikesResponse, GetUserNodeResponse, GetUserParticipateEventResponse, GetUserPostsResponse, GetWhoBlockedMeResponse, LinkPostToEventResponse, PostBlockUserResponse, PostFollowUserResponse, PostLikePostResponse, PostUserEventResponse, PostUserOwnResponse, PostUserParticipateEventResponse, UnlinkPostFromEventResponse } from
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CreateSocialEventCommand, CreateSocialPostCommand, CreateSocialUserCommand, DeleteBlockUserCommand, DeleteFollowUserCommand, DeleteLikePostCommand, DeleteSocialEventCommand, DeleteSocialPostCommand, DeleteSocialUserCommand, DeleteUserEventCommand, DeleteUserOwnCommand, DeleteUserParticipateEventCommand, DeleteUserWishEventCommand, LinkPostToEventCommand, PostBlockUserCommand, PostFollowUserCommand, PostLikePostCommand, PostUserEventCommand, PostUserOwnCommand, PostUserParticipateEventCommand, PostUserWishEventCommand, UnlinkPostFromEventCommand } from "./social.command.js";
|
|
3
|
+
import { GetEventParticipantsQuery, GetEventPostsQuery, GetEventRelatedToPostQuery, GetFeedQuery, GetMyBlocksQuery, GetMyFollowersQuery, GetMyFollowsQuery, GetPostLikersQuery, GetSocialEventQuery, GetSocialPostQuery, GetSocialUserQuery, GetUserEventQuery, GetUserLikesQuery, GetUserParticipateEventQuery, GetUserPostsQuery, GetUserWishEventQuery, GetWhoBlockedMeQuery } from "./social.query.js";
|
|
4
|
+
import { CreateEventNodeResponse, CreatePostNodeResponse, CreateUserNodeResponse, DeleteBlockUserResponse, DeleteEventNodeResponse, DeleteFollowUserResponse, DeleteLikePostResponse, DeletePostNodeResponse, DeleteUserEventResponse, DeleteUserNodeResponse, DeleteUserOwnResponse, DeleteUserParticipateEventResponse, DeleteUserWishEventResponse, GetEventNodeResponse, GetEventParticipantsResponse, GetEventPostsResponse, GetEventRelatedToPostResponse, GetFeedResponse, GetMyBlocksResponse, GetMyFollowersResponse, GetMyFollowsResponse, GetPostLikersResponse, GetPostNodeResponse, GetUserEventResponse, GetUserLikesResponse, GetUserNodeResponse, GetUserParticipateEventResponse, GetUserPostsResponse, GetUserWishEventResponse, GetWhoBlockedMeResponse, LinkPostToEventResponse, PostBlockUserResponse, PostFollowUserResponse, PostLikePostResponse, PostUserEventResponse, PostUserOwnResponse, PostUserParticipateEventResponse, PostUserWishEventResponse, UnlinkPostFromEventResponse } from "./social.responses.js";
|
|
5
5
|
export interface SocialUserNodeCommandServiceClient {
|
|
6
6
|
createUserNode(request: CreateSocialUserCommand): Observable<CreateUserNodeResponse>;
|
|
7
7
|
deleteUserNode(request: DeleteSocialUserCommand): Observable<DeleteUserNodeResponse>;
|
|
@@ -101,6 +101,8 @@ export interface ParticipationCommandServiceClient {
|
|
|
101
101
|
deleteUserEvent(request: DeleteUserEventCommand): Observable<DeleteUserEventResponse>;
|
|
102
102
|
postUserParticipateEvent(request: PostUserParticipateEventCommand): Observable<PostUserParticipateEventResponse>;
|
|
103
103
|
deleteUserParticipateEvent(request: DeleteUserParticipateEventCommand): Observable<DeleteUserParticipateEventResponse>;
|
|
104
|
+
postUserWishEvent(request: PostUserWishEventCommand): Observable<PostUserWishEventResponse>;
|
|
105
|
+
deleteUserWishEvent(request: DeleteUserWishEventCommand): Observable<DeleteUserWishEventResponse>;
|
|
104
106
|
}
|
|
105
107
|
export interface ParticipationCommandServiceController {
|
|
106
108
|
createEventNode(request: CreateSocialEventCommand): Promise<CreateEventNodeResponse> | Observable<CreateEventNodeResponse> | CreateEventNodeResponse;
|
|
@@ -109,6 +111,8 @@ export interface ParticipationCommandServiceController {
|
|
|
109
111
|
deleteUserEvent(request: DeleteUserEventCommand): Promise<DeleteUserEventResponse> | Observable<DeleteUserEventResponse> | DeleteUserEventResponse;
|
|
110
112
|
postUserParticipateEvent(request: PostUserParticipateEventCommand): Promise<PostUserParticipateEventResponse> | Observable<PostUserParticipateEventResponse> | PostUserParticipateEventResponse;
|
|
111
113
|
deleteUserParticipateEvent(request: DeleteUserParticipateEventCommand): Promise<DeleteUserParticipateEventResponse> | Observable<DeleteUserParticipateEventResponse> | DeleteUserParticipateEventResponse;
|
|
114
|
+
postUserWishEvent(request: PostUserWishEventCommand): Promise<PostUserWishEventResponse> | Observable<PostUserWishEventResponse> | PostUserWishEventResponse;
|
|
115
|
+
deleteUserWishEvent(request: DeleteUserWishEventCommand): Promise<DeleteUserWishEventResponse> | Observable<DeleteUserWishEventResponse> | DeleteUserWishEventResponse;
|
|
112
116
|
}
|
|
113
117
|
export declare function ParticipationCommandServiceControllerMethods(): (constructor: Function) => void;
|
|
114
118
|
export declare const PARTICIPATION_COMMAND_SERVICE_NAME = "ParticipationCommandService";
|
|
@@ -116,12 +120,14 @@ export interface ParticipationQueryServiceClient {
|
|
|
116
120
|
getEventNode(request: GetSocialEventQuery): Observable<GetEventNodeResponse>;
|
|
117
121
|
getUserEvent(request: GetUserEventQuery): Observable<GetUserEventResponse>;
|
|
118
122
|
getUserParticipateEvent(request: GetUserParticipateEventQuery): Observable<GetUserParticipateEventResponse>;
|
|
123
|
+
getUserWishEvent(request: GetUserWishEventQuery): Observable<GetUserWishEventResponse>;
|
|
119
124
|
getEventParticipants(request: GetEventParticipantsQuery): Observable<GetEventParticipantsResponse>;
|
|
120
125
|
}
|
|
121
126
|
export interface ParticipationQueryServiceController {
|
|
122
127
|
getEventNode(request: GetSocialEventQuery): Promise<GetEventNodeResponse> | Observable<GetEventNodeResponse> | GetEventNodeResponse;
|
|
123
128
|
getUserEvent(request: GetUserEventQuery): Promise<GetUserEventResponse> | Observable<GetUserEventResponse> | GetUserEventResponse;
|
|
124
129
|
getUserParticipateEvent(request: GetUserParticipateEventQuery): Promise<GetUserParticipateEventResponse> | Observable<GetUserParticipateEventResponse> | GetUserParticipateEventResponse;
|
|
130
|
+
getUserWishEvent(request: GetUserWishEventQuery): Promise<GetUserWishEventResponse> | Observable<GetUserWishEventResponse> | GetUserWishEventResponse;
|
|
125
131
|
getEventParticipants(request: GetEventParticipantsQuery): Promise<GetEventParticipantsResponse> | Observable<GetEventParticipantsResponse> | GetEventParticipantsResponse;
|
|
126
132
|
}
|
|
127
133
|
export declare function ParticipationQueryServiceControllerMethods(): (constructor: Function) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social.services.d.ts","sourceRoot":"","sources":["../../src/social/social.services.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACrB,wBAA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ACtF;AAED,MAAM,WAAW,sCAAsC;IACrD,cAAc,CACZ,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,sBAAsB,CAAC,GAAG,UAAU,CAAC,sBAAsB,CAAC,GAAG,sBAAsB,CAAC;IAEjG,cAAc,CACZ,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,sBAAsB,CAAC,GAAG,UAAU,CAAC,sBAAsB,CAAC,GAAG,sBAAsB,CAAC;CAClG;AAED,wBAAgB,6CAA6C,kBAC7B,QAAQ,
|
|
1
|
+
{"version":3,"file":"social.services.d.ts","sourceRoot":"","sources":["../../src/social/social.services.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,iCAAiC,EACjC,0BAA0B,EAC1B,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,+BAA+B,EAC/B,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,4BAA4B,EAC5B,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,EACtB,u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mC;IAClD,qBAAqB,CACnB,OAAO,EAAE,0BAA0B,GAClC,OAAO,CAAC,6BAA6B,CAAC,GAAG,UAAU,CAAC,6BAA6B,CAAC,GAAG,6BAA6B,CAAC;IAEtH,aAAa,CACX,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,qBAAqB,CAAC,GAAG,UAAU,CAAC,qBAAqB,CAAC,GAAG,qBAAqB,CAAC;CAC/F;AAED,wBAAgB,0CAA0C,kBAC1B,QAAQ,UAYvC;AAED,eAAO,MAAM,kCAAkC,8BAA8B,CAAC"}
|
|
@@ -1,209 +1,197 @@
|
|
|
1
|
-
import { GrpcMethod, GrpcStreamMethod } from
|
|
1
|
+
import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
|
|
2
2
|
export function SocialUserNodeCommandServiceControllerMethods() {
|
|
3
3
|
return function (constructor) {
|
|
4
|
-
const grpcMethods = [
|
|
4
|
+
const grpcMethods = ["createUserNode", "deleteUserNode"];
|
|
5
5
|
for (const method of grpcMethods) {
|
|
6
6
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
7
|
-
GrpcMethod(
|
|
7
|
+
GrpcMethod("SocialUserNodeCommandService", method)(constructor.prototype[method], method, descriptor);
|
|
8
8
|
}
|
|
9
9
|
const grpcStreamMethods = [];
|
|
10
10
|
for (const method of grpcStreamMethods) {
|
|
11
11
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
12
|
-
GrpcStreamMethod(
|
|
12
|
+
GrpcStreamMethod("SocialUserNodeCommandService", method)(constructor.prototype[method], method, descriptor);
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
export const SOCIAL_USER_NODE_COMMAND_SERVICE_NAME =
|
|
16
|
+
export const SOCIAL_USER_NODE_COMMAND_SERVICE_NAME = "SocialUserNodeCommandService";
|
|
17
17
|
export function SocialUserNodeQueryServiceControllerMethods() {
|
|
18
18
|
return function (constructor) {
|
|
19
|
-
const grpcMethods = [
|
|
19
|
+
const grpcMethods = ["getUserNode"];
|
|
20
20
|
for (const method of grpcMethods) {
|
|
21
21
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
22
|
-
GrpcMethod(
|
|
22
|
+
GrpcMethod("SocialUserNodeQueryService", method)(constructor.prototype[method], method, descriptor);
|
|
23
23
|
}
|
|
24
24
|
const grpcStreamMethods = [];
|
|
25
25
|
for (const method of grpcStreamMethods) {
|
|
26
26
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
27
|
-
GrpcStreamMethod(
|
|
27
|
+
GrpcStreamMethod("SocialUserNodeQueryService", method)(constructor.prototype[method], method, descriptor);
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
export const SOCIAL_USER_NODE_QUERY_SERVICE_NAME =
|
|
31
|
+
export const SOCIAL_USER_NODE_QUERY_SERVICE_NAME = "SocialUserNodeQueryService";
|
|
32
32
|
export function RelationshipCommandServiceControllerMethods() {
|
|
33
33
|
return function (constructor) {
|
|
34
|
-
const grpcMethods = [
|
|
35
|
-
'postFollowUser',
|
|
36
|
-
'deleteFollowUser',
|
|
37
|
-
'postBlockUser',
|
|
38
|
-
'deleteBlockUser',
|
|
39
|
-
];
|
|
34
|
+
const grpcMethods = ["postFollowUser", "deleteFollowUser", "postBlockUser", "deleteBlockUser"];
|
|
40
35
|
for (const method of grpcMethods) {
|
|
41
36
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
42
|
-
GrpcMethod(
|
|
37
|
+
GrpcMethod("RelationshipCommandService", method)(constructor.prototype[method], method, descriptor);
|
|
43
38
|
}
|
|
44
39
|
const grpcStreamMethods = [];
|
|
45
40
|
for (const method of grpcStreamMethods) {
|
|
46
41
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
47
|
-
GrpcStreamMethod(
|
|
42
|
+
GrpcStreamMethod("RelationshipCommandService", method)(constructor.prototype[method], method, descriptor);
|
|
48
43
|
}
|
|
49
44
|
};
|
|
50
45
|
}
|
|
51
|
-
export const RELATIONSHIP_COMMAND_SERVICE_NAME =
|
|
46
|
+
export const RELATIONSHIP_COMMAND_SERVICE_NAME = "RelationshipCommandService";
|
|
52
47
|
export function RelationshipQueryServiceControllerMethods() {
|
|
53
48
|
return function (constructor) {
|
|
54
|
-
const grpcMethods = [
|
|
55
|
-
'getMyFollows',
|
|
56
|
-
'getMyFollowers',
|
|
57
|
-
'getMyBlocks',
|
|
58
|
-
'getWhoBlockedMe',
|
|
59
|
-
];
|
|
49
|
+
const grpcMethods = ["getMyFollows", "getMyFollowers", "getMyBlocks", "getWhoBlockedMe"];
|
|
60
50
|
for (const method of grpcMethods) {
|
|
61
51
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
62
|
-
GrpcMethod(
|
|
52
|
+
GrpcMethod("RelationshipQueryService", method)(constructor.prototype[method], method, descriptor);
|
|
63
53
|
}
|
|
64
54
|
const grpcStreamMethods = [];
|
|
65
55
|
for (const method of grpcStreamMethods) {
|
|
66
56
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
67
|
-
GrpcStreamMethod(
|
|
57
|
+
GrpcStreamMethod("RelationshipQueryService", method)(constructor.prototype[method], method, descriptor);
|
|
68
58
|
}
|
|
69
59
|
};
|
|
70
60
|
}
|
|
71
|
-
export const RELATIONSHIP_QUERY_SERVICE_NAME =
|
|
61
|
+
export const RELATIONSHIP_QUERY_SERVICE_NAME = "RelationshipQueryService";
|
|
72
62
|
export function PublicationCommandServiceControllerMethods() {
|
|
73
63
|
return function (constructor) {
|
|
74
|
-
const grpcMethods = [
|
|
75
|
-
'createPostNode',
|
|
76
|
-
'deletePostNode',
|
|
77
|
-
'postUserOwn',
|
|
78
|
-
'deleteUserOwn',
|
|
79
|
-
];
|
|
64
|
+
const grpcMethods = ["createPostNode", "deletePostNode", "postUserOwn", "deleteUserOwn"];
|
|
80
65
|
for (const method of grpcMethods) {
|
|
81
66
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
82
|
-
GrpcMethod(
|
|
67
|
+
GrpcMethod("PublicationCommandService", method)(constructor.prototype[method], method, descriptor);
|
|
83
68
|
}
|
|
84
69
|
const grpcStreamMethods = [];
|
|
85
70
|
for (const method of grpcStreamMethods) {
|
|
86
71
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
87
|
-
GrpcStreamMethod(
|
|
72
|
+
GrpcStreamMethod("PublicationCommandService", method)(constructor.prototype[method], method, descriptor);
|
|
88
73
|
}
|
|
89
74
|
};
|
|
90
75
|
}
|
|
91
|
-
export const PUBLICATION_COMMAND_SERVICE_NAME =
|
|
76
|
+
export const PUBLICATION_COMMAND_SERVICE_NAME = "PublicationCommandService";
|
|
92
77
|
export function PublicationQueryServiceControllerMethods() {
|
|
93
78
|
return function (constructor) {
|
|
94
|
-
const grpcMethods = [
|
|
79
|
+
const grpcMethods = ["getPostNode", "getUserPosts", "getFeed"];
|
|
95
80
|
for (const method of grpcMethods) {
|
|
96
81
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
97
|
-
GrpcMethod(
|
|
82
|
+
GrpcMethod("PublicationQueryService", method)(constructor.prototype[method], method, descriptor);
|
|
98
83
|
}
|
|
99
84
|
const grpcStreamMethods = [];
|
|
100
85
|
for (const method of grpcStreamMethods) {
|
|
101
86
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
102
|
-
GrpcStreamMethod(
|
|
87
|
+
GrpcStreamMethod("PublicationQueryService", method)(constructor.prototype[method], method, descriptor);
|
|
103
88
|
}
|
|
104
89
|
};
|
|
105
90
|
}
|
|
106
|
-
export const PUBLICATION_QUERY_SERVICE_NAME =
|
|
91
|
+
export const PUBLICATION_QUERY_SERVICE_NAME = "PublicationQueryService";
|
|
107
92
|
export function InteractionCommandServiceControllerMethods() {
|
|
108
93
|
return function (constructor) {
|
|
109
|
-
const grpcMethods = [
|
|
94
|
+
const grpcMethods = ["postLikePost", "deleteLikePost"];
|
|
110
95
|
for (const method of grpcMethods) {
|
|
111
96
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
112
|
-
GrpcMethod(
|
|
97
|
+
GrpcMethod("InteractionCommandService", method)(constructor.prototype[method], method, descriptor);
|
|
113
98
|
}
|
|
114
99
|
const grpcStreamMethods = [];
|
|
115
100
|
for (const method of grpcStreamMethods) {
|
|
116
101
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
117
|
-
GrpcStreamMethod(
|
|
102
|
+
GrpcStreamMethod("InteractionCommandService", method)(constructor.prototype[method], method, descriptor);
|
|
118
103
|
}
|
|
119
104
|
};
|
|
120
105
|
}
|
|
121
|
-
export const INTERACTION_COMMAND_SERVICE_NAME =
|
|
106
|
+
export const INTERACTION_COMMAND_SERVICE_NAME = "InteractionCommandService";
|
|
122
107
|
export function InteractionQueryServiceControllerMethods() {
|
|
123
108
|
return function (constructor) {
|
|
124
|
-
const grpcMethods = [
|
|
109
|
+
const grpcMethods = ["getUserLikes", "getPostLikers"];
|
|
125
110
|
for (const method of grpcMethods) {
|
|
126
111
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
127
|
-
GrpcMethod(
|
|
112
|
+
GrpcMethod("InteractionQueryService", method)(constructor.prototype[method], method, descriptor);
|
|
128
113
|
}
|
|
129
114
|
const grpcStreamMethods = [];
|
|
130
115
|
for (const method of grpcStreamMethods) {
|
|
131
116
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
132
|
-
GrpcStreamMethod(
|
|
117
|
+
GrpcStreamMethod("InteractionQueryService", method)(constructor.prototype[method], method, descriptor);
|
|
133
118
|
}
|
|
134
119
|
};
|
|
135
120
|
}
|
|
136
|
-
export const INTERACTION_QUERY_SERVICE_NAME =
|
|
121
|
+
export const INTERACTION_QUERY_SERVICE_NAME = "InteractionQueryService";
|
|
137
122
|
export function ParticipationCommandServiceControllerMethods() {
|
|
138
123
|
return function (constructor) {
|
|
139
124
|
const grpcMethods = [
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
125
|
+
"createEventNode",
|
|
126
|
+
"deleteEventNode",
|
|
127
|
+
"postUserEvent",
|
|
128
|
+
"deleteUserEvent",
|
|
129
|
+
"postUserParticipateEvent",
|
|
130
|
+
"deleteUserParticipateEvent",
|
|
131
|
+
"postUserWishEvent",
|
|
132
|
+
"deleteUserWishEvent",
|
|
146
133
|
];
|
|
147
134
|
for (const method of grpcMethods) {
|
|
148
135
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
149
|
-
GrpcMethod(
|
|
136
|
+
GrpcMethod("ParticipationCommandService", method)(constructor.prototype[method], method, descriptor);
|
|
150
137
|
}
|
|
151
138
|
const grpcStreamMethods = [];
|
|
152
139
|
for (const method of grpcStreamMethods) {
|
|
153
140
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
154
|
-
GrpcStreamMethod(
|
|
141
|
+
GrpcStreamMethod("ParticipationCommandService", method)(constructor.prototype[method], method, descriptor);
|
|
155
142
|
}
|
|
156
143
|
};
|
|
157
144
|
}
|
|
158
|
-
export const PARTICIPATION_COMMAND_SERVICE_NAME =
|
|
145
|
+
export const PARTICIPATION_COMMAND_SERVICE_NAME = "ParticipationCommandService";
|
|
159
146
|
export function ParticipationQueryServiceControllerMethods() {
|
|
160
147
|
return function (constructor) {
|
|
161
148
|
const grpcMethods = [
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
149
|
+
"getEventNode",
|
|
150
|
+
"getUserEvent",
|
|
151
|
+
"getUserParticipateEvent",
|
|
152
|
+
"getUserWishEvent",
|
|
153
|
+
"getEventParticipants",
|
|
166
154
|
];
|
|
167
155
|
for (const method of grpcMethods) {
|
|
168
156
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
169
|
-
GrpcMethod(
|
|
157
|
+
GrpcMethod("ParticipationQueryService", method)(constructor.prototype[method], method, descriptor);
|
|
170
158
|
}
|
|
171
159
|
const grpcStreamMethods = [];
|
|
172
160
|
for (const method of grpcStreamMethods) {
|
|
173
161
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
174
|
-
GrpcStreamMethod(
|
|
162
|
+
GrpcStreamMethod("ParticipationQueryService", method)(constructor.prototype[method], method, descriptor);
|
|
175
163
|
}
|
|
176
164
|
};
|
|
177
165
|
}
|
|
178
|
-
export const PARTICIPATION_QUERY_SERVICE_NAME =
|
|
166
|
+
export const PARTICIPATION_QUERY_SERVICE_NAME = "ParticipationQueryService";
|
|
179
167
|
export function EventPostLinkCommandServiceControllerMethods() {
|
|
180
168
|
return function (constructor) {
|
|
181
|
-
const grpcMethods = [
|
|
169
|
+
const grpcMethods = ["linkPostToEvent", "unlinkPostFromEvent"];
|
|
182
170
|
for (const method of grpcMethods) {
|
|
183
171
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
184
|
-
GrpcMethod(
|
|
172
|
+
GrpcMethod("EventPostLinkCommandService", method)(constructor.prototype[method], method, descriptor);
|
|
185
173
|
}
|
|
186
174
|
const grpcStreamMethods = [];
|
|
187
175
|
for (const method of grpcStreamMethods) {
|
|
188
176
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
189
|
-
GrpcStreamMethod(
|
|
177
|
+
GrpcStreamMethod("EventPostLinkCommandService", method)(constructor.prototype[method], method, descriptor);
|
|
190
178
|
}
|
|
191
179
|
};
|
|
192
180
|
}
|
|
193
|
-
export const EVENT_POST_LINK_COMMAND_SERVICE_NAME =
|
|
181
|
+
export const EVENT_POST_LINK_COMMAND_SERVICE_NAME = "EventPostLinkCommandService";
|
|
194
182
|
export function EventPostLinkQueryServiceControllerMethods() {
|
|
195
183
|
return function (constructor) {
|
|
196
|
-
const grpcMethods = [
|
|
184
|
+
const grpcMethods = ["getEventRelatedToPost", "getEventPosts"];
|
|
197
185
|
for (const method of grpcMethods) {
|
|
198
186
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
199
|
-
GrpcMethod(
|
|
187
|
+
GrpcMethod("EventPostLinkQueryService", method)(constructor.prototype[method], method, descriptor);
|
|
200
188
|
}
|
|
201
189
|
const grpcStreamMethods = [];
|
|
202
190
|
for (const method of grpcStreamMethods) {
|
|
203
191
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
204
|
-
GrpcStreamMethod(
|
|
192
|
+
GrpcStreamMethod("EventPostLinkQueryService", method)(constructor.prototype[method], method, descriptor);
|
|
205
193
|
}
|
|
206
194
|
};
|
|
207
195
|
}
|
|
208
|
-
export const EVENT_POST_LINK_QUERY_SERVICE_NAME =
|
|
196
|
+
export const EVENT_POST_LINK_QUERY_SERVICE_NAME = "EventPostLinkQueryService";
|
|
209
197
|
//# sourceMappingURL=social.services.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social.services.js","sourceRoot":"","sources":["../../src/social/social.services.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"social.services.js","sourceRoot":"","sources":["../../src/social/social.services.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAuGrE,MAAM,UAAU,6CAA6C;IAC3D,OAAO,UAAU,WAAqB;QACpC,MAAM,WAAW,GAAa,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAC;QACnE,KAAK,MAAM,MAAM,IAAI,WAAW,EAAE,CAAC;YACjC,MAAM,UAAU,GAAQ,OAAO,CAAC,wBAAwB,CAAC,WAAW,CAAC,SAAS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ACH,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,oCAAoC,GAAG,6BAA6B,CAAC;AAkBlF,MAAM,UAAU,0CAA0C;IACxD,OAAO,UAAU,WAAqB;QACpC,MAAM,WAAW,GAAa,CAAC,uBAAuB,EAAE,eAAe,CAAC,CAAC;QACzE,KAAK,MAAM,MAAM,IAAI,WAAW,EAAE,CAAC;YACjC,MAAM,UAAU,GAAQ,OAAO,CAAC,wBAAwB,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YACxF,UAAU,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QACrG,CAAC;QACD,MAAM,iBAAiB,GAAa,EAAE,CAAC;QACvC,KAAK,MAAM,MAAM,IAAI,iBAAiB,EAAE,CAAC;YACvC,MAAM,UAAU,GAAQ,OAAO,CAAC,wBAAwB,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YACxF,gBAAgB,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QAC3G,CAAC;IACH,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,kCAAkC,GAAG,2BAA2B,CAAC"}
|
package/package.json
CHANGED
|
@@ -86,6 +86,16 @@ message DeleteUserParticipateEventCommand {
|
|
|
86
86
|
string event_id = 2;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
message PostUserWishEventCommand {
|
|
90
|
+
string user_id = 1;
|
|
91
|
+
string event_id = 2;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
message DeleteUserWishEventCommand {
|
|
95
|
+
string user_id = 1;
|
|
96
|
+
string event_id = 2;
|
|
97
|
+
}
|
|
98
|
+
|
|
89
99
|
message LinkPostToEventCommand {
|
|
90
100
|
string post_id = 1;
|
|
91
101
|
string event_id = 2;
|
|
@@ -62,6 +62,11 @@ message GetUserParticipateEventQuery {
|
|
|
62
62
|
volontariapp.common.PaginationRequest pagination = 2;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
message GetUserWishEventQuery {
|
|
66
|
+
string user_id = 1;
|
|
67
|
+
volontariapp.common.PaginationRequest pagination = 2;
|
|
68
|
+
}
|
|
69
|
+
|
|
65
70
|
message GetEventParticipantsQuery {
|
|
66
71
|
string event_id = 1;
|
|
67
72
|
volontariapp.common.PaginationRequest pagination = 2;
|
|
@@ -75,3 +80,7 @@ message GetEventPostsQuery {
|
|
|
75
80
|
string event_id = 1;
|
|
76
81
|
volontariapp.common.PaginationRequest pagination = 2;
|
|
77
82
|
}
|
|
83
|
+
|
|
84
|
+
message GetSocialEventQuery {
|
|
85
|
+
string event_id = 1;
|
|
86
|
+
}
|
|
@@ -67,6 +67,8 @@ message PostUserEventResponse {}
|
|
|
67
67
|
message DeleteUserEventResponse {}
|
|
68
68
|
message PostUserParticipateEventResponse {}
|
|
69
69
|
message DeleteUserParticipateEventResponse {}
|
|
70
|
+
message PostUserWishEventResponse {}
|
|
71
|
+
message DeleteUserWishEventResponse {}
|
|
70
72
|
|
|
71
73
|
message GetUserEventResponse {
|
|
72
74
|
repeated string ids = 1;
|
|
@@ -76,6 +78,10 @@ message GetUserParticipateEventResponse {
|
|
|
76
78
|
repeated string ids = 1;
|
|
77
79
|
volontariapp.common.PaginationResponse pagination = 2;
|
|
78
80
|
}
|
|
81
|
+
message GetUserWishEventResponse {
|
|
82
|
+
repeated string ids = 1;
|
|
83
|
+
volontariapp.common.PaginationResponse pagination = 2;
|
|
84
|
+
}
|
|
79
85
|
message GetEventParticipantsResponse {
|
|
80
86
|
repeated string ids = 1;
|
|
81
87
|
volontariapp.common.PaginationResponse pagination = 2;
|
|
@@ -91,3 +97,7 @@ message GetEventPostsResponse {
|
|
|
91
97
|
repeated string ids = 1;
|
|
92
98
|
volontariapp.common.PaginationResponse pagination = 2;
|
|
93
99
|
}
|
|
100
|
+
|
|
101
|
+
message GetEventNodeResponse {
|
|
102
|
+
bool exists = 1;
|
|
103
|
+
}
|
|
@@ -59,11 +59,15 @@ service ParticipationCommandService {
|
|
|
59
59
|
rpc DeleteUserEvent(DeleteUserEventCommand) returns (DeleteUserEventResponse);
|
|
60
60
|
rpc PostUserParticipateEvent(PostUserParticipateEventCommand) returns (PostUserParticipateEventResponse);
|
|
61
61
|
rpc DeleteUserParticipateEvent(DeleteUserParticipateEventCommand) returns (DeleteUserParticipateEventResponse);
|
|
62
|
+
rpc PostUserWishEvent(PostUserWishEventCommand) returns (PostUserWishEventResponse);
|
|
63
|
+
rpc DeleteUserWishEvent(DeleteUserWishEventCommand) returns (DeleteUserWishEventResponse);
|
|
62
64
|
}
|
|
63
65
|
|
|
64
66
|
service ParticipationQueryService {
|
|
67
|
+
rpc GetEventNode(GetSocialEventQuery) returns (GetEventNodeResponse);
|
|
65
68
|
rpc GetUserEvent(GetUserEventQuery) returns (GetUserEventResponse);
|
|
66
69
|
rpc GetUserParticipateEvent(GetUserParticipateEventQuery) returns (GetUserParticipateEventResponse);
|
|
70
|
+
rpc GetUserWishEvent(GetUserWishEventQuery) returns (GetUserWishEventResponse);
|
|
67
71
|
rpc GetEventParticipants(GetEventParticipantsQuery) returns (GetEventParticipantsResponse);
|
|
68
72
|
}
|
|
69
73
|
|