ce6ae8f662
Enable evolution by default for source-backed workspaces. Add stable conformance ownership, semantic-major review, candidate typechecking, and durable fenced cutover with explicit migrations and forward recovery. Independently supervise package runtimes so unchanged resource owners keep their processes and connections across cutover. Add scoped invocation authority, resource sessions, and typed callback rebinding. Wire opaque object references through generated bindings and RPCs. Add canonical relationship sets, keyed maps, and ordered lists with scoped transactional mutations, revision checks, and inverse consistency. Support planned cascade deletion, protection, tombstones, and lifecycle foundations. Add journaled structural edits, package/function/migration scaffolding, managed repository creation, and resumable bottom-up dependency pin publication. Document lifetime boundaries, revision pinning, prototype compatibility policy, commands, and deferred work. Validate with 210 tests, user-systemd process/connection continuity, generated-package TypeScript checks, and Nix host/protocol checks. TTL handoff, physical reclamation, general multi-step migrations, and root-systemd migration isolation acceptance remain deferred.
262 lines
7.2 KiB
TypeScript
262 lines
7.2 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[];
|
|
};
|
|
/**
|
|
* Describes the message camino.PersistencePlan.
|
|
* Use `create(PersistencePlanSchema)` to create a new message.
|
|
*/
|
|
export declare const PersistencePlanSchema: GenMessage<PersistencePlan>;
|
|
/**
|
|
* @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>;
|
|
//# sourceMappingURL=schema_pb.d.ts.map
|