Moved shared data types to 'types' subcrate

This commit is contained in:
mdecimus
2025-09-22 10:01:31 +02:00
parent b49202a2b3
commit 71cc30c7be
325 changed files with 4132 additions and 3540 deletions

View File

@@ -6,20 +6,8 @@
use std::{sync::Arc, time::Instant};
use common::{Server, auth::AccessToken};
use http_proto::HttpSessionData;
use jmap_proto::{
method::{
get, query,
set::{self},
},
request::{Call, Request, RequestMethod, method::MethodName},
response::{Response, ResponseMethod},
types::collection::Collection,
};
use trc::JmapEvent;
use crate::{
api::auth::JmapAuthorization,
blob::{copy::BlobCopy, get::BlobOperations, upload::BlobUpload},
changes::{get::ChangesLookup, query::QueryChanges},
email::{
@@ -39,6 +27,18 @@ use crate::{
thread::get::ThreadGet,
vacation::{get::VacationResponseGet, set::VacationResponseSet},
};
use common::{Server, auth::AccessToken};
use http_proto::HttpSessionData;
use jmap_proto::{
method::{
get, query,
set::{self},
},
request::{Call, Request, RequestMethod, method::MethodName},
response::{Response, ResponseMethod},
};
use trc::JmapEvent;
use types::collection::Collection;
use std::future::Future;