mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 19:26:31 -05:00
c6bb8f62e8
This gives all dto classes a common super class for usage of the type system. Signed-off-by: Philip Molares <philip.molares@udo.edu>
15 lines
364 B
TypeScript
15 lines
364 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
import { ApiProperty } from '@nestjs/swagger';
|
|
import { IsString } from 'class-validator';
|
|
|
|
import { BaseDto } from '../utils/base.dto.';
|
|
|
|
export class MediaUploadUrlDto extends BaseDto {
|
|
@IsString()
|
|
@ApiProperty()
|
|
link: string;
|
|
}
|