mirror of
https://github.com/docmost/docmost.git
synced 2026-07-13 11:34:55 +10:00
19 lines
342 B
TypeScript
19 lines
342 B
TypeScript
import { IsNotEmpty, IsUUID } from 'class-validator';
|
|
|
|
export class FileTaskIdDto {
|
|
@IsNotEmpty()
|
|
@IsUUID()
|
|
fileTaskId: string;
|
|
}
|
|
|
|
export type ImportPageNode = {
|
|
id: string;
|
|
slugId: string;
|
|
name: string;
|
|
content: string;
|
|
position?: string | null;
|
|
parentPageId: string | null;
|
|
fileExtension: string;
|
|
filePath: string;
|
|
};
|