11 lines
352 B
TypeScript
11 lines
352 B
TypeScript
import type { ApiResponse } from "../client/types";
|
|
import proto from "db://assets/Scripts/proto/proto.pb.js";
|
|
|
|
export interface IAuthService {
|
|
// 登录
|
|
login(req: proto.cs.ICSLoginReq): Promise<ApiResponse<proto.cs.ICSLoginRes>>;
|
|
|
|
// 上报事件
|
|
pointEvent(req: proto.cs.ICSPointEventReq): Promise<ApiResponse<proto.cs.ICSPointEventRes>>;
|
|
}
|