UNPKG

@mochabug/adaptkit

Version:

A cmd to create, emulate and publish Mochabug Adapt plugins

81 lines 2.96 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import type { SignalDescriptor, SignalDescriptorJson } from "./signal_descriptor_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file mochabugapis/adapt/graph/v1/transceiver.proto. */ export declare const file_mochabugapis_adapt_graph_v1_transceiver: GenFile; /** * Transceiver declares a mode-less signal endpoint. It is used for graph * boundaries whose transmission semantics are fixed by context, such as start * vertex transmitters and exchange receivers. * * @generated from message mochabugapis.adapt.graph.v1.Transceiver */ export type Transceiver = Message<"mochabugapis.adapt.graph.v1.Transceiver"> & { /** * Identifier for the transceiver, following the ECMA naming pattern, limited to 50 characters. * * @generated from field: string name = 1; */ name: string; /** * Optional human-readable label for the transceiver, up to 250 characters. * * @generated from field: optional string label = 2; */ label?: string | undefined; /** * Optional descriptive text for the transceiver's purpose, up to 1000 characters. * * @generated from field: optional string description = 3; */ description?: string | undefined; /** * List of signals this transceiver declares. Can contain up to 512 unique signals. * * @generated from field: repeated mochabugapis.adapt.graph.v1.SignalDescriptor signals = 4; */ signals: SignalDescriptor[]; }; /** * Transceiver declares a mode-less signal endpoint. It is used for graph * boundaries whose transmission semantics are fixed by context, such as start * vertex transmitters and exchange receivers. * * @generated from message mochabugapis.adapt.graph.v1.Transceiver */ export type TransceiverJson = { /** * Identifier for the transceiver, following the ECMA naming pattern, limited to 50 characters. * * @generated from field: string name = 1; */ name?: string; /** * Optional human-readable label for the transceiver, up to 250 characters. * * @generated from field: optional string label = 2; */ label?: string; /** * Optional descriptive text for the transceiver's purpose, up to 1000 characters. * * @generated from field: optional string description = 3; */ description?: string; /** * List of signals this transceiver declares. Can contain up to 512 unique signals. * * @generated from field: repeated mochabugapis.adapt.graph.v1.SignalDescriptor signals = 4; */ signals?: SignalDescriptorJson[]; }; /** * Describes the message mochabugapis.adapt.graph.v1.Transceiver. * Use `create(TransceiverSchema)` to create a new message. */ export declare const TransceiverSchema: GenMessage<Transceiver, { jsonType: TransceiverJson; }>; //# sourceMappingURL=transceiver_pb.d.ts.map