Files
camino-package-runtime/dist/camino/schema_pb.d.ts
T

1306 lines
36 KiB
TypeScript

import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file camino/schema.proto.
*/
export declare const file_camino_schema: GenFile;
/**
* @generated from message camino.AtomDefinition
*/
export type AtomDefinition = Message<"camino.AtomDefinition"> & {
/**
* @generated from field: string atom_id = 1;
*/
atomId: string;
/**
* @generated from field: string display_name = 2;
*/
displayName: string;
};
/**
* Describes the message camino.AtomDefinition.
* Use `create(AtomDefinitionSchema)` to create a new message.
*/
export declare const AtomDefinitionSchema: GenMessage<AtomDefinition>;
/**
* @generated from message camino.AtomConformance
*/
export type AtomConformance = Message<"camino.AtomConformance"> & {
/**
* @generated from field: string atom_id = 1;
*/
atomId: string;
/**
* @generated from field: string interface_revision_id = 2;
*/
interfaceRevisionId: string;
/**
* @generated from field: string conformance_id = 3;
*/
conformanceId: string;
};
/**
* Describes the message camino.AtomConformance.
* Use `create(AtomConformanceSchema)` to create a new message.
*/
export declare const AtomConformanceSchema: GenMessage<AtomConformance>;
/**
* @generated from message camino.StateAttachment
*/
export type StateAttachment = Message<"camino.StateAttachment"> & {
/**
* @generated from field: string slot_id = 1;
*/
slotId: string;
/**
* @generated from field: string attached_atom_id = 2;
*/
attachedAtomId: string;
/**
* @generated from field: string display_name = 3;
*/
displayName: string;
/**
* @generated from field: string value_type_json = 4;
*/
valueTypeJson: string;
/**
* @generated from field: string storage_policy_json = 5;
*/
storagePolicyJson: string;
/**
* @generated from field: string default_value_json = 6;
*/
defaultValueJson: string;
/**
* @generated from field: string owner_conformance_id = 7;
*/
ownerConformanceId: string;
};
/**
* Describes the message camino.StateAttachment.
* Use `create(StateAttachmentSchema)` to create a new message.
*/
export declare const StateAttachmentSchema: GenMessage<StateAttachment>;
/**
* @generated from message camino.EndpointConstraint
*/
export type EndpointConstraint = Message<"camino.EndpointConstraint"> & {
/**
* @generated from oneof camino.EndpointConstraint.kind
*/
kind: {
/**
* @generated from field: string atom_id = 1;
*/
value: string;
case: "atomId";
} | {
/**
* @generated from field: string interface_revision_id = 2;
*/
value: string;
case: "interfaceRevisionId";
} | {
case: undefined;
value?: undefined;
};
};
/**
* Describes the message camino.EndpointConstraint.
* Use `create(EndpointConstraintSchema)` to create a new message.
*/
export declare const EndpointConstraintSchema: GenMessage<EndpointConstraint>;
/**
* @generated from message camino.EdgeEndpoint
*/
export type EdgeEndpoint = Message<"camino.EdgeEndpoint"> & {
/**
* @generated from field: string projection_id = 1;
*/
projectionId: string;
/**
* @generated from field: string display_name = 2;
*/
displayName: string;
/**
* @generated from field: camino.EndpointConstraint constraint = 3;
*/
constraint?: EndpointConstraint | undefined;
/**
* @generated from field: camino.Cardinality cardinality = 4;
*/
cardinality: Cardinality;
/**
* @generated from field: bool ordered = 5;
*/
ordered: boolean;
/**
* Empty means restrict. Direction is the endpoint being deleted.
*
* @generated from field: string on_delete = 6;
*/
onDelete: string;
/**
* @generated from field: bool retain_other = 7;
*/
retainOther: boolean;
/**
* Empty for sets/lists, otherwise string, boolean, or int64 map keys.
*
* @generated from field: string key_type = 8;
*/
keyType: string;
/**
* Explicit read-only dependency injection traversal, not mutation authority.
*
* @generated from field: bool public_traversal = 9;
*/
publicTraversal: boolean;
};
/**
* Describes the message camino.EdgeEndpoint.
* Use `create(EdgeEndpointSchema)` to create a new message.
*/
export declare const EdgeEndpointSchema: GenMessage<EdgeEndpoint>;
/**
* @generated from message camino.EdgeAttachment
*/
export type EdgeAttachment = Message<"camino.EdgeAttachment"> & {
/**
* @generated from field: string edge_type_id = 1;
*/
edgeTypeId: string;
/**
* @generated from field: string display_name = 2;
*/
displayName: string;
/**
* @generated from field: camino.EdgeEndpoint first = 3;
*/
first?: EdgeEndpoint | undefined;
/**
* @generated from field: camino.EdgeEndpoint second = 4;
*/
second?: EdgeEndpoint | undefined;
/**
* @generated from field: string owner_conformance_id = 5;
*/
ownerConformanceId: string;
};
/**
* Describes the message camino.EdgeAttachment.
* Use `create(EdgeAttachmentSchema)` to create a new message.
*/
export declare const EdgeAttachmentSchema: GenMessage<EdgeAttachment>;
/**
* Camino consumes this persistence-only projection of a checked workspace.
* Interfaces, operation bindings, packages, and constructors stay in orch.
*
* @generated from message camino.PersistencePlan
*/
export type PersistencePlan = Message<"camino.PersistencePlan"> & {
/**
* @generated from field: string workspace_id = 1;
*/
workspaceId: string;
/**
* @generated from field: string workspace_revision_id = 2;
*/
workspaceRevisionId: string;
/**
* @generated from field: repeated camino.AtomDefinition atoms = 3;
*/
atoms: AtomDefinition[];
/**
* @generated from field: repeated camino.AtomConformance conformances = 4;
*/
conformances: AtomConformance[];
/**
* @generated from field: repeated camino.StateAttachment states = 5;
*/
states: StateAttachment[];
/**
* @generated from field: repeated camino.EdgeAttachment edges = 6;
*/
edges: EdgeAttachment[];
/**
* @generated from field: repeated camino.InstalledQuery queries = 7;
*/
queries: InstalledQuery[];
};
/**
* Describes the message camino.PersistencePlan.
* Use `create(PersistencePlanSchema)` to create a new message.
*/
export declare const PersistencePlanSchema: GenMessage<PersistencePlan>;
/**
* Immutable checked query IR. Installed only with the checked persistence plan;
* query callers select its ID, never send or modify these definitions.
*
* @generated from message camino.QueryArgument
*/
export type QueryArgument = Message<"camino.QueryArgument"> & {
/**
* @generated from oneof camino.QueryArgument.value
*/
value: {
/**
* @generated from field: string variable = 1;
*/
value: string;
case: "variable";
} | {
/**
* @generated from field: string literal_json = 2;
*/
value: string;
case: "literalJson";
} | {
/**
* @generated from field: camino.QueryArgumentList list = 3;
*/
value: QueryArgumentList;
case: "list";
} | {
/**
* @generated from field: camino.QueryArgumentObject object = 4;
*/
value: QueryArgumentObject;
case: "object";
} | {
case: undefined;
value?: undefined;
};
};
/**
* Describes the message camino.QueryArgument.
* Use `create(QueryArgumentSchema)` to create a new message.
*/
export declare const QueryArgumentSchema: GenMessage<QueryArgument>;
/**
* @generated from message camino.QueryArgumentList
*/
export type QueryArgumentList = Message<"camino.QueryArgumentList"> & {
/**
* @generated from field: repeated camino.QueryArgument values = 1;
*/
values: QueryArgument[];
};
/**
* Describes the message camino.QueryArgumentList.
* Use `create(QueryArgumentListSchema)` to create a new message.
*/
export declare const QueryArgumentListSchema: GenMessage<QueryArgumentList>;
/**
* @generated from message camino.QueryArgumentObject
*/
export type QueryArgumentObject = Message<"camino.QueryArgumentObject"> & {
/**
* @generated from field: map<string, camino.QueryArgument> fields = 1;
*/
fields: {
[key: string]: QueryArgument;
};
};
/**
* Describes the message camino.QueryArgumentObject.
* Use `create(QueryArgumentObjectSchema)` to create a new message.
*/
export declare const QueryArgumentObjectSchema: GenMessage<QueryArgumentObject>;
/**
* @generated from message camino.QueryCondition
*/
export type QueryCondition = Message<"camino.QueryCondition"> & {
/**
* @generated from field: bool include = 1;
*/
include: boolean;
/**
* @generated from field: camino.QueryArgument value = 2;
*/
value?: QueryArgument | undefined;
};
/**
* Describes the message camino.QueryCondition.
* Use `create(QueryConditionSchema)` to create a new message.
*/
export declare const QueryConditionSchema: GenMessage<QueryCondition>;
/**
* @generated from message camino.QuerySelection
*/
export type QuerySelection = Message<"camino.QuerySelection"> & {
/**
* @generated from field: string name = 1;
*/
name: string;
/**
* @generated from field: string key = 2;
*/
key: string;
/**
* @generated from field: string interface_revision_id = 3;
*/
interfaceRevisionId: string;
/**
* @generated from field: string member_id = 4;
*/
memberId: string;
/**
* @generated from field: string target_interface_revision_id = 5;
*/
targetInterfaceRevisionId: string;
/**
* @generated from field: repeated camino.QueryCondition conditions = 6;
*/
conditions: QueryCondition[];
/**
* @generated from field: map<string, camino.QueryArgument> arguments = 7;
*/
arguments: {
[key: string]: QueryArgument;
};
/**
* @generated from field: repeated camino.QuerySelection selection = 8;
*/
selection: QuerySelection[];
/**
* @generated from field: camino.QueryRelationalPlan relational = 9;
*/
relational?: QueryRelationalPlan | undefined;
/**
* @generated from field: camino.QueryPredicate predicate = 10;
*/
predicate?: QueryPredicate | undefined;
};
/**
* Describes the message camino.QuerySelection.
* Use `create(QuerySelectionSchema)` to create a new message.
*/
export declare const QuerySelectionSchema: GenMessage<QuerySelection>;
/**
* Resolved IDs, not GraphQL names, determine execution. Response selections
* remain separate so aliases and fragments cannot change relational semantics.
*
* @generated from message camino.QueryPathStep
*/
export type QueryPathStep = Message<"camino.QueryPathStep"> & {
/**
* @generated from oneof camino.QueryPathStep.step
*/
step: {
/**
* @generated from field: bool source = 1;
*/
value: boolean;
case: "source";
} | {
/**
* @generated from field: bool target = 2;
*/
value: boolean;
case: "target";
} | {
/**
* @generated from field: camino.QueryRelationPath relation = 3;
*/
value: QueryRelationPath;
case: "relation";
} | {
case: undefined;
value?: undefined;
};
};
/**
* Describes the message camino.QueryPathStep.
* Use `create(QueryPathStepSchema)` to create a new message.
*/
export declare const QueryPathStepSchema: GenMessage<QueryPathStep>;
/**
* @generated from message camino.QueryRelationPath
*/
export type QueryRelationPath = Message<"camino.QueryRelationPath"> & {
/**
* @generated from field: string interface_revision_id = 1;
*/
interfaceRevisionId: string;
/**
* @generated from field: string member_id = 2;
*/
memberId: string;
/**
* @generated from field: string target_interface_revision_id = 3;
*/
targetInterfaceRevisionId: string;
/**
* @generated from field: bool optional = 4;
*/
optional: boolean;
};
/**
* Describes the message camino.QueryRelationPath.
* Use `create(QueryRelationPathSchema)` to create a new message.
*/
export declare const QueryRelationPathSchema: GenMessage<QueryRelationPath>;
/**
* @generated from message camino.QueryFieldOperand
*/
export type QueryFieldOperand = Message<"camino.QueryFieldOperand"> & {
/**
* @generated from field: string interface_revision_id = 1;
*/
interfaceRevisionId: string;
/**
* @generated from field: string member_id = 2;
*/
memberId: string;
};
/**
* Describes the message camino.QueryFieldOperand.
* Use `create(QueryFieldOperandSchema)` to create a new message.
*/
export declare const QueryFieldOperandSchema: GenMessage<QueryFieldOperand>;
/**
* @generated from message camino.QueryExpression
*/
export type QueryExpression = Message<"camino.QueryExpression"> & {
/**
* @generated from field: repeated camino.QueryPathStep path = 1;
*/
path: QueryPathStep[];
/**
* @generated from oneof camino.QueryExpression.leaf
*/
leaf: {
/**
* @generated from field: camino.QueryFieldOperand field = 2;
*/
value: QueryFieldOperand;
case: "field";
} | {
/**
* @generated from field: string ref = 3;
*/
value: string;
case: "ref";
} | {
/**
* @generated from field: bool entry = 4;
*/
value: boolean;
case: "entry";
} | {
/**
* @generated from field: bool map_key = 5;
*/
value: boolean;
case: "mapKey";
} | {
case: undefined;
value?: undefined;
};
/**
* @generated from field: string value_type_json = 6;
*/
valueTypeJson: string;
};
/**
* Describes the message camino.QueryExpression.
* Use `create(QueryExpressionSchema)` to create a new message.
*/
export declare const QueryExpressionSchema: GenMessage<QueryExpression>;
/**
* @generated from message camino.QueryReduction
*/
export type QueryReduction = Message<"camino.QueryReduction"> & {
/**
* @generated from field: camino.QueryAggregateOperator operator = 1;
*/
operator: QueryAggregateOperator;
/**
* @generated from field: camino.QueryExpression operand = 2;
*/
operand?: QueryExpression | undefined;
/**
* @generated from field: string value_type_json = 3;
*/
valueTypeJson: string;
};
/**
* Describes the message camino.QueryReduction.
* Use `create(QueryReductionSchema)` to create a new message.
*/
export declare const QueryReductionSchema: GenMessage<QueryReduction>;
/**
* @generated from message camino.QueryOperand
*/
export type QueryOperand = Message<"camino.QueryOperand"> & {
/**
* @generated from oneof camino.QueryOperand.operand
*/
operand: {
/**
* @generated from field: camino.QueryExpression expression = 1;
*/
value: QueryExpression;
case: "expression";
} | {
/**
* @generated from field: camino.QueryReduction reduction = 2;
*/
value: QueryReduction;
case: "reduction";
} | {
case: undefined;
value?: undefined;
};
};
/**
* Describes the message camino.QueryOperand.
* Use `create(QueryOperandSchema)` to create a new message.
*/
export declare const QueryOperandSchema: GenMessage<QueryOperand>;
/**
* @generated from message camino.QueryComparison
*/
export type QueryComparison = Message<"camino.QueryComparison"> & {
/**
* @generated from field: camino.QueryOperand operand = 1;
*/
operand?: QueryOperand | undefined;
/**
* @generated from field: camino.QueryComparisonOperator operator = 2;
*/
operator: QueryComparisonOperator;
/**
* @generated from field: camino.QueryArgument value = 3;
*/
value?: QueryArgument | undefined;
};
/**
* Describes the message camino.QueryComparison.
* Use `create(QueryComparisonSchema)` to create a new message.
*/
export declare const QueryComparisonSchema: GenMessage<QueryComparison>;
/**
* @generated from message camino.QueryPredicateList
*/
export type QueryPredicateList = Message<"camino.QueryPredicateList"> & {
/**
* @generated from field: repeated camino.QueryPredicate children = 1;
*/
children: QueryPredicate[];
};
/**
* Describes the message camino.QueryPredicateList.
* Use `create(QueryPredicateListSchema)` to create a new message.
*/
export declare const QueryPredicateListSchema: GenMessage<QueryPredicateList>;
/**
* @generated from message camino.QueryRelationPredicate
*/
export type QueryRelationPredicate = Message<"camino.QueryRelationPredicate"> & {
/**
* @generated from field: repeated camino.QueryPathStep path = 1;
*/
path: QueryPathStep[];
/**
* @generated from field: camino.QueryRelationPath relation = 2;
*/
relation?: QueryRelationPath | undefined;
/**
* @generated from field: camino.QueryRelationPredicateOperator operator = 3;
*/
operator: QueryRelationPredicateOperator;
/**
* @generated from field: camino.QueryPredicate predicate = 4;
*/
predicate?: QueryPredicate | undefined;
/**
* @generated from field: camino.QueryArgument value = 5;
*/
value?: QueryArgument | undefined;
};
/**
* Describes the message camino.QueryRelationPredicate.
* Use `create(QueryRelationPredicateSchema)` to create a new message.
*/
export declare const QueryRelationPredicateSchema: GenMessage<QueryRelationPredicate>;
/**
* @generated from message camino.QueryReductionPredicate
*/
export type QueryReductionPredicate = Message<"camino.QueryReductionPredicate"> & {
/**
* @generated from field: repeated camino.QueryPathStep path = 1;
*/
path: QueryPathStep[];
/**
* @generated from field: camino.QueryRelationPath relation = 2;
*/
relation?: QueryRelationPath | undefined;
/**
* @generated from field: camino.QueryPredicate where = 3;
*/
where?: QueryPredicate | undefined;
/**
* @generated from field: camino.QueryPredicate having = 4;
*/
having?: QueryPredicate | undefined;
};
/**
* Describes the message camino.QueryReductionPredicate.
* Use `create(QueryReductionPredicateSchema)` to create a new message.
*/
export declare const QueryReductionPredicateSchema: GenMessage<QueryReductionPredicate>;
/**
* @generated from message camino.QueryPredicate
*/
export type QueryPredicate = Message<"camino.QueryPredicate"> & {
/**
* @generated from oneof camino.QueryPredicate.predicate
*/
predicate: {
/**
* @generated from field: camino.QueryPredicateList and = 1;
*/
value: QueryPredicateList;
case: "and";
} | {
/**
* @generated from field: camino.QueryPredicateList or = 2;
*/
value: QueryPredicateList;
case: "or";
} | {
/**
* @generated from field: camino.QueryPredicate not = 3;
*/
value: QueryPredicate;
case: "not";
} | {
/**
* @generated from field: camino.QueryComparison compare = 4;
*/
value: QueryComparison;
case: "compare";
} | {
/**
* @generated from field: camino.QueryRelationPredicate relation = 5;
*/
value: QueryRelationPredicate;
case: "relation";
} | {
/**
* @generated from field: camino.QueryReductionPredicate reduce = 6;
*/
value: QueryReductionPredicate;
case: "reduce";
} | {
case: undefined;
value?: undefined;
};
};
/**
* Describes the message camino.QueryPredicate.
* Use `create(QueryPredicateSchema)` to create a new message.
*/
export declare const QueryPredicateSchema: GenMessage<QueryPredicate>;
/**
* @generated from message camino.QueryRow
*/
export type QueryRow = Message<"camino.QueryRow"> & {
/**
* @generated from oneof camino.QueryRow.row
*/
row: {
/**
* @generated from field: camino.QueryObjectRow object = 1;
*/
value: QueryObjectRow;
case: "object";
} | {
/**
* @generated from field: camino.QueryPairRow pair = 2;
*/
value: QueryPairRow;
case: "pair";
} | {
case: undefined;
value?: undefined;
};
};
/**
* Describes the message camino.QueryRow.
* Use `create(QueryRowSchema)` to create a new message.
*/
export declare const QueryRowSchema: GenMessage<QueryRow>;
/**
* @generated from message camino.QueryObjectRow
*/
export type QueryObjectRow = Message<"camino.QueryObjectRow"> & {
/**
* @generated from field: string interface_revision_id = 1;
*/
interfaceRevisionId: string;
/**
* @generated from field: bool membership = 2;
*/
membership: boolean;
/**
* @generated from field: string key_type = 3;
*/
keyType: string;
};
/**
* Describes the message camino.QueryObjectRow.
* Use `create(QueryObjectRowSchema)` to create a new message.
*/
export declare const QueryObjectRowSchema: GenMessage<QueryObjectRow>;
/**
* @generated from message camino.QueryPairRow
*/
export type QueryPairRow = Message<"camino.QueryPairRow"> & {
/**
* @generated from field: camino.QueryRow source = 1;
*/
source?: QueryRow | undefined;
/**
* @generated from field: camino.QueryRow target = 2;
*/
target?: QueryRow | undefined;
};
/**
* Describes the message camino.QueryPairRow.
* Use `create(QueryPairRowSchema)` to create a new message.
*/
export declare const QueryPairRowSchema: GenMessage<QueryPairRow>;
/**
* @generated from message camino.QueryKey
*/
export type QueryKey = Message<"camino.QueryKey"> & {
/**
* @generated from field: repeated string path = 1;
*/
path: string[];
/**
* @generated from field: camino.QueryExpression expression = 2;
*/
expression?: QueryExpression | undefined;
};
/**
* Describes the message camino.QueryKey.
* Use `create(QueryKeySchema)` to create a new message.
*/
export declare const QueryKeySchema: GenMessage<QueryKey>;
/**
* @generated from message camino.QueryDistinct
*/
export type QueryDistinct = Message<"camino.QueryDistinct"> & {
/**
* @generated from field: repeated camino.QueryKey keys = 1;
*/
keys: QueryKey[];
};
/**
* Describes the message camino.QueryDistinct.
* Use `create(QueryDistinctSchema)` to create a new message.
*/
export declare const QueryDistinctSchema: GenMessage<QueryDistinct>;
/**
* @generated from message camino.QueryExpansion
*/
export type QueryExpansion = Message<"camino.QueryExpansion"> & {
/**
* @generated from field: repeated camino.QueryPathStep path = 1;
*/
path: QueryPathStep[];
/**
* @generated from field: camino.QueryRelationPath relation = 2;
*/
relation?: QueryRelationPath | undefined;
};
/**
* Describes the message camino.QueryExpansion.
* Use `create(QueryExpansionSchema)` to create a new message.
*/
export declare const QueryExpansionSchema: GenMessage<QueryExpansion>;
/**
* @generated from message camino.QueryRelationalStage
*/
export type QueryRelationalStage = Message<"camino.QueryRelationalStage"> & {
/**
* @generated from field: uint32 id = 1;
*/
id: number;
/**
* @generated from field: optional uint32 input = 2;
*/
input?: number | undefined;
/**
* @generated from field: camino.QueryRow row = 3;
*/
row?: QueryRow | undefined;
/**
* @generated from oneof camino.QueryRelationalStage.operation
*/
operation: {
/**
* @generated from field: camino.QueryRelationPath source = 4;
*/
value: QueryRelationPath;
case: "source";
} | {
/**
* @generated from field: camino.QueryPredicate filter = 5;
*/
value: QueryPredicate;
case: "filter";
} | {
/**
* @generated from field: camino.QueryExpansion expand = 6;
*/
value: QueryExpansion;
case: "expand";
} | {
/**
* @generated from field: camino.QueryDistinct distinct = 7;
*/
value: QueryDistinct;
case: "distinct";
} | {
case: undefined;
value?: undefined;
};
};
/**
* Describes the message camino.QueryRelationalStage.
* Use `create(QueryRelationalStageSchema)` to create a new message.
*/
export declare const QueryRelationalStageSchema: GenMessage<QueryRelationalStage>;
/**
* @generated from message camino.QueryReductionProjection
*/
export type QueryReductionProjection = Message<"camino.QueryReductionProjection"> & {
/**
* @generated from field: repeated string path = 1;
*/
path: string[];
/**
* @generated from field: camino.QueryReduction reduction = 2;
*/
reduction?: QueryReduction | undefined;
};
/**
* Describes the message camino.QueryReductionProjection.
* Use `create(QueryReductionProjectionSchema)` to create a new message.
*/
export declare const QueryReductionProjectionSchema: GenMessage<QueryReductionProjection>;
/**
* @generated from message camino.QueryAggregateOrder
*/
export type QueryAggregateOrder = Message<"camino.QueryAggregateOrder"> & {
/**
* @generated from field: camino.QueryOperand operand = 1;
*/
operand?: QueryOperand | undefined;
/**
* @generated from field: bool descending = 2;
*/
descending: boolean;
};
/**
* Describes the message camino.QueryAggregateOrder.
* Use `create(QueryAggregateOrderSchema)` to create a new message.
*/
export declare const QueryAggregateOrderSchema: GenMessage<QueryAggregateOrder>;
/**
* @generated from message camino.QueryRelationalTerminal
*/
export type QueryRelationalTerminal = Message<"camino.QueryRelationalTerminal"> & {
/**
* @generated from field: uint32 stage = 1;
*/
stage: number;
/**
* @generated from field: repeated string path = 2;
*/
path: string[];
/**
* @generated from field: bool groups = 3;
*/
groups: boolean;
/**
* @generated from field: repeated camino.QueryKey keys = 4;
*/
keys: QueryKey[];
/**
* @generated from field: repeated camino.QueryReductionProjection reductions = 5;
*/
reductions: QueryReductionProjection[];
/**
* @generated from field: camino.QueryPredicate where = 6;
*/
where?: QueryPredicate | undefined;
/**
* @generated from field: camino.QueryPredicate having = 7;
*/
having?: QueryPredicate | undefined;
/**
* @generated from field: repeated camino.QueryAggregateOrder order = 8;
*/
order: QueryAggregateOrder[];
/**
* @generated from field: camino.QueryArgument first = 9;
*/
first?: QueryArgument | undefined;
/**
* @generated from field: camino.QueryArgument all = 10;
*/
all?: QueryArgument | undefined;
/**
* @generated from field: camino.QueryArgument after = 11;
*/
after?: QueryArgument | undefined;
/**
* @generated from field: repeated camino.QuerySelection selection = 12;
*/
selection: QuerySelection[];
/**
* @generated from field: bool residual = 13;
*/
residual: boolean;
/**
* Internal ordinary-relationship residual: yields ordered membership IDs.
*
* @generated from field: bool rows = 14;
*/
rows: boolean;
};
/**
* Describes the message camino.QueryRelationalTerminal.
* Use `create(QueryRelationalTerminalSchema)` to create a new message.
*/
export declare const QueryRelationalTerminalSchema: GenMessage<QueryRelationalTerminal>;
/**
* @generated from message camino.QueryRelationalPlan
*/
export type QueryRelationalPlan = Message<"camino.QueryRelationalPlan"> & {
/**
* @generated from field: repeated camino.QueryRelationalStage stages = 1;
*/
stages: QueryRelationalStage[];
/**
* @generated from field: repeated camino.QueryRelationalTerminal terminals = 2;
*/
terminals: QueryRelationalTerminal[];
};
/**
* Describes the message camino.QueryRelationalPlan.
* Use `create(QueryRelationalPlanSchema)` to create a new message.
*/
export declare const QueryRelationalPlanSchema: GenMessage<QueryRelationalPlan>;
/**
* @generated from message camino.QueryReadBinding
*/
export type QueryReadBinding = Message<"camino.QueryReadBinding"> & {
/**
* @generated from field: string atom_id = 1;
*/
atomId: string;
/**
* @generated from field: string interface_revision_id = 2;
*/
interfaceRevisionId: string;
/**
* @generated from field: string member_id = 3;
*/
memberId: string;
/**
* @generated from field: string getter_operation_id = 4;
*/
getterOperationId: string;
/**
* @generated from field: string slot_id = 5;
*/
slotId: string;
/**
* @generated from field: string edge_type_id = 6;
*/
edgeTypeId: string;
/**
* @generated from field: string projection_id = 7;
*/
projectionId: string;
/**
* @generated from field: bool rpc = 8;
*/
rpc: boolean;
/**
* @generated from field: string watch_start_operation_id = 9;
*/
watchStartOperationId: string;
/**
* @generated from field: string watch_stop_operation_id = 10;
*/
watchStopOperationId: string;
/**
* @generated from field: string field_name = 11;
*/
fieldName: string;
/**
* @generated from field: string value_type_json = 12;
*/
valueTypeJson: string;
/**
* @generated from field: camino.Cardinality cardinality = 13;
*/
cardinality: Cardinality;
/**
* @generated from field: string key_type = 14;
*/
keyType: string;
};
/**
* Describes the message camino.QueryReadBinding.
* Use `create(QueryReadBindingSchema)` to create a new message.
*/
export declare const QueryReadBindingSchema: GenMessage<QueryReadBinding>;
/**
* @generated from message camino.QueryBudgets
*/
export type QueryBudgets = Message<"camino.QueryBudgets"> & {
/**
* @generated from field: uint32 rows = 1;
*/
rows: number;
/**
* @generated from field: uint32 depth = 2;
*/
depth: number;
/**
* @generated from field: uint32 result_bytes = 3;
*/
resultBytes: number;
/**
* @generated from field: uint32 candidates = 4;
*/
candidates: number;
/**
* @generated from field: uint32 rpc_calls = 5;
*/
rpcCalls: number;
/**
* @generated from field: uint32 concurrency = 6;
*/
concurrency: number;
/**
* @generated from field: uint32 deadline_ms = 7;
*/
deadlineMs: number;
};
/**
* Describes the message camino.QueryBudgets.
* Use `create(QueryBudgetsSchema)` to create a new message.
*/
export declare const QueryBudgetsSchema: GenMessage<QueryBudgets>;
/**
* @generated from message camino.InstalledQuery
*/
export type InstalledQuery = Message<"camino.InstalledQuery"> & {
/**
* @generated from field: string id = 1;
*/
id: string;
/**
* @generated from field: string definition_digest = 2;
*/
definitionDigest: string;
/**
* @generated from field: string binding_digest = 3;
*/
bindingDigest: string;
/**
* @generated from field: string root_interface_revision_id = 4;
*/
rootInterfaceRevisionId: string;
/**
* @generated from field: repeated camino.QuerySelection selection = 5;
*/
selection: QuerySelection[];
/**
* @generated from field: repeated camino.QueryReadBinding bindings = 6;
*/
bindings: QueryReadBinding[];
/**
* @generated from field: camino.QueryBudgets budgets = 7;
*/
budgets?: QueryBudgets | undefined;
/**
* @generated from field: string variables_type_json = 8;
*/
variablesTypeJson: string;
/**
* @generated from field: string output_type_json = 9;
*/
outputTypeJson: string;
/**
* @generated from field: map<string, camino.QueryArgument> variable_defaults = 10;
*/
variableDefaults: {
[key: string]: QueryArgument;
};
/**
* @generated from field: bool watch = 11;
*/
watch: boolean;
/**
* @generated from field: uint32 polling_interval_ms = 12;
*/
pollingIntervalMs: number;
/**
* @generated from field: bool rpc_predicate_or_order = 13;
*/
rpcPredicateOrOrder: boolean;
};
/**
* Describes the message camino.InstalledQuery.
* Use `create(InstalledQuerySchema)` to create a new message.
*/
export declare const InstalledQuerySchema: GenMessage<InstalledQuery>;
/**
* @generated from enum camino.Cardinality
*/
export declare enum Cardinality {
/**
* @generated from enum value: CARDINALITY_UNSPECIFIED = 0;
*/
CARDINALITY_UNSPECIFIED = 0,
/**
* @generated from enum value: OPTIONAL_ONE = 1;
*/
OPTIONAL_ONE = 1,
/**
* @generated from enum value: EXACTLY_ONE = 2;
*/
EXACTLY_ONE = 2,
/**
* @generated from enum value: MANY = 3;
*/
MANY = 3,
/**
* @generated from enum value: MANY_UNIQUE = 4;
*/
MANY_UNIQUE = 4
}
/**
* Describes the enum camino.Cardinality.
*/
export declare const CardinalitySchema: GenEnum<Cardinality>;
/**
* @generated from enum camino.QueryAggregateOperator
*/
export declare enum QueryAggregateOperator {
/**
* @generated from enum value: QUERY_AGGREGATE_OPERATOR_UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* @generated from enum value: QUERY_AGGREGATE_OPERATOR_COUNT = 1;
*/
COUNT = 1,
/**
* @generated from enum value: QUERY_AGGREGATE_OPERATOR_COUNT_PRESENT = 2;
*/
COUNT_PRESENT = 2,
/**
* @generated from enum value: QUERY_AGGREGATE_OPERATOR_SUM = 3;
*/
SUM = 3,
/**
* @generated from enum value: QUERY_AGGREGATE_OPERATOR_AVG = 4;
*/
AVG = 4,
/**
* @generated from enum value: QUERY_AGGREGATE_OPERATOR_MIN = 5;
*/
MIN = 5,
/**
* @generated from enum value: QUERY_AGGREGATE_OPERATOR_MAX = 6;
*/
MAX = 6
}
/**
* Describes the enum camino.QueryAggregateOperator.
*/
export declare const QueryAggregateOperatorSchema: GenEnum<QueryAggregateOperator>;
/**
* @generated from enum camino.QueryComparisonOperator
*/
export declare enum QueryComparisonOperator {
/**
* @generated from enum value: QUERY_COMPARISON_OPERATOR_UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* @generated from enum value: QUERY_COMPARISON_OPERATOR_EQ = 1;
*/
EQ = 1,
/**
* @generated from enum value: QUERY_COMPARISON_OPERATOR_IN = 2;
*/
IN = 2,
/**
* @generated from enum value: QUERY_COMPARISON_OPERATOR_IS_NULL = 3;
*/
IS_NULL = 3,
/**
* @generated from enum value: QUERY_COMPARISON_OPERATOR_LT = 4;
*/
LT = 4,
/**
* @generated from enum value: QUERY_COMPARISON_OPERATOR_LTE = 5;
*/
LTE = 5,
/**
* @generated from enum value: QUERY_COMPARISON_OPERATOR_GT = 6;
*/
GT = 6,
/**
* @generated from enum value: QUERY_COMPARISON_OPERATOR_GTE = 7;
*/
GTE = 7
}
/**
* Describes the enum camino.QueryComparisonOperator.
*/
export declare const QueryComparisonOperatorSchema: GenEnum<QueryComparisonOperator>;
/**
* @generated from enum camino.QueryRelationPredicateOperator
*/
export declare enum QueryRelationPredicateOperator {
/**
* @generated from enum value: QUERY_RELATION_PREDICATE_OPERATOR_UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,
/**
* @generated from enum value: QUERY_RELATION_PREDICATE_OPERATOR_SOME = 1;
*/
SOME = 1,
/**
* @generated from enum value: QUERY_RELATION_PREDICATE_OPERATOR_NONE = 2;
*/
NONE = 2,
/**
* @generated from enum value: QUERY_RELATION_PREDICATE_OPERATOR_IS = 3;
*/
IS = 3,
/**
* @generated from enum value: QUERY_RELATION_PREDICATE_OPERATOR_IS_NULL = 4;
*/
IS_NULL = 4
}
/**
* Describes the enum camino.QueryRelationPredicateOperator.
*/
export declare const QueryRelationPredicateOperatorSchema: GenEnum<QueryRelationPredicateOperator>;
//# sourceMappingURL=schema_pb.d.ts.map