New: backendのtsconfig.jsonにesModuleInteropを追加 / Fix: 一部エンティティの時刻記録をdateからdatetimeに修正 / Fix: setup/initializationエンドポイントでのwebpushのimport方法の問題 / Chg: font-sizeを16pxから14pxに変更 / Chg: html, bodyのwidthとheightをvw/vhからdvw/dvhに変更 / Feat: レイアウトを作成 / New(frontend): /setupを作成
This commit is contained in:
@@ -27,13 +27,13 @@ export class TokenEntity {
|
||||
isNative!: boolean;
|
||||
|
||||
@Property({
|
||||
type: "date",
|
||||
type: "datetime",
|
||||
onCreate: () => new Date(),
|
||||
})
|
||||
createdAt!: Date;
|
||||
|
||||
@Property({
|
||||
type: "date",
|
||||
type: "datetime",
|
||||
nullable: true,
|
||||
})
|
||||
lastUsedAt?: Date;
|
||||
|
||||
@@ -51,7 +51,7 @@ export class UserEntity {
|
||||
type: "boolean",
|
||||
default: false,
|
||||
})
|
||||
isAdmin: boolean = false;
|
||||
isOwner: boolean = false;
|
||||
|
||||
@Property({
|
||||
type: "boolean",
|
||||
@@ -64,4 +64,10 @@ export class UserEntity {
|
||||
onCreate: () => new Date(),
|
||||
})
|
||||
createdAt!: Date;
|
||||
|
||||
@Property({
|
||||
type: "datetime",
|
||||
nullable: true,
|
||||
})
|
||||
lastUsedAt?: Date;
|
||||
}
|
||||
Reference in New Issue
Block a user