UNPKG

@argus-labs/proto

Version:

Generated TypeScript protobuf definitions for Argus Labs World Engine

45 lines (38 loc) 1.91 kB
// @generated by protoc-gen-es v2.2.3 with parameter "target=ts" // @generated from file gateway/v1/shared.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 { 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/shared.proto. */ export const file_gateway_v1_shared: GenFile = /*@__PURE__*/ fileDesc("ChdnYXRld2F5L3YxL3NoYXJlZC5wcm90bxIKZ2F0ZXdheS52MSJ+ChFFdmVudFN1YnNjcmlwdGlvbhIxCgdhZGRyZXNzGAEgASgLMhgubWljcm8udjEuU2VydmljZUFkZHJlc3NCBrpIA8gBARI2CgZldmVudHMYAiADKAlCJrpII5IBIAgBIhxyGhABGIABMhNeW2EtekEtWjAtOS4qPl8tXSskQkBaPmdpdGh1Yi5jb20vYXJndXMtbGFicy9nby1lY3MvcHJvdG8vZ2VuL2dvL2dhdGV3YXkvdjE7Z2F0ZXdheXYxYgZwcm90bzM", [file_buf_validate_validate, file_micro_v1_service]); /** * @generated from message gateway.v1.EventSubscription */ export type EventSubscription = Message<"gateway.v1.EventSubscription"> & { /** * Specifies the target shard address from which to stream events. * * @generated from field: micro.v1.ServiceAddress address = 1; */ address?: ServiceAddress; /** * A list of events to subscribe to. If the event belongs to a group, use the `<group>.<event>` * format. This also supports the '*' and '>' wildcards. * * @generated from field: repeated string events = 2; */ events: string[]; }; /** * Describes the message gateway.v1.EventSubscription. * Use `create(EventSubscriptionSchema)` to create a new message. */ export const EventSubscriptionSchema: GenMessage<EventSubscription> = /*@__PURE__*/ messageDesc(file_gateway_v1_shared, 0);