package kiapi.workspace

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Account

workspace_types.proto:514

* Who the backend acts as on its server.

Used in: mdw.AuthenticateReply, mdw.CheckConnectionReply, mdw.Hello

enum AttrType

workspace_types.proto:181

* Value types a search field declares.

Used in: SearchField

message AttributeSchema

workspace_types.proto:191

* One attribute definition. The framework treats the schema as opaque.

Used in: Schema

message AttributeSet

workspace_types.proto:215

Used in: mdw.Eco

message AttributeValue

workspace_types.proto:209

* One attribute value. The value is carried as text and typed by the schema.

Used in: AttributeSet

message AuthChallenge

workspace_types.proto:504

* The credential form to ask the user to fill in.

Used in: mdw.HelloReply, WorkspaceError

message AuthField

workspace_types.proto:493

* One field of a credential form.

Used in: AuthChallenge

message BackendInfo

workspace_types.proto:63

* Identifying metadata a backend advertises during the handshake.

Used in: mdw.HelloReply

message Capabilities

workspace_types.proto:156

* The capability advertisement. HelloReply may carry a subset that the backend refines once the user is authenticated; the client re-reads it after every successful Authenticate and on ET_CAPABILITIES_CHANGED. custom_states is the union of every state an item of this backend can be in.

Used in: mdw.GetCapabilitiesReply, mdw.HelloReply

enum CapabilityGroup

workspace_types.proto:79

* Optional capability groups a backend may advertise. Mandatory checkout is not a group; every backend implements it. The framework consults this set before exposing any UI or dispatching any sub-interface call. A request for an unadvertised group returns WE_NOT_SUPPORTED.

Used in: Capabilities

enum ChangeOutcome

workspace_types.proto:416

* Whether a mutation took effect now or was accepted for a later decision.

Used in: mdw.CreateBaselineReply, mdw.MemberResult, mdw.ReleaseRevisionReply, mdw.TransitionLifecycleReply

enum CheckinModel

workspace_types.proto:53

* How a backend's items reach the user's disk.

Used in: BackendInfo

message CustomState

workspace_types.proto:129

* A backend-supplied display state layered on top of a category. The standard UI shows display_name; the framework consults only category and not_for_new_designs, which marks a released state that designs already using it may keep but new placements are warned against.

Used in: Capabilities, LifecycleDefinition

enum DocumentKind

workspace_types.proto:167

* The kind of design file an item holds. It decides which editor opens an item and whether two versions of it can be compared or merged.

Used in: mdw.LocalChange, mdw.UpdateConflict, ItemInfo

message EcoRef

workspace_types.proto:452

* A change order cited outside its own source.

Used in: mdw.BaselineException

message EventEnvelope

workspace_types.proto:590

* The envelope carried on the event channel. seq is monotonic per workspace so clients detect gaps and resync via getters. client_identity names the issuer of the originating mutation.

Used in: mdw.PublishEvent

enum EventType

workspace_types.proto:552

* Types of workspace state transitions. BACKEND_EVENT carries a backend-defined type string; the framework treats its payload as opaque.

Used in: EventEnvelope

message Folder

workspace_types.proto:290

* A navigable folder in the workspace tree.

Used in: mdw.GetChildFoldersReply, mdw.GetRootFoldersReply

message HostKey

workspace_types.proto:524

* A server key the backend does not trust yet.

Used in: mdw.TrustHostKeyRequest, WorkspaceError

message ItemInfo

workspace_types.proto:270

* A managed file or folder. The revision and state fields describe the item's latest revision, and the lock its last-known lock, so a listing needs no follow-up calls to render.

Used in: mdw.AddItemReply, mdw.CheckoutReply, mdw.GetItemInfoReply, mdw.ListItemsReply, mdw.SearchReply

message ItemRef

workspace_types.proto:244

* An opaque item id with the text a user sees for it. Ids are unique within their source only. source is the credential-free locator of the source that owns the item, and empty means the backend that sent it. It is matched exactly against the configured sources, never searched in order.

Used in: mdw.BomLine, mdw.Eco, mdw.GetPendingChangeReply, mdw.ListEcosRequest, mdw.LocalChange, mdw.LocatedItem, mdw.MemberChange, mdw.PlacedPart, mdw.ResolvePartsRequest, mdw.ResolvedPart, mdw.Review, mdw.UpdateConflict, PartMember

enum LifecycleCategory

workspace_types.proto:102

* Four universal lifecycle categories every backend maps its native states onto. PENDING_REVIEW and RESTRICTED block writes; EDITABLE allows writes without warning; RELEASED allows writes but warns on save. RESTRICTED names a policy-imposed read-only state and is independent of per-user locks (see LockInfo). A client reads LC_UNKNOWN as LC_RESTRICTED.

Used in: CustomState, LifecycleState, LifecycleTransition

message LifecycleDefinition

workspace_types.proto:143

* The states an item can be in. Definitions can differ between items of one backend.

Used in: mdw.GetLifecycleDefinitionReply

message LifecycleState

workspace_types.proto:116

* The lifecycle state of one revision. state_id names a CustomState and may be empty when the backend has only categories. not_for_new_designs repeats the CustomState's flag.

Used in: mdw.LibraryMember, mdw.MemberRelease, mdw.PartFacts, mdw.TransitionLifecycleReply, ItemInfo, Part, Revision

message LifecycleTransition

workspace_types.proto:402

* A lifecycle transition offered on one revision.

Used in: mdw.GetAvailableTransitionsReply

message LockInfo

workspace_types.proto:255

* Per-user exclusive lock state, independent of LifecycleCategory. An item can be EDITABLE and locked by a teammate, or RESTRICTED and unlocked.

Used in: mdw.GetLockInfoReply, mdw.ItemLock, mdw.LockReply, mdw.UnlockReply, mdw.UnlockRequest, ItemInfo

message ManufacturerPart

workspace_types.proto:357

Used in: Part

enum MemberKind

workspace_types.proto:337

* Which part of a part a library member provides.

Used in: mdw.LibraryMember, PartMember

message Part

workspace_types.proto:366

* A managed part record (CG_PARTS).

Used in: mdw.GetPartReply, mdw.ResolvedPart, mdw.SearchPartsReply

message PartMember

workspace_types.proto:350

* A library member that makes up a part. The member may live in another source, which member.source names; member.path_hint is "nickname:item". A member the source's libraries do not hold has an empty item_id, and the client shows its path_hint without resolving it.

Used in: Part

message PendingChange

workspace_types.proto:428

* A change accepted but decided later, by an approval or a change order. change_id is always set and stays answerable by GetPendingChange after a reconnect; eco_id is set only when a change order carries the change.

Used in: mdw.CreateBaselineReply, mdw.GetPendingChangeReply, mdw.MemberResult, mdw.ReleaseRevisionReply, mdw.TransitionLifecycleReply

enum PendingChangeStatus

workspace_types.proto:440

* The fate of a PendingChange.

Used in: mdw.GetPendingChangeReply

message Permission

workspace_types.proto:392

* One named permission. The names in use are checkout, checkin, lock, force_unlock, transition, release, revise, baseline and manage. A backend may add names; a name it does not report is PS_UNKNOWN.

Used in: mdw.GetPermissionsReply, mdw.LocalChange, LifecycleTransition

enum PermissionState

workspace_types.proto:380

Used in: Permission

message ProgressNotice

workspace_types.proto:578

How far the request named by the envelope's operation_id has got, in units of phase. total is 0 while unknown. phase is "receive" for objects arriving from the remote, "checkout" for files written to disk, "index" for the work after, or any other short text a backend wants shown as it is. A notice is advisory and unnumbered, so a lost one costs nothing.

Used in: EventEnvelope

message Revision

workspace_types.proto:319

* A point-in-time snapshot of an item. parent_revision_ids is empty at a root and carries more than one entry for a merge. ordinal increases strictly across an item's revisions of one kind, so it sorts labels such as "A.1" that do not sort as text. RK_RELEASE ordinals count approved releases only, and an attempt takes its RK_RELEASE kind and ordinal when it is approved.

Used in: mdw.AddItemReply, mdw.CheckinReply, mdw.CreateBaselineReply, mdw.DownloadRevisionReply, mdw.GetPendingChangeReply, mdw.GetRevisionHistoryReply, mdw.MemberResult, mdw.ReleaseRevisionReply

enum RevisionKind

workspace_types.proto:301

* What kind of point in an item's history a revision is.

Used in: ItemInfo, Revision

message Schema

workspace_types.proto:201

* A backend-declared attribute schema, as the ECO schema request answers it.

Used in: mdw.GetEcoSchemaReply

message SearchField

workspace_types.proto:223

* A field a backend lets search filter on.

Used in: mdw.GetSearchSchemaReply

message SearchFilter

workspace_types.proto:232

Equality on one field. Filters are AND-ed

Used in: mdw.SearchRequest

message Version

workspace_types.proto:42

* Semantic version triple used for backend and protocol versions.

Used in: mdw.Hello, mdw.HelloReply, BackendInfo

message WorkspaceError

workspace_types.proto:536

* A typed error carried on every response. code == WE_OK means success. The detail fields are set only with the codes that name them.

Used in: mdw.MdwResponse, mdw.MemberResult

enum WorkspaceErrorCode

workspace_types.proto:462

* The error vocabulary. Backend workflow families (ECO routing, BOM transforms, CI) are not errors here; those workflows live in the backend.

Used in: WorkspaceError