996 lines
30 KiB
TypeScript
996 lines
30 KiB
TypeScript
// @generated by protoc-gen-es v2.14.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 { PersistencePlan } from "./schema_pb.js";
|
|
import { file_camino_schema } from "./schema_pb.js";
|
|
import type { Message } from "@bufbuild/protobuf";
|
|
|
|
/**
|
|
* Describes the file camino/api.proto.
|
|
*/
|
|
export const file_camino_api: GenFile = /*@__PURE__*/
|
|
fileDesc("ChBjYW1pbm8vYXBpLnByb3RvEgZjYW1pbm8iCwoJTnVsbFZhbHVlInwKC09iamVjdFZhbHVlEi8KBmZpZWxkcxgBIAMoCzIfLmNhbWluby5PYmplY3RWYWx1ZS5GaWVsZHNFbnRyeRo8CgtGaWVsZHNFbnRyeRILCgNrZXkYASABKAkSHAoFdmFsdWUYAiABKAsyDS5jYW1pbm8uVmFsdWU6AjgBIioKCUxpc3RWYWx1ZRIdCgZ2YWx1ZXMYASADKAsyDS5jYW1pbm8uVmFsdWUiHQoIUmVmVmFsdWUSEQoJb2JqZWN0X2lkGAEgASgJIjwKCUNyZHRWYWx1ZRIMCgR0eXBlGAEgASgJEhAKCGVuY29kaW5nGAIgASgJEg8KB3BheWxvYWQYAyABKAwiqAEKEFN0YXRlVmFsdWVTb3VyY2USEQoJb2JqZWN0X2lkGAEgASgJEg8KB3Nsb3RfaWQYAiABKAkSFwoPdmFsdWVfdHlwZV9qc29uGAMgASgJEhsKE3N0b3JhZ2VfcG9saWN5X2pzb24YBCABKAkSEAoIcmV2aXNpb24YBSABKAQSKAoNY3JkdF9zbmFwc2hvdBgGIAEoCzIRLmNhbWluby5DcmR0VmFsdWUiNgoLVmFsdWVTb3VyY2USJwoFc3RhdGUYASABKAsyGC5jYW1pbm8uU3Rhd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lYXRlT2JqZWN0UmVzcG9uc2USQAoJR2V0T2JqZWN0EhguY2FtaW5vLkdldE9iamVjdFJlcXVlc3QaGS5jYW1pbm8uR2V0T2JqZWN0UmVzcG9uc2USRgoLTGlzdE9iamVjdHMSGi5jYW1pbm8uTGlzdE9iamVjdHNSZXF1ZXN0GhsuY2FtaW5vLkxpc3RPYmplY3RzUmVzcG9uc2USQAoJUmVhZFN0YXRlEhguY2FtaW5vLlJlYWRTdGF0ZVJlcXVlc3QaGS5jYW1pbm8uUmVhZFN0YXRlUmVzcG9uc2USQwoKV3JpdGVTdGF0ZRIZLmNhbWluby5Xcml0ZVN0YXRlUmVxdWVzdBoaLmNhbWluby5Xcml0ZVN0YXRlUmVzcG9uc2USRgoLQ29ubmVjdEVkZ2USGi5jYW1pbm8uQ29ubmVjdEVkZ2VSZXF1ZXN0GhsuY2FtaW5vLkNvbm5lY3RFZGdlUmVzcG9uc2USRgoLUmVzb2x2ZUVkZ2USGi5jYW1pbm8uUmVzb2x2ZUVkZ2VSZXF1ZXN0GhsuY2FtaW5vLlJlc29sdmVFZGdlUmVzcG9uc2USTwoORGlzY29ubmVjdEVkZ2USHS5jYW1pbm8uRGlzY29ubmVjdEVkZ2VSZXF1ZXN0Gh4uY2FtaW5vLkRpc2Nvbm5lY3RFZGdlUmVzcG9uc2USOgoHTGlzdE9wcxIWLmNhbWluby5MaXN0T3BzUmVxdWVzdBoXLmNhbWluby5MaXN0T3BzUmVzcG9uc2USRQoLV2F0Y2hPYmplY3QSGi5jYW1pbm8uV2F0Y2hPYmplY3RSZXF1ZXN0GhguY2FtaW5vLldhdGNoT2JqZWN0RXZlbnQwAWIGcHJvdG8z", [file_camino_schema]);
|
|
|
|
/**
|
|
* @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, 0);
|
|
|
|
/**
|
|
* @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, 1);
|
|
|
|
/**
|
|
* @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, 2);
|
|
|
|
/**
|
|
* @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, 3);
|
|
|
|
/**
|
|
* @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, 4);
|
|
|
|
/**
|
|
* @generated from message camino.StateValueSource
|
|
*/
|
|
export type StateValueSource = Message<"camino.StateValueSource"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
|
|
/**
|
|
* @generated from field: string slot_id = 2;
|
|
*/
|
|
slotId: string;
|
|
|
|
/**
|
|
* @generated from field: string value_type_json = 3;
|
|
*/
|
|
valueTypeJson: string;
|
|
|
|
/**
|
|
* @generated from field: string storage_policy_json = 4;
|
|
*/
|
|
storagePolicyJson: string;
|
|
|
|
/**
|
|
* @generated from field: uint64 revision = 5;
|
|
*/
|
|
revision: bigint;
|
|
|
|
/**
|
|
* CRDT-backed state is still read as its materialized Value. The snapshot
|
|
* travels with the writable source identity so a client can retain and
|
|
* advance a local replica without exposing the document to package code.
|
|
*
|
|
* @generated from field: camino.CrdtValue crdt_snapshot = 6;
|
|
*/
|
|
crdtSnapshot?: CrdtValue | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.StateValueSource.
|
|
* Use `create(StateValueSourceSchema)` to create a new message.
|
|
*/
|
|
export const StateValueSourceSchema: GenMessage<StateValueSource> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 5);
|
|
|
|
/**
|
|
* @generated from message camino.ValueSource
|
|
*/
|
|
export type ValueSource = Message<"camino.ValueSource"> & {
|
|
/**
|
|
* @generated from field: camino.StateValueSource state = 1;
|
|
*/
|
|
state?: StateValueSource | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ValueSource.
|
|
* Use `create(ValueSourceSchema)` to create a new message.
|
|
*/
|
|
export const ValueSourceSchema: GenMessage<ValueSource> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 6);
|
|
|
|
/**
|
|
* @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, 7);
|
|
|
|
/**
|
|
* @generated from message camino.InstallPersistencePlanRequest
|
|
*/
|
|
export type InstallPersistencePlanRequest = Message<"camino.InstallPersistencePlanRequest"> & {
|
|
/**
|
|
* @generated from field: camino.PersistencePlan plan = 1;
|
|
*/
|
|
plan?: PersistencePlan | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.InstallPersistencePlanRequest.
|
|
* Use `create(InstallPersistencePlanRequestSchema)` to create a new message.
|
|
*/
|
|
export const InstallPersistencePlanRequestSchema: GenMessage<InstallPersistencePlanRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 8);
|
|
|
|
/**
|
|
* @generated from message camino.InstallPersistencePlanResponse
|
|
*/
|
|
export type InstallPersistencePlanResponse = Message<"camino.InstallPersistencePlanResponse"> & {
|
|
/**
|
|
* @generated from field: camino.PersistencePlan plan = 1;
|
|
*/
|
|
plan?: PersistencePlan | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.InstallPersistencePlanResponse.
|
|
* Use `create(InstallPersistencePlanResponseSchema)` to create a new message.
|
|
*/
|
|
export const InstallPersistencePlanResponseSchema: GenMessage<InstallPersistencePlanResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 9);
|
|
|
|
/**
|
|
* @generated from message camino.GetPersistencePlanRequest
|
|
*/
|
|
export type GetPersistencePlanRequest = Message<"camino.GetPersistencePlanRequest"> & {
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.GetPersistencePlanRequest.
|
|
* Use `create(GetPersistencePlanRequestSchema)` to create a new message.
|
|
*/
|
|
export const GetPersistencePlanRequestSchema: GenMessage<GetPersistencePlanRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 10);
|
|
|
|
/**
|
|
* @generated from message camino.GetPersistencePlanResponse
|
|
*/
|
|
export type GetPersistencePlanResponse = Message<"camino.GetPersistencePlanResponse"> & {
|
|
/**
|
|
* @generated from field: camino.PersistencePlan plan = 1;
|
|
*/
|
|
plan?: PersistencePlan | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.GetPersistencePlanResponse.
|
|
* Use `create(GetPersistencePlanResponseSchema)` to create a new message.
|
|
*/
|
|
export const GetPersistencePlanResponseSchema: GenMessage<GetPersistencePlanResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 11);
|
|
|
|
/**
|
|
* @generated from message camino.CreateObjectRequest
|
|
*/
|
|
export type CreateObjectRequest = Message<"camino.CreateObjectRequest"> & {
|
|
/**
|
|
* @generated from field: string atom_id = 1;
|
|
*/
|
|
atomId: string;
|
|
|
|
/**
|
|
* @generated from field: map<string, camino.Value> initial_state = 2;
|
|
*/
|
|
initialState: { [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, 12);
|
|
|
|
/**
|
|
* @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, 13);
|
|
|
|
/**
|
|
* @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, 14);
|
|
|
|
/**
|
|
* @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, 15);
|
|
|
|
/**
|
|
* @generated from message camino.ListObjectsRequest
|
|
*/
|
|
export type ListObjectsRequest = Message<"camino.ListObjectsRequest"> & {
|
|
/**
|
|
* @generated from field: string atom_id = 1;
|
|
*/
|
|
atomId: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ListObjectsRequest.
|
|
* Use `create(ListObjectsRequestSchema)` to create a new message.
|
|
*/
|
|
export const ListObjectsRequestSchema: GenMessage<ListObjectsRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 16);
|
|
|
|
/**
|
|
* @generated from message camino.ListObjectsResponse
|
|
*/
|
|
export type ListObjectsResponse = Message<"camino.ListObjectsResponse"> & {
|
|
/**
|
|
* @generated from field: repeated camino.CaminoObject objects = 1;
|
|
*/
|
|
objects: CaminoObject[];
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ListObjectsResponse.
|
|
* Use `create(ListObjectsResponseSchema)` to create a new message.
|
|
*/
|
|
export const ListObjectsResponseSchema: GenMessage<ListObjectsResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 17);
|
|
|
|
/**
|
|
* @generated from message camino.ReadStateRequest
|
|
*/
|
|
export type ReadStateRequest = Message<"camino.ReadStateRequest"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
|
|
/**
|
|
* @generated from field: string slot_id = 2;
|
|
*/
|
|
slotId: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ReadStateRequest.
|
|
* Use `create(ReadStateRequestSchema)` to create a new message.
|
|
*/
|
|
export const ReadStateRequestSchema: GenMessage<ReadStateRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 18);
|
|
|
|
/**
|
|
* @generated from message camino.ReadStateResponse
|
|
*/
|
|
export type ReadStateResponse = Message<"camino.ReadStateResponse"> & {
|
|
/**
|
|
* @generated from field: camino.Value value = 1;
|
|
*/
|
|
value?: Value | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ReadStateResponse.
|
|
* Use `create(ReadStateResponseSchema)` to create a new message.
|
|
*/
|
|
export const ReadStateResponseSchema: GenMessage<ReadStateResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 19);
|
|
|
|
/**
|
|
* @generated from message camino.WriteStateRequest
|
|
*/
|
|
export type WriteStateRequest = Message<"camino.WriteStateRequest"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
|
|
/**
|
|
* @generated from field: string slot_id = 2;
|
|
*/
|
|
slotId: 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.WriteStateRequest.
|
|
* Use `create(WriteStateRequestSchema)` to create a new message.
|
|
*/
|
|
export const WriteStateRequestSchema: GenMessage<WriteStateRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 20);
|
|
|
|
/**
|
|
* @generated from message camino.WriteStateResponse
|
|
*/
|
|
export type WriteStateResponse = Message<"camino.WriteStateResponse"> & {
|
|
/**
|
|
* @generated from field: camino.Value value = 1;
|
|
*/
|
|
value?: Value | undefined;
|
|
|
|
/**
|
|
* @generated from field: camino.CaminoObject object = 2;
|
|
*/
|
|
object?: CaminoObject | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.WriteStateResponse.
|
|
* Use `create(WriteStateResponseSchema)` to create a new message.
|
|
*/
|
|
export const WriteStateResponseSchema: GenMessage<WriteStateResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 21);
|
|
|
|
/**
|
|
* @generated from message camino.ConnectEdgeRequest
|
|
*/
|
|
export type ConnectEdgeRequest = Message<"camino.ConnectEdgeRequest"> & {
|
|
/**
|
|
* @generated from field: string edge_type_id = 1;
|
|
*/
|
|
edgeTypeId: string;
|
|
|
|
/**
|
|
* @generated from field: string projection_id = 2;
|
|
*/
|
|
projectionId: string;
|
|
|
|
/**
|
|
* @generated from field: string object_id = 3;
|
|
*/
|
|
objectId: string;
|
|
|
|
/**
|
|
* @generated from field: string target_object_id = 4;
|
|
*/
|
|
targetObjectId: string;
|
|
|
|
/**
|
|
* @generated from field: optional int32 ordinal = 5;
|
|
*/
|
|
ordinal?: number | undefined;
|
|
|
|
/**
|
|
* @generated from field: optional int32 target_ordinal = 6;
|
|
*/
|
|
targetOrdinal?: number | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ConnectEdgeRequest.
|
|
* Use `create(ConnectEdgeRequestSchema)` to create a new message.
|
|
*/
|
|
export const ConnectEdgeRequestSchema: GenMessage<ConnectEdgeRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 22);
|
|
|
|
/**
|
|
* @generated from message camino.ConnectEdgeResponse
|
|
*/
|
|
export type ConnectEdgeResponse = Message<"camino.ConnectEdgeResponse"> & {
|
|
/**
|
|
* @generated from field: camino.CaminoEdge edge = 1;
|
|
*/
|
|
edge?: CaminoEdge | undefined;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ConnectEdgeResponse.
|
|
* Use `create(ConnectEdgeResponseSchema)` to create a new message.
|
|
*/
|
|
export const ConnectEdgeResponseSchema: GenMessage<ConnectEdgeResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 23);
|
|
|
|
/**
|
|
* @generated from message camino.ResolveEdgeRequest
|
|
*/
|
|
export type ResolveEdgeRequest = Message<"camino.ResolveEdgeRequest"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
|
|
/**
|
|
* @generated from field: string edge_type_id = 2;
|
|
*/
|
|
edgeTypeId: string;
|
|
|
|
/**
|
|
* @generated from field: string projection_id = 3;
|
|
*/
|
|
projectionId: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ResolveEdgeRequest.
|
|
* Use `create(ResolveEdgeRequestSchema)` to create a new message.
|
|
*/
|
|
export const ResolveEdgeRequestSchema: GenMessage<ResolveEdgeRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 24);
|
|
|
|
/**
|
|
* @generated from message camino.ResolveEdgeResponse
|
|
*/
|
|
export type ResolveEdgeResponse = Message<"camino.ResolveEdgeResponse"> & {
|
|
/**
|
|
* @generated from field: repeated camino.CaminoEdge edges = 1;
|
|
*/
|
|
edges: CaminoEdge[];
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.ResolveEdgeResponse.
|
|
* Use `create(ResolveEdgeResponseSchema)` to create a new message.
|
|
*/
|
|
export const ResolveEdgeResponseSchema: GenMessage<ResolveEdgeResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 25);
|
|
|
|
/**
|
|
* @generated from message camino.DisconnectEdgeRequest
|
|
*/
|
|
export type DisconnectEdgeRequest = Message<"camino.DisconnectEdgeRequest"> & {
|
|
/**
|
|
* @generated from field: string edge_id = 1;
|
|
*/
|
|
edgeId: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.DisconnectEdgeRequest.
|
|
* Use `create(DisconnectEdgeRequestSchema)` to create a new message.
|
|
*/
|
|
export const DisconnectEdgeRequestSchema: GenMessage<DisconnectEdgeRequest> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 26);
|
|
|
|
/**
|
|
* @generated from message camino.DisconnectEdgeResponse
|
|
*/
|
|
export type DisconnectEdgeResponse = Message<"camino.DisconnectEdgeResponse"> & {
|
|
/**
|
|
* @generated from field: string edge_id = 1;
|
|
*/
|
|
edgeId: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.DisconnectEdgeResponse.
|
|
* Use `create(DisconnectEdgeResponseSchema)` to create a new message.
|
|
*/
|
|
export const DisconnectEdgeResponseSchema: GenMessage<DisconnectEdgeResponse> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 27);
|
|
|
|
/**
|
|
* @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, 28);
|
|
|
|
/**
|
|
* @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, 29);
|
|
|
|
/**
|
|
* @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, 30);
|
|
|
|
/**
|
|
* @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, 31);
|
|
|
|
/**
|
|
* @generated from message camino.CaminoObject
|
|
*/
|
|
export type CaminoObject = Message<"camino.CaminoObject"> & {
|
|
/**
|
|
* @generated from field: string id = 1;
|
|
*/
|
|
id: string;
|
|
|
|
/**
|
|
* @generated from field: string atom_id = 2;
|
|
*/
|
|
atomId: string;
|
|
|
|
/**
|
|
* @generated from field: string workspace_revision_id = 3;
|
|
*/
|
|
workspaceRevisionId: string;
|
|
|
|
/**
|
|
* @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> state = 6;
|
|
*/
|
|
state: { [key: string]: Value };
|
|
|
|
/**
|
|
* @generated from field: map<string, uint64> state_revisions = 7;
|
|
*/
|
|
stateRevisions: { [key: string]: bigint };
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.CaminoObject.
|
|
* Use `create(CaminoObjectSchema)` to create a new message.
|
|
*/
|
|
export const CaminoObjectSchema: GenMessage<CaminoObject> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 32);
|
|
|
|
/**
|
|
* @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 first_object_id = 3;
|
|
*/
|
|
firstObjectId: string;
|
|
|
|
/**
|
|
* @generated from field: string second_object_id = 4;
|
|
*/
|
|
secondObjectId: string;
|
|
|
|
/**
|
|
* @generated from field: string first_projection_id = 5;
|
|
*/
|
|
firstProjectionId: string;
|
|
|
|
/**
|
|
* @generated from field: string second_projection_id = 6;
|
|
*/
|
|
secondProjectionId: string;
|
|
|
|
/**
|
|
* @generated from field: optional int32 first_ordinal = 7;
|
|
*/
|
|
firstOrdinal?: number | undefined;
|
|
|
|
/**
|
|
* @generated from field: optional int32 second_ordinal = 8;
|
|
*/
|
|
secondOrdinal?: number | undefined;
|
|
|
|
/**
|
|
* @generated from field: string created_at = 9;
|
|
*/
|
|
createdAt: string;
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.CaminoEdge.
|
|
* Use `create(CaminoEdgeSchema)` to create a new message.
|
|
*/
|
|
export const CaminoEdgeSchema: GenMessage<CaminoEdge> = /*@__PURE__*/
|
|
messageDesc(file_camino_api, 33);
|
|
|
|
/**
|
|
* @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: string created_at = 6;
|
|
*/
|
|
createdAt: string;
|
|
|
|
/**
|
|
* @generated from field: string client_mutation_id = 7;
|
|
*/
|
|
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, 34);
|
|
|
|
/**
|
|
* @generated from service camino.CaminoService
|
|
*/
|
|
export const CaminoService: GenService<{
|
|
/**
|
|
* @generated from rpc camino.CaminoService.InstallPersistencePlan
|
|
*/
|
|
installPersistencePlan: {
|
|
methodKind: "unary";
|
|
input: typeof InstallPersistencePlanRequestSchema;
|
|
output: typeof InstallPersistencePlanResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.GetPersistencePlan
|
|
*/
|
|
getPersistencePlan: {
|
|
methodKind: "unary";
|
|
input: typeof GetPersistencePlanRequestSchema;
|
|
output: typeof GetPersistencePlanResponseSchema;
|
|
},
|
|
/**
|
|
* @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.ListObjects
|
|
*/
|
|
listObjects: {
|
|
methodKind: "unary";
|
|
input: typeof ListObjectsRequestSchema;
|
|
output: typeof ListObjectsResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.ReadState
|
|
*/
|
|
readState: {
|
|
methodKind: "unary";
|
|
input: typeof ReadStateRequestSchema;
|
|
output: typeof ReadStateResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.WriteState
|
|
*/
|
|
writeState: {
|
|
methodKind: "unary";
|
|
input: typeof WriteStateRequestSchema;
|
|
output: typeof WriteStateResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.ConnectEdge
|
|
*/
|
|
connectEdge: {
|
|
methodKind: "unary";
|
|
input: typeof ConnectEdgeRequestSchema;
|
|
output: typeof ConnectEdgeResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.ResolveEdge
|
|
*/
|
|
resolveEdge: {
|
|
methodKind: "unary";
|
|
input: typeof ResolveEdgeRequestSchema;
|
|
output: typeof ResolveEdgeResponseSchema;
|
|
},
|
|
/**
|
|
* @generated from rpc camino.CaminoService.DisconnectEdge
|
|
*/
|
|
disconnectEdge: {
|
|
methodKind: "unary";
|
|
input: typeof DisconnectEdgeRequestSchema;
|
|
output: typeof DisconnectEdgeResponseSchema;
|
|
},
|
|
/**
|
|
* @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);
|
|
|