Merge remote-tracking branch 'origin/main'

# Conflicts:
#	ts-rs/src/lib.rs
This commit is contained in:
Moritz Bischof
2021-09-28 12:59:14 +02:00
4 changed files with 14 additions and 6 deletions
+2
View File
@@ -5,6 +5,7 @@ use std::{collections::BTreeSet, rc::Rc};
use chrono::NaiveDateTime;
use serde::Serialize;
use ts_rs::{export, TS};
use uuid::Uuid;
#[derive(Serialize, TS)]
#[ts(rename_all = "lowercase")]
@@ -32,6 +33,7 @@ struct User {
family: Vec<User>,
#[ts(inline)]
gender: Gender,
token: Uuid,
#[ts(type = "string")]
created_at: NaiveDateTime,
}