import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file wg/cosmo/notifications/events.proto. */ export declare const file_wg_cosmo_notifications_events: GenFile; /** * @generated from message wg.cosmo.notifications.GraphSchemaUpdatedMeta */ export type GraphSchemaUpdatedMeta = Message<"wg.cosmo.notifications.GraphSchemaUpdatedMeta"> & { /** * @generated from field: repeated string graphIds = 1; */ graphIds: string[]; }; /** * Describes the message wg.cosmo.notifications.GraphSchemaUpdatedMeta. * Use `create(GraphSchemaUpdatedMetaSchema)` to create a new message. */ export declare const GraphSchemaUpdatedMetaSchema: GenMessage; /** * @generated from message wg.cosmo.notifications.ProposalStateUpdatedMeta */ export type ProposalStateUpdatedMeta = Message<"wg.cosmo.notifications.ProposalStateUpdatedMeta"> & { /** * @generated from field: repeated string graphIds = 1; */ graphIds: string[]; }; /** * Describes the message wg.cosmo.notifications.ProposalStateUpdatedMeta. * Use `create(ProposalStateUpdatedMetaSchema)` to create a new message. */ export declare const ProposalStateUpdatedMetaSchema: GenMessage; /** * @generated from message wg.cosmo.notifications.EventMeta */ export type EventMeta = Message<"wg.cosmo.notifications.EventMeta"> & { /** * @generated from field: wg.cosmo.notifications.OrganizationEventName event_name = 1; */ eventName: OrganizationEventName; /** * @generated from oneof wg.cosmo.notifications.EventMeta.meta */ meta: { /** * @generated from field: wg.cosmo.notifications.GraphSchemaUpdatedMeta federated_graph_schema_updated = 2; */ value: GraphSchemaUpdatedMeta; case: "federatedGraphSchemaUpdated"; } | { /** * @generated from field: wg.cosmo.notifications.GraphSchemaUpdatedMeta monograph_schema_updated = 3; */ value: GraphSchemaUpdatedMeta; case: "monographSchemaUpdated"; } | { /** * @generated from field: wg.cosmo.notifications.ProposalStateUpdatedMeta proposal_state_updated = 4; */ value: ProposalStateUpdatedMeta; case: "proposalStateUpdated"; } | { case: undefined; value?: undefined; }; }; /** * Describes the message wg.cosmo.notifications.EventMeta. * Use `create(EventMetaSchema)` to create a new message. */ export declare const EventMetaSchema: GenMessage; /** * @generated from enum wg.cosmo.notifications.PlatformEventName */ export declare enum PlatformEventName { /** * @generated from enum value: USER_REGISTER_SUCCESS = 0; */ USER_REGISTER_SUCCESS = 0, /** * @generated from enum value: APOLLO_MIGRATE_INIT = 1; */ APOLLO_MIGRATE_INIT = 1, /** * @generated from enum value: APOLLO_MIGRATE_SUCCESS = 2; */ APOLLO_MIGRATE_SUCCESS = 2, /** * @generated from enum value: USER_DELETE_SUCCESS = 3; */ USER_DELETE_SUCCESS = 3 } /** * Describes the enum wg.cosmo.notifications.PlatformEventName. */ export declare const PlatformEventNameSchema: GenEnum; /** * @generated from enum wg.cosmo.notifications.OrganizationEventName */ export declare enum OrganizationEventName { /** * @generated from enum value: FEDERATED_GRAPH_SCHEMA_UPDATED = 0; */ FEDERATED_GRAPH_SCHEMA_UPDATED = 0, /** * @generated from enum value: MONOGRAPH_SCHEMA_UPDATED = 1; */ MONOGRAPH_SCHEMA_UPDATED = 1, /** * @generated from enum value: VALIDATE_CONFIG = 3; */ VALIDATE_CONFIG = 3, /** * @generated from enum value: PROPOSAL_STATE_UPDATED = 4; */ PROPOSAL_STATE_UPDATED = 4 } /** * Describes the enum wg.cosmo.notifications.OrganizationEventName. */ export declare const OrganizationEventNameSchema: GenEnum;