932 lines
28 KiB
TypeScript
932 lines
28 KiB
TypeScript
// @generated by protoc-gen-es v2.12.1 with parameter "target=ts,import_extension=js"
|
|
// @generated from file camino/api.proto (package camino, syntax proto3)
|
|
/* eslint-disable */
|
|
|
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
import type { ClassSchema } 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/api.proto.
|
|
*/
|
|
export const file_camino_api: GenFile = /*@__PURE__*/
|
|
fileDesc("ChBjYW1pbm8vYXBpLnByb3RvEgZjYW1pbm8iLAoVUmVnaXN0ZXJTY2hlbWFSZXF1ZXN0EhMKC3NvdXJjZV9maWxlGAEgASgJIlEKFlJlZ2lzdGVyU2NoZW1hUmVzcG9uc2USEQoJY2xhc3NfaWRzGAEgAygJEiQKB2NsYXNzZXMYAiADKAsyEy5jYW1pbm8uQ2xhc3NTY2hlbWEiFAoSTGlzdENsYXNzZXNSZXF1ZXN0IkIKD1JlZ2lzdGVyZWRDbGFzcxIKCgJpZBgBIAEoCRIjCgZzY2hlbWEYAiABKAsyEy5jYW1pbm8uQ2xhc3NTY2hlbWEiPwoTTGlzdENsYXNzZXNSZXNwb25zZRIoCgdjbGFzc2VzGAEgAygLMhcuY2FtaW5vLlJlZ2lzdGVyZWRDbGFzcyILCglOdWxsVmFsdWUifAoLT2JqZWN0VmFsdWUSLwoGZmllbGRzGAEgAygLMh8uY2FtaW5vLk9iamVjdFZhbHVlLkZpZWxkc0VudHJ5GjwKC0ZpZWxkc0VudHJ5EgsKA2tleRgBIAEoCRIcCgV2YWx1ZRgCIAEoCzINLmNhbWluby5WYWx1ZToCOAEiKgoJTGlzdFZh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plY3RSZXF1ZXN0GhkuY2FtaW5vLkdldE9iamVjdFJlc3BvbnNlEj0KCFNldEZpZWxkEhcuY2FtaW5vLlNldEZpZWxkUmVxdWVzdBoYLmNhbWluby5TZXRGaWVsZFJlc3BvbnNlEjoKB0FkZEVkZ2USFi5jYW1pbm8uQWRkRWRnZVJlcXVlc3QaFy5jYW1pbm8uQWRkRWRnZVJlc3BvbnNlEkAKCUxpc3RFZGdlcxIYLmNhbWluby5MaXN0RWRnZXNSZXF1ZXN0GhkuY2FtaW5vLkxpc3RFZGdlc1Jlc3BvbnNlEkMKClJlbW92ZUVkZ2USGS5jYW1pbm8uUmVtb3ZlRWRnZVJlcXVlc3QaGi5jYW1pbm8uUmVtb3ZlRWRnZVJlc3BvbnNlEjoKB0xpc3RPcHMSFi5jYW1pbm8uTGlzdE9wc1JlcXVlc3QaFy5jYW1pbm8uTGlzdE9wc1Jlc3BvbnNlEkUKC1dhdGNoT2JqZWN0EhouY2FtaW5vLldhdGNoT2JqZWN0UmVxdWVzdBoYLmNhbWluby5XYXRjaE9iamVjdEV2ZW50MAFiBnByb3RvMw", [file_camino_schema, file_quixos_refs]);
|
|
|
|
/**
|
|
* @generated from message camino.RegisterSchemaRequest
|
|
*/
|
|
export type RegisterSchemaRequest = Message<"camino.RegisterSchemaRequest"> & {
|
|
/**
|
|
* @generated from field: string source_file = 1;
|
|
*/
|
|
sourceFile: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.RegisterSchemaRequest.
|
|
* Use `create(RegisterSchemaRequestSchema)` to create a new message.
|
|
*/
|
|
export const RegisterSchemaRequestSchema: GenMessage<RegisterSchemaRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 0);
|
|
|
|
/**
|
|
* @generated from message camino.RegisterSchemaResponse
|
|
*/
|
|
export type RegisterSchemaResponse = Message<"camino.RegisterSchemaResponse"> & {
|
|
/**
|
|
* @generated from field: repeated string class_ids = 1;
|
|
*/
|
|
classIds: string[];
|
|
|
|
/**
|
|
* @generated from field: repeated camino.ClassSchema classes = 2;
|
|
*/
|
|
classes: ClassSchema[];
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.RegisterSchemaResponse.
|
|
* Use `create(RegisterSchemaResponseSchema)` to create a new message.
|
|
*/
|
|
export const RegisterSchemaResponseSchema: GenMessage<RegisterSchemaResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 1);
|
|
|
|
/**
|
|
* @generated from message camino.ListClassesRequest
|
|
*/
|
|
export type ListClassesRequest = Message<"camino.ListClassesRequest"> & {
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ListClassesRequest.
|
|
* Use `create(ListClassesRequestSchema)` to create a new message.
|
|
*/
|
|
export const ListClassesRequestSchema: GenMessage<ListClassesRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 2);
|
|
|
|
/**
|
|
* @generated from message camino.RegisteredClass
|
|
*/
|
|
export type RegisteredClass = Message<"camino.RegisteredClass"> & {
|
|
/**
|
|
* @generated from field: string id = 1;
|
|
*/
|
|
id: string;
|
|
|
|
/**
|
|
* @generated from field: camino.ClassSchema schema = 2;
|
|
*/
|
|
schema?: ClassSchema | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.RegisteredClass.
|
|
* Use `create(RegisteredClassSchema)` to create a new message.
|
|
*/
|
|
export const RegisteredClassSchema: GenMessage<RegisteredClass> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 3);
|
|
|
|
/**
|
|
* @generated from message camino.ListClassesResponse
|
|
*/
|
|
export type ListClassesResponse = Message<"camino.ListClassesResponse"> & {
|
|
/**
|
|
* @generated from field: repeated camino.RegisteredClass classes = 1;
|
|
*/
|
|
classes: RegisteredClass[];
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ListClassesResponse.
|
|
* Use `create(ListClassesResponseSchema)` to create a new message.
|
|
*/
|
|
export const ListClassesResponseSchema: GenMessage<ListClassesResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 4);
|
|
|
|
/**
|
|
* @generated from message camino.NullValue
|
|
*/
|
|
export type NullValue = Message<"camino.NullValue"> & {
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.NullValue.
|
|
* Use `create(NullValueSchema)` to create a new message.
|
|
*/
|
|
export const NullValueSchema: GenMessage<NullValue> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 5);
|
|
|
|
/**
|
|
* @generated from message camino.ObjectValue
|
|
*/
|
|
export type ObjectValue = Message<"camino.ObjectValue"> & {
|
|
/**
|
|
* @generated from field: map<string, camino.Value> fields = 1;
|
|
*/
|
|
fields: { [key: string]: Value };
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ObjectValue.
|
|
* Use `create(ObjectValueSchema)` to create a new message.
|
|
*/
|
|
export const ObjectValueSchema: GenMessage<ObjectValue> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 6);
|
|
|
|
/**
|
|
* @generated from message camino.ListValue
|
|
*/
|
|
export type ListValue = Message<"camino.ListValue"> & {
|
|
/**
|
|
* @generated from field: repeated camino.Value values = 1;
|
|
*/
|
|
values: Value[];
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ListValue.
|
|
* Use `create(ListValueSchema)` to create a new message.
|
|
*/
|
|
export const ListValueSchema: GenMessage<ListValue> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 7);
|
|
|
|
/**
|
|
* @generated from message camino.RefValue
|
|
*/
|
|
export type RefValue = Message<"camino.RefValue"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.RefValue.
|
|
* Use `create(RefValueSchema)` to create a new message.
|
|
*/
|
|
export const RefValueSchema: GenMessage<RefValue> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 8);
|
|
|
|
/**
|
|
* @generated from message camino.CrdtValue
|
|
*/
|
|
export type CrdtValue = Message<"camino.CrdtValue"> & {
|
|
/**
|
|
* @generated from field: string type = 1;
|
|
*/
|
|
type: string;
|
|
|
|
/**
|
|
* @generated from field: string encoding = 2;
|
|
*/
|
|
encoding: string;
|
|
|
|
/**
|
|
* @generated from field: bytes payload = 3;
|
|
*/
|
|
payload: Uint8Array;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.CrdtValue.
|
|
* Use `create(CrdtValueSchema)` to create a new message.
|
|
*/
|
|
export const CrdtValueSchema: GenMessage<CrdtValue> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 9);
|
|
|
|
/**
|
|
* @generated from message camino.FieldValueSource
|
|
*/
|
|
export type FieldValueSource = Message<"camino.FieldValueSource"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
|
|
/**
|
|
* @generated from field: string field_name = 2;
|
|
*/
|
|
fieldName: string;
|
|
|
|
/**
|
|
* @generated from field: string field_type = 3;
|
|
*/
|
|
fieldType: string;
|
|
|
|
/**
|
|
* @generated from field: string field_storage = 4;
|
|
*/
|
|
fieldStorage: string;
|
|
|
|
/**
|
|
* @generated from field: string conflict_strategy = 5;
|
|
*/
|
|
conflictStrategy: string;
|
|
|
|
/**
|
|
* @generated from field: uint64 revision = 6;
|
|
*/
|
|
revision: bigint;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.FieldValueSource.
|
|
* Use `create(FieldValueSourceSchema)` to create a new message.
|
|
*/
|
|
export const FieldValueSourceSchema: GenMessage<FieldValueSource> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 10);
|
|
|
|
/**
|
|
* @generated from message camino.ValueSource
|
|
*/
|
|
export type ValueSource = Message<"camino.ValueSource"> & {
|
|
/**
|
|
* @generated from field: camino.FieldValueSource field = 1;
|
|
*/
|
|
field?: FieldValueSource | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ValueSource.
|
|
* Use `create(ValueSourceSchema)` to create a new message.
|
|
*/
|
|
export const ValueSourceSchema: GenMessage<ValueSource> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 11);
|
|
|
|
/**
|
|
* @generated from message camino.Value
|
|
*/
|
|
export type Value = Message<"camino.Value"> & {
|
|
/**
|
|
* @generated from oneof camino.Value.kind
|
|
*/
|
|
kind: {
|
|
/**
|
|
* @generated from field: camino.NullValue null_value = 1;
|
|
*/
|
|
value: NullValue;
|
|
case: "nullValue";
|
|
} | {
|
|
/**
|
|
* @generated from field: bool bool_value = 2;
|
|
*/
|
|
value: boolean;
|
|
case: "boolValue";
|
|
} | {
|
|
/**
|
|
* @generated from field: double number_value = 3;
|
|
*/
|
|
value: number;
|
|
case: "numberValue";
|
|
} | {
|
|
/**
|
|
* @generated from field: string string_value = 4;
|
|
*/
|
|
value: string;
|
|
case: "stringValue";
|
|
} | {
|
|
/**
|
|
* @generated from field: string integer_value = 5;
|
|
*/
|
|
value: string;
|
|
case: "integerValue";
|
|
} | {
|
|
/**
|
|
* @generated from field: bytes bytes_value = 6;
|
|
*/
|
|
value: Uint8Array;
|
|
case: "bytesValue";
|
|
} | {
|
|
/**
|
|
* @generated from field: camino.ObjectValue object_value = 7;
|
|
*/
|
|
value: ObjectValue;
|
|
case: "objectValue";
|
|
} | {
|
|
/**
|
|
* @generated from field: camino.ListValue list_value = 8;
|
|
*/
|
|
value: ListValue;
|
|
case: "listValue";
|
|
} | {
|
|
/**
|
|
* @generated from field: camino.RefValue ref_value = 9;
|
|
*/
|
|
value: RefValue;
|
|
case: "refValue";
|
|
} | {
|
|
/**
|
|
* @generated from field: camino.CrdtValue crdt_value = 10;
|
|
*/
|
|
value: CrdtValue;
|
|
case: "crdtValue";
|
|
} | { case: undefined; value?: undefined };
|
|
|
|
/**
|
|
* @generated from field: camino.ValueSource source = 11;
|
|
*/
|
|
source?: ValueSource | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.Value.
|
|
* Use `create(ValueSchema)` to create a new message.
|
|
*/
|
|
export const ValueSchema: GenMessage<Value> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 12);
|
|
|
|
/**
|
|
* @generated from message camino.CreateObjectRequest
|
|
*/
|
|
export type CreateObjectRequest = Message<"camino.CreateObjectRequest"> & {
|
|
/**
|
|
* @generated from field: string class_id = 1;
|
|
*/
|
|
classId: string;
|
|
|
|
/**
|
|
* @generated from field: map<string, camino.Value> fields = 2;
|
|
*/
|
|
fields: { [key: string]: Value };
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.CreateObjectRequest.
|
|
* Use `create(CreateObjectRequestSchema)` to create a new message.
|
|
*/
|
|
export const CreateObjectRequestSchema: GenMessage<CreateObjectRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 13);
|
|
|
|
/**
|
|
* @generated from message camino.CreateObjectResponse
|
|
*/
|
|
export type CreateObjectResponse = Message<"camino.CreateObjectResponse"> & {
|
|
/**
|
|
* @generated from field: camino.CaminoObject object = 1;
|
|
*/
|
|
object?: CaminoObject | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.CreateObjectResponse.
|
|
* Use `create(CreateObjectResponseSchema)` to create a new message.
|
|
*/
|
|
export const CreateObjectResponseSchema: GenMessage<CreateObjectResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 14);
|
|
|
|
/**
|
|
* @generated from message camino.GetObjectRequest
|
|
*/
|
|
export type GetObjectRequest = Message<"camino.GetObjectRequest"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.GetObjectRequest.
|
|
* Use `create(GetObjectRequestSchema)` to create a new message.
|
|
*/
|
|
export const GetObjectRequestSchema: GenMessage<GetObjectRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 15);
|
|
|
|
/**
|
|
* @generated from message camino.GetObjectResponse
|
|
*/
|
|
export type GetObjectResponse = Message<"camino.GetObjectResponse"> & {
|
|
/**
|
|
* @generated from field: camino.CaminoObject object = 1;
|
|
*/
|
|
object?: CaminoObject | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.GetObjectResponse.
|
|
* Use `create(GetObjectResponseSchema)` to create a new message.
|
|
*/
|
|
export const GetObjectResponseSchema: GenMessage<GetObjectResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 16);
|
|
|
|
/**
|
|
* @generated from message camino.SetFieldRequest
|
|
*/
|
|
export type SetFieldRequest = Message<"camino.SetFieldRequest"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
|
|
/**
|
|
* @generated from field: string field_name = 2;
|
|
*/
|
|
fieldName: string;
|
|
|
|
/**
|
|
* @generated from field: camino.Value value = 3;
|
|
*/
|
|
value?: Value | undefined;
|
|
|
|
/**
|
|
* @generated from field: string client_mutation_id = 4;
|
|
*/
|
|
clientMutationId: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.SetFieldRequest.
|
|
* Use `create(SetFieldRequestSchema)` to create a new message.
|
|
*/
|
|
export const SetFieldRequestSchema: GenMessage<SetFieldRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 17);
|
|
|
|
/**
|
|
* @generated from message camino.SetFieldResponse
|
|
*/
|
|
export type SetFieldResponse = Message<"camino.SetFieldResponse"> & {
|
|
/**
|
|
* @generated from field: camino.CaminoObject object = 1;
|
|
*/
|
|
object?: CaminoObject | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.SetFieldResponse.
|
|
* Use `create(SetFieldResponseSchema)` to create a new message.
|
|
*/
|
|
export const SetFieldResponseSchema: GenMessage<SetFieldResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 18);
|
|
|
|
/**
|
|
* @generated from message camino.AddEdgeRequest
|
|
*/
|
|
export type AddEdgeRequest = Message<"camino.AddEdgeRequest"> & {
|
|
/**
|
|
* @generated from field: string from_object_id = 1;
|
|
*/
|
|
fromObjectId: string;
|
|
|
|
/**
|
|
* @generated from field: string source_field = 2;
|
|
*/
|
|
sourceField: string;
|
|
|
|
/**
|
|
* @generated from field: string to_object_id = 3;
|
|
*/
|
|
toObjectId: string;
|
|
|
|
/**
|
|
* @generated from field: map<string, camino.Value> fields = 4;
|
|
*/
|
|
fields: { [key: string]: Value };
|
|
|
|
/**
|
|
* @generated from field: optional int32 ordinal = 5;
|
|
*/
|
|
ordinal?: number | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.AddEdgeRequest.
|
|
* Use `create(AddEdgeRequestSchema)` to create a new message.
|
|
*/
|
|
export const AddEdgeRequestSchema: GenMessage<AddEdgeRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 19);
|
|
|
|
/**
|
|
* @generated from message camino.AddEdgeResponse
|
|
*/
|
|
export type AddEdgeResponse = Message<"camino.AddEdgeResponse"> & {
|
|
/**
|
|
* @generated from field: camino.CaminoEdge edge = 1;
|
|
*/
|
|
edge?: CaminoEdge | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.AddEdgeResponse.
|
|
* Use `create(AddEdgeResponseSchema)` to create a new message.
|
|
*/
|
|
export const AddEdgeResponseSchema: GenMessage<AddEdgeResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 20);
|
|
|
|
/**
|
|
* @generated from message camino.ListEdgesRequest
|
|
*/
|
|
export type ListEdgesRequest = Message<"camino.ListEdgesRequest"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ListEdgesRequest.
|
|
* Use `create(ListEdgesRequestSchema)` to create a new message.
|
|
*/
|
|
export const ListEdgesRequestSchema: GenMessage<ListEdgesRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 21);
|
|
|
|
/**
|
|
* @generated from message camino.ListEdgesResponse
|
|
*/
|
|
export type ListEdgesResponse = Message<"camino.ListEdgesResponse"> & {
|
|
/**
|
|
* @generated from field: repeated camino.CaminoEdge edges = 1;
|
|
*/
|
|
edges: CaminoEdge[];
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ListEdgesResponse.
|
|
* Use `create(ListEdgesResponseSchema)` to create a new message.
|
|
*/
|
|
export const ListEdgesResponseSchema: GenMessage<ListEdgesResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 22);
|
|
|
|
/**
|
|
* @generated from message camino.RemoveEdgeRequest
|
|
*/
|
|
export type RemoveEdgeRequest = Message<"camino.RemoveEdgeRequest"> & {
|
|
/**
|
|
* @generated from field: string edge_id = 1;
|
|
*/
|
|
edgeId: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.RemoveEdgeRequest.
|
|
* Use `create(RemoveEdgeRequestSchema)` to create a new message.
|
|
*/
|
|
export const RemoveEdgeRequestSchema: GenMessage<RemoveEdgeRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 23);
|
|
|
|
/**
|
|
* @generated from message camino.RemoveEdgeResponse
|
|
*/
|
|
export type RemoveEdgeResponse = Message<"camino.RemoveEdgeResponse"> & {
|
|
/**
|
|
* @generated from field: string edge_id = 1;
|
|
*/
|
|
edgeId: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.RemoveEdgeResponse.
|
|
* Use `create(RemoveEdgeResponseSchema)` to create a new message.
|
|
*/
|
|
export const RemoveEdgeResponseSchema: GenMessage<RemoveEdgeResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 24);
|
|
|
|
/**
|
|
* @generated from message camino.ListOpsRequest
|
|
*/
|
|
export type ListOpsRequest = Message<"camino.ListOpsRequest"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ListOpsRequest.
|
|
* Use `create(ListOpsRequestSchema)` to create a new message.
|
|
*/
|
|
export const ListOpsRequestSchema: GenMessage<ListOpsRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 25);
|
|
|
|
/**
|
|
* @generated from message camino.ListOpsResponse
|
|
*/
|
|
export type ListOpsResponse = Message<"camino.ListOpsResponse"> & {
|
|
/**
|
|
* @generated from field: repeated camino.CaminoOp ops = 1;
|
|
*/
|
|
ops: CaminoOp[];
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ListOpsResponse.
|
|
* Use `create(ListOpsResponseSchema)` to create a new message.
|
|
*/
|
|
export const ListOpsResponseSchema: GenMessage<ListOpsResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 26);
|
|
|
|
/**
|
|
* @generated from message camino.WatchObjectRequest
|
|
*/
|
|
export type WatchObjectRequest = Message<"camino.WatchObjectRequest"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
|
|
/**
|
|
* @generated from field: string after_op_id = 2;
|
|
*/
|
|
afterOpId: string;
|
|
|
|
/**
|
|
* @generated from field: bool include_snapshot = 3;
|
|
*/
|
|
includeSnapshot: boolean;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.WatchObjectRequest.
|
|
* Use `create(WatchObjectRequestSchema)` to create a new message.
|
|
*/
|
|
export const WatchObjectRequestSchema: GenMessage<WatchObjectRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 27);
|
|
|
|
/**
|
|
* @generated from message camino.WatchObjectEvent
|
|
*/
|
|
export type WatchObjectEvent = Message<"camino.WatchObjectEvent"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
|
|
/**
|
|
* @generated from field: camino.CaminoObject snapshot = 2;
|
|
*/
|
|
snapshot?: CaminoObject | undefined;
|
|
|
|
/**
|
|
* @generated from field: camino.CaminoOp op = 3;
|
|
*/
|
|
op?: CaminoOp | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.WatchObjectEvent.
|
|
* Use `create(WatchObjectEventSchema)` to create a new message.
|
|
*/
|
|
export const WatchObjectEventSchema: GenMessage<WatchObjectEvent> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 28);
|
|
|
|
/**
|
|
* @generated from message camino.CaminoObject
|
|
*/
|
|
export type CaminoObject = Message<"camino.CaminoObject"> & {
|
|
/**
|
|
* @generated from field: string id = 1;
|
|
*/
|
|
id: string;
|
|
|
|
/**
|
|
* @generated from field: string class_id = 2;
|
|
*/
|
|
classId: string;
|
|
|
|
/**
|
|
* @generated from field: uint32 schema_version = 3;
|
|
*/
|
|
schemaVersion: number;
|
|
|
|
/**
|
|
* @generated from field: string created_at = 4;
|
|
*/
|
|
createdAt: string;
|
|
|
|
/**
|
|
* @generated from field: string updated_at = 5;
|
|
*/
|
|
updatedAt: string;
|
|
|
|
/**
|
|
* @generated from field: map<string, camino.Value> fields = 6;
|
|
*/
|
|
fields: { [key: string]: Value };
|
|
|
|
/**
|
|
* @generated from field: map<string, uint64> field_revisions = 7;
|
|
*/
|
|
fieldRevisions: { [key: string]: bigint };
|
|
|
|
/**
|
|
* @generated from field: map<string, string> field_conflicts = 8;
|
|
*/
|
|
fieldConflicts: { [key: string]: string };
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.CaminoObject.
|
|
* Use `create(CaminoObjectSchema)` to create a new message.
|
|
*/
|
|
export const CaminoObjectSchema: GenMessage<CaminoObject> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 29);
|
|
|
|
/**
|
|
* @generated from message camino.CaminoEdge
|
|
*/
|
|
export type CaminoEdge = Message<"camino.CaminoEdge"> & {
|
|
/**
|
|
* @generated from field: string id = 1;
|
|
*/
|
|
id: string;
|
|
|
|
/**
|
|
* @generated from field: string edge_type_id = 2;
|
|
*/
|
|
edgeTypeId: string;
|
|
|
|
/**
|
|
* @generated from field: string from_object_id = 3;
|
|
*/
|
|
fromObjectId: string;
|
|
|
|
/**
|
|
* @generated from field: string to_object_id = 4;
|
|
*/
|
|
toObjectId: string;
|
|
|
|
/**
|
|
* @generated from field: string source_field = 5;
|
|
*/
|
|
sourceField: string;
|
|
|
|
/**
|
|
* @generated from field: string cardinality = 6;
|
|
*/
|
|
cardinality: string;
|
|
|
|
/**
|
|
* @generated from field: string inverse = 7;
|
|
*/
|
|
inverse: string;
|
|
|
|
/**
|
|
* @generated from field: map<string, camino.Value> fields = 8;
|
|
*/
|
|
fields: { [key: string]: Value };
|
|
|
|
/**
|
|
* @generated from field: optional int32 ordinal = 9;
|
|
*/
|
|
ordinal?: number | undefined;
|
|
|
|
/**
|
|
* @generated from field: string created_at = 10;
|
|
*/
|
|
createdAt: string;
|
|
|
|
/**
|
|
* @generated from field: string updated_at = 11;
|
|
*/
|
|
updatedAt: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.CaminoEdge.
|
|
* Use `create(CaminoEdgeSchema)` to create a new message.
|
|
*/
|
|
export const CaminoEdgeSchema: GenMessage<CaminoEdge> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 30);
|
|
|
|
/**
|
|
* @generated from message camino.CaminoOp
|
|
*/
|
|
export type CaminoOp = Message<"camino.CaminoOp"> & {
|
|
/**
|
|
* @generated from field: string id = 1;
|
|
*/
|
|
id: string;
|
|
|
|
/**
|
|
* @generated from field: string object_id = 2;
|
|
*/
|
|
objectId: string;
|
|
|
|
/**
|
|
* @generated from field: string op_kind = 3;
|
|
*/
|
|
opKind: string;
|
|
|
|
/**
|
|
* @generated from field: camino.Value payload = 4;
|
|
*/
|
|
payload?: Value | undefined;
|
|
|
|
/**
|
|
* @generated from field: string actor = 5;
|
|
*/
|
|
actor: string;
|
|
|
|
/**
|
|
* @generated from field: quixos.FunctionRef function_ref = 6;
|
|
*/
|
|
functionRef?: FunctionRef | undefined;
|
|
|
|
/**
|
|
* @generated from field: string created_at = 7;
|
|
*/
|
|
createdAt: string;
|
|
|
|
/**
|
|
* @generated from field: string client_mutation_id = 8;
|
|
*/
|
|
clientMutationId: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.CaminoOp.
|
|
* Use `create(CaminoOpSchema)` to create a new message.
|
|
*/
|
|
export const CaminoOpSchema: GenMessage<CaminoOp> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 31);
|
|
|
|
/**
|
|
* @generated from service camino.CaminoService
|
|
*/
|
|
export const CaminoService: GenService<{
|
|
/**
|
|
* @generated from rpc camino.CaminoService.RegisterSchema
|
|
*/
|
|
registerSchema: {
|
|
methodKind: "unary";
|
|
input: typeof RegisterSchemaRequestSchema;
|
|
output: typeof RegisterSchemaResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.ListClasses
|
|
*/
|
|
listClasses: {
|
|
methodKind: "unary";
|
|
input: typeof ListClassesRequestSchema;
|
|
output: typeof ListClassesResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.CreateObject
|
|
*/
|
|
createObject: {
|
|
methodKind: "unary";
|
|
input: typeof CreateObjectRequestSchema;
|
|
output: typeof CreateObjectResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.GetObject
|
|
*/
|
|
getObject: {
|
|
methodKind: "unary";
|
|
input: typeof GetObjectRequestSchema;
|
|
output: typeof GetObjectResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.SetField
|
|
*/
|
|
setField: {
|
|
methodKind: "unary";
|
|
input: typeof SetFieldRequestSchema;
|
|
output: typeof SetFieldResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.AddEdge
|
|
*/
|
|
addEdge: {
|
|
methodKind: "unary";
|
|
input: typeof AddEdgeRequestSchema;
|
|
output: typeof AddEdgeResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.ListEdges
|
|
*/
|
|
listEdges: {
|
|
methodKind: "unary";
|
|
input: typeof ListEdgesRequestSchema;
|
|
output: typeof ListEdgesResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.RemoveEdge
|
|
*/
|
|
removeEdge: {
|
|
methodKind: "unary";
|
|
input: typeof RemoveEdgeRequestSchema;
|
|
output: typeof RemoveEdgeResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.ListOps
|
|
*/
|
|
listOps: {
|
|
methodKind: "unary";
|
|
input: typeof ListOpsRequestSchema;
|
|
output: typeof ListOpsResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.WatchObject
|
|
*/
|
|
watchObject: {
|
|
methodKind: "server_streaming";
|
|
input: typeof WatchObjectRequestSchema;
|
|
output: typeof WatchObjectEventSchema;
|
|
},
|
|
}> = /*@__PURE__*/
|
|
serviceDesc(file_camino_api, 0);
|
|
|