mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-08-03 01:29:07 +00:00
* rename membership rename UserOrganization to Membership to clarify the relation and prevent confusion whether something refers to a member(ship) or user * use newtype pattern * implement custom derive macro IdFromParam * add UuidFromParam macro for UUIDs * add macros to Docker build Co-authored-by: dfunkt <dfunkt@users.noreply.github.com> --------- Co-authored-by: dfunkt <dfunkt@users.noreply.github.com>
41 lines
1.4 KiB
Rust
41 lines
1.4 KiB
Rust
mod attachment;
|
|
mod auth_request;
|
|
mod cipher;
|
|
mod collection;
|
|
mod device;
|
|
mod emergency_access;
|
|
mod event;
|
|
mod favorite;
|
|
mod folder;
|
|
mod group;
|
|
mod org_policy;
|
|
mod organization;
|
|
mod send;
|
|
mod two_factor;
|
|
mod two_factor_duo_context;
|
|
mod two_factor_incomplete;
|
|
mod user;
|
|
|
|
pub use self::attachment::{Attachment, AttachmentId};
|
|
pub use self::auth_request::{AuthRequest, AuthRequestId};
|
|
pub use self::cipher::{Cipher, CipherId, RepromptType};
|
|
pub use self::collection::{Collection, CollectionCipher, CollectionId, CollectionUser};
|
|
pub use self::device::{Device, DeviceId, DeviceType};
|
|
pub use self::emergency_access::{EmergencyAccess, EmergencyAccessId, EmergencyAccessStatus, EmergencyAccessType};
|
|
pub use self::event::{Event, EventType};
|
|
pub use self::favorite::Favorite;
|
|
pub use self::folder::{Folder, FolderCipher, FolderId};
|
|
pub use self::group::{CollectionGroup, Group, GroupId, GroupUser};
|
|
pub use self::org_policy::{OrgPolicy, OrgPolicyErr, OrgPolicyId, OrgPolicyType};
|
|
pub use self::organization::{
|
|
Membership, MembershipId, MembershipStatus, MembershipType, OrgApiKeyId, Organization, OrganizationApiKey,
|
|
OrganizationId,
|
|
};
|
|
pub use self::send::{
|
|
id::{SendFileId, SendId},
|
|
Send, SendType,
|
|
};
|
|
pub use self::two_factor::{TwoFactor, TwoFactorType};
|
|
pub use self::two_factor_duo_context::TwoFactorDuoContext;
|
|
pub use self::two_factor_incomplete::TwoFactorIncomplete;
|
|
pub use self::user::{Invitation, User, UserId, UserKdfType, UserStampException};
|