Skip to content

Commit

Permalink
Commit from GitHub Actions (compile_PB)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 23, 2023
1 parent a071087 commit 24295a5
Show file tree
Hide file tree
Showing 2 changed files with 190 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
// @generated by protoc-gen-connect-query v0.6.0 with parameter "target=ts"
// @generated from file state/v1/state.proto (package state.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck

import { GetBlockStatesRequest, GetBlockStatesResponse, UpdateBlockStateRequest, UpdateBlockStateResponse } from "./block_pb.js";
import { MethodKind } from "@bufbuild/protobuf";
import { GetPointStatesRequest, GetPointStatesResponse, UpdatePointStateRequest, UpdatePointStateResponse } from "./point_pb.js";
import { GetStopStatesRequest, GetStopStatesResponse, UpdateStopStateRequest, UpdateStopStateResponse } from "./stop_pb.js";
import { AddTrainRequest, AddTrainResponse, GetTrainsRequest, GetTrainsResponse, UpdateTrainRequest, UpdateTrainResponse } from "./train_pb.js";
import { createQueryService, createUnaryHooks, UnaryFunctionsWithHooks } from "@connectrpc/connect-query";

export const typeName = "state.v1.StateManagerService";

/**
*
* StateManagerが提供するサービス
* AutoOperationとフロントエンド間の通信に利用される
*
* @generated from service state.v1.StateManagerService
*/
export const StateManagerService = {
typeName: "state.v1.StateManagerService",
methods: {
/**
* Block
*
* @generated from rpc state.v1.StateManagerService.GetBlockStates
*/
getBlockStates: {
name: "GetBlockStates",
I: GetBlockStatesRequest,
O: GetBlockStatesResponse,
kind: MethodKind.Unary,
},
/**
* @generated from rpc state.v1.StateManagerService.UpdateBlockState
*/
updateBlockState: {
name: "UpdateBlockState",
I: UpdateBlockStateRequest,
O: UpdateBlockStateResponse,
kind: MethodKind.Unary,
},
/**
* Point
*
* @generated from rpc state.v1.StateManagerService.UpdatePointState
*/
updatePointState: {
name: "UpdatePointState",
I: UpdatePointStateRequest,
O: UpdatePointStateResponse,
kind: MethodKind.Unary,
},
/**
* @generated from rpc state.v1.StateManagerService.GetPointStates
*/
getPointStates: {
name: "GetPointStates",
I: GetPointStatesRequest,
O: GetPointStatesResponse,
kind: MethodKind.Unary,
},
/**
* Stop
*
* @generated from rpc state.v1.StateManagerService.UpdateStopState
*/
updateStopState: {
name: "UpdateStopState",
I: UpdateStopStateRequest,
O: UpdateStopStateResponse,
kind: MethodKind.Unary,
},
/**
* @generated from rpc state.v1.StateManagerService.GetStopStates
*/
getStopStates: {
name: "GetStopStates",
I: GetStopStatesRequest,
O: GetStopStatesResponse,
kind: MethodKind.Unary,
},
/**
* Train
*
* @generated from rpc state.v1.StateManagerService.GetTrains
*/
getTrains: {
name: "GetTrains",
I: GetTrainsRequest,
O: GetTrainsResponse,
kind: MethodKind.Unary,
},
/**
* @generated from rpc state.v1.StateManagerService.AddTrain
*/
addTrain: {
name: "AddTrain",
I: AddTrainRequest,
O: AddTrainResponse,
kind: MethodKind.Unary,
},
/**
* @generated from rpc state.v1.StateManagerService.UpdateTrain
*/
updateTrain: {
name: "UpdateTrain",
I: UpdateTrainRequest,
O: UpdateTrainResponse,
kind: MethodKind.Unary,
},
}
} as const;

const $queryService = createQueryService({ service: StateManagerService,});

/**
* Block
*
* @generated from rpc state.v1.StateManagerService.GetBlockStates
*/
export const getBlockStates: UnaryFunctionsWithHooks<GetBlockStatesRequest, GetBlockStatesResponse> = { ...$queryService.getBlockStates, ...createUnaryHooks($queryService.getBlockStates)};

/**
* @generated from rpc state.v1.StateManagerService.UpdateBlockState
*/
export const updateBlockState: UnaryFunctionsWithHooks<UpdateBlockStateRequest, UpdateBlockStateResponse> = { ...$queryService.updateBlockState, ...createUnaryHooks($queryService.updateBlockState)};

/**
* Point
*
* @generated from rpc state.v1.StateManagerService.UpdatePointState
*/
export const updatePointState: UnaryFunctionsWithHooks<UpdatePointStateRequest, UpdatePointStateResponse> = { ...$queryService.updatePointState, ...createUnaryHooks($queryService.updatePointState)};

/**
* @generated from rpc state.v1.StateManagerService.GetPointStates
*/
export const getPointStates: UnaryFunctionsWithHooks<GetPointStatesRequest, GetPointStatesResponse> = { ...$queryService.getPointStates, ...createUnaryHooks($queryService.getPointStates)};

/**
* Stop
*
* @generated from rpc state.v1.StateManagerService.UpdateStopState
*/
export const updateStopState: UnaryFunctionsWithHooks<UpdateStopStateRequest, UpdateStopStateResponse> = { ...$queryService.updateStopState, ...createUnaryHooks($queryService.updateStopState)};

/**
* @generated from rpc state.v1.StateManagerService.GetStopStates
*/
export const getStopStates: UnaryFunctionsWithHooks<GetStopStatesRequest, GetStopStatesResponse> = { ...$queryService.getStopStates, ...createUnaryHooks($queryService.getStopStates)};

/**
* Train
*
* @generated from rpc state.v1.StateManagerService.GetTrains
*/
export const getTrains: UnaryFunctionsWithHooks<GetTrainsRequest, GetTrainsResponse> = { ...$queryService.getTrains, ...createUnaryHooks($queryService.getTrains)};

/**
* @generated from rpc state.v1.StateManagerService.AddTrain
*/
export const addTrain: UnaryFunctionsWithHooks<AddTrainRequest, AddTrainResponse> = { ...$queryService.addTrain, ...createUnaryHooks($queryService.addTrain)};

/**
* @generated from rpc state.v1.StateManagerService.UpdateTrain
*/
export const updateTrain: UnaryFunctionsWithHooks<UpdateTrainRequest, UpdateTrainResponse> = { ...$queryService.updateTrain, ...createUnaryHooks($queryService.updateTrain)};
20 changes: 20 additions & 0 deletions frontend/dashboard/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,13 @@
"@typescript/vfs" "^1.4.0"
typescript "4.5.2"

"@connectrpc/connect-query@^0.6.0":
version "0.6.0"
resolved "https://registry.yarnpkg.com/@connectrpc/connect-query/-/connect-query-0.6.0.tgz#7af7b6177d07eb079b23396f1ca4fff72e223b9e"
integrity sha512-/qqQ1LRfxv+YCfK8DWzzo+sJyxctCwdBmwoTEB6tkNLhKBYn1xD8eGXi1rKCOjfOPWrQXHGCAjsYAJg3WCRl+w==
dependencies:
stable-hash "^0.0.3"

"@connectrpc/connect-web@^1.1.3":
version "1.1.3"
resolved "https://registry.yarnpkg.com/@connectrpc/connect-web/-/connect-web-1.1.3.tgz#027922b4f1537ecb1eaaa31ec3a59dd471a65320"
Expand All @@ -1131,6 +1138,14 @@
"@bufbuild/protobuf" "^1.3.3"
"@bufbuild/protoplugin" "^1.3.3"

"@connectrpc/protoc-gen-connect-query@^0.6.0":
version "0.6.0"
resolved "https://registry.yarnpkg.com/@connectrpc/protoc-gen-connect-query/-/protoc-gen-connect-query-0.6.0.tgz#bb19291a3c949a8c23f4a27d23fb0c9fb67e48c0"
integrity sha512-Y8Zow5bK/WFVABbrIYpqDo5hVYzWyqRuXfGLqurhKthrbpDKgB/MGYaz8ly7k2B0SE28//62HKVKlM63w12S4g==
dependencies:
"@bufbuild/protobuf" "^1.3.3"
"@bufbuild/protoplugin" "^1.3.3"

"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2":
version "0.3.3"
resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098"
Expand Down Expand Up @@ -2082,6 +2097,11 @@ snake-case@^3.0.4:
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c"
integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==

stable-hash@^0.0.3:
version "0.0.3"
resolved "https://registry.yarnpkg.com/stable-hash/-/stable-hash-0.0.3.tgz#0078583e684d56ca0ece08f7c588b19f88955698"
integrity sha512-c63fvNCQ7ip1wBfPv54MflMA5L6OE5J0p6Fg13IpKft4JAFoNal8+s/jtJ8PibrwqXm4onnbeQsADs8k0NQGUA==

streamsearch@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764"
Expand Down

0 comments on commit 24295a5

Please sign in to comment.