move types in crate::types to crate::server

This commit is contained in:
Dustin J. Mitchell
2020-11-26 11:34:04 -05:00
parent e84871931f
commit 2457d8bc43
5 changed files with 20 additions and 24 deletions

View File

@@ -1,7 +1,7 @@
use crate::api::{
ServerState, HISTORY_SEGMENT_CONTENT_TYPE, PARENT_VERSION_ID_HEADER, VERSION_ID_HEADER,
};
use crate::types::{AddVersionResult, ClientId, VersionId};
use crate::server::{AddVersionResult, ClientId, VersionId};
use actix_web::{
error, http::StatusCode, post, web, HttpMessage, HttpRequest, HttpResponse, Result,
};

View File

@@ -1,7 +1,7 @@
use crate::api::{
ServerState, HISTORY_SEGMENT_CONTENT_TYPE, PARENT_VERSION_ID_HEADER, VERSION_ID_HEADER,
};
use crate::types::{ClientId, VersionId};
use crate::server::{ClientId, VersionId};
use actix_web::{error, get, http::StatusCode, web, HttpResponse, Result};
/// Get a child version.