import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file openstatus/status_page/v1/page_component.proto. */ export declare const file_openstatus_status_page_v1_page_component: GenFile; /** * PageComponent represents a component displayed on a status page. * * @generated from message openstatus.status_page.v1.PageComponent */ export type PageComponent = Message<"openstatus.status_page.v1.PageComponent"> & { /** * Unique identifier for the component. * * @generated from field: string id = 1; */ id: string; /** * ID of the status page this component belongs to. * * @generated from field: string page_id = 2; */ pageId: string; /** * Display name of the component. * * @generated from field: string name = 3; */ name: string; /** * Description of the component (optional). * * @generated from field: string description = 4; */ description: string; /** * Type of the component (monitor or static). * * @generated from field: openstatus.status_page.v1.PageComponentType type = 5; */ type: PageComponentType; /** * ID of the monitor if type is MONITOR (optional). * * @generated from field: string monitor_id = 6; */ monitorId: string; /** * Display order of the component. * * @generated from field: int32 order = 7; */ order: number; /** * ID of the group this component belongs to (optional). * * @generated from field: string group_id = 8; */ groupId: string; /** * Order within the group if grouped. * * @generated from field: int32 group_order = 9; */ groupOrder: number; /** * Timestamp when the component was created (RFC 3339 format). * * @generated from field: string created_at = 10; */ createdAt: string; /** * Timestamp when the component was last updated (RFC 3339 format). * * @generated from field: string updated_at = 11; */ updatedAt: string; }; /** * Describes the message openstatus.status_page.v1.PageComponent. * Use `create(PageComponentSchema)` to create a new message. */ export declare const PageComponentSchema: GenMessage; /** * PageComponentGroup represents a group of components on a status page. * * @generated from message openstatus.status_page.v1.PageComponentGroup */ export type PageComponentGroup = Message<"openstatus.status_page.v1.PageComponentGroup"> & { /** * Unique identifier for the group. * * @generated from field: string id = 1; */ id: string; /** * ID of the status page this group belongs to. * * @generated from field: string page_id = 2; */ pageId: string; /** * Display name of the group. * * @generated from field: string name = 3; */ name: string; /** * Timestamp when the group was created (RFC 3339 format). * * @generated from field: string created_at = 4; */ createdAt: string; /** * Timestamp when the group was last updated (RFC 3339 format). * * @generated from field: string updated_at = 5; */ updatedAt: string; /** * Whether the group should be expanded by default on the status page. * * @generated from field: bool default_open = 6; */ defaultOpen: boolean; }; /** * Describes the message openstatus.status_page.v1.PageComponentGroup. * Use `create(PageComponentGroupSchema)` to create a new message. */ export declare const PageComponentGroupSchema: GenMessage; /** * PageComponentType defines the type of a component on a status page. * * @generated from enum openstatus.status_page.v1.PageComponentType */ export declare enum PageComponentType { /** * @generated from enum value: PAGE_COMPONENT_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: PAGE_COMPONENT_TYPE_MONITOR = 1; */ MONITOR = 1, /** * @generated from enum value: PAGE_COMPONENT_TYPE_STATIC = 2; */ STATIC = 2 } /** * Describes the enum openstatus.status_page.v1.PageComponentType. */ export declare const PageComponentTypeSchema: GenEnum; //# sourceMappingURL=page_component_pb.d.ts.map