feat(environment): add environment CRUD module and wire into auth login

This commit is contained in:
ars9 committed 2026-04-07 13:00:54 +03:00
1 parent 49dd1aa14c
commit de48a912d4
12 files changed
+208 -24

No files matched your search

+10 -1
View File
@@ -1,5 +1,5 @@
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { IsOptional, IsString } from 'class-validator';
import { IsNotEmpty, IsOptional, IsString } from 'class-validator';
export class LoginDto {
@ApiProperty({
@@ -7,8 +7,17 @@ export class LoginDto {
example: '3273334361',
})
@IsString()
@IsNotEmpty()
key: string;
@ApiProperty({
description: 'Environment name to resolve login/cabinet URLs from',
example: 'liquio-diia-stg',
})
@IsString()
@IsNotEmpty()
environmentName: string;
@ApiPropertyOptional({
description: 'Session name to store credentials under. Auto-generated UUID if omitted.',
example: 'my-test-session',