UNPKG

@argus-labs/proto

Version:

Generated TypeScript protobuf definitions for Argus Labs World Engine

63 lines (54 loc) 2.55 kB
// @generated by protoc-gen-es v2.2.3 with parameter "target=ts" // @generated from file gateway/v1/send_command.proto (package gateway.v1, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1"; import { file_buf_validate_validate } from "../../buf/validate/validate_pb"; import type { Command } from "../../isc/v1/command_pb"; import { file_isc_v1_command } from "../../isc/v1/command_pb"; import type { ServiceAddress } from "../../micro/v1/service_pb"; import { file_micro_v1_service } from "../../micro/v1/service_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file gateway/v1/send_command.proto. */ export const file_gateway_v1_send_command: GenFile = /*@__PURE__*/ fileDesc("Ch1nYXRld2F5L3YxL3NlbmRfY29tbWFuZC5wcm90bxIKZ2F0ZXdheS52MSJxChJTZW5kQ29tbWFuZFJlcXVlc3QSMQoHYWRkcmVzcxgBIAEoCzIYLm1pY3JvLnYxLlNlcnZpY2VBZGRyZXNzQga6SAPIAQESKAoHY29tbWFuZBgCIAEoCzIPLmlzYy52MS5Db21tYW5kQga6SAPIAQEiFQoTU2VuZENvbW1hbmRSZXNwb25zZUJAWj5naXRodWIuY29tL2FyZ3VzLWxhYnMvZ28tZWNzL3Byb3RvL2dlbi9nby9nYXRld2F5L3YxO2dhdGV3YXl2MWIGcHJvdG8z", [file_buf_validate_validate, file_isc_v1_command, file_micro_v1_service]); /** * SendCommandRequest represents a request to execute a command on a specific shard. * * @generated from message gateway.v1.SendCommandRequest */ export type SendCommandRequest = Message<"gateway.v1.SendCommandRequest"> & { /** * The address of the cardinal shard to send the command to. * * @generated from field: micro.v1.ServiceAddress address = 1; */ address?: ServiceAddress; /** * The command itself. * * @generated from field: isc.v1.Command command = 2; */ command?: Command; }; /** * Describes the message gateway.v1.SendCommandRequest. * Use `create(SendCommandRequestSchema)` to create a new message. */ export const SendCommandRequestSchema: GenMessage<SendCommandRequest> = /*@__PURE__*/ messageDesc(file_gateway_v1_send_command, 0); /** * SendCommandResponse is returned upon successful command execution. * * @generated from message gateway.v1.SendCommandResponse */ export type SendCommandResponse = Message<"gateway.v1.SendCommandResponse"> & { }; /** * Describes the message gateway.v1.SendCommandResponse. * Use `create(SendCommandResponseSchema)` to create a new message. */ export const SendCommandResponseSchema: GenMessage<SendCommandResponse> = /*@__PURE__*/ messageDesc(file_gateway_v1_send_command, 1);