@solidexpert/comment-api
Advanced tools
Comparing version 1.0.43 to 1.0.44
@@ -10,8 +10,8 @@ /** | ||
import * as i0 from "@angular/core"; | ||
export interface GetCommentsByUserInformationIdParams { | ||
export interface GetCommentParams { | ||
/** | ||
* Identifier of the user information to be received | ||
* Parent identifier of the comment list to be received | ||
* format: uuid | ||
*/ | ||
userInformationId: string; | ||
parentId: string; | ||
/** | ||
@@ -28,3 +28,3 @@ * The requested API version | ||
} | ||
export interface GetCommentParams { | ||
export interface PostCommentParams { | ||
/** | ||
@@ -34,3 +34,3 @@ * Parent identifier of the comment list to be received | ||
*/ | ||
parentId?: string; | ||
parentId: string; | ||
/** | ||
@@ -46,4 +46,5 @@ * The requested API version | ||
'api-version'?: string; | ||
model: __model.PostCommentCommand; | ||
} | ||
export interface PostCommentParams { | ||
export interface GetRatingInfoParams { | ||
/** | ||
@@ -64,19 +65,13 @@ * Parent identifier of the comment list to be received | ||
'api-version'?: string; | ||
model: __model.PostCommentCommand; | ||
} | ||
export interface AddCommentToCommentListParams { | ||
export interface SetCommentScoreParams { | ||
/** | ||
* The requested API version | ||
* default: 1.0 | ||
* Parent identifier of the comment list to be received | ||
* format: uuid | ||
*/ | ||
'x-api-version'?: string; | ||
parentId: string; | ||
/** | ||
* The requested API version | ||
* default: 1.0 | ||
* Identifier of the comment to be received | ||
* format: uuid | ||
*/ | ||
'api-version'?: string; | ||
model: __model.AddCommentToCommentListCommand; | ||
} | ||
export interface SetCommentScoreParams { | ||
/** format: uuid */ | ||
id: string; | ||
@@ -93,7 +88,14 @@ /** | ||
'api-version'?: string; | ||
/** format: int32 */ | ||
model: number; | ||
model: __model.SetCommentScoreCommand; | ||
} | ||
export interface LikeCommentParams { | ||
/** format: uuid */ | ||
/** | ||
* Parent identifier of the comment list to be received | ||
* format: uuid | ||
*/ | ||
parentId: string; | ||
/** | ||
* Identifier of the comment to be received | ||
* format: uuid | ||
*/ | ||
id: string; | ||
@@ -112,3 +114,11 @@ /** | ||
export interface DislikeCommentParams { | ||
/** format: uuid */ | ||
/** | ||
* Parent identifier of the comment list to be received | ||
* format: uuid | ||
*/ | ||
parentId: string; | ||
/** | ||
* Identifier of the comment to be received | ||
* format: uuid | ||
*/ | ||
id: string; | ||
@@ -127,3 +137,11 @@ /** | ||
export interface RemoveLikeParams { | ||
/** format: uuid */ | ||
/** | ||
* Parent identifier of the comment list to be received | ||
* format: uuid | ||
*/ | ||
parentId: string; | ||
/** | ||
* Identifier of the comment to be received | ||
* format: uuid | ||
*/ | ||
id: string; | ||
@@ -137,3 +155,11 @@ /** | ||
export interface RemoveDislikeParams { | ||
/** format: uuid */ | ||
/** | ||
* Parent identifier of the comment list to be received | ||
* format: uuid | ||
*/ | ||
parentId: string; | ||
/** | ||
* Identifier of the comment to be received | ||
* format: uuid | ||
*/ | ||
id: string; | ||
@@ -146,6 +172,9 @@ /** | ||
} | ||
export interface GetCommentSearchParams { | ||
/** format: uuid */ | ||
parentId?: string; | ||
export interface GetCommentListParams { | ||
/** | ||
* Parent identifier of the comment list to be received | ||
* format: uuid | ||
*/ | ||
parentId: string; | ||
/** | ||
* The requested API version | ||
@@ -162,18 +191,12 @@ * default: 1.0 | ||
} | ||
export interface GetRatingInfoParams { | ||
/** format: uuid */ | ||
parentId: string; | ||
export interface PutCommentParams { | ||
/** | ||
* The requested API version | ||
* default: 1.0 | ||
* Parent identifier of the comment list to be received | ||
* format: uuid | ||
*/ | ||
'x-api-version'?: string; | ||
parentId: string; | ||
/** | ||
* The requested API version | ||
* default: 1.0 | ||
* Identifier of the comment to be received | ||
* format: uuid | ||
*/ | ||
'api-version'?: string; | ||
} | ||
export interface UpdateCommentParams { | ||
/** format: uuid */ | ||
id: string; | ||
@@ -190,6 +213,11 @@ /** | ||
'api-version'?: string; | ||
model: __model.CommentViewModel; | ||
model: __model.PutCommentCommand; | ||
} | ||
export interface DeleteCommentParams { | ||
/** | ||
* Parent identifier of the comment list to be received | ||
* format: uuid | ||
*/ | ||
parentId: string; | ||
/** | ||
* Identifier of the comment to be received | ||
@@ -209,7 +237,2 @@ * format: uuid | ||
/** | ||
* The method provider possibility to get a comments by user information id | ||
* http://undefined/swagger/swagger-ui.html#!/Comment/GetUserCommentsByUserInformationId | ||
*/ | ||
getCommentsByUserInformationId(params: GetCommentsByUserInformationIdParams): Observable<__model.CommentViewModelItemResponse>; | ||
/** | ||
* The method provider possibility to get a comment by parent id | ||
@@ -225,6 +248,6 @@ * http://undefined/swagger/swagger-ui.html#!/Comment/GetComment | ||
/** | ||
* The method provider possibility to add a comment to comment list | ||
* http://undefined/swagger/swagger-ui.html#!/Comment/AddCommentToCommentList | ||
* The method provider possibility to get a rating info by parent id | ||
* http://undefined/swagger/swagger-ui.html#!/Comment/GetRatingInfo | ||
*/ | ||
addCommentToCommentList(params: AddCommentToCommentListParams): Observable<__model.CommentViewModelItemResponse>; | ||
getRatingInfo(params: GetRatingInfoParams): Observable<__model.RatingInfoViewModelItemResponse>; | ||
/** | ||
@@ -236,3 +259,3 @@ * The method provider possibility to set a score to comment | ||
/** | ||
* The method provider possibility to set a like to comment | ||
* The method provider possibility to set a like to comment by parent id and id | ||
* http://undefined/swagger/swagger-ui.html#!/Comment/LikeComment | ||
@@ -242,3 +265,3 @@ */ | ||
/** | ||
* The method provider possibility to set a dislike to comment | ||
* The method provider possibility to set a dislike to comment by parent id and id | ||
* http://undefined/swagger/swagger-ui.html#!/Comment/DislikeComment | ||
@@ -248,3 +271,3 @@ */ | ||
/** | ||
* The method provider possibility to remove a like | ||
* The method provider possibility to remove a like by parent id and id | ||
* http://undefined/swagger/swagger-ui.html#!/Comment/RemoveLike | ||
@@ -254,3 +277,3 @@ */ | ||
/** | ||
* The method provider possibility to remove a dislike | ||
* The method provider possibility to remove a dislike by parent id and id | ||
* http://undefined/swagger/swagger-ui.html#!/Comment/RemoveDislike | ||
@@ -260,15 +283,13 @@ */ | ||
/** | ||
* The method provider possibility to search a comment | ||
* http://undefined/swagger/swagger-ui.html#!/Comment/GetCommentSearch | ||
* The method provider possibility to get a comment list by parent id | ||
* http://undefined/swagger/swagger-ui.html#!/Comment/GetCommentList | ||
*/ | ||
getCommentSearch(params: GetCommentSearchParams): Observable<__model.CommentPageViewModelResponse>; | ||
/** http://undefined/swagger/swagger-ui.html#!/Comment/GetRatingInfo */ | ||
getRatingInfo(params: GetRatingInfoParams): Observable<__model.RatingInfoViewModel>; | ||
getCommentList(params: GetCommentListParams): Observable<__model.CommentPageViewModelResponseItemResponse>; | ||
/** | ||
* The method provider possibility to update a comment | ||
* http://undefined/swagger/swagger-ui.html#!/Comment/UpdateComment | ||
* The method provider possibility to update a comment by parent id and id | ||
* http://undefined/swagger/swagger-ui.html#!/Comment/PutComment | ||
*/ | ||
updateComment(params: UpdateCommentParams): Observable<__model.CommentViewModelItemResponse>; | ||
putComment(params: PutCommentParams): Observable<__model.CommentViewModelItemResponse>; | ||
/** | ||
* The method provider possibility to delete a comment | ||
* The method provider possibility to delete a comment by parent id and id | ||
* http://undefined/swagger/swagger-ui.html#!/Comment/DeleteComment | ||
@@ -275,0 +296,0 @@ */ |
@@ -15,3 +15,3 @@ /** | ||
elements?: __model.CommentViewModel[]; | ||
ratingInfo?: __model.RatingInfoViewModel; | ||
ratingInfo?: __model.RatingInfoViewModelItemResponse; | ||
} |
@@ -31,4 +31,2 @@ /** | ||
properties?: __model.CommentPropertyViewModel[]; | ||
isLiked?: boolean; | ||
isDisliked?: boolean; | ||
} |
@@ -6,5 +6,5 @@ /** | ||
*/ | ||
export * from './defs/AddCommentToCommentListCommand'; | ||
export * from './defs/CommentListViewModel'; | ||
export * from './defs/CommentPageViewModelResponse'; | ||
export * from './defs/CommentPageViewModelResponseItemResponse'; | ||
export * from './defs/CommentPropertyViewModel'; | ||
@@ -17,5 +17,8 @@ export * from './defs/CommentQueryRequest'; | ||
export * from './defs/PostCommentCommand'; | ||
export * from './defs/PutCommentCommand'; | ||
export * from './defs/RatingInfoViewModel'; | ||
export * from './defs/RatingInfoViewModelItemResponse'; | ||
export * from './defs/SetCommentScoreCommand'; | ||
export * from './defs/StringItemResponse'; | ||
export * from './defs/StringStringKeyValuePair'; | ||
export * from './defs/UserInformationViewModelSummary'; |
@@ -8,5 +8,5 @@ import { FormGroup } from '@angular/forms'; | ||
constructor(commentService: CommentService); | ||
submit(raw?: boolean): import("rxjs").Observable<import("@solidexpert/comment-api").RatingInfoViewModel>; | ||
submit(raw?: boolean): import("rxjs").Observable<import("@solidexpert/comment-api").RatingInfoViewModelItemResponse>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<GetRatingInfoFormService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<GetRatingInfoFormService>; | ||
} |
{ | ||
"name": "@solidexpert/comment-api", | ||
"version": "1.0.43", | ||
"version": "1.0.44", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "*", |
@@ -6,5 +6,5 @@ export * from './lib/model'; | ||
export * from './lib/controllers/Comment'; | ||
export * from './lib/defs/AddCommentToCommentListCommand'; | ||
export * from './lib/defs/CommentListViewModel'; | ||
export * from './lib/defs/CommentPageViewModelResponse'; | ||
export * from './lib/defs/CommentPageViewModelResponseItemResponse'; | ||
export * from './lib/defs/CommentPropertyViewModel'; | ||
@@ -17,18 +17,19 @@ export * from './lib/defs/CommentQueryRequest'; | ||
export * from './lib/defs/PostCommentCommand'; | ||
export * from './lib/defs/PutCommentCommand'; | ||
export * from './lib/defs/RatingInfoViewModel'; | ||
export * from './lib/defs/RatingInfoViewModelItemResponse'; | ||
export * from './lib/defs/SetCommentScoreCommand'; | ||
export * from './lib/defs/StringItemResponse'; | ||
export * from './lib/defs/StringStringKeyValuePair'; | ||
export * from './lib/defs/UserInformationViewModelSummary'; | ||
export * from './lib/store/comment/addCommentToCommentList/addCommentToCommentList.service'; | ||
export * from './lib/store/comment/deleteComment/deleteComment.service'; | ||
export * from './lib/store/comment/dislikeComment/dislikeComment.service'; | ||
export * from './lib/store/comment/getComment/getComment.service'; | ||
export * from './lib/store/comment/getCommentSearch/getCommentSearch.service'; | ||
export * from './lib/store/comment/getCommentsByUserInformationId/getCommentsByUserInformationId.service'; | ||
export * from './lib/store/comment/getCommentList/getCommentList.service'; | ||
export * from './lib/store/comment/getRatingInfo/getRatingInfo.service'; | ||
export * from './lib/store/comment/postComment/postComment.service'; | ||
export * from './lib/store/comment/likeComment/likeComment.service'; | ||
export * from './lib/store/comment/postComment/postComment.service'; | ||
export * from './lib/store/comment/putComment/putComment.service'; | ||
export * from './lib/store/comment/removeDislike/removeDislike.service'; | ||
export * from './lib/store/comment/setCommentScore/setCommentScore.service'; | ||
export * from './lib/store/comment/removeLike/removeLike.service'; | ||
export * from './lib/store/comment/setCommentScore/setCommentScore.service'; | ||
export * from './lib/store/comment/updateComment/updateComment.service'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
76
360517
3269