mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-12 16:19:09 +00:00
24 lines
557 B
TypeScript
24 lines
557 B
TypeScript
import { Link } from '@dadosfera/protospack-v2/dist/lib/Duc/interfaces/entities';
|
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
|
export class CustomerLink implements Link {
|
|
@ApiProperty()
|
|
href: string;
|
|
@ApiProperty()
|
|
name: string;
|
|
@ApiProperty()
|
|
description: string;
|
|
@ApiPropertyOptional()
|
|
iconSrc: string;
|
|
}
|
|
export class CustomerLinkRequest {
|
|
@ApiProperty({ type: [CustomerLink] })
|
|
links: CustomerLink[];
|
|
}
|
|
|
|
export class CustomerLinksResponse {
|
|
@ApiProperty({ type: [CustomerLink] })
|
|
links: CustomerLink[];
|
|
}
|
|
|