Skip to main content

ppoppo_pcs_session_proto/
lib.rs

1#![cfg_attr(docsrs, feature(doc_cfg))]
2#![doc = include_str!("../README.md")]
3// Suppress clippy lints for prost-generated code
4#![allow(clippy::doc_lazy_continuation, clippy::large_enum_variant)]
5
6/// `FileDescriptorSet` bytes for `pcs.session.v1`, emitted by `build.rs`.
7/// Consumed by descriptor-driven drift canaries (chat-api's scope-map drift,
8/// ppoppo-chat-realtime-proto's schema inventory) and available for gRPC reflection.
9pub const FILE_DESCRIPTOR_SET: &[u8] = include_bytes!(concat!(env!("OUT_DIR"), "/fds.bin"));
10
11/// Module nesting mirrors the proto package (`pcs.session.v1`).
12pub mod pcs {
13    pub mod session {
14        pub mod v1 {
15            tonic::include_proto!("pcs.session.v1");
16        }
17    }
18}
19
20/// Timestamp re-export so consumers don't need a separate `prost-types` pin.
21pub use prost_types::Timestamp;
22
23/// The identity enums this face's messages carry, from the
24/// `ppoppo.identity.v1` vocabulary wire.
25pub use ppoppo_identity_proto::ppoppo::identity::v1::{EntityType, LifecycleState};
26
27/// The temporal-trigger vocabulary this face's `TriggerService` messages
28/// carry, from the `ppoppo.chat.v1` vocabulary wire — with the two `oneof`
29/// modules (`fire_spec::Kind`, `recurrence::End`) a client builds them with.
30pub use ppoppo_chat_proto::ppoppo::chat::v1::{
31    CivilDateTime, Fire, FireSpec, Frequency, PendingFire, Recurrence, TriggerState, Weekday,
32    WeekdayNum, fire_spec, recurrence,
33};