Move quixos protocol to repository root
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,182 @@
|
||||
// @generated by protoc-gen-es v2.12.1 with parameter "target=ts,import_extension=js"
|
||||
// @generated from file camino/options.proto (package camino, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
||||
import { extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import type { FieldOptions, FileOptions, MessageOptions, MethodOptions as MethodOptions$1 } from "@bufbuild/protobuf/wkt";
|
||||
import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
|
||||
import type { Cardinality, ConflictStrategy, FieldOps, FieldStorage, SymbolRef } from "./schema_pb.js";
|
||||
import { file_camino_schema } from "./schema_pb.js";
|
||||
import type { FunctionRef } from "../quixos/refs_pb.js";
|
||||
import { file_quixos_refs } from "../quixos/refs_pb.js";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file camino/options.proto.
|
||||
*/
|
||||
export const file_camino_options: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChRjYW1pbm8vb3B0aW9ucy5wcm90bxIGY2FtaW5vIj4KDENsYXNzT3B0aW9ucxIPCgd2ZXJzaW9uGAEgASgNEh0KAmlkGAIgASgLMhEuY2FtaW5vLlN5bWJvbFJlZiKKAQoLRWRnZU9wdGlvbnMSHQoCaWQYASABKAsyES5jYW1pbm8uU3ltYm9sUmVmEiEKBnRhcmdldBgCIAEoCzIRLmNhbWluby5TeW1ib2xSZWYSKAoLY2FyZGluYWxpdHkYAyABKA4yEy5jYW1pbm8uQ2FyZGluYWxpdHkSDwoHaW52ZXJzZRgEIAEoCSJECg1NZXRob2RPcHRpb25zEgwKBG5hbWUYASABKAkSJQoIZnVuY3Rpb24YAiABKAsyEy5xdWl4b3MuRnVuY3Rpb25SZWYiYwoQTWlncmF0aW9uT3B0aW9ucxIUCgxmcm9tX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WxkT3BzOkkKBGltcGwSHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxjWjgMgASgLMhMucXVpeG9zLkZ1bmN0aW9uUmVmUgRpbXBsYgZwcm90bzM", [file_google_protobuf_descriptor, file_camino_schema, file_quixos_refs]);
|
||||
|
||||
/**
|
||||
* @generated from message camino.ClassOptions
|
||||
*/
|
||||
export type ClassOptions = Message<"camino.ClassOptions"> & {
|
||||
/**
|
||||
* @generated from field: uint32 version = 1;
|
||||
*/
|
||||
version: number;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.SymbolRef id = 2;
|
||||
*/
|
||||
id?: SymbolRef | undefined;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.ClassOptions.
|
||||
* Use `create(ClassOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const ClassOptionsSchema: GenMessage<ClassOptions> = /*@__PURE__*/
|
||||
messageDesc(file_camino_options, 0);
|
||||
|
||||
/**
|
||||
* @generated from message camino.EdgeOptions
|
||||
*/
|
||||
export type EdgeOptions = Message<"camino.EdgeOptions"> & {
|
||||
/**
|
||||
* @generated from field: camino.SymbolRef id = 1;
|
||||
*/
|
||||
id?: SymbolRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.SymbolRef target = 2;
|
||||
*/
|
||||
target?: SymbolRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.Cardinality cardinality = 3;
|
||||
*/
|
||||
cardinality: Cardinality;
|
||||
|
||||
/**
|
||||
* @generated from field: string inverse = 4;
|
||||
*/
|
||||
inverse: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.EdgeOptions.
|
||||
* Use `create(EdgeOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const EdgeOptionsSchema: GenMessage<EdgeOptions> = /*@__PURE__*/
|
||||
messageDesc(file_camino_options, 1);
|
||||
|
||||
/**
|
||||
* @generated from message camino.MethodOptions
|
||||
*/
|
||||
export type MethodOptions = Message<"camino.MethodOptions"> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: quixos.FunctionRef function = 2;
|
||||
*/
|
||||
function?: FunctionRef | undefined;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.MethodOptions.
|
||||
* Use `create(MethodOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const MethodOptionsSchema: GenMessage<MethodOptions> = /*@__PURE__*/
|
||||
messageDesc(file_camino_options, 2);
|
||||
|
||||
/**
|
||||
* @generated from message camino.MigrationOptions
|
||||
*/
|
||||
export type MigrationOptions = Message<"camino.MigrationOptions"> & {
|
||||
/**
|
||||
* @generated from field: uint32 from_version = 1;
|
||||
*/
|
||||
fromVersion: number;
|
||||
|
||||
/**
|
||||
* @generated from field: uint32 to_version = 2;
|
||||
*/
|
||||
toVersion: number;
|
||||
|
||||
/**
|
||||
* @generated from field: quixos.FunctionRef function = 3;
|
||||
*/
|
||||
function?: FunctionRef | undefined;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.MigrationOptions.
|
||||
* Use `create(MigrationOptionsSchema)` to create a new message.
|
||||
*/
|
||||
export const MigrationOptionsSchema: GenMessage<MigrationOptions> = /*@__PURE__*/
|
||||
messageDesc(file_camino_options, 3);
|
||||
|
||||
/**
|
||||
* @generated from extension: string schema_namespace = 51000;
|
||||
*/
|
||||
export const schema_namespace: GenExtension<FileOptions, string> = /*@__PURE__*/
|
||||
extDesc(file_camino_options, 0);
|
||||
|
||||
/**
|
||||
* @generated from extension: string schema_version = 51001;
|
||||
*/
|
||||
export const schema_version: GenExtension<FileOptions, string> = /*@__PURE__*/
|
||||
extDesc(file_camino_options, 1);
|
||||
|
||||
/**
|
||||
* @generated from extension: camino.ClassOptions class = 51010;
|
||||
*/
|
||||
export const class$: GenExtension<MessageOptions, ClassOptions> = /*@__PURE__*/
|
||||
extDesc(file_camino_options, 2);
|
||||
|
||||
/**
|
||||
* @generated from extension: repeated camino.MethodOptions method = 51011;
|
||||
*/
|
||||
export const method: GenExtension<MessageOptions, MethodOptions[]> = /*@__PURE__*/
|
||||
extDesc(file_camino_options, 3);
|
||||
|
||||
/**
|
||||
* @generated from extension: repeated camino.MigrationOptions migration = 51012;
|
||||
*/
|
||||
export const migration: GenExtension<MessageOptions, MigrationOptions[]> = /*@__PURE__*/
|
||||
extDesc(file_camino_options, 4);
|
||||
|
||||
/**
|
||||
* @generated from extension: camino.ConflictStrategy conflict = 51020;
|
||||
*/
|
||||
export const conflict: GenExtension<FieldOptions, ConflictStrategy> = /*@__PURE__*/
|
||||
extDesc(file_camino_options, 5);
|
||||
|
||||
/**
|
||||
* @generated from extension: camino.EdgeOptions edge = 51021;
|
||||
*/
|
||||
export const edge: GenExtension<FieldOptions, EdgeOptions> = /*@__PURE__*/
|
||||
extDesc(file_camino_options, 6);
|
||||
|
||||
/**
|
||||
* @generated from extension: camino.FieldStorage field_storage = 51022;
|
||||
*/
|
||||
export const field_storage: GenExtension<FieldOptions, FieldStorage> = /*@__PURE__*/
|
||||
extDesc(file_camino_options, 7);
|
||||
|
||||
/**
|
||||
* @generated from extension: camino.FieldOps field_ops = 51023;
|
||||
*/
|
||||
export const field_ops: GenExtension<FieldOptions, FieldOps> = /*@__PURE__*/
|
||||
extDesc(file_camino_options, 8);
|
||||
|
||||
/**
|
||||
* @generated from extension: quixos.FunctionRef impl = 51030;
|
||||
*/
|
||||
export const impl: GenExtension<MethodOptions$1, FunctionRef> = /*@__PURE__*/
|
||||
extDesc(file_camino_options, 9);
|
||||
@@ -0,0 +1,697 @@
|
||||
// @generated by protoc-gen-es v2.12.1 with parameter "target=ts,import_extension=js"
|
||||
// @generated from file camino/schema.proto (package camino, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
||||
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import type { FunctionRef } from "../quixos/refs_pb.js";
|
||||
import { file_quixos_refs } from "../quixos/refs_pb.js";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file camino/schema.proto.
|
||||
*/
|
||||
export const file_camino_schema: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChNjYW1pbm8vc2NoZW1hLnByb3RvEgZjYW1pbm8iSwoJU3ltYm9sUmVmEhEKCW5hbWVzcGFjZRgBIAEoCRIMCgRuYW1lGAIgASgJEg8KB3ZlcnNpb24YAyABKAkSDAoEaGFzaBgEIAEoCSIYCgNSZWYSEQoJb2JqZWN0X2lkGAEgASgJIg0KC0N1c3RvbUZpZWxkIiQKEFdhdGNoU3RhcnRSZXN1bHQSEAoId2F0Y2hfaWQYASABKAkiJAoQV2F0Y2hTdG9wUmVxdWVzdBIQCgh3YXRjaF9pZBgBIAEoCSIRCg9XYXRjaFN0b3BSZXN1bHQiGwoIQ3JkdFRleHQSDwoHcGF5bG9hZBgBIAEoDCIfCgxDcmR0UmljaFRleHQSDwoHcGF5bG9hZBgBIAEoDCIbCghDcmR0SnNvbhIPCgdwYXlsb2FkGAEgASgMIr8CCgtDbGFzc1NjaGVtYRIdCgJpZBgBIAEoCzIRLmNhbWluby5TeW1ib2xSZWYSDwoHdmVyc2lvbhgCIAEoDRIjCgZmaWVsZHMYAyADKAsyEy5jYW1pbm8uRmllbGRTY2hlbWESIQoFZWRnZXMYBCADKAsyEi5jYW1pbm8uRWRnZVNjaGVtYRIlCgdtZXRob2RzGAUgAygLMhQuY2FtaW5vLk1ldGhvZFNjaGVtYRIpCgptaWdyYXRpb25zGAYgAygLMhUuY2FtaW5vLk1pZ3JhdGlvblNwZWMSEwoLc291cmNlX2ZpbGUYByABKAkSFQoNcHJvdG9fbWVzc2FnZRgIIAEoCRI6ChJvcGVyYXRpb25fc2VydmljZXMYCSADKAsyHi5jYW1pbm8uT3BlcmF0aW9uU2VydmljZVNjaGVtYSLdAQoLRmllbGRTY2hlbWES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W5kEiIKHkZJRUxEX1NUT1JBR0VfS0lORF9VTlNQRUNJRklFRBAAEgoKBlNUT1JFRBABEgsKB0RFUklWRUQQAhIICgRMQVpZEAMSDAoIRVhURVJOQUwQBCpIChNGaWVsZEltcGxlbWVudGF0aW9uEiQKIEZJRUxEX0lNUExFTUVOVEFUSU9OX1VOU1BFQ0lGSUVEEAASCwoHU0VSVklDRRABYgZwcm90bzM", [file_quixos_refs]);
|
||||
|
||||
/**
|
||||
* @generated from message camino.SymbolRef
|
||||
*/
|
||||
export type SymbolRef = Message<"camino.SymbolRef"> & {
|
||||
/**
|
||||
* @generated from field: string namespace = 1;
|
||||
*/
|
||||
namespace: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string version = 3;
|
||||
*/
|
||||
version: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string hash = 4;
|
||||
*/
|
||||
hash: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.SymbolRef.
|
||||
* Use `create(SymbolRefSchema)` to create a new message.
|
||||
*/
|
||||
export const SymbolRefSchema: GenMessage<SymbolRef> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 0);
|
||||
|
||||
/**
|
||||
* @generated from message camino.Ref
|
||||
*/
|
||||
export type Ref = Message<"camino.Ref"> & {
|
||||
/**
|
||||
* @generated from field: string object_id = 1;
|
||||
*/
|
||||
objectId: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.Ref.
|
||||
* Use `create(RefSchema)` to create a new message.
|
||||
*/
|
||||
export const RefSchema: GenMessage<Ref> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 1);
|
||||
|
||||
/**
|
||||
* @generated from message camino.CustomField
|
||||
*/
|
||||
export type CustomField = Message<"camino.CustomField"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.CustomField.
|
||||
* Use `create(CustomFieldSchema)` to create a new message.
|
||||
*/
|
||||
export const CustomFieldSchema: GenMessage<CustomField> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 2);
|
||||
|
||||
/**
|
||||
* @generated from message camino.WatchStartResult
|
||||
*/
|
||||
export type WatchStartResult = Message<"camino.WatchStartResult"> & {
|
||||
/**
|
||||
* @generated from field: string watch_id = 1;
|
||||
*/
|
||||
watchId: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.WatchStartResult.
|
||||
* Use `create(WatchStartResultSchema)` to create a new message.
|
||||
*/
|
||||
export const WatchStartResultSchema: GenMessage<WatchStartResult> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 3);
|
||||
|
||||
/**
|
||||
* @generated from message camino.WatchStopRequest
|
||||
*/
|
||||
export type WatchStopRequest = Message<"camino.WatchStopRequest"> & {
|
||||
/**
|
||||
* @generated from field: string watch_id = 1;
|
||||
*/
|
||||
watchId: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.WatchStopRequest.
|
||||
* Use `create(WatchStopRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const WatchStopRequestSchema: GenMessage<WatchStopRequest> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 4);
|
||||
|
||||
/**
|
||||
* @generated from message camino.WatchStopResult
|
||||
*/
|
||||
export type WatchStopResult = Message<"camino.WatchStopResult"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.WatchStopResult.
|
||||
* Use `create(WatchStopResultSchema)` to create a new message.
|
||||
*/
|
||||
export const WatchStopResultSchema: GenMessage<WatchStopResult> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 5);
|
||||
|
||||
/**
|
||||
* @generated from message camino.CrdtText
|
||||
*/
|
||||
export type CrdtText = Message<"camino.CrdtText"> & {
|
||||
/**
|
||||
* @generated from field: bytes payload = 1;
|
||||
*/
|
||||
payload: Uint8Array;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.CrdtText.
|
||||
* Use `create(CrdtTextSchema)` to create a new message.
|
||||
*/
|
||||
export const CrdtTextSchema: GenMessage<CrdtText> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 6);
|
||||
|
||||
/**
|
||||
* @generated from message camino.CrdtRichText
|
||||
*/
|
||||
export type CrdtRichText = Message<"camino.CrdtRichText"> & {
|
||||
/**
|
||||
* @generated from field: bytes payload = 1;
|
||||
*/
|
||||
payload: Uint8Array;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.CrdtRichText.
|
||||
* Use `create(CrdtRichTextSchema)` to create a new message.
|
||||
*/
|
||||
export const CrdtRichTextSchema: GenMessage<CrdtRichText> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 7);
|
||||
|
||||
/**
|
||||
* @generated from message camino.CrdtJson
|
||||
*/
|
||||
export type CrdtJson = Message<"camino.CrdtJson"> & {
|
||||
/**
|
||||
* @generated from field: bytes payload = 1;
|
||||
*/
|
||||
payload: Uint8Array;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.CrdtJson.
|
||||
* Use `create(CrdtJsonSchema)` to create a new message.
|
||||
*/
|
||||
export const CrdtJsonSchema: GenMessage<CrdtJson> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 8);
|
||||
|
||||
/**
|
||||
* @generated from message camino.ClassSchema
|
||||
*/
|
||||
export type ClassSchema = Message<"camino.ClassSchema"> & {
|
||||
/**
|
||||
* @generated from field: camino.SymbolRef id = 1;
|
||||
*/
|
||||
id?: SymbolRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: uint32 version = 2;
|
||||
*/
|
||||
version: number;
|
||||
|
||||
/**
|
||||
* @generated from field: repeated camino.FieldSchema fields = 3;
|
||||
*/
|
||||
fields: FieldSchema[];
|
||||
|
||||
/**
|
||||
* @generated from field: repeated camino.EdgeSchema edges = 4;
|
||||
*/
|
||||
edges: EdgeSchema[];
|
||||
|
||||
/**
|
||||
* @generated from field: repeated camino.MethodSchema methods = 5;
|
||||
*/
|
||||
methods: MethodSchema[];
|
||||
|
||||
/**
|
||||
* @generated from field: repeated camino.MigrationSpec migrations = 6;
|
||||
*/
|
||||
migrations: MigrationSpec[];
|
||||
|
||||
/**
|
||||
* @generated from field: string source_file = 7;
|
||||
*/
|
||||
sourceFile: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string proto_message = 8;
|
||||
*/
|
||||
protoMessage: string;
|
||||
|
||||
/**
|
||||
* @generated from field: repeated camino.OperationServiceSchema operation_services = 9;
|
||||
*/
|
||||
operationServices: OperationServiceSchema[];
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.ClassSchema.
|
||||
* Use `create(ClassSchemaSchema)` to create a new message.
|
||||
*/
|
||||
export const ClassSchemaSchema: GenMessage<ClassSchema> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 9);
|
||||
|
||||
/**
|
||||
* @generated from message camino.FieldSchema
|
||||
*/
|
||||
export type FieldSchema = Message<"camino.FieldSchema"> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: uint32 tag = 2;
|
||||
*/
|
||||
tag: number;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.TypeRef type = 3;
|
||||
*/
|
||||
type?: TypeRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.ConflictStrategy conflict = 4;
|
||||
*/
|
||||
conflict: ConflictStrategy;
|
||||
|
||||
/**
|
||||
* @generated from field: bool repeated = 5;
|
||||
*/
|
||||
repeated: boolean;
|
||||
|
||||
/**
|
||||
* @generated from field: bool optional = 6;
|
||||
*/
|
||||
optional: boolean;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.FieldStorage storage = 7;
|
||||
*/
|
||||
storage?: FieldStorage | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.FieldOps ops = 8;
|
||||
*/
|
||||
ops?: FieldOps | undefined;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.FieldSchema.
|
||||
* Use `create(FieldSchemaSchema)` to create a new message.
|
||||
*/
|
||||
export const FieldSchemaSchema: GenMessage<FieldSchema> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 10);
|
||||
|
||||
/**
|
||||
* @generated from message camino.FieldStorage
|
||||
*/
|
||||
export type FieldStorage = Message<"camino.FieldStorage"> & {
|
||||
/**
|
||||
* @generated from field: camino.FieldStorageKind kind = 1;
|
||||
*/
|
||||
kind: FieldStorageKind;
|
||||
|
||||
/**
|
||||
* @generated from field: quixos.FunctionRef resolver = 2;
|
||||
*/
|
||||
resolver?: FunctionRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: bool cache = 3;
|
||||
*/
|
||||
cache: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.FieldStorage.
|
||||
* Use `create(FieldStorageSchema)` to create a new message.
|
||||
*/
|
||||
export const FieldStorageSchema: GenMessage<FieldStorage> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 11);
|
||||
|
||||
/**
|
||||
* @generated from message camino.TypeRef
|
||||
*/
|
||||
export type TypeRef = Message<"camino.TypeRef"> & {
|
||||
/**
|
||||
* @generated from field: string proto_type = 1;
|
||||
*/
|
||||
protoType: string;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.SymbolRef symbol = 2;
|
||||
*/
|
||||
symbol?: SymbolRef | undefined;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.TypeRef.
|
||||
* Use `create(TypeRefSchema)` to create a new message.
|
||||
*/
|
||||
export const TypeRefSchema: GenMessage<TypeRef> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 12);
|
||||
|
||||
/**
|
||||
* @generated from message camino.FieldOps
|
||||
*/
|
||||
export type FieldOps = Message<"camino.FieldOps"> & {
|
||||
/**
|
||||
* @generated from field: camino.FieldImplementation implementation = 1;
|
||||
*/
|
||||
implementation: FieldImplementation;
|
||||
|
||||
/**
|
||||
* @generated from field: string service = 2;
|
||||
*/
|
||||
service: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.FieldOps.
|
||||
* Use `create(FieldOpsSchema)` to create a new message.
|
||||
*/
|
||||
export const FieldOpsSchema: GenMessage<FieldOps> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 13);
|
||||
|
||||
/**
|
||||
* @generated from message camino.EdgeSchema
|
||||
*/
|
||||
export type EdgeSchema = Message<"camino.EdgeSchema"> & {
|
||||
/**
|
||||
* @generated from field: camino.SymbolRef id = 1;
|
||||
*/
|
||||
id?: SymbolRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: string source_field = 2;
|
||||
*/
|
||||
sourceField: string;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.SymbolRef from_class = 3;
|
||||
*/
|
||||
fromClass?: SymbolRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.SymbolRef to_class = 4;
|
||||
*/
|
||||
toClass?: SymbolRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.Cardinality cardinality = 5;
|
||||
*/
|
||||
cardinality: Cardinality;
|
||||
|
||||
/**
|
||||
* @generated from field: string inverse = 6;
|
||||
*/
|
||||
inverse: string;
|
||||
|
||||
/**
|
||||
* @generated from field: repeated camino.FieldSchema fields = 7;
|
||||
*/
|
||||
fields: FieldSchema[];
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.EdgeSchema.
|
||||
* Use `create(EdgeSchemaSchema)` to create a new message.
|
||||
*/
|
||||
export const EdgeSchemaSchema: GenMessage<EdgeSchema> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 14);
|
||||
|
||||
/**
|
||||
* @generated from message camino.MethodSchema
|
||||
*/
|
||||
export type MethodSchema = Message<"camino.MethodSchema"> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: quixos.FunctionRef function = 2;
|
||||
*/
|
||||
function?: FunctionRef | undefined;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.MethodSchema.
|
||||
* Use `create(MethodSchemaSchema)` to create a new message.
|
||||
*/
|
||||
export const MethodSchemaSchema: GenMessage<MethodSchema> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 15);
|
||||
|
||||
/**
|
||||
* @generated from message camino.MigrationSpec
|
||||
*/
|
||||
export type MigrationSpec = Message<"camino.MigrationSpec"> & {
|
||||
/**
|
||||
* @generated from field: uint32 from_version = 1;
|
||||
*/
|
||||
fromVersion: number;
|
||||
|
||||
/**
|
||||
* @generated from field: uint32 to_version = 2;
|
||||
*/
|
||||
toVersion: number;
|
||||
|
||||
/**
|
||||
* @generated from field: quixos.FunctionRef function = 3;
|
||||
*/
|
||||
function?: FunctionRef | undefined;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.MigrationSpec.
|
||||
* Use `create(MigrationSpecSchema)` to create a new message.
|
||||
*/
|
||||
export const MigrationSpecSchema: GenMessage<MigrationSpec> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 16);
|
||||
|
||||
/**
|
||||
* @generated from message camino.OperationSchema
|
||||
*/
|
||||
export type OperationSchema = Message<"camino.OperationSchema"> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.TypeRef input_type = 2;
|
||||
*/
|
||||
inputType?: TypeRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.TypeRef output_type = 3;
|
||||
*/
|
||||
outputType?: TypeRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: quixos.FunctionRef function = 4;
|
||||
*/
|
||||
function?: FunctionRef | undefined;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.OperationSchema.
|
||||
* Use `create(OperationSchemaSchema)` to create a new message.
|
||||
*/
|
||||
export const OperationSchemaSchema: GenMessage<OperationSchema> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 17);
|
||||
|
||||
/**
|
||||
* @generated from message camino.OperationServiceSchema
|
||||
*/
|
||||
export type OperationServiceSchema = Message<"camino.OperationServiceSchema"> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string full_name = 2;
|
||||
*/
|
||||
fullName: string;
|
||||
|
||||
/**
|
||||
* @generated from field: repeated camino.OperationSchema operations = 3;
|
||||
*/
|
||||
operations: OperationSchema[];
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.OperationServiceSchema.
|
||||
* Use `create(OperationServiceSchemaSchema)` to create a new message.
|
||||
*/
|
||||
export const OperationServiceSchemaSchema: GenMessage<OperationServiceSchema> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 18);
|
||||
|
||||
/**
|
||||
* @generated from message camino.DocRefDeclaration
|
||||
*/
|
||||
export type DocRefDeclaration = Message<"camino.DocRefDeclaration"> & {
|
||||
/**
|
||||
* @generated from field: string local_name = 1;
|
||||
*/
|
||||
localName: string;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.SymbolRef type = 2;
|
||||
*/
|
||||
type?: SymbolRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.SymbolRef target_class = 3;
|
||||
*/
|
||||
targetClass?: SymbolRef | undefined;
|
||||
|
||||
/**
|
||||
* @generated from field: camino.DocRefStrength strength = 4;
|
||||
*/
|
||||
strength: DocRefStrength;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message camino.DocRefDeclaration.
|
||||
* Use `create(DocRefDeclarationSchema)` to create a new message.
|
||||
*/
|
||||
export const DocRefDeclarationSchema: GenMessage<DocRefDeclaration> = /*@__PURE__*/
|
||||
messageDesc(file_camino_schema, 19);
|
||||
|
||||
/**
|
||||
* @generated from enum camino.ConflictStrategy
|
||||
*/
|
||||
export enum ConflictStrategy {
|
||||
/**
|
||||
* @generated from enum value: CONFLICT_STRATEGY_UNSPECIFIED = 0;
|
||||
*/
|
||||
CONFLICT_STRATEGY_UNSPECIFIED = 0,
|
||||
|
||||
/**
|
||||
* @generated from enum value: REPLACE = 1;
|
||||
*/
|
||||
REPLACE = 1,
|
||||
|
||||
/**
|
||||
* @generated from enum value: PRESERVE_CONFLICTS = 2;
|
||||
*/
|
||||
PRESERVE_CONFLICTS = 2,
|
||||
|
||||
/**
|
||||
* @generated from enum value: CRDT = 3;
|
||||
*/
|
||||
CRDT = 3,
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes the enum camino.ConflictStrategy.
|
||||
*/
|
||||
export const ConflictStrategySchema: GenEnum<ConflictStrategy> = /*@__PURE__*/
|
||||
enumDesc(file_camino_schema, 0);
|
||||
|
||||
/**
|
||||
* @generated from enum camino.Cardinality
|
||||
*/
|
||||
export enum Cardinality {
|
||||
/**
|
||||
* @generated from enum value: CARDINALITY_UNSPECIFIED = 0;
|
||||
*/
|
||||
CARDINALITY_UNSPECIFIED = 0,
|
||||
|
||||
/**
|
||||
* @generated from enum value: OPTIONAL_ONE = 1;
|
||||
*/
|
||||
OPTIONAL_ONE = 1,
|
||||
|
||||
/**
|
||||
* @generated from enum value: EXACTLY_ONE = 2;
|
||||
*/
|
||||
EXACTLY_ONE = 2,
|
||||
|
||||
/**
|
||||
* @generated from enum value: MANY = 3;
|
||||
*/
|
||||
MANY = 3,
|
||||
|
||||
/**
|
||||
* @generated from enum value: MANY_UNIQUE = 4;
|
||||
*/
|
||||
MANY_UNIQUE = 4,
|
||||
|
||||
/**
|
||||
* @generated from enum value: MANY_ORDERED = 5;
|
||||
*/
|
||||
MANY_ORDERED = 5,
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes the enum camino.Cardinality.
|
||||
*/
|
||||
export const CardinalitySchema: GenEnum<Cardinality> = /*@__PURE__*/
|
||||
enumDesc(file_camino_schema, 1);
|
||||
|
||||
/**
|
||||
* @generated from enum camino.DocRefStrength
|
||||
*/
|
||||
export enum DocRefStrength {
|
||||
/**
|
||||
* @generated from enum value: DOC_REF_STRENGTH_UNSPECIFIED = 0;
|
||||
*/
|
||||
DOC_REF_STRENGTH_UNSPECIFIED = 0,
|
||||
|
||||
/**
|
||||
* @generated from enum value: SOFT_REF = 1;
|
||||
*/
|
||||
SOFT_REF = 1,
|
||||
|
||||
/**
|
||||
* @generated from enum value: PROJECTED_EDGE = 2;
|
||||
*/
|
||||
PROJECTED_EDGE = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes the enum camino.DocRefStrength.
|
||||
*/
|
||||
export const DocRefStrengthSchema: GenEnum<DocRefStrength> = /*@__PURE__*/
|
||||
enumDesc(file_camino_schema, 2);
|
||||
|
||||
/**
|
||||
* @generated from enum camino.FieldStorageKind
|
||||
*/
|
||||
export enum FieldStorageKind {
|
||||
/**
|
||||
* @generated from enum value: FIELD_STORAGE_KIND_UNSPECIFIED = 0;
|
||||
*/
|
||||
FIELD_STORAGE_KIND_UNSPECIFIED = 0,
|
||||
|
||||
/**
|
||||
* @generated from enum value: STORED = 1;
|
||||
*/
|
||||
STORED = 1,
|
||||
|
||||
/**
|
||||
* @generated from enum value: DERIVED = 2;
|
||||
*/
|
||||
DERIVED = 2,
|
||||
|
||||
/**
|
||||
* @generated from enum value: LAZY = 3;
|
||||
*/
|
||||
LAZY = 3,
|
||||
|
||||
/**
|
||||
* @generated from enum value: EXTERNAL = 4;
|
||||
*/
|
||||
EXTERNAL = 4,
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes the enum camino.FieldStorageKind.
|
||||
*/
|
||||
export const FieldStorageKindSchema: GenEnum<FieldStorageKind> = /*@__PURE__*/
|
||||
enumDesc(file_camino_schema, 3);
|
||||
|
||||
/**
|
||||
* @generated from enum camino.FieldImplementation
|
||||
*/
|
||||
export enum FieldImplementation {
|
||||
/**
|
||||
* @generated from enum value: FIELD_IMPLEMENTATION_UNSPECIFIED = 0;
|
||||
*/
|
||||
FIELD_IMPLEMENTATION_UNSPECIFIED = 0,
|
||||
|
||||
/**
|
||||
* @generated from enum value: SERVICE = 1;
|
||||
*/
|
||||
SERVICE = 1,
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes the enum camino.FieldImplementation.
|
||||
*/
|
||||
export const FieldImplementationSchema: GenEnum<FieldImplementation> = /*@__PURE__*/
|
||||
enumDesc(file_camino_schema, 4);
|
||||
@@ -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("ChFxdWl4b3Mvb3JjaC5wcm90bxILcXVpeG9zLm9yY2gizAEKFUludm9rZUZ1bmN0aW9uUmVxdWVzdBIlCghmdW5jdGlvbhgBIAEoCzITLnF1aXhvcy5GdW5jdGlvblJlZhIRCglvYmplY3RfaWQYAiABKAkSPAoFaW5wdXQYAyADKAsyLS5xdWl4b3Mub3JjaC5JbnZva2VGdW5jdGlvblJlcXVlc3QuSW5wdXRFbnRyeRo7CgpJbnB1dEVudHJ5EgsKA2tleRgBIAEoCRIcCgV2YWx1ZRgCIAEoCzINLmNhbWluby5WYWx1ZToCOAEilgEKFkludm9rZUZ1bmN0aW9uUmVzcG9uc2USFQoNaW52b2NhdGlvbl9pZBgBIAEoCRIrCgphY3Rpd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F0aW9uEiMucXVpeG9zLm9yY2guQ2xvc2VBY3RpdmF0aW9uUmVxdWVzdBokLnF1aXhvcy5vcmNoLkNsb3NlQWN0aXZhdGlvblJlc3BvbnNlYgZwcm90bzM", [file_camino_api, file_quixos_package, file_quixos_refs]);
|
||||
|
||||
/**
|
||||
* @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("ChRxdWl4b3MvcGFja2FnZS5wcm90bxIGcXVpeG9zIm4KClBhY2thZ2VSZWYSGQoRcGFja2FnZV9uYW1lc3BhY2UYASABKAkSFAoMcGFja2FnZV9uYW1lGAIgASgJEhoKEmRlc2NyaXB0b3JfdmVyc2lvbhgDIAEoDRITCgt2ZXJzaW9uX3JlZhgEIAEoCSKgBAoRUGFja2FnZURlc2NyaXB0b3ISGQoRcGFja2FnZV9uYW1lc3BhY2UYASABKAkSFAoMcGFja2FnZV9uYW1lGAIgASgJEhoKEmRlc2NyaXB0b3JfdmVyc2lvbhgDIAEoDRIkChxpbnRlcmZhY2VfY29tcGF0aWJsZV9iYWNrX3RvGAQgASgNEiEKG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Y2FyRXhwb3J0Eg4KBnN5bWJvbBgBIAEoCRIYChBzaWRlX2VmZmVjdF9tb2RlGAIgASgJIpUBChFQYWNrYWdlRGVwZW5kZW5jeRIjCgdwYWNrYWdlGAEgASgLMhIucXVpeG9zLlBhY2thZ2VSZWYSJAocaW50ZXJmYWNlX2NvbXBhdGlibGVfYmFja190bxgCIAEoDRIZChFyZWZhY3Rvcl9yZXF1aXJlZBgDIAEoCBIaChJjb21wYXRpYmlsaXR5X25vdGUYBCABKAkqcQoWRnVuY3Rpb25DYXBhYmlsaXR5S2luZBIoCiRGVU5DVElPTl9DQVBBQklMSVRZX0tJTkRfVU5TUEVDSUZJRUQQABIKCgZNRVRIT0QQARISCg5GSUVMRF9SRVNPTFZFUhACEg0KCU1JR1JBVElPThADYgZwcm90bzM", [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