// Code generated by protoc-gen-typescript-http. DO NOT EDIT. /* eslint-disable camelcase */ // @ts-nocheck export type FetchRequest = { /** 页数 */ pageNo?: number; /** 每页记录数 */ pageSize?: number; /** 条件参数,key=val,eg key:category_id=?,vlaue=11 */ params?: { [key: string]: string }; }; export type IdentRequest = { /** 唯一ID */ id?: number; /** 唯一码 */ identity?: string; }; export type VersionRequest = { /** 时序版本号 */ version?: number; }; export type SearchRequest = { /** 关键词 */ keyword?: string; }; export type StatusReply = { /** 数据 */ data?: string; /** 响应时间序列 */ timeseq?: number; }; export type Empty = { }; /** 推文列表 */ export type PostListReply = { list?: PostItem[]; cnt?: number; }; /** 推文 */ export type PostItem = { /** 唯一标识 */ identity?: string; /** 内容 */ content?: string; /** 通行证ID */ feedId?: number; /** 通行证Identity */ feedIdentity?: string; /** 是否公开:默认为0-公开,1-不公开 */ isOpen?: boolean; /** 点踩数量 */ cntUnlike?: number; /** 评论数量 */ cntComment?: number; /** 点赞数量 */ cntLike?: number; /** 附件信息 */ attachs?: AttachItem[]; /** 所属话题 */ tags?: TagItem[]; }; /** 附件 */ export type AttachItem = { /** 唯一标识 */ identity?: string; /** 文件类型 */ attachType?: string; /** 文件路径 */ url?: string; }; /** 标签 */ export type TagItem = { /** 标签唯一码 */ key?: string; /** 标签内容 */ content?: string; }; /** 推文评论列表 */ export type CommentListReply = { /** 评论列表 */ list?: CommentItem[]; total?: number; }; export type CommentItem = { /** 评论identity */ identity?: string; /** 被评论唯一标识 */ postIdentity?: string; /** 评论人唯一标识 */ feedIdentity?: string; /** 评论内容 */ content?: string; /** 子评论 */ subComment?: CommentItem[]; }; export type PostActionRequest = { /** 操作运作:ilike,unlike */ actionOp?: string; /** 类别:推文,评论 */ actionType?: string; /** 唯一标识 */ identity?: string; }; /** 推文相关操作 */ export interface Post { } type RequestType = { path: string; method: string; body: string | null; }; type RequestHandler = (request: RequestType, meta: { service: string, method: string }) => Promise; export function createPostClient( handler: RequestHandler ): Post { return { }; } export interface Setting { } export function createSettingClient( handler: RequestHandler ): Setting { return { }; } export type AddTagRequest = { /** 标签名称 */ tags?: string[]; }; export type TagListReply = { tags?: TagItem[]; total?: number; }; export interface Tag { } export function createTagClient( handler: RequestHandler ): Tag { return { }; } /** 实时动态 */ export interface Timeline { } export function createTimelineClient( handler: RequestHandler ): Timeline { return { }; } // @@protoc_insertion_point(typescript-http-eof)