UNPKG

@mochabug/adapt-plugin-builder

Version:

This encapsulate the building an bundling logic for mochabug adapt plugins

60 lines 2.29 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Value, ValueJson } from "@bufbuild/protobuf/wkt"; import type { JTDSchema, JTDSchemaJson } from "../../graph/jtd_schema_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file mochabugapis/adapt/plugins/v1/variable_service.proto. */ export declare const file_mochabugapis_adapt_plugins_v1_variable_service: GenFile; /** * A definition of a JSON variable * * This message represents a variable used within the hosting platform. * Variables are essential for configuring applications and services hosted on the platform. * They store values that can be accessed by the application or service during runtime. * * @generated from message mochabugapis.adapt.plugins.v1.VariableDefinition */ export type VariableDefinition = Message<"mochabugapis.adapt.plugins.v1.VariableDefinition"> & { /** * The schema that the variable must adhere to * * @generated from field: mochabugapis.adapt.graph.JTDSchema schema = 1; */ schema?: JTDSchema; /** * The optional default value * * @generated from field: optional google.protobuf.Value default = 2; */ default?: Value; }; /** * A definition of a JSON variable * * This message represents a variable used within the hosting platform. * Variables are essential for configuring applications and services hosted on the platform. * They store values that can be accessed by the application or service during runtime. * * @generated from message mochabugapis.adapt.plugins.v1.VariableDefinition */ export type VariableDefinitionJson = { /** * The schema that the variable must adhere to * * @generated from field: mochabugapis.adapt.graph.JTDSchema schema = 1; */ schema?: JTDSchemaJson; /** * The optional default value * * @generated from field: optional google.protobuf.Value default = 2; */ default?: ValueJson; }; /** * Describes the message mochabugapis.adapt.plugins.v1.VariableDefinition. * Use `create(VariableDefinitionSchema)` to create a new message. */ export declare const VariableDefinitionSchema: GenMessage<VariableDefinition, VariableDefinitionJson>; //# sourceMappingURL=variable_service_pb.d.ts.map