@mochabug/adaptkit
Version:
A cmd to create, emulate and publish Mochabug Adapt plugins
81 lines • 2.69 kB
TypeScript
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
import type { SignalBinding, SignalBindingJson } from "./signal_binding_pb";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file mochabugapis/adapt/graph/v1/receiver.proto.
*/
export declare const file_mochabugapis_adapt_graph_v1_receiver: GenFile;
/**
* Receiver represents an input point for a vertex, which can bind
* to multiple signals.
*
* @generated from message mochabugapis.adapt.graph.v1.Receiver
*/
export type Receiver = Message<"mochabugapis.adapt.graph.v1.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 human-readable label for the receiver, up to 250 characters.
*
* @generated from field: optional string label = 2;
*/
label?: string | undefined;
/**
* Optional descriptive text for the receiver's purpose, up to 250 characters.
*
* @generated from field: optional string description = 3;
*/
description?: string | undefined;
/**
* List of signals the receiver listens for. Can contain up to 512 unique signals.
*
* @generated from field: repeated mochabugapis.adapt.graph.v1.SignalBinding bindings = 4;
*/
bindings: SignalBinding[];
};
/**
* Receiver represents an input point for a vertex, which can bind
* to multiple signals.
*
* @generated from message mochabugapis.adapt.graph.v1.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 human-readable label for the receiver, up to 250 characters.
*
* @generated from field: optional string label = 2;
*/
label?: string;
/**
* Optional descriptive text for the receiver's purpose, up to 250 characters.
*
* @generated from field: optional string description = 3;
*/
description?: string;
/**
* List of signals the receiver listens for. Can contain up to 512 unique signals.
*
* @generated from field: repeated mochabugapis.adapt.graph.v1.SignalBinding bindings = 4;
*/
bindings?: SignalBindingJson[];
};
/**
* Describes the message mochabugapis.adapt.graph.v1.Receiver.
* Use `create(ReceiverSchema)` to create a new message.
*/
export declare const ReceiverSchema: GenMessage<Receiver, {
jsonType: ReceiverJson;
}>;
//# sourceMappingURL=receiver_pb.d.ts.map