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:
2026-03-24 22:56:57 +09:00
parent 60a87d4709
commit 0ac921ac3e
8 changed files with 96 additions and 16 deletions
@@ -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;
}