UNPKG

@mochabug/adapt-plugin-builder

Version:

This encapsulate the building an bundling logic for mochabug adapt plugins

75 lines 2.66 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Transceiver, TransceiverJson } from "./transceiver_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file mochabugapis/adapt/graph/exchange.proto. */ export declare const file_mochabugapis_adapt_graph_exchange: GenFile; /** * Exchange represents a communication setup involving both transmitters and receivers. * * @generated from message mochabugapis.adapt.graph.Exchange */ export type Exchange = Message<"mochabugapis.adapt.graph.Exchange"> & { /** * Identifier for the exchange, following the ECMA naming pattern, limited to 50 characters. * * @generated from field: string name = 1; */ name: string; /** * Optional descriptive text for the exchange, up to 250 characters. * * @generated from field: optional string description = 2; */ description?: string; /** * Outputs involved in the exchange, limited to 10 unique transmitters. * * @generated from field: repeated mochabugapis.adapt.graph.Transceiver transmitters = 3; */ transmitters: Transceiver[]; /** * Inputs involved in the exchange, requiring between 1 and 10 unique receivers. * * @generated from field: repeated mochabugapis.adapt.graph.Transceiver receivers = 4; */ receivers: Transceiver[]; }; /** * Exchange represents a communication setup involving both transmitters and receivers. * * @generated from message mochabugapis.adapt.graph.Exchange */ export type ExchangeJson = { /** * Identifier for the exchange, following the ECMA naming pattern, limited to 50 characters. * * @generated from field: string name = 1; */ name?: string; /** * Optional descriptive text for the exchange, up to 250 characters. * * @generated from field: optional string description = 2; */ description?: string; /** * Outputs involved in the exchange, limited to 10 unique transmitters. * * @generated from field: repeated mochabugapis.adapt.graph.Transceiver transmitters = 3; */ transmitters?: TransceiverJson[]; /** * Inputs involved in the exchange, requiring between 1 and 10 unique receivers. * * @generated from field: repeated mochabugapis.adapt.graph.Transceiver receivers = 4; */ receivers?: TransceiverJson[]; }; /** * Describes the message mochabugapis.adapt.graph.Exchange. * Use `create(ExchangeSchema)` to create a new message. */ export declare const ExchangeSchema: GenMessage<Exchange, ExchangeJson>; //# sourceMappingURL=exchange_pb.d.ts.map