// @generated by protoc-gen-es-lite unknown with parameter "target=ts,ts_nocheck=false" // @generated from file github.com/s4wave/spacewave/bldr/desktop/update/update.proto (package bldr.desktop.update, syntax proto3) /* eslint-disable */ import { createEnumType } from '@aptre/protobuf-es-lite/enum' import type { MessageType } from '@aptre/protobuf-es-lite/message' import { createMessageType } from '@aptre/protobuf-es-lite/message' /** * UpdateTarget identifies the installed component selected for replacement. * * @generated from enum bldr.desktop.update.UpdateTarget */ export enum UpdateTarget { /** * UPDATE_TARGET_UNKNOWN is invalid for an apply request. */ UNKNOWN = 0, /** * UPDATE_TARGET_APP selects the installed desktop application. */ APP = 1, /** * UPDATE_TARGET_DAEMON selects the executing shared daemon. */ DAEMON = 2, } export const UpdateTarget_Enum = /* @__PURE__ */ createEnumType( 'bldr.desktop.update.UpdateTarget', [ [0, 'UPDATE_TARGET_UNKNOWN'], [1, 'UPDATE_TARGET_APP'], [2, 'UPDATE_TARGET_DAEMON'], ], ) /** * ApplyUpdateRequest selects the installed component to update. * * @generated from message bldr.desktop.update.ApplyUpdateRequest */ export interface ApplyUpdateRequest { /** * Target identifies the installed component to update. */ target?: UpdateTarget } export const ApplyUpdateRequest: MessageType = /* @__PURE__ */ createMessageType( 'bldr.desktop.update.ApplyUpdateRequest', () => [[1, 'target', 14, 0, UpdateTarget_Enum]], ) /** * ApplyUpdateResponse hands a verified app artifact to its process owner. * * @generated from message bldr.desktop.update.ApplyUpdateResponse */ export interface ApplyUpdateResponse { /** * StagedPath is the verified desktop artifact; Electron owns its replacement. */ stagedPath?: string } export const ApplyUpdateResponse: MessageType = /* @__PURE__ */ createMessageType( 'bldr.desktop.update.ApplyUpdateResponse', () => [[1, 'staged_path', 9]], )