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: unify TIdent key format #15025

Merged
merged 1 commit into from
Mar 19, 2024
Merged
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
13 changes: 7 additions & 6 deletions src/meta/app/src/principal/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,31 @@
//! Principal is a user or role that accesses an entity.

mod connection;
pub mod connection_ident;
mod file_format;
mod network_policy;
pub mod network_policy_ident;
mod ownership_info;
mod password_policy;
pub mod password_policy_ident;
mod principal_identity;
mod role_ident;
mod role_info;
mod user_auth;
mod user_defined_file_format;
pub mod user_defined_file_format_ident;
mod user_defined_function;
mod user_grant;
mod user_identity;
mod user_info;
mod user_privilege;
mod user_quota;
mod user_setting;
mod user_setting_ident;
mod user_stage;
mod user_stage_file_ident;
mod user_stage_ident;

pub mod connection_ident;
pub mod network_policy_ident;
pub mod password_policy_ident;
pub mod user_defined_file_format_ident;
pub mod user_setting_ident;
pub mod user_stage_ident;

pub use connection::*;
pub use file_format::*;
Expand Down
4 changes: 3 additions & 1 deletion src/meta/app/src/principal/user_setting_ident.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
use crate::tenant_key::TIdent;

/// Define the meta-service key for a user setting.
pub type SettingIdent = TIdent<kvapi_impl::Resource>;
pub type SettingIdent = TIdent<Resource>;

pub use kvapi_impl::Resource;

mod kvapi_impl {

Expand Down
4 changes: 3 additions & 1 deletion src/meta/app/src/principal/user_stage_ident.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
use crate::tenant_key::TIdent;

/// Define the meta-service key for a stage.
pub type StageIdent = TIdent<kvapi_impl::Resource>;
pub type StageIdent = TIdent<Resource>;

pub use kvapi_impl::Resource;

mod kvapi_impl {

Expand Down
Loading