mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 17:55:17 -04:00
16 lines
383 B
TypeScript
16 lines
383 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
import { ApiProperty } from '@nestjs/swagger';
|
|
import { IsBoolean } from 'class-validator';
|
|
|
|
export class AliasUpdateDto {
|
|
/**
|
|
* Whether the alias should become the primary alias or not
|
|
*/
|
|
@IsBoolean()
|
|
@ApiProperty()
|
|
primaryAlias: boolean;
|
|
}
|