321 lines
9.0 KiB
TypeScript
321 lines
9.0 KiB
TypeScript
// @generated by protoc-gen-es v2.12.1 with parameter "target=ts,import_extension=js"
|
|
// @generated from file camino/schema.proto (package camino, syntax proto3)
|
|
/* eslint-disable */
|
|
|
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
import type { Message } from "@bufbuild/protobuf";
|
|
|
|
/**
|
|
* Describes the file camino/schema.proto.
|
|
*/
|
|
export const file_camino_schema: GenFile = /*@__PURE__*/
|
|
fileDesc("ChNjYW1pbm8vc2NoZW1hLnByb3RvEgZjYW1pbm8iNwoOQXRvbURlZmluaXRpb24SDwoHYXRvbV9pZBgBIAEoCRIUCgxkaXNwbGF5X25hbWUYAiABKAkiWQoPQXRvbUNvbmZvcm1hbmNlEg8KB2F0b21faWQYASABKAkSHQoVaW50ZXJmYWNlX3JldmlzaW9uX2lkGAIgASgJEhYKDmNvbmZvcm1hbmNlX2lkGAMgASgJIsIBCg9TdGF0ZUF0dGFjaG1lbnQSDwoHc2xvdF9pZBgBIAEoCRIYChBhdHRhY2hlZF9hdG9tX2lkGAIgASgJEhQKDGRpc3BsYXlfbmFtZRgDIAEoCRIXCg92YWx1ZV90eXBlX2pzb24YBCABKAkSGwoTc3RvcmFnZV9wb2xpY3lfanNvbhgFIAEoCRIaChJkZWZhdWx0X3ZhbHVlX2pzb24YBiABKAkSHAoUb3duZXJfY29uZm9ybWFuY2VfaWQYByABKAkiUAoSRW5kcG9pbnRDb25zdHJhaW50EhEKB2F0b21faWQYASABKAlIABIfChVpbnRlcmZhY2VfcmV2aXNpb25faWQYAiABKAlIAEIGCgRraW5kIvsBCgxFZGdlRW5kcG9pbnQSFQoNcHJvamVjdGlvbl9pZBgBIAEoCRIUCgxkaXNwbGF5X25hbWUYAiABKAkSLgoKY29uc3RyYWludBgDIAEoCzIaLmNhbWluby5FbmRwb2ludENvbnN0cmFpbnQSKAoLY2FyZGluYWxpdHkYBCABKA4yEy5jYW1pbm8uQ2FyZGluYWxpdHkSDwoHb3JkZXJlZBgFIAEoCBIRCglvbl9kZWxldGUYBiABKAkSFAoMcmV0YWluX290aGVyGAcgASgIEhAKCGtleV90eXBlGAggASgJEhgKEHB1YmxpY190cmF2ZXJzYWwYCSABKAgipQEKDkVkZ2VBdHRhY2htZW50EhQKDGVkZ2VfdHlwZV9pZBgBIAEoCRIUCgxkaXNwbGF5X25hbWUYAiABKAkSIwoFZmlyc3QYAyABKAsyFC5jYW1pbm8uRWRnZUVuZHBvaW50EiQKBnNlY29uZBgEIAEoCzIULmNhbWluby5FZGdlRW5kcG9pbnQSHAoUb3duZXJfY29uZm9ybWFuY2VfaWQYBSABKAki7AEKD1BlcnNpc3RlbmNlUGxhbhIUCgx3b3Jrc3BhY2VfaWQYASABKAkSHQoVd29ya3NwYWNlX3JldmlzaW9uX2lkGAIgASgJEiUKBWF0b21zGAMgAygLMhYuY2FtaW5vLkF0b21EZWZpbml0aW9uEi0KDGNvbmZvcm1hbmNlcxgEIAMoCzIXLmNhbWluby5BdG9tQ29uZm9ybWFuY2USJwoGc3RhdGVzGAUgAygLMhcuY2FtaW5vLlN0YXRlQXR0YWNobWVudBIlCgVlZGdlcxgGIAMoCzIWLmNhbWluby5FZGdlQXR0YWNobWVudCpoCgtDYXJkaW5hbGl0eRIbChdDQVJESU5BTElUWV9VTlNQRUNJRklFRBAAEhAKDE9QVElPTkFMX09ORRABEg8KC0VYQUNUTFlfT05FEAISCAoETUFOWRADEg8KC01BTllfVU5JUVVFEARiBnByb3RvMw");
|
|
|
|
/**
|
|
* @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 const AtomDefinitionSchema: GenMessage<AtomDefinition> = /*@__PURE__*/
|
|
messageDesc(file_camino_schema, 0);
|
|
|
|
/**
|
|
* @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 const AtomConformanceSchema: GenMessage<AtomConformance> = /*@__PURE__*/
|
|
messageDesc(file_camino_schema, 1);
|
|
|
|
/**
|
|
* @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 const StateAttachmentSchema: GenMessage<StateAttachment> = /*@__PURE__*/
|
|
messageDesc(file_camino_schema, 2);
|
|
|
|
/**
|
|
* @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 const EndpointConstraintSchema: GenMessage<EndpointConstraint> = /*@__PURE__*/
|
|
messageDesc(file_camino_schema, 3);
|
|
|
|
/**
|
|
* @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 const EdgeEndpointSchema: GenMessage<EdgeEndpoint> = /*@__PURE__*/
|
|
messageDesc(file_camino_schema, 4);
|
|
|
|
/**
|
|
* @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 const EdgeAttachmentSchema: GenMessage<EdgeAttachment> = /*@__PURE__*/
|
|
messageDesc(file_camino_schema, 5);
|
|
|
|
/**
|
|
* 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[];
|
|
};
|
|
|
|
/**
|
|
* Describes the message camino.PersistencePlan.
|
|
* Use `create(PersistencePlanSchema)` to create a new message.
|
|
*/
|
|
export const PersistencePlanSchema: GenMessage<PersistencePlan> = /*@__PURE__*/
|
|
messageDesc(file_camino_schema, 6);
|
|
|
|
/**
|
|
* @generated from enum camino.Cardinality
|
|
*/
|
|
export 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 const CardinalitySchema: GenEnum<Cardinality> = /*@__PURE__*/
|
|
enumDesc(file_camino_schema, 0);
|
|
|