UNPKG

@mochabug/adapt-plugin-builder

Version:

This encapsulate the building an bundling logic for mochabug adapt plugins

75 lines 2.65 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { SignalDescriptor, SignalDescriptorJson } from "./signal_descriptor_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file mochabugapis/adapt/graph/transceiver.proto. */ export declare const file_mochabugapis_adapt_graph_transceiver: GenFile; /** * Transceiver is a dual-purpose entity capable of both emitting and receiving signals. * * @generated from message mochabugapis.adapt.graph.Transceiver */ export type Transceiver = Message<"mochabugapis.adapt.graph.Transceiver"> & { /** * Identifier for the transceiver, following the ECMA naming pattern, limited to 50 characters. * * @generated from field: string name = 1; */ name: string; /** * Optional descriptive text for the transceiver's purpose, up to 250 characters. * * @generated from field: optional string description = 2; */ description?: string; /** * List of signals the transceiver handles. Can contain up to 512 unique signals. * * @generated from field: repeated mochabugapis.adapt.graph.SignalDescriptor signals = 3; */ signals: SignalDescriptor[]; /** * Wheter or not the transceiver is a streaming transceiver. * * @generated from field: optional bool streaming = 4; */ streaming?: boolean; }; /** * Transceiver is a dual-purpose entity capable of both emitting and receiving signals. * * @generated from message mochabugapis.adapt.graph.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 descriptive text for the transceiver's purpose, up to 250 characters. * * @generated from field: optional string description = 2; */ description?: string; /** * List of signals the transceiver handles. Can contain up to 512 unique signals. * * @generated from field: repeated mochabugapis.adapt.graph.SignalDescriptor signals = 3; */ signals?: SignalDescriptorJson[]; /** * Wheter or not the transceiver is a streaming transceiver. * * @generated from field: optional bool streaming = 4; */ streaming?: boolean; }; /** * Describes the message mochabugapis.adapt.graph.Transceiver. * Use `create(TransceiverSchema)` to create a new message. */ export declare const TransceiverSchema: GenMessage<Transceiver, TransceiverJson>; //# sourceMappingURL=transceiver_pb.d.ts.map