fork
Configure Feed
Select the types of activity you want to include in your feed.
Openstatus sdk
www.openstatus.dev
fork
Configure Feed
Select the types of activity you want to include in your feed.
1// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=ts"
2// @generated from file openstatus/status_page/v1/status_page.proto (package openstatus.status_page.v1, syntax proto3)
3/* eslint-disable */
4
5import type {
6 GenEnum,
7 GenFile,
8 GenMessage,
9} from "@bufbuild/protobuf/codegenv2";
10import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
11import type { Message } from "@bufbuild/protobuf";
12
13/**
14 * Describes the file openstatus/status_page/v1/status_page.proto.
15 */
16export const file_openstatus_status_page_v1_status_page: GenFile = /*@__PURE__*/
17 fileDesc(
18 "CitvcGVuc3RhdHVzL3N0YXR1c19wYWdlL3YxL3N0YXR1c19wYWdlLnByb3RvEhlvcGVuc3RhdHVzLnN0YXR1c19wYWdlLnYxIsoCCgpTdGF0dXNQYWdlEgoKAmlkGAEgASgJEg0KBXRpdGxlGAIgASgJEhMKC2Rlc2NyaXB0aW9uGAMgASgJEgwKBHNsdWcYBCABKAkSFQoNY3VzdG9tX2RvbWFpbhgFIAEoCRIRCglwdWJsaXNoZWQYBiABKAgSPgoLYWNjZXNzX3R5cGUYByABKA4yKS5vcGVuc3RhdHVzLnN0YXR1c19wYWdlLnYxLlBhZ2VBY2Nlc3NUeXBlEjMKBXRoZW1lGAggASgOMiQub3BlbnN0YXR1cy5zdGF0dXNfcGFnZS52MS5QYWdlVGhlbWUSFAoMaG9tZXBhZ2VfdXJsGAkgASgJEhMKC2NvbnRhY3RfdXJsGAogASgJEgwKBGljb24YCyABKAkSEgoKY3JlYXRlZF9hdBgMIAEoCRISCgp1cGRhdGVkX2F0GA0gASgJIncKEVN0YXR1c1BhZ2VTdW1tYXJ5EgoKAmlkGAEgASgJEg0KBXRpdGxlGAIgASgJEgwKBHNsdWcYAyABKAkSEQoJcHVibGlzaGVkGAQgASgIEhIKCmNyZWF0ZWRfYXQYBSABKAkSEgoKdXBkYXRlZF9hdBgGIAEoCSqcAQoOUGFnZUFjY2Vzc1R5cGUSIAocUEFHRV9BQ0NFU1NfVFlQRV9VTlNQRUNJRklFRBAAEhsKF1BBR0VfQUNDRVNTX1RZUEVfUFVCTElDEAESJwojUEFHRV9BQ0NFU1NfVFlQRV9QQVNTV09SRF9QUk9URUNURUQQAhIiCh5QQUdFX0FDQ0VTU19UWVBFX0FVVEhFTlRJQ0FURUQQAyppCglQYWdlVGhlbWUSGgoWUEFHRV9USEVNRV9VTlNQRUNJRklFRBAAEhUKEVBBR0VfVEhFTUVfU1lTVEVNEAESFAoQUEFHRV9USEVNRV9MSUdIVBACEhMKD1BBR0VfVEhFTUVfREFSSxADKuwBCg1PdmVyYWxsU3RhdHVzEh4KGk9WRVJBTExfU1RBVFVTX1VOU1BFQ0lGSUVEEAASHgoaT1ZFUkFMTF9TVEFUVVNfT1BFUkFUSU9OQUwQARIbChdPVkVSQUxMX1NUQVRVU19ERUdSQURFRBACEiEKHU9WRVJBTExfU1RBVFVTX1BBUlRJQUxfT1VUQUdFEAMSHwobT1ZFUkFMTF9TVEFUVVNfTUFKT1JfT1VUQUdFEAQSHgoaT1ZFUkFMTF9TVEFUVVNfTUFJTlRFTkFOQ0UQBRIaChZPVkVSQUxMX1NUQVRVU19VTktOT1dOEAZCWlpYZ2l0aHViLmNvbS9vcGVuc3RhdHVzaHEvb3BlbnN0YXR1cy9wYWNrYWdlcy9wcm90by9vcGVuc3RhdHVzL3N0YXR1c19wYWdlL3YxO3N0YXR1c3BhZ2V2MWIGcHJvdG8z",
19 );
20
21/**
22 * StatusPage represents a full status page with all details.
23 *
24 * @generated from message openstatus.status_page.v1.StatusPage
25 */
26export type StatusPage = Message<"openstatus.status_page.v1.StatusPage"> & {
27 /**
28 * Unique identifier for the status page.
29 *
30 * @generated from field: string id = 1;
31 */
32 id: string;
33
34 /**
35 * Title of the status page.
36 *
37 * @generated from field: string title = 2;
38 */
39 title: string;
40
41 /**
42 * Description of the status page.
43 *
44 * @generated from field: string description = 3;
45 */
46 description: string;
47
48 /**
49 * URL-friendly slug for the status page.
50 *
51 * @generated from field: string slug = 4;
52 */
53 slug: string;
54
55 /**
56 * Custom domain for the status page (optional).
57 *
58 * @generated from field: string custom_domain = 5;
59 */
60 customDomain: string;
61
62 /**
63 * Whether the status page is published and visible.
64 *
65 * @generated from field: bool published = 6;
66 */
67 published: boolean;
68
69 /**
70 * Access type for the status page.
71 *
72 * @generated from field: openstatus.status_page.v1.PageAccessType access_type = 7;
73 */
74 accessType: PageAccessType;
75
76 /**
77 * Visual theme for the status page.
78 *
79 * @generated from field: openstatus.status_page.v1.PageTheme theme = 8;
80 */
81 theme: PageTheme;
82
83 /**
84 * URL to the homepage (optional).
85 *
86 * @generated from field: string homepage_url = 9;
87 */
88 homepageUrl: string;
89
90 /**
91 * URL to the contact page (optional).
92 *
93 * @generated from field: string contact_url = 10;
94 */
95 contactUrl: string;
96
97 /**
98 * Icon URL for the status page (optional).
99 *
100 * @generated from field: string icon = 11;
101 */
102 icon: string;
103
104 /**
105 * Timestamp when the page was created (RFC 3339 format).
106 *
107 * @generated from field: string created_at = 12;
108 */
109 createdAt: string;
110
111 /**
112 * Timestamp when the page was last updated (RFC 3339 format).
113 *
114 * @generated from field: string updated_at = 13;
115 */
116 updatedAt: string;
117};
118
119/**
120 * Describes the message openstatus.status_page.v1.StatusPage.
121 * Use `create(StatusPageSchema)` to create a new message.
122 */
123export const StatusPageSchema: GenMessage<StatusPage> = /*@__PURE__*/
124 messageDesc(file_openstatus_status_page_v1_status_page, 0);
125
126/**
127 * StatusPageSummary represents metadata for a status page (used in list responses).
128 *
129 * @generated from message openstatus.status_page.v1.StatusPageSummary
130 */
131export type StatusPageSummary =
132 & Message<"openstatus.status_page.v1.StatusPageSummary">
133 & {
134 /**
135 * Unique identifier for the status page.
136 *
137 * @generated from field: string id = 1;
138 */
139 id: string;
140
141 /**
142 * Title of the status page.
143 *
144 * @generated from field: string title = 2;
145 */
146 title: string;
147
148 /**
149 * URL-friendly slug for the status page.
150 *
151 * @generated from field: string slug = 3;
152 */
153 slug: string;
154
155 /**
156 * Whether the status page is published and visible.
157 *
158 * @generated from field: bool published = 4;
159 */
160 published: boolean;
161
162 /**
163 * Timestamp when the page was created (RFC 3339 format).
164 *
165 * @generated from field: string created_at = 5;
166 */
167 createdAt: string;
168
169 /**
170 * Timestamp when the page was last updated (RFC 3339 format).
171 *
172 * @generated from field: string updated_at = 6;
173 */
174 updatedAt: string;
175 };
176
177/**
178 * Describes the message openstatus.status_page.v1.StatusPageSummary.
179 * Use `create(StatusPageSummarySchema)` to create a new message.
180 */
181export const StatusPageSummarySchema: GenMessage<
182 StatusPageSummary
183> = /*@__PURE__*/
184 messageDesc(file_openstatus_status_page_v1_status_page, 1);
185
186/**
187 * PageAccessType defines who can access the status page.
188 *
189 * @generated from enum openstatus.status_page.v1.PageAccessType
190 */
191export enum PageAccessType {
192 /**
193 * @generated from enum value: PAGE_ACCESS_TYPE_UNSPECIFIED = 0;
194 */
195 UNSPECIFIED = 0,
196
197 /**
198 * @generated from enum value: PAGE_ACCESS_TYPE_PUBLIC = 1;
199 */
200 PUBLIC = 1,
201
202 /**
203 * @generated from enum value: PAGE_ACCESS_TYPE_PASSWORD_PROTECTED = 2;
204 */
205 PASSWORD_PROTECTED = 2,
206
207 /**
208 * @generated from enum value: PAGE_ACCESS_TYPE_AUTHENTICATED = 3;
209 */
210 AUTHENTICATED = 3,
211}
212
213/**
214 * Describes the enum openstatus.status_page.v1.PageAccessType.
215 */
216export const PageAccessTypeSchema: GenEnum<PageAccessType> = /*@__PURE__*/
217 enumDesc(file_openstatus_status_page_v1_status_page, 0);
218
219/**
220 * PageTheme defines the visual theme of the status page.
221 *
222 * @generated from enum openstatus.status_page.v1.PageTheme
223 */
224export enum PageTheme {
225 /**
226 * @generated from enum value: PAGE_THEME_UNSPECIFIED = 0;
227 */
228 UNSPECIFIED = 0,
229
230 /**
231 * @generated from enum value: PAGE_THEME_SYSTEM = 1;
232 */
233 SYSTEM = 1,
234
235 /**
236 * @generated from enum value: PAGE_THEME_LIGHT = 2;
237 */
238 LIGHT = 2,
239
240 /**
241 * @generated from enum value: PAGE_THEME_DARK = 3;
242 */
243 DARK = 3,
244}
245
246/**
247 * Describes the enum openstatus.status_page.v1.PageTheme.
248 */
249export const PageThemeSchema: GenEnum<PageTheme> = /*@__PURE__*/
250 enumDesc(file_openstatus_status_page_v1_status_page, 1);
251
252/**
253 * OverallStatus represents the aggregated status of all components on a page.
254 *
255 * @generated from enum openstatus.status_page.v1.OverallStatus
256 */
257export enum OverallStatus {
258 /**
259 * @generated from enum value: OVERALL_STATUS_UNSPECIFIED = 0;
260 */
261 UNSPECIFIED = 0,
262
263 /**
264 * @generated from enum value: OVERALL_STATUS_OPERATIONAL = 1;
265 */
266 OPERATIONAL = 1,
267
268 /**
269 * @generated from enum value: OVERALL_STATUS_DEGRADED = 2;
270 */
271 DEGRADED = 2,
272
273 /**
274 * @generated from enum value: OVERALL_STATUS_PARTIAL_OUTAGE = 3;
275 */
276 PARTIAL_OUTAGE = 3,
277
278 /**
279 * @generated from enum value: OVERALL_STATUS_MAJOR_OUTAGE = 4;
280 */
281 MAJOR_OUTAGE = 4,
282
283 /**
284 * @generated from enum value: OVERALL_STATUS_MAINTENANCE = 5;
285 */
286 MAINTENANCE = 5,
287
288 /**
289 * @generated from enum value: OVERALL_STATUS_UNKNOWN = 6;
290 */
291 UNKNOWN = 6,
292}
293
294/**
295 * Describes the enum openstatus.status_page.v1.OverallStatus.
296 */
297export const OverallStatusSchema: GenEnum<OverallStatus> = /*@__PURE__*/
298 enumDesc(file_openstatus_status_page_v1_status_page, 2);