@mochabug/adapt-plugin-builder
Version:
This encapsulate the building an bundling logic for mochabug adapt plugins
118 lines • 4.09 kB
TypeScript
import type { GenEnum, 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/transmitter.proto.
*/
export declare const file_mochabugapis_adapt_graph_transmitter: GenFile;
/**
* Transmitter represents an output point for a vertex, emitting multiple signals.
*
* @generated from message mochabugapis.adapt.graph.Transmitter
*/
export type Transmitter = Message<"mochabugapis.adapt.graph.Transmitter"> & {
/**
* Identifier for the transmitter, following the ECMA naming pattern, limited to 50 characters.
*
* @generated from field: string name = 1;
*/
name: string;
/**
* Optional descriptive text for the transmitter's purpose, up to 250 characters.
*
* @generated from field: optional string description = 2;
*/
description?: string;
/**
* List of signals the transmitter can emit. Can contain up to 512 unique signals.
*
* @generated from field: repeated mochabugapis.adapt.graph.SignalDescriptor signals = 3;
*/
signals: SignalDescriptor[];
/**
* An optional mode for the transmitter, indicating its operational context.
* If not set, it defaults to the standard mode
*
* @generated from field: optional mochabugapis.adapt.graph.Transmitter.Mode mode = 4;
*/
mode?: Transmitter_Mode;
};
/**
* Transmitter represents an output point for a vertex, emitting multiple signals.
*
* @generated from message mochabugapis.adapt.graph.Transmitter
*/
export type TransmitterJson = {
/**
* Identifier for the transmitter, following the ECMA naming pattern, limited to 50 characters.
*
* @generated from field: string name = 1;
*/
name?: string;
/**
* Optional descriptive text for the transmitter's purpose, up to 250 characters.
*
* @generated from field: optional string description = 2;
*/
description?: string;
/**
* List of signals the transmitter can emit. Can contain up to 512 unique signals.
*
* @generated from field: repeated mochabugapis.adapt.graph.SignalDescriptor signals = 3;
*/
signals?: SignalDescriptorJson[];
/**
* An optional mode for the transmitter, indicating its operational context.
* If not set, it defaults to the standard mode
*
* @generated from field: optional mochabugapis.adapt.graph.Transmitter.Mode mode = 4;
*/
mode?: Transmitter_ModeJson;
};
/**
* Describes the message mochabugapis.adapt.graph.Transmitter.
* Use `create(TransmitterSchema)` to create a new message.
*/
export declare const TransmitterSchema: GenMessage<Transmitter, TransmitterJson>;
/**
* The type of the transmitter.
*
* @generated from enum mochabugapis.adapt.graph.Transmitter.Mode
*/
export declare enum Transmitter_Mode {
/**
* Default value indicating the mode is not explicitly set.
*
* @generated from enum value: MODE_UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* Transmitter is transmitting with the standard mode. I.e. a single transmission
*
* @generated from enum value: MODE_STANDARD = 1;
*/
STANDARD = 1,
/**
* Transmitter is transmitter with stream. I.e. multiple transmissions
*
* @generated from enum value: MODE_STREAM = 2;
*/
STREAM = 2,
/**
* Transmitter is transmitting a failure. I.e. a single transmission with a failure flag
*
* @generated from enum value: MODE_FAILURE = 3;
*/
FAILURE = 3
}
/**
* The type of the transmitter.
*
* @generated from enum mochabugapis.adapt.graph.Transmitter.Mode
*/
export type Transmitter_ModeJson = "MODE_UNSPECIFIED" | "MODE_STANDARD" | "MODE_STREAM" | "MODE_FAILURE";
/**
* Describes the enum mochabugapis.adapt.graph.Transmitter.Mode.
*/
export declare const Transmitter_ModeSchema: GenEnum<Transmitter_Mode, Transmitter_ModeJson>;
//# sourceMappingURL=transmitter_pb.d.ts.map