mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
* fix: sub path for static asset serve (#4665) * fix: sub path for static asset serve * fix: sub path for static asset serve * marketplace: s3 * rename operations file to query_operations * fix: crash on click of existing plugin * remove unused console * adds missing async await * add isoptional for repo * plugin card ui style fixes * update plugin name Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
28 lines
431 B
TypeScript
28 lines
431 B
TypeScript
import { IsNotEmpty, IsString, IsUUID, IsOptional, IsSemVer } from 'class-validator';
|
|
|
|
export class CreatePluginDto {
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
name: string;
|
|
|
|
@IsString()
|
|
@IsOptional()
|
|
repo: string;
|
|
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
description: string;
|
|
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
id: string;
|
|
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
@IsSemVer()
|
|
version: string;
|
|
|
|
@IsUUID()
|
|
@IsOptional()
|
|
organizationId: string;
|
|
}
|