836 lines
24 KiB
TypeScript
836 lines
24 KiB
TypeScript
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
import type { PersistencePlan } from "./schema_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;
|
|
};
|
|
/**
|
|
* 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;
|
|
};
|
|
/**
|
|
* Describes the message camino.Value.
|
|
* Use `create(ValueSchema)` to create a new message.
|
|
*/
|
|
export declare const ValueSchema: GenMessage<Value>;
|
|
/**
|
|
* @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.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;
|
|
};
|
|
/**
|
|
* 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;
|
|
};
|
|
/**
|
|
* 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 service camino.CaminoService
|
|
*/
|
|
export declare 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;
|
|
};
|
|
}>;
|
|
//# sourceMappingURL=api_pb.d.ts.map
|