Move quixos protocol to repository root
This commit is contained in:
@@ -0,0 +1,403 @@
|
||||
// @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 { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file quixos/orch.proto.
|
||||
*/
|
||||
export const file_quixos_orch: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChFxdWl4b3Mvb3JjaC5wcm90bxILcXVpeG9zLm9yY2gizAEKFUludm9rZUZ1bmN0aW9uUmVxdWVzdBIlCghmdW5jdGlvbhgBIAEoCzITLnF1aXhvcy5GdW5jdGlvblJlZhIRCglvYmplY3RfaWQYAiABKAkSPAoFaW5wdXQYAyADKAsyLS5xdWl4b3Mub3JjaC5JbnZva2VGdW5jdGlvblJlcXVlc3QuSW5wdXRFbnRyeRo7CgpJbnB1dEVudHJ5EgsKA2tleRgBIAEoCRIcCgV2YWx1ZRgCIAEoCzINLmNhbWluby5WYWx1ZToCOAEilgEKFkludm9rZUZ1bmN0aW9uUmVzcG9uc2USFQoNaW52b2NhdGlvbl9pZBgBIAEoCRIrCgphY3RpdmF0aW9uGAIgASgLMhcucXVpeG9zLm9yY2guQWN0aXZhdGlvbhIKCgJvaxgDIAEoCBIdCgZyZXN1bHQYBCABKAsyDS5jYW1pbm8uVmFsdWUSDQoFZXJyb3IYBSABKAkiGAoWTGlzdEFjdGl2YXRpb25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||
|
||||
/**
|
||||
* @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<string, camino.Value> input = 3;
|
||||
*/
|
||||
input: { [key: string]: Value };
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message quixos.orch.InvokeFunctionRequest.
|
||||
* Use `create(InvokeFunctionRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const InvokeFunctionRequestSchema: GenMessage<InvokeFunctionRequest> = /*@__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<InvokeFunctionResponse> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_orch, 1);
|
||||
|
||||
/**
|
||||
* @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<ListActivationsRequest> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_orch, 2);
|
||||
|
||||
/**
|
||||
* @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<ListPackageDescriptorsRequest> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_orch, 3);
|
||||
|
||||
/**
|
||||
* @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<ListPackageDescriptorsResponse> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_orch, 4);
|
||||
|
||||
/**
|
||||
* @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<ListPackageRuntimesRequest> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_orch, 5);
|
||||
|
||||
/**
|
||||
* @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<ListPackageRuntimesResponse> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_orch, 6);
|
||||
|
||||
/**
|
||||
* @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<ListActivationsResponse> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_orch, 7);
|
||||
|
||||
/**
|
||||
* @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<CloseActivationRequest> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_orch, 8);
|
||||
|
||||
/**
|
||||
* @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<CloseActivationResponse> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_orch, 9);
|
||||
|
||||
/**
|
||||
* @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<Activation> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_orch, 10);
|
||||
|
||||
/**
|
||||
* @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<PackageRuntimeStatus> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_orch, 11);
|
||||
|
||||
/**
|
||||
* @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.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);
|
||||
@@ -0,0 +1,312 @@
|
||||
// @generated by protoc-gen-es v2.12.1 with parameter "target=ts,import_extension=js"
|
||||
// @generated from file quixos/package.proto (package quixos, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
||||
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import type { SymbolRef } from "../camino/schema_pb.js";
|
||||
import { file_camino_schema } from "../camino/schema_pb.js";
|
||||
import type { FunctionRef } from "./refs_pb.js";
|
||||
import { file_quixos_refs } from "./refs_pb.js";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file quixos/package.proto.
|
||||
*/
|
||||
export const file_quixos_package: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChRxdWl4b3MvcGFja2FnZS5wcm90bxIGcXVpeG9zIm4KClBhY2thZ2VSZWYSGQoRcGFja2FnZV9uYW1lc3BhY2UYASABKAkSFAoMcGFja2FnZV9uYW1lGAIgASgJEhoKEmRlc2NyaXB0b3JfdmVyc2lvbhgDIAEoDRITCgt2ZXJzaW9uX3JlZhgEIAEoCSKgBAoRUGFja2FnZURlc2NyaXB0b3ISGQoRcGFja2FnZV9uYW1lc3BhY2UYASABKAkSFAoMcGFja2FnZV9uYW1lGAIgASgJEhoKEmRlc2NyaXB0b3JfdmVyc2lvbhgDIAEoDRIkChxpbnRlcmZhY2VfY29tcGF0aWJsZV9iYWNrX3RvGAQgASgNEiEKGXJ1bm5lcl9jb21wYXRpYmxlX2JhY2tfdG8YBSABKA0SEwoLc291cmNlX3JlcG8YBiABKAkSEgoKc291cmNlX3JlZhgHIAEoCRIbChNyZXNvbHZlZF9zb3VyY2VfcmVmGAggASgJEhoKEnNlcnZlcl9pbn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JAocaW50ZXJmYWNlX2NvbXBhdGlibGVfYmFja190bxgCIAEoDRIZChFyZWZhY3Rvcl9yZXF1aXJlZBgDIAEoCBIaChJjb21wYXRpYmlsaXR5X25vdGUYBCABKAkqcQoWRnVuY3Rpb25DYXBhYmlsaXR5S2luZBIoCiRGVU5DVElPTl9DQVBBQklMSVRZX0tJTkRfVU5TUEVDSUZJRUQQABIKCgZNRVRIT0QQARISCg5GSUVMRF9SRVNPTFZFUhACEg0KCU1JR1JBVElPThADYgZwcm90bzM", [file_camino_schema, file_quixos_refs]);
|
||||
|
||||
/**
|
||||
* @generated from message quixos.PackageRef
|
||||
*/
|
||||
export type PackageRef = Message<"quixos.PackageRef"> & {
|
||||
/**
|
||||
* @generated from field: string package_namespace = 1;
|
||||
*/
|
||||
packageNamespace: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string package_name = 2;
|
||||
*/
|
||||
packageName: string;
|
||||
|
||||
/**
|
||||
* @generated from field: uint32 descriptor_version = 3;
|
||||
*/
|
||||
descriptorVersion: number;
|
||||
|
||||
/**
|
||||
* @generated from field: string version_ref = 4;
|
||||
*/
|
||||
versionRef: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message quixos.PackageRef.
|
||||
* Use `create(PackageRefSchema)` to create a new message.
|
||||
*/
|
||||
export const PackageRefSchema: GenMessage<PackageRef> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_package, 0);
|
||||
|
||||
/**
|
||||
* @generated from message quixos.PackageDescriptor
|
||||
*/
|
||||
export type PackageDescriptor = Message<"quixos.PackageDescriptor"> & {
|
||||
/**
|
||||
* @generated from field: string package_namespace = 1;
|
||||
*/
|
||||
packageNamespace: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string package_name = 2;
|
||||
*/
|
||||
packageName: string;
|
||||
|
||||
/**
|
||||
* @generated from field: uint32 descriptor_version = 3;
|
||||
*/
|
||||
descriptorVersion: number;
|
||||
|
||||
/**
|
||||
* @generated from field: uint32 interface_compatible_back_to = 4;
|
||||
*/
|
||||
interfaceCompatibleBackTo: number;
|
||||
|
||||
/**
|
||||
* @generated from field: uint32 runner_compatible_back_to = 5;
|
||||
*/
|
||||
runnerCompatibleBackTo: number;
|
||||
|
||||
/**
|
||||
* @generated from field: string source_repo = 6;
|
||||
*/
|
||||
sourceRepo: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string source_ref = 7;
|
||||
*/
|
||||
sourceRef: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string resolved_source_ref = 8;
|
||||
*/
|
||||
resolvedSourceRef: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string server_installable = 9;
|
||||
*/
|
||||
serverInstallable: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string runtime_protocol_version = 10;
|
||||
*/
|
||||
runtimeProtocolVersion: string;
|
||||
|
||||
/**
|
||||
* @generated from field: repeated quixos.ClassExport class_exports = 11;
|
||||
*/
|
||||
classExports: ClassExport[];
|
||||
|
||||
/**
|
||||
* @generated from field: repeated quixos.FunctionExport function_exports = 12;
|
||||
*/
|
||||
functionExports: FunctionExport[];
|
||||
|
||||
/**
|
||||
* @generated from field: repeated quixos.ComponentExport component_exports = 13;
|
||||
*/
|
||||
componentExports: ComponentExport[];
|
||||
|
||||
/**
|
||||
* @generated from field: repeated quixos.SidecarExport sidecar_exports = 14;
|
||||
*/
|
||||
sidecarExports: SidecarExport[];
|
||||
|
||||
/**
|
||||
* @generated from field: repeated quixos.PackageDependency dependencies = 15;
|
||||
*/
|
||||
dependencies: PackageDependency[];
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message quixos.PackageDescriptor.
|
||||
* Use `create(PackageDescriptorSchema)` to create a new message.
|
||||
*/
|
||||
export const PackageDescriptorSchema: GenMessage<PackageDescriptor> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_package, 1);
|
||||
|
||||
/**
|
||||
* @generated from message quixos.ClassExport
|
||||
*/
|
||||
export type ClassExport = Message<"quixos.ClassExport"> & {
|
||||
/**
|
||||
* @generated from field: camino.SymbolRef class_id = 1;
|
||||
*/
|
||||
classId?: SymbolRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: string source_file = 2;
|
||||
*/
|
||||
sourceFile: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message quixos.ClassExport.
|
||||
* Use `create(ClassExportSchema)` to create a new message.
|
||||
*/
|
||||
export const ClassExportSchema: GenMessage<ClassExport> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_package, 2);
|
||||
|
||||
/**
|
||||
* @generated from message quixos.FunctionExport
|
||||
*/
|
||||
export type FunctionExport = Message<"quixos.FunctionExport"> & {
|
||||
/**
|
||||
* @generated from field: quixos.FunctionRef function = 1;
|
||||
*/
|
||||
function?: FunctionRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: string input_type = 2;
|
||||
*/
|
||||
inputType: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string output_type = 3;
|
||||
*/
|
||||
outputType: string;
|
||||
|
||||
/**
|
||||
* @generated from field: uint32 interface_version = 4;
|
||||
*/
|
||||
interfaceVersion: number;
|
||||
|
||||
/**
|
||||
* @generated from field: uint32 interface_compatible_back_to = 5;
|
||||
*/
|
||||
interfaceCompatibleBackTo: number;
|
||||
|
||||
/**
|
||||
* @generated from field: quixos.FunctionCapabilityKind capability_kind = 6;
|
||||
*/
|
||||
capabilityKind: FunctionCapabilityKind;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message quixos.FunctionExport.
|
||||
* Use `create(FunctionExportSchema)` to create a new message.
|
||||
*/
|
||||
export const FunctionExportSchema: GenMessage<FunctionExport> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_package, 3);
|
||||
|
||||
/**
|
||||
* @generated from message quixos.ComponentExport
|
||||
*/
|
||||
export type ComponentExport = Message<"quixos.ComponentExport"> & {
|
||||
/**
|
||||
* @generated from field: string symbol = 1;
|
||||
*/
|
||||
symbol: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string props_type = 2;
|
||||
*/
|
||||
propsType: string;
|
||||
|
||||
/**
|
||||
* @generated from field: repeated camino.SymbolRef supported_classes = 3;
|
||||
*/
|
||||
supportedClasses: SymbolRef[];
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message quixos.ComponentExport.
|
||||
* Use `create(ComponentExportSchema)` to create a new message.
|
||||
*/
|
||||
export const ComponentExportSchema: GenMessage<ComponentExport> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_package, 4);
|
||||
|
||||
/**
|
||||
* @generated from message quixos.SidecarExport
|
||||
*/
|
||||
export type SidecarExport = Message<"quixos.SidecarExport"> & {
|
||||
/**
|
||||
* @generated from field: string symbol = 1;
|
||||
*/
|
||||
symbol: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string side_effect_mode = 2;
|
||||
*/
|
||||
sideEffectMode: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message quixos.SidecarExport.
|
||||
* Use `create(SidecarExportSchema)` to create a new message.
|
||||
*/
|
||||
export const SidecarExportSchema: GenMessage<SidecarExport> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_package, 5);
|
||||
|
||||
/**
|
||||
* @generated from message quixos.PackageDependency
|
||||
*/
|
||||
export type PackageDependency = Message<"quixos.PackageDependency"> & {
|
||||
/**
|
||||
* @generated from field: quixos.PackageRef package = 1;
|
||||
*/
|
||||
package?: PackageRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: uint32 interface_compatible_back_to = 2;
|
||||
*/
|
||||
interfaceCompatibleBackTo: number;
|
||||
|
||||
/**
|
||||
* @generated from field: bool refactor_required = 3;
|
||||
*/
|
||||
refactorRequired: boolean;
|
||||
|
||||
/**
|
||||
* @generated from field: string compatibility_note = 4;
|
||||
*/
|
||||
compatibilityNote: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message quixos.PackageDependency.
|
||||
* Use `create(PackageDependencySchema)` to create a new message.
|
||||
*/
|
||||
export const PackageDependencySchema: GenMessage<PackageDependency> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_package, 6);
|
||||
|
||||
/**
|
||||
* @generated from enum quixos.FunctionCapabilityKind
|
||||
*/
|
||||
export enum FunctionCapabilityKind {
|
||||
/**
|
||||
* @generated from enum value: FUNCTION_CAPABILITY_KIND_UNSPECIFIED = 0;
|
||||
*/
|
||||
FUNCTION_CAPABILITY_KIND_UNSPECIFIED = 0,
|
||||
|
||||
/**
|
||||
* @generated from enum value: METHOD = 1;
|
||||
*/
|
||||
METHOD = 1,
|
||||
|
||||
/**
|
||||
* @generated from enum value: FIELD_RESOLVER = 2;
|
||||
*/
|
||||
FIELD_RESOLVER = 2,
|
||||
|
||||
/**
|
||||
* @generated from enum value: MIGRATION = 3;
|
||||
*/
|
||||
MIGRATION = 3,
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes the enum quixos.FunctionCapabilityKind.
|
||||
*/
|
||||
export const FunctionCapabilityKindSchema: GenEnum<FunctionCapabilityKind> = /*@__PURE__*/
|
||||
enumDesc(file_quixos_package, 0);
|
||||
@@ -0,0 +1,50 @@
|
||||
// @generated by protoc-gen-es v2.12.1 with parameter "target=ts,import_extension=js"
|
||||
// @generated from file quixos/refs.proto (package quixos, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
||||
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file quixos/refs.proto.
|
||||
*/
|
||||
export const file_quixos_refs: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChFxdWl4b3MvcmVmcy5wcm90bxIGcXVpeG9zInYKC0Z1bmN0aW9uUmVmEhkKEXBhY2thZ2VfbmFtZXNwYWNlGAEgASgJEhQKDHBhY2thZ2VfbmFtZRgCIAEoCRIOCgZzeW1ib2wYAyABKAkSEwoLdmVyc2lvbl9yZWYYBCABKAkSEQoJb3BlcmF0aW9uGAUgASgJYgZwcm90bzM");
|
||||
|
||||
/**
|
||||
* @generated from message quixos.FunctionRef
|
||||
*/
|
||||
export type FunctionRef = Message<"quixos.FunctionRef"> & {
|
||||
/**
|
||||
* @generated from field: string package_namespace = 1;
|
||||
*/
|
||||
packageNamespace: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string package_name = 2;
|
||||
*/
|
||||
packageName: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string symbol = 3;
|
||||
*/
|
||||
symbol: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string version_ref = 4;
|
||||
*/
|
||||
versionRef: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string operation = 5;
|
||||
*/
|
||||
operation: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message quixos.FunctionRef.
|
||||
* Use `create(FunctionRefSchema)` to create a new message.
|
||||
*/
|
||||
export const FunctionRefSchema: GenMessage<FunctionRef> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_refs, 0);
|
||||
@@ -0,0 +1,148 @@
|
||||
// @generated by protoc-gen-es v2.12.1 with parameter "target=ts,import_extension=js"
|
||||
// @generated from file quixos/runtime.proto (package quixos.runtime, 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 { FunctionRef } from "./refs_pb.js";
|
||||
import { file_quixos_refs } from "./refs_pb.js";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file quixos/runtime.proto.
|
||||
*/
|
||||
export const file_quixos_runtime: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChRxdWl4b3MvcnVudGltZS5wcm90bxIOcXVpeG9zLnJ1bnRpbWUiMQoQSGFuZHNoYWtlUmVxdWVzdBIdChVvcmNoX3Byb3RvY29sX3ZlcnNpb24YASABKAkijgEKEUhhbmRzaGFrZVJlc3BvbnNlEhkKEXBhY2thZ2VfbmFtZXNwYWNlGAEgASgJEhQKDHBhY2thZ2VfbmFtZRgCIAEoCRIgChhydW50aW1lX3Byb3RvY29sX3ZlcnNpb24YAyABKAkSJgoJZnVuY3Rpb25zGAQgAygLMhMucXVpeG9zLkZ1bmN0aW9uUmVmItYBCg1JbnZva2VSZXF1ZXN0EhUKDWludm9jYXRpb25faWQYASABKAkSJQoIZnVuY3Rpb24YAiABKAsyEy5xdWl4b3MuRnVuY3Rpb25SZWYSEQoJb2JqZWN0X2lkGAMgASgJEjcKBWlucHV0GAQgAygLMigucXVpeG9zLnJ1bnRpbWUuSW52b2tlUmVxdWVzdC5JbnB1dEVudHJ5GjsKCklucHV0RW50cnkSCwoDa2V5GAEgASgJEhwKBXZhbHVlGAIgASgLMg0uY2FtaW5vLlZhbHVlOgI4ASJKCg5JbnZva2VSZXNwb25zZRIKCgJvaxgBIAEoCBIdCgZyZXN1bHQYAiABKAsyDS5jYW1pbm8uVmFsdWUSDQoFZXJyb3IYAyABKAkyqwEKDlBhY2thZ2VSdW50aW1lElAKCUhhbmRzaGFrZRIgLnF1aXhvcy5ydW50aW1lLkhhbmRzaGFrZVJlcXVlc3QaIS5xdWl4b3MucnVudGltZS5IYW5kc2hha2VSZXNwb25zZRJHCgZJbnZva2USHS5xdWl4b3MucnVudGltZS5JbnZva2VSZXF1ZXN0Gh4ucXVpeG9zLnJ1bnRpbWUuSW52b2tlUmVzcG9uc2ViBnByb3RvMw", [file_camino_api, file_quixos_refs]);
|
||||
|
||||
/**
|
||||
* @generated from message quixos.runtime.HandshakeRequest
|
||||
*/
|
||||
export type HandshakeRequest = Message<"quixos.runtime.HandshakeRequest"> & {
|
||||
/**
|
||||
* @generated from field: string orch_protocol_version = 1;
|
||||
*/
|
||||
orchProtocolVersion: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message quixos.runtime.HandshakeRequest.
|
||||
* Use `create(HandshakeRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const HandshakeRequestSchema: GenMessage<HandshakeRequest> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_runtime, 0);
|
||||
|
||||
/**
|
||||
* @generated from message quixos.runtime.HandshakeResponse
|
||||
*/
|
||||
export type HandshakeResponse = Message<"quixos.runtime.HandshakeResponse"> & {
|
||||
/**
|
||||
* @generated from field: string package_namespace = 1;
|
||||
*/
|
||||
packageNamespace: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string package_name = 2;
|
||||
*/
|
||||
packageName: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string runtime_protocol_version = 3;
|
||||
*/
|
||||
runtimeProtocolVersion: string;
|
||||
|
||||
/**
|
||||
* @generated from field: repeated quixos.FunctionRef functions = 4;
|
||||
*/
|
||||
functions: FunctionRef[];
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message quixos.runtime.HandshakeResponse.
|
||||
* Use `create(HandshakeResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const HandshakeResponseSchema: GenMessage<HandshakeResponse> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_runtime, 1);
|
||||
|
||||
/**
|
||||
* @generated from message quixos.runtime.InvokeRequest
|
||||
*/
|
||||
export type InvokeRequest = Message<"quixos.runtime.InvokeRequest"> & {
|
||||
/**
|
||||
* @generated from field: string invocation_id = 1;
|
||||
*/
|
||||
invocationId: string;
|
||||
|
||||
/**
|
||||
* @generated from field: quixos.FunctionRef function = 2;
|
||||
*/
|
||||
function?: FunctionRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: string object_id = 3;
|
||||
*/
|
||||
objectId: string;
|
||||
|
||||
/**
|
||||
* @generated from field: map<string, camino.Value> input = 4;
|
||||
*/
|
||||
input: { [key: string]: Value };
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message quixos.runtime.InvokeRequest.
|
||||
* Use `create(InvokeRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const InvokeRequestSchema: GenMessage<InvokeRequest> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_runtime, 2);
|
||||
|
||||
/**
|
||||
* @generated from message quixos.runtime.InvokeResponse
|
||||
*/
|
||||
export type InvokeResponse = Message<"quixos.runtime.InvokeResponse"> & {
|
||||
/**
|
||||
* @generated from field: bool ok = 1;
|
||||
*/
|
||||
ok: boolean;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.Value result = 2;
|
||||
*/
|
||||
result?: Value | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: string error = 3;
|
||||
*/
|
||||
error: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message quixos.runtime.InvokeResponse.
|
||||
* Use `create(InvokeResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const InvokeResponseSchema: GenMessage<InvokeResponse> = /*@__PURE__*/
|
||||
messageDesc(file_quixos_runtime, 3);
|
||||
|
||||
/**
|
||||
* @generated from service quixos.runtime.PackageRuntime
|
||||
*/
|
||||
export const PackageRuntime: GenService<{
|
||||
/**
|
||||
* @generated from rpc quixos.runtime.PackageRuntime.Handshake
|
||||
*/
|
||||
handshake: {
|
||||
methodKind: "unary";
|
||||
input: typeof HandshakeRequestSchema;
|
||||
output: typeof HandshakeResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc quixos.runtime.PackageRuntime.Invoke
|
||||
*/
|
||||
invoke: {
|
||||
methodKind: "unary";
|
||||
input: typeof InvokeRequestSchema;
|
||||
output: typeof InvokeResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_quixos_runtime, 0);
|
||||
Reference in New Issue
Block a user