UNPKG

@mochabug/adapt-web

Version:

The client library to execute automations, without effort, in a browser environment

79 lines 4.45 kB
"use strict"; // 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.CapabilitySchema = exports.Capability = exports.VertexSchema = exports.file_mochabugapis_adapt_plugins_v1_vertex = void 0; const codegenv2_1 = require("@bufbuild/protobuf/codegenv2"); const validate_pb_js_1 = require("../../../../buf/validate/validate_pb.js"); /** * Describes the file mochabugapis/adapt/plugins/v1/vertex.proto. */ exports.file_mochabugapis_adapt_plugins_v1_vertex = (0, codegenv2_1.fileDesc)("Ciptb2NoYWJ1Z2FwaXMvYWRhcHQvcGx1Z2lucy92MS92ZXJ0ZXgucHJvdG8SHW1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxIpMECgZWZXJ0ZXgSMwoEbmFtZRgBIAEoCUIlukgiciAQARhkMhpeW18kYS16QS1aXVtfJGEtekEtWjAtOV0qJBIYCgVsYWJlbBgCIAEoCUIJukgGcgQQARhkEiQKC2Rlc2NyaXB0aW9uGAMgASgJQgq6SAdyBRABGPoBSACIAQESYgoEbG9nbxgEIAEoCUJPukhMckoQAhiAIDJDXihbXi9dKygvW14vXSspKilcLihnaWZ8anBnfGpwZWd8amZpZnxwanBlZ3xwanB8cG5nfHN2Z3x3ZWJwfGF2aWYpJEgBiAEBElIKDGNhcGFiaWxpdGllcxgFIAMoDjIpLm1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxLkNhcGFiaWxpdHlCEbpIDpIBCxgBIgeCAQQQASAAEjIKBmNvbmZpZxgGIAEoCUIdukgachgQBRiAIDIRXihbXi9dKygvW14vXSspKilIAogBARI2CghtZXRhZGF0YRgHIAEoCUIkukghch8QBRiAIDIYXihbXi9dKygvW14vXSspKilcLmpzb24kEiQKDXVzZXJfc2VydmljZXMYCCADKAlCDbpICpIBBwgAEPQDGAESFwoKZGVwcmVjYXRlZBgJIAEoCEgDiAEBQg4KDF9kZXNjcmlwdGlvbkIHCgVfbG9nb0IJCgdfY29uZmlnQg0KC19kZXByZWNhdGVkKosBCgpDYXBhYmlsaXR5EhoKFkNBUEFCSUxJVFlfVU5TUEVDSUZJRUQQABITCg9DQVBBQklMSVRZX0NST04QARIXChNDQVBBQklMSVRZX0VYVEVSTkFMEAISGwoXQ0FQQUJJTElUWV9DT05GSUdVUkFUT1IQAxIWChJDQVBBQklMSVRZX0JST1dTRVIQBGIGcHJvdG8z", [validate_pb_js_1.file_buf_validate_validate]); /** * Describes the message mochabugapis.adapt.plugins.v1.Vertex. * Use `create(VertexSchema)` to create a new message. */ exports.VertexSchema = (0, codegenv2_1.messageDesc)(exports.file_mochabugapis_adapt_plugins_v1_vertex, 0); /** * The capabilities of a vertex defines how the vertex is interracted with * If the vertex has the cron capabilitiy, then a cron-scheduler will call the * cron endpoint periodically until the vertex has finished or stopped * If the vertex has external browser capabiltity, there will be an external endpoint * where a third-party can communicate with the vertex * If the vertex has a configurator, then the vertex will be able to be configured dynamically * * @generated from enum mochabugapis.adapt.plugins.v1.Capability */ var Capability; (function (Capability) { /** * Unspecified capability (default value, should not be used). * * @generated from enum value: CAPABILITY_UNSPECIFIED = 0; */ Capability[Capability["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** * Cron capability, indicating that the vertex can be triggered at specific * intervals. * * @generated from enum value: CAPABILITY_CRON = 1; */ Capability[Capability["CRON"] = 1] = "CRON"; /** * The external capability, indicating that the vertex can be accessed via a * publicly routable address. * * @generated from enum value: CAPABILITY_EXTERNAL = 2; */ Capability[Capability["EXTERNAL"] = 2] = "EXTERNAL"; /** * Configurator capability, indicating that the vertex can be configured * dynamically by a vertex-defined interface. * * @generated from enum value: CAPABILITY_CONFIGURATOR = 3; */ Capability[Capability["CONFIGURATOR"] = 3] = "CONFIGURATOR"; /** * Browser capability, indicating that the vertex can be accessed via a * browser context. * * @generated from enum value: CAPABILITY_BROWSER = 4; */ Capability[Capability["BROWSER"] = 4] = "BROWSER"; })(Capability || (exports.Capability = Capability = {})); /** * Describes the enum mochabugapis.adapt.plugins.v1.Capability. */ exports.CapabilitySchema = (0, codegenv2_1.enumDesc)(exports.file_mochabugapis_adapt_plugins_v1_vertex, 0); //# sourceMappingURL=vertex_pb.js.map