mirror of
https://github.com/docmost/docmost.git
synced 2026-05-20 00:14:10 +08:00
updates and fixes
* seo friendly urls * custom client serve-static module * database fixes * fix recent pages * other fixes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { IsUUID } from 'class-validator';
|
||||
import { IsString, IsUUID } from 'class-validator';
|
||||
|
||||
export class PageIdDto {
|
||||
@IsUUID()
|
||||
@IsString()
|
||||
pageId: string;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { IsJSON, IsOptional, IsString, IsUUID } from 'class-validator';
|
||||
|
||||
export class CreateCommentDto {
|
||||
@IsUUID()
|
||||
@IsString()
|
||||
pageId: string;
|
||||
|
||||
@IsJSON()
|
||||
|
||||
Reference in New Issue
Block a user