You've already forked AstralRinth
forked from didirus/AstralRinth
* Initial db migration/impl, guarded partner routes * Add guard to /redeem * Add `public` column to products prices, only expose public prices * Query cache * Add partner subscription type * 5 days subscription interval, metadata * Create server on redeem * Query cache * Fix race condition * Unprovision Medal subscriptions * Consider due expiring charge as unprovisionable * Query cache * Use a queue * Promote to full subscription, fmt + clippy * Patch expiring charge on promotion, comments * Additional comments * Add `tags` field to Archon /create request * Address review comments * Query cache * Final fixes to edit_subscription * Appease clippy * fmt
32 lines
806 B
Rust
32 lines
806 B
Rust
pub(crate) mod admin;
|
|
pub mod billing;
|
|
pub mod flows;
|
|
pub mod gdpr;
|
|
pub mod medal;
|
|
pub mod moderation;
|
|
pub mod pats;
|
|
pub mod session;
|
|
|
|
pub mod statuses;
|
|
|
|
pub use super::ApiError;
|
|
use super::v3::oauth_clients;
|
|
use crate::util::cors::default_cors;
|
|
|
|
pub fn config(cfg: &mut actix_web::web::ServiceConfig) {
|
|
cfg.service(
|
|
actix_web::web::scope("_internal")
|
|
.wrap(default_cors())
|
|
.configure(admin::config)
|
|
.configure(oauth_clients::config)
|
|
.configure(session::config)
|
|
.configure(flows::config)
|
|
.configure(pats::config)
|
|
.configure(moderation::config)
|
|
.configure(billing::config)
|
|
.configure(gdpr::config)
|
|
.configure(statuses::config)
|
|
.configure(medal::config),
|
|
);
|
|
}
|