45 lines
		
	
	
		
			825 B
		
	
	
	
		
			TypeScript
		
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			825 B
		
	
	
	
		
			TypeScript
		
	
	
	
| // Code generated by protoc-gen-typescript-http. DO NOT EDIT.
 | |
| /* eslint-disable camelcase */
 | |
| // @ts-nocheck
 | |
| 
 | |
| export type ByPosRequest = {
 | |
|   key?: string;
 | |
| };
 | |
| 
 | |
| export type ByPosReply = {
 | |
|   data?: AdsItem[];
 | |
| };
 | |
| 
 | |
| export type AdsItem = {
 | |
|   id?: number;
 | |
|   /** 广告名称 */ 
 | |
|   title?: string;
 | |
|   /** 广告内容 */ 
 | |
|   content?: string;
 | |
|   /** 广告类型 1.文本 2.图片 3.视频 */ 
 | |
|   type?: number;
 | |
|   toUrl?: string;
 | |
|   created?: string;
 | |
| };
 | |
| 
 | |
| /** 广告子系统 */ 
 | |
| export interface Fetch {
 | |
| }
 | |
| 
 | |
| type RequestType = {
 | |
|   path: string;
 | |
|   method: string;
 | |
|   body: string | null;
 | |
| };
 | |
| 
 | |
| type RequestHandler = (request: RequestType, meta: { service: string, method: string }) => Promise<unknown>;
 | |
| 
 | |
| export function createFetchClient(
 | |
|   handler: RequestHandler
 | |
| ): Fetch {
 | |
|   return {
 | |
|   };
 | |
| }
 | |
| 
 | |
| // @@protoc_insertion_point(typescript-http-eof)
 |