Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove api-admin artifacts #1317

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
164 changes: 0 additions & 164 deletions packages/common/convert/src/impls/admin.rs

This file was deleted.

1 change: 0 additions & 1 deletion packages/common/convert/src/impls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use rivet_operation::prelude::*;

use crate::ApiFrom;

pub mod admin;
pub mod api;
pub mod cloud;
pub mod group;
Expand Down

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions packages/services/cluster/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use rivet_operation::prelude::proto::backend;
use serde::{Deserialize, Serialize};
use strum::FromRepr;

#[derive(Debug, sqlx::FromRow)]
#[derive(Debug, Clone, sqlx::FromRow)]
pub struct Cluster {
pub cluster_id: Uuid,
pub name_id: String,
Expand Down Expand Up @@ -78,7 +78,7 @@ impl TryFrom<backend::cluster::Pool> for Pool {
}
}

#[derive(Serialize, Deserialize, Hash, Debug, Clone, Copy, PartialEq, Eq, FromRepr)]
#[derive(Serialize, Deserialize, Hash, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, FromRepr)]
pub enum PoolType {
Job = 0,
Gg = 1,
Expand Down
1 change: 0 additions & 1 deletion scripts/openapi/gen_rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ if [ "$FERN_GROUP" == "full" ]; then
# Fix OpenAPI bug (https://github.com/OpenAPITools/openapi-generator/issues/14171)
sed -i 's/CloudGamesLogStream/crate::models::CloudGamesLogStream/' "$GEN_PATH_RUST/src/apis/cloud_games_matchmaker_api.rs"
sed -i 's/ActorLogStream/crate::models::ActorLogStream/' "$GEN_PATH_RUST/src/apis/actor_logs_api.rs"
sed -i 's/AdminClustersPoolType/crate::models::AdminClustersPoolType/' "$GEN_PATH_RUST/src/apis/admin_clusters_servers_api.rs"

# Create variant specifically for the CLI
cp -r $GEN_PATH_RUST $GEN_PATH_RUST_CLI
Expand Down
Loading