343 lines
12 KiB
TypeScript
343 lines
12 KiB
TypeScript
// @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, InterfaceFieldContract, SymbolRef, TypeBinding } 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("ChRjYW1pbm8vb3B0aW9ucy5wcm90bxIGY2FtaW5vIj4KDENsYXNzT3B0aW9ucxIPCgd2ZXJzaW9uGAEgASgNEh0KAmlkGAIgASgLMhEuY2FtaW5vLlN5bWJvbFJlZiJCChBJbnRlcmZhY2VPcHRpb25zEg8KB3ZlcnNpb24YASABKA0SHQoCaWQYAiABKAsyES5jYW1pbm8uU3ltYm9sUmVmImQKEUltcGxlbWVudHNPcHRpb25zEiQKCWludGVyZmFjZRgBIAEoCzIRLmNhbWluby5TeW1ib2xSZWYSKQoMdHlwZV9iaW5kaW5nGAIgAygLMhMuY2FtaW5vLlR5cGVCaW5kaW5nIjsKEkNvbnN0cnVjdG9yT3B0aW9ucxIlCghmdW5jdGlvbhgBIAEoCzITLnF1aXhvcy5GdW5jdGlvblJlZiLOAgoLRWRnZU9wdGlvbnMSHQoCaWQYASABKAsyES5jY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b2J1Zi5GaWVsZE9wdGlvbnMYz44DIAEoCzIQLmNhbWluby5GaWVsZE9wc1IIZmllbGRPcHM6aAoPaW50ZXJmYWNlX2ZpZWxkEh0uZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucxjQjgMgASgLMh4uY2FtaW5vLkludGVyZmFjZUZpZWxkQ29udHJhY3RSDmludGVyZmFjZUZpZWxkOkQKDWRpc3BsYXlfbGFiZWwSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGNGOAyABKAhSDGRpc3BsYXlMYWJlbDpJCgRpbXBsEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMY1o4DIAEoCzITLnF1aXhvcy5GdW5jdGlvblJlZlIEaW1wbGIGcHJvdG8z", [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.InterfaceOptions
|
|
*/
|
|
export type InterfaceOptions = Message<"camino.InterfaceOptions"> & {
|
|
/**
|
|
* @generated from field: uint32 version = 1;
|
|
*/
|
|
version: number;
|
|
|
|
/**
|
|
* @generated from field: camino.SymbolRef id = 2;
|
|
*/
|
|
id?: SymbolRef | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.InterfaceOptions.
|
|
* Use `create(InterfaceOptionsSchema)` to create a new message.
|
|
*/
|
|
export const InterfaceOptionsSchema: GenMessage<InterfaceOptions> = /*@__PURE__*/
|
|
messageDesc(file_camino_options, 1);
|
|
|
|
/**
|
|
* @generated from message camino.ImplementsOptions
|
|
*/
|
|
export type ImplementsOptions = Message<"camino.ImplementsOptions"> & {
|
|
/**
|
|
* @generated from field: camino.SymbolRef interface = 1;
|
|
*/
|
|
interface?: SymbolRef | undefined;
|
|
|
|
/**
|
|
* @generated from field: repeated camino.TypeBinding type_binding = 2;
|
|
*/
|
|
typeBinding: TypeBinding[];
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ImplementsOptions.
|
|
* Use `create(ImplementsOptionsSchema)` to create a new message.
|
|
*/
|
|
export const ImplementsOptionsSchema: GenMessage<ImplementsOptions> = /*@__PURE__*/
|
|
messageDesc(file_camino_options, 2);
|
|
|
|
/**
|
|
* @generated from message camino.ConstructorOptions
|
|
*/
|
|
export type ConstructorOptions = Message<"camino.ConstructorOptions"> & {
|
|
/**
|
|
* @generated from field: quixos.FunctionRef function = 1;
|
|
*/
|
|
function?: FunctionRef | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ConstructorOptions.
|
|
* Use `create(ConstructorOptionsSchema)` to create a new message.
|
|
*/
|
|
export const ConstructorOptionsSchema: GenMessage<ConstructorOptions> = /*@__PURE__*/
|
|
messageDesc(file_camino_options, 3);
|
|
|
|
/**
|
|
* @generated from message camino.EdgeOptions
|
|
*/
|
|
export type EdgeOptions = Message<"camino.EdgeOptions"> & {
|
|
/**
|
|
* @generated from field: camino.SymbolRef id = 1;
|
|
*/
|
|
id?: SymbolRef | undefined;
|
|
|
|
/**
|
|
* Shorthand for other_endpoint.class.
|
|
*
|
|
* @generated from field: camino.SymbolRef target = 2;
|
|
*/
|
|
target?: SymbolRef | undefined;
|
|
|
|
/**
|
|
* Shorthand for this_endpoint.cardinality.
|
|
*
|
|
* @generated from field: camino.Cardinality cardinality = 3;
|
|
*/
|
|
cardinality: Cardinality;
|
|
|
|
/**
|
|
* Shorthand for other_endpoint.projection.
|
|
*
|
|
* @generated from field: string inverse = 4;
|
|
*/
|
|
inverse: string;
|
|
|
|
/**
|
|
* @generated from field: camino.EdgeEndpointOptions this_endpoint = 5;
|
|
*/
|
|
thisEndpoint?: EdgeEndpointOptions | undefined;
|
|
|
|
/**
|
|
* @generated from field: camino.EdgeEndpointOptions other_endpoint = 6;
|
|
*/
|
|
otherEndpoint?: EdgeEndpointOptions | undefined;
|
|
|
|
/**
|
|
* @generated from field: repeated camino.SymbolRef tag = 7;
|
|
*/
|
|
tag: SymbolRef[];
|
|
|
|
/**
|
|
* @generated from field: repeated camino.SymbolRef implements = 8;
|
|
*/
|
|
implements: SymbolRef[];
|
|
|
|
/**
|
|
* @generated from field: bool undirected = 9;
|
|
*/
|
|
undirected: boolean;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.EdgeOptions.
|
|
* Use `create(EdgeOptionsSchema)` to create a new message.
|
|
*/
|
|
export const EdgeOptionsSchema: GenMessage<EdgeOptions> = /*@__PURE__*/
|
|
messageDesc(file_camino_options, 4);
|
|
|
|
/**
|
|
* @generated from message camino.EdgeEndpointOptions
|
|
*/
|
|
export type EdgeEndpointOptions = Message<"camino.EdgeEndpointOptions"> & {
|
|
/**
|
|
* @generated from field: camino.SymbolRef class = 1;
|
|
*/
|
|
class?: SymbolRef | undefined;
|
|
|
|
/**
|
|
* @generated from field: camino.SymbolRef interface = 2;
|
|
*/
|
|
interface?: SymbolRef | undefined;
|
|
|
|
/**
|
|
* @generated from field: string projection = 3;
|
|
*/
|
|
projection: string;
|
|
|
|
/**
|
|
* @generated from field: camino.Cardinality cardinality = 4;
|
|
*/
|
|
cardinality: Cardinality;
|
|
|
|
/**
|
|
* @generated from field: bool indexed = 5;
|
|
*/
|
|
indexed: boolean;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.EdgeEndpointOptions.
|
|
* Use `create(EdgeEndpointOptionsSchema)` to create a new message.
|
|
*/
|
|
export const EdgeEndpointOptionsSchema: GenMessage<EdgeEndpointOptions> = /*@__PURE__*/
|
|
messageDesc(file_camino_options, 5);
|
|
|
|
/**
|
|
* @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, 6);
|
|
|
|
/**
|
|
* @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, 7);
|
|
|
|
/**
|
|
* @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.InterfaceOptions interface = 51013;
|
|
*/
|
|
export const interface$: GenExtension<MessageOptions, InterfaceOptions> = /*@__PURE__*/
|
|
extDesc(file_camino_options, 5);
|
|
|
|
/**
|
|
* @generated from extension: repeated camino.ImplementsOptions implements = 51014;
|
|
*/
|
|
export const implements$: GenExtension<MessageOptions, ImplementsOptions[]> = /*@__PURE__*/
|
|
extDesc(file_camino_options, 6);
|
|
|
|
/**
|
|
* @generated from extension: camino.ConstructorOptions constructor = 51015;
|
|
*/
|
|
export const constructor: GenExtension<MessageOptions, ConstructorOptions> = /*@__PURE__*/
|
|
extDesc(file_camino_options, 7);
|
|
|
|
/**
|
|
* @generated from extension: camino.ConflictStrategy conflict = 51020;
|
|
*/
|
|
export const conflict: GenExtension<FieldOptions, ConflictStrategy> = /*@__PURE__*/
|
|
extDesc(file_camino_options, 8);
|
|
|
|
/**
|
|
* @generated from extension: camino.EdgeOptions edge = 51021;
|
|
*/
|
|
export const edge: GenExtension<FieldOptions, EdgeOptions> = /*@__PURE__*/
|
|
extDesc(file_camino_options, 9);
|
|
|
|
/**
|
|
* @generated from extension: camino.FieldStorage field_storage = 51022;
|
|
*/
|
|
export const field_storage: GenExtension<FieldOptions, FieldStorage> = /*@__PURE__*/
|
|
extDesc(file_camino_options, 10);
|
|
|
|
/**
|
|
* @generated from extension: camino.FieldOps field_ops = 51023;
|
|
*/
|
|
export const field_ops: GenExtension<FieldOptions, FieldOps> = /*@__PURE__*/
|
|
extDesc(file_camino_options, 11);
|
|
|
|
/**
|
|
* @generated from extension: camino.InterfaceFieldContract interface_field = 51024;
|
|
*/
|
|
export const interface_field: GenExtension<FieldOptions, InterfaceFieldContract> = /*@__PURE__*/
|
|
extDesc(file_camino_options, 12);
|
|
|
|
/**
|
|
* @generated from extension: bool display_label = 51025;
|
|
*/
|
|
export const display_label: GenExtension<FieldOptions, boolean> = /*@__PURE__*/
|
|
extDesc(file_camino_options, 13);
|
|
|
|
/**
|
|
* @generated from extension: quixos.FunctionRef impl = 51030;
|
|
*/
|
|
export const impl: GenExtension<MethodOptions$1, FunctionRef> = /*@__PURE__*/
|
|
extDesc(file_camino_options, 14);
|
|
|