refactor layout

* ui polishing
* frontend and backend fixes
This commit is contained in:
Philipinho
2024-05-31 21:51:44 +01:00
parent 046dd6d150
commit 06d854a7d2
95 changed files with 1548 additions and 821 deletions
+14 -1
View File
@@ -1,7 +1,14 @@
import { IsString, IsUUID } from 'class-validator';
import {
IsBoolean,
IsNotEmpty,
IsOptional,
IsString,
IsUUID,
} from 'class-validator';
export class PageIdDto {
@IsString()
@IsNotEmpty()
pageId: string;
}
@@ -14,3 +21,9 @@ export class PageHistoryIdDto {
@IsUUID()
historyId: string;
}
export class PageInfoDto extends PageIdDto {
@IsOptional()
@IsBoolean()
includeSpace: boolean;
}
@@ -0,0 +1,7 @@
import { IsOptional, IsString } from 'class-validator';
export class RecentPageDto {
@IsOptional()
@IsString()
spaceId: string;
}