// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js" // @generated from file preflight/v1/preflight.proto (package preflight.v1, syntax proto3) /* eslint-disable */ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; import type { ObjectRef } from "../../common/v1/object-ref_pb.js"; import { file_common_v1_object_ref } from "../../common/v1/object-ref_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file preflight/v1/preflight.proto. */ export const file_preflight_v1_preflight: GenFile = /*@__PURE__*/ fileDesc("ChxwcmVmbGlnaHQvdjEvcHJlZmxpZ2h0LnByb3RvEgxwcmVmbGlnaHQudjEiPwoDQm94EgsKA3RvcBgBIAEoCRINCgVyaWdodBgCIAEoCRIOCgZib3R0b20YAyABKAkSDAoEbGVmdBgEIAEoCSK1AQoSUHJlZmxpZ2h0QXR0cmlidXRlEgsKA2tleRgBIAEoCRIMCgRuYW1lGAIgASgJEg0KBXZhbHVlGAMgASgJEhAKCGNhdGVnb3J5GAQgASgJEiQKCXZhbHVlX2JveBgFIAEoCzIRLnByZWZsaWdodC52MS5Cb3gSDAoEdW5pdBgGIAEoCRIvCgd3YXJuaW5nGAcgASgLMh4ucHJlZmxpZ2h0LnYxLlByZWZsaWdodFdhcm5pbmciXAoQUHJlZmxpZ2h0V2FybmluZxIMCgRuYW1lGAEgASgJEjoKDXdhcm5pbmdfbGV2ZWwYAiABKA4yIy5wcmVmbGlnaHQudjEuUHJlZmxpZ2h0V2FybmluZ0xldmVsIqICChdQcmVmbGlnaHRBdHRyaWJ1dGVHcm91cBIMCgRuYW1lGAEgASgJEg0KBXZhbHVlGAIgASgJEhIKCmV4cGFuZGFibGUYAyABKAgSMAoId2FybmluZ3MYBCADKAsyHi5wcmVmbGlnaHQudjEuUHJlZmxpZ2h0V2FybmluZxI0CgphdHRyaWJ1dGVzGAUgAygLMiAucHJlZmxpZ2h0LnYxLlByZWZsaWdodEF0d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_common_v1_object_ref]); /** * @generated from message preflight.v1.Box */ export type Box = Message<"preflight.v1.Box"> & { /** * @generated from field: string top = 1; */ top: string; /** * @generated from field: string right = 2; */ right: string; /** * @generated from field: string bottom = 3; */ bottom: string; /** * @generated from field: string left = 4; */ left: string; }; /** * Describes the message preflight.v1.Box. * Use `create(BoxSchema)` to create a new message. */ export const BoxSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight, 0); /** * @generated from message preflight.v1.PreflightAttribute */ export type PreflightAttribute = Message<"preflight.v1.PreflightAttribute"> & { /** * @generated from field: string key = 1; */ key: string; /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: string value = 3; */ value: string; /** * @generated from field: string category = 4; */ category: string; /** * @generated from field: preflight.v1.Box value_box = 5; */ valueBox?: Box; /** * @generated from field: string unit = 6; */ unit: string; /** * @generated from field: preflight.v1.PreflightWarning warning = 7; */ warning?: PreflightWarning; }; /** * Describes the message preflight.v1.PreflightAttribute. * Use `create(PreflightAttributeSchema)` to create a new message. */ export const PreflightAttributeSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight, 1); /** * @generated from message preflight.v1.PreflightWarning */ export type PreflightWarning = Message<"preflight.v1.PreflightWarning"> & { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: preflight.v1.PreflightWarningLevel warning_level = 2; */ warningLevel: PreflightWarningLevel; }; /** * Describes the message preflight.v1.PreflightWarning. * Use `create(PreflightWarningSchema)` to create a new message. */ export const PreflightWarningSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight, 2); /** * @generated from message preflight.v1.PreflightAttributeGroup */ export type PreflightAttributeGroup = Message<"preflight.v1.PreflightAttributeGroup"> & { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: string value = 2; */ value: string; /** * @generated from field: bool expandable = 3; */ expandable: boolean; /** * @generated from field: repeated preflight.v1.PreflightWarning warnings = 4; */ warnings: PreflightWarning[]; /** * @generated from field: repeated preflight.v1.PreflightAttribute attributes = 5; */ attributes: PreflightAttribute[]; /** * @generated from field: repeated preflight.v1.PreflightAttributeGroup groups = 6; */ groups: PreflightAttributeGroup[]; /** * @generated from field: int32 order = 7; */ order: number; /** * @generated from field: string group_icon = 8; */ groupIcon: string; /** * @generated from field: bool pre_expanded = 9; */ preExpanded: boolean; }; /** * Describes the message preflight.v1.PreflightAttributeGroup. * Use `create(PreflightAttributeGroupSchema)` to create a new message. */ export const PreflightAttributeGroupSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight, 3); /** * @generated from message preflight.v1.PreflightReportPage */ export type PreflightReportPage = Message<"preflight.v1.PreflightReportPage"> & { /** * @generated from field: int32 page = 1; */ page: number; /** * @generated from field: repeated preflight.v1.PreflightAttributeGroup attributes = 2; */ attributes: PreflightAttributeGroup[]; }; /** * Describes the message preflight.v1.PreflightReportPage. * Use `create(PreflightReportPageSchema)` to create a new message. */ export const PreflightReportPageSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight, 4); /** * @generated from message preflight.v1.PreflightReport */ export type PreflightReport = Message<"preflight.v1.PreflightReport"> & { /** * @generated from field: repeated preflight.v1.PreflightAttributeGroup attributes = 1; */ attributes: PreflightAttributeGroup[]; /** * @generated from field: repeated preflight.v1.PreflightReportPage pages = 2; */ pages: PreflightReportPage[]; }; /** * Describes the message preflight.v1.PreflightReport. * Use `create(PreflightReportSchema)` to create a new message. */ export const PreflightReportSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight, 5); /** * @generated from message preflight.v1.PreflightStatusReport */ export type PreflightStatusReport = Message<"preflight.v1.PreflightStatusReport"> & { /** * @generated from field: preflight.v1.PreflightState state = 1; */ state: PreflightState; /** * @generated from field: int32 filesize = 2; */ filesize: number; /** * @generated from field: preflight.v1.PreflightReport report = 3; */ report?: PreflightReport; }; /** * Describes the message preflight.v1.PreflightStatusReport. * Use `create(PreflightStatusReportSchema)` to create a new message. */ export const PreflightStatusReportSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight, 6); /** * @generated from message preflight.v1.GetPreflightStatusesRequest */ export type GetPreflightStatusesRequest = Message<"preflight.v1.GetPreflightStatusesRequest"> & { /** * @generated from field: repeated int64 media_item_ids = 1; */ mediaItemIds: bigint[]; }; /** * Describes the message preflight.v1.GetPreflightStatusesRequest. * Use `create(GetPreflightStatusesRequestSchema)` to create a new message. */ export const GetPreflightStatusesRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight, 7); /** * @generated from message preflight.v1.GetPreflightStatusesResponse */ export type GetPreflightStatusesResponse = Message<"preflight.v1.GetPreflightStatusesResponse"> & { /** * @generated from field: map reports = 1; */ reports: { [key: string]: PreflightStatusReport }; /** * @generated from field: bool all_completed = 2; */ allCompleted: boolean; }; /** * Describes the message preflight.v1.GetPreflightStatusesResponse. * Use `create(GetPreflightStatusesResponseSchema)` to create a new message. */ export const GetPreflightStatusesResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight, 8); /** * @generated from message preflight.v1.GetPreflightStatusesByObjectRequest */ export type GetPreflightStatusesByObjectRequest = Message<"preflight.v1.GetPreflightStatusesByObjectRequest"> & { /** * @generated from field: common.v1.ObjectRef object_ref = 1; */ objectRef?: ObjectRef; }; /** * Describes the message preflight.v1.GetPreflightStatusesByObjectRequest. * Use `create(GetPreflightStatusesByObjectRequestSchema)` to create a new message. */ export const GetPreflightStatusesByObjectRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight, 9); /** * @generated from message preflight.v1.GetPreflightStatusesByObjectResponse */ export type GetPreflightStatusesByObjectResponse = Message<"preflight.v1.GetPreflightStatusesByObjectResponse"> & { /** * @generated from field: map reports = 1; */ reports: { [key: string]: PreflightStatusReport }; /** * @generated from field: bool all_completed = 2; */ allCompleted: boolean; }; /** * Describes the message preflight.v1.GetPreflightStatusesByObjectResponse. * Use `create(GetPreflightStatusesByObjectResponseSchema)` to create a new message. */ export const GetPreflightStatusesByObjectResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_preflight_v1_preflight, 10); /** * @generated from enum preflight.v1.PreflightState */ export enum PreflightState { /** * @generated from enum value: PreflightStateUndefined = 0; */ PreflightStateUndefined = 0, /** * @generated from enum value: PreflightStateUnknown = 1; */ PreflightStateUnknown = 1, /** * @generated from enum value: PreflightStateInit = 2; */ PreflightStateInit = 2, /** * @generated from enum value: PreflightStateDownloading = 3; */ PreflightStateDownloading = 3, /** * @generated from enum value: PreflightStateDownloadComplete = 4; */ PreflightStateDownloadComplete = 4, /** * @generated from enum value: PreflightStateProcessingQueue = 5; */ PreflightStateProcessingQueue = 5, /** * @generated from enum value: PreflightStateProcessing = 6; */ PreflightStateProcessing = 6, /** * @generated from enum value: PreflightStateProcessingComplete = 7; */ PreflightStateProcessingComplete = 7, /** * @generated from enum value: PreflightStateError = 8; */ PreflightStateError = 8, } /** * Describes the enum preflight.v1.PreflightState. */ export const PreflightStateSchema: GenEnum = /*@__PURE__*/ enumDesc(file_preflight_v1_preflight, 0); /** * @generated from enum preflight.v1.PreflightWarningLevel */ export enum PreflightWarningLevel { /** * @generated from enum value: PreflightWarningLevelNone = 0; */ PreflightWarningLevelNone = 0, /** * @generated from enum value: PreflightWarningLevelWarn = 1; */ PreflightWarningLevelWarn = 1, /** * @generated from enum value: PreflightWarningLevelError = 2; */ PreflightWarningLevelError = 2, /** * @generated from enum value: PreflightWarningLevelGood = 3; */ PreflightWarningLevelGood = 3, } /** * Describes the enum preflight.v1.PreflightWarningLevel. */ export const PreflightWarningLevelSchema: GenEnum = /*@__PURE__*/ enumDesc(file_preflight_v1_preflight, 1);