auth-yes/sdk/gen/auth_connect.ts

29 lines
755 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
import { ValidateSessionRequest, ValidateSessionResponse } from "./auth_pb.ts";
import { MethodKind } from "@bufbuild/protobuf";
/**
* @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;