Files
camino-package-runtime/src/camino/schema_pb.ts
T

280 lines
8.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("ChNjYW1pbm8vc2NoZW1hLnByb3RvEgZjYW1pbm8iNwoOQXRvbURlZmluaXRpb24SDwoHYXRvbV9pZBgBIAEoCRIUCgxkaXNwbGF5X25hbWUYAiABKAkiQQoPQXRvbUNvbmZvcm1hbmNlEg8KB2F0b21faWQYASABKAkSHQoVaW50ZXJmYWNlX3JldmlzaW9uX2lkGAIgASgJIqQBCg9TdGF0ZUF0dGFjaG1lbnQSDwoHc2xvdF9pZBgBIAEoCRIYChBhdHRhY2hlZF9hdG9tX2lkGAIgASgJEhQKDGRpc3BsYXlfbmFtZRgDIAEoCRIXCg92YWx1ZV90eXBlX2pzb24YBCABKAkSGwoTc3RvcmFnZV9wb2xpY3lfanNvbhgFIAEoCRIaChJkZWZhdWx0X3ZhbHVlX2pzb24YBiABKAkiUAoSRW5kcG9pbnRDb25zdHJhaW50EhEKB2F0b21faWQYASABKAlIABIfChVpbnRlcmZhY2VfcmV2aXNpb25faWQYAiABKAlIAEIGCgRraW5kIqYBCgxFZGdlRW5kcG9pbnQSFQoNcHJvamVjdGlvbl9pZBgBIAEoCRIUCgxkaXNwbGF5X25hbWUYAiABKAkSLgoKY29uc3RyYWludBgDIAEoCzIaLmNhbWluby5FbmRwb2ludENvbnN0cmFpbnQSKAoLY2FyZGluYWxpdHkYBCABKA4yEy5jYW1pbm8uQ2FyZGluYWxpdHkSDwoHb3JkZXJlZBgFIAEoCCKHAQoORWRnZUF0dGFjaG1lbnQSFAoMZWRnZV90eXBlX2lkGAEgASgJEhQKDGRpc3BsYXlfbmFtZRgCIAEoCRIjCgVmaXJzdBgDIAEoCzIULmNhbWluby5FZGdlRW5kcG9pbnQSJAoGc2Vjb25kGAQgASgLMhQuY2FtaW5vLkVkZ2VFbmRwb2ludCLsAQoPUGVyc2lzdGVuY2VQbGFuEhQKDHdvcmtzcGFjZV9pZBgBIAEoCRIdChV3b3Jrc3BhY2VfcmV2aXNpb25faWQYAiABKAkSJQoFYXRvbXMYAyADKAsyFi5jYW1pbm8uQXRvbURlZmluaXRpb24SLQoMY29uZm9ybWFuY2VzGAQgAygLMhcuY2FtaW5vLkF0b21Db25mb3JtYW5jZRInCgZzdGF0ZXMYBSADKAsyFy5jYW1pbm8uU3RhdGVBdHRhY2htZW50EiUKBWVkZ2VzGAYgAygLMhYuY2FtaW5vLkVkZ2VBdHRhY2htZW50KmgKC0NhcmRpbmFsaXR5EhsKF0NBUkRJTkFMSVRZX1VOU1BFQ0lGSUVEEAASEAoMT1BUSU9OQUxfT05FEAESDwoLRVhBQ1RMWV9PTkUQAhIICgRNQU5ZEAMSDwoLTUFOWV9VTklRVUUQBGIGcHJvdG8z");
/**
* @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;
};
/**
* 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;
};
/**
* 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;
};
/**
* 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;
};
/**
* 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);