You've already forked pages
forked from didirus/AstralRinth
* Fix not being able to connect to local friends socket * Start basic work on tunneling protocol and move some code into a common crate * Commonize message serialization logic * Serialize Base62Ids as u64 when human-readability is not required * Move ActiveSockets tuple into struct * Make CI run when rust-common is updated CI is currently broken for labrinth, however * Fix theseus-release.yml to reference itself correctly * Implement Labrinth side of tunneling * Implement non-friend part of theseus tunneling * Implement client-side except for socket loop * Implement the socket loop Doesn't work though. Debugging time! * Fix config.rs * Fix deadlock in labrinth socket handling * Update dockerfile * switch to workspace prepare at root level * Wait for connection before tunneling in playground * Move rust-common into labrinth * Remove rust-common references from Actions * Revert "Update dockerfile" This reverts commit 3caad59bb474ce425d0b8928d7cee7ae1a5011bd. * Fix Docker build * Rebuild Theseus if common code changes * Allow multiple connections from the same user * Fix test building * Move FriendSocketListening and FriendSocketStoppedListening to non-panicking TODO for now * Make message_serialization macro take varargs for binary messages * Improve syntax of message_serialization macro * Remove the ability to connect to a virtual socket, and disable the ability to listen on one * Allow the app to compile without running labrinth * Clippy fix * Update Rust and Clippy fix again --------- Co-authored-by: Jai A <jaiagr+gpg@pm.me>
42 lines
1.6 KiB
Rust
42 lines
1.6 KiB
Rust
pub use super::collections::CollectionId;
|
|
pub use super::images::ImageId;
|
|
pub use super::notifications::NotificationId;
|
|
pub use super::oauth_clients::OAuthClientAuthorizationId;
|
|
pub use super::oauth_clients::{OAuthClientId, OAuthRedirectUriId};
|
|
pub use super::organizations::OrganizationId;
|
|
pub use super::pats::PatId;
|
|
pub use super::payouts::PayoutId;
|
|
pub use super::projects::{ProjectId, VersionId};
|
|
pub use super::reports::ReportId;
|
|
pub use super::sessions::SessionId;
|
|
pub use super::teams::TeamId;
|
|
pub use super::threads::ThreadId;
|
|
pub use super::threads::ThreadMessageId;
|
|
pub use super::users::UserId;
|
|
use crate::common::ids::base62_id_impl;
|
|
pub use crate::common::ids::Base62Id;
|
|
pub use crate::models::billing::{
|
|
ChargeId, ProductId, ProductPriceId, UserSubscriptionId,
|
|
};
|
|
|
|
base62_id_impl!(ProjectId, ProjectId);
|
|
base62_id_impl!(VersionId, VersionId);
|
|
base62_id_impl!(CollectionId, CollectionId);
|
|
base62_id_impl!(TeamId, TeamId);
|
|
base62_id_impl!(OrganizationId, OrganizationId);
|
|
base62_id_impl!(ReportId, ReportId);
|
|
base62_id_impl!(NotificationId, NotificationId);
|
|
base62_id_impl!(ThreadId, ThreadId);
|
|
base62_id_impl!(ThreadMessageId, ThreadMessageId);
|
|
base62_id_impl!(SessionId, SessionId);
|
|
base62_id_impl!(PatId, PatId);
|
|
base62_id_impl!(ImageId, ImageId);
|
|
base62_id_impl!(OAuthClientId, OAuthClientId);
|
|
base62_id_impl!(OAuthRedirectUriId, OAuthRedirectUriId);
|
|
base62_id_impl!(OAuthClientAuthorizationId, OAuthClientAuthorizationId);
|
|
base62_id_impl!(PayoutId, PayoutId);
|
|
base62_id_impl!(ProductId, ProductId);
|
|
base62_id_impl!(ProductPriceId, ProductPriceId);
|
|
base62_id_impl!(UserSubscriptionId, UserSubscriptionId);
|
|
base62_id_impl!(ChargeId, ChargeId);
|