|
| 1 | +// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=ts" |
| 2 | +// @generated from file openstatus/maintenance/v1/maintenance.proto (package openstatus.maintenance.v1, syntax proto3) |
| 3 | +/* eslint-disable */ |
| 4 | + |
| 5 | +import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; |
| 6 | +import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; |
| 7 | +import type { Message } from "@bufbuild/protobuf"; |
| 8 | + |
| 9 | +/** |
| 10 | + * Describes the file openstatus/maintenance/v1/maintenance.proto. |
| 11 | + */ |
| 12 | +export const file_openstatus_maintenance_v1_maintenance: GenFile = /*@__PURE__*/ |
| 13 | + fileDesc( |
| 14 | + "CitvcGVuc3RhdHVzL21haW50ZW5hbmNlL3YxL21haW50ZW5hbmNlLnByb3RvEhlvcGVuc3RhdHVzLm1haW50ZW5hbmNlLnYxIq8BChJNYWludGVuYW5jZVN1bW1hcnkSCgoCaWQYASABKAkSDQoFdGl0bGUYAiABKAkSDwoHbWVzc2FnZRgDIAEoCRIMCgRmcm9tGAQgASgJEgoKAnRvGAUgASgJEg8KB3BhZ2VfaWQYBiABKAkSGgoScGFnZV9jb21wb25lbnRfaWRzGAcgAygJEhIKCmNyZWF0ZWRfYXQYCCABKAkSEgoKdXBkYXRlZF9hdBgJIAEoCSKoAQoLTWFpbnRlbmFuY2USCgoCaWQYASABKAkSDQoFdGl0bGUYAiABKAkSDwoHbWVzc2FnZRgDIAEoCRIMCgRmcm9tGAQgASgJEgoKAnRvGAUgASgJEg8KB3BhZ2VfaWQYBiABKAkSGgoScGFnZV9jb21wb25lbnRfaWRzGAcgAygJEhIKCmNyZWF0ZWRfYXQYCCABKAkSEgoKdXBkYXRlZF9hdBgJIAEoCUJbWllnaXRodWIuY29tL29wZW5zdGF0dXNocS9vcGVuc3RhdHVzL3BhY2thZ2VzL3Byb3RvL29wZW5zdGF0dXMvbWFpbnRlbmFuY2UvdjE7bWFpbnRlbmFuY2V2MWIGcHJvdG8z", |
| 15 | + ); |
| 16 | + |
| 17 | +/** |
| 18 | + * MaintenanceSummary represents metadata for a maintenance window (used in list responses). |
| 19 | + * |
| 20 | + * @generated from message openstatus.maintenance.v1.MaintenanceSummary |
| 21 | + */ |
| 22 | +export type MaintenanceSummary = |
| 23 | + & Message<"openstatus.maintenance.v1.MaintenanceSummary"> |
| 24 | + & { |
| 25 | + /** |
| 26 | + * Unique identifier for the maintenance. |
| 27 | + * |
| 28 | + * @generated from field: string id = 1; |
| 29 | + */ |
| 30 | + id: string; |
| 31 | + |
| 32 | + /** |
| 33 | + * Title of the maintenance. |
| 34 | + * |
| 35 | + * @generated from field: string title = 2; |
| 36 | + */ |
| 37 | + title: string; |
| 38 | + |
| 39 | + /** |
| 40 | + * Message describing the maintenance. |
| 41 | + * |
| 42 | + * @generated from field: string message = 3; |
| 43 | + */ |
| 44 | + message: string; |
| 45 | + |
| 46 | + /** |
| 47 | + * Start time of the maintenance window (RFC 3339 format). |
| 48 | + * |
| 49 | + * @generated from field: string from = 4; |
| 50 | + */ |
| 51 | + from: string; |
| 52 | + |
| 53 | + /** |
| 54 | + * End time of the maintenance window (RFC 3339 format). |
| 55 | + * |
| 56 | + * @generated from field: string to = 5; |
| 57 | + */ |
| 58 | + to: string; |
| 59 | + |
| 60 | + /** |
| 61 | + * ID of the page this maintenance is associated with. |
| 62 | + * |
| 63 | + * @generated from field: string page_id = 6; |
| 64 | + */ |
| 65 | + pageId: string; |
| 66 | + |
| 67 | + /** |
| 68 | + * IDs of affected page components. |
| 69 | + * |
| 70 | + * @generated from field: repeated string page_component_ids = 7; |
| 71 | + */ |
| 72 | + pageComponentIds: string[]; |
| 73 | + |
| 74 | + /** |
| 75 | + * Timestamp when the maintenance was created (RFC 3339 format). |
| 76 | + * |
| 77 | + * @generated from field: string created_at = 8; |
| 78 | + */ |
| 79 | + createdAt: string; |
| 80 | + |
| 81 | + /** |
| 82 | + * Timestamp when the maintenance was last updated (RFC 3339 format). |
| 83 | + * |
| 84 | + * @generated from field: string updated_at = 9; |
| 85 | + */ |
| 86 | + updatedAt: string; |
| 87 | + }; |
| 88 | + |
| 89 | +/** |
| 90 | + * Describes the message openstatus.maintenance.v1.MaintenanceSummary. |
| 91 | + * Use `create(MaintenanceSummarySchema)` to create a new message. |
| 92 | + */ |
| 93 | +export const MaintenanceSummarySchema: GenMessage< |
| 94 | + MaintenanceSummary |
| 95 | +> = /*@__PURE__*/ |
| 96 | + messageDesc(file_openstatus_maintenance_v1_maintenance, 0); |
| 97 | + |
| 98 | +/** |
| 99 | + * Maintenance represents a maintenance window with full details. |
| 100 | + * |
| 101 | + * @generated from message openstatus.maintenance.v1.Maintenance |
| 102 | + */ |
| 103 | +export type Maintenance = Message<"openstatus.maintenance.v1.Maintenance"> & { |
| 104 | + /** |
| 105 | + * Unique identifier for the maintenance. |
| 106 | + * |
| 107 | + * @generated from field: string id = 1; |
| 108 | + */ |
| 109 | + id: string; |
| 110 | + |
| 111 | + /** |
| 112 | + * Title of the maintenance. |
| 113 | + * |
| 114 | + * @generated from field: string title = 2; |
| 115 | + */ |
| 116 | + title: string; |
| 117 | + |
| 118 | + /** |
| 119 | + * Message describing the maintenance. |
| 120 | + * |
| 121 | + * @generated from field: string message = 3; |
| 122 | + */ |
| 123 | + message: string; |
| 124 | + |
| 125 | + /** |
| 126 | + * Start time of the maintenance window (RFC 3339 format). |
| 127 | + * |
| 128 | + * @generated from field: string from = 4; |
| 129 | + */ |
| 130 | + from: string; |
| 131 | + |
| 132 | + /** |
| 133 | + * End time of the maintenance window (RFC 3339 format). |
| 134 | + * |
| 135 | + * @generated from field: string to = 5; |
| 136 | + */ |
| 137 | + to: string; |
| 138 | + |
| 139 | + /** |
| 140 | + * ID of the page this maintenance is associated with. |
| 141 | + * |
| 142 | + * @generated from field: string page_id = 6; |
| 143 | + */ |
| 144 | + pageId: string; |
| 145 | + |
| 146 | + /** |
| 147 | + * IDs of affected page components. |
| 148 | + * |
| 149 | + * @generated from field: repeated string page_component_ids = 7; |
| 150 | + */ |
| 151 | + pageComponentIds: string[]; |
| 152 | + |
| 153 | + /** |
| 154 | + * Timestamp when the maintenance was created (RFC 3339 format). |
| 155 | + * |
| 156 | + * @generated from field: string created_at = 8; |
| 157 | + */ |
| 158 | + createdAt: string; |
| 159 | + |
| 160 | + /** |
| 161 | + * Timestamp when the maintenance was last updated (RFC 3339 format). |
| 162 | + * |
| 163 | + * @generated from field: string updated_at = 9; |
| 164 | + */ |
| 165 | + updatedAt: string; |
| 166 | +}; |
| 167 | + |
| 168 | +/** |
| 169 | + * Describes the message openstatus.maintenance.v1.Maintenance. |
| 170 | + * Use `create(MaintenanceSchema)` to create a new message. |
| 171 | + */ |
| 172 | +export const MaintenanceSchema: GenMessage<Maintenance> = /*@__PURE__*/ |
| 173 | + messageDesc(file_openstatus_maintenance_v1_maintenance, 1); |
0 commit comments