@mochabug/adapt-web
Version:
The client library to execute automations, without effort, in a browser environment
66 lines • 3.64 kB
JavaScript
;
// Copyright 2023, mochabug AB
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.SignalBinding_ErrorSchema = exports.SignalBinding_Error = exports.SignalBindingSchema = exports.file_mochabugapis_adapt_graph_signal_binding = void 0;
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
const validate_pb_js_1 = require("../../../buf/validate/validate_pb.js");
const wkt_1 = require("@bufbuild/protobuf/wkt");
const signal_descriptor_pb_js_1 = require("./signal_descriptor_pb.js");
/**
* Describes the file mochabugapis/adapt/graph/signal_binding.proto.
*/
exports.file_mochabugapis_adapt_graph_signal_binding = (0, codegenv2_1.fileDesc)("Ci1tb2NoYWJ1Z2FwaXMvYWRhcHQvZ3JhcGgvc2lnbmFsX2JpbmRpbmcucHJvdG8SGG1vY2hhYnVnYXBpcy5hZGFwdC5ncmFwaCLvAgoNU2lnbmFsQmluZGluZxJGCgpkZXNjcmlwdG9yGAEgASgLMioubW9jaGFidWdhcGlzLmFkYXB0LmdyYXBoLlNpZ25hbERlc2NyaXB0b3JCBrpIA8gBARIdCglyZWZlcmVuY2UYAiABKAlCCLpIBXIDGPoBSAASKgoIY29uc3RhbnQYAyABKAsyFi5nb29nbGUucHJvdG9idWYuVmFsdWVIABJOCgVlcnJvchgEIAEoDjItLm1vY2hhYnVnYXBpcy5hZGFwdC5ncmFwaC5TaWduYWxCaW5kaW5nLkVycm9yQgu6SAjYAQGCAQIgAEgBiAEBImYKBUVycm9yEhUKEUVSUk9SX1VOU1BFQ0lGSUVEEAASEQoNRVJST1JfVU5CT1VORBABEhgKFEVSUk9SX0lOVkFMSURfU09VUkNFEAISGQoVRVJST1JfU0NIRU1BX01JU01BVENIEANCCQoHYmluZGluZ0IICgZfZXJyb3JiBnByb3RvMw", [validate_pb_js_1.file_buf_validate_validate, wkt_1.file_google_protobuf_struct, signal_descriptor_pb_js_1.file_mochabugapis_adapt_graph_signal_descriptor]);
/**
* Describes the message mochabugapis.adapt.graph.SignalBinding.
* Use `create(SignalBindingSchema)` to create a new message.
*/
exports.SignalBindingSchema = (0, codegenv2_1.messageDesc)(exports.file_mochabugapis_adapt_graph_signal_binding, 0);
/**
* Some error codes that can appear on the binding
*
* @generated from enum mochabugapis.adapt.graph.SignalBinding.Error
*/
var SignalBinding_Error;
(function (SignalBinding_Error) {
/**
* Not specified
*
* @generated from enum value: ERROR_UNSPECIFIED = 0;
*/
SignalBinding_Error[SignalBinding_Error["UNSPECIFIED"] = 0] = "UNSPECIFIED";
/**
* Binding is missing, the signal is unbound even though the descriptor requires it to be bound
*
* @generated from enum value: ERROR_UNBOUND = 1;
*/
SignalBinding_Error[SignalBinding_Error["UNBOUND"] = 1] = "UNBOUND";
/**
* The source does not exist
*
* @generated from enum value: ERROR_INVALID_SOURCE = 2;
*/
SignalBinding_Error[SignalBinding_Error["INVALID_SOURCE"] = 2] = "INVALID_SOURCE";
/**
* The schema does not match, the source is valid
*
* @generated from enum value: ERROR_SCHEMA_MISMATCH = 3;
*/
SignalBinding_Error[SignalBinding_Error["SCHEMA_MISMATCH"] = 3] = "SCHEMA_MISMATCH";
})(SignalBinding_Error || (exports.SignalBinding_Error = SignalBinding_Error = {}));
/**
* Describes the enum mochabugapis.adapt.graph.SignalBinding.Error.
*/
exports.SignalBinding_ErrorSchema = (0, codegenv2_1.enumDesc)(exports.file_mochabugapis_adapt_graph_signal_binding, 0, 0);
//# sourceMappingURL=signal_binding_pb.js.map