UNPKG

@mochabug/adapt-plugin-builder

Version:

This encapsulate the building an bundling logic for mochabug adapt plugins

87 lines 3.01 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { JTDSchema, JTDSchemaJson } from "./jtd_schema_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file mochabugapis/adapt/graph/signal_descriptor.proto. */ export declare const file_mochabugapis_adapt_graph_signal_descriptor: GenFile; /** * SignalDescriptor defines the properties of a signal without containing the actual signal data. * * @generated from message mochabugapis.adapt.graph.SignalDescriptor */ export type SignalDescriptor = Message<"mochabugapis.adapt.graph.SignalDescriptor"> & { /** * Identifier for the signal, following the ECMA naming pattern, limited to 50 characters. * * @generated from field: string name = 1; */ name: string; /** * Optional label for the signal, up to 50 characters. * * @generated from field: optional string label = 5; */ label?: string; /** * Optional descriptive text for the signal, up to 250 characters. * * @generated from field: optional string description = 2; */ description?: string; /** * Schema definition for the signal, required and must follow the JTD definition found here: https://www.rfc-editor.org/rfc/rfc8927. * * @generated from field: mochabugapis.adapt.graph.JTDSchema schema = 3; */ schema?: JTDSchema; /** * Flag indicating if the signal is optional. * * @generated from field: optional bool optional = 4; */ optional?: boolean; }; /** * SignalDescriptor defines the properties of a signal without containing the actual signal data. * * @generated from message mochabugapis.adapt.graph.SignalDescriptor */ export type SignalDescriptorJson = { /** * Identifier for the signal, following the ECMA naming pattern, limited to 50 characters. * * @generated from field: string name = 1; */ name?: string; /** * Optional label for the signal, up to 50 characters. * * @generated from field: optional string label = 5; */ label?: string; /** * Optional descriptive text for the signal, up to 250 characters. * * @generated from field: optional string description = 2; */ description?: string; /** * Schema definition for the signal, required and must follow the JTD definition found here: https://www.rfc-editor.org/rfc/rfc8927. * * @generated from field: mochabugapis.adapt.graph.JTDSchema schema = 3; */ schema?: JTDSchemaJson; /** * Flag indicating if the signal is optional. * * @generated from field: optional bool optional = 4; */ optional?: boolean; }; /** * Describes the message mochabugapis.adapt.graph.SignalDescriptor. * Use `create(SignalDescriptorSchema)` to create a new message. */ export declare const SignalDescriptorSchema: GenMessage<SignalDescriptor, SignalDescriptorJson>; //# sourceMappingURL=signal_descriptor_pb.d.ts.map