28 lines
800 B
TypeScript
28 lines
800 B
TypeScript
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts,import_extension=.ts"
|
|
// @generated from file auth.proto (package auth.v1, syntax proto3)
|
|
/* eslint-disable */
|
|
// @ts-nocheck: Generated protobuf connect code
|
|
|
|
import { ValidateSessionRequest, ValidateSessionResponse } from "./auth_pb.ts";
|
|
import { MethodKind } from "npm:@bufbuild/protobuf@^1.10.0";
|
|
|
|
/**
|
|
* @generated from service auth.v1.AuthService
|
|
*/
|
|
export const AuthService = {
|
|
typeName: "auth.v1.AuthService",
|
|
methods: {
|
|
/**
|
|
* Validates a session token
|
|
*
|
|
* @generated from rpc auth.v1.AuthService.ValidateSession
|
|
*/
|
|
validateSession: {
|
|
name: "ValidateSession",
|
|
I: ValidateSessionRequest,
|
|
O: ValidateSessionResponse,
|
|
kind: MethodKind.Unary,
|
|
},
|
|
},
|
|
} as const;
|