UNPKG

@mochabug/adapt-web

Version:

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

77 lines 4.58 kB
// 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. import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js"; import { file_mochabugapis_adapt_plugins_v1_service_binding } from "./service_binding_pb.js"; /** * Describes the file mochabugapis/adapt/plugins/v1/vertex.proto. */ export const file_mochabugapis_adapt_plugins_v1_vertex = /*@__PURE__*/ fileDesc("Ciptb2NoYWJ1Z2FwaXMvYWRhcHQvcGx1Z2lucy92MS92ZXJ0ZXgucHJvdG8SHW1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxIrAFCgZWZXJ0ZXgSLQoEbmFtZRgBIAEoCUIfukgcchoQARhkMhReW18kYS16XVtfJGEtejAtOV0qJBIYCgVsYWJlbBgCIAEoCUIJukgGcgQQARhkEicKC2Rlc2NyaXB0aW9uGAMgASgJQg26SArYAQFyBRABGPoBSACIAQESZQoEbG9nbxgEIAEoCUJSukhP2AEBckoQAhiAIDJDXihbXi9dKygvW14vXSspKilcLihnaWZ8anBnfGpwZWd8amZpZnxwanBlZ3xwanB8cG5nfHN2Z3x3ZWJwfGF2aWYpJEgBiAEBElIKDGNhcGFiaWxpdGllcxgFIAMoDjIpLm1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxLkNhcGFiaWxpdHlCEbpIDpIBCxgBIgeCAQQQASAAEjIKBmNvbmZpZxgGIAEoCUIdukgachgQBRiAIDIRXihbXi9dKygvW14vXSspKilIAogBARI2CghtZXRhZGF0YRgHIAEoCUIkukghch8QBRiAIDIYXihbXi9dKygvW14vXSspKilcLmpzb24kEsABCg11c2VyX3NlcnZpY2VzGAggAygLMi0ubW9jaGFidWdhcGlzLmFkYXB0LnBsdWdpbnMudjEuU2VydmljZUJpbmRpbmdCerpId7oBbQocc3lzdGVtX3NlcnZpY2VzX3VuaXF1ZV9uYW1lcxIjYSBuYW1lIGNhbm5vdCBhcHBlYXIgbW9yZSB0aGFuIG9uY2UaKHRoaXMubWFwKHNlcnZpY2UsIHNlcnZpY2UubmFtZSkudW5pcXVlKCmSAQQIABAUEhcKCmRlcHJlY2F0ZWQYCSABKAhIA4gBAUIOCgxfZGVzY3JpcHRpb25CBwoFX2xvZ29CCQoHX2NvbmZpZ0INCgtfZGVwcmVjYXRlZCqLAQoKQ2FwYWJpbGl0eRIaChZDQVBBQklMSVRZX1VOU1BFQ0lGSUVEEAASEwoPQ0FQQUJJTElUWV9DUk9OEAESFwoTQ0FQQUJJTElUWV9FWFRFUk5BTBACEhsKF0NBUEFCSUxJVFlfQ09ORklHVVJBVE9SEAMSFgoSQ0FQQUJJTElUWV9CUk9XU0VSEARiBnByb3RvMw", [file_buf_validate_validate, file_mochabugapis_adapt_plugins_v1_service_binding]); /** * Describes the message mochabugapis.adapt.plugins.v1.Vertex. * Use `create(VertexSchema)` to create a new message. */ export const VertexSchema = /*@__PURE__*/ messageDesc(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 */ export 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 || (Capability = {})); /** * Describes the enum mochabugapis.adapt.plugins.v1.Capability. */ export const CapabilitySchema = /*@__PURE__*/ enumDesc(file_mochabugapis_adapt_plugins_v1_vertex, 0); //# sourceMappingURL=vertex_pb.js.map