@mochabug/adapt-plugin-builder
Version:
This encapsulate the building an bundling logic for mochabug adapt plugins
67 lines • 2.27 kB
TypeScript
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import type { SignalBinding, SignalBindingJson } from "./signal_binding_pb";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file mochabugapis/adapt/graph/receiver.proto.
*/
export declare const file_mochabugapis_adapt_graph_receiver: GenFile;
/**
* Receiver represents an input point for a vertex, which can bind
* to multiple signals.
*
* @generated from message mochabugapis.adapt.graph.Receiver
*/
export type Receiver = Message<"mochabugapis.adapt.graph.Receiver"> & {
/**
* Identifier for the receiver, conforming to the ECMA naming pattern
* and limited to 50 characters.
*
* @generated from field: string name = 1;
*/
name: string;
/**
* Optional descriptive text for the receiver's purpose, up to 250 characters.
*
* @generated from field: optional string description = 2;
*/
description?: string;
/**
* List of signals the receiver listens for. Can contain up to 512 unique signals.
*
* @generated from field: repeated mochabugapis.adapt.graph.SignalBinding bindings = 3;
*/
bindings: SignalBinding[];
};
/**
* Receiver represents an input point for a vertex, which can bind
* to multiple signals.
*
* @generated from message mochabugapis.adapt.graph.Receiver
*/
export type ReceiverJson = {
/**
* Identifier for the receiver, conforming to the ECMA naming pattern
* and limited to 50 characters.
*
* @generated from field: string name = 1;
*/
name?: string;
/**
* Optional descriptive text for the receiver's purpose, up to 250 characters.
*
* @generated from field: optional string description = 2;
*/
description?: string;
/**
* List of signals the receiver listens for. Can contain up to 512 unique signals.
*
* @generated from field: repeated mochabugapis.adapt.graph.SignalBinding bindings = 3;
*/
bindings?: SignalBindingJson[];
};
/**
* Describes the message mochabugapis.adapt.graph.Receiver.
* Use `create(ReceiverSchema)` to create a new message.
*/
export declare const ReceiverSchema: GenMessage<Receiver, ReceiverJson>;
//# sourceMappingURL=receiver_pb.d.ts.map