Add more documentation to collab
(#4095)
This PR adds more documentation to the `collab` crate. Release Notes: - N/A --------- Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
parent
4e4a1e0dd1
commit
cf5dc099fb
15 changed files with 219 additions and 5 deletions
|
@ -2,6 +2,7 @@ use super::*;
|
|||
use sea_orm::sea_query::Query;
|
||||
|
||||
impl Database {
|
||||
/// Creates a new access token for the given user.
|
||||
pub async fn create_access_token(
|
||||
&self,
|
||||
user_id: UserId,
|
||||
|
@ -39,6 +40,7 @@ impl Database {
|
|||
.await
|
||||
}
|
||||
|
||||
/// Retrieves the access token with the given ID.
|
||||
pub async fn get_access_token(
|
||||
&self,
|
||||
access_token_id: AccessTokenId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue