Move quixos protocol to repository root

This commit is contained in:
Timothy J. Aveni
2026-07-12 12:55:03 -07:00
commit 63a3d99588
23 changed files with 3769 additions and 0 deletions
File diff suppressed because one or more lines are too long
+182
View File
@@ -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("ChRjYW1pbm8vb3B0aW9ucy5wcm90bxIGY2FtaW5vIj4KDENsYXNzT3B0aW9ucxIPCgd2ZXJzaW9uGAEgASgNEh0KAmlkGAIgASgLMhEuY2FtaW5vLlN5bWJvbFJlZiKKAQoLRWRnZU9wdGlvbnMSHQoCaWQYASABKAsyES5jYW1pbm8uU3ltYm9sUmVmEiEKBnRhcmdldBgCIAEoCzIRLmNhbWluby5TeW1ib2xSZWYSKAoLY2FyZGluYWxpdHkYAyABKA4yEy5jYW1pbm8uQ2FyZGluYWxpdHkSDwoHaW52ZXJzZRgEIAEoCSJECg1NZXRob2RPcHRpb25zEgwKBG5hbWUYASABKAkSJQoIZnVuY3Rpb24YAiABKAsyEy5xdWl4b3MuRnVuY3Rpb25SZWYiYwoQTWlncmF0aW9uT3B0aW9ucxIUCgxmcm9tX3ZlcnNpb24YASABKA0SEgoKdG9fdmVyc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JvdG9idWYuTWV0aG9kT3B0aW9ucxjWjgMgASgLMhMucXVpeG9zLkZ1bmN0aW9uUmVmUgRpbXBsYgZwcm90bzM", [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);
+697
View File
@@ -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("ChNjYW1pbm8vc2NoZW1hLnByb3RvEgZjYW1pbm8iSwoJU3ltYm9sUmVmEhEKCW5hbWVzcGFjZRgBIAEoCRIMCgRuYW1lGAIgASgJEg8KB3ZlcnNpb24YAyABKAkSDAoEaGFzaBgEIAEoCSIYCgNSZWYSEQoJb2JqZWN0X2lkGAEgASgJIg0KC0N1c3RvbUZpZWxkIiQKEFdhdGNoU3RhcnRSZXN1bHQSEAoId2F0Y2hfaWQYASABKAkiJAoQV2F0Y2hTdG9wUmVxdWVzdBIQCgh3YXRjaF9pZBgBIAEoCSIRCg9XYXRjaFN0b3BSZXN1bHQiGwoIQ3JkdFRleHQSDwoHcGF5bG9hZBgBIAEoDCIfCgxDcmR0UmljaFRleHQSDwoHcGF5bG9hZBgBIAEoDCIbCghDcmR0SnNvbhIPCgdwYXlsb2FkGAEgASgMIr8CCgtDbGFzc1NjaGVtYRIdCgJpZBgBIAEoCzIRLmNhbWluby5TeW1ib2xSZWYSDwoHdmVyc2lvbhgCIAEoDRIjCgZmaWVsZHMYAyADKAsyEy5jYW1pbm8uRmllbGRTY2hlbWESIQoFZWRnZXMYBCADKAsyEi5jYW1pbm8uRWRnZVNjaGVtYRIlCgdtZXRob2RzGAUgAygLMhQuY2FtaW5vLk1ldGhvZFNjaGVtYRIpCgptaWdyYXRpb25zGAYgAygLMhUuY2FtaW5vLk1pZ3JhdGlvblNwZWMSEwoLc291cmNlX2ZpbGUYByABKAkSFQoNcHJvdG9fbWVzc2F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RE9DX1JFRl9TVFJFTkdUSF9VTlNQRUNJRklFRBAAEgwKCFNPRlRfUkVGEAESEgoOUFJPSkVDVEVEX0VER0UQAipnChBGaWVsZFN0b3JhZ2VLaW5kEiIKHkZJRUxEX1NUT1JBR0VfS0lORF9VTlNQRUNJRklFRBAAEgoKBlNUT1JFRBABEgsKB0RFUklWRUQQAhIICgRMQVpZEAMSDAoIRVhURVJOQUwQBCpIChNGaWVsZEltcGxlbWVudGF0aW9uEiQKIEZJRUxEX0lNUExFTUVOVEFUSU9OX1VOU1BFQ0lGSUVEEAASCwoHU0VSVklDRRABYgZwcm90bzM", [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);