This commit is contained in:
yanweidong 2025-04-25 17:21:52 +08:00
parent 8e0ff9fb85
commit 6a27987f0d
1 changed files with 162 additions and 0 deletions

162
typescript/content/const.ts Normal file
View File

@ -0,0 +1,162 @@
/**
* - Request: Empty
* - Response: CategoryListReply
*/
export const URL_Category_Fetch = "/content.Category/Fetch"
/**
* - Request: CategoryItem
* - Response: StatusReply
*/
export const URL_Category_Create = "/content.Category/Create"
/**
* - Request: ModifyCategoryRequest
* - Response: StatusReply
*/
export const URL_Category_Modify = "/content.Category/Modify"
/**
* - Request: DeleteCategoryRequest
* - Response: StatusReply
*/
export const URL_Category_Delete = "/content.Category/Delete"
/**
* - Request: PostListRequest
* - Response: PostListReply
*/
export const URL_Post_Fetch = "/content.Post/Fetch"
/** By Identity
* - Request: GetPostRequest
* - Response: PostItem
*/
export const URL_Post_GetByIdentity = "/content.Post/GetByIdentity"
/** By Key
* - Request: GetPostByKeyRequest
* - Response: PostItem
*/
export const URL_Post_GetByKey = "/content.Post/GetByKey"
/**
* - Request: SearchRequest
* - Response: PostListReply
*/
export const URL_Post_Search = "/content.Post/Search"
/**
* - Request: PostItem
* - Response: StatusReply
*/
export const URL_Post_Create = "/content.Post/Create"
/**
* - Request: PostItem
* - Response: StatusReply
*/
export const URL_Post_Modify = "/content.Post/Modify"
/**
* - Request: IdentRequest
* - Response: StatusReply
*/
export const URL_Post_Delete = "/content.Post/Delete"
/**
* - Request: PostOpIdentityRequest
* - Response: StatusReply
*/
export const URL_Post_IncrPostLike = "/content.Post/IncrPostLike"
/**
* - Request: PostOpIdentityRequest
* - Response: StatusReply
*/
export const URL_Post_DescPostLike = "/content.Post/DescPostLike"
/**
* - Request: PostOpIdentityRequest
* - Response: StatusReply
*/
export const URL_Post_IncrPostUnlike = "/content.Post/IncrPostUnlike"
/**
* - Request: PostOpIdentityRequest
* - Response: StatusReply
*/
export const URL_Post_DescPostUnlike = "/content.Post/DescPostUnlike"
/**
* - Request: CommentListRequest
* - Response: CommentListResponse
*/
export const URL_Post_CommentList = "/content.Post/CommentList"
/**
* - Request: CommentItem
* - Response: StatusReply
*/
export const URL_Post_AddComment = "/content.Post/AddComment"
/**
* - Request: CommentItem
* - Response: StatusReply
*/
export const URL_Post_ModifyComment = "/content.Post/ModifyComment"
/**
* - Request: DeleteCommentRequest
* - Response: StatusReply
*/
export const URL_Post_DeleteComment = "/content.Post/DeleteComment"
/**
* - Request: CommentOpIdentityRequest
* - Response: StatusReply
*/
export const URL_Post_IncrCommentLike = "/content.Post/IncrCommentLike"
/**
* - Request: CommentOpIdentityRequest
* - Response: StatusReply
*/
export const URL_Post_DescCommentLike = "/content.Post/DescCommentLike"
/**
* - Request: CommentOpIdentityRequest
* - Response: StatusReply
*/
export const URL_Post_IncrCommentUnlike = "/content.Post/IncrCommentUnlike"
/**
* - Request: CommentOpIdentityRequest
* - Response: StatusReply
*/
export const URL_Post_DescCommentUnlike = "/content.Post/DescCommentUnlike"
/**
* - Request: IdentRequest
* - Response: TagsListReply
*/
export const URL_Tags_Fetch = "/content.Tags/Fetch"
/**
* - Request: TagsItem
* - Response: StatusReply
*/
export const URL_Tags_Create = "/content.Tags/Create"
/**
* - Request: TagsItem
* - Response: StatusReply
*/
export const URL_Tags_Modify = "/content.Tags/Modify"
/**
* - Request: IdentRequest
* - Response: StatusReply
*/
export const URL_Tags_Delete = "/content.Tags/Delete"