// @generated by protoc-gen-es v2.12.1 with parameter "target=ts,import_extension=js" // @generated from file quixos/orch.proto (package quixos.orch, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import type { Value } from "../camino/api_pb.js"; import { file_camino_api } from "../camino/api_pb.js"; import type { PackageDescriptor } from "./package_pb.js"; import { file_quixos_package } from "./package_pb.js"; import type { FunctionRef } from "./refs_pb.js"; import { file_quixos_refs } from "./refs_pb.js"; import type { DerivedDependency } from "./runtime_pb.js"; import { file_quixos_runtime } from "./runtime_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file quixos/orch.proto. */ export const file_quixos_orch: GenFile = /*@__PURE__*/ fileDesc("ChFxdWl4b3Mvb3JjaC5wcm90bxILcXVpeG9zLm9yY2gizAEKFUludm9rZUZ1bmN0aW9uUmVxdWVzdBIlCghmdW5jdGlvbhgBIAEoCzITLnF1aXhvcy5GdW5jdGlvblJlZhIRCglvYmplY3RfaWQYAiABKAkSPAoFaW5wdXQYAyADKAsyLS5xdWl4b3Mub3JjaC5JbnZva2VGdW5jdGlvblJlcXVlc3QuSW5wdXRFbnRyeRo7CgpJbnB1dEVudHJ5EgsKA2tleRgBIAEoCRIcCgV2YWx1ZRgCIAEoCzINLmNhbWluby5WYWx1ZToCOAEilgEKFkludm9rZUZ1bmN0aW9uUmVzcG9uc2USFQoNaW52b2NhdGlvbl9pZBgBIAEoCRIrCgphY3RpdmF0aW9uGAIgASgLMhcucXVpeG9zLm9yY2guQWN0aXZhdGlvbhIKCgJvaxgDIAEoCBIdCgZyZXN1bHQYBCABKAsyDS5jYW1pbm8uVmFsdWUSDQoFZXJyb3IYBSABKAkiygEKFFdhdGNoRnVuY3Rpb25SZXF1ZXN0EiUKCGZ1bmN0aW9uGAEgASgLMhMucXVpeG9zLkZ1bmN0aW9uUmVmEhEKCW9iamVjdF9pZBgCIAEoCRI7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ABEnEKFkxpc3RQYWNrYWdlRGVzY3JpcHRvcnMSKi5xdWl4b3Mub3JjaC5MaXN0UGFja2FnZURlc2NyaXB0b3JzUmVxdWVzdBorLnF1aXhvcy5vcmNoLkxpc3RQYWNrYWdlRGVzY3JpcHRvcnNSZXNwb25zZRJoChNMaXN0UGFja2FnZVJ1bnRpbWVzEicucXVpeG9zLm9yY2guTGlzdFBhY2thZ2VSdW50aW1lc1JlcXVlc3QaKC5xdWl4b3Mub3JjaC5MaXN0UGFja2FnZVJ1bnRpbWVzUmVzcG9uc2USXAoPTGlzdEFjdGl2YXRpb25zEiMucXVpeG9zLm9yY2guTGlzdEFjdGl2YXRpb25zUmVxdWVzdBokLnF1aXhvcy5vcmNoLkxpc3RBY3RpdmF0aW9uc1Jlc3BvbnNlElwKD0Nsb3NlQWN0aXZhdGlvbhIjLnF1aXhvcy5vcmNoLkNsb3NlQWN0aXZhdGlvblJlcXVlc3QaJC5xdWl4b3Mub3JjaC5DbG9zZUFjdGl2YXRpb25SZXNwb25zZWIGcHJvdG8z", [file_camino_api, file_quixos_package, file_quixos_refs, file_quixos_runtime]); /** * @generated from message quixos.orch.InvokeFunctionRequest */ export type InvokeFunctionRequest = Message<"quixos.orch.InvokeFunctionRequest"> & { /** * @generated from field: quixos.FunctionRef function = 1; */ function?: FunctionRef | undefined; /** * @generated from field: string object_id = 2; */ objectId: string; /** * @generated from field: map input = 3; */ input: { [key: string]: Value }; }; /** * Describes the message quixos.orch.InvokeFunctionRequest. * Use `create(InvokeFunctionRequestSchema)` to create a new message. */ export const InvokeFunctionRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 0); /** * @generated from message quixos.orch.InvokeFunctionResponse */ export type InvokeFunctionResponse = Message<"quixos.orch.InvokeFunctionResponse"> & { /** * @generated from field: string invocation_id = 1; */ invocationId: string; /** * @generated from field: quixos.orch.Activation activation = 2; */ activation?: Activation | undefined; /** * @generated from field: bool ok = 3; */ ok: boolean; /** * @generated from field: camino.Value result = 4; */ result?: Value | undefined; /** * @generated from field: string error = 5; */ error: string; }; /** * Describes the message quixos.orch.InvokeFunctionResponse. * Use `create(InvokeFunctionResponseSchema)` to create a new message. */ export const InvokeFunctionResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 1); /** * @generated from message quixos.orch.WatchFunctionRequest */ export type WatchFunctionRequest = Message<"quixos.orch.WatchFunctionRequest"> & { /** * @generated from field: quixos.FunctionRef function = 1; */ function?: FunctionRef | undefined; /** * @generated from field: string object_id = 2; */ objectId: string; /** * @generated from field: map input = 3; */ input: { [key: string]: Value }; }; /** * Describes the message quixos.orch.WatchFunctionRequest. * Use `create(WatchFunctionRequestSchema)` to create a new message. */ export const WatchFunctionRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 2); /** * @generated from message quixos.orch.WatchFunctionEvent */ export type WatchFunctionEvent = Message<"quixos.orch.WatchFunctionEvent"> & { /** * @generated from field: string invocation_id = 1; */ invocationId: string; /** * @generated from field: quixos.orch.Activation activation = 2; */ activation?: Activation | undefined; /** * @generated from field: string watch_id = 3; */ watchId: string; /** * @generated from field: camino.Value value = 4; */ value?: Value | undefined; /** * @generated from field: repeated quixos.runtime.DerivedDependency dependencies = 5; */ dependencies: DerivedDependency[]; /** * @generated from field: string error = 6; */ error: string; /** * @generated from field: bool initial = 7; */ initial: boolean; }; /** * Describes the message quixos.orch.WatchFunctionEvent. * Use `create(WatchFunctionEventSchema)` to create a new message. */ export const WatchFunctionEventSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 3); /** * @generated from message quixos.orch.ListActivationsRequest */ export type ListActivationsRequest = Message<"quixos.orch.ListActivationsRequest"> & { }; /** * Describes the message quixos.orch.ListActivationsRequest. * Use `create(ListActivationsRequestSchema)` to create a new message. */ export const ListActivationsRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 4); /** * @generated from message quixos.orch.ListPackageDescriptorsRequest */ export type ListPackageDescriptorsRequest = Message<"quixos.orch.ListPackageDescriptorsRequest"> & { }; /** * Describes the message quixos.orch.ListPackageDescriptorsRequest. * Use `create(ListPackageDescriptorsRequestSchema)` to create a new message. */ export const ListPackageDescriptorsRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 5); /** * @generated from message quixos.orch.ListPackageDescriptorsResponse */ export type ListPackageDescriptorsResponse = Message<"quixos.orch.ListPackageDescriptorsResponse"> & { /** * @generated from field: repeated quixos.PackageDescriptor descriptors = 1; */ descriptors: PackageDescriptor[]; }; /** * Describes the message quixos.orch.ListPackageDescriptorsResponse. * Use `create(ListPackageDescriptorsResponseSchema)` to create a new message. */ export const ListPackageDescriptorsResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 6); /** * @generated from message quixos.orch.ListPackageRuntimesRequest */ export type ListPackageRuntimesRequest = Message<"quixos.orch.ListPackageRuntimesRequest"> & { }; /** * Describes the message quixos.orch.ListPackageRuntimesRequest. * Use `create(ListPackageRuntimesRequestSchema)` to create a new message. */ export const ListPackageRuntimesRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 7); /** * @generated from message quixos.orch.ListPackageRuntimesResponse */ export type ListPackageRuntimesResponse = Message<"quixos.orch.ListPackageRuntimesResponse"> & { /** * @generated from field: repeated quixos.orch.PackageRuntimeStatus runtimes = 1; */ runtimes: PackageRuntimeStatus[]; }; /** * Describes the message quixos.orch.ListPackageRuntimesResponse. * Use `create(ListPackageRuntimesResponseSchema)` to create a new message. */ export const ListPackageRuntimesResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 8); /** * @generated from message quixos.orch.ListActivationsResponse */ export type ListActivationsResponse = Message<"quixos.orch.ListActivationsResponse"> & { /** * @generated from field: repeated quixos.orch.Activation activations = 1; */ activations: Activation[]; }; /** * Describes the message quixos.orch.ListActivationsResponse. * Use `create(ListActivationsResponseSchema)` to create a new message. */ export const ListActivationsResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 9); /** * @generated from message quixos.orch.CloseActivationRequest */ export type CloseActivationRequest = Message<"quixos.orch.CloseActivationRequest"> & { /** * @generated from field: string activation_id = 1; */ activationId: string; /** * @generated from field: string reason = 2; */ reason: string; }; /** * Describes the message quixos.orch.CloseActivationRequest. * Use `create(CloseActivationRequestSchema)` to create a new message. */ export const CloseActivationRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 10); /** * @generated from message quixos.orch.CloseActivationResponse */ export type CloseActivationResponse = Message<"quixos.orch.CloseActivationResponse"> & { /** * @generated from field: quixos.orch.Activation activation = 1; */ activation?: Activation | undefined; }; /** * Describes the message quixos.orch.CloseActivationResponse. * Use `create(CloseActivationResponseSchema)` to create a new message. */ export const CloseActivationResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 11); /** * @generated from message quixos.orch.Activation */ export type Activation = Message<"quixos.orch.Activation"> & { /** * @generated from field: string activation_id = 1; */ activationId: string; /** * @generated from field: quixos.FunctionRef function = 2; */ function?: FunctionRef | undefined; /** * @generated from field: string object_id = 3; */ objectId: string; /** * @generated from field: string state = 4; */ state: string; /** * @generated from field: uint32 demand = 5; */ demand: number; /** * @generated from field: string opened_at = 6; */ openedAt: string; /** * @generated from field: string last_used_at = 7; */ lastUsedAt: string; /** * @generated from field: string idle_deadline_at = 8; */ idleDeadlineAt: string; /** * @generated from field: string closed_at = 9; */ closedAt: string; /** * @generated from field: string close_reason = 10; */ closeReason: string; }; /** * Describes the message quixos.orch.Activation. * Use `create(ActivationSchema)` to create a new message. */ export const ActivationSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 12); /** * @generated from message quixos.orch.PackageRuntimeStatus */ export type PackageRuntimeStatus = Message<"quixos.orch.PackageRuntimeStatus"> & { /** * @generated from field: string runtime_key = 1; */ runtimeKey: string; /** * @generated from field: string package_namespace = 2; */ packageNamespace: string; /** * @generated from field: string package_name = 3; */ packageName: string; /** * @generated from field: uint32 descriptor_version = 4; */ descriptorVersion: number; /** * @generated from field: string source_repo = 5; */ sourceRepo: string; /** * @generated from field: string server_installable = 6; */ serverInstallable: string; /** * @generated from field: string source_path = 7; */ sourcePath: string; /** * @generated from field: string server_path = 8; */ serverPath: string; /** * @generated from field: uint32 pid = 9; */ pid: number; /** * @generated from field: string state = 10; */ state: string; /** * @generated from field: string started_at = 11; */ startedAt: string; /** * @generated from field: string last_handshake_at = 12; */ lastHandshakeAt: string; /** * @generated from field: string runtime_protocol_version = 13; */ runtimeProtocolVersion: string; /** * @generated from field: uint32 advertised_function_count = 14; */ advertisedFunctionCount: number; }; /** * Describes the message quixos.orch.PackageRuntimeStatus. * Use `create(PackageRuntimeStatusSchema)` to create a new message. */ export const PackageRuntimeStatusSchema: GenMessage = /*@__PURE__*/ messageDesc(file_quixos_orch, 13); /** * @generated from service quixos.orch.OrchestratorRuntime */ export const OrchestratorRuntime: GenService<{ /** * @generated from rpc quixos.orch.OrchestratorRuntime.InvokeFunction */ invokeFunction: { methodKind: "unary"; input: typeof InvokeFunctionRequestSchema; output: typeof InvokeFunctionResponseSchema; }, /** * @generated from rpc quixos.orch.OrchestratorRuntime.WatchFunction */ watchFunction: { methodKind: "server_streaming"; input: typeof WatchFunctionRequestSchema; output: typeof WatchFunctionEventSchema; }, /** * @generated from rpc quixos.orch.OrchestratorRuntime.ListPackageDescriptors */ listPackageDescriptors: { methodKind: "unary"; input: typeof ListPackageDescriptorsRequestSchema; output: typeof ListPackageDescriptorsResponseSchema; }, /** * @generated from rpc quixos.orch.OrchestratorRuntime.ListPackageRuntimes */ listPackageRuntimes: { methodKind: "unary"; input: typeof ListPackageRuntimesRequestSchema; output: typeof ListPackageRuntimesResponseSchema; }, /** * @generated from rpc quixos.orch.OrchestratorRuntime.ListActivations */ listActivations: { methodKind: "unary"; input: typeof ListActivationsRequestSchema; output: typeof ListActivationsResponseSchema; }, /** * @generated from rpc quixos.orch.OrchestratorRuntime.CloseActivation */ closeActivation: { methodKind: "unary"; input: typeof CloseActivationRequestSchema; output: typeof CloseActivationResponseSchema; }, }> = /*@__PURE__*/ serviceDesc(file_quixos_orch, 0);