1533 lines
44 KiB
TypeScript
1533 lines
44 KiB
TypeScript
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
import type { PersistencePlan, QueryRelationalPlan, QuerySelection } from "./schema_pb.js";
|
|
import type { CapabilityRef, FieldEditing } from "../quixos/refs_pb.js";
|
|
import type { Message } from "@bufbuild/protobuf";
|
|
/**
|
|
* Describes the file camino/api.proto.
|
|
*/
|
|
export declare const file_camino_api: GenFile;
|
|
/**
|
|
* @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 declare const NullValueSchema: GenMessage<NullValue>;
|
|
/**
|
|
* @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 declare const ObjectValueSchema: GenMessage<ObjectValue>;
|
|
/**
|
|
* @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 declare const ListValueSchema: GenMessage<ListValue>;
|
|
/**
|
|
* @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 declare const RefValueSchema: GenMessage<RefValue>;
|
|
/**
|
|
* @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 declare const CrdtValueSchema: GenMessage<CrdtValue>;
|
|
/**
|
|
* @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 declare const StateValueSourceSchema: GenMessage<StateValueSource>;
|
|
/**
|
|
* @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 declare const ValueSourceSchema: GenMessage<ValueSource>;
|
|
/**
|
|
* @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;
|
|
/**
|
|
* Trusted query coordinator annotation. Travels with values through residual
|
|
* row selection, then is removed in favor of final-path hydration metadata.
|
|
*
|
|
* @generated from field: camino.QueryFieldOrigin query_origin = 12;
|
|
*/
|
|
queryOrigin?: QueryFieldOrigin | undefined;
|
|
};
|
|
/**
|
|
* Describes the message camino.Value.
|
|
* Use `create(ValueSchema)` to create a new message.
|
|
*/
|
|
export declare const ValueSchema: GenMessage<Value>;
|
|
/**
|
|
* @generated from message camino.QueryFieldOrigin
|
|
*/
|
|
export type QueryFieldOrigin = Message<"camino.QueryFieldOrigin"> & {
|
|
/**
|
|
* @generated from field: string selection_id = 1;
|
|
*/
|
|
selectionId: string;
|
|
/**
|
|
* @generated from field: string atom_id = 2;
|
|
*/
|
|
atomId: string;
|
|
/**
|
|
* @generated from field: string interface_revision_id = 3;
|
|
*/
|
|
interfaceRevisionId: string;
|
|
/**
|
|
* @generated from field: string member_id = 4;
|
|
*/
|
|
memberId: string;
|
|
/**
|
|
* @generated from field: camino.StateValueSource source = 5;
|
|
*/
|
|
source?: StateValueSource | undefined;
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryFieldOrigin.
|
|
* Use `create(QueryFieldOriginSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryFieldOriginSchema: GenMessage<QueryFieldOrigin>;
|
|
/**
|
|
* @generated from message camino.QueryLiveField
|
|
*/
|
|
export type QueryLiveField = Message<"camino.QueryLiveField"> & {
|
|
/**
|
|
* @generated from field: repeated camino.QueryPathPart path = 1;
|
|
*/
|
|
path: QueryPathPart[];
|
|
/**
|
|
* @generated from field: string selection_id = 2;
|
|
*/
|
|
selectionId: string;
|
|
/**
|
|
* @generated from field: string object_id = 3;
|
|
*/
|
|
objectId: string;
|
|
/**
|
|
* @generated from field: quixos.CapabilityRef capability = 4;
|
|
*/
|
|
capability?: CapabilityRef | undefined;
|
|
/**
|
|
* @generated from field: string watch_operation_id = 5;
|
|
*/
|
|
watchOperationId: string;
|
|
/**
|
|
* @generated from field: string setter_operation_id = 6;
|
|
*/
|
|
setterOperationId: string;
|
|
/**
|
|
* @generated from field: quixos.FieldEditing editing = 7;
|
|
*/
|
|
editing?: FieldEditing | undefined;
|
|
/**
|
|
* @generated from field: camino.StateValueSource source = 8;
|
|
*/
|
|
source?: StateValueSource | undefined;
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryLiveField.
|
|
* Use `create(QueryLiveFieldSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryLiveFieldSchema: GenMessage<QueryLiveField>;
|
|
/**
|
|
* @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 declare const InstallPersistencePlanRequestSchema: GenMessage<InstallPersistencePlanRequest>;
|
|
/**
|
|
* @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 declare const InstallPersistencePlanResponseSchema: GenMessage<InstallPersistencePlanResponse>;
|
|
/**
|
|
* @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 declare const GetPersistencePlanRequestSchema: GenMessage<GetPersistencePlanRequest>;
|
|
/**
|
|
* @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 declare const GetPersistencePlanResponseSchema: GenMessage<GetPersistencePlanResponse>;
|
|
/**
|
|
* @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 declare const CreateObjectRequestSchema: GenMessage<CreateObjectRequest>;
|
|
/**
|
|
* @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 declare const CreateObjectResponseSchema: GenMessage<CreateObjectResponse>;
|
|
/**
|
|
* @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 declare const GetObjectRequestSchema: GenMessage<GetObjectRequest>;
|
|
/**
|
|
* @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 declare const GetObjectResponseSchema: GenMessage<GetObjectResponse>;
|
|
/**
|
|
* @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 declare const ListObjectsRequestSchema: GenMessage<ListObjectsRequest>;
|
|
/**
|
|
* @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 declare const ListObjectsResponseSchema: GenMessage<ListObjectsResponse>;
|
|
/**
|
|
* @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 declare const ReadStateRequestSchema: GenMessage<ReadStateRequest>;
|
|
/**
|
|
* @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 declare const ReadStateResponseSchema: GenMessage<ReadStateResponse>;
|
|
/**
|
|
* @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 declare const WriteStateRequestSchema: GenMessage<WriteStateRequest>;
|
|
/**
|
|
* @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 declare const WriteStateResponseSchema: GenMessage<WriteStateResponse>;
|
|
/**
|
|
* @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 declare const ConnectEdgeRequestSchema: GenMessage<ConnectEdgeRequest>;
|
|
/**
|
|
* @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 declare const ConnectEdgeResponseSchema: GenMessage<ConnectEdgeResponse>;
|
|
/**
|
|
* @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 declare const ResolveEdgeRequestSchema: GenMessage<ResolveEdgeRequest>;
|
|
/**
|
|
* @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 declare const ResolveEdgeResponseSchema: GenMessage<ResolveEdgeResponse>;
|
|
/**
|
|
* @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 declare const DisconnectEdgeRequestSchema: GenMessage<DisconnectEdgeRequest>;
|
|
/**
|
|
* @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 declare const DisconnectEdgeResponseSchema: GenMessage<DisconnectEdgeResponse>;
|
|
/**
|
|
* @generated from message camino.CollectionEntry
|
|
*/
|
|
export type CollectionEntry = Message<"camino.CollectionEntry"> & {
|
|
/**
|
|
* Existing entry identity to preserve; empty allocates a new canonical edge.
|
|
*
|
|
* @generated from field: string edge_id = 1;
|
|
*/
|
|
edgeId: string;
|
|
/**
|
|
* @generated from field: string target_object_id = 2;
|
|
*/
|
|
targetObjectId: string;
|
|
/**
|
|
* @generated from field: camino.Value key = 3;
|
|
*/
|
|
key?: Value | undefined;
|
|
};
|
|
/**
|
|
* Describes the message camino.CollectionEntry.
|
|
* Use `create(CollectionEntrySchema)` to create a new message.
|
|
*/
|
|
export declare const CollectionEntrySchema: GenMessage<CollectionEntry>;
|
|
/**
|
|
* @generated from message camino.ReadCollectionResponse
|
|
*/
|
|
export type ReadCollectionResponse = Message<"camino.ReadCollectionResponse"> & {
|
|
/**
|
|
* @generated from field: uint64 revision = 1;
|
|
*/
|
|
revision: bigint;
|
|
/**
|
|
* @generated from field: repeated camino.CollectionEntry entries = 2;
|
|
*/
|
|
entries: CollectionEntry[];
|
|
};
|
|
/**
|
|
* Describes the message camino.ReadCollectionResponse.
|
|
* Use `create(ReadCollectionResponseSchema)` to create a new message.
|
|
*/
|
|
export declare const ReadCollectionResponseSchema: GenMessage<ReadCollectionResponse>;
|
|
/**
|
|
* @generated from message camino.ReplaceCollectionRequest
|
|
*/
|
|
export type ReplaceCollectionRequest = Message<"camino.ReplaceCollectionRequest"> & {
|
|
/**
|
|
* @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;
|
|
/**
|
|
* @generated from field: uint64 expected_revision = 4;
|
|
*/
|
|
expectedRevision: bigint;
|
|
/**
|
|
* @generated from field: repeated camino.CollectionEntry entries = 5;
|
|
*/
|
|
entries: CollectionEntry[];
|
|
};
|
|
/**
|
|
* Describes the message camino.ReplaceCollectionRequest.
|
|
* Use `create(ReplaceCollectionRequestSchema)` to create a new message.
|
|
*/
|
|
export declare const ReplaceCollectionRequestSchema: GenMessage<ReplaceCollectionRequest>;
|
|
/**
|
|
* @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 declare const ListOpsRequestSchema: GenMessage<ListOpsRequest>;
|
|
/**
|
|
* @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 declare const ListOpsResponseSchema: GenMessage<ListOpsResponse>;
|
|
/**
|
|
* @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;
|
|
/**
|
|
* Managed runtimes must watch only their injected attachments.
|
|
*
|
|
* @generated from field: repeated string attachment_ids = 4;
|
|
*/
|
|
attachmentIds: string[];
|
|
};
|
|
/**
|
|
* Describes the message camino.WatchObjectRequest.
|
|
* Use `create(WatchObjectRequestSchema)` to create a new message.
|
|
*/
|
|
export declare const WatchObjectRequestSchema: GenMessage<WatchObjectRequest>;
|
|
/**
|
|
* @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 declare const WatchObjectEventSchema: GenMessage<WatchObjectEvent>;
|
|
/**
|
|
* @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 declare const CaminoObjectSchema: GenMessage<CaminoObject>;
|
|
/**
|
|
* @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;
|
|
/**
|
|
* @generated from field: string first_key_json = 10;
|
|
*/
|
|
firstKeyJson: string;
|
|
/**
|
|
* @generated from field: string second_key_json = 11;
|
|
*/
|
|
secondKeyJson: string;
|
|
};
|
|
/**
|
|
* Describes the message camino.CaminoEdge.
|
|
* Use `create(CaminoEdgeSchema)` to create a new message.
|
|
*/
|
|
export declare const CaminoEdgeSchema: GenMessage<CaminoEdge>;
|
|
/**
|
|
* @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 declare const CaminoOpSchema: GenMessage<CaminoOp>;
|
|
/**
|
|
* @generated from message camino.QueryRequest
|
|
*/
|
|
export type QueryRequest = Message<"camino.QueryRequest"> & {
|
|
/**
|
|
* @generated from field: string query_id = 1;
|
|
*/
|
|
queryId: string;
|
|
/**
|
|
* @generated from field: string object_id = 2;
|
|
*/
|
|
objectId: string;
|
|
/**
|
|
* @generated from field: map<string, camino.Value> variables = 3;
|
|
*/
|
|
variables: {
|
|
[key: string]: Value;
|
|
};
|
|
/**
|
|
* Typed callers require this exact checked definition. Administrative/raw
|
|
* callers may omit it to explicitly select the currently installed definition.
|
|
*
|
|
* @generated from field: string expected_definition_digest = 4;
|
|
*/
|
|
expectedDefinitionDigest: string;
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryRequest.
|
|
* Use `create(QueryRequestSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryRequestSchema: GenMessage<QueryRequest>;
|
|
/**
|
|
* @generated from message camino.QueryPathPart
|
|
*/
|
|
export type QueryPathPart = Message<"camino.QueryPathPart"> & {
|
|
/**
|
|
* @generated from oneof camino.QueryPathPart.part
|
|
*/
|
|
part: {
|
|
/**
|
|
* @generated from field: string field = 1;
|
|
*/
|
|
value: string;
|
|
case: "field";
|
|
} | {
|
|
/**
|
|
* @generated from field: uint32 index = 2;
|
|
*/
|
|
value: number;
|
|
case: "index";
|
|
} | {
|
|
case: undefined;
|
|
value?: undefined;
|
|
};
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryPathPart.
|
|
* Use `create(QueryPathPartSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryPathPartSchema: GenMessage<QueryPathPart>;
|
|
/**
|
|
* @generated from message camino.QueryPendingField
|
|
*/
|
|
export type QueryPendingField = Message<"camino.QueryPendingField"> & {
|
|
/**
|
|
* @generated from field: repeated camino.QueryPathPart path = 1;
|
|
*/
|
|
path: QueryPathPart[];
|
|
/**
|
|
* @generated from field: string object_id = 2;
|
|
*/
|
|
objectId: string;
|
|
/**
|
|
* @generated from field: string interface_revision_id = 3;
|
|
*/
|
|
interfaceRevisionId: string;
|
|
/**
|
|
* @generated from field: string member_id = 4;
|
|
*/
|
|
memberId: string;
|
|
/**
|
|
* @generated from field: string operation_id = 5;
|
|
*/
|
|
operationId: string;
|
|
/**
|
|
* @generated from field: string value_type_json = 6;
|
|
*/
|
|
valueTypeJson: string;
|
|
/**
|
|
* Internal residual facts are separate from the authored result projection.
|
|
*
|
|
* @generated from field: optional uint32 residual_window = 7;
|
|
*/
|
|
residualWindow?: number | undefined;
|
|
/**
|
|
* @generated from field: uint32 residual_row = 8;
|
|
*/
|
|
residualRow: number;
|
|
/**
|
|
* @generated from field: string residual_field = 9;
|
|
*/
|
|
residualField: string;
|
|
/**
|
|
* @generated from field: optional uint32 relational_capture = 10;
|
|
*/
|
|
relationalCapture?: number | undefined;
|
|
/**
|
|
* @generated from field: uint32 captured_object = 11;
|
|
*/
|
|
capturedObject: number;
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryPendingField.
|
|
* Use `create(QueryPendingFieldSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryPendingFieldSchema: GenMessage<QueryPendingField>;
|
|
/**
|
|
* @generated from message camino.QueryStats
|
|
*/
|
|
export type QueryStats = Message<"camino.QueryStats"> & {
|
|
/**
|
|
* @generated from field: uint32 sql_count = 1;
|
|
*/
|
|
sqlCount: number;
|
|
/**
|
|
* @generated from field: double sql_ms = 2;
|
|
*/
|
|
sqlMs: number;
|
|
/**
|
|
* @generated from field: uint32 rpc_count = 3;
|
|
*/
|
|
rpcCount: number;
|
|
/**
|
|
* @generated from field: double rpc_ms = 4;
|
|
*/
|
|
rpcMs: number;
|
|
/**
|
|
* @generated from field: uint32 result_bytes = 5;
|
|
*/
|
|
resultBytes: number;
|
|
/**
|
|
* @generated from field: double preparation_ms = 6;
|
|
*/
|
|
preparationMs: number;
|
|
/**
|
|
* @generated from field: double total_ms = 7;
|
|
*/
|
|
totalMs: number;
|
|
/**
|
|
* @generated from field: uint32 relational_stages = 8;
|
|
*/
|
|
relationalStages: number;
|
|
/**
|
|
* @generated from field: uint32 captured_candidates = 9;
|
|
*/
|
|
capturedCandidates: number;
|
|
/**
|
|
* @generated from field: double relational_ms = 10;
|
|
*/
|
|
relationalMs: number;
|
|
/**
|
|
* @generated from field: double residual_ms = 11;
|
|
*/
|
|
residualMs: number;
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryStats.
|
|
* Use `create(QueryStatsSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryStatsSchema: GenMessage<QueryStats>;
|
|
/**
|
|
* @generated from message camino.QueryResponse
|
|
*/
|
|
export type QueryResponse = Message<"camino.QueryResponse"> & {
|
|
/**
|
|
* @generated from field: camino.Value value = 1;
|
|
*/
|
|
value?: Value | undefined;
|
|
/**
|
|
* @generated from field: string data_version = 2;
|
|
*/
|
|
dataVersion: string;
|
|
/**
|
|
* @generated from field: string binding_digest = 3;
|
|
*/
|
|
bindingDigest: string;
|
|
/**
|
|
* @generated from field: repeated camino.QueryPendingField pending = 4;
|
|
*/
|
|
pending: QueryPendingField[];
|
|
/**
|
|
* @generated from field: camino.QueryStats stats = 5;
|
|
*/
|
|
stats?: QueryStats | undefined;
|
|
/**
|
|
* Redeemable only through the host's private control socket, not an RPC grant.
|
|
*
|
|
* @generated from field: string preparation_token = 6;
|
|
*/
|
|
preparationToken: string;
|
|
/**
|
|
* @generated from field: repeated camino.QueryFieldFailure errors = 7;
|
|
*/
|
|
errors: QueryFieldFailure[];
|
|
/**
|
|
* @generated from field: repeated camino.QueryResidualWindow residual_windows = 8;
|
|
*/
|
|
residualWindows: QueryResidualWindow[];
|
|
/**
|
|
* Native reads share one database snapshot; package enrichment does not.
|
|
*
|
|
* native-snapshot | mixed
|
|
*
|
|
* @generated from field: string consistency = 9;
|
|
*/
|
|
consistency: string;
|
|
/**
|
|
* @generated from field: repeated camino.QueryRelationalCapture relational_captures = 10;
|
|
*/
|
|
relationalCaptures: QueryRelationalCapture[];
|
|
/**
|
|
* @generated from field: repeated camino.QueryLiveField live_fields = 11;
|
|
*/
|
|
liveFields: QueryLiveField[];
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryResponse.
|
|
* Use `create(QueryResponseSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryResponseSchema: GenMessage<QueryResponse>;
|
|
/**
|
|
* Private coordinator input, removed before publishing a result. Memberships
|
|
* and native facts share one snapshot; package reads are sampled afterwards.
|
|
*
|
|
* @generated from message camino.QueryCapturedMember
|
|
*/
|
|
export type QueryCapturedMember = Message<"camino.QueryCapturedMember"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
/**
|
|
* @generated from field: string entry_id = 2;
|
|
*/
|
|
entryId: string;
|
|
/**
|
|
* @generated from field: camino.Value map_key = 3;
|
|
*/
|
|
mapKey?: Value | undefined;
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryCapturedMember.
|
|
* Use `create(QueryCapturedMemberSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryCapturedMemberSchema: GenMessage<QueryCapturedMember>;
|
|
/**
|
|
* @generated from message camino.QueryCapturedMembers
|
|
*/
|
|
export type QueryCapturedMembers = Message<"camino.QueryCapturedMembers"> & {
|
|
/**
|
|
* @generated from field: repeated camino.QueryCapturedMember entries = 1;
|
|
*/
|
|
entries: QueryCapturedMember[];
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryCapturedMembers.
|
|
* Use `create(QueryCapturedMembersSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryCapturedMembersSchema: GenMessage<QueryCapturedMembers>;
|
|
/**
|
|
* @generated from message camino.QueryCapturedObject
|
|
*/
|
|
export type QueryCapturedObject = Message<"camino.QueryCapturedObject"> & {
|
|
/**
|
|
* @generated from field: string object_id = 1;
|
|
*/
|
|
objectId: string;
|
|
/**
|
|
* @generated from field: map<string, camino.Value> fields = 2;
|
|
*/
|
|
fields: {
|
|
[key: string]: Value;
|
|
};
|
|
/**
|
|
* @generated from field: map<string, string> field_types = 3;
|
|
*/
|
|
fieldTypes: {
|
|
[key: string]: string;
|
|
};
|
|
/**
|
|
* @generated from field: map<string, camino.QueryCapturedMembers> relationships = 4;
|
|
*/
|
|
relationships: {
|
|
[key: string]: QueryCapturedMembers;
|
|
};
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryCapturedObject.
|
|
* Use `create(QueryCapturedObjectSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryCapturedObjectSchema: GenMessage<QueryCapturedObject>;
|
|
/**
|
|
* @generated from message camino.QueryRelationalCapture
|
|
*/
|
|
export type QueryRelationalCapture = Message<"camino.QueryRelationalCapture"> & {
|
|
/**
|
|
* @generated from field: repeated camino.QueryPathPart path = 1;
|
|
*/
|
|
path: QueryPathPart[];
|
|
/**
|
|
* @generated from field: camino.QueryRelationalPlan plan = 2;
|
|
*/
|
|
plan?: QueryRelationalPlan | undefined;
|
|
/**
|
|
* @generated from field: string root_object_id = 3;
|
|
*/
|
|
rootObjectId: string;
|
|
/**
|
|
* @generated from field: repeated camino.QueryCapturedObject objects = 4;
|
|
*/
|
|
objects: QueryCapturedObject[];
|
|
/**
|
|
* @generated from field: string variables_json = 5;
|
|
*/
|
|
variablesJson: string;
|
|
/**
|
|
* @generated from field: uint32 row_limit = 6;
|
|
*/
|
|
rowLimit: number;
|
|
/**
|
|
* @generated from field: uint32 candidate_limit = 7;
|
|
*/
|
|
candidateLimit: number;
|
|
/**
|
|
* @generated from field: optional uint32 residual_window = 8;
|
|
*/
|
|
residualWindow?: number | undefined;
|
|
/**
|
|
* @generated from field: repeated string result_path = 9;
|
|
*/
|
|
resultPath: string[];
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryRelationalCapture.
|
|
* Use `create(QueryRelationalCaptureSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryRelationalCaptureSchema: GenMessage<QueryRelationalCapture>;
|
|
/**
|
|
* @generated from message camino.QueryResidualRow
|
|
*/
|
|
export type QueryResidualRow = Message<"camino.QueryResidualRow"> & {
|
|
/**
|
|
* @generated from field: string entry_id = 1;
|
|
*/
|
|
entryId: string;
|
|
/**
|
|
* @generated from field: map<string, camino.Value> fields = 2;
|
|
*/
|
|
fields: {
|
|
[key: string]: Value;
|
|
};
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryResidualRow.
|
|
* Use `create(QueryResidualRowSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryResidualRowSchema: GenMessage<QueryResidualRow>;
|
|
/**
|
|
* @generated from message camino.QueryResidualOrder
|
|
*/
|
|
export type QueryResidualOrder = Message<"camino.QueryResidualOrder"> & {
|
|
/**
|
|
* @generated from field: string field = 1;
|
|
*/
|
|
field: string;
|
|
/**
|
|
* @generated from field: bool descending = 2;
|
|
*/
|
|
descending: boolean;
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryResidualOrder.
|
|
* Use `create(QueryResidualOrderSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryResidualOrderSchema: GenMessage<QueryResidualOrder>;
|
|
/**
|
|
* @generated from message camino.QueryResidualWindow
|
|
*/
|
|
export type QueryResidualWindow = Message<"camino.QueryResidualWindow"> & {
|
|
/**
|
|
* @generated from field: repeated camino.QueryPathPart path = 1;
|
|
*/
|
|
path: QueryPathPart[];
|
|
/**
|
|
* @generated from field: repeated camino.QueryResidualRow rows = 2;
|
|
*/
|
|
rows: QueryResidualRow[];
|
|
/**
|
|
* @generated from field: string predicate_json = 3;
|
|
*/
|
|
predicateJson: string;
|
|
/**
|
|
* @generated from field: repeated camino.QueryResidualOrder order = 4;
|
|
*/
|
|
order: QueryResidualOrder[];
|
|
/**
|
|
* @generated from field: uint32 limit = 5;
|
|
*/
|
|
limit: number;
|
|
/**
|
|
* @generated from field: bool bounded_all = 6;
|
|
*/
|
|
boundedAll: boolean;
|
|
/**
|
|
* @generated from field: repeated camino.QuerySelection selection = 7;
|
|
*/
|
|
selection: QuerySelection[];
|
|
/**
|
|
* @generated from field: map<string, string> field_types = 8;
|
|
*/
|
|
fieldTypes: {
|
|
[key: string]: string;
|
|
};
|
|
/**
|
|
* @generated from field: bool relational = 9;
|
|
*/
|
|
relational: boolean;
|
|
/**
|
|
* @generated from field: repeated string matched_entries = 10;
|
|
*/
|
|
matchedEntries: string[];
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryResidualWindow.
|
|
* Use `create(QueryResidualWindowSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryResidualWindowSchema: GenMessage<QueryResidualWindow>;
|
|
/**
|
|
* @generated from message camino.QueryFieldFailure
|
|
*/
|
|
export type QueryFieldFailure = Message<"camino.QueryFieldFailure"> & {
|
|
/**
|
|
* @generated from field: repeated camino.QueryPathPart path = 1;
|
|
*/
|
|
path: QueryPathPart[];
|
|
/**
|
|
* @generated from field: string error = 2;
|
|
*/
|
|
error: string;
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryFieldFailure.
|
|
* Use `create(QueryFieldFailureSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryFieldFailureSchema: GenMessage<QueryFieldFailure>;
|
|
/**
|
|
* @generated from message camino.QueryChangesRequest
|
|
*/
|
|
export type QueryChangesRequest = Message<"camino.QueryChangesRequest"> & {
|
|
/**
|
|
* @generated from field: string query_id = 1;
|
|
*/
|
|
queryId: string;
|
|
/**
|
|
* @generated from field: string object_id = 2;
|
|
*/
|
|
objectId: string;
|
|
/**
|
|
* @generated from field: string data_version = 3;
|
|
*/
|
|
dataVersion: string;
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryChangesRequest.
|
|
* Use `create(QueryChangesRequestSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryChangesRequestSchema: GenMessage<QueryChangesRequest>;
|
|
/**
|
|
* @generated from message camino.QueryChangesResponse
|
|
*/
|
|
export type QueryChangesResponse = Message<"camino.QueryChangesResponse"> & {
|
|
/**
|
|
* @generated from field: bool changed = 1;
|
|
*/
|
|
changed: boolean;
|
|
};
|
|
/**
|
|
* Describes the message camino.QueryChangesResponse.
|
|
* Use `create(QueryChangesResponseSchema)` to create a new message.
|
|
*/
|
|
export declare const QueryChangesResponseSchema: GenMessage<QueryChangesResponse>;
|
|
/**
|
|
* @generated from service camino.CaminoService
|
|
*/
|
|
export declare const CaminoService: GenService<{
|
|
/**
|
|
* @generated from rpc camino.CaminoService.ExecuteQuery
|
|
*/
|
|
executeQuery: {
|
|
methodKind: "unary";
|
|
input: typeof QueryRequestSchema;
|
|
output: typeof QueryResponseSchema;
|
|
};
|
|
/**
|
|
* @generated from rpc camino.CaminoService.QueryChanges
|
|
*/
|
|
queryChanges: {
|
|
methodKind: "unary";
|
|
input: typeof QueryChangesRequestSchema;
|
|
output: typeof QueryChangesResponseSchema;
|
|
};
|
|
/**
|
|
* @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.ReadCollection
|
|
*/
|
|
readCollection: {
|
|
methodKind: "unary";
|
|
input: typeof ResolveEdgeRequestSchema;
|
|
output: typeof ReadCollectionResponseSchema;
|
|
};
|
|
/**
|
|
* @generated from rpc camino.CaminoService.ReplaceCollection
|
|
*/
|
|
replaceCollection: {
|
|
methodKind: "unary";
|
|
input: typeof ReplaceCollectionRequestSchema;
|
|
output: typeof ReadCollectionResponseSchema;
|
|
};
|
|
/**
|
|
* @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;
|
|
};
|
|
}>;
|
|
//# sourceMappingURL=api_pb.d.ts.map
|